tx · 6S6WPYt6hPANHCPzTeRSQJC1KxobjcrtxwqZf8WzMgSQ

3N7dQeENwSgKPp9Ki4aEHhRWWKVjn1DE9Qg:  -0.02000000 Waves

2023.11.27 22:28 [2862234] smart account 3N7dQeENwSgKPp9Ki4aEHhRWWKVjn1DE9Qg > SELF 0.00000000 Waves

{ "type": 13, "id": "6S6WPYt6hPANHCPzTeRSQJC1KxobjcrtxwqZf8WzMgSQ", "fee": 2000000, "feeAssetId": null, "timestamp": 1701113362536, "version": 2, "chainId": 84, "sender": "3N7dQeENwSgKPp9Ki4aEHhRWWKVjn1DE9Qg", "senderPublicKey": "5BN6FQeKuMm2XJYToUZvbBX4UELGpE3Z47P4q6sP46PG", "proofs": [ "4Tyv4aYmjXyg2AhpvTheCAZw8uBG6BwqJigMAptd75VHRRU5BPE2fBQ125BdnTgJCbeDnCsTXaNEcTZQQLR8EneK" ], "script": "base64:BgI2CAISBAoCCAESAwoBARIAEgASBAoCCAESBQoDCAEBEgMKAQESABIDCgEIEgASAwoBARIDCgEBQQAITUlMTElPTjYAgIDpg7HeFgAJREFZTUlMTElTAIC4mSkBGmtleUFjcmVzU3Rha2VkQW1vdW50QnlVc2VyAQRhZGRyCQCsAgICGGFjcmVzU3Rha2VkQW1vdW50QnlVc2VyXwUEYWRkcgEaa2V5QWNyZXNMb2NrZWRBbW91bnRCeVVzZXIBBGFkZHIJAKwCAgIYYWNyZXNMb2NrZWRBbW91bnRCeVVzZXJfBQRhZGRyARdrZXlBY3Jlc0xvY2tlZEV0YUJ5VXNlcgEEYWRkcgkArAICAhVhY3Jlc0xvY2tlZEV0YUJ5VXNlcl8FBGFkZHIAE2FjcmVzU3Rha2VkVG90YWxLZXkCFmFjcmVzU3Rha2VkQW1vdW50VG90YWwACnhwTmV3U0xhbmQAwJaxAgAPREFJTFlSRVNCWVBJRUNFAID40gEAFVVTRFQyQUNSRVNfTVVMVElQTElFUgAKARprZXlJc0F3YXJkZWRCeVByb21vQW5kVXNlcgIHcHJvbW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x2mDVwnej Next: BZ2LsFFSnNda7cdDdLG4BFaK3HsjvToJG4eF1AjkUbYw Diff:
OldNewDifferences
587587 let aJ = value(value(blockInfoByHeight(cg)).vrf)
588588 let aI = bn.transactionId
589589 let bI = valueOrElse(getString(u(o)), "")
590- func ci (cj,ck) = if ((ck > aR[(o - 1)]))
590+ func ci (cj,ck) = if ((ck >= aR[(o - 1)]))
591591 then cj
592592 else {
593593 let cl = aG(cj._1, cj._2, aJ)
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = 100000000000000
55
66 let b = 86400000
77
88 func c (d) = ("acresStakedAmountByUser_" + d)
99
1010
1111 func e (d) = ("acresLockedAmountByUser_" + d)
1212
1313
1414 func f (d) = ("acresLockedEtaByUser_" + d)
1515
1616
1717 let g = "acresStakedAmountTotal"
1818
1919 let h = 5000000
2020
2121 let i = 3456000
2222
2323 let j = 10
2424
2525 func k (l,d) = makeString(["%s%d%s__isAwardedByPromoAndUser", toString(l), d], "__")
2626
2727
2828 func m (l) = ("%s%d__ticketsTotalByPromo__" + toString(l))
2929
3030
3131 func n (l,o) = makeString(["%s%d%d__ticketsTotalByPromoAndRound", toString(l), toString(o)], "__")
3232
3333
3434 let p = take(drop(this.bytes, 1), 1)
3535
3636 let q = {
3737 let r = p
3838 if ((base58'2W' == r))
3939 then base58'9wc3LXNA4TEBsXyKtoLE9mrbDD7WMHXvXrCjZvabLAsi'
4040 else if ((base58'2T' == r))
4141 then base58'6mWwf9mZBjVgkC54idpyaZLQfAosD914wT8fGf2iiY63'
4242 else throw("Unknown chain")
4343 }
4444
4545 let s = {
4646 let r = p
4747 if ((base58'2W' == r))
4848 then "3PQCuvFbvh4LkPUnrnU1z3jnbA1p9m3WNhv"
4949 else if ((base58'2T' == r))
5050 then "3MumkGGztCKAXpWDqxkddofqXSUbqQkvSJy"
5151 else throw("Unknown chain")
5252 }
5353
5454 let t = "promo2Map"
5555
5656 func u (o) = ("promo2MapForRound__" + toString(o))
5757
5858
5959 let v = "__"
6060
6161 let w = 1000000
6262
6363 let x = 100000000
6464
6565 let y = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19]
6666
6767 func z (A,B) = valueOrErrorMessage(getString(A, B), makeString(["mandatory ", toString(A), ".", B, " is not defined"], ""))
6868
6969
7070 let C = 1
7171
7272 let D = 2
7373
7474 let E = 4
7575
7676 let F = 8
7777
7878 func G () = "%s__restConfig"
7979
8080
8181 func H () = "%s__restAddr"
8282
8383
8484 func I (J) = split_4C(z(J, G()), v)
8585
8686
8787 func K (L,M) = valueOrErrorMessage(addressFromString(L[M]), ("Rest cfg doesn't contain address at index " + toString(M)))
8888
8989
9090 let N = addressFromStringValue(valueOrElse(getString(this, H()), s))
9191
9292 let L = I(N)
9393
9494 let O = K(L, C)
9595
9696 let P = K(L, D)
9797
9898 let Q = K(L, E)
9999
100100 let R = K(L, F)
101101
102102 let S = "acresIssuedAmount"
103103
104104 let T = "acresAssetId"
105105
106106 let U = valueOrErrorMessage(getBinary(R, T), "ACRES is not issued yet")
107107
108108 func V (d) = ("acresStakedTimeByUser_" + d)
109109
110110
111111 let W = 0
112112
113113 let X = 2
114114
115115 func Y (A) = ("finishBlockFor_" + A)
116116
117117
118118 func Z () = "resTypesProportions"
119119
120120
121121 func aa (ab) = ("stakedPiecesByOwner_" + ab)
122122
123123
124124 func ac (ad) = {
125125 let r = ad
126126 if ($isInstanceOf(r, "Int"))
127127 then {
128128 let ae = r
129129 ae
130130 }
131131 else throw("fail to cast into Int")
132132 }
133133
134134
135135 func af (ag) = {
136136 let r = ag
137137 if ($isInstanceOf(r, "(Int, Int)"))
138138 then {
139139 let ah = r
140140 ah
141141 }
142142 else throw("fail to cast into (Int, Int)")
143143 }
144144
145145
146146 func ai (d) = ("lastTxIdByUser_" + d)
147147
148148
149149 func aj (ak) = {
150150 let al = split(valueOrElse(getString(O, Z()), "0_0_0_0_0_0"), "_")
151151 func am (an,ao) = (an + parseIntValue(ao))
152152
153153 let ap = {
154154 let aq = al
155155 let ar = size(aq)
156156 let as = 0
157157 func at (au,av) = if ((av >= ar))
158158 then au
159159 else am(au, aq[av])
160160
161161 func aw (au,av) = if ((av >= ar))
162162 then au
163163 else throw("List size exceeds 6")
164164
165165 aw(at(at(at(at(at(at(as, 0), 1), 2), 3), 4), 5), 6)
166166 }
167167 let ax = valueOrElse(getInteger(O, aa(ak)), 0)
168168 [ap, ax]
169169 }
170170
171171
172172 func ay (ag,az) = {
173173 let aA = pow(10, 0, az, 0, 0, DOWN)
174174 let aB = toString((ag % aA))
175175 let aC = drop(toString(aA), (1 + size(aB)))
176176 (((toString((ag / aA)) + ".") + aC) + aB)
177177 }
178178
179179
180180 func aD (ag,aE) = {
181181 let aF = toString(ag)
182182 let aC = drop(toString(pow(10, 0, (aE - size(aF)), 0, 0, DOWN)), 1)
183183 (aC + aF)
184184 }
185185
186186
187187 func aG (aH,aI,aJ) = if ((0 >= aH))
188188 then throw("maxValue should be > 0")
189189 else {
190190 let aK = sha256((aI + aJ))
191191 (toInt(aK) % aH)
192192 }
193193
194194
195195 let aL = 10000000
196196
197197 let aM = "3P2NGX4Q5nge1MCauwQW5aqYLdkccSGj1Ep_3P2xFAHW9yhyNohYozWd4HFhEXZu3bsNSoR_3P2yKaZ2gvn9Xe5tti81a7P9LZhHgjvToV9_3P37zQ3cf2ecu55RmJqEiGSivdzN9avt3m9_3P4az6dtzsvGCWFAxa94UdevKzXyEwxEiFG_3P4kZU6X3TTLFcSUe55JSy8BySqitcPgMBz_3P5hCxBEh3NgNizZhNBreyBSqtbhJYLkKPD_3P7HLvucy11yxyMJUwjzXFHHKMEDwi1EwfC_3P8JuaqH9PTQAv8D5HBGgQfKauLTYt2NQft_3P9gTDB4rtDEVbpX3asU63H4Zinh2EnTmZE_3P9iN3qrtfJicUVy7amZeVsetVD3vUMk8be_3PCa2BsAa6JBLirszQfV5r9fJrujfhwtwfP_3PD3i4XN8KtygcFx4ry5M7UGqdfH8VYvtRT_3PDEMnnJNc2kx9cPEmvVvhXUr8SvhANKhsa_3PDGE9tKQizaeZFeDDq5aYSv89nwYbfirpZ_3PDMKQTCrUPZECVXEJJ8m1sHtutSu1naSf1_3PGh2Qu6Yvx8GTCRRVNvBUVZLdaidYSaxo5_3PKkmAtbSK5D2hQdo1RfEg8eXyMbDcRUc92_3PLMnbxzssP8W8E8XjJ1RLBBg8UZL8Cz3P2_3PMuxo4PCAox9s4a7R1eszh4iqqu8gS7jHv_3PNrMtEQChw87WZU1JAJ7aGHykCa8TjnDNK_3PPuBXfWoBy3EEory7c7vgi9Usjka7o5tBj_3PQwyeyEhT4Y6aGAL6tg73aQWJtV1zRt3nR_3PRGDShuMGb84MJtTJvtTg8qDfswkYWcm3e"
198198
199199 let aN = 4970178
200200
201201 let aO = {
202202 let r = p
203203 if ((base58'2W' == r))
204204 then 1700524800000
205205 else if ((base58'2T' == r))
206206 then 1700420400000
207207 else throw("Unknown chain")
208208 }
209209
210210 let aP = {
211211 let r = p
212212 if ((base58'2W' == r))
213213 then 1701043199999
214214 else if ((base58'2T' == r))
215215 then 1700496000000
216216 else throw("Unknown chain")
217217 }
218218
219219 let aQ = 1000000000
220220
221221 let aR = [1, 3, 5, 20]
222222
223223 let aS = [500000000, 200000000, 100000000, 20000000]
224224
225225 func aT (d) = contains(aM, d)
226226
227227
228228 func aU () = ac(reentrantInvoke(O, "saveLastTx", nil, nil))
229229
230230
231231 func aV (d,aW,aX) = {
232232 let aY = (lastBlock.timestamp - aX)
233233 let aZ = fraction(aY, (i * aW), (b * x))
234234 let ba = ac(invoke(P, "sellResourcesWorldREADONLY", [aZ], nil))
235235 let bb = max([0, ba])
236236 (bb * j)
237237 }
238238
239239
240240 func bc (d,aW,aX) = {
241241 let aY = (lastBlock.timestamp - aX)
242242 if ((0 > aY))
243243 then throw(((("Saved timestamp is in future, saved = " + toString(aX)) + ", current = ") + toString(lastBlock.timestamp)))
244244 else {
245245 let aZ = fraction(aY, (i * aW), (b * x))
246246 let ba = ac(invoke(P, "sellResourcesWorldREADONLY", [aZ], nil))
247247 let bb = if ((0 >= ba))
248248 then 0
249249 else af(invoke(P, "sellResourcesWorld", [d, aZ], nil))._1
250250 (bb * j)
251251 }
252252 }
253253
254254
255255 func bd (be,bf,bg,bh) = {
256256 let bi = lastBlock.timestamp
257257 let bj = max([0, (bf - bi)])
258258 let bk = max([0, (bh - bi)])
259259 let bl = (be + bg)
260260 let bm = if ((bl == 0))
261261 then 0
262262 else (fraction(bj, be, bl) + fraction(bk, bg, bl))
263263 (bi + bm)
264264 }
265265
266266
267267 @Callable(bn)
268268 func constructorV1 (bo,bp) = if ((bn.caller != this))
269269 then throw("Permission denied")
270270 else if (isDefined(getBinary(T)))
271271 then throw("Already initialized")
272272 else {
273273 let bq = (aj("")[W] + bp)
274274 let br = (a - (bq * x))
275275 let bs = Issue("ACRES", "WavesLands land acres investment token", br, 8, false, unit, 0)
276276 let bt = calculateAssetId(bs)
277277 [bs, IntegerEntry(S, br), BinaryEntry(T, bt), StringEntry(H(), bo)]
278278 }
279279
280280
281281
282282 @Callable(bn)
283283 func unstakeAcres (bu) = {
284284 let bv = aU()
285285 if ((bv == bv))
286286 then if ((0 >= bu))
287287 then throw("Amount should be positive")
288288 else {
289289 let A = toString(bn.caller)
290290 if ((size(bn.payments) != 0))
291291 then throw("No payments required")
292292 else {
293293 let bw = V(A)
294294 let bx = c(A)
295295 let by = valueOrElse(getInteger(bx), 0)
296296 if ((bu > by))
297297 then throw(((("You have only " + ay(by, 8)) + " ACRES staked, tried to unstake ") + ay(bu, 8)))
298298 else {
299299 let bz = valueOrElse(getInteger(e(A)), 0)
300300 let bA = valueOrElse(getInteger(f(A)), 0)
301301 let bi = lastBlock.timestamp
302302 if (if ((bi >= aO))
303303 then (aP >= bi)
304304 else false)
305305 then throw("You cannot unstake ACRES during Promo2")
306306 else {
307307 let bB = if (aT(A))
308308 then ((by - bz) - aN)
309309 else (by - bz)
310310 if (if ((bA > bi))
311311 then (bu > bB)
312312 else false)
313313 then throw(((("Only " + ay(bB, 8)) + " ACRES can be unstaked now, wait until ") + toString(bA)))
314314 else {
315315 let bC = valueOrElse(getInteger(g), 0)
316316 let bD = invoke(Q, "onStakeUnstakeLand", [A], nil)
317317 let bE = bc(A, by, valueOrElse(getInteger(bw), 0))
318318 $Tuple2([IntegerEntry(bw, lastBlock.timestamp), IntegerEntry(bx, (by - bu)), IntegerEntry(g, (bC - bu)), ScriptTransfer(bn.caller, (bu + bE), U)], $Tuple2(bv, bD))
319319 }
320320 }
321321 }
322322 }
323323 }
324324 else throw("Strict value is not equal to itself.")
325325 }
326326
327327
328328
329329 @Callable(bn)
330330 func stakeAcres () = {
331331 let bv = aU()
332332 if ((bv == bv))
333333 then {
334334 let A = toString(bn.caller)
335335 if ((size(bn.payments) != 1))
336336 then throw("exactly 1 payment must be attached")
337337 else {
338338 let bF = bn.payments[0]
339339 let bG = bF.amount
340340 if (if (!(isDefined(bF.assetId)))
341341 then true
342342 else (value(bF.assetId) != U))
343343 then throw("ACRES payments only!")
344344 else {
345345 let bD = invoke(Q, "onStakeUnstakeLand", [A], nil)
346346 if ((bD == bD))
347347 then {
348348 let bi = lastBlock.timestamp
349349 if (if ((aO > bi))
350350 then true
351351 else (bi > aP))
352352 then {
353353 let bw = V(A)
354354 let bx = c(A)
355355 let by = valueOrElse(getInteger(bx), 0)
356356 let bC = valueOrElse(getInteger(g), 0)
357357 let bE = bc(A, by, valueOrElse(getInteger(bw), 0))
358358 $Tuple2(((((if ((bE == 0))
359359 then nil
360360 else [ScriptTransfer(bn.caller, bE, U)]) :+ IntegerEntry(bw, lastBlock.timestamp)) :+ IntegerEntry(bx, (by + bG))) :+ IntegerEntry(g, (bC + bG))), $Tuple2(bv, bD))
361361 }
362362 else if ((aL > bG))
363363 then throw((("Min staked amount during promo action should be at least " + ay(aL, 8)) + " ACRES"))
364364 else {
365365 let bH = invoke(this, "sendLockedAcres", [A, bG, 30], nil)
366366 let bI = valueOrElse(getString(t), "")
367367 let bJ = if (contains(bI, A))
368368 then {
369369 let bK = split_51C(bI, A)
370370 let be = parseIntValue(take(drop(bK[1], 1), 14))
371371 ((((bK[0] + A) + ":") + aD((be + bG), 14)) + drop(bK[1], 15))
372372 }
373373 else {
374374 let bL = ((A + ":") + aD(bG, 14))
375375 if ((bI == ""))
376376 then bL
377377 else ((bI + "_") + bL)
378378 }
379379 $Tuple2([StringEntry(t, bJ)], $Tuple3(bv, bD, bH))
380380 }
381381 }
382382 else throw("Strict value is not equal to itself.")
383383 }
384384 }
385385 }
386386 else throw("Strict value is not equal to itself.")
387387 }
388388
389389
390390
391391 @Callable(bn)
392392 func buyAcres () = {
393393 let bv = aU()
394394 if ((bv == bv))
395395 then {
396396 let A = toString(bn.caller)
397397 if ((size(bn.payments) != 1))
398398 then throw("exactly 1 payment must be attached")
399399 else {
400400 let bF = bn.payments[0]
401401 let bG = bF.amount
402402 if (if (!(isDefined(bF.assetId)))
403403 then true
404404 else (value(bF.assetId) != q))
405405 then throw("USDT payments only!")
406406 else if ((w > bG))
407407 then throw((("Min payment should be " + ay(w, 6)) + " USDT"))
408408 else {
409409 let aW = (bG * j)
410410 let bM = ac(invoke(O, "updateAccStats", [A, fraction(h, aW, (25 * x))], nil))
411411 $Tuple2([ScriptTransfer(P, bG, q), ScriptTransfer(bn.caller, aW, U)], $Tuple2(bv, bM))
412412 }
413413 }
414414 }
415415 else throw("Strict value is not equal to itself.")
416416 }
417417
418418
419419
420420 @Callable(bn)
421421 func sendAcres (d,bu) = if ((bn.caller != P))
422422 then throw("Permission denied")
423423 else $Tuple2([ScriptTransfer(addressFromStringValue(d), bu, U)], bu)
424424
425425
426426
427427 @Callable(bn)
428428 func sendLockedAcres (d,bu,bN) = if (if ((bn.caller != this))
429429 then (bn.caller != N)
430430 else false)
431431 then throw("Permission denied")
432432 else {
433433 let bi = lastBlock.timestamp
434434 let bw = V(d)
435435 let bx = c(d)
436436 let by = valueOrElse(getInteger(bx), 0)
437437 let bC = valueOrElse(getInteger(g), 0)
438438 let bO = valueOrElse(getInteger(bw), bi)
439439 let bP = f(d)
440440 let bQ = e(d)
441441 let bR = valueOrElse(getInteger(bQ), 0)
442442 let bS = valueOrElse(getInteger(bP), 0)
443443 let bT = bd(bR, bS, bu, (bi + (bN * b)))
444444 $Tuple2([IntegerEntry(bw, bO), IntegerEntry(bx, (by + bu)), IntegerEntry(g, (bC + bu)), IntegerEntry(bP, bT), IntegerEntry(bQ, (bR + bu))], bu)
445445 }
446446
447447
448448
449449 @Callable(bn)
450450 func burnAcres (bu) = if ((bn.caller != O))
451451 then throw("Permission denied")
452452 else {
453453 let bU = (valueOrElse(getInteger(S), 0) - bu)
454454 if ((0 > bU))
455455 then throw("Attempt to burn more ACRES, than exists")
456456 else $Tuple2([Burn(U, bu), IntegerEntry(S, bU)], bu)
457457 }
458458
459459
460460
461461 @Callable(bn)
462462 func claimAcres () = {
463463 let bv = aU()
464464 if ((bv == bv))
465465 then {
466466 let A = toString(bn.caller)
467467 if ((size(bn.payments) != 0))
468468 then throw("No payments required")
469469 else {
470470 let bw = V(A)
471471 let bx = c(A)
472472 let aW = valueOrElse(getInteger(bx), 0)
473473 let bD = invoke(Q, "onStakeUnstakeLand", [A], nil)
474474 let bE = bc(A, aW, valueOrElse(getInteger(bw), 0))
475475 $Tuple2([IntegerEntry(bw, lastBlock.timestamp), ScriptTransfer(bn.caller, bE, U)], $Tuple2(bv, bD))
476476 }
477477 }
478478 else throw("Strict value is not equal to itself.")
479479 }
480480
481481
482482
483483 @Callable(bn)
484484 func claimAcresREADONLY (A) = {
485485 let bw = V(A)
486486 let bx = c(A)
487487 let aW = valueOrElse(getInteger(bx), 0)
488488 let bV = valueOrElse(getInteger(bw), 0)
489489 let bE = aV(A, aW, bV)
490490 $Tuple2(nil, [bE, bV])
491491 }
492492
493493
494494
495495 @Callable(bn)
496496 func claimPromo2 () = {
497497 let bv = aU()
498498 if ((bv == bv))
499499 then {
500500 let A = toString(bn.caller)
501501 if ((size(bn.payments) != 0))
502502 then throw("No payments required")
503503 else {
504504 let bi = lastBlock.timestamp
505505 if ((aP > bi))
506506 then throw("Promo 2 is not over yet")
507507 else {
508508 let bW = k(2, A)
509509 if (valueOrElse(getBoolean(bW), false))
510510 then throw((("Your wallet " + A) + " is already awarded in promo 2"))
511511 else {
512512 let bI = valueOrElse(getString(t), "")
513513 if (!(contains(bI, A)))
514514 then throw("You are not participant of promo 2")
515515 else {
516516 let bK = split_51C(bI, A)
517517 let aW = parseIntValue(take(drop(bK[1], 1), 14))
518518 let bX = (aW / aL)
519519 let bY = valueOrElse(getInteger(m(2)), 0)
520520 let bZ = if ((bY == 0))
521521 then {
522522 func ca (an,cb) = (an + (parseIntValue(split(cb, ":")[1]) / aL))
523523
524524 let cc = {
525525 let aq = split_51C(bI, "_")
526526 let ar = size(aq)
527527 let as = 0
528528 func at (au,av) = if ((av >= ar))
529529 then au
530530 else ca(au, aq[av])
531531
532532 func aw (au,av) = if ((av >= ar))
533533 then au
534534 else throw("List size exceeds 50")
535535
536536 aw(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(as, 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)
537537 }
538538 $Tuple2([IntegerEntry(m(2), cc), IntegerEntry(n(2, 1), cc)], cc)
539539 }
540540 else $Tuple2(nil, bY)
541541 let cd = bZ._1
542542 let ce = bZ._2
543543 let cf = fraction(aQ, bX, ce)
544544 let bH = invoke(this, "sendLockedAcres", [A, cf, 30], nil)
545545 $Tuple2(((cd :+ BooleanEntry(bW, true)) :+ StringEntry(u(1), bI)), bH)
546546 }
547547 }
548548 }
549549 }
550550 }
551551 else throw("Strict value is not equal to itself.")
552552 }
553553
554554
555555
556556 @Callable(bn)
557557 func commitForPromo2Round (o) = if ((bn.caller != this))
558558 then throw("Permission denied")
559559 else if (if ((1 > o))
560560 then true
561561 else (o > 4))
562562 then throw(("Invalid roundId: " + toString(o)))
563563 else {
564564 let cg = (height + X)
565565 $Tuple2([IntegerEntry(Y(("2_" + toString(o))), cg)], cg)
566566 }
567567
568568
569569
570570 @Callable(bn)
571571 func drawPromo2Round (o) = if ((bn.caller != this))
572572 then throw("Permission denied")
573573 else if (if ((1 > o))
574574 then true
575575 else (o > 4))
576576 then throw(("Invalid roundId: " + toString(o)))
577577 else {
578578 let ch = Y(("2_" + toString(o)))
579579 let cg = valueOrErrorMessage(getInteger(ch), (("You have to commitForPromo2Round(" + toString(o)) + ") first!"))
580580 if ((cg > height))
581581 then throw((((("Random number is not ready yet, wait until height = " + toString(cg)) + " (current height = ") + toString(height)) + ")"))
582582 else {
583583 let aH = valueOrElse(getInteger(n(2, o)), 0)
584584 if ((aH == 0))
585585 then throw("Please call claimPromo2() at least once")
586586 else {
587587 let aJ = value(value(blockInfoByHeight(cg)).vrf)
588588 let aI = bn.transactionId
589589 let bI = valueOrElse(getString(u(o)), "")
590- func ci (cj,ck) = if ((ck > aR[(o - 1)]))
590+ func ci (cj,ck) = if ((ck >= aR[(o - 1)]))
591591 then cj
592592 else {
593593 let cl = aG(cj._1, cj._2, aJ)
594594 let cm = if ((cj._3 == ""))
595595 then nil
596596 else split_51C(cj._3, "_")
597597 func ca (an,cb) = {
598598 let bK = split(cb, ":")
599599 let d = bK[0]
600600 let bX = (parseIntValue(bK[1]) / aL)
601601 let cn = (an._1 + bX)
602602 if (if ((an._3 == ""))
603603 then (cn > cl)
604604 else false)
605605 then $Tuple3(cn, bX, d)
606606 else $Tuple3(cn, an._2, an._3)
607607 }
608608
609609 let co = {
610610 let aq = cm
611611 let ar = size(aq)
612612 let as = $Tuple3(0, 0, "")
613613 func at (au,av) = if ((av >= ar))
614614 then au
615615 else ca(au, aq[av])
616616
617617 func aw (au,av) = if ((av >= ar))
618618 then au
619619 else throw("List size exceeds 50")
620620
621621 aw(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(as, 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)
622622 }
623623 let cp = co._3
624624 if ((cp == ""))
625625 then throw("no winner")
626626 else {
627627 let cq = split_51C(cj._3, cp)
628628 let cr = if ((cq[0] == ""))
629629 then drop(cq[1], 16)
630630 else (dropRight(cq[0], 1) + drop(cq[1], 15))
631631 let bH = invoke(this, "sendLockedAcres", [cp, aS[(o - 1)], 30], nil)
632632 $Tuple4((cj._1 - co._2), fromBase58String(getStringValue(O, ai(cp))), cr, (cj._4 :+ bH))
633633 }
634634 }
635635
636636 let cs = {
637637 let aq = y
638638 let ar = size(aq)
639639 let as = $Tuple4(aH, bn.transactionId, bI, nil)
640640 func at (au,av) = if ((av >= ar))
641641 then au
642642 else ci(au, aq[av])
643643
644644 func aw (au,av) = if ((av >= ar))
645645 then au
646646 else throw("List size exceeds 20")
647647
648648 aw(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(at(as, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20)
649649 }
650650 $Tuple2([DeleteEntry(ch), StringEntry(u((o + 1)), cs._3), IntegerEntry(n(2, (o + 1)), cs._1)], cs._4)
651651 }
652652 }
653653 }
654654
655655

github/deemru/w8io/169f3d6 
67.01 ms