tx · 3iCeTkaMGxhz8W85bixQ5tuSMbcpGcrwYE9UV7PgYgmp
3N4ziXSMRverXyxHDUKKMR9MHXnB3TyU3Yh: -0.01000000 Waves
2021.12.09 13:27 [1826582] smart account 3N4ziXSMRverXyxHDUKKMR9MHXnB3TyU3Yh > SELF 0.00000000 Waves
{
"type": 13,
"id": "3iCeTkaMGxhz8W85bixQ5tuSMbcpGcrwYE9UV7PgYgmp",
"fee": 1000000,
"feeAssetId": null,
"timestamp": 1639045648127,
"version": 2,
"chainId": 84,
"sender": "3N4ziXSMRverXyxHDUKKMR9MHXnB3TyU3Yh",
"senderPublicKey": "EU9obW1yVhR8qug3EmXPeew3DMagvJFQzY5Ku8bmcsU7",
"proofs": [
"2a1uNVCNcsthQx1do3H2nSL54RmiUrh99Weeu7o4coEeK4PmuCwfHed1VLHENoCNSNzs85PStp5ELDRQiEbMg46a"
],
"script": "base64:AAIFAAAAAAAAAAwIAhIDCgEIEgMKAQgAAAAAAAAAAgAAAAFpAQAAAAVsZWFzZQAAAAEAAAALcG9vbEFkZHJlc3MEAAAAB3BheW1lbnQJAAGRAAAAAggFAAAAAWkAAAAIcGF5bWVudHMAAAAAAAAAAAAEAAAABWxlYXNlCQAERAAAAAIJAQAAAAdBZGRyZXNzAAAAAQkAAlkAAAABBQAAAAtwb29sQWRkcmVzcwgFAAAAB3BheW1lbnQAAAAGYW1vdW50BAAAAAJpZAkABDkAAAABBQAAAAVsZWFzZQkABEwAAAACBQAAAAVsZWFzZQkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACAgAAAApiNThsZWFzZUlECQACWAAAAAEFAAAAAmlkBQAAAANuaWwAAAABaQEAAAALbGVhc2VDYW5jZWwAAAABAAAAB2xlYXNlVHgJAARMAAAAAgkBAAAAC0xlYXNlQ2FuY2VsAAAAAQkAAlkAAAABBQAAAAdsZWFzZVR4BQAAAANuaWwAAAAAPhkqKQ==",
"height": 1826582,
"applicationStatus": "succeeded",
"spentComplexity": 0
}
View: original | compacted
Prev: none
Next: ArAaAFKfYWsmLXtjYbFgim8zXsr6FzfyUzFnxhzsLCXz
Full:
Old | New | | Differences |
---|
1 | | - | # no script |
---|
| 1 | + | {-# STDLIB_VERSION 5 #-} |
---|
| 2 | + | {-# SCRIPT_TYPE ACCOUNT #-} |
---|
| 3 | + | {-# CONTENT_TYPE DAPP #-} |
---|
| 4 | + | |
---|
| 5 | + | |
---|
| 6 | + | @Callable(i) |
---|
| 7 | + | func lease (poolAddress) = { |
---|
| 8 | + | let payment = i.payments[0] |
---|
| 9 | + | let lease = Lease(Address(fromBase58String(poolAddress)), payment.amount) |
---|
| 10 | + | let id = calculateLeaseId(lease) |
---|
| 11 | + | [lease, StringEntry("b58leaseID", toBase58String(id))] |
---|
| 12 | + | } |
---|
| 13 | + | |
---|
| 14 | + | |
---|
| 15 | + | |
---|
| 16 | + | @Callable(i) |
---|
| 17 | + | func leaseCancel (leaseTx) = [LeaseCancel(fromBase58String(leaseTx))] |
---|
| 18 | + | |
---|
| 19 | + | |
---|