tx · 9MYxvJeB4AUB9par75VAaf1381g6k93zqSYBkzewZwfV

3N2eWpc6pAYe6oBQdrFU6YySuNWB4G51UdY:  -0.01000000 Waves

2022.02.16 01:07 [1925311] smart account 3N2eWpc6pAYe6oBQdrFU6YySuNWB4G51UdY > SELF 0.00000000 Waves

{ "type": 13, "id": "9MYxvJeB4AUB9par75VAaf1381g6k93zqSYBkzewZwfV", "fee": 1000000, "feeAssetId": null, "timestamp": 1644962849305, "version": 1, "sender": "3N2eWpc6pAYe6oBQdrFU6YySuNWB4G51UdY", "senderPublicKey": "42WmacRYfwwb7o8tbS2WUutc3rDFdZxh55QsWyxQYajR", "proofs": [ "uLvkTLeGbyV4VgNbofxkfafC1L4CPGudqrvbVKyMtWmNTNYGeyaJ12MFLnTXyBqdPAzUScNsisAxz4tqxK8bQA4" ], "script": "base64:AAIFAAAAAAAAAAwIAhIDCgEIEgMKAQgAAAAAAAAAAgAAAAFpAQAAAAF4AAAAAQAAAAFzAwkBAAAAAiE9AAAAAggFAAAAAWkAAAAGY2FsbGVyBQAAAAR0aGlzCQAAAgAAAAECAAAAASEKAQAAAAF5AAAAAgAAAAF0AAAAAXYDCQAAAAAAAAIFAAAAAXQCAAAAAWkJAQAAAA1wYXJzZUludFZhbHVlAAAAAQUAAAABdgMJAAAAAAAAAgUAAAABdAIAAAABcwUAAAABdgMJAAAAAAAAAgUAAAABdAIAAAABYgkAAAAAAAACBQAAAAF2AgAAAAExCQAAAgAAAAEFAAAAAXQKAQAAAAFnAAAAAgAAAAFuAAAAAXYDCQAAAAAAAAIFAAAAAW4CAAAAATAFAAAAA25pbAMJAAAAAAAAAgUAAAABbgIAAAABMQQAAAABdAkABLUAAAACBQAAAAF2AgAAAAE6CQAETAAAAAIJAQAAAAF5AAAAAgkAAZEAAAACBQAAAAF0AAAAAAAAAAAACQABkQAAAAIFAAAAAXQAAAAAAAAAAAEFAAAAA25pbAMJAAAAAAAAAgUAAAABbgIAAAABMgQAAAABdAkABLUAAAACBQAAA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AAABAAAAAAAAAAACAAAAAAAAAAADAAAAAAAAAAAEAAAAAAAAAAAFAAAAAAAAAAAGAAAAAAAAAAAHAAAAAAAAAAAIAAAAAAAAAAAJAAAAAAAAAAAKAAAAAAAAAAALAAAAAAAAAAAMAAAAAAAAAAANAAAAAAAAAAAOAAAAAAAAAAAPAAAAAAAAAAAQAAAAAAAAAAARAAAAAAAAAAASAAAAACvCBT4=", "chainId": 84, "height": 1925311, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 9JLpYTpSL8xminYzrJdkSMzMhi8ed6k9nF4QoyPwBkgE Next: Gvu6CGZjUrdCsfFj4YGgLKKczrp7zPUufpP1RJFC3MMf Diff:
OldNewDifferences
140140 then unit
141141 else fromBase58String(d[3]))]
142142 else if ((w == "a"))
143- then [Lease(k(d[1]), parseIntValue(d[2]), parseIntValue(d[3]))]
143+ then {
144+ let y = Lease(k(d[1]), parseIntValue(d[2]), parseIntValue(d[3]))
145+ let z = calculateLeaseId(y)
146+[y, BinaryEntry(toString(size(k)), z)]
147+ }
144148 else if ((w == "b"))
145149 then [LeaseCancel(fromBase58String(d[1]))]
146- else throw(w)))
150+ else if ((w == "c"))
151+ then [LeaseCancel(getBinaryValue(this, d[1]))]
152+ else throw(w)))
147153 }
148154
149155 let m = split(toUtf8String(fromBase64String(b)), "|")
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(a)
77 func x (b) = if ((a.caller != this))
88 then throw("!")
99 else {
1010 func c (d,e) = if ((d == "i"))
1111 then parseIntValue(e)
1212 else if ((d == "s"))
1313 then e
1414 else if ((d == "b"))
1515 then (e == "1")
1616 else throw(d)
1717
1818 func f (g,e) = if ((g == "0"))
1919 then nil
2020 else if ((g == "1"))
2121 then {
2222 let d = split(e, ":")
2323 [c(d[0], d[1])]
2424 }
2525 else if ((g == "2"))
2626 then {
2727 let d = split(e, ":")
2828 [c(d[0], d[1]), c(d[2], d[3])]
2929 }
3030 else if ((g == "3"))
3131 then {
3232 let d = split(e, ":")
3333 [c(d[0], d[1]), c(d[2], d[3]), c(d[4], d[5])]
3434 }
3535 else if ((g == "4"))
3636 then {
3737 let d = split(e, ":")
3838 [c(d[0], d[1]), c(d[2], d[3]), c(d[4], d[5]), c(d[6], d[7])]
3939 }
4040 else if ((g == "5"))
4141 then {
4242 let d = split(e, ":")
4343 [c(d[0], d[1]), c(d[2], d[3]), c(d[4], d[5]), c(d[6], d[7]), c(d[8], d[9])]
4444 }
4545 else throw(g)
4646
4747 func h (e) = if ((e == "0"))
4848 then unit
4949 else fromBase58String(e)
5050
5151 func i (g,e) = if ((g == "0"))
5252 then nil
5353 else if ((g == "1"))
5454 then {
5555 let d = split(e, ":")
5656 [AttachedPayment(h(d[0]), parseIntValue(d[1]))]
5757 }
5858 else if ((g == "2"))
5959 then {
6060 let d = split(e, ":")
6161 [AttachedPayment(h(d[0]), parseIntValue(d[1])), AttachedPayment(h(d[2]), parseIntValue(d[3]))]
6262 }
6363 else if ((g == "3"))
6464 then {
6565 let d = split(e, ":")
6666 [AttachedPayment(h(d[0]), parseIntValue(d[1])), AttachedPayment(h(d[2]), parseIntValue(d[3])), AttachedPayment(h(d[4]), parseIntValue(d[5]))]
6767 }
6868 else if ((g == "4"))
6969 then {
7070 let d = split(e, ":")
7171 [AttachedPayment(h(d[0]), parseIntValue(d[1])), AttachedPayment(h(d[2]), parseIntValue(d[3])), AttachedPayment(h(d[4]), parseIntValue(d[5])), AttachedPayment(h(d[6]), parseIntValue(d[7]))]
7272 }
7373 else throw(g)
7474
7575 func j (k,e) = {
7676 let d = split(e, ";")
7777 invoke(Address(fromBase58String(d[0])), d[1], f(d[2], d[3]), i(d[4], d[5]))
7878 }
7979
8080 let l = {
8181 let m = split(toUtf8String(fromBase64String(b)), "|")
8282 let n = size(m)
8383 let p = 0
8484 func q (r,s) = if ((s >= n))
8585 then r
8686 else j(r, m[s])
8787
8888 func t (r,s) = if ((s >= n))
8989 then r
9090 else throw("List size exceeds 16")
9191
9292 t(q(q(q(q(q(q(q(q(q(q(q(q(q(q(q(q(p, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16)
9393 }
9494 if ((l == l))
9595 then nil
9696 else throw("Strict value is not equal to itself.")
9797 }
9898
9999
100100
101101 @Callable(a)
102102 func o (b) = if ((a.caller != this))
103103 then throw("!")
104104 else {
105105 func k (u) = {
106106 let v = addressFromString(u)
107107 if ($isInstanceOf(v, "Address"))
108108 then {
109109 let k = v
110110 k
111111 }
112112 else addressFromRecipient(Alias(u))
113113 }
114114
115115 func j (k,e) = {
116116 let d = split(e, ";")
117117 let w = d[0]
118118 (k ++ (if ((w == "0"))
119119 then [BinaryEntry(d[1], fromBase58String(d[2]))]
120120 else if ((w == "1"))
121121 then [BooleanEntry(d[1], (d[2] == "1"))]
122122 else if ((w == "2"))
123123 then [IntegerEntry(d[1], parseIntValue(d[2]))]
124124 else if ((w == "3"))
125125 then [StringEntry(d[1], d[2])]
126126 else if ((w == "4"))
127127 then [DeleteEntry(d[1])]
128128 else if ((w == "5"))
129129 then [Issue(d[1], d[2], parseIntValue(d[3]), parseIntValue(d[4]), (d[5] == "1"), unit, parseIntValue(d[7]))]
130130 else if ((w == "6"))
131131 then [Reissue(fromBase58String(d[1]), parseIntValue(d[2]), (d[3] == "1"))]
132132 else if ((w == "7"))
133133 then [Burn(fromBase58String(d[1]), parseIntValue(d[2]))]
134134 else if ((w == "8"))
135135 then [SponsorFee(fromBase58String(d[1]), if ((d[2] == "0"))
136136 then unit
137137 else parseIntValue(d[2]))]
138138 else if ((w == "9"))
139139 then [ScriptTransfer(k(d[1]), parseIntValue(d[2]), if ((d[3] == "0"))
140140 then unit
141141 else fromBase58String(d[3]))]
142142 else if ((w == "a"))
143- then [Lease(k(d[1]), parseIntValue(d[2]), parseIntValue(d[3]))]
143+ then {
144+ let y = Lease(k(d[1]), parseIntValue(d[2]), parseIntValue(d[3]))
145+ let z = calculateLeaseId(y)
146+[y, BinaryEntry(toString(size(k)), z)]
147+ }
144148 else if ((w == "b"))
145149 then [LeaseCancel(fromBase58String(d[1]))]
146- else throw(w)))
150+ else if ((w == "c"))
151+ then [LeaseCancel(getBinaryValue(this, d[1]))]
152+ else throw(w)))
147153 }
148154
149155 let m = split(toUtf8String(fromBase64String(b)), "|")
150156 let n = size(m)
151157 let p = nil
152158 func q (r,s) = if ((s >= n))
153159 then r
154160 else j(r, m[s])
155161
156162 func t (r,s) = if ((s >= n))
157163 then r
158164 else throw("List size exceeds 18")
159165
160166 t(q(q(q(q(q(q(q(q(q(q(q(q(q(q(q(q(q(q(p, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18)
161167 }
162168
163169

github/deemru/w8io/169f3d6 
37.74 ms