tx · E2BvC9T6r69WRoA4nudpRC4u6oWjyymSSui7Khs3MBbd

3NBXer7qR9yJh6bkDDMK1fWcMYyVgAMhGFX:  -0.01000000 Waves

2021.08.10 18:56 [1652457] smart account 3NBXer7qR9yJh6bkDDMK1fWcMYyVgAMhGFX > SELF 0.00000000 Waves

{ "type": 13, "id": "E2BvC9T6r69WRoA4nudpRC4u6oWjyymSSui7Khs3MBbd", "fee": 1000000, "feeAssetId": null, "timestamp": 1628610966908, "version": 2, "chainId": 84, "sender": "3NBXer7qR9yJh6bkDDMK1fWcMYyVgAMhGFX", "senderPublicKey": "FzLqgx3z1ige5YuhjR5esJe6Ug78Eq1Nwezof8APt4h4", "proofs": [ "4ccgsd63nUQNHn2TTg37Y7147BXsQVpe741itAJock5bUKSGUEFCC6SNGuCJ9EPLmX9ekMeQ9KJdoQhqhkYt6ERt" ], "script": "base64:AAIFAAAAAAAABSsIAhIECgIICBoJCgJhMRIDaW52GgoKAmEyEgRjYXJkGgsKAmEzEgVjbGFzcxoTCgJhNBINdHJhbnNhY3Rpb25JZBoQCgJhNRIKY3VycmVudEtleRoPCgJhNhIJcGF5QW1vdW50GhUKAmE3Eg9jdXJyZW50S2V5Qnl0ZXMaDgoCYTgSCGNhcmROYW1lGhsKAmE5EhVjYXJkTmFtZUN1cnJlbnRQbGF5ZXIaEQoCYjESC2NhcmRzT3JhY2xlGg8KAmIyEgljYXJkc0dhbWUaDwoCYjMSCWNsYXNzR2FtZRoQCgJiNBIKYXNzZXRzR2FtZRoQCgJiNRIKaGlzdG9yaWNJZBoNCgJiNhIHJG1hdGNoMBoHCgJiNxIBdBoXCgJiOBIRY3VycmVudENhcmRTdGF0dXMaFgoCYjkSEGN1cnJlbnRDYXJkU2NvcmUaHQoCYzESF2N1cnJlbnRLZXlQbGF5ZXJCYWxhbmNlGhoKAmMyEhRjdXJyZW50UGxheWVyQmFsYW5jZRoWCgJjMxIQcGxheWVySW5UaGVBcmVuYRobCgJjNBIVYXJlbmFLZXlQbG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AAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAICAAAAEHsiaGlzdG9yaWNJZCI6ICIJAAGkAAAAAQUAAAACaDICAAAAFSIsICJ0cmFuc2FjdGlvbklkIjogIgUAAAACYTQCAAAAFCIsICJwbGF5ZXJBdHRhY2siOiAiBQAAAAJhNwIAAAAYIiwgInBsYXllckluVGhlQXJlbmEiOiAiBQAAAAJjMwIAAAAQIiwgInVzZWRDYXJkIjogIgUAAAACYTgCAAAAFiIsICJjYXJkSW5UaGVBcmVuYSI6ICIFAAAAAmM2AgAAABYiLCAiYXJlbmFDYXJkU2NvcmUiOiAiCQABpAAAAAEFAAAAAmM3AgAAAA4iLCAid2lubmVyIjogIgUAAAACZzMCAAAAEyIsICJ3aW5uaW5nQ2FyZCI6ICIFAAAAAmc1AgAAABAiLCAiZGVmZWF0ZWQiOiAiBQAAAAJnNAIAAAAUIiwgImRlZmVhdGVkQ2FyZCI6ICIFAAAAAmc2AgAAACQiLCAicG9pbnRzUmVtYWluaW5nT25XaW5uaW5nQ2FyZCI6ICIJAAGkAAAAAQUAAAACZzcCAAAAESIsICJ3aW5SZXdhcmQiOiAiCQABpAAAAAEFAAAAAmc4AgAAABQiLCAiZGVmZWF0UmV3YXJkIjogIgkAAaQAAAABBQAAAAJoMQIAAAACIn0JAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgkAASwAAAACAgAAAAdzdGF0dXNfBQAAAAJhOQIAAAAEVXNlZAkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgIAAAAKaGlzdG9yaWNJZAUAAAACaDIFAAAAA25pbAAAAACuxlPD", "height": 1652457, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: HfHpx3PwsPCtXhzFb71z3rM18LqqmXHWaNLqyCZ9PidY Next: AyAEaYAVAM1uuyom2cZ7n3s19t5BkrFHeZSseqsLN8BA Diff:
OldNewDifferences
44
55
66 @Callable(inv)
7-func play (card,class,amount) = {
7+func play (card,class) = {
88 let transactionId = toBase58String(inv.transactionId)
99 let currentKey = inv.caller
1010 let payAmount = value(inv.payments[0].amount)
156156 func foldFunc (acc,e) = (acc + e)
157157
158158 let resultVerifyStatusCards = {
159- let $list51715205 = statusCards
160- let $size51715205 = size($list51715205)
161- let $acc051715205 = 0
162- if (($size51715205 == 0))
163- then $acc051715205
159+ let $list51565190 = statusCards
160+ let $size51565190 = size($list51565190)
161+ let $acc051565190 = 0
162+ if (($size51565190 == 0))
163+ then $acc051565190
164164 else {
165- let $acc151715205 = foldFunc($acc051715205, $list51715205[0])
166- if (($size51715205 == 1))
167- then $acc151715205
165+ let $acc151565190 = foldFunc($acc051565190, $list51565190[0])
166+ if (($size51565190 == 1))
167+ then $acc151565190
168168 else {
169- let $acc251715205 = foldFunc($acc151715205, $list51715205[1])
170- if (($size51715205 == 2))
171- then $acc251715205
169+ let $acc251565190 = foldFunc($acc151565190, $list51565190[1])
170+ if (($size51565190 == 2))
171+ then $acc251565190
172172 else {
173- let $acc351715205 = foldFunc($acc251715205, $list51715205[2])
174- if (($size51715205 == 3))
175- then $acc351715205
173+ let $acc351565190 = foldFunc($acc251565190, $list51565190[2])
174+ if (($size51565190 == 3))
175+ then $acc351565190
176176 else {
177- let $acc451715205 = foldFunc($acc351715205, $list51715205[3])
178- if (($size51715205 == 4))
179- then $acc451715205
177+ let $acc451565190 = foldFunc($acc351565190, $list51565190[3])
178+ if (($size51565190 == 4))
179+ then $acc451565190
180180 else {
181- let $acc551715205 = foldFunc($acc451715205, $list51715205[4])
182- if (($size51715205 == 5))
183- then $acc551715205
181+ let $acc551565190 = foldFunc($acc451565190, $list51565190[4])
182+ if (($size51565190 == 5))
183+ then $acc551565190
184184 else {
185- let $acc651715205 = foldFunc($acc551715205, $list51715205[5])
186- if (($size51715205 == 6))
187- then $acc651715205
185+ let $acc651565190 = foldFunc($acc551565190, $list51565190[5])
186+ if (($size51565190 == 6))
187+ then $acc651565190
188188 else {
189- let $acc751715205 = foldFunc($acc651715205, $list51715205[6])
190- if (($size51715205 == 7))
191- then $acc751715205
189+ let $acc751565190 = foldFunc($acc651565190, $list51565190[6])
190+ if (($size51565190 == 7))
191+ then $acc751565190
192192 else {
193- let $acc851715205 = foldFunc($acc751715205, $list51715205[7])
194- if (($size51715205 == 8))
195- then $acc851715205
193+ let $acc851565190 = foldFunc($acc751565190, $list51565190[7])
194+ if (($size51565190 == 8))
195+ then $acc851565190
196196 else {
197- let $acc951715205 = foldFunc($acc851715205, $list51715205[8])
198- if (($size51715205 == 9))
199- then $acc951715205
197+ let $acc951565190 = foldFunc($acc851565190, $list51565190[8])
198+ if (($size51565190 == 9))
199+ then $acc951565190
200200 else {
201- let $acc1051715205 = foldFunc($acc951715205, $list51715205[9])
202- if (($size51715205 == 10))
203- then $acc1051715205
201+ let $acc1051565190 = foldFunc($acc951565190, $list51565190[9])
202+ if (($size51565190 == 10))
203+ then $acc1051565190
204204 else {
205- let $acc1151715205 = foldFunc($acc1051715205, $list51715205[10])
205+ let $acc1151565190 = foldFunc($acc1051565190, $list51565190[10])
206206 throw("List size exceed 10")
207207 }
208208 }
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(inv)
7-func play (card,class,amount) = {
7+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 cardsOracle = base58'CRsDX3VXierYph4hHHpVTUz7DAMPioK633YNjrdCHPef'
1515 let cardsGame = ["Card_100", "Card_200", "Card_300", "Card_400", "Card_500", "Card_600", "Card_700", "Card_800", "Card_900", "Card_1000"]
1616 let classGame = ["Card"]
1717 let assetsGame = ["CRsDX3VXierYph4hHHpVTUz7DAMPioK633YNjrdCHPef"]
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_reward_" + 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_reward_" + 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 purchasedTokens = match getInteger(this, ("purchased tokens_" + currentKeyBytes)) {
149149 case t: Int =>
150150 t
151151 case _ =>
152152 0
153153 }
154154 let newPurchasedTokensBalance = parseBigIntValue(card)
155155 let statusCards = [statusCard1, statusCard2, statusCard3, statusCard4, statusCard5, statusCard6, statusCard7, statusCard8, statusCard9, statusCard10]
156156 func foldFunc (acc,e) = (acc + e)
157157
158158 let resultVerifyStatusCards = {
159- let $list51715205 = statusCards
160- let $size51715205 = size($list51715205)
161- let $acc051715205 = 0
162- if (($size51715205 == 0))
163- then $acc051715205
159+ let $list51565190 = statusCards
160+ let $size51565190 = size($list51565190)
161+ let $acc051565190 = 0
162+ if (($size51565190 == 0))
163+ then $acc051565190
164164 else {
165- let $acc151715205 = foldFunc($acc051715205, $list51715205[0])
166- if (($size51715205 == 1))
167- then $acc151715205
165+ let $acc151565190 = foldFunc($acc051565190, $list51565190[0])
166+ if (($size51565190 == 1))
167+ then $acc151565190
168168 else {
169- let $acc251715205 = foldFunc($acc151715205, $list51715205[1])
170- if (($size51715205 == 2))
171- then $acc251715205
169+ let $acc251565190 = foldFunc($acc151565190, $list51565190[1])
170+ if (($size51565190 == 2))
171+ then $acc251565190
172172 else {
173- let $acc351715205 = foldFunc($acc251715205, $list51715205[2])
174- if (($size51715205 == 3))
175- then $acc351715205
173+ let $acc351565190 = foldFunc($acc251565190, $list51565190[2])
174+ if (($size51565190 == 3))
175+ then $acc351565190
176176 else {
177- let $acc451715205 = foldFunc($acc351715205, $list51715205[3])
178- if (($size51715205 == 4))
179- then $acc451715205
177+ let $acc451565190 = foldFunc($acc351565190, $list51565190[3])
178+ if (($size51565190 == 4))
179+ then $acc451565190
180180 else {
181- let $acc551715205 = foldFunc($acc451715205, $list51715205[4])
182- if (($size51715205 == 5))
183- then $acc551715205
181+ let $acc551565190 = foldFunc($acc451565190, $list51565190[4])
182+ if (($size51565190 == 5))
183+ then $acc551565190
184184 else {
185- let $acc651715205 = foldFunc($acc551715205, $list51715205[5])
186- if (($size51715205 == 6))
187- then $acc651715205
185+ let $acc651565190 = foldFunc($acc551565190, $list51565190[5])
186+ if (($size51565190 == 6))
187+ then $acc651565190
188188 else {
189- let $acc751715205 = foldFunc($acc651715205, $list51715205[6])
190- if (($size51715205 == 7))
191- then $acc751715205
189+ let $acc751565190 = foldFunc($acc651565190, $list51565190[6])
190+ if (($size51565190 == 7))
191+ then $acc751565190
192192 else {
193- let $acc851715205 = foldFunc($acc751715205, $list51715205[7])
194- if (($size51715205 == 8))
195- then $acc851715205
193+ let $acc851565190 = foldFunc($acc751565190, $list51565190[7])
194+ if (($size51565190 == 8))
195+ then $acc851565190
196196 else {
197- let $acc951715205 = foldFunc($acc851715205, $list51715205[8])
198- if (($size51715205 == 9))
199- then $acc951715205
197+ let $acc951565190 = foldFunc($acc851565190, $list51565190[8])
198+ if (($size51565190 == 9))
199+ then $acc951565190
200200 else {
201- let $acc1051715205 = foldFunc($acc951715205, $list51715205[9])
202- if (($size51715205 == 10))
203- then $acc1051715205
201+ let $acc1051565190 = foldFunc($acc951565190, $list51565190[9])
202+ if (($size51565190 == 10))
203+ then $acc1051565190
204204 else {
205- let $acc1151715205 = foldFunc($acc1051715205, $list51715205[10])
205+ let $acc1151565190 = foldFunc($acc1051565190, $list51565190[10])
206206 throw("List size exceed 10")
207207 }
208208 }
209209 }
210210 }
211211 }
212212 }
213213 }
214214 }
215215 }
216216 }
217217 }
218218 }
219219 if ((class == "Buy Tokens Oracle Arena"))
220220 then throw(toString(newPurchasedTokensBalance))
221221 else if (if ((card == "Buy Cards"))
222222 then (payAmount == 100000000)
223223 else false)
224224 then [ScriptTransfer(currentKey, 10, cardsOracle)]
225225 else if (if (!(containsElement(classGame, class)))
226226 then true
227227 else !(containsElement(cardsGame, cardName)))
228228 then throw("The card sent does not exist in the game! Please check your cards!")
229229 else if ((payAmount != 10000000))
230230 then throw("Each move has a fixed value of 1 token.")
231231 else if ((0 >= assetBalance(currentKey, cardsOracle)))
232232 then throw("You must have the cards in your wallet! Get it on the marketplace!")
233233 else if (if ((cardInTheArena == ""))
234234 then true
235235 else (playerInTheArena == ""))
236236 then [StringEntry("playerInTheArena", currentKeyBytes), StringEntry("cardInTheArena", cardName), IntegerEntry("arenaCardScore", currentCardScore), StringEntry(("status_" + cardNameCurrentPlayer), "Used")]
237237 else if ((currentCardStatus == "Used"))
238238 then throw("This card has already been used! Use all the cards in the deck to unlock it again!")
239239 else {
240240 let winner = if ((currentCardScore > arenaCardScore))
241241 then currentKeyBytes
242242 else playerInTheArena
243243 let defeated = if ((arenaCardScore > currentCardScore))
244244 then currentKeyBytes
245245 else if ((currentCardScore > arenaCardScore))
246246 then playerInTheArena
247247 else currentKeyBytes
248248 let winningCard = if ((currentCardScore > arenaCardScore))
249249 then cardName
250250 else cardInTheArena
251251 let defeatedCard = if ((arenaCardScore > currentCardScore))
252252 then cardName
253253 else if ((currentCardScore > arenaCardScore))
254254 then cardInTheArena
255255 else currentKeyBytes
256256 let pointsRemainingOnWinningCard = if ((currentCardScore > arenaCardScore))
257257 then (currentCardScore - arenaCardScore)
258258 else (arenaCardScore - currentCardScore)
259259 let winReward = if ((currentCardScore > arenaCardScore))
260260 then payAmount
261261 else (payAmount / 2)
262262 let rewardValue = if ((winner == currentKeyBytes))
263263 then (winReward + currentPlayerBalance)
264264 else if ((winner == playerInTheArena))
265265 then (winReward + arenaPlayerBalance)
266266 else throw("Código 010105. Contate o suporte!")
267267 let defeatReward = 0
268268 let newHistoricId = (historicId + 1)
269269 [StringEntry("playerInTheArena", winner), StringEntry("cardInTheArena", winningCard), IntegerEntry("arenaCardScore", pointsRemainingOnWinningCard), if ((resultVerifyStatusCards == 9))
270270 then StringEntry(((("status_" + class) + "_100_") + currentKeyBytes), "")
271271 else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((resultVerifyStatusCards == 9))
272272 then StringEntry(((("status_" + class) + "_200_") + currentKeyBytes), "")
273273 else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((resultVerifyStatusCards == 9))
274274 then StringEntry(((("status_" + class) + "_300_") + currentKeyBytes), "")
275275 else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((resultVerifyStatusCards == 9))
276276 then StringEntry(((("status_" + class) + "_400_") + currentKeyBytes), "")
277277 else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((resultVerifyStatusCards == 9))
278278 then StringEntry(((("status_" + class) + "_500_") + currentKeyBytes), "")
279279 else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((resultVerifyStatusCards == 9))
280280 then StringEntry(((("status_" + class) + "_600_") + currentKeyBytes), "")
281281 else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((resultVerifyStatusCards == 9))
282282 then StringEntry(((("status_" + class) + "_700_") + currentKeyBytes), "")
283283 else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((resultVerifyStatusCards == 9))
284284 then StringEntry(((("status_" + class) + "_800_") + currentKeyBytes), "")
285285 else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((resultVerifyStatusCards == 9))
286286 then StringEntry(((("status_" + class) + "_900_") + currentKeyBytes), "")
287287 else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((resultVerifyStatusCards == 9))
288288 then StringEntry(((("status_" + class) + "_1000_") + currentKeyBytes), "")
289289 else StringEntry("ElseObrigatorio", "Todos os elses gravados"), IntegerEntry(("balance_reward_" + 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)) + "\", \"winReward\": \"") + toString(winReward)) + "\", \"defeatReward\": \"") + toString(defeatReward)) + "\"}")), StringEntry(("status_" + cardNameCurrentPlayer), "Used"), IntegerEntry("historicId", newHistoricId)]
290290 }
291291 }
292292
293293

github/deemru/w8io/026f985 
83.89 ms