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