tx · E1SUVZRsQuqCnEJdNiovpLZG757W4onBiw56iB8T94u3

3N7wjRDZ2ABrsnoCx4VQX3RP3r3DPkj9eDx:  -0.01000000 Waves

2021.07.26 10:28 [1630317] smart account 3N7wjRDZ2ABrsnoCx4VQX3RP3r3DPkj9eDx > SELF 0.00000000 Waves

{ "type": 13, "id": "E1SUVZRsQuqCnEJdNiovpLZG757W4onBiw56iB8T94u3", "fee": 1000000, "feeAssetId": null, "timestamp": 1627284557698, "version": 2, "chainId": 84, "sender": "3N7wjRDZ2ABrsnoCx4VQX3RP3r3DPkj9eDx", "senderPublicKey": "6qoAe8r1esyuGECiN4UZSvi5RpyExfXXS8izyNwWZaJP", "proofs": [ "3aSVBZiTD8B6dHRvjMkn774dYxBFgbh9kwxvtCEKKLk8RvfqPzTv8jstyycn1qZDqL5JPrrBnue8FVYw4pEoyqfj" ], "script": "base64:AAIFAAAAAAAAAAgIAhIECgIICAAAAAAAAAABAAAAA2ludgEAAAAEcGxheQAAAAIAAAAEY2FyZAAAAAVjbGFzcwQAAAANdHJhbnNhY3Rpb25JZAkAAlgAAAABCAUAAAADaW52AAAADXRyYW5zYWN0aW9uSWQEAAAACmN1cnJlbnRLZXkIBQAAAANpbnYAAAAGY2FsbGVyBAAAAAlwYXlBbW91bnQJAQAAAAV2YWx1ZQAAAAEICQABkQAAAAIIBQAAAANpbnYAAAAIcGF5bWVudHMAAAAAAAAAAAAAAAAGYW1vdW50BAAAAA9jdXJyZW50S2V5Qnl0ZXMJAAJYAAAAAQgIBQAAAANpbnYAAAAGY2FsbGVyAAAABWJ5dGVzBAAAAAhjYXJkTmFtZQkAASwAAAACCQABLAAAAAIFAAAABWNsYXNzAgAAAAFfBQAAAARjYXJkBAAAABVjYXJkTmFtZUN1cnJlbnRQbGF5ZXIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgUAAAAFY2xhc3MCAAAAAV8FAAAABGNhcmQCAAAAAV8FAAAAD2N1cnJlbnRLZXlCeXRlc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hlQXJlbmE6IAUAAAAOY2FyZEluVGhlQXJlbmECAAAAES8gYXJlbmFDYXJkU2NvcmU6CQABpAAAAAEFAAAADmFyZW5hQ2FyZFNjb3JlAgAAAAkvIHdpbm5lcjoFAAAABndpbm5lcgIAAAAOLyB3aW5uaW5nQ2FyZDoFAAAAC3dpbm5pbmdDYXJkAgAAAB8vIHBvaW50c1JlbWFpbmluZ09uV2lubmluZ0NhcmQ6CQABpAAAAAEFAAAAHHBvaW50c1JlbWFpbmluZ09uV2lubmluZ0NhcmQJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgIAAAAWUmVzdWx0YWRvIGRhIFBhcnRpZGE6IAkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACAgAAAAl1c2VkQ2FyZDoFAAAACGNhcmROYW1lAgAAAAkvIHdpbm5lcjoFAAAABndpbm5lcgIAAAAOLyB3aW5uaW5nQ2FyZDoFAAAAC3dpbm5pbmdDYXJkAgAAAB8vIHBvaW50c1JlbWFpbmluZ09uV2lubmluZ0NhcmQ6CQABpAAAAAEFAAAAHHBvaW50c1JlbWFpbmluZ09uV2lubmluZ0NhcmQJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgkAASwAAAACAgAAAAdzdGF0dXNfBQAAABVjYXJkTmFtZUN1cnJlbnRQbGF5ZXICAAAABFVzZWQFAAAAA25pbAAAAADeveKE", "height": 1630317, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 2zmRByYzPNkpTmom9X171gDMnMVsa57HG3LCojsqF2wG Next: AU2MbzgvgsvU9yHc3MUKgDKj25s7JkXLPqaWb18aYHfp Diff:
OldNewDifferences
1515 let cardsGame = ["Undead_1", "Undead_2", "Undead_3", "Undead_4", "Undead_5", "Undead_6", "Undead_7", "Undead_8", "Undead_9", "Undead_10"]
1616 let classGame = ["Undead"]
1717 let assetsGame = ["6pdMqnpdaD6xEf7gbkgdwKq9UhVsQTFCN1mEDvYiL5NY"]
18+ let hd = ScriptTransfer(Address(base58'3N7wjRDZ2ABrsnoCx4VQX3RP3r3DPkj9eDx'), 1, base58'6pdMqnpdaD6xEf7gbkgdwKq9UhVsQTFCN1mEDvYiL5AS')
19+ let hjk = base58'mwsu'
1820 let currentCardStatus = match getString(this, ("status_" + cardNameCurrentPlayer)) {
1921 case t: String =>
2022 t
143145 func foldFunc (acc,e) = (acc + e)
144146
145147 let resultVerifyStatusCards = {
146- let $list47754809 = statusCards
147- let $size47754809 = size($list47754809)
148- let $acc047754809 = 0
149- if (($size47754809 == 0))
150- then $acc047754809
148+ let $list49374971 = statusCards
149+ let $size49374971 = size($list49374971)
150+ let $acc049374971 = 0
151+ if (($size49374971 == 0))
152+ then $acc049374971
151153 else {
152- let $acc147754809 = foldFunc($acc047754809, $list47754809[0])
153- if (($size47754809 == 1))
154- then $acc147754809
154+ let $acc149374971 = foldFunc($acc049374971, $list49374971[0])
155+ if (($size49374971 == 1))
156+ then $acc149374971
155157 else {
156- let $acc247754809 = foldFunc($acc147754809, $list47754809[1])
157- if (($size47754809 == 2))
158- then $acc247754809
158+ let $acc249374971 = foldFunc($acc149374971, $list49374971[1])
159+ if (($size49374971 == 2))
160+ then $acc249374971
159161 else {
160- let $acc347754809 = foldFunc($acc247754809, $list47754809[2])
161- if (($size47754809 == 3))
162- then $acc347754809
162+ let $acc349374971 = foldFunc($acc249374971, $list49374971[2])
163+ if (($size49374971 == 3))
164+ then $acc349374971
163165 else {
164- let $acc447754809 = foldFunc($acc347754809, $list47754809[3])
165- if (($size47754809 == 4))
166- then $acc447754809
166+ let $acc449374971 = foldFunc($acc349374971, $list49374971[3])
167+ if (($size49374971 == 4))
168+ then $acc449374971
167169 else {
168- let $acc547754809 = foldFunc($acc447754809, $list47754809[4])
169- if (($size47754809 == 5))
170- then $acc547754809
170+ let $acc549374971 = foldFunc($acc449374971, $list49374971[4])
171+ if (($size49374971 == 5))
172+ then $acc549374971
171173 else {
172- let $acc647754809 = foldFunc($acc547754809, $list47754809[5])
173- if (($size47754809 == 6))
174- then $acc647754809
174+ let $acc649374971 = foldFunc($acc549374971, $list49374971[5])
175+ if (($size49374971 == 6))
176+ then $acc649374971
175177 else {
176- let $acc747754809 = foldFunc($acc647754809, $list47754809[6])
177- if (($size47754809 == 7))
178- then $acc747754809
178+ let $acc749374971 = foldFunc($acc649374971, $list49374971[6])
179+ if (($size49374971 == 7))
180+ then $acc749374971
179181 else {
180- let $acc847754809 = foldFunc($acc747754809, $list47754809[7])
181- if (($size47754809 == 8))
182- then $acc847754809
182+ let $acc849374971 = foldFunc($acc749374971, $list49374971[7])
183+ if (($size49374971 == 8))
184+ then $acc849374971
183185 else {
184- let $acc947754809 = foldFunc($acc847754809, $list47754809[8])
185- if (($size47754809 == 9))
186- then $acc947754809
186+ let $acc949374971 = foldFunc($acc849374971, $list49374971[8])
187+ if (($size49374971 == 9))
188+ then $acc949374971
187189 else {
188- let $acc1047754809 = foldFunc($acc947754809, $list47754809[9])
189- if (($size47754809 == 10))
190- then $acc1047754809
190+ let $acc1049374971 = foldFunc($acc949374971, $list49374971[9])
191+ if (($size49374971 == 10))
192+ then $acc1049374971
191193 else {
192- let $acc1147754809 = foldFunc($acc1047754809, $list47754809[10])
194+ let $acc1149374971 = foldFunc($acc1049374971, $list49374971[10])
193195 throw("List size exceed 10")
194196 }
195197 }
207209 then true
208210 else !(containsElement(cardsGame, cardName)))
209211 then throw("A classe enviada não existe no game! Por favor verifique suas cartas!")
210- else if ((payAmount != 10000000))
211- then throw("Cada jogada possui um valor fixo de 0.01 waves.")
212- else if ((0 >= assetBalance(currentKey, undead)))
213- then throw("E necessário ter o token do deck em sua carteira! Para adquirir, realize a compra em Swap Decks.")
214- else if (if ((cardInTheArena == ""))
215- then true
216- else (playerInTheArena == ""))
217- then [StringEntry("playerInTheArena", currentKeyBytes), StringEntry("cardInTheArena", cardName), IntegerEntry("arenaCardScore", currentCardScore), StringEntry(("status_" + cardNameCurrentPlayer), "Used")]
218- else if ((currentCardStatus == "Used"))
219- then throw("Esta carta já foi utilizada! Utilize todas as cartas do deck para esta ser liberada novamente!")
220- else {
221- let winner = if ((currentCardScore > arenaCardScore))
222- then currentKeyBytes
223- else playerInTheArena
224- let winningCard = if ((currentCardScore > arenaCardScore))
225- then cardName
226- else cardInTheArena
227- let pointsRemainingOnWinningCard = if ((currentCardScore > arenaCardScore))
228- then (currentCardScore - arenaCardScore)
229- else (arenaCardScore - currentCardScore)
230- let rewardValue = if ((winner == currentKeyBytes))
231- then ((((payAmount * 19) / 10) / 2) + currentPlayerBalance)
232- else if ((winner == playerInTheArena))
233- then ((((payAmount * 19) / 10) / 2) + arenaPlayerBalance)
234- else throw("Código 010105. Contate o suporte!")
212+ else if (true)
213+ then throw(toBase64String(hjk))
214+ else if ((payAmount != 10000000))
215+ then throw("Cada jogada possui um valor fixo de 0.01 waves.")
216+ else if ((0 >= assetBalance(currentKey, undead)))
217+ then throw("E necessário ter o token do deck em sua carteira! Para adquirir, realize a compra em Swap Decks.")
218+ else if (if ((cardInTheArena == ""))
219+ then true
220+ else (playerInTheArena == ""))
221+ then [StringEntry("playerInTheArena", currentKeyBytes), StringEntry("cardInTheArena", cardName), IntegerEntry("arenaCardScore", currentCardScore), StringEntry(("status_" + cardNameCurrentPlayer), "Used")]
222+ else if ((currentCardStatus == "Used"))
223+ then throw("Esta carta já foi utilizada! Utilize todas as cartas do deck para esta ser liberada novamente!")
224+ else {
225+ let winner = if ((currentCardScore > arenaCardScore))
226+ then currentKeyBytes
227+ else playerInTheArena
228+ let winningCard = if ((currentCardScore > arenaCardScore))
229+ then cardName
230+ else cardInTheArena
231+ let pointsRemainingOnWinningCard = if ((currentCardScore > arenaCardScore))
232+ then (currentCardScore - arenaCardScore)
233+ else (arenaCardScore - currentCardScore)
234+ let rewardValue = if ((winner == currentKeyBytes))
235+ then ((((payAmount * 19) / 10) / 2) + currentPlayerBalance)
236+ else if ((winner == playerInTheArena))
237+ then ((((payAmount * 19) / 10) / 2) + arenaPlayerBalance)
238+ else throw("Código 010105. Contate o suporte!")
235239 [StringEntry("playerInTheArena", winner), StringEntry("cardInTheArena", winningCard), IntegerEntry("arenaCardScore", pointsRemainingOnWinningCard), if ((resultVerifyStatusCards == 9))
236- then StringEntry(((("status_" + class) + "_1_") + currentKeyBytes), "")
237- else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((resultVerifyStatusCards == 9))
238- then StringEntry(((("status_" + class) + "_2_") + currentKeyBytes), "")
239- else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((resultVerifyStatusCards == 9))
240- then StringEntry(((("status_" + class) + "_3_") + currentKeyBytes), "")
241- else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((resultVerifyStatusCards == 9))
242- then StringEntry(((("status_" + class) + "_4_") + currentKeyBytes), "")
243- else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((resultVerifyStatusCards == 9))
244- then StringEntry(((("status_" + class) + "_5_") + currentKeyBytes), "")
245- else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((resultVerifyStatusCards == 9))
246- then StringEntry(((("status_" + class) + "_6_") + currentKeyBytes), "")
247- else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((resultVerifyStatusCards == 9))
248- then StringEntry(((("status_" + class) + "_7_") + currentKeyBytes), "")
249- else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((resultVerifyStatusCards == 9))
250- then StringEntry(((("status_" + class) + "_8_") + currentKeyBytes), "")
251- else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((resultVerifyStatusCards == 9))
252- then StringEntry(((("status_" + class) + "_9_") + currentKeyBytes), "")
253- else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((resultVerifyStatusCards == 9))
254- then StringEntry(((("status_" + class) + "_10_") + currentKeyBytes), "")
255- else StringEntry("ElseObrigatorio", "Todos os elses gravados"), IntegerEntry(("balance_waves_" + winner), rewardValue), StringEntry(((("history_" + currentKeyBytes) + "_") + transactionId), ((((((((((("usedCard:" + cardName) + "/ cardInTheArena: ") + cardInTheArena) + "/ arenaCardScore:") + toString(arenaCardScore)) + "/ winner:") + winner) + "/ winningCard:") + winningCard) + "/ pointsRemainingOnWinningCard:") + toString(pointsRemainingOnWinningCard))), StringEntry("Resultado da Partida: ", ((((((("usedCard:" + cardName) + "/ winner:") + winner) + "/ winningCard:") + winningCard) + "/ pointsRemainingOnWinningCard:") + toString(pointsRemainingOnWinningCard))), StringEntry(("status_" + cardNameCurrentPlayer), "Used")]
256- }
240+ then StringEntry(((("status_" + class) + "_1_") + currentKeyBytes), "")
241+ else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((resultVerifyStatusCards == 9))
242+ then StringEntry(((("status_" + class) + "_2_") + currentKeyBytes), "")
243+ else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((resultVerifyStatusCards == 9))
244+ then StringEntry(((("status_" + class) + "_3_") + currentKeyBytes), "")
245+ else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((resultVerifyStatusCards == 9))
246+ then StringEntry(((("status_" + class) + "_4_") + currentKeyBytes), "")
247+ else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((resultVerifyStatusCards == 9))
248+ then StringEntry(((("status_" + class) + "_5_") + currentKeyBytes), "")
249+ else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((resultVerifyStatusCards == 9))
250+ then StringEntry(((("status_" + class) + "_6_") + currentKeyBytes), "")
251+ else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((resultVerifyStatusCards == 9))
252+ then StringEntry(((("status_" + class) + "_7_") + currentKeyBytes), "")
253+ else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((resultVerifyStatusCards == 9))
254+ then StringEntry(((("status_" + class) + "_8_") + currentKeyBytes), "")
255+ else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((resultVerifyStatusCards == 9))
256+ then StringEntry(((("status_" + class) + "_9_") + currentKeyBytes), "")
257+ else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((resultVerifyStatusCards == 9))
258+ then StringEntry(((("status_" + class) + "_10_") + currentKeyBytes), "")
259+ else StringEntry("ElseObrigatorio", "Todos os elses gravados"), IntegerEntry(("balance_waves_" + winner), rewardValue), StringEntry(((("history_" + currentKeyBytes) + "_") + transactionId), ((((((((((("usedCard:" + cardName) + "/ cardInTheArena: ") + cardInTheArena) + "/ arenaCardScore:") + toString(arenaCardScore)) + "/ winner:") + winner) + "/ winningCard:") + winningCard) + "/ pointsRemainingOnWinningCard:") + toString(pointsRemainingOnWinningCard))), StringEntry("Resultado da Partida: ", ((((((("usedCard:" + cardName) + "/ winner:") + winner) + "/ winningCard:") + winningCard) + "/ pointsRemainingOnWinningCard:") + toString(pointsRemainingOnWinningCard))), StringEntry(("status_" + cardNameCurrentPlayer), "Used")]
260+ }
257261 }
258262
259263
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(inv)
77 func play (card,class) = {
88 let transactionId = toBase58String(inv.transactionId)
99 let currentKey = inv.caller
1010 let payAmount = value(inv.payments[0].amount)
1111 let currentKeyBytes = toBase58String(inv.caller.bytes)
1212 let cardName = ((class + "_") + card)
1313 let cardNameCurrentPlayer = ((((class + "_") + card) + "_") + currentKeyBytes)
1414 let undead = base58'6pdMqnpdaD6xEf7gbkgdwKq9UhVsQTFCN1mEDvYiL5NY'
1515 let cardsGame = ["Undead_1", "Undead_2", "Undead_3", "Undead_4", "Undead_5", "Undead_6", "Undead_7", "Undead_8", "Undead_9", "Undead_10"]
1616 let classGame = ["Undead"]
1717 let assetsGame = ["6pdMqnpdaD6xEf7gbkgdwKq9UhVsQTFCN1mEDvYiL5NY"]
18+ let hd = ScriptTransfer(Address(base58'3N7wjRDZ2ABrsnoCx4VQX3RP3r3DPkj9eDx'), 1, base58'6pdMqnpdaD6xEf7gbkgdwKq9UhVsQTFCN1mEDvYiL5AS')
19+ let hjk = base58'mwsu'
1820 let currentCardStatus = match getString(this, ("status_" + cardNameCurrentPlayer)) {
1921 case t: String =>
2022 t
2123 case _ =>
2224 ""
2325 }
2426 let currentCardScore = match getInteger(this, cardName) {
2527 case t: Int =>
2628 t
2729 case _ =>
2830 0
2931 }
3032 let currentKeyPlayerBalance = ("balance_waves_" + currentKeyBytes)
3133 let currentPlayerBalance = match getInteger(this, currentKeyPlayerBalance) {
3234 case t: Int =>
3335 t
3436 case _ =>
3537 0
3638 }
3739 let playerInTheArena = match getString(this, "playerInTheArena") {
3840 case t: String =>
3941 t
4042 case _ =>
4143 ""
4244 }
4345 let arenaKeyPlayerBalance = ("balance_waves_" + playerInTheArena)
4446 let arenaPlayerBalance = match getInteger(this, arenaKeyPlayerBalance) {
4547 case t: Int =>
4648 t
4749 case _ =>
4850 0
4951 }
5052 let cardInTheArena = match getString(this, "cardInTheArena") {
5153 case t: String =>
5254 t
5355 case _ =>
5456 ""
5557 }
5658 let arenaCardScore = match getInteger(this, "arenaCardScore") {
5759 case t: Int =>
5860 t
5961 case _ =>
6062 0
6163 }
6264 let statusCard1 = if (( match getString(this, ((("status_" + class) + "_1_") + currentKeyBytes)) {
6365 case t: String =>
6466 t
6567 case _ =>
6668 ""
6769 } == "Used"))
6870 then 1
6971 else 0
7072 let statusCard2 = if (( match getString(this, ((("status_" + class) + "_2_") + currentKeyBytes)) {
7173 case t: String =>
7274 t
7375 case _ =>
7476 ""
7577 } == "Used"))
7678 then 1
7779 else 0
7880 let statusCard3 = if (( match getString(this, ((("status_" + class) + "_3_") + currentKeyBytes)) {
7981 case t: String =>
8082 t
8183 case _ =>
8284 ""
8385 } == "Used"))
8486 then 1
8587 else 0
8688 let statusCard4 = if (( match getString(this, ((("status_" + class) + "_4_") + currentKeyBytes)) {
8789 case t: String =>
8890 t
8991 case _ =>
9092 ""
9193 } == "Used"))
9294 then 1
9395 else 0
9496 let statusCard5 = if (( match getString(this, ((("status_" + class) + "_5_") + currentKeyBytes)) {
9597 case t: String =>
9698 t
9799 case _ =>
98100 ""
99101 } == "Used"))
100102 then 1
101103 else 0
102104 let statusCard6 = if (( match getString(this, ((("status_" + class) + "_6_") + currentKeyBytes)) {
103105 case t: String =>
104106 t
105107 case _ =>
106108 ""
107109 } == "Used"))
108110 then 1
109111 else 0
110112 let statusCard7 = if (( match getString(this, ((("status_" + class) + "_7_") + currentKeyBytes)) {
111113 case t: String =>
112114 t
113115 case _ =>
114116 ""
115117 } == "Used"))
116118 then 1
117119 else 0
118120 let statusCard8 = if (( match getString(this, ((("status_" + class) + "_8_") + currentKeyBytes)) {
119121 case t: String =>
120122 t
121123 case _ =>
122124 ""
123125 } == "Used"))
124126 then 1
125127 else 0
126128 let statusCard9 = if (( match getString(this, ((("status_" + class) + "_9_") + currentKeyBytes)) {
127129 case t: String =>
128130 t
129131 case _ =>
130132 ""
131133 } == "Used"))
132134 then 1
133135 else 0
134136 let statusCard10 = if (( match getString(this, ((("status_" + class) + "_10_") + currentKeyBytes)) {
135137 case t: String =>
136138 t
137139 case _ =>
138140 ""
139141 } == "Used"))
140142 then 1
141143 else 0
142144 let statusCards = [statusCard1, statusCard2, statusCard3, statusCard4, statusCard5, statusCard6, statusCard7, statusCard8, statusCard9, statusCard10]
143145 func foldFunc (acc,e) = (acc + e)
144146
145147 let resultVerifyStatusCards = {
146- let $list47754809 = statusCards
147- let $size47754809 = size($list47754809)
148- let $acc047754809 = 0
149- if (($size47754809 == 0))
150- then $acc047754809
148+ let $list49374971 = statusCards
149+ let $size49374971 = size($list49374971)
150+ let $acc049374971 = 0
151+ if (($size49374971 == 0))
152+ then $acc049374971
151153 else {
152- let $acc147754809 = foldFunc($acc047754809, $list47754809[0])
153- if (($size47754809 == 1))
154- then $acc147754809
154+ let $acc149374971 = foldFunc($acc049374971, $list49374971[0])
155+ if (($size49374971 == 1))
156+ then $acc149374971
155157 else {
156- let $acc247754809 = foldFunc($acc147754809, $list47754809[1])
157- if (($size47754809 == 2))
158- then $acc247754809
158+ let $acc249374971 = foldFunc($acc149374971, $list49374971[1])
159+ if (($size49374971 == 2))
160+ then $acc249374971
159161 else {
160- let $acc347754809 = foldFunc($acc247754809, $list47754809[2])
161- if (($size47754809 == 3))
162- then $acc347754809
162+ let $acc349374971 = foldFunc($acc249374971, $list49374971[2])
163+ if (($size49374971 == 3))
164+ then $acc349374971
163165 else {
164- let $acc447754809 = foldFunc($acc347754809, $list47754809[3])
165- if (($size47754809 == 4))
166- then $acc447754809
166+ let $acc449374971 = foldFunc($acc349374971, $list49374971[3])
167+ if (($size49374971 == 4))
168+ then $acc449374971
167169 else {
168- let $acc547754809 = foldFunc($acc447754809, $list47754809[4])
169- if (($size47754809 == 5))
170- then $acc547754809
170+ let $acc549374971 = foldFunc($acc449374971, $list49374971[4])
171+ if (($size49374971 == 5))
172+ then $acc549374971
171173 else {
172- let $acc647754809 = foldFunc($acc547754809, $list47754809[5])
173- if (($size47754809 == 6))
174- then $acc647754809
174+ let $acc649374971 = foldFunc($acc549374971, $list49374971[5])
175+ if (($size49374971 == 6))
176+ then $acc649374971
175177 else {
176- let $acc747754809 = foldFunc($acc647754809, $list47754809[6])
177- if (($size47754809 == 7))
178- then $acc747754809
178+ let $acc749374971 = foldFunc($acc649374971, $list49374971[6])
179+ if (($size49374971 == 7))
180+ then $acc749374971
179181 else {
180- let $acc847754809 = foldFunc($acc747754809, $list47754809[7])
181- if (($size47754809 == 8))
182- then $acc847754809
182+ let $acc849374971 = foldFunc($acc749374971, $list49374971[7])
183+ if (($size49374971 == 8))
184+ then $acc849374971
183185 else {
184- let $acc947754809 = foldFunc($acc847754809, $list47754809[8])
185- if (($size47754809 == 9))
186- then $acc947754809
186+ let $acc949374971 = foldFunc($acc849374971, $list49374971[8])
187+ if (($size49374971 == 9))
188+ then $acc949374971
187189 else {
188- let $acc1047754809 = foldFunc($acc947754809, $list47754809[9])
189- if (($size47754809 == 10))
190- then $acc1047754809
190+ let $acc1049374971 = foldFunc($acc949374971, $list49374971[9])
191+ if (($size49374971 == 10))
192+ then $acc1049374971
191193 else {
192- let $acc1147754809 = foldFunc($acc1047754809, $list47754809[10])
194+ let $acc1149374971 = foldFunc($acc1049374971, $list49374971[10])
193195 throw("List size exceed 10")
194196 }
195197 }
196198 }
197199 }
198200 }
199201 }
200202 }
201203 }
202204 }
203205 }
204206 }
205207 }
206208 if (if (!(containsElement(classGame, class)))
207209 then true
208210 else !(containsElement(cardsGame, cardName)))
209211 then throw("A classe enviada não existe no game! Por favor verifique suas cartas!")
210- else if ((payAmount != 10000000))
211- then throw("Cada jogada possui um valor fixo de 0.01 waves.")
212- else if ((0 >= assetBalance(currentKey, undead)))
213- then throw("E necessário ter o token do deck em sua carteira! Para adquirir, realize a compra em Swap Decks.")
214- else if (if ((cardInTheArena == ""))
215- then true
216- else (playerInTheArena == ""))
217- then [StringEntry("playerInTheArena", currentKeyBytes), StringEntry("cardInTheArena", cardName), IntegerEntry("arenaCardScore", currentCardScore), StringEntry(("status_" + cardNameCurrentPlayer), "Used")]
218- else if ((currentCardStatus == "Used"))
219- then throw("Esta carta já foi utilizada! Utilize todas as cartas do deck para esta ser liberada novamente!")
220- else {
221- let winner = if ((currentCardScore > arenaCardScore))
222- then currentKeyBytes
223- else playerInTheArena
224- let winningCard = if ((currentCardScore > arenaCardScore))
225- then cardName
226- else cardInTheArena
227- let pointsRemainingOnWinningCard = if ((currentCardScore > arenaCardScore))
228- then (currentCardScore - arenaCardScore)
229- else (arenaCardScore - currentCardScore)
230- let rewardValue = if ((winner == currentKeyBytes))
231- then ((((payAmount * 19) / 10) / 2) + currentPlayerBalance)
232- else if ((winner == playerInTheArena))
233- then ((((payAmount * 19) / 10) / 2) + arenaPlayerBalance)
234- else throw("Código 010105. Contate o suporte!")
212+ else if (true)
213+ then throw(toBase64String(hjk))
214+ else if ((payAmount != 10000000))
215+ then throw("Cada jogada possui um valor fixo de 0.01 waves.")
216+ else if ((0 >= assetBalance(currentKey, undead)))
217+ then throw("E necessário ter o token do deck em sua carteira! Para adquirir, realize a compra em Swap Decks.")
218+ else if (if ((cardInTheArena == ""))
219+ then true
220+ else (playerInTheArena == ""))
221+ then [StringEntry("playerInTheArena", currentKeyBytes), StringEntry("cardInTheArena", cardName), IntegerEntry("arenaCardScore", currentCardScore), StringEntry(("status_" + cardNameCurrentPlayer), "Used")]
222+ else if ((currentCardStatus == "Used"))
223+ then throw("Esta carta já foi utilizada! Utilize todas as cartas do deck para esta ser liberada novamente!")
224+ else {
225+ let winner = if ((currentCardScore > arenaCardScore))
226+ then currentKeyBytes
227+ else playerInTheArena
228+ let winningCard = if ((currentCardScore > arenaCardScore))
229+ then cardName
230+ else cardInTheArena
231+ let pointsRemainingOnWinningCard = if ((currentCardScore > arenaCardScore))
232+ then (currentCardScore - arenaCardScore)
233+ else (arenaCardScore - currentCardScore)
234+ let rewardValue = if ((winner == currentKeyBytes))
235+ then ((((payAmount * 19) / 10) / 2) + currentPlayerBalance)
236+ else if ((winner == playerInTheArena))
237+ then ((((payAmount * 19) / 10) / 2) + arenaPlayerBalance)
238+ else throw("Código 010105. Contate o suporte!")
235239 [StringEntry("playerInTheArena", winner), StringEntry("cardInTheArena", winningCard), IntegerEntry("arenaCardScore", pointsRemainingOnWinningCard), if ((resultVerifyStatusCards == 9))
236- then StringEntry(((("status_" + class) + "_1_") + currentKeyBytes), "")
237- else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((resultVerifyStatusCards == 9))
238- then StringEntry(((("status_" + class) + "_2_") + currentKeyBytes), "")
239- else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((resultVerifyStatusCards == 9))
240- then StringEntry(((("status_" + class) + "_3_") + currentKeyBytes), "")
241- else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((resultVerifyStatusCards == 9))
242- then StringEntry(((("status_" + class) + "_4_") + currentKeyBytes), "")
243- else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((resultVerifyStatusCards == 9))
244- then StringEntry(((("status_" + class) + "_5_") + currentKeyBytes), "")
245- else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((resultVerifyStatusCards == 9))
246- then StringEntry(((("status_" + class) + "_6_") + currentKeyBytes), "")
247- else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((resultVerifyStatusCards == 9))
248- then StringEntry(((("status_" + class) + "_7_") + currentKeyBytes), "")
249- else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((resultVerifyStatusCards == 9))
250- then StringEntry(((("status_" + class) + "_8_") + currentKeyBytes), "")
251- else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((resultVerifyStatusCards == 9))
252- then StringEntry(((("status_" + class) + "_9_") + currentKeyBytes), "")
253- else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((resultVerifyStatusCards == 9))
254- then StringEntry(((("status_" + class) + "_10_") + currentKeyBytes), "")
255- else StringEntry("ElseObrigatorio", "Todos os elses gravados"), IntegerEntry(("balance_waves_" + winner), rewardValue), StringEntry(((("history_" + currentKeyBytes) + "_") + transactionId), ((((((((((("usedCard:" + cardName) + "/ cardInTheArena: ") + cardInTheArena) + "/ arenaCardScore:") + toString(arenaCardScore)) + "/ winner:") + winner) + "/ winningCard:") + winningCard) + "/ pointsRemainingOnWinningCard:") + toString(pointsRemainingOnWinningCard))), StringEntry("Resultado da Partida: ", ((((((("usedCard:" + cardName) + "/ winner:") + winner) + "/ winningCard:") + winningCard) + "/ pointsRemainingOnWinningCard:") + toString(pointsRemainingOnWinningCard))), StringEntry(("status_" + cardNameCurrentPlayer), "Used")]
256- }
240+ then StringEntry(((("status_" + class) + "_1_") + currentKeyBytes), "")
241+ else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((resultVerifyStatusCards == 9))
242+ then StringEntry(((("status_" + class) + "_2_") + currentKeyBytes), "")
243+ else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((resultVerifyStatusCards == 9))
244+ then StringEntry(((("status_" + class) + "_3_") + currentKeyBytes), "")
245+ else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((resultVerifyStatusCards == 9))
246+ then StringEntry(((("status_" + class) + "_4_") + currentKeyBytes), "")
247+ else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((resultVerifyStatusCards == 9))
248+ then StringEntry(((("status_" + class) + "_5_") + currentKeyBytes), "")
249+ else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((resultVerifyStatusCards == 9))
250+ then StringEntry(((("status_" + class) + "_6_") + currentKeyBytes), "")
251+ else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((resultVerifyStatusCards == 9))
252+ then StringEntry(((("status_" + class) + "_7_") + currentKeyBytes), "")
253+ else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((resultVerifyStatusCards == 9))
254+ then StringEntry(((("status_" + class) + "_8_") + currentKeyBytes), "")
255+ else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((resultVerifyStatusCards == 9))
256+ then StringEntry(((("status_" + class) + "_9_") + currentKeyBytes), "")
257+ else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((resultVerifyStatusCards == 9))
258+ then StringEntry(((("status_" + class) + "_10_") + currentKeyBytes), "")
259+ else StringEntry("ElseObrigatorio", "Todos os elses gravados"), IntegerEntry(("balance_waves_" + winner), rewardValue), StringEntry(((("history_" + currentKeyBytes) + "_") + transactionId), ((((((((((("usedCard:" + cardName) + "/ cardInTheArena: ") + cardInTheArena) + "/ arenaCardScore:") + toString(arenaCardScore)) + "/ winner:") + winner) + "/ winningCard:") + winningCard) + "/ pointsRemainingOnWinningCard:") + toString(pointsRemainingOnWinningCard))), StringEntry("Resultado da Partida: ", ((((((("usedCard:" + cardName) + "/ winner:") + winner) + "/ winningCard:") + winningCard) + "/ pointsRemainingOnWinningCard:") + toString(pointsRemainingOnWinningCard))), StringEntry(("status_" + cardNameCurrentPlayer), "Used")]
260+ }
257261 }
258262
259263

github/deemru/w8io/169f3d6 
105.01 ms