tx · 9cSYNsLTd3fx3hGfXi44uWrhEdpLxew9z4kXYiePdUDK

3N49shcErzZepEy7HDR1fjAce8humpL7QiH:  -0.01000000 Waves

2022.12.18 12:01 [2365521] smart account 3N49shcErzZepEy7HDR1fjAce8humpL7QiH > SELF 0.00000000 Waves

{ "type": 13, "id": "9cSYNsLTd3fx3hGfXi44uWrhEdpLxew9z4kXYiePdUDK", "fee": 1000000, "feeAssetId": null, "timestamp": 1671354188555, "version": 2, "chainId": 84, "sender": "3N49shcErzZepEy7HDR1fjAce8humpL7QiH", "senderPublicKey": "9frGdXQHcSntKXRWwZ4YJZWnnKREWwYH4cEzMVQwcwYj", "proofs": [ "5cuD1bVJHCXzuGKQX7kzTYrbcJ7WpPYQUeB9tDJoKiLVaFyJJntht5DdCCG7j1HMhwQNtncrHZHEdNjBqmw1Dmtq" ], "script": "base64:BgIHCAISAwoBAQIAB2ZlZVRhbmsJAQdBZGRyZXNzAQEaAVT0a9RUk0VehJePvE6ZZrUjKYothFBWfP8AA2M1YQkAzAgCCQDMCAIJAQdBZGRyZXNzAQEaAVRLd+b7vlOc2D4ee4t82/CQ9p9WvVIXlJYJAMwIAgkBB0FkZHJlc3MBARoBVEt35vu+U5zYPh57i3zb8JD2n1a9UheUlgUDbmlsCQDMCAIJAMwIAgkBB0FkZHJlc3MBARoBVEt35vu+U5zYPh57i3zb8JD2n1a9UheUlgkAzAgCCQEHQWRkcmVzcwEBGgFUS3fm+75TnNg+HnuLfNvwkPafVr1SF5SWCQDMCAIJAQdBZGRyZXNzAQEaAVRLd+b7vlOc2D4ee4t82/CQ9p9WvVIXlJYFA25pbAUDbmlsAQFpAQJjNQECY2kKAQF3AgVhY2N1bQdhZGRyZXNzBANyZXMJAPwHBAUHYWRkcmVzcwICdmYJAMwIAgcJAMwIAgYFA25pbAUDbmlsAwkAAAIFA3JlcwUDcmVzBQNuaWwJAAIBAiRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4DCQECIT0CCAUBaQZjYWxsZXIFBHRoaXMJAAIBAhJvbmx5IGFkbWluIGFsbG93ZWQEBGFkZHIJAJEDAgUDYzVhBQJjaQQEZm9sZAoAAiRsBQRhZGRyCgACJHMJAJADAQUCJGwKAAUkYWNjMAIACgEFJGYwXzECAiRhAiRpAwkAZwIFAiRpBQIkcwUCJGEJAQF3AgUCJGEJAJEDAgUCJGwFAiRpCgEFJGYwXzICAiRhAiRpAwkAZwIFAiRpBQIkcwUCJGEJAAIBAhNMaXN0IHNpemUgZXhjZWVkcyA1CQEFJGYwXzICCQEFJGYwXzECCQEFJGYwXzECCQEFJGYwXzECCQEFJGYwXzECCQEFJGYwXzECBQUkYWNjMAAAAAEAAgADAAQABQMJAAACBQRmb2xkBQRmb2xkBARnRmVlCQD8BwQFB2ZlZVRhbmsCA3NtZgkAzAgCCAUBaQNmZWUFA25pbAUDbmlsAwkAAAIFBGdGZWUFBGdGZWUFA25pbAkAAgECJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgkAAgECJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgECdHgBBnZlcmlmeQAEByRtYXRjaDAFAnR4AwkAAQIFByRtYXRjaDACF0ludm9rZVNjcmlwdFRyYW5zYWN0aW9uBANpbnYFByRtYXRjaDADCQAAAgkApAgBCAUDaW52BGRBcHAFBHRoaXMGCQD0AwMIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwAACAUCdHgPc2VuZGVyUHVibGljS2V5CQD0AwMIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwAACAUCdHgPc2VuZGVyUHVibGljS2V5DqlE3A==", "height": 2365521, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: F7Una8HMpMRRtASbWs4FRQAegsqm4xUQcdDSW8DWUAPA Next: 7nPcngL6m7yVQMSrXsP9mLzEqsWeSbSCYYxHf8WthQeR Diff:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4+let feeTank = Address(base58'3NCCTpr3CvajyxfmNGFv2nzx6iajXDk2zPg')
45
6+let c5a = [[Address(base58'3Mvo86GH3NdYW1XXd6h6YpGFef5Y5WNVYgM'), Address(base58'3Mvo86GH3NdYW1XXd6h6YpGFef5Y5WNVYgM')], [Address(base58'3Mvo86GH3NdYW1XXd6h6YpGFef5Y5WNVYgM'), Address(base58'3Mvo86GH3NdYW1XXd6h6YpGFef5Y5WNVYgM'), Address(base58'3Mvo86GH3NdYW1XXd6h6YpGFef5Y5WNVYgM')]]
57
68 @Callable(i)
7-func v (f) = if ((i.caller != this))
8- then throw("only admin allowed")
9- else {
10- let inv = invoke(addressFromStringValue(f), "vf", [false, true], nil)
11- if ((inv == inv))
12- then nil
13- else throw("Strict value is not equal to itself.")
14- }
15-
16-
17-
18-@Callable(i)
19-func vfa5 (addresses) = {
9+func c5 (ci) = {
2010 func w (accum,address) = {
21- let res = invoke(addressFromStringValue(address), "vf", [false, true], nil)
11+ let res = invoke(address, "vf", [false, true], nil)
2212 if ((res == res))
2313 then nil
2414 else throw("Strict value is not equal to itself.")
2717 if ((i.caller != this))
2818 then throw("only admin allowed")
2919 else {
30- let list = split(addresses, ",")
20+ let addr = c5a[ci]
3121 let fold = {
32- let $l = list
22+ let $l = addr
3323 let $s = size($l)
3424 let $acc0 = ""
3525 func $f0_1 ($a,$i) = if (($i >= $s))
4333 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5)
4434 }
4535 if ((fold == fold))
46- then nil
36+ then {
37+ let gFee = invoke(feeTank, "smf", [i.fee], nil)
38+ if ((gFee == gFee))
39+ then nil
40+ else throw("Strict value is not equal to itself.")
41+ }
4742 else throw("Strict value is not equal to itself.")
4843 }
4944 }
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
4+let feeTank = Address(base58'3NCCTpr3CvajyxfmNGFv2nzx6iajXDk2zPg')
45
6+let c5a = [[Address(base58'3Mvo86GH3NdYW1XXd6h6YpGFef5Y5WNVYgM'), Address(base58'3Mvo86GH3NdYW1XXd6h6YpGFef5Y5WNVYgM')], [Address(base58'3Mvo86GH3NdYW1XXd6h6YpGFef5Y5WNVYgM'), Address(base58'3Mvo86GH3NdYW1XXd6h6YpGFef5Y5WNVYgM'), Address(base58'3Mvo86GH3NdYW1XXd6h6YpGFef5Y5WNVYgM')]]
57
68 @Callable(i)
7-func v (f) = if ((i.caller != this))
8- then throw("only admin allowed")
9- else {
10- let inv = invoke(addressFromStringValue(f), "vf", [false, true], nil)
11- if ((inv == inv))
12- then nil
13- else throw("Strict value is not equal to itself.")
14- }
15-
16-
17-
18-@Callable(i)
19-func vfa5 (addresses) = {
9+func c5 (ci) = {
2010 func w (accum,address) = {
21- let res = invoke(addressFromStringValue(address), "vf", [false, true], nil)
11+ let res = invoke(address, "vf", [false, true], nil)
2212 if ((res == res))
2313 then nil
2414 else throw("Strict value is not equal to itself.")
2515 }
2616
2717 if ((i.caller != this))
2818 then throw("only admin allowed")
2919 else {
30- let list = split(addresses, ",")
20+ let addr = c5a[ci]
3121 let fold = {
32- let $l = list
22+ let $l = addr
3323 let $s = size($l)
3424 let $acc0 = ""
3525 func $f0_1 ($a,$i) = if (($i >= $s))
3626 then $a
3727 else w($a, $l[$i])
3828
3929 func $f0_2 ($a,$i) = if (($i >= $s))
4030 then $a
4131 else throw("List size exceeds 5")
4232
4333 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5)
4434 }
4535 if ((fold == fold))
46- then nil
36+ then {
37+ let gFee = invoke(feeTank, "smf", [i.fee], nil)
38+ if ((gFee == gFee))
39+ then nil
40+ else throw("Strict value is not equal to itself.")
41+ }
4742 else throw("Strict value is not equal to itself.")
4843 }
4944 }
5045
5146
5247 @Verifier(tx)
5348 func verify () = match tx {
5449 case inv: InvokeScriptTransaction =>
5550 if ((addressFromRecipient(inv.dApp) == this))
5651 then true
5752 else sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
5853 case _ =>
5954 sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
6055 }
6156

github/deemru/w8io/169f3d6 
34.29 ms