tx · 7nPcngL6m7yVQMSrXsP9mLzEqsWeSbSCYYxHf8WthQeR 3N49shcErzZepEy7HDR1fjAce8humpL7QiH: -0.01000000 Waves 2022.12.18 12:16 [2365533] smart account 3N49shcErzZepEy7HDR1fjAce8humpL7QiH > SELF 0.00000000 Waves
{ "type": 13, "id": "7nPcngL6m7yVQMSrXsP9mLzEqsWeSbSCYYxHf8WthQeR", "fee": 1000000, "feeAssetId": null, "timestamp": 1671355005529, "version": 2, "chainId": 84, "sender": "3N49shcErzZepEy7HDR1fjAce8humpL7QiH", "senderPublicKey": "9frGdXQHcSntKXRWwZ4YJZWnnKREWwYH4cEzMVQwcwYj", "proofs": [ "5ZW876gf4sBxLRYDgkDrEmHFtnT7jizdH1Uy1Ka8MQZzW6WJWcuBnE2pib9A1ZA69TM4rCuxXTvWH4hF4tjNXLdo" ], "script": "base64:BgIHCAISAwoBAQIAB2ZlZVRhbmsJAQdBZGRyZXNzAQEaAVT0a9RUk0VehJePvE6ZZrUjKYothFBWfP8AA2M1YQkAzAgCCQDMCAIJAQdBZGRyZXNzAQEaAVRLd+b7vlOc2D4ee4t82/CQ9p9WvVIXlJYJAMwIAgkBB0FkZHJlc3MBARoBVEt35vu+U5zYPh57i3zb8JD2n1a9UheUlgkAzAgCCQEHQWRkcmVzcwEBGgFUS3fm+75TnNg+HnuLfNvwkPafVr1SF5SWCQDMCAIJAQdBZGRyZXNzAQEaAVRLd+b7vlOc2D4ee4t82/CQ9p9WvVIXlJYJAMwIAgkBB0FkZHJlc3MBARoBVEt35vu+U5zYPh57i3zb8JD2n1a9UheUlgUDbmlsBQNuaWwBAWkBAmM1AQJjaQoBAXcCBWFjY3VtB2FkZHJlc3MEA3JlcwkA/AcEBQdhZGRyZXNzAgJ2ZgkAzAgCBwkAzAgCBgUDbmlsBQNuaWwDCQAAAgUDcmVzBQNyZXMFA25pbAkAAgECJFN0cmljdCB2YWx1ZSBpcyBub3QgZXF1YWwgdG8gaXRzZWxmLgMJAQIhPQIIBQF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gohw8NupcUAn4 Diff:
Old | New | Differences | |
---|---|---|---|
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let feeTank = Address(base58'3NCCTpr3CvajyxfmNGFv2nzx6iajXDk2zPg') | |
5 | 5 | ||
6 | - | let c5a = [[Address(base58'3Mvo86GH3NdYW1XXd6h6YpGFef5Y5WNVYgM'), Address(base58'3Mvo86GH3NdYW1XXd6h6YpGFef5Y5WNVYgM') | |
6 | + | let c5a = [[Address(base58'3Mvo86GH3NdYW1XXd6h6YpGFef5Y5WNVYgM'), Address(base58'3Mvo86GH3NdYW1XXd6h6YpGFef5Y5WNVYgM'), Address(base58'3Mvo86GH3NdYW1XXd6h6YpGFef5Y5WNVYgM'), Address(base58'3Mvo86GH3NdYW1XXd6h6YpGFef5Y5WNVYgM'), Address(base58'3Mvo86GH3NdYW1XXd6h6YpGFef5Y5WNVYgM')]] | |
7 | 7 | ||
8 | 8 | @Callable(i) | |
9 | 9 | func c5 (ci) = { |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let feeTank = Address(base58'3NCCTpr3CvajyxfmNGFv2nzx6iajXDk2zPg') | |
5 | 5 | ||
6 | - | let c5a = [[Address(base58'3Mvo86GH3NdYW1XXd6h6YpGFef5Y5WNVYgM'), Address(base58'3Mvo86GH3NdYW1XXd6h6YpGFef5Y5WNVYgM') | |
6 | + | let c5a = [[Address(base58'3Mvo86GH3NdYW1XXd6h6YpGFef5Y5WNVYgM'), Address(base58'3Mvo86GH3NdYW1XXd6h6YpGFef5Y5WNVYgM'), Address(base58'3Mvo86GH3NdYW1XXd6h6YpGFef5Y5WNVYgM'), Address(base58'3Mvo86GH3NdYW1XXd6h6YpGFef5Y5WNVYgM'), Address(base58'3Mvo86GH3NdYW1XXd6h6YpGFef5Y5WNVYgM')]] | |
7 | 7 | ||
8 | 8 | @Callable(i) | |
9 | 9 | func c5 (ci) = { | |
10 | 10 | func w (accum,address) = { | |
11 | 11 | let res = invoke(address, "vf", [false, true], nil) | |
12 | 12 | if ((res == res)) | |
13 | 13 | then nil | |
14 | 14 | else throw("Strict value is not equal to itself.") | |
15 | 15 | } | |
16 | 16 | ||
17 | 17 | if ((i.caller != this)) | |
18 | 18 | then throw("only admin allowed") | |
19 | 19 | else { | |
20 | 20 | let addr = c5a[ci] | |
21 | 21 | let fold = { | |
22 | 22 | let $l = addr | |
23 | 23 | let $s = size($l) | |
24 | 24 | let $acc0 = "" | |
25 | 25 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
26 | 26 | then $a | |
27 | 27 | else w($a, $l[$i]) | |
28 | 28 | ||
29 | 29 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
30 | 30 | then $a | |
31 | 31 | else throw("List size exceeds 5") | |
32 | 32 | ||
33 | 33 | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5) | |
34 | 34 | } | |
35 | 35 | if ((fold == fold)) | |
36 | 36 | then { | |
37 | 37 | let gFee = invoke(feeTank, "smf", [i.fee], nil) | |
38 | 38 | if ((gFee == gFee)) | |
39 | 39 | then nil | |
40 | 40 | else throw("Strict value is not equal to itself.") | |
41 | 41 | } | |
42 | 42 | else throw("Strict value is not equal to itself.") | |
43 | 43 | } | |
44 | 44 | } | |
45 | 45 | ||
46 | 46 | ||
47 | 47 | @Verifier(tx) | |
48 | 48 | func verify () = match tx { | |
49 | 49 | case inv: InvokeScriptTransaction => | |
50 | 50 | if ((addressFromRecipient(inv.dApp) == this)) | |
51 | 51 | then true | |
52 | 52 | else sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) | |
53 | 53 | case _ => | |
54 | 54 | sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) | |
55 | 55 | } | |
56 | 56 |
github/deemru/w8io/169f3d6 40.68 ms ◑