tx · GZWrN3bPfSPQ7BGqw3VF6S6fsxKeaVoPSZQM1QuKM2Mt 3MrimhqvGvTQ4wREK4y76JC7Ux4oCKqXgdL: -0.01000000 Waves 2022.10.28 14:29 [2292203] smart account 3MrimhqvGvTQ4wREK4y76JC7Ux4oCKqXgdL > SELF 0.00000000 Waves
{ "type": 13, "id": "GZWrN3bPfSPQ7BGqw3VF6S6fsxKeaVoPSZQM1QuKM2Mt", "fee": 1000000, "feeAssetId": null, "timestamp": 1666956475383, "version": 2, "chainId": 84, "sender": "3MrimhqvGvTQ4wREK4y76JC7Ux4oCKqXgdL", "senderPublicKey": "58sNZS2Uwwwu27vVTh121P4rL1EcWYn1BmTGnmYpoUw9", "proofs": [ "3hjU5AWi2jmdcwqbQGXNRswMyNUUAPo3EZ3eF5NaKCJczb5cyJ8idQjahjCXy4UYgH6tAnjKAMKtH9RsCaotbU6V" ], "script": "base64:AAIFAAAAAAAAAAoIAhIAEgASABIAAAAABAAAAAAJcmVjaXBpZW50CQEAAAAFdmFsdWUAAAABCQAEJgAAAAECAAAAIzNNeE5uWVZwODFZZllwdmRwc2tmQ0FTNFNkbU5ZY3J0WUxFAQAAAAxpc0ZpcnN0bGV2ZWwAAAAABAAAAAckbWF0Y2gwCQAD/AAAAAQFAAAABHRoaXMCAAAACkZpcnN0bGV2ZWwFAAAAA25pbAUAAAADbmlsAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAAdCb29sZWFuBAAAAAFhBQAAAAckbWF0Y2gwBQAAAAFhCQAAAgAAAAECAAAAJlVuc3VwcG9ydGVkIHJlc3VsdCBmb3JtYXQgKEZpcnN0bGV2ZWwpAQAAAA1pc1NlY29uZGxldmVsAAAAAAQAAAAHJG1hdGNoMAkAA/wAAAAEBQAAAAR0aGlzAgAAAAtTZWNvbmRsZXZlbAUAAAADbmlsBQAAAANuaWwDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAB0Jvb2xlYW4EAAAAAWEFAAAAByRtYXRjaDAFAAAAAWE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3JpcHRUcmFuc2ZlcgAAAAMFAAAACXJlY2lwaWVudAAAAAAAAAAAAQUAAAAEdW5pdAkABEwAAAACBQAAAAVsZWFzZQkABEwAAAACCQEAAAALTGVhc2VDYW5jZWwAAAABBQAAAAJpZAUAAAADbmlsCQAAAgAAAAECAAAAJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgAAAAAUGHj+", "height": 2292203, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: none Next: AZHypFSbCPEsfkoCaxSP4EZh6b5T5zYfFuyosUXQHma6 Full:
Old | New | Differences | |
---|---|---|---|
1 | - | # no script | |
1 | + | {-# STDLIB_VERSION 5 #-} | |
2 | + | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | + | {-# CONTENT_TYPE DAPP #-} | |
4 | + | let a = value(addressFromString("3MxNnYVp81YfYpvdpskfCAS4SdmNYcrtYLE")) | |
5 | + | ||
6 | + | func b () = { | |
7 | + | let c = invoke(this, "Firstlevel", nil, nil) | |
8 | + | if ($isInstanceOf(c, "Boolean")) | |
9 | + | then { | |
10 | + | let d = c | |
11 | + | d | |
12 | + | } | |
13 | + | else throw("Unsupported result format (Firstlevel)") | |
14 | + | } | |
15 | + | ||
16 | + | ||
17 | + | func e () = { | |
18 | + | let c = invoke(this, "Secondlevel", nil, nil) | |
19 | + | if ($isInstanceOf(c, "Boolean")) | |
20 | + | then { | |
21 | + | let d = c | |
22 | + | d | |
23 | + | } | |
24 | + | else throw("Unsupported result format (Secondlevel)") | |
25 | + | } | |
26 | + | ||
27 | + | ||
28 | + | func f () = { | |
29 | + | let c = invoke(this, "Thirdlevel", nil, nil) | |
30 | + | if ($isInstanceOf(c, "Boolean")) | |
31 | + | then { | |
32 | + | let d = c | |
33 | + | d | |
34 | + | } | |
35 | + | else throw("Unsupported result format (Thirdlevel)") | |
36 | + | } | |
37 | + | ||
38 | + | ||
39 | + | @Callable(g) | |
40 | + | func Firstlevel () = { | |
41 | + | let h = Issue("RTokenRToken1", "This is an ordinary token", 1000000, 2, true, unit, 0) | |
42 | + | let i = calculateAssetId(h) | |
43 | + | let j = Lease(a, 1, 1) | |
44 | + | let k = calculateLeaseId(j) | |
45 | + | let d = e() | |
46 | + | if ((d == d)) | |
47 | + | then $Tuple2([BinaryEntry("bin1", base58''), BooleanEntry("bool1", true), IntegerEntry("int1", 1), StringEntry("str1", ""), DeleteEntry("str1"), h, Reissue(i, 1, true), Burn(i, 1000000), ScriptTransfer(a, 1, unit), j, Issue("UberToken1", "The ultimate token. One and only", 1, 0, false), LeaseCancel(k)], true) | |
48 | + | else throw("Strict value is not equal to itself.") | |
49 | + | } | |
50 | + | ||
51 | + | ||
52 | + | ||
53 | + | @Callable(g) | |
54 | + | func Secondlevel () = { | |
55 | + | let h = Issue("RTokenRToken12", "This is an ordinary token", 1000000, 2, true, unit, 0) | |
56 | + | let i = calculateAssetId(h) | |
57 | + | let j = Lease(a, 1, 2) | |
58 | + | let k = calculateLeaseId(j) | |
59 | + | let d = f() | |
60 | + | if ((d == d)) | |
61 | + | then $Tuple2([BinaryEntry("bin2", base58''), BooleanEntry("bool2", true), IntegerEntry("int2", 1), StringEntry("str2", ""), DeleteEntry("str2"), h, Reissue(i, 1, true), Burn(i, 1000000), ScriptTransfer(a, 1, unit), j, Issue("UberToken2", "The ultimate token. One and only", 1, 0, false), LeaseCancel(k)], true) | |
62 | + | else throw("Strict value is not equal to itself.") | |
63 | + | } | |
64 | + | ||
65 | + | ||
66 | + | ||
67 | + | @Callable(g) | |
68 | + | func Thirdlevel () = { | |
69 | + | let h = Issue("RTokenRToken3", "This is an ordinary token", 1000000, 2, true, unit, 0) | |
70 | + | let i = calculateAssetId(h) | |
71 | + | let j = Lease(a, 1, 3) | |
72 | + | let k = calculateLeaseId(j) | |
73 | + | $Tuple2([BinaryEntry("bin3", base58''), BooleanEntry("bool3", true), IntegerEntry("int3", 1), StringEntry("str3", ""), DeleteEntry("str3"), h, Reissue(i, 1, true), Burn(i, 1), ScriptTransfer(a, 1, unit), j, Issue("UberToken3", "The ultimate token. One and only", 1, 0, false), LeaseCancel(k)], true) | |
74 | + | } | |
75 | + | ||
76 | + | ||
77 | + | ||
78 | + | @Callable(g) | |
79 | + | func call () = { | |
80 | + | let h = Issue("NewAssettttt", "", 1, 1, true) | |
81 | + | let i = calculateAssetId(h) | |
82 | + | let j = Lease(a, 1, 0) | |
83 | + | let k = calculateLeaseId(j) | |
84 | + | let d = b() | |
85 | + | if ((d == d)) | |
86 | + | then [BinaryEntry("bin", base58''), BooleanEntry("bool", true), IntegerEntry("int", 1), StringEntry("str", ""), DeleteEntry("str"), ScriptTransfer(a, 1, unit), j, LeaseCancel(k)] | |
87 | + | else throw("Strict value is not equal to itself.") | |
88 | + | } | |
89 | + | ||
90 | + |
github/deemru/w8io/026f985 15.36 ms ◑