tx · AUBpH393S1ZviBCB4PQyz4JLqXnZGLjgohw8NupcUAn4

3N49shcErzZepEy7HDR1fjAce8humpL7QiH:  -0.01000000 Waves

2022.12.18 12:48 [2365565] smart account 3N49shcErzZepEy7HDR1fjAce8humpL7QiH > SELF 0.00000000 Waves

{ "type": 13, "id": "AUBpH393S1ZviBCB4PQyz4JLqXnZGLjgohw8NupcUAn4", "fee": 1000000, "feeAssetId": null, "timestamp": 1671356934539, "version": 2, "chainId": 84, "sender": "3N49shcErzZepEy7HDR1fjAce8humpL7QiH", "senderPublicKey": "9frGdXQHcSntKXRWwZ4YJZWnnKREWwYH4cEzMVQwcwYj", "proofs": [ "2Pz3DdfzmsAnrCddP7Z9LznUJEdD6eswAZdLFaSrvDvior8fTAS3Y1nK3nDnpnLgnDzwy9JLGS2UUvint66JAHgM" ], "script": "base64:BgIHCAISAwoBAQIAB2ZlZVRhbmsJAQdBZGRyZXNzAQEaAVT0a9RUk0VehJePvE6ZZrUjKYothFBWfP8AA2M1YQkAzAgCCQDMCAIJAQdBZGRyZXNzAQEaAVRLd+b7vlOc2D4ee4t82/CQ9p9WvVIXlJYJAMwIAgkBB0FkZHJlc3MBARoBVEt35vu+U5zYPh57i3zb8JD2n1a9UheUlgkAzAgCCQEHQWRkcmVzcwEBGgFUS3fm+75TnNg+HnuLfNvwkPafVr1SF5SWCQDMCAIJAQdBZGRyZXNzAQEaAVRLd+b7vlOc2D4ee4t82/CQ9p9WvVIXlJYJAMwIAgkBB0FkZHJlc3MBARoBVEt35vu+U5zYPh57i3zb8JD2n1a9UheUlgUDbmlsBQNuaWwBAWkBAmM1AQJjaQoBAXcCBWFjY3VtB2FkZHJlc3MEA3JlcwkA/AcEBQdhZGRyZXNzAgJ2ZgkAzAgCBwkAzAgCBgUDbmlsBQNuaWwDCQAAAgUDcmVzBQNyZXMEByRtYXRjaDAFA3JlcwMJAAECBQckbWF0Y2gwAgNJbnQEA3JlcwUHJG1hdGNoMAkAzAgCCQEMSW50ZWdlckV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5kZXJQdWJsaWNLZXnsQgTV", "height": 2365565, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 7nPcngL6m7yVQMSrXsP9mLzEqsWeSbSCYYxHf8WthQeR Next: GuSgiudQe9m3Luq9qe2ty65eDVWUzVjCmWgi5xfXgzk9 Diff:
OldNewDifferences
1010 func w (accum,address) = {
1111 let res = invoke(address, "vf", [false, true], nil)
1212 if ((res == res))
13- then nil
13+ then match res {
14+ case res: Int =>
15+[IntegerEntry("res", (valueOrElse(getInteger("res"), 0) + res))]
16+ case _ =>
17+ nil
18+ }
1419 else throw("Strict value is not equal to itself.")
1520 }
1621
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let feeTank = Address(base58'3NCCTpr3CvajyxfmNGFv2nzx6iajXDk2zPg')
55
66 let c5a = [[Address(base58'3Mvo86GH3NdYW1XXd6h6YpGFef5Y5WNVYgM'), Address(base58'3Mvo86GH3NdYW1XXd6h6YpGFef5Y5WNVYgM'), Address(base58'3Mvo86GH3NdYW1XXd6h6YpGFef5Y5WNVYgM'), Address(base58'3Mvo86GH3NdYW1XXd6h6YpGFef5Y5WNVYgM'), Address(base58'3Mvo86GH3NdYW1XXd6h6YpGFef5Y5WNVYgM')]]
77
88 @Callable(i)
99 func c5 (ci) = {
1010 func w (accum,address) = {
1111 let res = invoke(address, "vf", [false, true], nil)
1212 if ((res == res))
13- then nil
13+ then match res {
14+ case res: Int =>
15+[IntegerEntry("res", (valueOrElse(getInteger("res"), 0) + res))]
16+ case _ =>
17+ nil
18+ }
1419 else throw("Strict value is not equal to itself.")
1520 }
1621
1722 if ((i.caller != this))
1823 then throw("only admin allowed")
1924 else {
2025 let addr = c5a[ci]
2126 let fold = {
2227 let $l = addr
2328 let $s = size($l)
2429 let $acc0 = ""
2530 func $f0_1 ($a,$i) = if (($i >= $s))
2631 then $a
2732 else w($a, $l[$i])
2833
2934 func $f0_2 ($a,$i) = if (($i >= $s))
3035 then $a
3136 else throw("List size exceeds 5")
3237
3338 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5)
3439 }
3540 if ((fold == fold))
3641 then {
3742 let gFee = invoke(feeTank, "smf", [i.fee], nil)
3843 if ((gFee == gFee))
3944 then nil
4045 else throw("Strict value is not equal to itself.")
4146 }
4247 else throw("Strict value is not equal to itself.")
4348 }
4449 }
4550
4651
4752 @Verifier(tx)
4853 func verify () = match tx {
4954 case inv: InvokeScriptTransaction =>
5055 if ((addressFromRecipient(inv.dApp) == this))
5156 then true
5257 else sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
5358 case _ =>
5459 sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
5560 }
5661

github/deemru/w8io/026f985 
41.20 ms