tx · 6P6aGtGHQ2GoEwz6RQ8kTEmgfJLY32Pse7Vf84jxtxWW 3Mpv5ddvvBDKQN6pHsHZ6Jy74wb3J1vmHrw: -0.01000000 Waves 2023.08.22 17:37 [2721950] smart account 3Mpv5ddvvBDKQN6pHsHZ6Jy74wb3J1vmHrw > SELF 0.00000000 Waves
{ "type": 13, "id": "6P6aGtGHQ2GoEwz6RQ8kTEmgfJLY32Pse7Vf84jxtxWW", "fee": 1000000, "feeAssetId": null, "timestamp": 1692715111054, "version": 2, "chainId": 84, "sender": "3Mpv5ddvvBDKQN6pHsHZ6Jy74wb3J1vmHrw", "senderPublicKey": "Apv79thF7LfxCEFRESoEAeqHQnhmt45geC8enb3ukDX", "proofs": [ "23BF3p63amHzvcn6SJhFcbPW2J64gSCtomQAJYNMW2nfJQoopSQhu2krMWbSrD4caoC2zaegENH2onNNPdEP4soQ" ], "script": "base64:AAIFAAAAAAAAAAgIAhIECgIYAQAAAAAAAAABAAAAAWkBAAAACGFkZFBvb2xzAAAAAgAAAAlBZGRyZXNzZXMAAAAGYW1vdW50CgEAAAAQZ2VuZXJhdGVQb29sS2V5cwAAAAIAAAALYWNjdW11bGF0ZWQAAAAEcG9vbAkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCQEAAAARQGV4dHJOYXRpdmUoMTA2MikAAAABBQAAAARwb29sBQAAAAZhbW91bnQFAAAABHVuaXQFAAAAC2FjY3VtdWxhdGVkBAAAABZwcmV2aW91c1Jld2FyZEVudHJ5TmV3CgAAAAACJGwFAAAACUFkZHJlc3NlcwoAAAAAAiRzCQABkAAAAAEFAAAAAiRsCgAAAAAFJGFjYzAFAAAAA25pbAoBAAAABSRmMF8xAAAAAgAAAAIkYQAAAAIkaQMJAABnAAAAAgUAAAACJGkFAAAAAiRzBQAAAAIkYQkBAAAAEGdlbmVyYXRlUG9vbEtleXMAAAACBQAAAAIkYQkAAZEAAAACBQAAAAIkbAUAAAACJGkKAQAAAAUkZjBfMgAAAAI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DM77KF26MGgXqVEbw8tQ7qa7X5KncmWt2B Next: 7qE1bejwyiBKf1xHmToZQGc5xxEbPYEhkPu3YuB9rD6L Diff:
Old | New | Differences | |
---|---|---|---|
4 | 4 | ||
5 | 5 | ||
6 | 6 | @Callable(i) | |
7 | - | func addPools ( | |
7 | + | func addPools (Addresses,amount) = { | |
8 | 8 | func generatePoolKeys (accumulated,pool) = ScriptTransfer(addressFromStringValue(pool), amount, unit) :: accumulated | |
9 | 9 | ||
10 | 10 | let previousRewardEntryNew = { | |
11 | - | let $l = | |
11 | + | let $l = Addresses | |
12 | 12 | let $s = size($l) | |
13 | 13 | let $acc0 = nil | |
14 | 14 | func $f0_1 ($a,$i) = if (($i >= $s)) |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | ||
5 | 5 | ||
6 | 6 | @Callable(i) | |
7 | - | func addPools ( | |
7 | + | func addPools (Addresses,amount) = { | |
8 | 8 | func generatePoolKeys (accumulated,pool) = ScriptTransfer(addressFromStringValue(pool), amount, unit) :: accumulated | |
9 | 9 | ||
10 | 10 | let previousRewardEntryNew = { | |
11 | - | let $l = | |
11 | + | let $l = Addresses | |
12 | 12 | let $s = size($l) | |
13 | 13 | let $acc0 = nil | |
14 | 14 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
15 | 15 | then $a | |
16 | 16 | else generatePoolKeys($a, $l[$i]) | |
17 | 17 | ||
18 | 18 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
19 | 19 | then $a | |
20 | 20 | else throw("List size exceeds 20") | |
21 | 21 | ||
22 | 22 | $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($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20) | |
23 | 23 | } | |
24 | 24 | previousRewardEntryNew | |
25 | 25 | } | |
26 | 26 | ||
27 | 27 | ||
28 | 28 | @Verifier(tx) | |
29 | 29 | func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) | |
30 | 30 |
github/deemru/w8io/169f3d6 31.20 ms ◑