tx · H7R8ek1rEaDTsiSKZsSEACQ4Cx6rsukA7ecwmDEUYxzF

3N8yhbgiVQSoN23tkgVCbyJm7mcUkAkZUnT:  -0.01000000 Waves

2021.07.30 07:20 [1635879] smart account 3N8yhbgiVQSoN23tkgVCbyJm7mcUkAkZUnT > SELF 0.00000000 Waves

{ "type": 13, "id": "H7R8ek1rEaDTsiSKZsSEACQ4Cx6rsukA7ecwmDEUYxzF", "fee": 1000000, "feeAssetId": null, "timestamp": 1627618868578, "version": 2, "chainId": 84, "sender": "3N8yhbgiVQSoN23tkgVCbyJm7mcUkAkZUnT", "senderPublicKey": "CuwzjevdV5RCgwvv5RmXDzzqYaRvw3V21dJL7FH9gpLj", "proofs": [ "4dJheNxEF8fXJExgh3NJ5VsHagq6ZRSxQyUxZVRtuRQGea2RTMcDLRHrRewxeBcgzzystHKxoTdd8aXS1xLtcLA4" ], "script": "base64:AAIFAAAAAAAAAAgIAhIECgIICAAAAAAAAAABAAAAA2ludgEAAAAEcGxheQAAAAIAAAAEY2FyZAAAAAVjbGFzcwQAAAANdHJhbnNhY3Rpb25JZAkAAlgAAAABCAUAAAADaW52AAAADXRyYW5zYWN0aW9uSWQEAAAACmN1cnJlbnRLZXkIBQAAAANpbnYAAAAGY2FsbGVyBAAAAAlwYXlBbW91bnQJAQAAAAV2YWx1ZQAAAAEICQABkQAAAAIIBQAAAANpbnYAAAAIcGF5bWVudHMAAAAAAAAAAAAAAAAGYW1vdW50BAAAAA9jdXJyZW50S2V5Qnl0ZXMJAAJYAAAAAQgIBQAAAANpbnYAAAAGY2FsbGVyAAAABWJ5dGVzBAAAAAhjYXJkTmFtZQkAASwAAAACCQABLAAAAAIFAAAABWNsYXNzAgAAAAFfBQAAAARjYXJkBAAAABVjYXJkTmFtZUN1cnJlbnRQbGF5ZXIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgUAAAAFY2xhc3MCAAAAAV8FAAAABGNhcmQCAAAAAV8FAAAAD2N1cnJlbnRLZ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OiAiBQAAAA5jYXJkSW5UaGVBcmVuYQIAAAAWIiwgImFyZW5hQ2FyZFNjb3JlIjogIgkAAaQAAAABBQAAAA5hcmVuYUNhcmRTY29yZQIAAAAOIiwgIndpbm5lciI6ICIFAAAABndpbm5lcgIAAAATIiwgIndpbm5pbmdDYXJkIjogIgUAAAALd2lubmluZ0NhcmQCAAAAECIsICJkZWZlYXRlZCI6ICIFAAAACGRlZmVhdGVkAgAAABQiLCAiZGVmZWF0ZWRDYXJkIjogIgUAAAAMZGVmZWF0ZWRDYXJkAgAAACQiLCAicG9pbnRzUmVtYWluaW5nT25XaW5uaW5nQ2FyZCI6ICIJAAGkAAAAAQUAAAAccG9pbnRzUmVtYWluaW5nT25XaW5uaW5nQ2FyZAIAAAACIn0JAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgkAASwAAAACAgAAAAdzdGF0dXNfBQAAABVjYXJkTmFtZUN1cnJlbnRQbGF5ZXICAAAABFVzZWQJAARMAAAAAgkBAAAAC0RlbGV0ZUVudHJ5AAAAAQIAAABaaGlzdG9yeV8zTjE1YlBSdFgxMjdNWEozVEF1ZXJSYmRnbU5KUHJHcmJqNl9GcldCUzNidTdkSnVVSGRneHRiY3ZBV25xTHhIdHRGTW02TU5iTUt2Y3JacV83CQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACAgAAAApoaXN0b3JpY0lkBQAAAA1uZXdIaXN0b3JpY0lkBQAAAANuaWwAAAAAZ+/tcQ==", "height": 1635879, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: H4QMRfqZxrp21s4E51Xp3AWq5hmfXSdohpNQXRWFFJyJ Next: Dy26oLihexz5CWTUWpjNWKC4oa8QB2FQRenbodPD3vL Diff:
OldNewDifferences
269269 then StringEntry(((("status_" + class) + "_900_") + currentKeyBytes), "")
270270 else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((resultVerifyStatusCards == 9))
271271 then StringEntry(((("status_" + class) + "_1000_") + currentKeyBytes), "")
272- else StringEntry("ElseObrigatorio", "Todos os elses gravados"), IntegerEntry(("balance_waves_" + winner), rewardValue), StringEntry(((((((("history_" + currentKeyBytes) + "_") + playerInTheArena) + "_") + transactionId) + "_") + toString(newHistoricId)), (((((((((((((((((((((((("{\"historicId\": \"" + toString(newHistoricId)) + "\", \"transactionId\": \"") + transactionId) + "\", \"playerAttack\": \"") + currentKeyBytes) + "\", \"playerInTheArena\": \"") + playerInTheArena) + "\", \"usedCard\": \"") + cardName) + "\", \"cardInTheArena\": \"") + cardInTheArena) + "\", \"arenaCardScore\": \"") + toString(arenaCardScore)) + "\", \"winner\": \"") + winner) + "\", \"winningCard\": \"") + winningCard) + "\", \"defeated\": \"") + defeated) + "\", \"defeatedCard\": \"") + defeatedCard) + "\", \"pointsRemainingOnWinningCard\": \"") + toString(pointsRemainingOnWinningCard)) + "\"}")), StringEntry(("status_" + cardNameCurrentPlayer), "Used"), IntegerEntry("historicId", newHistoricId)]
272+ else StringEntry("ElseObrigatorio", "Todos os elses gravados"), IntegerEntry(("balance_waves_" + winner), rewardValue), StringEntry(((((((("history_" + currentKeyBytes) + "_") + playerInTheArena) + "_") + transactionId) + "_") + toString(newHistoricId)), (((((((((((((((((((((((("{\"historicId\": \"" + toString(newHistoricId)) + "\", \"transactionId\": \"") + transactionId) + "\", \"playerAttack\": \"") + currentKeyBytes) + "\", \"playerInTheArena\": \"") + playerInTheArena) + "\", \"usedCard\": \"") + cardName) + "\", \"cardInTheArena\": \"") + cardInTheArena) + "\", \"arenaCardScore\": \"") + toString(arenaCardScore)) + "\", \"winner\": \"") + winner) + "\", \"winningCard\": \"") + winningCard) + "\", \"defeated\": \"") + defeated) + "\", \"defeatedCard\": \"") + defeatedCard) + "\", \"pointsRemainingOnWinningCard\": \"") + toString(pointsRemainingOnWinningCard)) + "\"}")), StringEntry(("status_" + cardNameCurrentPlayer), "Used"), DeleteEntry("history_3N15bPRtX127MXJ3TAuerRbdgmNJPrGrbj6_FrWBS3bu7dJuUHdgxtbcvAWnqLxHttFMm6MNbMKvcrZq_7"), IntegerEntry("historicId", newHistoricId)]
273273 }
274274 }
275275
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'AYNhdXWw3qmAWqkJMQfKyLBRQpkaPPkP8jjNzMb8V5cd'
1515 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 = ["AYNhdXWw3qmAWqkJMQfKyLBRQpkaPPkP8jjNzMb8V5cd"]
1818 let historicId = match getInteger(this, "historicId") {
1919 case t: Int =>
2020 t
2121 case _ =>
2222 0
2323 }
2424 let currentCardStatus = match getString(this, ("status_" + cardNameCurrentPlayer)) {
2525 case t: String =>
2626 t
2727 case _ =>
2828 ""
2929 }
3030 let currentCardScore = match getInteger(this, cardName) {
3131 case t: Int =>
3232 t
3333 case _ =>
3434 0
3535 }
3636 let currentKeyPlayerBalance = ("balance_waves_" + currentKeyBytes)
3737 let currentPlayerBalance = match getInteger(this, currentKeyPlayerBalance) {
3838 case t: Int =>
3939 t
4040 case _ =>
4141 0
4242 }
4343 let playerInTheArena = match getString(this, "playerInTheArena") {
4444 case t: String =>
4545 t
4646 case _ =>
4747 ""
4848 }
4949 let arenaKeyPlayerBalance = ("balance_waves_" + playerInTheArena)
5050 let arenaPlayerBalance = match getInteger(this, arenaKeyPlayerBalance) {
5151 case t: Int =>
5252 t
5353 case _ =>
5454 0
5555 }
5656 let cardInTheArena = match getString(this, "cardInTheArena") {
5757 case t: String =>
5858 t
5959 case _ =>
6060 ""
6161 }
6262 let arenaCardScore = match getInteger(this, "arenaCardScore") {
6363 case t: Int =>
6464 t
6565 case _ =>
6666 0
6767 }
6868 let statusCard1 = if (( match getString(this, ((("status_" + class) + "_100_") + currentKeyBytes)) {
6969 case t: String =>
7070 t
7171 case _ =>
7272 ""
7373 } == "Used"))
7474 then 1
7575 else 0
7676 let statusCard2 = if (( match getString(this, ((("status_" + class) + "_200_") + currentKeyBytes)) {
7777 case t: String =>
7878 t
7979 case _ =>
8080 ""
8181 } == "Used"))
8282 then 1
8383 else 0
8484 let statusCard3 = if (( match getString(this, ((("status_" + class) + "_300_") + currentKeyBytes)) {
8585 case t: String =>
8686 t
8787 case _ =>
8888 ""
8989 } == "Used"))
9090 then 1
9191 else 0
9292 let statusCard4 = if (( match getString(this, ((("status_" + class) + "_400_") + currentKeyBytes)) {
9393 case t: String =>
9494 t
9595 case _ =>
9696 ""
9797 } == "Used"))
9898 then 1
9999 else 0
100100 let statusCard5 = if (( match getString(this, ((("status_" + class) + "_500_") + currentKeyBytes)) {
101101 case t: String =>
102102 t
103103 case _ =>
104104 ""
105105 } == "Used"))
106106 then 1
107107 else 0
108108 let statusCard6 = if (( match getString(this, ((("status_" + class) + "_600_") + currentKeyBytes)) {
109109 case t: String =>
110110 t
111111 case _ =>
112112 ""
113113 } == "Used"))
114114 then 1
115115 else 0
116116 let statusCard7 = if (( match getString(this, ((("status_" + class) + "_700_") + currentKeyBytes)) {
117117 case t: String =>
118118 t
119119 case _ =>
120120 ""
121121 } == "Used"))
122122 then 1
123123 else 0
124124 let statusCard8 = if (( match getString(this, ((("status_" + class) + "_800_") + currentKeyBytes)) {
125125 case t: String =>
126126 t
127127 case _ =>
128128 ""
129129 } == "Used"))
130130 then 1
131131 else 0
132132 let statusCard9 = if (( match getString(this, ((("status_" + class) + "_900_") + currentKeyBytes)) {
133133 case t: String =>
134134 t
135135 case _ =>
136136 ""
137137 } == "Used"))
138138 then 1
139139 else 0
140140 let statusCard10 = if (( match getString(this, ((("status_" + class) + "_1000_") + currentKeyBytes)) {
141141 case t: String =>
142142 t
143143 case _ =>
144144 ""
145145 } == "Used"))
146146 then 1
147147 else 0
148148 let statusCards = [statusCard1, statusCard2, statusCard3, statusCard4, statusCard5, statusCard6, statusCard7, statusCard8, statusCard9, statusCard10]
149149 func foldFunc (acc,e) = (acc + e)
150150
151151 let resultVerifyStatusCards = {
152152 let $list49464980 = statusCards
153153 let $size49464980 = size($list49464980)
154154 let $acc049464980 = 0
155155 if (($size49464980 == 0))
156156 then $acc049464980
157157 else {
158158 let $acc149464980 = foldFunc($acc049464980, $list49464980[0])
159159 if (($size49464980 == 1))
160160 then $acc149464980
161161 else {
162162 let $acc249464980 = foldFunc($acc149464980, $list49464980[1])
163163 if (($size49464980 == 2))
164164 then $acc249464980
165165 else {
166166 let $acc349464980 = foldFunc($acc249464980, $list49464980[2])
167167 if (($size49464980 == 3))
168168 then $acc349464980
169169 else {
170170 let $acc449464980 = foldFunc($acc349464980, $list49464980[3])
171171 if (($size49464980 == 4))
172172 then $acc449464980
173173 else {
174174 let $acc549464980 = foldFunc($acc449464980, $list49464980[4])
175175 if (($size49464980 == 5))
176176 then $acc549464980
177177 else {
178178 let $acc649464980 = foldFunc($acc549464980, $list49464980[5])
179179 if (($size49464980 == 6))
180180 then $acc649464980
181181 else {
182182 let $acc749464980 = foldFunc($acc649464980, $list49464980[6])
183183 if (($size49464980 == 7))
184184 then $acc749464980
185185 else {
186186 let $acc849464980 = foldFunc($acc749464980, $list49464980[7])
187187 if (($size49464980 == 8))
188188 then $acc849464980
189189 else {
190190 let $acc949464980 = foldFunc($acc849464980, $list49464980[8])
191191 if (($size49464980 == 9))
192192 then $acc949464980
193193 else {
194194 let $acc1049464980 = foldFunc($acc949464980, $list49464980[9])
195195 if (($size49464980 == 10))
196196 then $acc1049464980
197197 else {
198198 let $acc1149464980 = foldFunc($acc1049464980, $list49464980[10])
199199 throw("List size exceed 10")
200200 }
201201 }
202202 }
203203 }
204204 }
205205 }
206206 }
207207 }
208208 }
209209 }
210210 }
211211 }
212212 if (if (!(containsElement(classGame, class)))
213213 then true
214214 else !(containsElement(cardsGame, cardName)))
215215 then throw("A classe enviada não existe no game! Por favor verifique suas cartas!")
216216 else if ((payAmount != 10000000))
217217 then throw("Cada jogada possui um valor fixo de 0.1 waves.")
218218 else if ((0 >= assetBalance(currentKey, undead)))
219219 then throw("E necessário ter o token do deck em sua carteira! Para adquirir, realize a compra em Swap Decks.")
220220 else if (if ((cardInTheArena == ""))
221221 then true
222222 else (playerInTheArena == ""))
223223 then [StringEntry("playerInTheArena", currentKeyBytes), StringEntry("cardInTheArena", cardName), IntegerEntry("arenaCardScore", currentCardScore), StringEntry(("status_" + cardNameCurrentPlayer), "Used")]
224224 else if ((currentCardStatus == "Used"))
225225 then throw("Esta carta já foi utilizada! Utilize todas as cartas do deck para esta ser liberada novamente!")
226226 else {
227227 let winner = if ((currentCardScore > arenaCardScore))
228228 then currentKeyBytes
229229 else playerInTheArena
230230 let defeated = if ((arenaCardScore > currentCardScore))
231231 then currentKeyBytes
232232 else if ((currentCardScore > arenaCardScore))
233233 then playerInTheArena
234234 else currentKeyBytes
235235 let winningCard = if ((currentCardScore > arenaCardScore))
236236 then cardName
237237 else cardInTheArena
238238 let defeatedCard = if ((arenaCardScore > currentCardScore))
239239 then cardName
240240 else if ((currentCardScore > arenaCardScore))
241241 then cardInTheArena
242242 else currentKeyBytes
243243 let pointsRemainingOnWinningCard = if ((currentCardScore > arenaCardScore))
244244 then (currentCardScore - arenaCardScore)
245245 else (arenaCardScore - currentCardScore)
246246 let rewardValue = if ((winner == currentKeyBytes))
247247 then ((((payAmount * 19) / 10) / 2) + currentPlayerBalance)
248248 else if ((winner == playerInTheArena))
249249 then ((((payAmount * 19) / 10) / 2) + arenaPlayerBalance)
250250 else throw("Código 010105. Contate o suporte!")
251251 let newHistoricId = (historicId + 1)
252252 [StringEntry("playerInTheArena", winner), StringEntry("cardInTheArena", winningCard), IntegerEntry("arenaCardScore", pointsRemainingOnWinningCard), if ((resultVerifyStatusCards == 9))
253253 then StringEntry(((("status_" + class) + "_100_") + currentKeyBytes), "")
254254 else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((resultVerifyStatusCards == 9))
255255 then StringEntry(((("status_" + class) + "_200_") + currentKeyBytes), "")
256256 else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((resultVerifyStatusCards == 9))
257257 then StringEntry(((("status_" + class) + "_300_") + currentKeyBytes), "")
258258 else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((resultVerifyStatusCards == 9))
259259 then StringEntry(((("status_" + class) + "_400_") + currentKeyBytes), "")
260260 else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((resultVerifyStatusCards == 9))
261261 then StringEntry(((("status_" + class) + "_500_") + currentKeyBytes), "")
262262 else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((resultVerifyStatusCards == 9))
263263 then StringEntry(((("status_" + class) + "_600_") + currentKeyBytes), "")
264264 else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((resultVerifyStatusCards == 9))
265265 then StringEntry(((("status_" + class) + "_700_") + currentKeyBytes), "")
266266 else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((resultVerifyStatusCards == 9))
267267 then StringEntry(((("status_" + class) + "_800_") + currentKeyBytes), "")
268268 else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((resultVerifyStatusCards == 9))
269269 then StringEntry(((("status_" + class) + "_900_") + currentKeyBytes), "")
270270 else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((resultVerifyStatusCards == 9))
271271 then StringEntry(((("status_" + class) + "_1000_") + currentKeyBytes), "")
272- else StringEntry("ElseObrigatorio", "Todos os elses gravados"), IntegerEntry(("balance_waves_" + winner), rewardValue), StringEntry(((((((("history_" + currentKeyBytes) + "_") + playerInTheArena) + "_") + transactionId) + "_") + toString(newHistoricId)), (((((((((((((((((((((((("{\"historicId\": \"" + toString(newHistoricId)) + "\", \"transactionId\": \"") + transactionId) + "\", \"playerAttack\": \"") + currentKeyBytes) + "\", \"playerInTheArena\": \"") + playerInTheArena) + "\", \"usedCard\": \"") + cardName) + "\", \"cardInTheArena\": \"") + cardInTheArena) + "\", \"arenaCardScore\": \"") + toString(arenaCardScore)) + "\", \"winner\": \"") + winner) + "\", \"winningCard\": \"") + winningCard) + "\", \"defeated\": \"") + defeated) + "\", \"defeatedCard\": \"") + defeatedCard) + "\", \"pointsRemainingOnWinningCard\": \"") + toString(pointsRemainingOnWinningCard)) + "\"}")), StringEntry(("status_" + cardNameCurrentPlayer), "Used"), IntegerEntry("historicId", newHistoricId)]
272+ else StringEntry("ElseObrigatorio", "Todos os elses gravados"), IntegerEntry(("balance_waves_" + winner), rewardValue), StringEntry(((((((("history_" + currentKeyBytes) + "_") + playerInTheArena) + "_") + transactionId) + "_") + toString(newHistoricId)), (((((((((((((((((((((((("{\"historicId\": \"" + toString(newHistoricId)) + "\", \"transactionId\": \"") + transactionId) + "\", \"playerAttack\": \"") + currentKeyBytes) + "\", \"playerInTheArena\": \"") + playerInTheArena) + "\", \"usedCard\": \"") + cardName) + "\", \"cardInTheArena\": \"") + cardInTheArena) + "\", \"arenaCardScore\": \"") + toString(arenaCardScore)) + "\", \"winner\": \"") + winner) + "\", \"winningCard\": \"") + winningCard) + "\", \"defeated\": \"") + defeated) + "\", \"defeatedCard\": \"") + defeatedCard) + "\", \"pointsRemainingOnWinningCard\": \"") + toString(pointsRemainingOnWinningCard)) + "\"}")), StringEntry(("status_" + cardNameCurrentPlayer), "Used"), DeleteEntry("history_3N15bPRtX127MXJ3TAuerRbdgmNJPrGrbj6_FrWBS3bu7dJuUHdgxtbcvAWnqLxHttFMm6MNbMKvcrZq_7"), IntegerEntry("historicId", newHistoricId)]
273273 }
274274 }
275275
276276

github/deemru/w8io/169f3d6 
51.62 ms