tx · GoHsm8ayk1N1VuKE4tmiAzC7nyCaCgYNxnrNiMFjHSuy

3N6oaapvYkEryHUr4vAiPRXM3iS6kMYXito:  -0.01400000 Waves

2021.10.25 18:44 [1762046] smart account 3N6oaapvYkEryHUr4vAiPRXM3iS6kMYXito > SELF 0.00000000 Waves

{ "type": 13, "id": "GoHsm8ayk1N1VuKE4tmiAzC7nyCaCgYNxnrNiMFjHSuy", "fee": 1400000, "feeAssetId": null, "timestamp": 1635176714533, "version": 2, "chainId": 84, "sender": "3N6oaapvYkEryHUr4vAiPRXM3iS6kMYXito", "senderPublicKey": "7PMrxEzirv6h9Z2zqLE47qrZd6v1AbRZER5Aqfo95Eyr", "proofs": [ "3jMZkC4kZ4xVBeuDTi89AQvGxVY1qsw3BPPMe3aN44g3rSfLc4tNak9KAjSCUYbzA1bVofJXUBkb8d7UzKCEuK6H" ], "script": "base64:AAIFAAAAAAAAAEAIAhIHCgUBAQEBCBIKCggBAQEBAQEBBBIDCgEBEgoKCAEBAQEBAQEIEgQKAgEIEgMKAQgSAwoBCBIECgIICBIAAAAARwAAAAAOZmFybWluZ0FkZHJlc3MBAAAAGgFU8jY5wCvKx9IdZ1jq9byeNi+peiAgajPTAAAAABVyYXJpdHlQcm92aWRlckFkZHJlc3MBAAAAGgFU+q9cAg4rvtWEk5vjyvMr8wmPCufq9HWkAAAAAAtlZ2dzQXNzZXRJZAEAAAAgkJ3QE4VGK0Dk/9PluCIdvVWCTuvM4GFKRaRd95QRhFEAAAAAFGZlZUFnZ3JlZ2F0b3JBZGRyZXNzAQAAABoBVFWcDeQ6gpSM9a1CA1qQAlfGppZ+rTdzRAAAAAAFU0xPVFMAAAAAAAAAAAoAAAAAB1dBSVRJTkcAAAAAAAAAAAgAAAAADHN0ZXBEdXJhdGlvbgAAAAAAAAAABQAAAAAKZmVlUGVyY2VudAAAAAAAAAAACgEAAAANdHJ5R2V0SW50ZWdlcgAAAAEAAAADa2V5BAAAAAckbWF0Y2gwCQAEGgAAAAIFA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2Vzbid0IG1hdGNoIGNvbW1pdAkABE4AAAACCQEAAAANZ2V0R2FtZVJlc3VsdAAAAAMFAAAABmdhbWVJZAUAAAAFb3JkZXIHCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAIJAQAAAAtnZXRPcmRlcktleQAAAAIFAAAABmdhbWVJZAUAAAAKcGxheWVyUm9sZQUAAAAFb3JkZXIJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAIJAQAAAApnZXRTdGVwS2V5AAAAAQUAAAAGZ2FtZUlkCQAAZAAAAAIFAAAABHN0ZXAAAAAAAAAAAAEFAAAAA25pbAAAAAFpAQAAAA9nZXRQcml6ZUV4cGlyZWQAAAAABAAAAA1jYWxsZXJBZGRyZXNzCQACWAAAAAEICAUAAAABaQAAAAZjYWxsZXIAAAAFYnl0ZXMEAAAABmdhbWVJZAkBAAAAFGdldFBsYXllckN1cnJlbnRHYW1lAAAAAQUAAAANY2FsbGVyQWRkcmVzcwMJAAAAAAAAAgUAAAAGZ2FtZUlkAAAAAAAAAAAACQAAAgAAAAECAAAAHVlvdSBkb24ndCBoYXZlIGFuIGFjdGl2ZSBnYW1lCQEAAAANZ2V0R2FtZVJlc3VsdAAAAAMFAAAABmdhbWVJZAIAAAAABgAAAAEAAAACdHgBAAAABnZlcmlmeQAAAAAJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5jrgaJA==", "height": 1762046, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: H1LKUG2TjLsKVnJqNcSn6A21qgpYCoDf2paxoQ8LGsU9 Next: BQs83CMKAUa3tb4AjgUYuxuRTzYSNg4xAMRGJbdbtTpe Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let farmingAddress = base58'3NBznG19rEYUAcnukTRTtwJHBVKQLbobVdC'
55
66 let rarityProviderAddress = base58'3NCman4dCzk1HWWU4DPTr5rsbhvuUCwwUZh'
77
88 let eggsAssetId = base58'AjXHBGsVDeXETQPk3qH4CPbZdfXPyNo5XoBx7jVbtwWG'
99
1010 let feeAggregatorAddress = base58'3MwikA4opnqZMGVriWzH8Gq2CJXuaVBdboH'
1111
1212 let SLOTS = 10
1313
1414 let WAITING = 8
1515
1616 let stepDuration = 5
1717
1818 let feePercent = 10
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) = (playerAddress + "_currentGame")
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 getTakerSkipReplaceKey (gameId) = (("game" + toString(gameId)) + "_taker_skipReplace")
8383
8484
8585 func getTakerSkipReplace (gameId) = tryGetBoolean(getTakerSkipReplaceKey(gameId))
8686
8787
8888 func getBetKey (gameId) = (("game" + toString(gameId)) + "_bet")
8989
9090
9191 func getBet (gameId) = tryGetInteger(getBetKey(gameId))
9292
9393
9494 func getWaitingExpirationHeightKey (gameId) = (("game" + toString(gameId)) + "_waitingExpirationHeight")
9595
9696
9797 func getWaitingExpirationHeight (gameId) = tryGetInteger(getWaitingExpirationHeightKey(gameId))
9898
9999
100100 func getExpirationHeightKey (gameId) = (("game" + toString(gameId)) + "_expirationHeight")
101101
102102
103103 func getExpirationHeight (gameId) = tryGetInteger(getExpirationHeightKey(gameId))
104104
105105
106106 func getRangesKey (gameId) = (("game" + toString(gameId)) + "_ranges")
107107
108108
109109 func getRanges (gameId) = tryGetString(getRangesKey(gameId))
110110
111111
112112 func getMakerRandomsCommitKey (gameId) = (("game" + toString(gameId)) + "_maker_randomsCommit")
113113
114114
115115 func getMakerRandomsCommit (gameId) = tryGetString(getMakerRandomsCommitKey(gameId))
116116
117117
118118 func getRandomsKey (gameId,playerRole) = (((("game" + toString(gameId)) + "_") + playerRole) + "_randoms")
119119
120120
121121 func getRandoms (gameId,playerRole) = tryGetString(getRandomsKey(gameId, playerRole))
122122
123123
124124 func getStepKey (gameId) = (("game" + toString(gameId)) + "_step")
125125
126126
127127 func getStep (gameId) = tryGetInteger(getStepKey(gameId))
128128
129129
130130 func getRaritiesKey (gameId,playerRole) = (((("game" + toString(gameId)) + "_") + playerRole) + "_rarities")
131131
132132
133133 func getRarities (gameId,playerRole) = tryGetString(getRaritiesKey(gameId, playerRole))
134134
135135
136136 func getReplacedPositionKey (gameId,playerRole) = (((("game" + toString(gameId)) + "_") + playerRole) + "_replacedPosition")
137137
138138
139139 func getReplacedPosition (gameId,playerRole) = tryGetInteger(getReplacedPositionKey(gameId, playerRole))
140140
141141
142142 func getDuckIdKey (gameId,playerRole) = (((("game" + toString(gameId)) + "_") + playerRole) + "_duckId")
143143
144144
145145 func getDuckId (gameId,playerRole) = tryGetString(getDuckIdKey(gameId, playerRole))
146146
147147
148148 func getTakerOrderCommitKey (gameId) = (("game" + toString(gameId)) + "_taker_orderCommit")
149149
150150
151151 func getTakerOrderCommit (gameId) = tryGetString(getTakerOrderCommitKey(gameId))
152152
153153
154154 func getOrderKey (gameId,playerRole) = (((("game" + toString(gameId)) + "_") + playerRole) + "_order")
155155
156156
157157 func getOrder (gameId,playerRole) = tryGetString(getOrderKey(gameId, playerRole))
158158
159159
160160 func getPlayerResultKey (gameId,playerAddress) = (((("game" + toString(gameId)) + "_") + playerAddress) + "_result")
161161
162162
163163 func getPlayerResult (gameId,playerAddress) = tryGetString(getPlayerResultKey(gameId, playerAddress))
164164
165165
166166 func getPlayerPrizeKey (gameId,playerAddress) = (((("game" + toString(gameId)) + "_") + playerAddress) + "_prize")
167167
168168
169169 func getPlayerPrize (gameId,playerAddress) = tryGetInteger(getPlayerPrizeKey(gameId, playerAddress))
170170
171171
172172 func getPlayerWinsKey (playerAddress) = (playerAddress + "_wins")
173173
174174
175175 func getPlayerWins (playerAddress) = tryGetInteger(getPlayerWinsKey(playerAddress))
176176
177177
178178 func getPlayerLosesKey (playerAddress) = (playerAddress + "_loses")
179179
180180
181181 func getPlayerLoses (playerAddress) = tryGetInteger(getPlayerLosesKey(playerAddress))
182182
183183
184184 func getPlayerDrawsKey (playerAddress) = (playerAddress + "_draws")
185185
186186
187187 func getPlayerDraws (playerAddress) = tryGetInteger(getPlayerDrawsKey(playerAddress))
188188
189189
190190 func getPlayerPnLKey (playerAddress) = (playerAddress + "_PnL")
191191
192192
193193 func getPlayerPnL (playerAddress) = tryGetInteger(getPlayerPnLKey(playerAddress))
194194
195195
196196 func getGamesPlayedKey () = "gamesPlayed"
197197
198198
199199 func getGamesPlayed () = tryGetInteger(getGamesPlayedKey())
200200
201201
202202 func getTotalFeeKey () = "totalFee"
203203
204204
205205 func getTotalFee () = tryGetInteger(getTotalFeeKey())
206206
207207
208208 func getFarmingPower (address,assetId) = match getInteger(Address(farmingAddress), (((("address_" + address) + "_asset_") + assetId) + "_farmingPower")) {
209209 case fp: Int =>
210210 fp
211211 case _ =>
212212 0
213213 }
214214
215215
216216 func checkDuckOwner (ownerAddress,assetId) = if ((assetBalance(ownerAddress, assetId) > 0))
217217 then true
218218 else (getFarmingPower(toBase58String(ownerAddress.bytes), toBase58String(assetId)) > 0)
219219
220220
221221 let RANGES = [[2, 3, 4, 5, 6, 7, 8, 9], [11, 12, 13, 14, 15, 16, 17, 18, 19, 20], [21, 22, 23, 24, 25, 26, 27, 28, 30], [31, 33, 35, 37, 40], [44, 50, 57, 70, 100]]
222222
223223 func getRandomRarity (random,range) = {
224224 let randomIdx = (random % size(RANGES[(range - 1)]))
225225 RANGES[(range - 1)][randomIdx]
226226 }
227227
228228
229229 func getScore (a,b) = if ((a > b))
230230 then 1
231231 else if ((b > a))
232232 then -1
233233 else 0
234234
235235
236236 func getWinner (gameId,takerOrderStr,expired) = if (expired)
237237 then {
238238 let step = getStep(gameId)
239239 let expirationHeight = getExpirationHeight(gameId)
240240 if ((step == 0))
241241 then throw("Game is not started")
242242 else if ((expirationHeight > height))
243243 then throw("Game is not expired")
244244 else if (if ((step == 1))
245245 then true
246246 else (step == 4))
247247 then "taker"
248248 else "maker"
249249 }
250250 else {
251251 let mo = split(getOrder(gameId, "maker"), "|")
252252 let makerOrder = [parseIntValue(mo[0]), parseIntValue(mo[1]), parseIntValue(mo[2])]
253253 let to = split(takerOrderStr, "|")
254254 let takerOrder = [parseIntValue(to[0]), parseIntValue(to[1]), parseIntValue(to[2])]
255255 let mr = split(getRarities(gameId, "maker"), "|")
256256 let makerRarities = [parseIntValue(mr[0]), parseIntValue(mr[1]), parseIntValue(mr[2])]
257257 let tr = split(getRarities(gameId, "taker"), "|")
258258 let takerRarities = [parseIntValue(tr[0]), parseIntValue(tr[1]), parseIntValue(tr[2])]
259259 let makerScore = ((getScore(makerRarities[(makerOrder[0] - 1)], takerRarities[(takerOrder[0] - 1)]) + getScore(makerRarities[(makerOrder[1] - 1)], takerRarities[(takerOrder[1] - 1)])) + getScore(makerRarities[(makerOrder[2] - 1)], takerRarities[(takerOrder[2] - 1)]))
260260 if ((makerScore > 0))
261261 then "maker"
262262 else if ((0 > makerScore))
263263 then "taker"
264264 else "draw"
265265 }
266266
267267
268268 func getGameResult (gameId,takerOrder,expired) = {
269269 let bet = getBet(gameId)
270270 let makerAddress = getMaker(gameId)
271271 let takerAddress = getTaker(gameId)
272272 let winner = getWinner(gameId, takerOrder, expired)
273273 let winnerAddress = if ((winner == "maker"))
274274 then makerAddress
275275 else if ((winner == "taker"))
276276 then takerAddress
277277 else ""
278278 let loserAddress = if ((winner == "taker"))
279279 then makerAddress
280280 else if ((winner == "maker"))
281281 then takerAddress
282282 else ""
283283 let fee = fraction(bet, (100 - feePercent), 100)
284284 if ((winnerAddress != ""))
285285 then [IntegerEntry(getPlayerCurrentGameKey(winnerAddress), 0), IntegerEntry(getPlayerCurrentGameKey(loserAddress), 0), IntegerEntry(getPlayerWinsKey(winnerAddress), (getPlayerWins(winnerAddress) + 1)), IntegerEntry(getPlayerLosesKey(loserAddress), (getPlayerLoses(loserAddress) + 1)), StringEntry(getPlayerResultKey(gameId, winnerAddress), "win"), StringEntry(getPlayerResultKey(gameId, loserAddress), "lose"), IntegerEntry(getPlayerPrizeKey(gameId, winnerAddress), bet), IntegerEntry(getPlayerPrizeKey(gameId, loserAddress), -(bet)), IntegerEntry(getPlayerPnLKey(winnerAddress), (getPlayerPnL(winnerAddress) + bet)), IntegerEntry(getPlayerPnLKey(loserAddress), (getPlayerPnL(loserAddress) - bet)), IntegerEntry(getTotalFeeKey(), (getTotalFee() + fee)), ScriptTransfer(Address(fromBase58String(winnerAddress)), ((bet * 2) - fee), eggsAssetId), ScriptTransfer(Address(feeAggregatorAddress), fee, eggsAssetId)]
286286 else [IntegerEntry(getPlayerCurrentGameKey(makerAddress), 0), IntegerEntry(getPlayerCurrentGameKey(takerAddress), 0), IntegerEntry(getPlayerDrawsKey(makerAddress), (getPlayerDraws(makerAddress) + 1)), IntegerEntry(getPlayerDrawsKey(takerAddress), (getPlayerDraws(takerAddress) + 1)), StringEntry(getPlayerResultKey(gameId, makerAddress), "draw"), StringEntry(getPlayerResultKey(gameId, takerAddress), "draw"), IntegerEntry(getPlayerPrizeKey(gameId, makerAddress), 0), IntegerEntry(getPlayerPrizeKey(gameId, takerAddress), 0), ScriptTransfer(Address(fromBase58String(makerAddress)), bet, eggsAssetId), ScriptTransfer(Address(fromBase58String(takerAddress)), bet, eggsAssetId)]
287287 }
288288
289289
290290 @Callable(i)
291291 func makeGame (slot,worstRange,mediumRange,bestRange,randomsCommit) = {
292292 let callerAddress = toBase58String(i.caller.bytes)
293293 let slotGameId = getSlot(slot)
294294 let payment = value(i.payments[0])
295295 let eggs = payment.amount
296296 let gameId = getNextGameId()
297297 if ((getPlayerCurrentGame(callerAddress) != 0))
298298 then throw("You already have an active game")
299299 else if (if ((0 > slot))
300300 then true
301301 else (slot >= SLOTS))
302302 then throw("Invalid slot")
303303 else if ((slotGameId != 0))
304304 then throw("This slot is busy")
305305 else if ((payment.assetId != eggsAssetId))
306306 then throw(("You can attach only EGGs with the following asset id - " + toBase58String(eggsAssetId)))
307307 else if ((eggs != 10000))
308308 then throw("Bet must be 0.0001 EGG during beta test")
309309 else if (if ((1 > worstRange))
310310 then true
311311 else (worstRange > 5))
312312 then throw("Invalid range for the worst duck")
313313 else if (if ((1 > mediumRange))
314314 then true
315315 else (mediumRange > 5))
316316 then throw("Invalid range for the medium duck")
317317 else if (if ((1 > bestRange))
318318 then true
319319 else (bestRange > 5))
320320 then throw("Invalid range for the best duck")
321321 else if ((worstRange > mediumRange))
322322 then throw("The medium range can't be less than the worst one")
323323 else if ((mediumRange > bestRange))
324324 then throw("The best range can't be worse than the medium one")
325325 else [IntegerEntry(getPlayerCurrentGameKey(callerAddress), gameId), StringEntry(getMakerKey(gameId), callerAddress), StringEntry(getPlayerRoleKey(gameId, callerAddress), "maker"), IntegerEntry(getBetKey(gameId), eggs), StringEntry(getRangesKey(gameId), ((((toString(worstRange) + "|") + toString(mediumRange)) + "|") + toString(bestRange))), StringEntry(getMakerRandomsCommitKey(gameId), randomsCommit), IntegerEntry(getWaitingExpirationHeightKey(gameId), (height + WAITING)), IntegerEntry(getSlotKey(slot), gameId), IntegerEntry("nextGameId", (gameId + 1))]
326326 }
327327
328328
329329
330330 @Callable(i)
331331 func takeGame (slot,random1,random2,random3,random4,random5,random6,skipReplace) = {
332332 let callerAddress = toBase58String(i.caller.bytes)
333333 let gameId = getSlot(slot)
334334 let payment = value(i.payments[0])
335335 let randoms = ((((((((((toString(random1) + "|") + toString(random2)) + "|") + toString(random3)) + "|") + toString(random4)) + "|") + toString(random5)) + "|") + toString(random6))
336336 if ((getPlayerCurrentGame(callerAddress) != 0))
337337 then throw("You already have an active game")
338338 else if (if ((0 > slot))
339339 then true
340340 else (slot >= SLOTS))
341341 then throw("Invalid slot")
342342 else if ((getSlot(slot) == 0))
343343 then throw("This slot is empty")
344344 else if ((payment.assetId != eggsAssetId))
345345 then throw(("You can attach only EGGs with the following asset id - " + toBase58String(eggsAssetId)))
346346 else if ((payment.amount != getBet(gameId)))
347347 then throw("Insufficient eggs amount")
348348 else if ((height >= getWaitingExpirationHeight(gameId)))
349349 then throw("This game is expired")
350350 else if (if ((0 > random1))
351351 then true
352352 else (random1 > 1000000000000))
353353 then throw("Invalid random1")
354354 else if (if ((0 > random2))
355355 then true
356356 else (random2 > 1000000000000))
357357 then throw("Invalid random2")
358358 else if (if ((0 > random3))
359359 then true
360360 else (random3 > 1000000000000))
361361 then throw("Invalid random3")
362362 else if (if ((0 > random4))
363363 then true
364364 else (random4 > 1000000000000))
365365 then throw("Invalid random4")
366366 else if (if ((0 > random5))
367367 then true
368368 else (random5 > 1000000000000))
369369 then throw("Invalid random5")
370370 else if (if ((0 > random6))
371371 then true
372372 else (random6 > 1000000000000))
373373 then throw("Invalid random6")
374374 else [IntegerEntry(getPlayerCurrentGameKey(callerAddress), gameId), StringEntry(getTakerKey(gameId), callerAddress), StringEntry(getPlayerRoleKey(gameId, callerAddress), "taker"), StringEntry(getRandomsKey(gameId, "taker"), randoms), BooleanEntry(getTakerSkipReplaceKey(gameId), skipReplace), IntegerEntry(getStepKey(gameId), 1), IntegerEntry(getExpirationHeightKey(gameId), (height + stepDuration)), IntegerEntry(getSlotKey(slot), 0), IntegerEntry("gamesPlayed", (getGamesPlayed() + 1))]
375375 }
376376
377377
378378
379379 @Callable(i)
380380 func kickGame (slot) = {
381381 let callerAddress = toBase58String(i.caller.bytes)
382382 let gameId = getSlot(slot)
383383 let maker = getMaker(gameId)
384384 if (if ((0 > slot))
385385 then true
386386 else (slot >= SLOTS))
387387 then throw("Invalid slot")
388388 else if ((gameId == 0))
389389 then throw("Slot is empty")
390390 else if (if ((callerAddress != maker))
391391 then (getWaitingExpirationHeight(gameId) > height)
392392 else false)
393393 then throw("Waiting is not finished yet")
394394 else [IntegerEntry(getPlayerCurrentGameKey(maker), 0), IntegerEntry(getSlotKey(slot), 0), ScriptTransfer(Address(fromBase58String(maker)), getBet(gameId), eggsAssetId)]
395395 }
396396
397397
398398
399399 @Callable(i)
400400 func replaceMaker (random1,random2,random3,random4,random5,random6,replacePosition,duckId) = {
401401 let callerAddress = toBase58String(i.caller.bytes)
402402 let gameId = getPlayerCurrentGame(callerAddress)
403403 let playerRole = getPlayerRole(gameId, callerAddress)
404404 let step = getStep(gameId)
405405 let rangesRaw = split(getRanges(gameId), "|")
406406 let ranges = [parseIntValue(rangesRaw[0]), parseIntValue(rangesRaw[1]), parseIntValue(rangesRaw[2])]
407407 let makerRandomsCommit = getMakerRandomsCommit(gameId)
408408 let makerRandomsStr = ((((((((((toString(random1) + "|") + toString(random2)) + "|") + toString(random3)) + "|") + toString(random4)) + "|") + toString(random5)) + "|") + toString(random6))
409409 let takerRandoms = split(getRandoms(gameId, "taker"), "|")
410410 let replaceRarity = if (if (if ((replacePosition == 1))
411411 then true
412412 else (replacePosition == 2))
413413 then true
414414 else (replacePosition == 3))
415415 then {
416416 let invokeRes = invoke(Address(rarityProviderAddress), "getAssetRarity", [duckId], nil)
417417 if ((invokeRes == invokeRes))
418418 then {
419419 let rarity = match invokeRes {
420420 case r: Int =>
421421 r
422422 case _ =>
423423 throw("Incorrect invoke result")
424424 }
425425 let replaceRange = ranges[(replacePosition - 1)]
426426 if (!(checkDuckOwner(i.caller, fromBase58String(duckId))))
427427 then throw((("Asset " + duckId) + " doesn't belong to you"))
428428 else if (if ((5 > replaceRange))
429429 then if ((rarity > (replaceRange * 10)))
430430 then true
431431 else (((replaceRange - 1) * 10) >= rarity)
432432 else false)
433433 then throw("Duck doesn't fit rarity range")
434434 else if (if ((replaceRange == 5))
435435 then (40 >= rarity)
436436 else false)
437437 then throw("Duck doesn't fit rarity replaceRange")
438438 else rarity
439439 }
440440 else throw("Strict value is not equal to itself.")
441441 }
442442 else 0
443443 let worstRarityMaker = if ((replacePosition == 1))
444444 then replaceRarity
445445 else getRandomRarity((random1 + parseIntValue(takerRandoms[0])), ranges[0])
446446 let mediumRarityMaker = if ((replacePosition == 2))
447447 then replaceRarity
448448 else getRandomRarity((random2 + parseIntValue(takerRandoms[1])), ranges[1])
449449 let bestRarityMaker = if ((replacePosition == 3))
450450 then replaceRarity
451451 else getRandomRarity((random3 + parseIntValue(takerRandoms[2])), ranges[2])
452452 let worstRarityTaker = getRandomRarity((random4 + parseIntValue(takerRandoms[3])), ranges[0])
453453 let mediumRarityTaker = getRandomRarity((random5 + parseIntValue(takerRandoms[4])), ranges[1])
454454 let bestRarityTaker = getRandomRarity((random6 + parseIntValue(takerRandoms[5])), ranges[2])
455455 let nextStep = if (getTakerSkipReplace(gameId))
456456 then (step + 2)
457457 else (step + 1)
458458 if ((gameId == 0))
459459 then throw("You don't have an active game")
460460 else if ((playerRole != "maker"))
461461 then throw("Only maker can call this method")
462462 else if ((1 > step))
463463 then throw("Game is not started")
464464 else if ((step > 1))
465465 then throw("This step is finished")
466466 else if (if ((0 > random1))
467467 then true
468468 else (random1 > 1000000000000))
469469 then throw("Invalid random1")
470470 else if (if ((0 > random2))
471471 then true
472472 else (random2 > 1000000000000))
473473 then throw("Invalid random2")
474474 else if (if ((0 > random3))
475475 then true
476476 else (random3 > 1000000000000))
477477 then throw("Invalid random3")
478478 else if (if ((0 > random4))
479479 then true
480480 else (random4 > 1000000000000))
481481 then throw("Invalid random4")
482482 else if (if ((0 > random5))
483483 then true
484484 else (random5 > 1000000000000))
485485 then throw("Invalid random5")
486486 else if (if ((0 > random6))
487487 then true
488488 else (random6 > 1000000000000))
489489 then throw("Invalid random6")
490490 else if ((toBase58String(sha256(toBytes(makerRandomsStr))) != makerRandomsCommit))
491491 then throw("Randoms don't match commit")
492492 else [StringEntry(getRandomsKey(gameId, "maker"), makerRandomsStr), StringEntry(getRaritiesKey(gameId, "maker"), ((((toString(worstRarityMaker) + "|") + toString(mediumRarityMaker)) + "|") + toString(bestRarityMaker))), IntegerEntry(getReplacedPositionKey(gameId, "maker"), replacePosition), StringEntry(getDuckIdKey(gameId, "maker"), duckId), StringEntry(getRaritiesKey(gameId, "taker"), ((((toString(worstRarityTaker) + "|") + toString(mediumRarityTaker)) + "|") + toString(bestRarityTaker))), IntegerEntry(getStepKey(gameId), nextStep), IntegerEntry(getExpirationHeightKey(gameId), (height + stepDuration))]
493493 }
494494
495495
496496
497497 @Callable(i)
498498 func replaceTaker (replacePosition,duckId) = {
499499 let callerAddress = toBase58String(i.caller.bytes)
500500 let gameId = getPlayerCurrentGame(callerAddress)
501501 let playerRole = getPlayerRole(gameId, callerAddress)
502502 let step = getStep(gameId)
503503 let replaceRarity = if (if (if ((replacePosition == 1))
504504 then true
505505 else (replacePosition == 2))
506506 then true
507507 else (replacePosition == 3))
508508 then {
509509 let invokeRes = invoke(Address(rarityProviderAddress), "getAssetRarity", [duckId], nil)
510510 if ((invokeRes == invokeRes))
511511 then {
512512 let rarity = match invokeRes {
513513 case r: Int =>
514514 r
515515 case _ =>
516516 throw("Incorrect invoke result")
517517 }
518518 let rangesRaw = split(getRanges(gameId), "|")
519519 let ranges = [parseIntValue(rangesRaw[0]), parseIntValue(rangesRaw[1]), parseIntValue(rangesRaw[2])]
520520 let replaceRange = ranges[(replacePosition - 1)]
521521 if (!(checkDuckOwner(i.caller, fromBase58String(duckId))))
522522 then throw((("Asset " + duckId) + " doesn't belong to you"))
523523 else if (if ((5 > replaceRange))
524524 then if ((rarity > (replaceRange * 10)))
525525 then true
526526 else (((replaceRange - 1) * 10) >= rarity)
527527 else false)
528528 then throw("Duck doesn't fit rarity range")
529529 else if (if ((replaceRange == 5))
530530 then (40 >= rarity)
531531 else false)
532532 then throw("Duck doesn't fit rarity replaceRange")
533533 else rarity
534534 }
535535 else throw("Strict value is not equal to itself.")
536536 }
537537 else 0
538538 let rarities = split(getRarities(gameId, "taker"), "|")
539539 let newRarities = (((nil :+ (if ((replacePosition == 1))
540540 then toString(replaceRarity)
541541 else rarities[0])) :+ (if ((replacePosition == 2))
542542 then toString(replaceRarity)
543543 else rarities[1])) :+ (if ((replacePosition == 3))
544544 then toString(replaceRarity)
545545 else rarities[2]))
546546 if ((gameId == 0))
547547 then throw("You don't have an active game")
548548 else if ((playerRole != "taker"))
549549 then throw("Only taker can call this method")
550550 else if ((2 > step))
551551 then throw("This step is not started")
552552 else if ((step > 2))
553553 then throw("This step is finished")
554554 else [StringEntry(getRaritiesKey(gameId, "taker"), ((((newRarities[0] + "|") + newRarities[1]) + "|") + newRarities[2])), IntegerEntry(getReplacedPositionKey(gameId, "taker"), replacePosition), StringEntry(getDuckIdKey(gameId, "taker"), duckId), IntegerEntry(getStepKey(gameId), (step + 1)), IntegerEntry(getExpirationHeightKey(gameId), (height + stepDuration))]
555555 }
556556
557557
558558
559559 @Callable(i)
560560 func commitOrderTaker (orderCommit) = {
561561 let callerAddress = toBase58String(i.caller.bytes)
562562 let gameId = getPlayerCurrentGame(callerAddress)
563563 let playerRole = getPlayerRole(gameId, callerAddress)
564564 let step = getStep(gameId)
565565 if ((gameId == 0))
566566 then throw("You don't have an active game")
567567 else if ((playerRole != "taker"))
568568 then throw("Only taker can call this method")
569569 else if ((3 > step))
570570 then throw("This step is not started")
571571 else if ((step > 3))
572572 then throw("This step is finished")
573573 else [StringEntry(getTakerOrderCommitKey(gameId), orderCommit), IntegerEntry(getStepKey(gameId), (step + 1)), IntegerEntry(getExpirationHeightKey(gameId), (height + stepDuration))]
574574 }
575575
576576
577577
578578 @Callable(i)
579579 func setOrderMaker (order) = {
580580 let callerAddress = toBase58String(i.caller.bytes)
581581 let gameId = getPlayerCurrentGame(callerAddress)
582582 let playerRole = getPlayerRole(gameId, callerAddress)
583583 let step = getStep(gameId)
584584 if ((gameId == 0))
585585 then throw("You don't have an active game")
586586 else if ((playerRole != "maker"))
587587 then throw("Only maker can call this method")
588588 else if ((4 > step))
589589 then throw("This step is not started")
590590 else if ((step > 4))
591591 then throw("This step is finished")
592592 else if (if (if (if (if (if ((order != "1|2|3"))
593593 then (order != "1|3|2")
594594 else false)
595595 then (order != "2|1|3")
596596 else false)
597597 then (order != "2|3|1")
598598 else false)
599599 then (order != "3|1|2")
600600 else false)
601601 then (order != "3|2|1")
602602 else false)
603603 then throw("Invalid order data")
604604 else [StringEntry(getOrderKey(gameId, playerRole), order), IntegerEntry(getStepKey(gameId), (step + 1)), IntegerEntry(getExpirationHeightKey(gameId), (height + stepDuration))]
605605 }
606606
607607
608608
609609 @Callable(i)
610610 func revealOrderTaker (order,salt) = {
611611 let callerAddress = toBase58String(i.caller.bytes)
612612 let gameId = getPlayerCurrentGame(callerAddress)
613613 let playerRole = getPlayerRole(gameId, callerAddress)
614614 let step = getStep(gameId)
615615 if ((gameId == 0))
616616 then throw("You don't have an active game")
617617 else if ((playerRole != "taker"))
618618 then throw("Only taker can call this method")
619619 else if ((5 > step))
620620 then throw("This step is not started")
621621 else if (if (if (if (if (if ((order != "1|2|3"))
622622 then (order != "1|3|2")
623623 else false)
624624 then (order != "2|1|3")
625625 else false)
626626 then (order != "2|3|1")
627627 else false)
628628 then (order != "3|1|2")
629629 else false)
630630 then (order != "3|2|1")
631631 else false)
632632 then throw("Invalid order data")
633633 else if ((toBase58String(sha256(toBytes((order + salt)))) != getTakerOrderCommit(gameId)))
634634 then throw("Reveal doesn't match commit")
635635 else (getGameResult(gameId, order, false) ++ [StringEntry(getOrderKey(gameId, playerRole), order), IntegerEntry(getStepKey(gameId), (step + 1))])
636636 }
637637
638638
639639
640640 @Callable(i)
641641 func getPrizeExpired () = {
642642 let callerAddress = toBase58String(i.caller.bytes)
643643 let gameId = getPlayerCurrentGame(callerAddress)
644644 if ((gameId == 0))
645645 then throw("You don't have an active game")
646646 else getGameResult(gameId, "", true)
647647 }
648648
649649
650650 @Verifier(tx)
651651 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
652652

github/deemru/w8io/169f3d6 
66.23 ms