tx · 5AynyLtET5NNfeyDuPXeMUh6DQYPzcKmbxzVXLXGhtZz

3N7wjRDZ2ABrsnoCx4VQX3RP3r3DPkj9eDx:  -0.01000000 Waves

2021.07.28 09:31 [1633149] smart account 3N7wjRDZ2ABrsnoCx4VQX3RP3r3DPkj9eDx > SELF 0.00000000 Waves

{ "type": 13, "id": "5AynyLtET5NNfeyDuPXeMUh6DQYPzcKmbxzVXLXGhtZz", "fee": 1000000, "feeAssetId": null, "timestamp": 1627453885587, "version": 2, "chainId": 84, "sender": "3N7wjRDZ2ABrsnoCx4VQX3RP3r3DPkj9eDx", "senderPublicKey": "6qoAe8r1esyuGECiN4UZSvi5RpyExfXXS8izyNwWZaJP", "proofs": [ "48jBqTicJBvNK9md6B1hyqvNB72jscAvF2yfQD8DSKz2B47YdHaktHB4k7trgLrkGVM2V4h9q5wo2YhrcersKi7N" ], "script": "base64:AAIFAAAAAAAAAAgIAhIECgIICAAAAAAAAAABAAAAA2ludgEAAAAEcGxheQAAAAIAAAAEY2FyZAAAAAVjbGFzcwQAAAANdHJhbnNhY3Rpb25JZAkAAlgAAAABCAUAAAADaW52AAAADXRyYW5zYWN0aW9uSWQEAAAACmN1cnJlbnRLZXkIBQAAAANpbnYAAAAGY2FsbGVyBAAAAAlwYXlBbW91bnQJAQAAAAV2YWx1ZQAAAAEICQABkQAAAAIIBQAAAANpbnYAAAAIcGF5bWVudHMAAAAAAAAAAAAAAAAGYW1vdW50BAAAAA9jdXJyZW50S2V5Qnl0ZXMJAAJYAAAAAQgIBQAAAANpbnYAAAAGY2FsbGVyAAAABWJ5dGVzBAAAAAhjYXJkTmFtZQkAASwAAAACCQABLAAAAAIFAAAABWNsYXNzAgAAAAFfBQAAAARjYXJkBAAAABVjYXJkTmFtZUN1cnJlbnRQbGF5ZXIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgUAAAAFY2xhc3MCAAAAAV8FAAAABGNhcmQCAAAAAV8FAAAAD2N1cnJlbnRLZXlCe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AAOLyB3aW5uaW5nQ2FyZDoFAAAAC3dpbm5pbmdDYXJkAgAAAB8vIHBvaW50c1JlbWFpbmluZ09uV2lubmluZ0NhcmQ6CQABpAAAAAEFAAAAHHBvaW50c1JlbWFpbmluZ09uV2lubmluZ0NhcmQJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgIAAAAMYXJyYXlSZXN1bHQ6CQABLAAAAAIJAAEsAAAAAgIAAAAOW3sidXNlZENhcmQiOiAFAAAACGNhcmROYW1lAgAAAAQsIH1dCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAIJAAEsAAAAAgIAAAAHc3RhdHVzXwUAAAAVY2FyZE5hbWVDdXJyZW50UGxheWVyAgAAAARVc2VkBQAAAANuaWwAAAAAUGw9fQ==", "height": 1633149, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: ANs99Q1r2pcwL1aNxU2afR6hz6KiQuAhGfYao5rEC3w2 Next: DWgyhXdk9RAZoYNuewn2D7hLGNLqr6pYRVMwF8zXsKX2 Diff:
OldNewDifferences
1212 let cardName = ((class + "_") + card)
1313 let cardNameCurrentPlayer = ((((class + "_") + card) + "_") + currentKeyBytes)
1414 let undead = base58'6pdMqnpdaD6xEf7gbkgdwKq9UhVsQTFCN1mEDvYiL5NY'
15- let cardsGame = ["Undead_1", "Undead_2", "Undead_3", "Undead_4", "Undead_5", "Undead_6", "Undead_7", "Undead_8", "Undead_9", "Undead_10"]
15+ let cardsGame = ["Undead_100", "Undead_200", "Undead_300", "Undead_400", "Undead_500", "Undead_600", "Undead_700", "Undead_800", "Undead_900", "Undead_1000"]
1616 let classGame = ["Undead"]
1717 let assetsGame = ["6pdMqnpdaD6xEf7gbkgdwKq9UhVsQTFCN1mEDvYiL5NY"]
1818 let currentCardStatus = match getString(this, ("status_" + cardNameCurrentPlayer)) {
5959 case _ =>
6060 0
6161 }
62- let statusCard1 = if (( match getString(this, ((("status_" + class) + "_1_") + currentKeyBytes)) {
62+ let statusCard1 = if (( match getString(this, ((("status_" + class) + "_100_") + currentKeyBytes)) {
6363 case t: String =>
6464 t
6565 case _ =>
6767 } == "Used"))
6868 then 1
6969 else 0
70- let statusCard2 = if (( match getString(this, ((("status_" + class) + "_2_") + currentKeyBytes)) {
70+ let statusCard2 = if (( match getString(this, ((("status_" + class) + "_200_") + currentKeyBytes)) {
7171 case t: String =>
7272 t
7373 case _ =>
7575 } == "Used"))
7676 then 1
7777 else 0
78- let statusCard3 = if (( match getString(this, ((("status_" + class) + "_3_") + currentKeyBytes)) {
78+ let statusCard3 = if (( match getString(this, ((("status_" + class) + "_300_") + currentKeyBytes)) {
7979 case t: String =>
8080 t
8181 case _ =>
8383 } == "Used"))
8484 then 1
8585 else 0
86- let statusCard4 = if (( match getString(this, ((("status_" + class) + "_4_") + currentKeyBytes)) {
86+ let statusCard4 = if (( match getString(this, ((("status_" + class) + "_400_") + currentKeyBytes)) {
8787 case t: String =>
8888 t
8989 case _ =>
9191 } == "Used"))
9292 then 1
9393 else 0
94- let statusCard5 = if (( match getString(this, ((("status_" + class) + "_5_") + currentKeyBytes)) {
94+ let statusCard5 = if (( match getString(this, ((("status_" + class) + "_500_") + currentKeyBytes)) {
9595 case t: String =>
9696 t
9797 case _ =>
9999 } == "Used"))
100100 then 1
101101 else 0
102- let statusCard6 = if (( match getString(this, ((("status_" + class) + "_6_") + currentKeyBytes)) {
102+ let statusCard6 = if (( match getString(this, ((("status_" + class) + "_600_") + currentKeyBytes)) {
103103 case t: String =>
104104 t
105105 case _ =>
107107 } == "Used"))
108108 then 1
109109 else 0
110- let statusCard7 = if (( match getString(this, ((("status_" + class) + "_7_") + currentKeyBytes)) {
110+ let statusCard7 = if (( match getString(this, ((("status_" + class) + "_700_") + currentKeyBytes)) {
111111 case t: String =>
112112 t
113113 case _ =>
115115 } == "Used"))
116116 then 1
117117 else 0
118- let statusCard8 = if (( match getString(this, ((("status_" + class) + "_8_") + currentKeyBytes)) {
118+ let statusCard8 = if (( match getString(this, ((("status_" + class) + "_800_") + currentKeyBytes)) {
119119 case t: String =>
120120 t
121121 case _ =>
123123 } == "Used"))
124124 then 1
125125 else 0
126- let statusCard9 = if (( match getString(this, ((("status_" + class) + "_9_") + currentKeyBytes)) {
126+ let statusCard9 = if (( match getString(this, ((("status_" + class) + "_900_") + currentKeyBytes)) {
127127 case t: String =>
128128 t
129129 case _ =>
131131 } == "Used"))
132132 then 1
133133 else 0
134- let statusCard10 = if (( match getString(this, ((("status_" + class) + "_10_") + currentKeyBytes)) {
134+ let statusCard10 = if (( match getString(this, ((("status_" + class) + "_1000_") + currentKeyBytes)) {
135135 case t: String =>
136136 t
137137 case _ =>
143143 func foldFunc (acc,e) = (acc + e)
144144
145145 let resultVerifyStatusCards = {
146- let $list47754809 = statusCards
147- let $size47754809 = size($list47754809)
148- let $acc047754809 = 0
149- if (($size47754809 == 0))
150- then $acc047754809
146+ let $list48154849 = statusCards
147+ let $size48154849 = size($list48154849)
148+ let $acc048154849 = 0
149+ if (($size48154849 == 0))
150+ then $acc048154849
151151 else {
152- let $acc147754809 = foldFunc($acc047754809, $list47754809[0])
153- if (($size47754809 == 1))
154- then $acc147754809
152+ let $acc148154849 = foldFunc($acc048154849, $list48154849[0])
153+ if (($size48154849 == 1))
154+ then $acc148154849
155155 else {
156- let $acc247754809 = foldFunc($acc147754809, $list47754809[1])
157- if (($size47754809 == 2))
158- then $acc247754809
156+ let $acc248154849 = foldFunc($acc148154849, $list48154849[1])
157+ if (($size48154849 == 2))
158+ then $acc248154849
159159 else {
160- let $acc347754809 = foldFunc($acc247754809, $list47754809[2])
161- if (($size47754809 == 3))
162- then $acc347754809
160+ let $acc348154849 = foldFunc($acc248154849, $list48154849[2])
161+ if (($size48154849 == 3))
162+ then $acc348154849
163163 else {
164- let $acc447754809 = foldFunc($acc347754809, $list47754809[3])
165- if (($size47754809 == 4))
166- then $acc447754809
164+ let $acc448154849 = foldFunc($acc348154849, $list48154849[3])
165+ if (($size48154849 == 4))
166+ then $acc448154849
167167 else {
168- let $acc547754809 = foldFunc($acc447754809, $list47754809[4])
169- if (($size47754809 == 5))
170- then $acc547754809
168+ let $acc548154849 = foldFunc($acc448154849, $list48154849[4])
169+ if (($size48154849 == 5))
170+ then $acc548154849
171171 else {
172- let $acc647754809 = foldFunc($acc547754809, $list47754809[5])
173- if (($size47754809 == 6))
174- then $acc647754809
172+ let $acc648154849 = foldFunc($acc548154849, $list48154849[5])
173+ if (($size48154849 == 6))
174+ then $acc648154849
175175 else {
176- let $acc747754809 = foldFunc($acc647754809, $list47754809[6])
177- if (($size47754809 == 7))
178- then $acc747754809
176+ let $acc748154849 = foldFunc($acc648154849, $list48154849[6])
177+ if (($size48154849 == 7))
178+ then $acc748154849
179179 else {
180- let $acc847754809 = foldFunc($acc747754809, $list47754809[7])
181- if (($size47754809 == 8))
182- then $acc847754809
180+ let $acc848154849 = foldFunc($acc748154849, $list48154849[7])
181+ if (($size48154849 == 8))
182+ then $acc848154849
183183 else {
184- let $acc947754809 = foldFunc($acc847754809, $list47754809[8])
185- if (($size47754809 == 9))
186- then $acc947754809
184+ let $acc948154849 = foldFunc($acc848154849, $list48154849[8])
185+ if (($size48154849 == 9))
186+ then $acc948154849
187187 else {
188- let $acc1047754809 = foldFunc($acc947754809, $list47754809[9])
189- if (($size47754809 == 10))
190- then $acc1047754809
188+ let $acc1048154849 = foldFunc($acc948154849, $list48154849[9])
189+ if (($size48154849 == 10))
190+ then $acc1048154849
191191 else {
192- let $acc1147754809 = foldFunc($acc1047754809, $list47754809[10])
192+ let $acc1148154849 = foldFunc($acc1048154849, $list48154849[10])
193193 throw("List size exceed 10")
194194 }
195195 }
233233 then ((((payAmount * 19) / 10) / 2) + arenaPlayerBalance)
234234 else throw("Código 010105. Contate o suporte!")
235235 [StringEntry("playerInTheArena", winner), StringEntry("cardInTheArena", winningCard), IntegerEntry("arenaCardScore", pointsRemainingOnWinningCard), if ((resultVerifyStatusCards == 9))
236- then StringEntry(((("status_" + class) + "_1_") + currentKeyBytes), "")
236+ then StringEntry(((("status_" + class) + "_100_") + currentKeyBytes), "")
237237 else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((resultVerifyStatusCards == 9))
238- then StringEntry(((("status_" + class) + "_2_") + currentKeyBytes), "")
238+ then StringEntry(((("status_" + class) + "_200_") + currentKeyBytes), "")
239239 else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((resultVerifyStatusCards == 9))
240- then StringEntry(((("status_" + class) + "_3_") + currentKeyBytes), "")
240+ then StringEntry(((("status_" + class) + "_300_") + currentKeyBytes), "")
241241 else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((resultVerifyStatusCards == 9))
242- then StringEntry(((("status_" + class) + "_4_") + currentKeyBytes), "")
242+ then StringEntry(((("status_" + class) + "_400_") + currentKeyBytes), "")
243243 else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((resultVerifyStatusCards == 9))
244- then StringEntry(((("status_" + class) + "_5_") + currentKeyBytes), "")
244+ then StringEntry(((("status_" + class) + "_500_") + currentKeyBytes), "")
245245 else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((resultVerifyStatusCards == 9))
246- then StringEntry(((("status_" + class) + "_6_") + currentKeyBytes), "")
246+ then StringEntry(((("status_" + class) + "_600_") + currentKeyBytes), "")
247247 else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((resultVerifyStatusCards == 9))
248- then StringEntry(((("status_" + class) + "_7_") + currentKeyBytes), "")
248+ then StringEntry(((("status_" + class) + "_700_") + currentKeyBytes), "")
249249 else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((resultVerifyStatusCards == 9))
250- then StringEntry(((("status_" + class) + "_8_") + currentKeyBytes), "")
250+ then StringEntry(((("status_" + class) + "_800_") + currentKeyBytes), "")
251251 else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((resultVerifyStatusCards == 9))
252- then StringEntry(((("status_" + class) + "_9_") + currentKeyBytes), "")
252+ then StringEntry(((("status_" + class) + "_900_") + currentKeyBytes), "")
253253 else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((resultVerifyStatusCards == 9))
254- then StringEntry(((("status_" + class) + "_10_") + currentKeyBytes), "")
254+ then StringEntry(((("status_" + class) + "_1000_") + currentKeyBytes), "")
255255 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("arrayResult:", (("[{\"usedCard\": " + cardName) + ", }]")), StringEntry(("status_" + cardNameCurrentPlayer), "Used")]
256256 }
257257 }
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'
15- let cardsGame = ["Undead_1", "Undead_2", "Undead_3", "Undead_4", "Undead_5", "Undead_6", "Undead_7", "Undead_8", "Undead_9", "Undead_10"]
15+ let cardsGame = ["Undead_100", "Undead_200", "Undead_300", "Undead_400", "Undead_500", "Undead_600", "Undead_700", "Undead_800", "Undead_900", "Undead_1000"]
1616 let classGame = ["Undead"]
1717 let assetsGame = ["6pdMqnpdaD6xEf7gbkgdwKq9UhVsQTFCN1mEDvYiL5NY"]
1818 let currentCardStatus = match getString(this, ("status_" + cardNameCurrentPlayer)) {
1919 case t: String =>
2020 t
2121 case _ =>
2222 ""
2323 }
2424 let currentCardScore = match getInteger(this, cardName) {
2525 case t: Int =>
2626 t
2727 case _ =>
2828 0
2929 }
3030 let currentKeyPlayerBalance = ("balance_waves_" + currentKeyBytes)
3131 let currentPlayerBalance = match getInteger(this, currentKeyPlayerBalance) {
3232 case t: Int =>
3333 t
3434 case _ =>
3535 0
3636 }
3737 let playerInTheArena = match getString(this, "playerInTheArena") {
3838 case t: String =>
3939 t
4040 case _ =>
4141 ""
4242 }
4343 let arenaKeyPlayerBalance = ("balance_waves_" + playerInTheArena)
4444 let arenaPlayerBalance = match getInteger(this, arenaKeyPlayerBalance) {
4545 case t: Int =>
4646 t
4747 case _ =>
4848 0
4949 }
5050 let cardInTheArena = match getString(this, "cardInTheArena") {
5151 case t: String =>
5252 t
5353 case _ =>
5454 ""
5555 }
5656 let arenaCardScore = match getInteger(this, "arenaCardScore") {
5757 case t: Int =>
5858 t
5959 case _ =>
6060 0
6161 }
62- let statusCard1 = if (( match getString(this, ((("status_" + class) + "_1_") + currentKeyBytes)) {
62+ let statusCard1 = if (( match getString(this, ((("status_" + class) + "_100_") + currentKeyBytes)) {
6363 case t: String =>
6464 t
6565 case _ =>
6666 ""
6767 } == "Used"))
6868 then 1
6969 else 0
70- let statusCard2 = if (( match getString(this, ((("status_" + class) + "_2_") + currentKeyBytes)) {
70+ let statusCard2 = if (( match getString(this, ((("status_" + class) + "_200_") + currentKeyBytes)) {
7171 case t: String =>
7272 t
7373 case _ =>
7474 ""
7575 } == "Used"))
7676 then 1
7777 else 0
78- let statusCard3 = if (( match getString(this, ((("status_" + class) + "_3_") + currentKeyBytes)) {
78+ let statusCard3 = if (( match getString(this, ((("status_" + class) + "_300_") + currentKeyBytes)) {
7979 case t: String =>
8080 t
8181 case _ =>
8282 ""
8383 } == "Used"))
8484 then 1
8585 else 0
86- let statusCard4 = if (( match getString(this, ((("status_" + class) + "_4_") + currentKeyBytes)) {
86+ let statusCard4 = if (( match getString(this, ((("status_" + class) + "_400_") + currentKeyBytes)) {
8787 case t: String =>
8888 t
8989 case _ =>
9090 ""
9191 } == "Used"))
9292 then 1
9393 else 0
94- let statusCard5 = if (( match getString(this, ((("status_" + class) + "_5_") + currentKeyBytes)) {
94+ let statusCard5 = if (( match getString(this, ((("status_" + class) + "_500_") + currentKeyBytes)) {
9595 case t: String =>
9696 t
9797 case _ =>
9898 ""
9999 } == "Used"))
100100 then 1
101101 else 0
102- let statusCard6 = if (( match getString(this, ((("status_" + class) + "_6_") + currentKeyBytes)) {
102+ let statusCard6 = if (( match getString(this, ((("status_" + class) + "_600_") + currentKeyBytes)) {
103103 case t: String =>
104104 t
105105 case _ =>
106106 ""
107107 } == "Used"))
108108 then 1
109109 else 0
110- let statusCard7 = if (( match getString(this, ((("status_" + class) + "_7_") + currentKeyBytes)) {
110+ let statusCard7 = if (( match getString(this, ((("status_" + class) + "_700_") + currentKeyBytes)) {
111111 case t: String =>
112112 t
113113 case _ =>
114114 ""
115115 } == "Used"))
116116 then 1
117117 else 0
118- let statusCard8 = if (( match getString(this, ((("status_" + class) + "_8_") + currentKeyBytes)) {
118+ let statusCard8 = if (( match getString(this, ((("status_" + class) + "_800_") + currentKeyBytes)) {
119119 case t: String =>
120120 t
121121 case _ =>
122122 ""
123123 } == "Used"))
124124 then 1
125125 else 0
126- let statusCard9 = if (( match getString(this, ((("status_" + class) + "_9_") + currentKeyBytes)) {
126+ let statusCard9 = if (( match getString(this, ((("status_" + class) + "_900_") + currentKeyBytes)) {
127127 case t: String =>
128128 t
129129 case _ =>
130130 ""
131131 } == "Used"))
132132 then 1
133133 else 0
134- let statusCard10 = if (( match getString(this, ((("status_" + class) + "_10_") + currentKeyBytes)) {
134+ let statusCard10 = if (( match getString(this, ((("status_" + class) + "_1000_") + currentKeyBytes)) {
135135 case t: String =>
136136 t
137137 case _ =>
138138 ""
139139 } == "Used"))
140140 then 1
141141 else 0
142142 let statusCards = [statusCard1, statusCard2, statusCard3, statusCard4, statusCard5, statusCard6, statusCard7, statusCard8, statusCard9, statusCard10]
143143 func foldFunc (acc,e) = (acc + e)
144144
145145 let resultVerifyStatusCards = {
146- let $list47754809 = statusCards
147- let $size47754809 = size($list47754809)
148- let $acc047754809 = 0
149- if (($size47754809 == 0))
150- then $acc047754809
146+ let $list48154849 = statusCards
147+ let $size48154849 = size($list48154849)
148+ let $acc048154849 = 0
149+ if (($size48154849 == 0))
150+ then $acc048154849
151151 else {
152- let $acc147754809 = foldFunc($acc047754809, $list47754809[0])
153- if (($size47754809 == 1))
154- then $acc147754809
152+ let $acc148154849 = foldFunc($acc048154849, $list48154849[0])
153+ if (($size48154849 == 1))
154+ then $acc148154849
155155 else {
156- let $acc247754809 = foldFunc($acc147754809, $list47754809[1])
157- if (($size47754809 == 2))
158- then $acc247754809
156+ let $acc248154849 = foldFunc($acc148154849, $list48154849[1])
157+ if (($size48154849 == 2))
158+ then $acc248154849
159159 else {
160- let $acc347754809 = foldFunc($acc247754809, $list47754809[2])
161- if (($size47754809 == 3))
162- then $acc347754809
160+ let $acc348154849 = foldFunc($acc248154849, $list48154849[2])
161+ if (($size48154849 == 3))
162+ then $acc348154849
163163 else {
164- let $acc447754809 = foldFunc($acc347754809, $list47754809[3])
165- if (($size47754809 == 4))
166- then $acc447754809
164+ let $acc448154849 = foldFunc($acc348154849, $list48154849[3])
165+ if (($size48154849 == 4))
166+ then $acc448154849
167167 else {
168- let $acc547754809 = foldFunc($acc447754809, $list47754809[4])
169- if (($size47754809 == 5))
170- then $acc547754809
168+ let $acc548154849 = foldFunc($acc448154849, $list48154849[4])
169+ if (($size48154849 == 5))
170+ then $acc548154849
171171 else {
172- let $acc647754809 = foldFunc($acc547754809, $list47754809[5])
173- if (($size47754809 == 6))
174- then $acc647754809
172+ let $acc648154849 = foldFunc($acc548154849, $list48154849[5])
173+ if (($size48154849 == 6))
174+ then $acc648154849
175175 else {
176- let $acc747754809 = foldFunc($acc647754809, $list47754809[6])
177- if (($size47754809 == 7))
178- then $acc747754809
176+ let $acc748154849 = foldFunc($acc648154849, $list48154849[6])
177+ if (($size48154849 == 7))
178+ then $acc748154849
179179 else {
180- let $acc847754809 = foldFunc($acc747754809, $list47754809[7])
181- if (($size47754809 == 8))
182- then $acc847754809
180+ let $acc848154849 = foldFunc($acc748154849, $list48154849[7])
181+ if (($size48154849 == 8))
182+ then $acc848154849
183183 else {
184- let $acc947754809 = foldFunc($acc847754809, $list47754809[8])
185- if (($size47754809 == 9))
186- then $acc947754809
184+ let $acc948154849 = foldFunc($acc848154849, $list48154849[8])
185+ if (($size48154849 == 9))
186+ then $acc948154849
187187 else {
188- let $acc1047754809 = foldFunc($acc947754809, $list47754809[9])
189- if (($size47754809 == 10))
190- then $acc1047754809
188+ let $acc1048154849 = foldFunc($acc948154849, $list48154849[9])
189+ if (($size48154849 == 10))
190+ then $acc1048154849
191191 else {
192- let $acc1147754809 = foldFunc($acc1047754809, $list47754809[10])
192+ let $acc1148154849 = foldFunc($acc1048154849, $list48154849[10])
193193 throw("List size exceed 10")
194194 }
195195 }
196196 }
197197 }
198198 }
199199 }
200200 }
201201 }
202202 }
203203 }
204204 }
205205 }
206206 if (if (!(containsElement(classGame, class)))
207207 then true
208208 else !(containsElement(cardsGame, cardName)))
209209 then throw("A classe enviada não existe no game! Por favor verifique suas cartas!")
210210 else if ((payAmount != 10000000))
211211 then throw("Cada jogada possui um valor fixo de 0.1 waves.")
212212 else if ((0 >= assetBalance(currentKey, undead)))
213213 then throw("E necessário ter o token do deck em sua carteira! Para adquirir, realize a compra em Swap Decks.")
214214 else if (if ((cardInTheArena == ""))
215215 then true
216216 else (playerInTheArena == ""))
217217 then [StringEntry("playerInTheArena", currentKeyBytes), StringEntry("cardInTheArena", cardName), IntegerEntry("arenaCardScore", currentCardScore), StringEntry(("status_" + cardNameCurrentPlayer), "Used")]
218218 else if ((currentCardStatus == "Used"))
219219 then throw("Esta carta já foi utilizada! Utilize todas as cartas do deck para esta ser liberada novamente!")
220220 else {
221221 let winner = if ((currentCardScore > arenaCardScore))
222222 then currentKeyBytes
223223 else playerInTheArena
224224 let winningCard = if ((currentCardScore > arenaCardScore))
225225 then cardName
226226 else cardInTheArena
227227 let pointsRemainingOnWinningCard = if ((currentCardScore > arenaCardScore))
228228 then (currentCardScore - arenaCardScore)
229229 else (arenaCardScore - currentCardScore)
230230 let rewardValue = if ((winner == currentKeyBytes))
231231 then ((((payAmount * 19) / 10) / 2) + currentPlayerBalance)
232232 else if ((winner == playerInTheArena))
233233 then ((((payAmount * 19) / 10) / 2) + arenaPlayerBalance)
234234 else throw("Código 010105. Contate o suporte!")
235235 [StringEntry("playerInTheArena", winner), StringEntry("cardInTheArena", winningCard), IntegerEntry("arenaCardScore", pointsRemainingOnWinningCard), if ((resultVerifyStatusCards == 9))
236- then StringEntry(((("status_" + class) + "_1_") + currentKeyBytes), "")
236+ then StringEntry(((("status_" + class) + "_100_") + currentKeyBytes), "")
237237 else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((resultVerifyStatusCards == 9))
238- then StringEntry(((("status_" + class) + "_2_") + currentKeyBytes), "")
238+ then StringEntry(((("status_" + class) + "_200_") + currentKeyBytes), "")
239239 else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((resultVerifyStatusCards == 9))
240- then StringEntry(((("status_" + class) + "_3_") + currentKeyBytes), "")
240+ then StringEntry(((("status_" + class) + "_300_") + currentKeyBytes), "")
241241 else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((resultVerifyStatusCards == 9))
242- then StringEntry(((("status_" + class) + "_4_") + currentKeyBytes), "")
242+ then StringEntry(((("status_" + class) + "_400_") + currentKeyBytes), "")
243243 else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((resultVerifyStatusCards == 9))
244- then StringEntry(((("status_" + class) + "_5_") + currentKeyBytes), "")
244+ then StringEntry(((("status_" + class) + "_500_") + currentKeyBytes), "")
245245 else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((resultVerifyStatusCards == 9))
246- then StringEntry(((("status_" + class) + "_6_") + currentKeyBytes), "")
246+ then StringEntry(((("status_" + class) + "_600_") + currentKeyBytes), "")
247247 else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((resultVerifyStatusCards == 9))
248- then StringEntry(((("status_" + class) + "_7_") + currentKeyBytes), "")
248+ then StringEntry(((("status_" + class) + "_700_") + currentKeyBytes), "")
249249 else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((resultVerifyStatusCards == 9))
250- then StringEntry(((("status_" + class) + "_8_") + currentKeyBytes), "")
250+ then StringEntry(((("status_" + class) + "_800_") + currentKeyBytes), "")
251251 else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((resultVerifyStatusCards == 9))
252- then StringEntry(((("status_" + class) + "_9_") + currentKeyBytes), "")
252+ then StringEntry(((("status_" + class) + "_900_") + currentKeyBytes), "")
253253 else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((resultVerifyStatusCards == 9))
254- then StringEntry(((("status_" + class) + "_10_") + currentKeyBytes), "")
254+ then StringEntry(((("status_" + class) + "_1000_") + currentKeyBytes), "")
255255 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("arrayResult:", (("[{\"usedCard\": " + cardName) + ", }]")), StringEntry(("status_" + cardNameCurrentPlayer), "Used")]
256256 }
257257 }
258258
259259

github/deemru/w8io/169f3d6 
103.19 ms