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
137137 then unit
138138 else fromBase58String(t[3]))]
139139 else if ((u == "a"))
140- then [Lease(a(t[1]), parseIntValue(t[2]), parseIntValue(t[3]))]
140+ then {
141+ let e = Lease(a(t[1]), parseIntValue(t[2]), parseIntValue(t[3]))
142+ let d = calculateLeaseId(e)
143+[e, BinaryEntry(toString(size(a)), d)]
144+ }
141145 else if ((u == "b"))
142146 then [LeaseCancel(fromBase58String(t[1]))]
143- else throw(u)))
147+ else if ((u == "c"))
148+ then [LeaseCancel(getBinaryValue(this, t[1]))]
149+ else throw(u)))
144150 }
145151
146152 let $l = split(toUtf8String(fromBase64String(s)), "|")
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(i)
77 func x (s) = if ((i.caller != this))
88 then throw("!")
99 else {
1010 func y (t,v) = if ((t == "i"))
1111 then parseIntValue(v)
1212 else if ((t == "s"))
1313 then v
1414 else if ((t == "b"))
1515 then (v == "1")
1616 else throw(t)
1717
1818 func g (n,v) = if ((n == "0"))
1919 then nil
2020 else if ((n == "1"))
2121 then {
2222 let t = split(v, ":")
2323 [y(t[0], t[1])]
2424 }
2525 else if ((n == "2"))
2626 then {
2727 let t = split(v, ":")
2828 [y(t[0], t[1]), y(t[2], t[3])]
2929 }
3030 else if ((n == "3"))
3131 then {
3232 let t = split(v, ":")
3333 [y(t[0], t[1]), y(t[2], t[3]), y(t[4], t[5])]
3434 }
3535 else if ((n == "4"))
3636 then {
3737 let t = split(v, ":")
3838 [y(t[0], t[1]), y(t[2], t[3]), y(t[4], t[5]), y(t[6], t[7])]
3939 }
4040 else if ((n == "5"))
4141 then {
4242 let t = split(v, ":")
4343 [y(t[0], t[1]), y(t[2], t[3]), y(t[4], t[5]), y(t[6], t[7]), y(t[8], t[9])]
4444 }
4545 else throw(n)
4646
4747 func w (v) = if ((v == "0"))
4848 then unit
4949 else fromBase58String(v)
5050
5151 func p (n,v) = if ((n == "0"))
5252 then nil
5353 else if ((n == "1"))
5454 then {
5555 let t = split(v, ":")
5656 [AttachedPayment(w(t[0]), parseIntValue(t[1]))]
5757 }
5858 else if ((n == "2"))
5959 then {
6060 let t = split(v, ":")
6161 [AttachedPayment(w(t[0]), parseIntValue(t[1])), AttachedPayment(w(t[2]), parseIntValue(t[3]))]
6262 }
6363 else if ((n == "3"))
6464 then {
6565 let t = split(v, ":")
6666 [AttachedPayment(w(t[0]), parseIntValue(t[1])), AttachedPayment(w(t[2]), parseIntValue(t[3])), AttachedPayment(w(t[4]), parseIntValue(t[5]))]
6767 }
6868 else if ((n == "4"))
6969 then {
7070 let t = split(v, ":")
7171 [AttachedPayment(w(t[0]), parseIntValue(t[1])), AttachedPayment(w(t[2]), parseIntValue(t[3])), AttachedPayment(w(t[4]), parseIntValue(t[5])), AttachedPayment(w(t[6]), parseIntValue(t[7]))]
7272 }
7373 else throw(n)
7474
7575 func f (a,v) = {
7676 let t = split(v, ";")
7777 invoke(Address(fromBase58String(t[0])), t[1], g(t[2], t[3]), p(t[4], t[5]))
7878 }
7979
8080 let x = {
8181 let $l = split(toUtf8String(fromBase64String(s)), "|")
8282 let $s = size($l)
8383 let $acc0 = 0
8484 func $f0_1 ($a,$i) = if (($i >= $s))
8585 then $a
8686 else f($a, $l[$i])
8787
8888 func $f0_2 ($a,$i) = if (($i >= $s))
8989 then $a
9090 else throw("List size exceeds 16")
9191
9292 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16)
9393 }
9494 if ((x == x))
9595 then nil
9696 else throw("Strict value is not equal to itself.")
9797 }
9898
9999
100100
101101 @Callable(i)
102102 func o (s) = if ((i.caller != this))
103103 then throw("!")
104104 else {
105105 func a (l) = match addressFromString(l) {
106106 case a: Address =>
107107 a
108108 case _ =>
109109 addressFromRecipient(Alias(l))
110110 }
111111
112112 func f (a,v) = {
113113 let t = split(v, ";")
114114 let u = t[0]
115115 (a ++ (if ((u == "0"))
116116 then [BinaryEntry(t[1], fromBase58String(t[2]))]
117117 else if ((u == "1"))
118118 then [BooleanEntry(t[1], (t[2] == "1"))]
119119 else if ((u == "2"))
120120 then [IntegerEntry(t[1], parseIntValue(t[2]))]
121121 else if ((u == "3"))
122122 then [StringEntry(t[1], t[2])]
123123 else if ((u == "4"))
124124 then [DeleteEntry(t[1])]
125125 else if ((u == "5"))
126126 then [Issue(t[1], t[2], parseIntValue(t[3]), parseIntValue(t[4]), (t[5] == "1"), unit, parseIntValue(t[7]))]
127127 else if ((u == "6"))
128128 then [Reissue(fromBase58String(t[1]), parseIntValue(t[2]), (t[3] == "1"))]
129129 else if ((u == "7"))
130130 then [Burn(fromBase58String(t[1]), parseIntValue(t[2]))]
131131 else if ((u == "8"))
132132 then [SponsorFee(fromBase58String(t[1]), if ((t[2] == "0"))
133133 then unit
134134 else parseIntValue(t[2]))]
135135 else if ((u == "9"))
136136 then [ScriptTransfer(a(t[1]), parseIntValue(t[2]), if ((t[3] == "0"))
137137 then unit
138138 else fromBase58String(t[3]))]
139139 else if ((u == "a"))
140- then [Lease(a(t[1]), parseIntValue(t[2]), parseIntValue(t[3]))]
140+ then {
141+ let e = Lease(a(t[1]), parseIntValue(t[2]), parseIntValue(t[3]))
142+ let d = calculateLeaseId(e)
143+[e, BinaryEntry(toString(size(a)), d)]
144+ }
141145 else if ((u == "b"))
142146 then [LeaseCancel(fromBase58String(t[1]))]
143- else throw(u)))
147+ else if ((u == "c"))
148+ then [LeaseCancel(getBinaryValue(this, t[1]))]
149+ else throw(u)))
144150 }
145151
146152 let $l = split(toUtf8String(fromBase64String(s)), "|")
147153 let $s = size($l)
148154 let $acc0 = nil
149155 func $f0_1 ($a,$i) = if (($i >= $s))
150156 then $a
151157 else f($a, $l[$i])
152158
153159 func $f0_2 ($a,$i) = if (($i >= $s))
154160 then $a
155161 else throw("List size exceeds 18")
156162
157163 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18)
158164 }
159165
160166

github/deemru/w8io/169f3d6 
38.38 ms