tx · 6RNRqCj1LTgWaaRHMrGMajtzNZ5n4ZAXtnL6ASP2Qqh9 3MqEAEVk1NcbRAuEPAX7nyzUqMHbhvRofez: -0.01500000 Waves 2023.11.11 18:42 [2838889] smart account 3MqEAEVk1NcbRAuEPAX7nyzUqMHbhvRofez > SELF 0.00000000 Waves
{ "type": 13, "id": "6RNRqCj1LTgWaaRHMrGMajtzNZ5n4ZAXtnL6ASP2Qqh9", "fee": 1500000, "feeAssetId": null, "timestamp": 1699717367406, "version": 2, "chainId": 84, "sender": "3MqEAEVk1NcbRAuEPAX7nyzUqMHbhvRofez", "senderPublicKey": "Brp6cacBXyKUcZr5Uc6VDKsnFcaEeQ8nQzrZQyobDsuf", "proofs": [ "4ZtxT6Gjs2LBpnxCAu5nKAtcZDmHd2tCbkrcqceacFFzVQacGD5a4pG4hJ7xnqEwEMdoUjAm4ic9uuYDeatdkPXK" ], "script": "base64:BgIXCAISABIAEgASABIAEgASABIDCgEIEgAVAAJkOACAwtcvABJyZWdpc3RyYXRpb25DbG9zZWQAAQENdHJ5R2V0SW50ZWdlcgIHYWRkcmVzcwNrZXkEByRtYXRjaDAJAJoIAgUHYWRkcmVzcwUDa2V5AwkAAQIFByRtYXRjaDACA0ludAQBYgUHJG1hdGNoMAUBYgAAAQx0cnlHZXRTdHJpbmcCB2FkZHJlc3MDa2V5BAckbWF0Y2gwCQCdCAIFB2FkZHJlc3MFA2tleQMJAAECBQckbWF0Y2gwAgZTdHJpbmcEAWIFByRtYXRjaDAFAWICAAAHYnVybnh0bgEgJE91eWp+Mzm4+wz/hKlxXF7KLd4zoMRdafnqRBHsTFQACXdoaXJscG9vbAEgWeON3MK1I7pKFNzE0K8UCeZk5gS+JQYLJk7lUG2XWccAA1BaMQEaAVeFnSww1fwDPmHFrd6Sv8UqkfOZrhpBQAoAA1BaMgEaAVf1RmgngA1o304mdXq0odMoMeAJv/V5eTcAA1BaMwEaAVdrUh3hZ11iM5xE9ppvCu7VVcjaIPzs5scAA1BaNAEa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bAFwAXQBeAF8AYABhAGIAYwBkANh5EJY=", "height": 2838889, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 5wutJV3FotLv98AX6uHZvTqur5D9CY8qK4tYrQLgST6B Next: 7CG3WVHm8uQkwwpCaHkPH4i2wD1GhFwoBcM1B62dLoSV Diff:
Old | New | Differences | |
---|---|---|---|
115 | 115 | else { | |
116 | 116 | let S = dropRight(h(this, "Address registered"), 1) | |
117 | 117 | let T = split(S, ",") | |
118 | - | let U = size(T) | |
119 | - | func V (W,d) = (W ++ [IntegerEntry(d, wavesBalance(addressFromStringValue(d)).available)]) | |
118 | + | func U (V,d) = (V ++ [IntegerEntry(d, wavesBalance(addressFromStringValue(d)).available)]) | |
120 | 119 | ||
121 | - | let | |
122 | - | let | |
123 | - | let | |
124 | - | let | |
125 | - | func | |
126 | - | then | |
127 | - | else | |
120 | + | let W = { | |
121 | + | let X = T | |
122 | + | let Y = size(X) | |
123 | + | let Z = nil | |
124 | + | func aa (ab,ac) = if ((ac >= Y)) | |
125 | + | then ab | |
126 | + | else U(ab, X[ac]) | |
128 | 127 | ||
129 | - | func | |
130 | - | then | |
128 | + | func ad (ab,ac) = if ((ac >= Y)) | |
129 | + | then ab | |
131 | 130 | else throw("List size exceeds 100") | |
132 | 131 | ||
133 | - | | |
132 | + | ad(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(Z, 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) | |
134 | 133 | } | |
135 | - | (nil ++ | |
134 | + | (nil ++ W) | |
136 | 135 | } | |
137 | 136 | ||
138 | 137 | ||
141 | 140 | func currentPosition () = { | |
142 | 141 | let S = dropRight(h(this, "Address registered"), 1) | |
143 | 142 | let T = split(S, ",") | |
144 | - | func | |
143 | + | func ae (V,d) = (V ++ [IntegerEntry(("increase " + d), (wavesBalance(addressFromStringValue(d)).available - c(this, d)))]) | |
145 | 144 | ||
146 | - | let | |
147 | - | let | |
148 | - | let | |
149 | - | let | |
150 | - | func | |
151 | - | then | |
152 | - | else | |
145 | + | let af = { | |
146 | + | let X = T | |
147 | + | let Y = size(X) | |
148 | + | let Z = nil | |
149 | + | func aa (ab,ac) = if ((ac >= Y)) | |
150 | + | then ab | |
151 | + | else ae(ab, X[ac]) | |
153 | 152 | ||
154 | - | func | |
155 | - | then | |
153 | + | func ad (ab,ac) = if ((ac >= Y)) | |
154 | + | then ab | |
156 | 155 | else throw("List size exceeds 98") | |
157 | 156 | ||
158 | - | | |
157 | + | ad(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(Z, 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) | |
159 | 158 | } | |
160 | - | (nil ++ | |
159 | + | (nil ++ af) | |
161 | 160 | } | |
162 | 161 | ||
163 | 162 | ||
168 | 167 | else { | |
169 | 168 | let S = dropRight(h(this, "Address registered"), 1) | |
170 | 169 | let T = split(S, ",") | |
171 | - | func | |
170 | + | func ae (V,d) = (V ++ [IntegerEntry(("stop " + d), (wavesBalance(addressFromStringValue(d)).available - c(this, d)))]) | |
172 | 171 | ||
173 | - | let | |
174 | - | let | |
175 | - | let | |
176 | - | let | |
177 | - | func | |
178 | - | then | |
179 | - | else | |
172 | + | let af = { | |
173 | + | let X = T | |
174 | + | let Y = size(X) | |
175 | + | let Z = nil | |
176 | + | func aa (ab,ac) = if ((ac >= Y)) | |
177 | + | then ab | |
178 | + | else ae(ab, X[ac]) | |
180 | 179 | ||
181 | - | func | |
182 | - | then | |
180 | + | func ad (ab,ac) = if ((ac >= Y)) | |
181 | + | then ab | |
183 | 182 | else throw("List size exceeds 98") | |
184 | 183 | ||
185 | - | | |
184 | + | ad(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(Z, 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) | |
186 | 185 | } | |
187 | - | (nil ++ | |
186 | + | (nil ++ af) | |
188 | 187 | } | |
189 | 188 | ||
190 | 189 | ||
195 | 194 | else { | |
196 | 195 | let S = dropRight(h(this, "Address registered"), 1) | |
197 | 196 | let T = split(S, ",") | |
198 | - | let | |
199 | - | func ah ( | |
197 | + | let ag = size(T) | |
198 | + | func ah (V,d) = if (((1 * a) > (c(this, ("stop " + d)) - c(this, d)))) | |
200 | 199 | then nil | |
201 | - | else ( | |
200 | + | else (V :+ d) | |
202 | 201 | ||
203 | 202 | let ai = { | |
204 | - | let | |
205 | - | let | |
206 | - | let | |
207 | - | func | |
208 | - | then | |
209 | - | else ah( | |
203 | + | let X = T | |
204 | + | let Y = size(X) | |
205 | + | let Z = nil | |
206 | + | func aa (ab,ac) = if ((ac >= Y)) | |
207 | + | then ab | |
208 | + | else ah(ab, X[ac]) | |
210 | 209 | ||
211 | - | func | |
212 | - | then | |
210 | + | func ad (ab,ac) = if ((ac >= Y)) | |
211 | + | then ab | |
213 | 212 | else throw("List size exceeds 98") | |
214 | 213 | ||
215 | - | | |
214 | + | ad(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(Z, 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) | |
216 | 215 | } | |
217 | - | let aj = dropRight(ai, 1) | |
218 | - | let ak = split(aj, ",") | |
219 | - | let al = size(ak) | |
220 | - | [IntegerEntry("list size list 3", al), StringEntry("firstOfList 3", ak[0]), StringEntry("lastOfList 3", ak[(al - 1)])] | |
216 | + | let aj = size(ai) | |
217 | + | [IntegerEntry("list size filterList", aj), StringEntry("firstOfList filterList", ai[0]), StringEntry("lastOfList filterList", ai[(aj - 1)])] | |
221 | 218 | } | |
222 | 219 | ||
223 | 220 | ||
228 | 225 | else { | |
229 | 226 | let S = dropRight(h(this, "winners"), 1) | |
230 | 227 | let T = split(S, ",") | |
231 | - | func am (W,d) = (W ++ [IntegerEntry(d, wavesBalance(addressFromStringValue(d)).available)]) | |
228 | + | func ak (V,d) = (V ++ [IntegerEntry(d, wavesBalance(addressFromStringValue(d)).available)]) | |
229 | + | ||
230 | + | let al = { | |
231 | + | let X = T | |
232 | + | let Y = size(X) | |
233 | + | let Z = nil | |
234 | + | func aa (ab,ac) = if ((ac >= Y)) | |
235 | + | then ab | |
236 | + | else ak(ab, X[ac]) | |
237 | + | ||
238 | + | func ad (ab,ac) = if ((ac >= Y)) | |
239 | + | then ab | |
240 | + | else throw("List size exceeds 100") | |
241 | + | ||
242 | + | ad(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(Z, 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) | |
243 | + | } | |
244 | + | func am (V,d) = (V + (d + ",")) | |
232 | 245 | ||
233 | 246 | let an = { | |
234 | - | let | |
235 | - | let | |
236 | - | let | |
237 | - | func | |
238 | - | then | |
239 | - | else am( | |
247 | + | let X = T | |
248 | + | let Y = size(X) | |
249 | + | let Z = "" | |
250 | + | func ao (ab,ac) = if ((ac >= Y)) | |
251 | + | then ab | |
252 | + | else am(ab, X[ac]) | |
240 | 253 | ||
241 | - | func | |
242 | - | then | |
254 | + | func ap (ab,ac) = if ((ac >= Y)) | |
255 | + | then ab | |
243 | 256 | else throw("List size exceeds 100") | |
244 | 257 | ||
245 | - | | |
258 | + | ap(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(Z, 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) | |
246 | 259 | } | |
247 | - | func ao (W,d) = (W + (d + ",")) | |
248 | - | ||
249 | - | let ap = { | |
250 | - | let Y = T | |
251 | - | let Z = size(Y) | |
252 | - | let aa = "" | |
253 | - | func aq (ac,ad) = if ((ad >= Z)) | |
254 | - | then ac | |
255 | - | else ao(ac, Y[ad]) | |
256 | - | ||
257 | - | func ar (ac,ad) = if ((ad >= Z)) | |
258 | - | then ac | |
259 | - | else throw("List size exceeds 100") | |
260 | - | ||
261 | - | ar(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aa, 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) | |
262 | - | } | |
263 | - | ([StringEntry("next round", ap)] ++ an) | |
260 | + | ([StringEntry("next round", an)] ++ al) | |
264 | 261 | } | |
265 | 262 | ||
266 | 263 | ||
283 | 280 | func transfer () = if ((R.caller != this)) | |
284 | 281 | then throw("access only by project owner") | |
285 | 282 | else { | |
286 | - | let | |
287 | - | let | |
283 | + | let aq = j | |
284 | + | let ar = (2 * a) | |
288 | 285 | let S = dropRight(h(this, "winners"), 1) | |
289 | 286 | let T = split(S, ",") | |
290 | - | let | |
291 | - | func | |
287 | + | let as = (ar / size(T)) | |
288 | + | func at (V,d) = (V ++ [ScriptTransfer(addressFromStringValue(d), as, aq)]) | |
292 | 289 | ||
293 | - | let | |
294 | - | let | |
295 | - | let | |
296 | - | func | |
297 | - | then | |
298 | - | else | |
290 | + | let X = T | |
291 | + | let Y = size(X) | |
292 | + | let Z = nil | |
293 | + | func aa (ab,ac) = if ((ac >= Y)) | |
294 | + | then ab | |
295 | + | else at(ab, X[ac]) | |
299 | 296 | ||
300 | - | func | |
301 | - | then | |
297 | + | func ad (ab,ac) = if ((ac >= Y)) | |
298 | + | then ab | |
302 | 299 | else throw("List size exceeds 100") | |
303 | 300 | ||
304 | - | | |
301 | + | ad(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(Z, 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) | |
305 | 302 | } | |
306 | 303 | ||
307 | 304 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = 100000000 | |
5 | 5 | ||
6 | 6 | let b = 1 | |
7 | 7 | ||
8 | 8 | func c (d,e) = { | |
9 | 9 | let f = getInteger(d, e) | |
10 | 10 | if ($isInstanceOf(f, "Int")) | |
11 | 11 | then { | |
12 | 12 | let g = f | |
13 | 13 | g | |
14 | 14 | } | |
15 | 15 | else 0 | |
16 | 16 | } | |
17 | 17 | ||
18 | 18 | ||
19 | 19 | func h (d,e) = { | |
20 | 20 | let f = getString(d, e) | |
21 | 21 | if ($isInstanceOf(f, "String")) | |
22 | 22 | then { | |
23 | 23 | let g = f | |
24 | 24 | g | |
25 | 25 | } | |
26 | 26 | else "" | |
27 | 27 | } | |
28 | 28 | ||
29 | 29 | ||
30 | 30 | let i = base58'3SjxA2YLdfF9fTRbzLm9xFn27C6MW34W1YsdJ6Axefns' | |
31 | 31 | ||
32 | 32 | let j = base58'73tY3E6Gd5AWYmsuq8m8Kek7KnJNAYyS3GoveTbc6jCi' | |
33 | 33 | ||
34 | 34 | let k = base58'3PE7NtJdmVq4yo47LKDqurQ8RLDCouvJCPB' | |
35 | 35 | ||
36 | 36 | let l = base58'3PQHndCUVrv3wBuQjbvVP9SnGmfbfitGxfx' | |
37 | 37 | ||
38 | 38 | let m = base58'3PBiMQLnX8wd4bssXCgF8KuUqHv1H4zWHGi' | |
39 | 39 | ||
40 | 40 | let n = base58'3PDJPGn6vBEBqWN4E3fNcxoKBoDXbsmoaM7' | |
41 | 41 | ||
42 | 42 | let o = base58'3PCS1xhGQi2eM5mYcCBhUSHvB31Kk5gZoCm' | |
43 | 43 | ||
44 | 44 | let p = base58'3P8Quvmgt3VEWAjBR3bsfgCqzUh7zTmTC4q' | |
45 | 45 | ||
46 | 46 | let q = base58'3PPNhHYkkEy13gRWDCaruQyhNbX2GrjYSyV' | |
47 | 47 | ||
48 | 48 | let r = base58'3P5vwLbXddLWpsRspftMxLuzfsjk3dLT3n5' | |
49 | 49 | ||
50 | 50 | let s = "GyiHdcN59sZ46baFvj68ruLngrTPEvWDtsd6jHm4o46n" | |
51 | 51 | ||
52 | 52 | let t = base58'3PKXseWa31VUSWUvm2YiRKxW2VM9RsVk3ry' | |
53 | 53 | ||
54 | 54 | let u = "3MPHMJVwYGyeBLRsH1RsYhrTmemv752AEBwuFFV7g49Z" | |
55 | 55 | ||
56 | 56 | func v (w,d) = { | |
57 | 57 | let x = c(Address(w), (("global_" + toBase58String(i)) + "_balance")) | |
58 | 58 | let y = c(Address(w), (toString(d) + "_indexStaked")) | |
59 | 59 | let z = c(Address(w), "global_poolToken_amount") | |
60 | 60 | fraction(x, y, z) | |
61 | 61 | } | |
62 | 62 | ||
63 | 63 | ||
64 | 64 | func A (w,d,B) = { | |
65 | 65 | let C = assetBalance(Address(w), i) | |
66 | 66 | let D = c(Address(q), ((("%s%s%s__staked__" + toString(d)) + "__") + B)) | |
67 | 67 | let E = c(Address(q), ("%s%s%s__staked__total__" + B)) | |
68 | 68 | fraction(C, D, E) | |
69 | 69 | } | |
70 | 70 | ||
71 | 71 | ||
72 | 72 | func F (d) = { | |
73 | 73 | let G = assetBalance(d, i) | |
74 | 74 | let H = v(k, d) | |
75 | 75 | let I = v(l, d) | |
76 | 76 | let J = v(m, d) | |
77 | 77 | let K = v(n, d) | |
78 | 78 | let L = v(o, d) | |
79 | 79 | let M = v(p, d) | |
80 | 80 | let N = A(r, d, s) | |
81 | 81 | let O = A(t, d, u) | |
82 | 82 | let P = ((((((((G + H) + I) + J) + K) + L) + M) + N) + O) | |
83 | 83 | [IntegerEntry("burnxtnBalance", G), IntegerEntry("PZ1balance", H), IntegerEntry("PZ2balance", I), IntegerEntry("PZ3balance", J), IntegerEntry("PZ4balance", K), IntegerEntry("PZ5balance", L), IntegerEntry("PZ6balance", M), IntegerEntry("WX1balance", N), IntegerEntry("WX2balance", O), IntegerEntry("total", P)] | |
84 | 84 | } | |
85 | 85 | ||
86 | 86 | ||
87 | 87 | func Q (d) = { | |
88 | 88 | let G = assetBalance(d, i) | |
89 | 89 | let H = v(k, d) | |
90 | 90 | let I = v(l, d) | |
91 | 91 | let J = v(m, d) | |
92 | 92 | let K = v(n, d) | |
93 | 93 | let L = v(o, d) | |
94 | 94 | let M = v(p, d) | |
95 | 95 | let N = A(r, d, s) | |
96 | 96 | let O = A(t, d, u) | |
97 | 97 | ((((((((G + H) + I) + J) + K) + L) + M) + N) + O) | |
98 | 98 | } | |
99 | 99 | ||
100 | 100 | ||
101 | 101 | @Callable(R) | |
102 | 102 | func register () = if (contains(h(this, "Address registered"), toString(R.caller))) | |
103 | 103 | then throw("already registered") | |
104 | 104 | else if ((height > b)) | |
105 | 105 | then throw("registration closed") | |
106 | 106 | else if ((c(this, "Amount Registered") == 99)) | |
107 | 107 | then throw("registration closed") | |
108 | 108 | else [IntegerEntry("Amount Registered", (c(this, "Amount Registered") + 1)), StringEntry(("Register address: " + toString((c(this, "Amount Registered") + 1))), toString(R.caller)), StringEntry("Address registered", ((h(this, "Address registered") + toString(R.caller)) + ","))] | |
109 | 109 | ||
110 | 110 | ||
111 | 111 | ||
112 | 112 | @Callable(R) | |
113 | 113 | func start () = if ((R.caller != this)) | |
114 | 114 | then throw("access only by project owner") | |
115 | 115 | else { | |
116 | 116 | let S = dropRight(h(this, "Address registered"), 1) | |
117 | 117 | let T = split(S, ",") | |
118 | - | let U = size(T) | |
119 | - | func V (W,d) = (W ++ [IntegerEntry(d, wavesBalance(addressFromStringValue(d)).available)]) | |
118 | + | func U (V,d) = (V ++ [IntegerEntry(d, wavesBalance(addressFromStringValue(d)).available)]) | |
120 | 119 | ||
121 | - | let | |
122 | - | let | |
123 | - | let | |
124 | - | let | |
125 | - | func | |
126 | - | then | |
127 | - | else | |
120 | + | let W = { | |
121 | + | let X = T | |
122 | + | let Y = size(X) | |
123 | + | let Z = nil | |
124 | + | func aa (ab,ac) = if ((ac >= Y)) | |
125 | + | then ab | |
126 | + | else U(ab, X[ac]) | |
128 | 127 | ||
129 | - | func | |
130 | - | then | |
128 | + | func ad (ab,ac) = if ((ac >= Y)) | |
129 | + | then ab | |
131 | 130 | else throw("List size exceeds 100") | |
132 | 131 | ||
133 | - | | |
132 | + | ad(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(Z, 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) | |
134 | 133 | } | |
135 | - | (nil ++ | |
134 | + | (nil ++ W) | |
136 | 135 | } | |
137 | 136 | ||
138 | 137 | ||
139 | 138 | ||
140 | 139 | @Callable(R) | |
141 | 140 | func currentPosition () = { | |
142 | 141 | let S = dropRight(h(this, "Address registered"), 1) | |
143 | 142 | let T = split(S, ",") | |
144 | - | func | |
143 | + | func ae (V,d) = (V ++ [IntegerEntry(("increase " + d), (wavesBalance(addressFromStringValue(d)).available - c(this, d)))]) | |
145 | 144 | ||
146 | - | let | |
147 | - | let | |
148 | - | let | |
149 | - | let | |
150 | - | func | |
151 | - | then | |
152 | - | else | |
145 | + | let af = { | |
146 | + | let X = T | |
147 | + | let Y = size(X) | |
148 | + | let Z = nil | |
149 | + | func aa (ab,ac) = if ((ac >= Y)) | |
150 | + | then ab | |
151 | + | else ae(ab, X[ac]) | |
153 | 152 | ||
154 | - | func | |
155 | - | then | |
153 | + | func ad (ab,ac) = if ((ac >= Y)) | |
154 | + | then ab | |
156 | 155 | else throw("List size exceeds 98") | |
157 | 156 | ||
158 | - | | |
157 | + | ad(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(Z, 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) | |
159 | 158 | } | |
160 | - | (nil ++ | |
159 | + | (nil ++ af) | |
161 | 160 | } | |
162 | 161 | ||
163 | 162 | ||
164 | 163 | ||
165 | 164 | @Callable(R) | |
166 | 165 | func stop () = if ((R.caller != this)) | |
167 | 166 | then throw("access only by project owner") | |
168 | 167 | else { | |
169 | 168 | let S = dropRight(h(this, "Address registered"), 1) | |
170 | 169 | let T = split(S, ",") | |
171 | - | func | |
170 | + | func ae (V,d) = (V ++ [IntegerEntry(("stop " + d), (wavesBalance(addressFromStringValue(d)).available - c(this, d)))]) | |
172 | 171 | ||
173 | - | let | |
174 | - | let | |
175 | - | let | |
176 | - | let | |
177 | - | func | |
178 | - | then | |
179 | - | else | |
172 | + | let af = { | |
173 | + | let X = T | |
174 | + | let Y = size(X) | |
175 | + | let Z = nil | |
176 | + | func aa (ab,ac) = if ((ac >= Y)) | |
177 | + | then ab | |
178 | + | else ae(ab, X[ac]) | |
180 | 179 | ||
181 | - | func | |
182 | - | then | |
180 | + | func ad (ab,ac) = if ((ac >= Y)) | |
181 | + | then ab | |
183 | 182 | else throw("List size exceeds 98") | |
184 | 183 | ||
185 | - | | |
184 | + | ad(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(Z, 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) | |
186 | 185 | } | |
187 | - | (nil ++ | |
186 | + | (nil ++ af) | |
188 | 187 | } | |
189 | 188 | ||
190 | 189 | ||
191 | 190 | ||
192 | 191 | @Callable(R) | |
193 | 192 | func winners () = if ((R.caller != this)) | |
194 | 193 | then throw("access only by project owner") | |
195 | 194 | else { | |
196 | 195 | let S = dropRight(h(this, "Address registered"), 1) | |
197 | 196 | let T = split(S, ",") | |
198 | - | let | |
199 | - | func ah ( | |
197 | + | let ag = size(T) | |
198 | + | func ah (V,d) = if (((1 * a) > (c(this, ("stop " + d)) - c(this, d)))) | |
200 | 199 | then nil | |
201 | - | else ( | |
200 | + | else (V :+ d) | |
202 | 201 | ||
203 | 202 | let ai = { | |
204 | - | let | |
205 | - | let | |
206 | - | let | |
207 | - | func | |
208 | - | then | |
209 | - | else ah( | |
203 | + | let X = T | |
204 | + | let Y = size(X) | |
205 | + | let Z = nil | |
206 | + | func aa (ab,ac) = if ((ac >= Y)) | |
207 | + | then ab | |
208 | + | else ah(ab, X[ac]) | |
210 | 209 | ||
211 | - | func | |
212 | - | then | |
210 | + | func ad (ab,ac) = if ((ac >= Y)) | |
211 | + | then ab | |
213 | 212 | else throw("List size exceeds 98") | |
214 | 213 | ||
215 | - | | |
214 | + | ad(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(Z, 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) | |
216 | 215 | } | |
217 | - | let aj = dropRight(ai, 1) | |
218 | - | let ak = split(aj, ",") | |
219 | - | let al = size(ak) | |
220 | - | [IntegerEntry("list size list 3", al), StringEntry("firstOfList 3", ak[0]), StringEntry("lastOfList 3", ak[(al - 1)])] | |
216 | + | let aj = size(ai) | |
217 | + | [IntegerEntry("list size filterList", aj), StringEntry("firstOfList filterList", ai[0]), StringEntry("lastOfList filterList", ai[(aj - 1)])] | |
221 | 218 | } | |
222 | 219 | ||
223 | 220 | ||
224 | 221 | ||
225 | 222 | @Callable(R) | |
226 | 223 | func startNext () = if ((R.caller != this)) | |
227 | 224 | then throw("access only by project owner") | |
228 | 225 | else { | |
229 | 226 | let S = dropRight(h(this, "winners"), 1) | |
230 | 227 | let T = split(S, ",") | |
231 | - | func am (W,d) = (W ++ [IntegerEntry(d, wavesBalance(addressFromStringValue(d)).available)]) | |
228 | + | func ak (V,d) = (V ++ [IntegerEntry(d, wavesBalance(addressFromStringValue(d)).available)]) | |
229 | + | ||
230 | + | let al = { | |
231 | + | let X = T | |
232 | + | let Y = size(X) | |
233 | + | let Z = nil | |
234 | + | func aa (ab,ac) = if ((ac >= Y)) | |
235 | + | then ab | |
236 | + | else ak(ab, X[ac]) | |
237 | + | ||
238 | + | func ad (ab,ac) = if ((ac >= Y)) | |
239 | + | then ab | |
240 | + | else throw("List size exceeds 100") | |
241 | + | ||
242 | + | ad(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(Z, 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) | |
243 | + | } | |
244 | + | func am (V,d) = (V + (d + ",")) | |
232 | 245 | ||
233 | 246 | let an = { | |
234 | - | let | |
235 | - | let | |
236 | - | let | |
237 | - | func | |
238 | - | then | |
239 | - | else am( | |
247 | + | let X = T | |
248 | + | let Y = size(X) | |
249 | + | let Z = "" | |
250 | + | func ao (ab,ac) = if ((ac >= Y)) | |
251 | + | then ab | |
252 | + | else am(ab, X[ac]) | |
240 | 253 | ||
241 | - | func | |
242 | - | then | |
254 | + | func ap (ab,ac) = if ((ac >= Y)) | |
255 | + | then ab | |
243 | 256 | else throw("List size exceeds 100") | |
244 | 257 | ||
245 | - | | |
258 | + | ap(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(ao(Z, 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) | |
246 | 259 | } | |
247 | - | func ao (W,d) = (W + (d + ",")) | |
248 | - | ||
249 | - | let ap = { | |
250 | - | let Y = T | |
251 | - | let Z = size(Y) | |
252 | - | let aa = "" | |
253 | - | func aq (ac,ad) = if ((ad >= Z)) | |
254 | - | then ac | |
255 | - | else ao(ac, Y[ad]) | |
256 | - | ||
257 | - | func ar (ac,ad) = if ((ad >= Z)) | |
258 | - | then ac | |
259 | - | else throw("List size exceeds 100") | |
260 | - | ||
261 | - | ar(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aq(aa, 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) | |
262 | - | } | |
263 | - | ([StringEntry("next round", ap)] ++ an) | |
260 | + | ([StringEntry("next round", an)] ++ al) | |
264 | 261 | } | |
265 | 262 | ||
266 | 263 | ||
267 | 264 | ||
268 | 265 | @Callable(R) | |
269 | 266 | func totalBalanceCaller () = if ((R.caller != this)) | |
270 | 267 | then throw("access only by project owner") | |
271 | 268 | else (nil ++ F(R.caller)) | |
272 | 269 | ||
273 | 270 | ||
274 | 271 | ||
275 | 272 | @Callable(R) | |
276 | 273 | func totalBalanceAddress (d) = if ((R.caller != this)) | |
277 | 274 | then throw("access only by project owner") | |
278 | 275 | else (nil ++ F(value(addressFromString(d)))) | |
279 | 276 | ||
280 | 277 | ||
281 | 278 | ||
282 | 279 | @Callable(R) | |
283 | 280 | func transfer () = if ((R.caller != this)) | |
284 | 281 | then throw("access only by project owner") | |
285 | 282 | else { | |
286 | - | let | |
287 | - | let | |
283 | + | let aq = j | |
284 | + | let ar = (2 * a) | |
288 | 285 | let S = dropRight(h(this, "winners"), 1) | |
289 | 286 | let T = split(S, ",") | |
290 | - | let | |
291 | - | func | |
287 | + | let as = (ar / size(T)) | |
288 | + | func at (V,d) = (V ++ [ScriptTransfer(addressFromStringValue(d), as, aq)]) | |
292 | 289 | ||
293 | - | let | |
294 | - | let | |
295 | - | let | |
296 | - | func | |
297 | - | then | |
298 | - | else | |
290 | + | let X = T | |
291 | + | let Y = size(X) | |
292 | + | let Z = nil | |
293 | + | func aa (ab,ac) = if ((ac >= Y)) | |
294 | + | then ab | |
295 | + | else at(ab, X[ac]) | |
299 | 296 | ||
300 | - | func | |
301 | - | then | |
297 | + | func ad (ab,ac) = if ((ac >= Y)) | |
298 | + | then ab | |
302 | 299 | else throw("List size exceeds 100") | |
303 | 300 | ||
304 | - | | |
301 | + | ad(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(aa(Z, 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) | |
305 | 302 | } | |
306 | 303 | ||
307 | 304 |
github/deemru/w8io/026f985 264.89 ms ◑