tx · HWVTzaRoCWoGuN6jxLNjUE7QKQAzBF1afPmmJXCuqfh1 3N7wjRDZ2ABrsnoCx4VQX3RP3r3DPkj9eDx: -0.01000000 Waves 2021.07.26 08:16 [1630185] smart account 3N7wjRDZ2ABrsnoCx4VQX3RP3r3DPkj9eDx > SELF 0.00000000 Waves
{ "type": 13, "id": "HWVTzaRoCWoGuN6jxLNjUE7QKQAzBF1afPmmJXCuqfh1", "fee": 1000000, "feeAssetId": null, "timestamp": 1627276612430, "version": 2, "chainId": 84, "sender": "3N7wjRDZ2ABrsnoCx4VQX3RP3r3DPkj9eDx", "senderPublicKey": "6qoAe8r1esyuGECiN4UZSvi5RpyExfXXS8izyNwWZaJP", "proofs": [ "5aq7dd63hGv5nUr9oSzPpCsH17YQFEGuP9g6f1KSCgYk7zpJTsMSGAZ1dXSYsH7zHNHqDaWXYHWD7zirvwwmJmhX" ], "script": "base64:AAIFAAAAAAAAAAgIAhIECgIICAAAAAAAAAABAAAAA2ludgEAAAAEcGxheQAAAAIAAAAEY2FyZAAAAAVjbGFzcwQAAAANdHJhbnNhY3Rpb25JZAkAAlgAAAABCAUAAAADaW52AAAADXRyYW5zYWN0aW9uSWQEAAAACmN1cnJlbnRLZXkIBQAAAANpbnYAAAAGY2FsbGVyBAAAAAlwYXlBbW91bnQJAQAAAAV2YWx1ZQAAAAEICQABkQAAAAIIBQAAAANpbnYAAAAIcGF5bWVudHMAAAAAAAAAAAAAAAAGYW1vdW50BAAAAA9jdXJyZW50S2V5Qnl0ZXMJAAJYAAAAAQgIBQAAAANpbnYAAAAGY2FsbGVyAAAABWJ5dGVzBAAAAAhjYXJkTmFtZQkAASwAAAACCQABLAAAAAIFAAAABWNsYXNzAgAAAAFfBQAAAARjYXJkBAAAABVjYXJkTmFtZUN1cnJlbnRQbGF5ZXIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgUAAAAFY2xhc3MCAAAAAV8FAAAABGNhcmQCAAAAAV8FAAAAD2N1cnJlb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XJlbmECAAAAES8gYXJlbmFDYXJkU2NvcmU6CQABpAAAAAEFAAAADmFyZW5hQ2FyZFNjb3JlAgAAAAkvIHdpbm5lcjoFAAAABndpbm5lcgIAAAAOLyB3aW5uaW5nQ2FyZDoFAAAAC3dpbm5pbmdDYXJkAgAAAB8vIHBvaW50c1JlbWFpbmluZ09uV2lubmluZ0NhcmQ6CQABpAAAAAEFAAAAHHBvaW50c1JlbWFpbmluZ09uV2lubmluZ0NhcmQJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgIAAAAWUmVzdWx0YWRvIGRhIFBhcnRpZGE6IAkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACAgAAAAl1c2VkQ2FyZDoFAAAACGNhcmROYW1lAgAAAAkvIHdpbm5lcjoFAAAABndpbm5lcgIAAAAOLyB3aW5uaW5nQ2FyZDoFAAAAC3dpbm5pbmdDYXJkAgAAAB8vIHBvaW50c1JlbWFpbmluZ09uV2lubmluZ0NhcmQ6CQABpAAAAAEFAAAAHHBvaW50c1JlbWFpbmluZ09uV2lubmluZ0NhcmQJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgkAASwAAAACAgAAAAdzdGF0dXNfBQAAABVjYXJkTmFtZUN1cnJlbnRQbGF5ZXICAAAABFVzZWQFAAAAA25pbAAAAAAV9+cv", "height": 1630185, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: CZdsG1Pg4EtbKCAnxBDXjjNYr7JTWykZVH71CdZovD4h Next: 7aPmzBAZFTwfHRwAMA9V4ova1aJavqsc1pspS3zD1GRq Diff:
Old | New | Differences | |
---|---|---|---|
258 | 258 | then true | |
259 | 259 | else !(containsElement(k, h))) | |
260 | 260 | then throw("A classe enviada não existe no game! Por favor verifique suas cartas!") | |
261 | - | else if ( | |
262 | - | then throw( | |
263 | - | else if (( | |
264 | - | then throw(" | |
265 | - | else if (( | |
266 | - | then | |
267 | - | else | |
268 | - | ||
269 | - | ||
270 | - | then [ | |
261 | + | else if ((f != 10000000)) | |
262 | + | then throw("Cada jogada possui um valor fixo de 0.01 waves.") | |
263 | + | else if ((0 >= assetBalance(e, j))) | |
264 | + | then throw("E necessário ter o token do deck em sua carteira! Para adquirir, realize a compra em Swap Decks.") | |
265 | + | else if (if ((w == "")) | |
266 | + | then true | |
267 | + | else (t == "")) | |
268 | + | then [StringEntry("playerInTheArena", g), StringEntry("cardInTheArena", h), IntegerEntry("arenaCardScore", q), StringEntry(("status_" + i), "Used")] | |
269 | + | else if (true) | |
270 | + | then [ScriptTransfer(Address(toBytes(t)), 10, base58'6pdMqnpdaD6xEf7gbkgdwKq9UhVsQTFCN1mEDvYiL5LK')] | |
271 | 271 | else if ((n == "Used")) | |
272 | 272 | then throw("Esta carta já foi utilizada! Utilize todas as cartas do deck para esta ser liberada novamente!") | |
273 | 273 | else { |
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(a) | |
7 | 7 | func play (b,c) = { | |
8 | 8 | let d = toBase58String(a.transactionId) | |
9 | 9 | let e = a.caller | |
10 | 10 | let f = value(a.payments[0].amount) | |
11 | 11 | let g = toBase58String(a.caller.bytes) | |
12 | 12 | let h = ((c + "_") + b) | |
13 | 13 | let i = ((((c + "_") + b) + "_") + g) | |
14 | 14 | let j = base58'6pdMqnpdaD6xEf7gbkgdwKq9UhVsQTFCN1mEDvYiL5NY' | |
15 | 15 | let k = ["Undead_1", "Undead_2", "Undead_3", "Undead_4", "Undead_5", "Undead_6", "Undead_7", "Undead_8", "Undead_9", "Undead_10"] | |
16 | 16 | let l = ["Undead"] | |
17 | 17 | let m = ["6pdMqnpdaD6xEf7gbkgdwKq9UhVsQTFCN1mEDvYiL5NY"] | |
18 | 18 | let n = { | |
19 | 19 | let o = getString(this, ("status_" + i)) | |
20 | 20 | if ($isInstanceOf(o, "String")) | |
21 | 21 | then { | |
22 | 22 | let p = o | |
23 | 23 | p | |
24 | 24 | } | |
25 | 25 | else "" | |
26 | 26 | } | |
27 | 27 | let q = { | |
28 | 28 | let o = getInteger(this, h) | |
29 | 29 | if ($isInstanceOf(o, "Int")) | |
30 | 30 | then { | |
31 | 31 | let p = o | |
32 | 32 | p | |
33 | 33 | } | |
34 | 34 | else 0 | |
35 | 35 | } | |
36 | 36 | let r = ("balance_waves_" + g) | |
37 | 37 | let s = { | |
38 | 38 | let o = getInteger(this, r) | |
39 | 39 | if ($isInstanceOf(o, "Int")) | |
40 | 40 | then { | |
41 | 41 | let p = o | |
42 | 42 | p | |
43 | 43 | } | |
44 | 44 | else 0 | |
45 | 45 | } | |
46 | 46 | let t = { | |
47 | 47 | let o = getString(this, "playerInTheArena") | |
48 | 48 | if ($isInstanceOf(o, "String")) | |
49 | 49 | then { | |
50 | 50 | let p = o | |
51 | 51 | p | |
52 | 52 | } | |
53 | 53 | else "" | |
54 | 54 | } | |
55 | 55 | let u = ("balance_waves_" + t) | |
56 | 56 | let v = { | |
57 | 57 | let o = getInteger(this, u) | |
58 | 58 | if ($isInstanceOf(o, "Int")) | |
59 | 59 | then { | |
60 | 60 | let p = o | |
61 | 61 | p | |
62 | 62 | } | |
63 | 63 | else 0 | |
64 | 64 | } | |
65 | 65 | let w = { | |
66 | 66 | let o = getString(this, "cardInTheArena") | |
67 | 67 | if ($isInstanceOf(o, "String")) | |
68 | 68 | then { | |
69 | 69 | let p = o | |
70 | 70 | p | |
71 | 71 | } | |
72 | 72 | else "" | |
73 | 73 | } | |
74 | 74 | let x = { | |
75 | 75 | let o = getInteger(this, "arenaCardScore") | |
76 | 76 | if ($isInstanceOf(o, "Int")) | |
77 | 77 | then { | |
78 | 78 | let p = o | |
79 | 79 | p | |
80 | 80 | } | |
81 | 81 | else 0 | |
82 | 82 | } | |
83 | 83 | let y = if (({ | |
84 | 84 | let o = getString(this, ((("status_" + c) + "_1_") + g)) | |
85 | 85 | if ($isInstanceOf(o, "String")) | |
86 | 86 | then { | |
87 | 87 | let p = o | |
88 | 88 | p | |
89 | 89 | } | |
90 | 90 | else "" | |
91 | 91 | } == "Used")) | |
92 | 92 | then 1 | |
93 | 93 | else 0 | |
94 | 94 | let z = if (({ | |
95 | 95 | let o = getString(this, ((("status_" + c) + "_2_") + g)) | |
96 | 96 | if ($isInstanceOf(o, "String")) | |
97 | 97 | then { | |
98 | 98 | let p = o | |
99 | 99 | p | |
100 | 100 | } | |
101 | 101 | else "" | |
102 | 102 | } == "Used")) | |
103 | 103 | then 1 | |
104 | 104 | else 0 | |
105 | 105 | let A = if (({ | |
106 | 106 | let o = getString(this, ((("status_" + c) + "_3_") + g)) | |
107 | 107 | if ($isInstanceOf(o, "String")) | |
108 | 108 | then { | |
109 | 109 | let p = o | |
110 | 110 | p | |
111 | 111 | } | |
112 | 112 | else "" | |
113 | 113 | } == "Used")) | |
114 | 114 | then 1 | |
115 | 115 | else 0 | |
116 | 116 | let B = if (({ | |
117 | 117 | let o = getString(this, ((("status_" + c) + "_4_") + g)) | |
118 | 118 | if ($isInstanceOf(o, "String")) | |
119 | 119 | then { | |
120 | 120 | let p = o | |
121 | 121 | p | |
122 | 122 | } | |
123 | 123 | else "" | |
124 | 124 | } == "Used")) | |
125 | 125 | then 1 | |
126 | 126 | else 0 | |
127 | 127 | let C = if (({ | |
128 | 128 | let o = getString(this, ((("status_" + c) + "_5_") + g)) | |
129 | 129 | if ($isInstanceOf(o, "String")) | |
130 | 130 | then { | |
131 | 131 | let p = o | |
132 | 132 | p | |
133 | 133 | } | |
134 | 134 | else "" | |
135 | 135 | } == "Used")) | |
136 | 136 | then 1 | |
137 | 137 | else 0 | |
138 | 138 | let D = if (({ | |
139 | 139 | let o = getString(this, ((("status_" + c) + "_6_") + g)) | |
140 | 140 | if ($isInstanceOf(o, "String")) | |
141 | 141 | then { | |
142 | 142 | let p = o | |
143 | 143 | p | |
144 | 144 | } | |
145 | 145 | else "" | |
146 | 146 | } == "Used")) | |
147 | 147 | then 1 | |
148 | 148 | else 0 | |
149 | 149 | let E = if (({ | |
150 | 150 | let o = getString(this, ((("status_" + c) + "_7_") + g)) | |
151 | 151 | if ($isInstanceOf(o, "String")) | |
152 | 152 | then { | |
153 | 153 | let p = o | |
154 | 154 | p | |
155 | 155 | } | |
156 | 156 | else "" | |
157 | 157 | } == "Used")) | |
158 | 158 | then 1 | |
159 | 159 | else 0 | |
160 | 160 | let F = if (({ | |
161 | 161 | let o = getString(this, ((("status_" + c) + "_8_") + g)) | |
162 | 162 | if ($isInstanceOf(o, "String")) | |
163 | 163 | then { | |
164 | 164 | let p = o | |
165 | 165 | p | |
166 | 166 | } | |
167 | 167 | else "" | |
168 | 168 | } == "Used")) | |
169 | 169 | then 1 | |
170 | 170 | else 0 | |
171 | 171 | let G = if (({ | |
172 | 172 | let o = getString(this, ((("status_" + c) + "_9_") + g)) | |
173 | 173 | if ($isInstanceOf(o, "String")) | |
174 | 174 | then { | |
175 | 175 | let p = o | |
176 | 176 | p | |
177 | 177 | } | |
178 | 178 | else "" | |
179 | 179 | } == "Used")) | |
180 | 180 | then 1 | |
181 | 181 | else 0 | |
182 | 182 | let H = if (({ | |
183 | 183 | let o = getString(this, ((("status_" + c) + "_10_") + g)) | |
184 | 184 | if ($isInstanceOf(o, "String")) | |
185 | 185 | then { | |
186 | 186 | let p = o | |
187 | 187 | p | |
188 | 188 | } | |
189 | 189 | else "" | |
190 | 190 | } == "Used")) | |
191 | 191 | then 1 | |
192 | 192 | else 0 | |
193 | 193 | let I = [y, z, A, B, C, D, E, F, G, H] | |
194 | 194 | func J (K,L) = (K + L) | |
195 | 195 | ||
196 | 196 | let M = { | |
197 | 197 | let N = I | |
198 | 198 | let O = size(N) | |
199 | 199 | let P = 0 | |
200 | 200 | if ((O == 0)) | |
201 | 201 | then P | |
202 | 202 | else { | |
203 | 203 | let Q = J(P, N[0]) | |
204 | 204 | if ((O == 1)) | |
205 | 205 | then Q | |
206 | 206 | else { | |
207 | 207 | let R = J(Q, N[1]) | |
208 | 208 | if ((O == 2)) | |
209 | 209 | then R | |
210 | 210 | else { | |
211 | 211 | let S = J(R, N[2]) | |
212 | 212 | if ((O == 3)) | |
213 | 213 | then S | |
214 | 214 | else { | |
215 | 215 | let T = J(S, N[3]) | |
216 | 216 | if ((O == 4)) | |
217 | 217 | then T | |
218 | 218 | else { | |
219 | 219 | let U = J(T, N[4]) | |
220 | 220 | if ((O == 5)) | |
221 | 221 | then U | |
222 | 222 | else { | |
223 | 223 | let V = J(U, N[5]) | |
224 | 224 | if ((O == 6)) | |
225 | 225 | then V | |
226 | 226 | else { | |
227 | 227 | let W = J(V, N[6]) | |
228 | 228 | if ((O == 7)) | |
229 | 229 | then W | |
230 | 230 | else { | |
231 | 231 | let X = J(W, N[7]) | |
232 | 232 | if ((O == 8)) | |
233 | 233 | then X | |
234 | 234 | else { | |
235 | 235 | let Y = J(X, N[8]) | |
236 | 236 | if ((O == 9)) | |
237 | 237 | then Y | |
238 | 238 | else { | |
239 | 239 | let Z = J(Y, N[9]) | |
240 | 240 | if ((O == 10)) | |
241 | 241 | then Z | |
242 | 242 | else { | |
243 | 243 | let aa = J(Z, N[10]) | |
244 | 244 | throw("List size exceed 10") | |
245 | 245 | } | |
246 | 246 | } | |
247 | 247 | } | |
248 | 248 | } | |
249 | 249 | } | |
250 | 250 | } | |
251 | 251 | } | |
252 | 252 | } | |
253 | 253 | } | |
254 | 254 | } | |
255 | 255 | } | |
256 | 256 | } | |
257 | 257 | if (if (!(containsElement(l, c))) | |
258 | 258 | then true | |
259 | 259 | else !(containsElement(k, h))) | |
260 | 260 | then throw("A classe enviada não existe no game! Por favor verifique suas cartas!") | |
261 | - | else if ( | |
262 | - | then throw( | |
263 | - | else if (( | |
264 | - | then throw(" | |
265 | - | else if (( | |
266 | - | then | |
267 | - | else | |
268 | - | ||
269 | - | ||
270 | - | then [ | |
261 | + | else if ((f != 10000000)) | |
262 | + | then throw("Cada jogada possui um valor fixo de 0.01 waves.") | |
263 | + | else if ((0 >= assetBalance(e, j))) | |
264 | + | then throw("E necessário ter o token do deck em sua carteira! Para adquirir, realize a compra em Swap Decks.") | |
265 | + | else if (if ((w == "")) | |
266 | + | then true | |
267 | + | else (t == "")) | |
268 | + | then [StringEntry("playerInTheArena", g), StringEntry("cardInTheArena", h), IntegerEntry("arenaCardScore", q), StringEntry(("status_" + i), "Used")] | |
269 | + | else if (true) | |
270 | + | then [ScriptTransfer(Address(toBytes(t)), 10, base58'6pdMqnpdaD6xEf7gbkgdwKq9UhVsQTFCN1mEDvYiL5LK')] | |
271 | 271 | else if ((n == "Used")) | |
272 | 272 | then throw("Esta carta já foi utilizada! Utilize todas as cartas do deck para esta ser liberada novamente!") | |
273 | 273 | else { | |
274 | 274 | let ab = if ((q > x)) | |
275 | 275 | then g | |
276 | 276 | else t | |
277 | 277 | let ac = if ((q > x)) | |
278 | 278 | then h | |
279 | 279 | else w | |
280 | 280 | let ad = if ((q > x)) | |
281 | 281 | then (q - x) | |
282 | 282 | else (x - q) | |
283 | 283 | let ae = if ((ab == g)) | |
284 | 284 | then ((((f * 19) / 10) / 2) + s) | |
285 | 285 | else if ((ab == t)) | |
286 | 286 | then ((((f * 19) / 10) / 2) + v) | |
287 | 287 | else throw("Código 010105. Contate o suporte!") | |
288 | 288 | [StringEntry("playerInTheArena", ab), StringEntry("cardInTheArena", ac), IntegerEntry("arenaCardScore", ad), if ((M == 9)) | |
289 | 289 | then StringEntry(((("status_" + c) + "_1_") + g), "") | |
290 | 290 | else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((M == 9)) | |
291 | 291 | then StringEntry(((("status_" + c) + "_2_") + g), "") | |
292 | 292 | else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((M == 9)) | |
293 | 293 | then StringEntry(((("status_" + c) + "_3_") + g), "") | |
294 | 294 | else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((M == 9)) | |
295 | 295 | then StringEntry(((("status_" + c) + "_4_") + g), "") | |
296 | 296 | else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((M == 9)) | |
297 | 297 | then StringEntry(((("status_" + c) + "_5_") + g), "") | |
298 | 298 | else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((M == 9)) | |
299 | 299 | then StringEntry(((("status_" + c) + "_6_") + g), "") | |
300 | 300 | else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((M == 9)) | |
301 | 301 | then StringEntry(((("status_" + c) + "_7_") + g), "") | |
302 | 302 | else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((M == 9)) | |
303 | 303 | then StringEntry(((("status_" + c) + "_8_") + g), "") | |
304 | 304 | else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((M == 9)) | |
305 | 305 | then StringEntry(((("status_" + c) + "_9_") + g), "") | |
306 | 306 | else StringEntry("ElseObrigatorio", "Todos os elses gravados"), if ((M == 9)) | |
307 | 307 | then StringEntry(((("status_" + c) + "_10_") + g), "") | |
308 | 308 | else StringEntry("ElseObrigatorio", "Todos os elses gravados"), IntegerEntry(("balance_waves_" + ab), ae), StringEntry(((("history_" + g) + "_") + d), ((((((((((("usedCard:" + h) + "/ cardInTheArena: ") + w) + "/ arenaCardScore:") + toString(x)) + "/ winner:") + ab) + "/ winningCard:") + ac) + "/ pointsRemainingOnWinningCard:") + toString(ad))), StringEntry("Resultado da Partida: ", ((((((("usedCard:" + h) + "/ winner:") + ab) + "/ winningCard:") + ac) + "/ pointsRemainingOnWinningCard:") + toString(ad))), StringEntry(("status_" + i), "Used")] | |
309 | 309 | } | |
310 | 310 | } | |
311 | 311 | ||
312 | 312 |
github/deemru/w8io/169f3d6 49.46 ms ◑