tx · BFp67nwSWNq8mgUP61SXjK9dUZUDGuAWFM7wYCQADqB8

3NBNKJTqCGbPCDw1A86tAH3oLjFfhAmUYKW:  -0.00100000 Waves

2022.06.18 02:36 [2101037] smart account 3NBNKJTqCGbPCDw1A86tAH3oLjFfhAmUYKW > SELF 0.00000000 Waves

{ "type": 13, "id": "BFp67nwSWNq8mgUP61SXjK9dUZUDGuAWFM7wYCQADqB8", "fee": 100000, "feeAssetId": null, "timestamp": 1655509047968, "version": 2, "chainId": 84, "sender": "3NBNKJTqCGbPCDw1A86tAH3oLjFfhAmUYKW", "senderPublicKey": "5KgB1ZojKX7qznjw2mAXoU9asTrLAHv5nEvk36suSN3c", "proofs": [ "4xAM9H86dEjywuyfVdCvPYVwDQ97hJz4cKGo93bbKLNgvKwe8m7uVYBYFdemUGZRgf7n9x3v6tbAiKSxswD315s1" ], "script": "base64:AAIEAAAAAAAAAAcIAhIDCgEBAAAAAQAAAAAEZGFwcAEAAAAaAVTrUL92ox/G8AFszp2fHW2IZ+gQLSc99iUAAAABAAAAAWkBAAAACWZyZWVXYXZlcwAAAAEAAAAGYW1vdW50AwkAAGYAAAACBQAAAAZhbW91bnQAAAAAAAvrwgAJAAACAAAAAQIAAAAZdGhlIG1heCBhbW91bnQgaXMgMiB3YXZlcwQAAAAGc2VuZGVyCAUAAAABaQAAAAZjYWxsZXIEAAAADGdldE9sZEFtb3VudAkABBoAAAACBQAAAAR0aGlzAgAAAAVXQVZFUwQAAAAJb2xkQW1vdW50BAAAAAckbWF0Y2gwBQAAAAxnZXRPbGRBbW91bnQDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAA0ludAQAAAACaW4FAAAAByRtYXRjaDAJAABkAAAAAgUAAAACaW4AAAAAAAAAAAADCQAAAQAAAAIFAAAAByRtYXRjaDACAAAABFVuaXQEAAAAAnVuBQAAAAckbWF0Y2gwAAAAAAAAAAAAAAAAAAAAAAAAAwkAAGYAAAACBQAAAAlvbGRBbW91bnQAAAAAADuaygAJAAACAAAAAQIAAAAmdGhlIG1heCBhbW91bnQgdG8gd2l0aGRyYXcgaXMgMTAgd2F2ZXMEAAAACW5ld0Ftb3VudAkAAGQAAAACBQAAAAlvbGRBbW91bnQFAAAABmFtb3VudAQAAAAEc2F2ZQkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgIAAAAFV0FWRVMFAAAACW5ld0Ftb3VudAUAAAADbmlsBAAAAAh0cmFuc2ZlcgkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCAUAAAABaQAAAAZjYWxsZXIFAAAABmFtb3VudAEAAAAEE6vZMwUAAAADbmlsBQAAAARzYXZlAAAAAEn4wJY=", "height": 2101037, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: FPNRSDTPF5yEEHB1gqnivh1EsKaAc6GpNh9dgttepgLU Next: EEWTmXY3ZxFTMEeCGqDXkpWtnt3tSqAbF6dbrPray7y8 Diff:
OldNewDifferences
2828 else {
2929 let j = (f + c)
3030 let k = [IntegerEntry("WAVES", j)]
31- let l = [ScriptTransfer(b.caller, c, unit)]
31+ let l = [ScriptTransfer(b.caller, c, base58'WAVES')]
3232 k
3333 }
3434 }
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = base58'3NBNKJTqCGbPCDw1A86tAH3oLjFfhAmUYKW'
55
66 @Callable(b)
77 func freeWaves (c) = if ((c > 200000000))
88 then throw("the max amount is 2 waves")
99 else {
1010 let d = b.caller
1111 let e = getInteger(this, "WAVES")
1212 let f = {
1313 let g = e
1414 if ($isInstanceOf(g, "Int"))
1515 then {
1616 let h = g
1717 (h + 0)
1818 }
1919 else if ($isInstanceOf(g, "Unit"))
2020 then {
2121 let i = g
2222 0
2323 }
2424 else 0
2525 }
2626 if ((f > 1000000000))
2727 then throw("the max amount to withdraw is 10 waves")
2828 else {
2929 let j = (f + c)
3030 let k = [IntegerEntry("WAVES", j)]
31- let l = [ScriptTransfer(b.caller, c, unit)]
31+ let l = [ScriptTransfer(b.caller, c, base58'WAVES')]
3232 k
3333 }
3434 }
3535
3636

github/deemru/w8io/169f3d6 
23.51 ms