tx · 3imdpSzRea7RiSknvGsKqQswwuzXiTjuY1UxoLY4uwQK 3MqEAEVk1NcbRAuEPAX7nyzUqMHbhvRofez: -0.01100000 Waves 2023.10.31 15:01 [2822794] smart account 3MqEAEVk1NcbRAuEPAX7nyzUqMHbhvRofez > SELF 0.00000000 Waves
{ "type": 13, "id": "3imdpSzRea7RiSknvGsKqQswwuzXiTjuY1UxoLY4uwQK", "fee": 1100000, "feeAssetId": null, "timestamp": 1698753702774, "version": 2, "chainId": 84, "sender": "3MqEAEVk1NcbRAuEPAX7nyzUqMHbhvRofez", "senderPublicKey": "Brp6cacBXyKUcZr5Uc6VDKsnFcaEeQ8nQzrZQyobDsuf", "proofs": [ "Gbe4Ycf7uipdU6TchWjSAj8zXSd39ySfwg9pbh2Nro7Tfce5bywrjqYgUbZ6C6GEPgWdiKBVsGa1TbHMJJEJNKf" ], "script": "base64:AAIFAAAAAAAAABYIAhIECgIIARIDCgEIEgASAwoBCBIAAAAACQAAAAACbGkJAARMAAAAAgIAAAABMQkABEwAAAACAgAAAAEyCQAETAAAAAICAAAAATMJAARMAAAAAgIAAAABNAkABEwAAAACAgAAAAE1CQAETAAAAAICAAAAATYJAARMAAAAAgIAAAABNwkABEwAAAACAgAAAAE4CQAETAAAAAICAAAAATkJAARMAAAAAgIAAAACMTAJAARMAAAAAgIAAAACMTEJAARMAAAAAgIAAAACMTIJAARMAAAAAgIAAAACMTMJAARMAAAAAgIAAAACMTQJAARMAAAAAgIAAAACMTUJAARMAAAAAgIAAAACMTYJAARMAAAAAgIAAAACMTcJAARMAAAAAgIAAAACMTgJAARMAAAAAgIAAAACMTkJAARMAAAAAgIAAAACMjAJAARMAAAAAgIAAAACMjEJAARMAAAAAgIAAAACMjIJAARMAAAAAgIAAAACMjMJAARMAAAAAgIAAAACMjQJAARMAAAAAgIAAAACMjUJAARMAAAAAgIAAAACMjYJAARMAAAAAgIAAAACMjcJAARMAAAAAgIAAAACMjgJAARMAAAAAgIAAAACMjkJAARMAAAAA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AAAAAAAAAYAAAAAAAAAAAYQAAAAAAAAAAYgAAAAAAAAAAYwAAAAAAAAAAZAMJAAAAAAAAAgUAAAADZW5kBQAAAANlbmQFAAAAA25pbAkAAAIAAAABAgAAACRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4AAAAA3QgDvg==", "height": 2822794, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: E33eTYgeRTcfaEdiF7fj54GAmjPuC8ZvWZtvG1BoaWSY Next: AyLVuLvY7SLtVSt8kiTLyUjyLyhHHLFGp8jWtDSd9Ldq Diff:
Old | New | Differences | |
---|---|---|---|
147 | 147 | } | |
148 | 148 | ||
149 | 149 | ||
150 | - | ||
151 | - | @Callable(i) | |
152 | - | func stringlist () = [StringEntry(("list ended boostingIds" + toString(height)), makeString(li, ","))] | |
153 | - | ||
154 | - | ||
155 | - | ||
156 | - | @Callable(i) | |
157 | - | func transfer (addresses) = { | |
158 | - | let assetId = i.payments[0].assetId | |
159 | - | let amount = i.payments[0].amount | |
160 | - | let amountPerAddress = (amount / size(addresses)) | |
161 | - | func f (accum,address) = (accum ++ [ScriptTransfer(addressFromStringValue(address), amountPerAddress, assetId)]) | |
162 | - | ||
163 | - | let $l = addresses | |
164 | - | let $s = size($l) | |
165 | - | let $acc0 = nil | |
166 | - | func $f0_1 ($a,$i) = if (($i >= $s)) | |
167 | - | then $a | |
168 | - | else f($a, $l[$i]) | |
169 | - | ||
170 | - | func $f0_2 ($a,$i) = if (($i >= $s)) | |
171 | - | then $a | |
172 | - | else throw("List size exceeds 100") | |
173 | - | ||
174 | - | $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($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($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($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($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), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50), 51), 52), 53), 54), 55), 56), 57), 58), 59), 60), 61), 62), 63), 64), 65), 66), 67), 68), 69), 70), 71), 72), 73), 74), 75), 76), 77), 78), 79), 80), 81), 82), 83), 84), 85), 86), 87), 88), 89), 90), 91), 92), 93), 94), 95), 96), 97), 98), 99), 100) | |
175 | - | } | |
176 | - | ||
177 | - |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let li = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "24", "25", "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37", "38", "39", "40", "41", "42", "43", "44", "45", "46", "47", "48", "49", "50", "51", "52", "53", "55", "56"] | |
5 | 5 | ||
6 | 6 | let hours = 1 | |
7 | 7 | ||
8 | 8 | let minutes = 10 | |
9 | 9 | ||
10 | 10 | func tryGetInteger (key) = match getInteger(this, key) { | |
11 | 11 | case b: Int => | |
12 | 12 | b | |
13 | 13 | case _ => | |
14 | 14 | 0 | |
15 | 15 | } | |
16 | 16 | ||
17 | 17 | ||
18 | 18 | func tryGetString (key) = match getString(this, key) { | |
19 | 19 | case b: String => | |
20 | 20 | b | |
21 | 21 | case _ => | |
22 | 22 | "" | |
23 | 23 | } | |
24 | 24 | ||
25 | 25 | ||
26 | 26 | func getAssetString (assetId) = match assetId { | |
27 | 27 | case b: ByteVector => | |
28 | 28 | toBase58String(b) | |
29 | 29 | case _ => | |
30 | 30 | "WAVES" | |
31 | 31 | } | |
32 | 32 | ||
33 | 33 | ||
34 | 34 | func getAssetBytes (assetIdStr) = if ((assetIdStr == "WAVES")) | |
35 | 35 | then unit | |
36 | 36 | else fromBase58String(assetIdStr) | |
37 | 37 | ||
38 | 38 | ||
39 | 39 | func payBoostingResult (boostingId) = { | |
40 | 40 | let lastHeight = tryGetInteger((("boosting_" + boostingId) + "_lastHeight")) | |
41 | 41 | let finishHeight = tryGetInteger((("boosting_" + boostingId) + "_finishHeight")) | |
42 | 42 | if (if ((lastHeight != 0)) | |
43 | 43 | then (finishHeight > lastHeight) | |
44 | 44 | else false) | |
45 | 45 | then { | |
46 | 46 | let blockReward = tryGetInteger((("boosting_" + boostingId) + "_blockAmount")) | |
47 | 47 | let toPay = ((min([finishHeight, height]) - lastHeight) * blockReward) | |
48 | 48 | [IntegerEntry((("boosting_" + boostingId) + "_lastHeight"), height), ScriptTransfer(addressFromStringValue(tryGetString((("boosting_" + boostingId) + "_poolId"))), toPay, getAssetBytes(tryGetString((("boosting_" + boostingId) + "_assetId"))))] | |
49 | 49 | } | |
50 | 50 | else nil | |
51 | 51 | } | |
52 | 52 | ||
53 | 53 | ||
54 | 54 | func endedList (boostingId) = { | |
55 | 55 | let lastHeight = tryGetInteger((("boosting_" + boostingId) + "_lastHeight")) | |
56 | 56 | let finishHeight = tryGetInteger((("boosting_" + boostingId) + "_finishHeight")) | |
57 | 57 | if ((lastHeight >= finishHeight)) | |
58 | 58 | then [StringEntry((("list ended " + toString(height)) + " boostingIds"), ((tryGetString((("list ended " + toString(height)) + " boostingIds")) + boostingId) + ","))] | |
59 | 59 | else nil | |
60 | 60 | } | |
61 | 61 | ||
62 | 62 | ||
63 | 63 | @Callable(i) | |
64 | 64 | func addBoosting (poolId,days) = { | |
65 | 65 | let fullAmount = i.payments[0].amount | |
66 | 66 | let assetId = getAssetString(i.payments[0].assetId) | |
67 | 67 | let inv = invoke(this, "findEndedBoosting", nil, nil) | |
68 | 68 | if ((inv == inv)) | |
69 | 69 | then { | |
70 | 70 | let newBoostingsAmount = (tryGetInteger("global_boostingsAmount") + 1) | |
71 | 71 | let boostingId = toString(newBoostingsAmount) | |
72 | 72 | if ((addressFromString(poolId) == unit)) | |
73 | 73 | then throw("incorrect pool address") | |
74 | 74 | else [IntegerEntry("global_boostingsAmount", newBoostingsAmount), IntegerEntry((("boosting_" + boostingId) + "_days"), days), IntegerEntry((("boosting_" + boostingId) + "_totalAmount"), fullAmount), IntegerEntry((("boosting_" + boostingId) + "_dailyAmount"), (fullAmount / days)), IntegerEntry((("boosting_" + boostingId) + "_blockAmount"), (fullAmount / ((days * hours) * minutes))), IntegerEntry((("boosting_" + boostingId) + "_startHeight"), height), IntegerEntry((("boosting_" + boostingId) + "_finishHeight"), (height + ((days * hours) * minutes))), IntegerEntry((("boosting_" + boostingId) + "_finishTimestamp"), (lastBlock.timestamp + ((((days * hours) * minutes) * 60) * 1000))), IntegerEntry((("boosting_" + boostingId) + "_lastHeight"), height), StringEntry((("boosting_" + boostingId) + "_assetId"), assetId), StringEntry((("boosting_" + boostingId) + "_owner"), toString(i.caller)), StringEntry((("boosting_" + boostingId) + "_poolId"), poolId), StringEntry((("pool_" + poolId) + "_boostings"), ((tryGetString((("pool_" + poolId) + "_boostings")) + boostingId) + ","))] | |
75 | 75 | } | |
76 | 76 | else throw("Strict value is not equal to itself.") | |
77 | 77 | } | |
78 | 78 | ||
79 | 79 | ||
80 | 80 | ||
81 | 81 | @Callable(i) | |
82 | 82 | func payBoosting (boostingId) = payBoostingResult(boostingId) | |
83 | 83 | ||
84 | 84 | ||
85 | 85 | ||
86 | 86 | @Callable(i) | |
87 | 87 | func payBoostings () = { | |
88 | 88 | func f (accum,next) = { | |
89 | 89 | let in = invoke(this, "payBoosting", [next], nil) | |
90 | 90 | if ((in == in)) | |
91 | 91 | then in | |
92 | 92 | else throw("Strict value is not equal to itself.") | |
93 | 93 | } | |
94 | 94 | ||
95 | 95 | let payments = { | |
96 | 96 | let $l = li | |
97 | 97 | let $s = size($l) | |
98 | 98 | let $acc0 = 0 | |
99 | 99 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
100 | 100 | then $a | |
101 | 101 | else f($a, $l[$i]) | |
102 | 102 | ||
103 | 103 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
104 | 104 | then $a | |
105 | 105 | else throw("List size exceeds 100") | |
106 | 106 | ||
107 | 107 | $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($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($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($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($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), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50), 51), 52), 53), 54), 55), 56), 57), 58), 59), 60), 61), 62), 63), 64), 65), 66), 67), 68), 69), 70), 71), 72), 73), 74), 75), 76), 77), 78), 79), 80), 81), 82), 83), 84), 85), 86), 87), 88), 89), 90), 91), 92), 93), 94), 95), 96), 97), 98), 99), 100) | |
108 | 108 | } | |
109 | 109 | if ((payments == payments)) | |
110 | 110 | then nil | |
111 | 111 | else throw("Strict value is not equal to itself.") | |
112 | 112 | } | |
113 | 113 | ||
114 | 114 | ||
115 | 115 | ||
116 | 116 | @Callable(i) | |
117 | 117 | func getEndedList (boostingId) = endedList(boostingId) | |
118 | 118 | ||
119 | 119 | ||
120 | 120 | ||
121 | 121 | @Callable(i) | |
122 | 122 | func getList () = { | |
123 | 123 | func f (accum,next) = { | |
124 | 124 | let in = invoke(this, "getEndedList", [next], nil) | |
125 | 125 | if ((in == in)) | |
126 | 126 | then in | |
127 | 127 | else throw("Strict value is not equal to itself.") | |
128 | 128 | } | |
129 | 129 | ||
130 | 130 | let end = { | |
131 | 131 | let $l = li | |
132 | 132 | let $s = size($l) | |
133 | 133 | let $acc0 = 0 | |
134 | 134 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
135 | 135 | then $a | |
136 | 136 | else f($a, $l[$i]) | |
137 | 137 | ||
138 | 138 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
139 | 139 | then $a | |
140 | 140 | else throw("List size exceeds 100") | |
141 | 141 | ||
142 | 142 | $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($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($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($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($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), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50), 51), 52), 53), 54), 55), 56), 57), 58), 59), 60), 61), 62), 63), 64), 65), 66), 67), 68), 69), 70), 71), 72), 73), 74), 75), 76), 77), 78), 79), 80), 81), 82), 83), 84), 85), 86), 87), 88), 89), 90), 91), 92), 93), 94), 95), 96), 97), 98), 99), 100) | |
143 | 143 | } | |
144 | 144 | if ((end == end)) | |
145 | 145 | then nil | |
146 | 146 | else throw("Strict value is not equal to itself.") | |
147 | 147 | } | |
148 | 148 | ||
149 | 149 | ||
150 | - | ||
151 | - | @Callable(i) | |
152 | - | func stringlist () = [StringEntry(("list ended boostingIds" + toString(height)), makeString(li, ","))] | |
153 | - | ||
154 | - | ||
155 | - | ||
156 | - | @Callable(i) | |
157 | - | func transfer (addresses) = { | |
158 | - | let assetId = i.payments[0].assetId | |
159 | - | let amount = i.payments[0].amount | |
160 | - | let amountPerAddress = (amount / size(addresses)) | |
161 | - | func f (accum,address) = (accum ++ [ScriptTransfer(addressFromStringValue(address), amountPerAddress, assetId)]) | |
162 | - | ||
163 | - | let $l = addresses | |
164 | - | let $s = size($l) | |
165 | - | let $acc0 = nil | |
166 | - | func $f0_1 ($a,$i) = if (($i >= $s)) | |
167 | - | then $a | |
168 | - | else f($a, $l[$i]) | |
169 | - | ||
170 | - | func $f0_2 ($a,$i) = if (($i >= $s)) | |
171 | - | then $a | |
172 | - | else throw("List size exceeds 100") | |
173 | - | ||
174 | - | $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($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($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($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($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), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50), 51), 52), 53), 54), 55), 56), 57), 58), 59), 60), 61), 62), 63), 64), 65), 66), 67), 68), 69), 70), 71), 72), 73), 74), 75), 76), 77), 78), 79), 80), 81), 82), 83), 84), 85), 86), 87), 88), 89), 90), 91), 92), 93), 94), 95), 96), 97), 98), 99), 100) | |
175 | - | } | |
176 | - | ||
177 | - |
github/deemru/w8io/026f985 42.10 ms ◑