tx · 2VA5gDadV7d8G1tuQXgD4i68vdKbAjKtoCxUEK4mMpvz 3N3DQFhEz8QzvM2hrNHMsXKqfcZiAnzrvAz: -0.01000000 Waves 2023.02.01 14:02 [2430467] smart account 3N3DQFhEz8QzvM2hrNHMsXKqfcZiAnzrvAz > SELF 0.00000000 Waves
{ "type": 13, "id": "2VA5gDadV7d8G1tuQXgD4i68vdKbAjKtoCxUEK4mMpvz", "fee": 1000000, "feeAssetId": null, "timestamp": 1675249128081, "version": 2, "chainId": 84, "sender": "3N3DQFhEz8QzvM2hrNHMsXKqfcZiAnzrvAz", "senderPublicKey": "9y561KuPQ5dHWzq35YLJ9XAjGXaY135i4hrBiWq98nQa", "proofs": [ "2Zf8HameCV1xoa8nsNcvcZzdipHCt8GfFAUzaE3dTzWsoMfqvVw1v6Kcny8PASmA9Lu6z6cYgB4vXGQHKnmVRz4F" ], "script": "base64:AAIFAAAAAAAAAAgIAhIAEgASAAAAAAUAAAAACXJlY2lwaWVudAkBAAAABXZhbHVlAAAAAQkABCYAAAABAgAAACMzTXhObllWcDgxWWZZcHZkcHNrZkNBUzRTZG1OWWNydFlMRQAAAAAMb3RoZXJBY3Rpb25zCQEAAAAFdmFsdWUAAAABCQAEJgAAAAECAAAAIzNNcmltaHF2R3ZUUTR3UkVLNHk3NkpDN1V4NG9DS3FYZ2RMAQAAAAxpc0ZpcnN0bGV2ZWwAAAAABAAAAAckbWF0Y2gwCQAD/AAAAAQFAAAABHRoaXMCAAAACkZpcnN0bGV2ZWwFAAAAA25pbAUAAAADbmlsAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAAdCb29sZWFuBAAAAAFhBQAAAAckbWF0Y2gwBQAAAAFhCQAAAgAAAAECAAAAJlVuc3VwcG9ydGVkIHJlc3VsdCBmb3JtYXQgKEZpcnN0bGV2ZWwpAQAAAA1pc1NlY29uZGxldmVsAAAAAAQAAAAHJG1hdGNoMAkAA/wAAAAEBQAAAAR0aGlzAgAAAAtTZWNvbmRsZXZl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AAAAAAAMEAAAAAmlkCQAEOQAAAAEFAAAABWxlYXNlCQAFFAAAAAIJAARMAAAAAgkBAAAAC0JpbmFyeUVudHJ5AAAAAgIAAAAEYmluMwEAAAAACQAETAAAAAIJAQAAAAxCb29sZWFuRW50cnkAAAACAgAAAAVib29sMwYJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAICAAAABGludDMAAAAAAAAAAAEJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgIAAAAEc3RyMwIAAAAACQAETAAAAAIJAQAAAAtEZWxldGVFbnRyeQAAAAECAAAABHN0cjMJAARMAAAAAgUAAAAFYXNzZXQJAARMAAAAAgkBAAAAB1JlaXNzdWUAAAADBQAAAAdhc3NldElkAAAAAAAAAAABBgkABEwAAAACCQEAAAAEQnVybgAAAAIFAAAAB2Fzc2V0SWQAAAAAAAAAAAEJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwUAAAAJcmVjaXBpZW50AAAAAAAALcbABQAAAAR1bml0CQAETAAAAAIFAAAABWxlYXNlCQAETAAAAAIJAARCAAAABQIAAAALVWJlclRva2VuMzMCAAAAIFRoZSB1bHRpbWF0ZSB0b2tlbi4gT25lIGFuZCBvbmx5AAAAAAAAAAABAAAAAAAAAAAABwkABEwAAAACCQEAAAALTGVhc2VDYW5jZWwAAAABBQAAAAJpZAUAAAADbmlsBgAAAAD3BtJz", "height": 2430467, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: HgPzW2MxYUpr6zB1CSnAqeJYHr4LyLGzD4przGy1Udq8 Next: 2qMBtTB3VcsCGJDZ3oCAkTyouMExRtGoP5RBx7D2pheq Full:
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = value(addressFromString("3MxNnYVp81YfYpvdpskfCAS4SdmNYcrtYLE")) | |
5 | 5 | ||
6 | 6 | let b = value(addressFromString("3MrimhqvGvTQ4wREK4y76JC7Ux4oCKqXgdL")) | |
7 | 7 | ||
8 | 8 | func c () = { | |
9 | 9 | let d = invoke(this, "Firstlevel", nil, nil) | |
10 | 10 | if ($isInstanceOf(d, "Boolean")) | |
11 | 11 | then { | |
12 | 12 | let e = d | |
13 | 13 | e | |
14 | 14 | } | |
15 | 15 | else throw("Unsupported result format (Firstlevel)") | |
16 | 16 | } | |
17 | 17 | ||
18 | 18 | ||
19 | 19 | func f () = { | |
20 | 20 | let d = invoke(this, "Secondlevel", nil, nil) | |
21 | 21 | if ($isInstanceOf(d, "Boolean")) | |
22 | 22 | then { | |
23 | 23 | let e = d | |
24 | 24 | e | |
25 | 25 | } | |
26 | 26 | else throw("Unsupported result format (Secondlevel)") | |
27 | 27 | } | |
28 | 28 | ||
29 | 29 | ||
30 | 30 | func g () = { | |
31 | 31 | let d = invoke(this, "Thirdlevel", nil, nil) | |
32 | 32 | if ($isInstanceOf(d, "Boolean")) | |
33 | 33 | then { | |
34 | 34 | let e = d | |
35 | 35 | e | |
36 | 36 | } | |
37 | 37 | else throw("Unsupported result format (Thirdlevel)") | |
38 | 38 | } | |
39 | 39 | ||
40 | 40 | ||
41 | 41 | @Callable(h) | |
42 | 42 | func Firstlevel () = { | |
43 | 43 | let i = Issue("RTokenRToken11", "This is an ordinary token", 1000000, 2, true, unit, 0) | |
44 | 44 | let j = calculateAssetId(i) | |
45 | 45 | let k = Lease(a, 1, 1) | |
46 | 46 | let l = calculateLeaseId(k) | |
47 | 47 | let e = f() | |
48 | 48 | if ((e == e)) | |
49 | 49 | then { | |
50 | 50 | let m = invoke(b, "otherActionsFirstlevel", nil, nil) | |
51 | 51 | if ((m == m)) | |
52 | 52 | then $Tuple2([BinaryEntry("bin1", base58''), BooleanEntry("bool1", true), IntegerEntry("int1", 1), StringEntry("str1", ""), DeleteEntry("str1"), i, Reissue(j, 1, true), Burn(j, 1000000), ScriptTransfer(a, 1000000, unit), k, Issue("UberToken11", "The ultimate token. One and only", 1, 0, false), LeaseCancel(l)], true) | |
53 | 53 | else throw("Strict value is not equal to itself.") | |
54 | 54 | } | |
55 | 55 | else throw("Strict value is not equal to itself.") | |
56 | 56 | } | |
57 | 57 | ||
58 | 58 | ||
59 | 59 | ||
60 | 60 | @Callable(h) | |
61 | 61 | func Secondlevel () = { | |
62 | 62 | let i = Issue("RTokenRToken22", "This is an ordinary token", 1000000, 2, true, unit, 0) | |
63 | 63 | let j = calculateAssetId(i) | |
64 | 64 | let k = Lease(a, 1, 2) | |
65 | 65 | let l = calculateLeaseId(k) | |
66 | 66 | let e = g() | |
67 | 67 | if ((e == e)) | |
68 | 68 | then $Tuple2([BinaryEntry("bin2", base58''), BooleanEntry("bool2", true), IntegerEntry("int2", 1), StringEntry("str2", ""), DeleteEntry("str2"), i, Reissue(j, 1, true), Burn(j, 1000000), ScriptTransfer(a, 2000000, unit), k, Issue("UberToken22", "The ultimate token. One and only", 1, 0, false), LeaseCancel(l)], true) | |
69 | 69 | else throw("Strict value is not equal to itself.") | |
70 | 70 | } | |
71 | 71 | ||
72 | 72 | ||
73 | 73 | ||
74 | 74 | @Callable(h) | |
75 | 75 | func Thirdlevel () = { | |
76 | 76 | let i = Issue("RTokenRToken33", "This is an ordinary token", 1000000, 2, true, unit, 0) | |
77 | 77 | let j = calculateAssetId(i) | |
78 | 78 | let k = Lease(a, 1, 3) | |
79 | 79 | let l = calculateLeaseId(k) | |
80 | 80 | $Tuple2([BinaryEntry("bin3", base58''), BooleanEntry("bool3", true), IntegerEntry("int3", 1), StringEntry("str3", ""), DeleteEntry("str3"), i, Reissue(j, 1, true), Burn(j, 1), ScriptTransfer(a, 3000000, unit), k, Issue("UberToken33", "The ultimate token. One and only", 1, 0, false), LeaseCancel(l)], true) | |
81 | 81 | } | |
82 | 82 | ||
83 | 83 |
github/deemru/w8io/169f3d6 24.98 ms ◑