tx · 3YXLrQdkzXMKddNCBPMeBCknEEXKgzDej3BeUuzrASwv

3NBXer7qR9yJh6bkDDMK1fWcMYyVgAMhGFX:  -0.01000000 Waves

2021.08.10 00:16 [1651336] smart account 3NBXer7qR9yJh6bkDDMK1fWcMYyVgAMhGFX > SELF 0.00000000 Waves

{ "type": 13, "id": "3YXLrQdkzXMKddNCBPMeBCknEEXKgzDej3BeUuzrASwv", "fee": 1000000, "feeAssetId": null, "timestamp": 1628543782548, "version": 2, "chainId": 84, "sender": "3NBXer7qR9yJh6bkDDMK1fWcMYyVgAMhGFX", "senderPublicKey": "FzLqgx3z1ige5YuhjR5esJe6Ug78Eq1Nwezof8APt4h4", "proofs": [ "4RTGBCnB4LsHmMe4ZVtgBAuWKy6SbN1RzYwUmnjEHZngTkSqxUNZV8ZQo3zrGCrv1eVBoUuTbJi6uLoAKgqZaWM2" ], "script": "base64:AAIFAAAAAAAABPMIAhIECgIICBoJCgJhMRIDaW52GgoKAmEyEgRjYXJkGgsKAmEzEgVjbGFzcxoTCgJhNBINdHJhbnNhY3Rpb25JZBoQCgJhNRIKY3VycmVudEtleRoPCgJhNhIJcGF5QW1vdW50GhUKAmE3Eg9jdXJyZW50S2V5Qnl0ZXMaDgoCYTgSCGNhcmROYW1lGhsKAmE5EhVjYXJkTmFtZUN1cnJlbnRQbGF5ZXIaEQoCYjESC2NhcmRzT3JhY2xlGg8KAmIyEgljYXJkc0dhbWUaDwoCYjMSCWNsYXNzR2FtZRoQCgJiNBIKYXNzZXRzR2FtZRoQCgJiNRIKaGlzdG9yaWNJZBoNCgJiNhIHJG1hdGNoMBoHCgJiNxIBdBoXCgJiOBIRY3VycmVudENhcmRTdGF0dXMaFgoCYjkSEGN1cnJlbnRDYXJkU2NvcmUaHQoCYzESF2N1cnJlbnRLZXlQbGF5ZXJCYWxhbmNlGhoKAmMyEhRjdXJyZW50UGxheWVyQmFsYW5jZRoWCgJjMxIQcGxheWVySW5UaGVBcmVuYRobCgJjNBIVYXJlbm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AAABYiLCAiYXJlbmFDYXJkU2NvcmUiOiAiCQABpAAAAAEFAAAAAmM3AgAAAA4iLCAid2lubmVyIjogIgUAAAACZzECAAAAEyIsICJ3aW5uaW5nQ2FyZCI6ICIFAAAAAmczAgAAABAiLCAiZGVmZWF0ZWQiOiAiBQAAAAJnMgIAAAAUIiwgImRlZmVhdGVkQ2FyZCI6ICIFAAAAAmc0AgAAACQiLCAicG9pbnRzUmVtYWluaW5nT25XaW5uaW5nQ2FyZCI6ICIJAAGkAAAAAQUAAAACZzUCAAAAESIsICJ3aW5SZXdhcmQiOiAiCQABpAAAAAEFAAAAAmc2AgAAABQiLCAiZGVmZWF0UmV3YXJkIjogIgkAAaQAAAABBQAAAAJnOAIAAAACIn0JAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgkAASwAAAACAgAAAAdzdGF0dXNfBQAAAAJhOQIAAAAEVXNlZAkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgIAAAAKaGlzdG9yaWNJZAUAAAACZzkFAAAAA25pbAAAAACuatU9", "height": 1651336, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: GKmKcWaGsJSHdqXWGVnoULWk8DYf9PMxgGw5sQ3HgKdp Next: GQ81Fu9oZ8AKmj9RY6uKYkMtbZpXztwWB9HbzUZymNC8 Diff:
OldNewDifferences
210210 }
211211 }
212212 if (if ((class == "Buy Cards"))
213- then (payAmount == 1000000000)
213+ then (payAmount == 100000000)
214214 else false)
215215 then [ScriptTransfer(currentKey, 10, cardsOracle)]
216216 else if (if (!(containsElement(classGame, class)))
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 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 statusCards = [statusCard1, statusCard2, statusCard3, statusCard4, statusCard5, statusCard6, statusCard7, statusCard8, statusCard9, statusCard10]
149149 func foldFunc (acc,e) = (acc + e)
150150
151151 let resultVerifyStatusCards = {
152152 let $list49314965 = statusCards
153153 let $size49314965 = size($list49314965)
154154 let $acc049314965 = 0
155155 if (($size49314965 == 0))
156156 then $acc049314965
157157 else {
158158 let $acc149314965 = foldFunc($acc049314965, $list49314965[0])
159159 if (($size49314965 == 1))
160160 then $acc149314965
161161 else {
162162 let $acc249314965 = foldFunc($acc149314965, $list49314965[1])
163163 if (($size49314965 == 2))
164164 then $acc249314965
165165 else {
166166 let $acc349314965 = foldFunc($acc249314965, $list49314965[2])
167167 if (($size49314965 == 3))
168168 then $acc349314965
169169 else {
170170 let $acc449314965 = foldFunc($acc349314965, $list49314965[3])
171171 if (($size49314965 == 4))
172172 then $acc449314965
173173 else {
174174 let $acc549314965 = foldFunc($acc449314965, $list49314965[4])
175175 if (($size49314965 == 5))
176176 then $acc549314965
177177 else {
178178 let $acc649314965 = foldFunc($acc549314965, $list49314965[5])
179179 if (($size49314965 == 6))
180180 then $acc649314965
181181 else {
182182 let $acc749314965 = foldFunc($acc649314965, $list49314965[6])
183183 if (($size49314965 == 7))
184184 then $acc749314965
185185 else {
186186 let $acc849314965 = foldFunc($acc749314965, $list49314965[7])
187187 if (($size49314965 == 8))
188188 then $acc849314965
189189 else {
190190 let $acc949314965 = foldFunc($acc849314965, $list49314965[8])
191191 if (($size49314965 == 9))
192192 then $acc949314965
193193 else {
194194 let $acc1049314965 = foldFunc($acc949314965, $list49314965[9])
195195 if (($size49314965 == 10))
196196 then $acc1049314965
197197 else {
198198 let $acc1149314965 = foldFunc($acc1049314965, $list49314965[10])
199199 throw("List size exceed 10")
200200 }
201201 }
202202 }
203203 }
204204 }
205205 }
206206 }
207207 }
208208 }
209209 }
210210 }
211211 }
212212 if (if ((class == "Buy Cards"))
213- then (payAmount == 1000000000)
213+ then (payAmount == 100000000)
214214 else false)
215215 then [ScriptTransfer(currentKey, 10, cardsOracle)]
216216 else if (if (!(containsElement(classGame, class)))
217217 then true
218218 else !(containsElement(cardsGame, cardName)))
219219 then throw("The card sent does not exist in the game! Please check your cards!")
220220 else if ((payAmount != 10000000))
221221 then throw("Each move has a fixed value of 1 token.")
222222 else if ((0 >= assetBalance(currentKey, cardsOracle)))
223223 then throw("You must have the cards in your wallet! Get it on the marketplace!")
224224 else if (if ((cardInTheArena == ""))
225225 then true
226226 else (playerInTheArena == ""))
227227 then [StringEntry("playerInTheArena", currentKeyBytes), StringEntry("cardInTheArena", cardName), IntegerEntry("arenaCardScore", currentCardScore), StringEntry(("status_" + cardNameCurrentPlayer), "Used")]
228228 else if ((currentCardStatus == "Used"))
229229 then throw("This card has already been used! Use all the cards in the deck to unlock it again!")
230230 else {
231231 let winner = if ((currentCardScore > arenaCardScore))
232232 then currentKeyBytes
233233 else playerInTheArena
234234 let defeated = if ((arenaCardScore > currentCardScore))
235235 then currentKeyBytes
236236 else if ((currentCardScore > arenaCardScore))
237237 then playerInTheArena
238238 else currentKeyBytes
239239 let winningCard = if ((currentCardScore > arenaCardScore))
240240 then cardName
241241 else cardInTheArena
242242 let defeatedCard = if ((arenaCardScore > currentCardScore))
243243 then cardName
244244 else if ((currentCardScore > arenaCardScore))
245245 then cardInTheArena
246246 else currentKeyBytes
247247 let pointsRemainingOnWinningCard = if ((currentCardScore > arenaCardScore))
248248 then (currentCardScore - arenaCardScore)
249249 else (arenaCardScore - currentCardScore)
250250 let winReward = if ((currentCardScore > arenaCardScore))
251251 then payAmount
252252 else (payAmount / 2)
253253 let rewardValue = if ((winner == currentKeyBytes))
254254 then (winReward + currentPlayerBalance)
255255 else if ((winner == playerInTheArena))
256256 then (winReward + arenaPlayerBalance)
257257 else throw("Código 010105. Contate o suporte!")
258258 let defeatReward = 0
259259 let newHistoricId = (historicId + 1)
260260 [StringEntry("playerInTheArena", winner), StringEntry("cardInTheArena", winningCard), IntegerEntry("arenaCardScore", pointsRemainingOnWinningCard), if ((resultVerifyStatusCards == 9))
261261 then StringEntry(((("status_" + class) + "_100_") + currentKeyBytes), "")
262262 else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((resultVerifyStatusCards == 9))
263263 then StringEntry(((("status_" + class) + "_200_") + currentKeyBytes), "")
264264 else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((resultVerifyStatusCards == 9))
265265 then StringEntry(((("status_" + class) + "_300_") + currentKeyBytes), "")
266266 else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((resultVerifyStatusCards == 9))
267267 then StringEntry(((("status_" + class) + "_400_") + currentKeyBytes), "")
268268 else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((resultVerifyStatusCards == 9))
269269 then StringEntry(((("status_" + class) + "_500_") + currentKeyBytes), "")
270270 else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((resultVerifyStatusCards == 9))
271271 then StringEntry(((("status_" + class) + "_600_") + currentKeyBytes), "")
272272 else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((resultVerifyStatusCards == 9))
273273 then StringEntry(((("status_" + class) + "_700_") + currentKeyBytes), "")
274274 else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((resultVerifyStatusCards == 9))
275275 then StringEntry(((("status_" + class) + "_800_") + currentKeyBytes), "")
276276 else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((resultVerifyStatusCards == 9))
277277 then StringEntry(((("status_" + class) + "_900_") + currentKeyBytes), "")
278278 else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((resultVerifyStatusCards == 9))
279279 then StringEntry(((("status_" + class) + "_1000_") + currentKeyBytes), "")
280280 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)]
281281 }
282282 }
283283
284284

github/deemru/w8io/026f985 
53.08 ms