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