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:AAIFAAAAAAAABPMIAhIECgIICBoJCgJhMRIDaW52GgoKAmEyEgRjYXJkGgsKAmEzEgVjbGFzcxoTCgJhNBINdHJhbnNhY3Rpb25JZBoQCgJhNRIKY3VycmVudEtleRoPCgJhNhIJcGF5QW1vdW50GhUKAmE3Eg9jdXJyZW50S2V5Qnl0ZXMaDgoCYTgSCGNhcmROYW1lGhsKAmE5EhVjYXJkTmFtZUN1cnJlbnRQbGF5ZXIaEQoCYjESC2NhcmRzT3JhY2xlGg8KAmIyEgljYXJkc0dhbWUaDwoCYjMSCWNsYXNzR2FtZRoQCgJiNBIKYXNzZXRzR2FtZRoQCgJiNRIKaGlzdG9yaWNJZBoNCgJiNhIHJG1hdGNoMBoHCgJiNxIBdBoXCgJiOBIRY3VycmVudENhcmRTdGF0dXMaFgoCYjkSEGN1cnJlbnRDYXJkU2NvcmUaHQoCYzESF2N1cnJlbnRLZXlQbGF5ZXJCYWxhbmNlGhoKAmMyEhRjdXJyZW50UGxheWVyQmFsYW5jZRoWCgJjMxIQcGxheWVySW5UaGVBcmVuYRobCgJjNBIVYXJlbmF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AABYiLCAiYXJlbmFDYXJkU2NvcmUiOiAiCQABpAAAAAEFAAAAAmM3AgAAAA4iLCAid2lubmVyIjogIgUAAAACZzECAAAAEyIsICJ3aW5uaW5nQ2FyZCI6ICIFAAAAAmczAgAAABAiLCAiZGVmZWF0ZWQiOiAiBQAAAAJnMgIAAAAUIiwgImRlZmVhdGVkQ2FyZCI6ICIFAAAAAmc0AgAAACQiLCAicG9pbnRzUmVtYWluaW5nT25XaW5uaW5nQ2FyZCI6ICIJAAGkAAAAAQUAAAACZzUCAAAAESIsICJ3aW5SZXdhcmQiOiAiCQABpAAAAAEFAAAAAmc2AgAAABQiLCAiZGVmZWF0UmV3YXJkIjogIgkAAaQAAAABBQAAAAJnOAIAAAACIn0JAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgkAASwAAAACAgAAAAdzdGF0dXNfBQAAAAJhOQIAAAAEVXNlZAkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgIAAAAKaGlzdG9yaWNJZAUAAAACZzkFAAAAA25pbAAAAACuatU9", "height": 1651336, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: GKmKcWaGsJSHdqXWGVnoULWk8DYf9PMxgGw5sQ3HgKdp Next: GQ81Fu9oZ8AKmj9RY6uKYkMtbZpXztwWB9HbzUZymNC8 Diff:
Old | New | Differences | |
---|---|---|---|
210 | 210 | } | |
211 | 211 | } | |
212 | 212 | if (if ((class == "Buy Cards")) | |
213 | - | then (payAmount == | |
213 | + | then (payAmount == 100000000) | |
214 | 214 | else false) | |
215 | 215 | then [ScriptTransfer(currentKey, 10, cardsOracle)] | |
216 | 216 | else if (if (!(containsElement(classGame, class))) |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | ||
5 | 5 | ||
6 | 6 | @Callable(inv) | |
7 | 7 | func play (card,class) = { | |
8 | 8 | let transactionId = toBase58String(inv.transactionId) | |
9 | 9 | let currentKey = inv.caller | |
10 | 10 | let payAmount = value(inv.payments[0].amount) | |
11 | 11 | let currentKeyBytes = toBase58String(inv.caller.bytes) | |
12 | 12 | let cardName = ((class + "_") + card) | |
13 | 13 | let cardNameCurrentPlayer = ((((class + "_") + card) + "_") + currentKeyBytes) | |
14 | 14 | let cardsOracle = base58'CRsDX3VXierYph4hHHpVTUz7DAMPioK633YNjrdCHPef' | |
15 | 15 | let cardsGame = ["Card_100", "Card_200", "Card_300", "Card_400", "Card_500", "Card_600", "Card_700", "Card_800", "Card_900", "Card_1000"] | |
16 | 16 | let classGame = ["Card"] | |
17 | 17 | let assetsGame = ["CRsDX3VXierYph4hHHpVTUz7DAMPioK633YNjrdCHPef"] | |
18 | 18 | let historicId = match getInteger(this, "historicId") { | |
19 | 19 | case t: Int => | |
20 | 20 | t | |
21 | 21 | case _ => | |
22 | 22 | 0 | |
23 | 23 | } | |
24 | 24 | let currentCardStatus = match getString(this, ("status_" + cardNameCurrentPlayer)) { | |
25 | 25 | case t: String => | |
26 | 26 | t | |
27 | 27 | case _ => | |
28 | 28 | "" | |
29 | 29 | } | |
30 | 30 | let currentCardScore = match getInteger(this, cardName) { | |
31 | 31 | case t: Int => | |
32 | 32 | t | |
33 | 33 | case _ => | |
34 | 34 | 0 | |
35 | 35 | } | |
36 | 36 | let currentKeyPlayerBalance = ("balance_reward_" + currentKeyBytes) | |
37 | 37 | let currentPlayerBalance = match getInteger(this, currentKeyPlayerBalance) { | |
38 | 38 | case t: Int => | |
39 | 39 | t | |
40 | 40 | case _ => | |
41 | 41 | 0 | |
42 | 42 | } | |
43 | 43 | let playerInTheArena = match getString(this, "playerInTheArena") { | |
44 | 44 | case t: String => | |
45 | 45 | t | |
46 | 46 | case _ => | |
47 | 47 | "" | |
48 | 48 | } | |
49 | 49 | let arenaKeyPlayerBalance = ("balance_reward_" + playerInTheArena) | |
50 | 50 | let arenaPlayerBalance = match getInteger(this, arenaKeyPlayerBalance) { | |
51 | 51 | case t: Int => | |
52 | 52 | t | |
53 | 53 | case _ => | |
54 | 54 | 0 | |
55 | 55 | } | |
56 | 56 | let cardInTheArena = match getString(this, "cardInTheArena") { | |
57 | 57 | case t: String => | |
58 | 58 | t | |
59 | 59 | case _ => | |
60 | 60 | "" | |
61 | 61 | } | |
62 | 62 | let arenaCardScore = match getInteger(this, "arenaCardScore") { | |
63 | 63 | case t: Int => | |
64 | 64 | t | |
65 | 65 | case _ => | |
66 | 66 | 0 | |
67 | 67 | } | |
68 | 68 | let statusCard1 = if (( match getString(this, ((("status_" + class) + "_100_") + currentKeyBytes)) { | |
69 | 69 | case t: String => | |
70 | 70 | t | |
71 | 71 | case _ => | |
72 | 72 | "" | |
73 | 73 | } == "Used")) | |
74 | 74 | then 1 | |
75 | 75 | else 0 | |
76 | 76 | let statusCard2 = if (( match getString(this, ((("status_" + class) + "_200_") + currentKeyBytes)) { | |
77 | 77 | case t: String => | |
78 | 78 | t | |
79 | 79 | case _ => | |
80 | 80 | "" | |
81 | 81 | } == "Used")) | |
82 | 82 | then 1 | |
83 | 83 | else 0 | |
84 | 84 | let statusCard3 = if (( match getString(this, ((("status_" + class) + "_300_") + currentKeyBytes)) { | |
85 | 85 | case t: String => | |
86 | 86 | t | |
87 | 87 | case _ => | |
88 | 88 | "" | |
89 | 89 | } == "Used")) | |
90 | 90 | then 1 | |
91 | 91 | else 0 | |
92 | 92 | let statusCard4 = if (( match getString(this, ((("status_" + class) + "_400_") + currentKeyBytes)) { | |
93 | 93 | case t: String => | |
94 | 94 | t | |
95 | 95 | case _ => | |
96 | 96 | "" | |
97 | 97 | } == "Used")) | |
98 | 98 | then 1 | |
99 | 99 | else 0 | |
100 | 100 | let statusCard5 = if (( match getString(this, ((("status_" + class) + "_500_") + currentKeyBytes)) { | |
101 | 101 | case t: String => | |
102 | 102 | t | |
103 | 103 | case _ => | |
104 | 104 | "" | |
105 | 105 | } == "Used")) | |
106 | 106 | then 1 | |
107 | 107 | else 0 | |
108 | 108 | let statusCard6 = if (( match getString(this, ((("status_" + class) + "_600_") + currentKeyBytes)) { | |
109 | 109 | case t: String => | |
110 | 110 | t | |
111 | 111 | case _ => | |
112 | 112 | "" | |
113 | 113 | } == "Used")) | |
114 | 114 | then 1 | |
115 | 115 | else 0 | |
116 | 116 | let statusCard7 = if (( match getString(this, ((("status_" + class) + "_700_") + currentKeyBytes)) { | |
117 | 117 | case t: String => | |
118 | 118 | t | |
119 | 119 | case _ => | |
120 | 120 | "" | |
121 | 121 | } == "Used")) | |
122 | 122 | then 1 | |
123 | 123 | else 0 | |
124 | 124 | let statusCard8 = if (( match getString(this, ((("status_" + class) + "_800_") + currentKeyBytes)) { | |
125 | 125 | case t: String => | |
126 | 126 | t | |
127 | 127 | case _ => | |
128 | 128 | "" | |
129 | 129 | } == "Used")) | |
130 | 130 | then 1 | |
131 | 131 | else 0 | |
132 | 132 | let statusCard9 = if (( match getString(this, ((("status_" + class) + "_900_") + currentKeyBytes)) { | |
133 | 133 | case t: String => | |
134 | 134 | t | |
135 | 135 | case _ => | |
136 | 136 | "" | |
137 | 137 | } == "Used")) | |
138 | 138 | then 1 | |
139 | 139 | else 0 | |
140 | 140 | let statusCard10 = if (( match getString(this, ((("status_" + class) + "_1000_") + currentKeyBytes)) { | |
141 | 141 | case t: String => | |
142 | 142 | t | |
143 | 143 | case _ => | |
144 | 144 | "" | |
145 | 145 | } == "Used")) | |
146 | 146 | then 1 | |
147 | 147 | else 0 | |
148 | 148 | let statusCards = [statusCard1, statusCard2, statusCard3, statusCard4, statusCard5, statusCard6, statusCard7, statusCard8, statusCard9, statusCard10] | |
149 | 149 | func foldFunc (acc,e) = (acc + e) | |
150 | 150 | ||
151 | 151 | let resultVerifyStatusCards = { | |
152 | 152 | let $list49314965 = statusCards | |
153 | 153 | let $size49314965 = size($list49314965) | |
154 | 154 | let $acc049314965 = 0 | |
155 | 155 | if (($size49314965 == 0)) | |
156 | 156 | then $acc049314965 | |
157 | 157 | else { | |
158 | 158 | let $acc149314965 = foldFunc($acc049314965, $list49314965[0]) | |
159 | 159 | if (($size49314965 == 1)) | |
160 | 160 | then $acc149314965 | |
161 | 161 | else { | |
162 | 162 | let $acc249314965 = foldFunc($acc149314965, $list49314965[1]) | |
163 | 163 | if (($size49314965 == 2)) | |
164 | 164 | then $acc249314965 | |
165 | 165 | else { | |
166 | 166 | let $acc349314965 = foldFunc($acc249314965, $list49314965[2]) | |
167 | 167 | if (($size49314965 == 3)) | |
168 | 168 | then $acc349314965 | |
169 | 169 | else { | |
170 | 170 | let $acc449314965 = foldFunc($acc349314965, $list49314965[3]) | |
171 | 171 | if (($size49314965 == 4)) | |
172 | 172 | then $acc449314965 | |
173 | 173 | else { | |
174 | 174 | let $acc549314965 = foldFunc($acc449314965, $list49314965[4]) | |
175 | 175 | if (($size49314965 == 5)) | |
176 | 176 | then $acc549314965 | |
177 | 177 | else { | |
178 | 178 | let $acc649314965 = foldFunc($acc549314965, $list49314965[5]) | |
179 | 179 | if (($size49314965 == 6)) | |
180 | 180 | then $acc649314965 | |
181 | 181 | else { | |
182 | 182 | let $acc749314965 = foldFunc($acc649314965, $list49314965[6]) | |
183 | 183 | if (($size49314965 == 7)) | |
184 | 184 | then $acc749314965 | |
185 | 185 | else { | |
186 | 186 | let $acc849314965 = foldFunc($acc749314965, $list49314965[7]) | |
187 | 187 | if (($size49314965 == 8)) | |
188 | 188 | then $acc849314965 | |
189 | 189 | else { | |
190 | 190 | let $acc949314965 = foldFunc($acc849314965, $list49314965[8]) | |
191 | 191 | if (($size49314965 == 9)) | |
192 | 192 | then $acc949314965 | |
193 | 193 | else { | |
194 | 194 | let $acc1049314965 = foldFunc($acc949314965, $list49314965[9]) | |
195 | 195 | if (($size49314965 == 10)) | |
196 | 196 | then $acc1049314965 | |
197 | 197 | else { | |
198 | 198 | let $acc1149314965 = foldFunc($acc1049314965, $list49314965[10]) | |
199 | 199 | throw("List size exceed 10") | |
200 | 200 | } | |
201 | 201 | } | |
202 | 202 | } | |
203 | 203 | } | |
204 | 204 | } | |
205 | 205 | } | |
206 | 206 | } | |
207 | 207 | } | |
208 | 208 | } | |
209 | 209 | } | |
210 | 210 | } | |
211 | 211 | } | |
212 | 212 | if (if ((class == "Buy Cards")) | |
213 | - | then (payAmount == | |
213 | + | then (payAmount == 100000000) | |
214 | 214 | else false) | |
215 | 215 | then [ScriptTransfer(currentKey, 10, cardsOracle)] | |
216 | 216 | else if (if (!(containsElement(classGame, class))) | |
217 | 217 | then true | |
218 | 218 | else !(containsElement(cardsGame, cardName))) | |
219 | 219 | then throw("The card sent does not exist in the game! Please check your cards!") | |
220 | 220 | else if ((payAmount != 10000000)) | |
221 | 221 | then throw("Each move has a fixed value of 1 token.") | |
222 | 222 | else if ((0 >= assetBalance(currentKey, cardsOracle))) | |
223 | 223 | then throw("You must have the cards in your wallet! Get it on the marketplace!") | |
224 | 224 | else if (if ((cardInTheArena == "")) | |
225 | 225 | then true | |
226 | 226 | else (playerInTheArena == "")) | |
227 | 227 | then [StringEntry("playerInTheArena", currentKeyBytes), StringEntry("cardInTheArena", cardName), IntegerEntry("arenaCardScore", currentCardScore), StringEntry(("status_" + cardNameCurrentPlayer), "Used")] | |
228 | 228 | else if ((currentCardStatus == "Used")) | |
229 | 229 | then throw("This card has already been used! Use all the cards in the deck to unlock it again!") | |
230 | 230 | else { | |
231 | 231 | let winner = if ((currentCardScore > arenaCardScore)) | |
232 | 232 | then currentKeyBytes | |
233 | 233 | else playerInTheArena | |
234 | 234 | let defeated = if ((arenaCardScore > currentCardScore)) | |
235 | 235 | then currentKeyBytes | |
236 | 236 | else if ((currentCardScore > arenaCardScore)) | |
237 | 237 | then playerInTheArena | |
238 | 238 | else currentKeyBytes | |
239 | 239 | let winningCard = if ((currentCardScore > arenaCardScore)) | |
240 | 240 | then cardName | |
241 | 241 | else cardInTheArena | |
242 | 242 | let defeatedCard = if ((arenaCardScore > currentCardScore)) | |
243 | 243 | then cardName | |
244 | 244 | else if ((currentCardScore > arenaCardScore)) | |
245 | 245 | then cardInTheArena | |
246 | 246 | else currentKeyBytes | |
247 | 247 | let pointsRemainingOnWinningCard = if ((currentCardScore > arenaCardScore)) | |
248 | 248 | then (currentCardScore - arenaCardScore) | |
249 | 249 | else (arenaCardScore - currentCardScore) | |
250 | 250 | let winReward = if ((currentCardScore > arenaCardScore)) | |
251 | 251 | then payAmount | |
252 | 252 | else (payAmount / 2) | |
253 | 253 | let rewardValue = if ((winner == currentKeyBytes)) | |
254 | 254 | then (winReward + currentPlayerBalance) | |
255 | 255 | else if ((winner == playerInTheArena)) | |
256 | 256 | then (winReward + arenaPlayerBalance) | |
257 | 257 | else throw("Código 010105. Contate o suporte!") | |
258 | 258 | let defeatReward = 0 | |
259 | 259 | let newHistoricId = (historicId + 1) | |
260 | 260 | [StringEntry("playerInTheArena", winner), StringEntry("cardInTheArena", winningCard), IntegerEntry("arenaCardScore", pointsRemainingOnWinningCard), if ((resultVerifyStatusCards == 9)) | |
261 | 261 | then StringEntry(((("status_" + class) + "_100_") + currentKeyBytes), "") | |
262 | 262 | else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((resultVerifyStatusCards == 9)) | |
263 | 263 | then StringEntry(((("status_" + class) + "_200_") + currentKeyBytes), "") | |
264 | 264 | else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((resultVerifyStatusCards == 9)) | |
265 | 265 | then StringEntry(((("status_" + class) + "_300_") + currentKeyBytes), "") | |
266 | 266 | else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((resultVerifyStatusCards == 9)) | |
267 | 267 | then StringEntry(((("status_" + class) + "_400_") + currentKeyBytes), "") | |
268 | 268 | else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((resultVerifyStatusCards == 9)) | |
269 | 269 | then StringEntry(((("status_" + class) + "_500_") + currentKeyBytes), "") | |
270 | 270 | else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((resultVerifyStatusCards == 9)) | |
271 | 271 | then StringEntry(((("status_" + class) + "_600_") + currentKeyBytes), "") | |
272 | 272 | else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((resultVerifyStatusCards == 9)) | |
273 | 273 | then StringEntry(((("status_" + class) + "_700_") + currentKeyBytes), "") | |
274 | 274 | else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((resultVerifyStatusCards == 9)) | |
275 | 275 | then StringEntry(((("status_" + class) + "_800_") + currentKeyBytes), "") | |
276 | 276 | else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((resultVerifyStatusCards == 9)) | |
277 | 277 | then StringEntry(((("status_" + class) + "_900_") + currentKeyBytes), "") | |
278 | 278 | else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((resultVerifyStatusCards == 9)) | |
279 | 279 | then StringEntry(((("status_" + class) + "_1000_") + currentKeyBytes), "") | |
280 | 280 | 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)] | |
281 | 281 | } | |
282 | 282 | } | |
283 | 283 | ||
284 | 284 |
github/deemru/w8io/026f985 53.08 ms ◑