tx · C9pJn2VMuWFyg6LWEpQnMmSuDP1CgEMR62KLPZP2FKGi

3MvJWcUyYDnGGBzyyG9fUeTPNgPLZwTxCU5:  -0.05000000 Waves

2021.08.22 21:52 [1669925] smart account 3MvJWcUyYDnGGBzyyG9fUeTPNgPLZwTxCU5 > SELF 0.00000000 Waves

{ "type": 13, "id": "C9pJn2VMuWFyg6LWEpQnMmSuDP1CgEMR62KLPZP2FKGi", "fee": 5000000, "feeAssetId": null, "timestamp": 1629658387516, "version": 2, "chainId": 84, "sender": "3MvJWcUyYDnGGBzyyG9fUeTPNgPLZwTxCU5", "senderPublicKey": "AciE2BLEYe3xEBxS3DZwkVDTNJaqNE1BJ1pp3T3oqQ5b", "proofs": [ "wutjW4G95bXbkS5q7KgLWKTzhrKHCygcmCmXLMmbdSVsSjnG5ACtTjqH5eh6NLrGjFjCoU3iXfRfZT2fgvqLFF9" ], "script": "base64:AAIFAAAAAAAAACMIAhIGCgQBAQEBEgMKAQESAwoBARIAEgMKAQgSBAoCCAgSAAAAADYAAAAAEGluY3ViYXRvckFkZHJlc3MBAAAAGgFULtWM0cQB59XpAM7NQCSesRQHNOlezyuqAAAAAA5icmVlZGVyQWRkcmVzcwEAAAAaAVSF5nsrInT2j7D/pShyLfVcPKxPpUuOW44AAAAAC2VnZ3NBc3NldElkAQAAACAlAmXM9wRoyL4BWZF45VhaOGYUE61KTEq3/gUXSBcWgwAAAAAIbWFrZXJGZWUAAAAAAAAAAAEAAAAACHRha2VyRmVlAAAAAAAAAAACAAAAAAVTTE9UUwAAAAAAAAAACgAAAAAHV0FJVElORwAAAAAAAAAABQAAAAAMc3RlcER1cmF0aW9uAAAAAAAAAAADAQAAAA10cnlHZXRJbnRlZ2VyAAAAAQAAAANrZXkEAAAAByRtYXRjaDAJAAQaAAAAAgUAAAAEdGhpcwUAAAADa2V5AwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAANJbnQEAAAAAWIFAAAAByRtYXRjaDAFAAAAAWIAAAAAAAAAAA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AAAZnYW1lSWQAAAAAAAAAAAIFAAAAC2VnZ3NBc3NldElkBQAAAANuaWwDCQAAAAAAAAIFAAAABndpbm5lcgIAAAAEZHJhdwkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgkBAAAAF2dldFBsYXllckN1cnJlbnRHYW1lS2V5AAAAAQUAAAANY2FsbGVyQWRkcmVzcwAAAAAAAAAAAAkABEwAAAACCQEAAAAMQm9vbGVhbkVudHJ5AAAAAgkBAAAAD2dldFByaXplU2VudEtleQAAAAIFAAAABmdhbWVJZAUAAAAKcGxheWVyUm9sZQYJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwgFAAAAAWkAAAAGY2FsbGVyCQEAAAAKZ2V0QmV0RWdncwAAAAEFAAAABmdhbWVJZAUAAAALZWdnc0Fzc2V0SWQFAAAAA25pbAkAAAIAAAABAgAAACFZb3UgbG9zZSBhbmQgZG9uJ3QgaGF2ZSBhbnkgcHJpemUAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleQ6UToE=", "height": 1669925, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: CKRBv5cn69RzcbzTiqNgFYbXfQ8QrUL6J8X3CdSYuJq2 Next: 6kNVbm7ZPb7R4h79xZqHDDytSpwUGwhBoZQAWBKNaiNZ Diff:
OldNewDifferences
758758 then throw("Ducks have already been picked")
759759 else if ((mediumRarity != 27))
760760 then throw("Mefium rarity is not 27")
761- else if (((mediumRarity * 10) != 30))
762- then throw("Mefium rarity range is not 30")
763- else if ((((mediumRarity - 1) * 10) != 30))
764- then throw("Mefium - 1 rarity range is not 30")
761+ else if (((mediumRarityRange * 10) != 30))
762+ then throw("Medium rarity range is not 30")
763+ else if ((((mediumRarityRange - 1) * 10) != 30))
764+ then throw("Medium - 1 rarity range is not 30")
765765 else if (if ((worstRarity >= (worstRarityRange * 10)))
766766 then true
767767 else (((worstRarityRange - 1) * 10) > worstRarity))
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let incubatorAddress = base58'3MtBigTsaeevrcJAEwVcr4quwkqcrtnjoAh'
55
66 let breederAddress = base58'3N285kYUMxPi6oZsdWrxhSY34dJHyu4kRN5'
77
88 let eggsAssetId = base58'3VUCuh9dWqe54SdzzNUkXhFXpc8UQynnJVh42B7MjNzN'
99
1010 let makerFee = 1
1111
1212 let takerFee = 2
1313
1414 let SLOTS = 10
1515
1616 let WAITING = 5
1717
1818 let stepDuration = 3
1919
2020 func tryGetInteger (key) = match getInteger(this, key) {
2121 case b: Int =>
2222 b
2323 case _ =>
2424 0
2525 }
2626
2727
2828 func tryGetString (key) = match getString(this, key) {
2929 case a: String =>
3030 a
3131 case _ =>
3232 ""
3333 }
3434
3535
3636 func tryGetBoolean (key) = match getBoolean(this, key) {
3737 case b: Boolean =>
3838 b
3939 case _ =>
4040 false
4141 }
4242
4343
4444 func getNextGameId () = {
4545 let nextId = tryGetInteger("nextGameId")
4646 if ((nextId == 0))
4747 then 1
4848 else nextId
4949 }
5050
5151
5252 func getPlayerCurrentGameKey (playerAddress) = ("currentGame_" + playerAddress)
5353
5454
5555 func getPlayerCurrentGame (playerAddress) = tryGetInteger(getPlayerCurrentGameKey(playerAddress))
5656
5757
5858 func getSlotKey (slot) = ("slot" + toString(slot))
5959
6060
6161 func getSlot (slot) = tryGetInteger(getSlotKey(slot))
6262
6363
6464 func getPlayerRoleKey (gameId,playerAddress) = ((("game" + toString(gameId)) + "_") + playerAddress)
6565
6666
6767 func getPlayerRole (gameId,playerAddress) = tryGetString(getPlayerRoleKey(gameId, playerAddress))
6868
6969
7070 func getMakerKey (gameId) = (("game" + toString(gameId)) + "_maker")
7171
7272
7373 func getMaker (gameId) = tryGetString(getMakerKey(gameId))
7474
7575
7676 func getTakerKey (gameId) = (("game" + toString(gameId)) + "_taker")
7777
7878
7979 func getTaker (gameId) = tryGetString(getTakerKey(gameId))
8080
8181
8282 func getBetEggsKey (gameId) = (("game" + toString(gameId)) + "_betEggs")
8383
8484
8585 func getBetEggs (gameId) = tryGetInteger(getBetEggsKey(gameId))
8686
8787
8888 func getWaitingExpirationHeightKey (gameId) = (("game" + toString(gameId)) + "_waitingExpirationHeight")
8989
9090
9191 func getWaitingExpirationHeight (gameId) = tryGetInteger(getWaitingExpirationHeightKey(gameId))
9292
9393
9494 func getExpirationHeightKey (gameId) = (("game" + toString(gameId)) + "_expirationHeight")
9595
9696
9797 func getExpirationHeight (gameId) = tryGetInteger(getExpirationHeightKey(gameId))
9898
9999
100100 func getRarityRangeKey (gameId,rangePosition) = ((("game" + toString(gameId)) + "_rarityRange_") + rangePosition)
101101
102102
103103 func getRarityRange (gameId,rangePosition) = tryGetInteger(getRarityRangeKey(gameId, rangePosition))
104104
105105
106106 func getStepKey (gameId) = (("game" + toString(gameId)) + "_step")
107107
108108
109109 func getStep (gameId) = tryGetInteger(getStepKey(gameId))
110110
111111
112112 func getRarityKey (gameId,playerRole,rangePosition) = (((((("game" + toString(gameId)) + "_") + playerRole) + "_") + rangePosition) + "Rarity")
113113
114114
115115 func getRarity (gameId,playerRole,rangePosition) = tryGetInteger(getRarityKey(gameId, playerRole, rangePosition))
116116
117117
118118 func getCommitKey (gameId,playerRole) = (((("game" + toString(gameId)) + "_") + playerRole) + "_commit")
119119
120120
121121 func getCommit (gameId,playerRole) = tryGetString(getCommitKey(gameId, playerRole))
122122
123123
124124 func getDuckOrderKey (gameId,playerRole) = (((("game" + toString(gameId)) + "_") + playerRole) + "_duckOrder")
125125
126126
127127 func getDuckOrder (gameId,playerRole) = tryGetString(getDuckOrderKey(gameId, playerRole))
128128
129129
130130 func getPrizeSentKey (gameId,playerRole) = (((("game" + toString(gameId)) + "_") + playerRole) + "_prizeSent")
131131
132132
133133 func getPrizeSent (gameId,playerRole) = tryGetBoolean(getPrizeSentKey(gameId, playerRole))
134134
135135
136136 func getScore (a,b) = if ((a > b))
137137 then 1
138138 else if ((b > a))
139139 then -1
140140 else 0
141141
142142
143143 func isSymbolA (accumulated,sym) = if ((sym == "A"))
144144 then (accumulated + 1)
145145 else (accumulated + 0)
146146
147147
148148 func isSymbolB (accumulated,sym) = if ((sym == "B"))
149149 then (accumulated + 1)
150150 else (accumulated + 0)
151151
152152
153153 func isSymbolC (accumulated,sym) = if ((sym == "C"))
154154 then (accumulated + 1)
155155 else (accumulated + 0)
156156
157157
158158 func isSymbolD (accumulated,sym) = if ((sym == "D"))
159159 then (accumulated + 1)
160160 else (accumulated + 0)
161161
162162
163163 func isSymbolE (accumulated,sym) = if ((sym == "E"))
164164 then (accumulated + 1)
165165 else (accumulated + 0)
166166
167167
168168 func isSymbolF (accumulated,sym) = if ((sym == "F"))
169169 then (accumulated + 1)
170170 else (accumulated + 0)
171171
172172
173173 func isSymbolG (accumulated,sym) = if ((sym == "G"))
174174 then (accumulated + 1)
175175 else (accumulated + 0)
176176
177177
178178 func isSymbolH (accumulated,sym) = if ((sym == "H"))
179179 then (accumulated + 1)
180180 else (accumulated + 0)
181181
182182
183183 func getAmountOrClear (amount) = if (contains(amount, "0"))
184184 then ""
185185 else amount
186186
187187
188188 func getGen (assetName) = {
189189 let genotype = split(dropRight(drop(assetName, 5), 3), "")
190190 (((((((getAmountOrClear((toString({
191191 let $list52865317 = genotype
192192 let $size52865317 = size($list52865317)
193193 let $acc052865317 = 0
194194 if (($size52865317 == 0))
195195 then $acc052865317
196196 else {
197197 let $acc152865317 = isSymbolA($acc052865317, $list52865317[0])
198198 if (($size52865317 == 1))
199199 then $acc152865317
200200 else {
201201 let $acc252865317 = isSymbolA($acc152865317, $list52865317[1])
202202 if (($size52865317 == 2))
203203 then $acc252865317
204204 else {
205205 let $acc352865317 = isSymbolA($acc252865317, $list52865317[2])
206206 if (($size52865317 == 3))
207207 then $acc352865317
208208 else {
209209 let $acc452865317 = isSymbolA($acc352865317, $list52865317[3])
210210 if (($size52865317 == 4))
211211 then $acc452865317
212212 else {
213213 let $acc552865317 = isSymbolA($acc452865317, $list52865317[4])
214214 if (($size52865317 == 5))
215215 then $acc552865317
216216 else {
217217 let $acc652865317 = isSymbolA($acc552865317, $list52865317[5])
218218 if (($size52865317 == 6))
219219 then $acc652865317
220220 else {
221221 let $acc752865317 = isSymbolA($acc652865317, $list52865317[6])
222222 if (($size52865317 == 7))
223223 then $acc752865317
224224 else {
225225 let $acc852865317 = isSymbolA($acc752865317, $list52865317[7])
226226 if (($size52865317 == 8))
227227 then $acc852865317
228228 else {
229229 let $acc952865317 = isSymbolA($acc852865317, $list52865317[8])
230230 throw("List size exceed 8")
231231 }
232232 }
233233 }
234234 }
235235 }
236236 }
237237 }
238238 }
239239 }
240240 }) + "A")) + getAmountOrClear((toString({
241241 let $list53545385 = genotype
242242 let $size53545385 = size($list53545385)
243243 let $acc053545385 = 0
244244 if (($size53545385 == 0))
245245 then $acc053545385
246246 else {
247247 let $acc153545385 = isSymbolB($acc053545385, $list53545385[0])
248248 if (($size53545385 == 1))
249249 then $acc153545385
250250 else {
251251 let $acc253545385 = isSymbolB($acc153545385, $list53545385[1])
252252 if (($size53545385 == 2))
253253 then $acc253545385
254254 else {
255255 let $acc353545385 = isSymbolB($acc253545385, $list53545385[2])
256256 if (($size53545385 == 3))
257257 then $acc353545385
258258 else {
259259 let $acc453545385 = isSymbolB($acc353545385, $list53545385[3])
260260 if (($size53545385 == 4))
261261 then $acc453545385
262262 else {
263263 let $acc553545385 = isSymbolB($acc453545385, $list53545385[4])
264264 if (($size53545385 == 5))
265265 then $acc553545385
266266 else {
267267 let $acc653545385 = isSymbolB($acc553545385, $list53545385[5])
268268 if (($size53545385 == 6))
269269 then $acc653545385
270270 else {
271271 let $acc753545385 = isSymbolB($acc653545385, $list53545385[6])
272272 if (($size53545385 == 7))
273273 then $acc753545385
274274 else {
275275 let $acc853545385 = isSymbolB($acc753545385, $list53545385[7])
276276 if (($size53545385 == 8))
277277 then $acc853545385
278278 else {
279279 let $acc953545385 = isSymbolB($acc853545385, $list53545385[8])
280280 throw("List size exceed 8")
281281 }
282282 }
283283 }
284284 }
285285 }
286286 }
287287 }
288288 }
289289 }
290290 }) + "B"))) + getAmountOrClear((toString({
291291 let $list54225453 = genotype
292292 let $size54225453 = size($list54225453)
293293 let $acc054225453 = 0
294294 if (($size54225453 == 0))
295295 then $acc054225453
296296 else {
297297 let $acc154225453 = isSymbolC($acc054225453, $list54225453[0])
298298 if (($size54225453 == 1))
299299 then $acc154225453
300300 else {
301301 let $acc254225453 = isSymbolC($acc154225453, $list54225453[1])
302302 if (($size54225453 == 2))
303303 then $acc254225453
304304 else {
305305 let $acc354225453 = isSymbolC($acc254225453, $list54225453[2])
306306 if (($size54225453 == 3))
307307 then $acc354225453
308308 else {
309309 let $acc454225453 = isSymbolC($acc354225453, $list54225453[3])
310310 if (($size54225453 == 4))
311311 then $acc454225453
312312 else {
313313 let $acc554225453 = isSymbolC($acc454225453, $list54225453[4])
314314 if (($size54225453 == 5))
315315 then $acc554225453
316316 else {
317317 let $acc654225453 = isSymbolC($acc554225453, $list54225453[5])
318318 if (($size54225453 == 6))
319319 then $acc654225453
320320 else {
321321 let $acc754225453 = isSymbolC($acc654225453, $list54225453[6])
322322 if (($size54225453 == 7))
323323 then $acc754225453
324324 else {
325325 let $acc854225453 = isSymbolC($acc754225453, $list54225453[7])
326326 if (($size54225453 == 8))
327327 then $acc854225453
328328 else {
329329 let $acc954225453 = isSymbolC($acc854225453, $list54225453[8])
330330 throw("List size exceed 8")
331331 }
332332 }
333333 }
334334 }
335335 }
336336 }
337337 }
338338 }
339339 }
340340 }) + "C"))) + getAmountOrClear((toString({
341341 let $list54925523 = genotype
342342 let $size54925523 = size($list54925523)
343343 let $acc054925523 = 0
344344 if (($size54925523 == 0))
345345 then $acc054925523
346346 else {
347347 let $acc154925523 = isSymbolD($acc054925523, $list54925523[0])
348348 if (($size54925523 == 1))
349349 then $acc154925523
350350 else {
351351 let $acc254925523 = isSymbolD($acc154925523, $list54925523[1])
352352 if (($size54925523 == 2))
353353 then $acc254925523
354354 else {
355355 let $acc354925523 = isSymbolD($acc254925523, $list54925523[2])
356356 if (($size54925523 == 3))
357357 then $acc354925523
358358 else {
359359 let $acc454925523 = isSymbolD($acc354925523, $list54925523[3])
360360 if (($size54925523 == 4))
361361 then $acc454925523
362362 else {
363363 let $acc554925523 = isSymbolD($acc454925523, $list54925523[4])
364364 if (($size54925523 == 5))
365365 then $acc554925523
366366 else {
367367 let $acc654925523 = isSymbolD($acc554925523, $list54925523[5])
368368 if (($size54925523 == 6))
369369 then $acc654925523
370370 else {
371371 let $acc754925523 = isSymbolD($acc654925523, $list54925523[6])
372372 if (($size54925523 == 7))
373373 then $acc754925523
374374 else {
375375 let $acc854925523 = isSymbolD($acc754925523, $list54925523[7])
376376 if (($size54925523 == 8))
377377 then $acc854925523
378378 else {
379379 let $acc954925523 = isSymbolD($acc854925523, $list54925523[8])
380380 throw("List size exceed 8")
381381 }
382382 }
383383 }
384384 }
385385 }
386386 }
387387 }
388388 }
389389 }
390390 }) + "D"))) + getAmountOrClear((toString({
391391 let $list55605591 = genotype
392392 let $size55605591 = size($list55605591)
393393 let $acc055605591 = 0
394394 if (($size55605591 == 0))
395395 then $acc055605591
396396 else {
397397 let $acc155605591 = isSymbolE($acc055605591, $list55605591[0])
398398 if (($size55605591 == 1))
399399 then $acc155605591
400400 else {
401401 let $acc255605591 = isSymbolE($acc155605591, $list55605591[1])
402402 if (($size55605591 == 2))
403403 then $acc255605591
404404 else {
405405 let $acc355605591 = isSymbolE($acc255605591, $list55605591[2])
406406 if (($size55605591 == 3))
407407 then $acc355605591
408408 else {
409409 let $acc455605591 = isSymbolE($acc355605591, $list55605591[3])
410410 if (($size55605591 == 4))
411411 then $acc455605591
412412 else {
413413 let $acc555605591 = isSymbolE($acc455605591, $list55605591[4])
414414 if (($size55605591 == 5))
415415 then $acc555605591
416416 else {
417417 let $acc655605591 = isSymbolE($acc555605591, $list55605591[5])
418418 if (($size55605591 == 6))
419419 then $acc655605591
420420 else {
421421 let $acc755605591 = isSymbolE($acc655605591, $list55605591[6])
422422 if (($size55605591 == 7))
423423 then $acc755605591
424424 else {
425425 let $acc855605591 = isSymbolE($acc755605591, $list55605591[7])
426426 if (($size55605591 == 8))
427427 then $acc855605591
428428 else {
429429 let $acc955605591 = isSymbolE($acc855605591, $list55605591[8])
430430 throw("List size exceed 8")
431431 }
432432 }
433433 }
434434 }
435435 }
436436 }
437437 }
438438 }
439439 }
440440 }) + "E"))) + getAmountOrClear((toString({
441441 let $list56285659 = genotype
442442 let $size56285659 = size($list56285659)
443443 let $acc056285659 = 0
444444 if (($size56285659 == 0))
445445 then $acc056285659
446446 else {
447447 let $acc156285659 = isSymbolF($acc056285659, $list56285659[0])
448448 if (($size56285659 == 1))
449449 then $acc156285659
450450 else {
451451 let $acc256285659 = isSymbolF($acc156285659, $list56285659[1])
452452 if (($size56285659 == 2))
453453 then $acc256285659
454454 else {
455455 let $acc356285659 = isSymbolF($acc256285659, $list56285659[2])
456456 if (($size56285659 == 3))
457457 then $acc356285659
458458 else {
459459 let $acc456285659 = isSymbolF($acc356285659, $list56285659[3])
460460 if (($size56285659 == 4))
461461 then $acc456285659
462462 else {
463463 let $acc556285659 = isSymbolF($acc456285659, $list56285659[4])
464464 if (($size56285659 == 5))
465465 then $acc556285659
466466 else {
467467 let $acc656285659 = isSymbolF($acc556285659, $list56285659[5])
468468 if (($size56285659 == 6))
469469 then $acc656285659
470470 else {
471471 let $acc756285659 = isSymbolF($acc656285659, $list56285659[6])
472472 if (($size56285659 == 7))
473473 then $acc756285659
474474 else {
475475 let $acc856285659 = isSymbolF($acc756285659, $list56285659[7])
476476 if (($size56285659 == 8))
477477 then $acc856285659
478478 else {
479479 let $acc956285659 = isSymbolF($acc856285659, $list56285659[8])
480480 throw("List size exceed 8")
481481 }
482482 }
483483 }
484484 }
485485 }
486486 }
487487 }
488488 }
489489 }
490490 }) + "F"))) + getAmountOrClear((toString({
491491 let $list56985729 = genotype
492492 let $size56985729 = size($list56985729)
493493 let $acc056985729 = 0
494494 if (($size56985729 == 0))
495495 then $acc056985729
496496 else {
497497 let $acc156985729 = isSymbolG($acc056985729, $list56985729[0])
498498 if (($size56985729 == 1))
499499 then $acc156985729
500500 else {
501501 let $acc256985729 = isSymbolG($acc156985729, $list56985729[1])
502502 if (($size56985729 == 2))
503503 then $acc256985729
504504 else {
505505 let $acc356985729 = isSymbolG($acc256985729, $list56985729[2])
506506 if (($size56985729 == 3))
507507 then $acc356985729
508508 else {
509509 let $acc456985729 = isSymbolG($acc356985729, $list56985729[3])
510510 if (($size56985729 == 4))
511511 then $acc456985729
512512 else {
513513 let $acc556985729 = isSymbolG($acc456985729, $list56985729[4])
514514 if (($size56985729 == 5))
515515 then $acc556985729
516516 else {
517517 let $acc656985729 = isSymbolG($acc556985729, $list56985729[5])
518518 if (($size56985729 == 6))
519519 then $acc656985729
520520 else {
521521 let $acc756985729 = isSymbolG($acc656985729, $list56985729[6])
522522 if (($size56985729 == 7))
523523 then $acc756985729
524524 else {
525525 let $acc856985729 = isSymbolG($acc756985729, $list56985729[7])
526526 if (($size56985729 == 8))
527527 then $acc856985729
528528 else {
529529 let $acc956985729 = isSymbolG($acc856985729, $list56985729[8])
530530 throw("List size exceed 8")
531531 }
532532 }
533533 }
534534 }
535535 }
536536 }
537537 }
538538 }
539539 }
540540 }) + "G"))) + getAmountOrClear((toString({
541541 let $list57665797 = genotype
542542 let $size57665797 = size($list57665797)
543543 let $acc057665797 = 0
544544 if (($size57665797 == 0))
545545 then $acc057665797
546546 else {
547547 let $acc157665797 = isSymbolH($acc057665797, $list57665797[0])
548548 if (($size57665797 == 1))
549549 then $acc157665797
550550 else {
551551 let $acc257665797 = isSymbolH($acc157665797, $list57665797[1])
552552 if (($size57665797 == 2))
553553 then $acc257665797
554554 else {
555555 let $acc357665797 = isSymbolH($acc257665797, $list57665797[2])
556556 if (($size57665797 == 3))
557557 then $acc357665797
558558 else {
559559 let $acc457665797 = isSymbolH($acc357665797, $list57665797[3])
560560 if (($size57665797 == 4))
561561 then $acc457665797
562562 else {
563563 let $acc557665797 = isSymbolH($acc457665797, $list57665797[4])
564564 if (($size57665797 == 5))
565565 then $acc557665797
566566 else {
567567 let $acc657665797 = isSymbolH($acc557665797, $list57665797[5])
568568 if (($size57665797 == 6))
569569 then $acc657665797
570570 else {
571571 let $acc757665797 = isSymbolH($acc657665797, $list57665797[6])
572572 if (($size57665797 == 7))
573573 then $acc757665797
574574 else {
575575 let $acc857665797 = isSymbolH($acc757665797, $list57665797[7])
576576 if (($size57665797 == 8))
577577 then $acc857665797
578578 else {
579579 let $acc957665797 = isSymbolH($acc857665797, $list57665797[8])
580580 throw("List size exceed 8")
581581 }
582582 }
583583 }
584584 }
585585 }
586586 }
587587 }
588588 }
589589 }
590590 }) + "H")))
591591 }
592592
593593
594594 func getAssetOrigin (generation) = if ((generation == "G"))
595595 then incubatorAddress
596596 else breederAddress
597597
598598
599599 func getAssetRarity (assetId) = if (if ((value(assetInfo(assetId)).issuer == Address(breederAddress)))
600600 then true
601601 else (value(assetInfo(assetId)).issuer == Address(incubatorAddress)))
602602 then {
603603 let assetName = value(assetInfo(assetId)).name
604604 let generation = take(takeRight(assetName, 2), 1)
605605 let gen = ((getGen(assetName) + "-") + generation)
606606 let quantity = getIntegerValue(Address(getAssetOrigin(generation)), (("stats_" + gen) + "_quantity"))
607607 let power = pow((10000 / quantity), 4, 5, 1, 2, FLOOR)
608608 if ((power > 0))
609609 then power
610610 else 2
611611 }
612612 else throw("not valid NFT")
613613
614614
615615 func getWinner (gameId) = {
616616 let gameStep = getStep(gameId)
617617 if ((6 > gameStep))
618618 then {
619619 let expirationHeight = getExpirationHeight(gameId)
620620 if ((expirationHeight == 0))
621621 then throw("Game is not started")
622622 else if ((expirationHeight > height))
623623 then throw("Game is not finished or expired")
624624 else if (((getStep(gameId) % 2) == 0))
625625 then "maker"
626626 else "taker"
627627 }
628628 else {
629629 let makerDuckOrder = split(getDuckOrder(gameId, "maker"), ",")
630630 let takerDuckOrder = split(getDuckOrder(gameId, "taker"), ",")
631631 let makerRarity1 = getRarity(gameId, "maker", makerDuckOrder[0])
632632 let makerRarity2 = getRarity(gameId, "maker", makerDuckOrder[1])
633633 let makerRarity3 = getRarity(gameId, "maker", makerDuckOrder[2])
634634 let takerRarity1 = getRarity(gameId, "taker", makerDuckOrder[0])
635635 let takerRarity2 = getRarity(gameId, "taker", makerDuckOrder[1])
636636 let takerRarity3 = getRarity(gameId, "taker", makerDuckOrder[2])
637637 let makerScore = ((getScore(makerRarity1, takerRarity1) + getScore(makerRarity2, takerRarity2)) + getScore(makerRarity3, takerRarity3))
638638 if ((makerScore > 0))
639639 then "maker"
640640 else if ((0 > makerScore))
641641 then "taker"
642642 else "draw"
643643 }
644644 }
645645
646646
647647 @Callable(i)
648648 func makeGame (slot,rarityRangeWorst,rarityRangeMedium,rarityRangeBest) = {
649649 let callerAddress = toBase58String(i.caller.bytes)
650650 let slotGameId = getSlot(slot)
651651 let payment = value(i.payments[0])
652652 let eggs = (payment.amount - makerFee)
653653 let gameId = getNextGameId()
654654 if ((getPlayerCurrentGame(callerAddress) != 0))
655655 then throw("You already have an active game")
656656 else if (if ((0 > slot))
657657 then true
658658 else (slot >= SLOTS))
659659 then throw("Invalid slot")
660660 else if ((slotGameId != 0))
661661 then throw("This slot is busy")
662662 else if ((payment.assetId != eggsAssetId))
663663 then throw(("You can attach only EGGs with the following asset id: " + toBase58String(eggsAssetId)))
664664 else if ((0 >= eggs))
665665 then throw("Not enough EGGs")
666666 else if (if ((1 > rarityRangeWorst))
667667 then true
668668 else (rarityRangeWorst > 5))
669669 then throw("Invalid rarity range for the worst duck")
670670 else if (if ((1 > rarityRangeMedium))
671671 then true
672672 else (rarityRangeMedium > 5))
673673 then throw("Invalid rarity range for the medium duck")
674674 else if (if ((1 > rarityRangeBest))
675675 then true
676676 else (rarityRangeBest > 5))
677677 then throw("Invalid rarity range for the best duck")
678678 else if ((rarityRangeWorst >= rarityRangeMedium))
679679 then throw("The medium duck must be better than the worst one")
680680 else if ((rarityRangeMedium >= rarityRangeBest))
681681 then throw("The best duck must be better than the medium one")
682682 else [IntegerEntry(getPlayerCurrentGameKey(callerAddress), gameId), StringEntry(getMakerKey(gameId), callerAddress), StringEntry(getPlayerRoleKey(gameId, callerAddress), "maker"), IntegerEntry(getBetEggsKey(gameId), eggs), IntegerEntry(getRarityRangeKey(gameId, "worst"), rarityRangeWorst), IntegerEntry(getRarityRangeKey(gameId, "medium"), rarityRangeMedium), IntegerEntry(getRarityRangeKey(gameId, "best"), rarityRangeBest), IntegerEntry(getWaitingExpirationHeightKey(gameId), (height + WAITING)), IntegerEntry(getSlotKey(slot), gameId), IntegerEntry("nextGameId", (gameId + 1))]
683683 }
684684
685685
686686
687687 @Callable(i)
688688 func takeGame (slot) = {
689689 let callerAddress = toBase58String(i.caller.bytes)
690690 let gameId = getSlot(slot)
691691 let payment = value(i.payments[0])
692692 if ((getPlayerCurrentGame(callerAddress) != 0))
693693 then throw("You already have an active game")
694694 else if (if ((0 > slot))
695695 then true
696696 else (slot >= SLOTS))
697697 then throw("Invalid slot")
698698 else if ((getSlot(slot) == 0))
699699 then throw("This slot is empty")
700700 else if ((payment.assetId != eggsAssetId))
701701 then throw(("You can attach only EGG tokens with the following asset id: " + toBase58String(eggsAssetId)))
702702 else if ((payment.amount != (getBetEggs(gameId) + takerFee)))
703703 then throw("Insufficient eggs amount")
704704 else if ((height >= getWaitingExpirationHeight(gameId)))
705705 then throw("This game is expired")
706706 else [IntegerEntry(getPlayerCurrentGameKey(callerAddress), gameId), StringEntry(getTakerKey(gameId), callerAddress), StringEntry(getPlayerRoleKey(gameId, callerAddress), "taker"), IntegerEntry(getExpirationHeightKey(gameId), (height + stepDuration)), IntegerEntry(getSlotKey(slot), 0)]
707707 }
708708
709709
710710
711711 @Callable(i)
712712 func kickGame (slot) = {
713713 let gameId = getSlot(slot)
714714 if (if ((0 > slot))
715715 then true
716716 else (slot >= SLOTS))
717717 then throw("Invalid slot")
718718 else if ((gameId == 0))
719719 then throw("Slot is empty")
720720 else if ((getWaitingExpirationHeight(gameId) > height))
721721 then throw("Waiting is not finished yet")
722722 else {
723723 let maker = getMaker(gameId)
724724 [IntegerEntry(getPlayerCurrentGameKey(maker), 0), IntegerEntry(getSlotKey(slot), 0), ScriptTransfer(Address(fromBase58String(maker)), (getBetEggs(gameId) + makerFee), eggsAssetId)]
725725 }
726726 }
727727
728728
729729
730730 @Callable(i)
731731 func pickDucks () = {
732732 let callerAddress = toBase58String(i.caller.bytes)
733733 let gameId = getPlayerCurrentGame(callerAddress)
734734 let playerRole = getPlayerRole(gameId, callerAddress)
735735 let gameStep = getStep(gameId)
736736 let worstRarityRange = getRarityRange(gameId, "worst")
737737 let mediumRarityRange = getRarityRange(gameId, "meduim")
738738 let bestRarityRange = getRarityRange(gameId, "best")
739739 let worstDuckId = value(value(i.payments[0]).assetId)
740740 let mediumDuckId = value(value(i.payments[1]).assetId)
741741 let bestDuckId = value(value(i.payments[2]).assetId)
742742 let worstRarity = getAssetRarity(worstDuckId)
743743 let mediumRarity = getAssetRarity(mediumDuckId)
744744 let bestRarity = getAssetRarity(bestDuckId)
745745 if ((gameId == 0))
746746 then throw("You don't have an active game")
747747 else if ((getExpirationHeight(gameId) == 0))
748748 then throw("Game is not started")
749749 else if (if ((gameStep == 0))
750750 then (playerRole != "taker")
751751 else false)
752752 then throw("It is the taker's turn to pick now")
753753 else if (if ((gameStep == 1))
754754 then (playerRole != "maker")
755755 else false)
756756 then throw("It is the maker's turn to pick now")
757757 else if ((gameStep > 1))
758758 then throw("Ducks have already been picked")
759759 else if ((mediumRarity != 27))
760760 then throw("Mefium rarity is not 27")
761- else if (((mediumRarity * 10) != 30))
762- then throw("Mefium rarity range is not 30")
763- else if ((((mediumRarity - 1) * 10) != 30))
764- then throw("Mefium - 1 rarity range is not 30")
761+ else if (((mediumRarityRange * 10) != 30))
762+ then throw("Medium rarity range is not 30")
763+ else if ((((mediumRarityRange - 1) * 10) != 30))
764+ then throw("Medium - 1 rarity range is not 30")
765765 else if (if ((worstRarity >= (worstRarityRange * 10)))
766766 then true
767767 else (((worstRarityRange - 1) * 10) > worstRarity))
768768 then throw("Worst duck doesn't fit rarity range")
769769 else if (if ((mediumRarity >= (mediumRarityRange * 10)))
770770 then true
771771 else (((mediumRarityRange - 1) * 10) > mediumRarity))
772772 then throw("Medium duck doesn't fit rarity range")
773773 else if (if (if (if ((bestRarityRange == 5))
774774 then (40 > bestRarity)
775775 else false)
776776 then true
777777 else (bestRarity >= (bestRarityRange * 10)))
778778 then true
779779 else (((bestRarityRange - 1) * 10) > bestRarity))
780780 then throw("Best duck doesn't fit rarity range")
781781 else [IntegerEntry(getRarityKey(gameId, playerRole, "worst"), worstRarity), IntegerEntry(getRarityKey(gameId, playerRole, "medium"), mediumRarity), IntegerEntry(getRarityKey(gameId, playerRole, "best"), bestRarity), IntegerEntry(getStepKey(gameId), (gameStep + 1)), IntegerEntry(getExpirationHeightKey(gameId), (height + stepDuration)), ScriptTransfer(i.caller, 1, worstDuckId), ScriptTransfer(i.caller, 1, mediumDuckId), ScriptTransfer(i.caller, 1, bestDuckId)]
782782 }
783783
784784
785785
786786 @Callable(i)
787787 func commit (hash) = {
788788 let callerAddress = toBase58String(i.caller.bytes)
789789 let gameId = getPlayerCurrentGame(callerAddress)
790790 let playerRole = getPlayerRole(gameId, callerAddress)
791791 let gameStep = getStep(gameId)
792792 if ((gameId == 0))
793793 then throw("You don't have an active game")
794794 else if ((2 > gameStep))
795795 then throw("Commit is not started")
796796 else if (if ((gameStep == 2))
797797 then (playerRole != "taker")
798798 else false)
799799 then throw("It is the taker's turn to pick now")
800800 else if (if ((gameStep == 3))
801801 then (playerRole != "maker")
802802 else false)
803803 then throw("It is the maker's turn to pick now")
804804 else if ((gameStep > 3))
805805 then throw("Commit is finished")
806806 else [StringEntry(getCommitKey(gameId, playerRole), hash), IntegerEntry(getStepKey(gameId), (gameStep + 1)), IntegerEntry(getExpirationHeightKey(gameId), (height + stepDuration))]
807807 }
808808
809809
810810
811811 @Callable(i)
812812 func reveal (duckOrder,salt) = {
813813 let callerAddress = toBase58String(i.caller.bytes)
814814 let gameId = getPlayerCurrentGame(callerAddress)
815815 let playerRole = getPlayerRole(gameId, callerAddress)
816816 let gameStep = getStep(gameId)
817817 if ((gameId == 0))
818818 then throw("You don't have an active game")
819819 else if ((4 > gameStep))
820820 then throw("Reveal is not started")
821821 else if (if ((gameStep == 4))
822822 then (playerRole != "taker")
823823 else false)
824824 then throw("It is the taker's turn to pick now")
825825 else if (if ((gameStep == 5))
826826 then (playerRole != "maker")
827827 else false)
828828 then throw("It is the maker's turn to pick now")
829829 else if ((gameStep > 5))
830830 then throw("Reveal is finished")
831831 else if (if (if (if (if (if ((duckOrder != "worst,medium,best"))
832832 then true
833833 else (duckOrder != "worst,best,medium"))
834834 then true
835835 else (duckOrder != "medium,worst,best"))
836836 then true
837837 else (duckOrder != "medium,best,worst"))
838838 then true
839839 else (duckOrder != "best,worst,medium"))
840840 then true
841841 else (duckOrder != "best,medium,worst"))
842842 then throw("Reveal data is not valid")
843843 else if ((toBase58String(sha256(toBytes((duckOrder + salt)))) != getCommit(gameId, playerRole)))
844844 then throw("Reveal doesn't match commit")
845845 else [StringEntry(getDuckOrderKey(gameId, playerRole), duckOrder), IntegerEntry(getStepKey(gameId), (gameStep + 1)), IntegerEntry(getExpirationHeightKey(gameId), (height + stepDuration))]
846846 }
847847
848848
849849
850850 @Callable(i)
851851 func getPrize () = {
852852 let callerAddress = toBase58String(i.caller.bytes)
853853 let gameId = getPlayerCurrentGame(callerAddress)
854854 let playerRole = getPlayerRole(gameId, callerAddress)
855855 let makerAddress = getMaker(gameId)
856856 let takerAddress = getTaker(gameId)
857857 let winner = getWinner(gameId)
858858 if ((gameId == 0))
859859 then throw("You don't have an active game")
860860 else if (getPrizeSent(gameId, playerRole))
861861 then throw("You have already got the prize")
862862 else if ((winner == playerRole))
863863 then [IntegerEntry(getPlayerCurrentGameKey(makerAddress), 0), IntegerEntry(getPlayerCurrentGameKey(takerAddress), 0), BooleanEntry(getPrizeSentKey(gameId, playerRole), true), ScriptTransfer(i.caller, (getBetEggs(gameId) * 2), eggsAssetId)]
864864 else if ((winner == "draw"))
865865 then [IntegerEntry(getPlayerCurrentGameKey(callerAddress), 0), BooleanEntry(getPrizeSentKey(gameId, playerRole), true), ScriptTransfer(i.caller, getBetEggs(gameId), eggsAssetId)]
866866 else throw("You lose and don't have any prize")
867867 }
868868
869869
870870 @Verifier(tx)
871871 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
872872

github/deemru/w8io/026f985 
90.07 ms