tx · GcQaDNHmT1syezTKm3oevMiBGiNkXnrPsF41So8rqWyd

3Mr1J95HgTFuj93Uh61WS1PBrxc5hSx5uE5:  -0.05000000 Waves

2024.07.28 12:54 [3213778] smart account 3Mr1J95HgTFuj93Uh61WS1PBrxc5hSx5uE5 > SELF 0.00000000 Waves

{ "type": 13, "id": "GcQaDNHmT1syezTKm3oevMiBGiNkXnrPsF41So8rqWyd", "fee": 5000000, "feeAssetId": null, "timestamp": 1722160504406, "version": 2, "chainId": 84, "sender": "3Mr1J95HgTFuj93Uh61WS1PBrxc5hSx5uE5", "senderPublicKey": "DhKSnv34wE65np8uDd8E6ygEbNsn6fHx9p7q4hJTcgRw", "proofs": [ "2gEtPjQuaHaQhgvugBcWAHk37ZBX43CaEvuxuqjAbe2MXcaRLMMk7u24nY1HTMZCwJ6fMggcepcF7V1SW9NGjk2g" ], "script": "base64:AAIFAAAAAAAAAA0IAhIDCgEIEgQKAggIAAAACQAAAAAMQkFJX0NPTlRSQUNUAgAAACMzTjl0S2l4enFUWVduRVhReHJEUTVwQlRHdlFkNnNGc3ZtVgAAAAAMQkFJX0FTU0VUX0lEAQAAACCT4XI4cQSbauiaYx8EJLdkU5csPrxmC4N0r2i7JI3iQgAAAAAGUExBWUVSAgAAAAExAAAAAAJBSQIAAAABMgAAAAAOV0lOTklOR19BTU9VTlQAAAAAAAX14QABAAAABmNoYXJBdAAAAAIAAAADc3RyAAAAAWkJAAGRAAAAAgkABLUAAAACBQAAAANzdHICAAAAAAUAAAABaQEAAAASY2hlY2tJZk1vdmVJc1ZhbGlkAAAAAgAAAAZnYW1lSWQAAAAFYm9hcmQEAAAADGN1cnJlbnRCb2FyZAQAAAAHJG1hdGNoMAkABCIAAAABCQABLAAAAAICAAAADWN1cnJlbnRCb2FyZF8FAAAABmdhbWVJZAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAGU3RyaW5nBAAAAAFzBQAAAAckbWF0Y2gwBQAAAAFzAgAAAAkwMDAwMDAwMDAEAA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JAAEsAAAAAgkAASwAAAACBQAAAAZnYW1lSWQCAAAAAV8FAAAABWJvYXJkCQAETAAAAAICAAAACXRpY3RhY3RvZQkABEwAAAACAgAAAAhjYWxsYmFjawUAAAADbmlsCQAETAAAAAIJAQAAAA9BdHRhY2hlZFBheW1lbnQAAAACBQAAAAxCQUlfQVNTRVRfSUQAAAAAAACYloAFAAAAA25pbAMJAAAAAAAAAgUAAAAIbmV4dE1vdmUFAAAACG5leHRNb3ZlCQAETAAAAAIJAQAAAAtTdHJpbmdFbnRyeQAAAAIJAAEsAAAAAgIAAAANY3VycmVudEJvYXJkXwUAAAAGZ2FtZUlkBQAAAAVib2FyZAkABEwAAAACCQEAAAALU3RyaW5nRW50cnkAAAACCQABLAAAAAICAAAACmluaXRpYXRvcl8FAAAABmdhbWVJZAkABCUAAAABBQAAAAZzZW5kZXIJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgkAASwAAAACAgAAAAxuZXh0X3BsYXllcl8FAAAABmdhbWVJZAUAAAACQUkFAAAAA25pbAkAAAIAAAABAgAAACRTdHJpY3QgdmFsdWUgaXMgbm90IGVxdWFsIHRvIGl0c2VsZi4AAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleZVtN3o=", "height": 3213778, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 9UJfb1FGi8q23ZuKnmBA2AjutZKFwjbYqEngQTy5djbu Next: 67HYTywb5xb6UbqiL2hAjR4pbjX8uMjcmhsXVJYqcuLj Diff:
OldNewDifferences
126126
127127
128128 func J (j,k,K) = {
129- let l = {
130- let m = getString(("currentBoard_" + j))
131- if ($isInstanceOf(m, "String"))
132- then {
133- let n = m
134- n
135- }
136- else "000000000"
137- }
129+ let l = if ((K == d))
130+ then k
131+ else {
132+ let m = getString(("currentBoard_" + j))
133+ if ($isInstanceOf(m, "String"))
134+ then {
135+ let n = m
136+ n
137+ }
138+ else "000000000"
139+ }
138140 let L = [[0, 1, 2], [3, 4, 5], [6, 7, 8], [0, 3, 6], [1, 4, 7], [2, 5, 8], [0, 4, 8], [2, 4, 6]]
139141 let M = if (if ((f(l, L[0][0]) == K))
140142 then (f(l, L[0][1]) == K)
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "3N9tKixzqTYWnEXQxrDQ5pBTGvQd6sFsvmV"
55
66 let b = base58'AxGKQRxKo4F2EbhrRq6N2tdLsxtMnpzQsS4QemV6V1W1'
77
88 let c = "1"
99
1010 let d = "2"
1111
1212 let e = 100000000
1313
1414 func f (g,h) = split(g, "")[h]
1515
1616
1717 func i (j,k) = {
1818 let l = {
1919 let m = getString(("currentBoard_" + j))
2020 if ($isInstanceOf(m, "String"))
2121 then {
2222 let n = m
2323 n
2424 }
2525 else "000000000"
2626 }
2727 let o = if ((f(k, 0) != f(l, 0)))
2828 then 1
2929 else 0
3030 let p = if ((f(k, 1) != f(l, 1)))
3131 then 1
3232 else 0
3333 let q = if ((f(k, 2) != f(l, 2)))
3434 then 1
3535 else 0
3636 let r = if ((f(k, 3) != f(l, 3)))
3737 then 1
3838 else 0
3939 let s = if ((f(k, 4) != f(l, 4)))
4040 then 1
4141 else 0
4242 let t = if ((f(k, 5) != f(l, 5)))
4343 then 1
4444 else 0
4545 let u = if ((f(k, 6) != f(l, 6)))
4646 then 1
4747 else 0
4848 let v = if ((f(k, 7) != f(l, 7)))
4949 then 1
5050 else 0
5151 let w = if ((f(k, 8) != f(l, 8)))
5252 then 1
5353 else 0
5454 let x = if (if ((f(k, 0) == f(l, 0)))
5555 then true
5656 else (f(l, 0) == "0"))
5757 then true
5858 else false
5959 let y = if (if ((f(k, 1) == f(l, 1)))
6060 then true
6161 else (f(l, 1) == "0"))
6262 then true
6363 else false
6464 let z = if (if ((f(k, 2) == f(l, 2)))
6565 then true
6666 else (f(l, 2) == "0"))
6767 then true
6868 else false
6969 let A = if (if ((f(k, 3) == f(l, 3)))
7070 then true
7171 else (f(l, 3) == "0"))
7272 then true
7373 else false
7474 let B = if (if ((f(k, 4) == f(l, 4)))
7575 then true
7676 else (f(l, 4) == "0"))
7777 then true
7878 else false
7979 let C = if (if ((f(k, 5) == f(l, 5)))
8080 then true
8181 else (f(l, 5) == "0"))
8282 then true
8383 else false
8484 let D = if (if ((f(k, 6) == f(l, 6)))
8585 then true
8686 else (f(l, 6) == "0"))
8787 then true
8888 else false
8989 let E = if (if ((f(k, 7) == f(l, 7)))
9090 then true
9191 else (f(l, 7) == "0"))
9292 then true
9393 else false
9494 let F = if (if ((f(k, 8) == f(l, 8)))
9595 then true
9696 else (f(l, 8) == "0"))
9797 then true
9898 else false
9999 let G = if (if (if (if (if (if (if (if (x)
100100 then y
101101 else false)
102102 then z
103103 else false)
104104 then A
105105 else false)
106106 then B
107107 else false)
108108 then C
109109 else false)
110110 then D
111111 else false)
112112 then E
113113 else false)
114114 then F
115115 else false
116116 let H = ((((((((o + p) + q) + r) + s) + t) + u) + v) + w)
117117 let I = (1 >= H)
118118 if ((H > 1))
119119 then throw("More than move made!")
120120 else if (!(G))
121121 then throw("Former position overwritten!")
122122 else if (G)
123123 then I
124124 else false
125125 }
126126
127127
128128 func J (j,k,K) = {
129- let l = {
130- let m = getString(("currentBoard_" + j))
131- if ($isInstanceOf(m, "String"))
132- then {
133- let n = m
134- n
135- }
136- else "000000000"
137- }
129+ let l = if ((K == d))
130+ then k
131+ else {
132+ let m = getString(("currentBoard_" + j))
133+ if ($isInstanceOf(m, "String"))
134+ then {
135+ let n = m
136+ n
137+ }
138+ else "000000000"
139+ }
138140 let L = [[0, 1, 2], [3, 4, 5], [6, 7, 8], [0, 3, 6], [1, 4, 7], [2, 5, 8], [0, 4, 8], [2, 4, 6]]
139141 let M = if (if ((f(l, L[0][0]) == K))
140142 then (f(l, L[0][1]) == K)
141143 else false)
142144 then (f(l, L[0][2]) == K)
143145 else false
144146 let N = if (if ((f(l, L[1][0]) == K))
145147 then (f(l, L[1][1]) == K)
146148 else false)
147149 then (f(l, L[1][2]) == K)
148150 else false
149151 let O = if (if ((f(l, L[2][0]) == K))
150152 then (f(l, L[2][1]) == K)
151153 else false)
152154 then (f(l, L[2][2]) == K)
153155 else false
154156 let P = if (if ((f(l, L[3][0]) == K))
155157 then (f(l, L[3][1]) == K)
156158 else false)
157159 then (f(l, L[3][2]) == K)
158160 else false
159161 let Q = if (if ((f(l, L[4][0]) == K))
160162 then (f(l, L[4][1]) == K)
161163 else false)
162164 then (f(l, L[4][2]) == K)
163165 else false
164166 let R = if (if ((f(l, L[5][0]) == K))
165167 then (f(l, L[5][1]) == K)
166168 else false)
167169 then (f(l, L[5][2]) == K)
168170 else false
169171 let S = if (if ((f(l, L[6][0]) == K))
170172 then (f(l, L[6][1]) == K)
171173 else false)
172174 then (f(l, L[6][2]) == K)
173175 else false
174176 let T = if (if ((f(l, L[7][0]) == K))
175177 then (f(l, L[7][1]) == K)
176178 else false)
177179 then (f(l, L[7][2]) == K)
178180 else false
179181 if (if (if (if (if (if (if (M)
180182 then true
181183 else N)
182184 then true
183185 else O)
184186 then true
185187 else P)
186188 then true
187189 else N)
188190 then true
189191 else R)
190192 then true
191193 else S)
192194 then true
193195 else T
194196 }
195197
196198
197199 func U (k) = {
198200 let V = if ((f(k, 0) == "0"))
199201 then 1
200202 else 0
201203 let W = if ((f(k, 1) == "0"))
202204 then 1
203205 else 0
204206 let X = if ((f(k, 2) == "0"))
205207 then 1
206208 else 0
207209 let Y = if ((f(k, 3) == "0"))
208210 then 1
209211 else 0
210212 let Z = if ((f(k, 4) == "0"))
211213 then 1
212214 else 0
213215 let aa = if ((f(k, 5) == "0"))
214216 then 1
215217 else 0
216218 let ab = if ((f(k, 6) == "0"))
217219 then 1
218220 else 0
219221 let ac = if ((f(k, 7) == "0"))
220222 then 1
221223 else 0
222224 let ad = if ((f(k, 8) == "0"))
223225 then 1
224226 else 0
225227 ((((((((V + W) + X) + Y) + Z) + aa) + ab) + ac) + ad)
226228 }
227229
228230
229231 @Callable(h)
230232 func callback (ae) = {
231233 let af = split(ae, "_")
232234 let j = af[0]
233235 let k = af[1]
234236 let ag = {
235237 let m = getString(("next_player_" + j))
236238 if ($isInstanceOf(m, "String"))
237239 then {
238240 let n = m
239241 n
240242 }
241243 else ""
242244 }
243245 let ah = i(j, k)
244246 if (!(ah))
245247 then throw("Illegal move!")
246248 else if ((ag != d))
247249 then throw("Player has to move first!")
248250 else {
249251 let ai = J(j, k, d)
250252 if (ai)
251253 then [StringEntry(("currentBoard_" + j), k), StringEntry(("winner_" + j), "ai")]
252254 else [StringEntry(("currentBoard_" + j), k), StringEntry(("next_player_" + j), c)]
253255 }
254256 }
255257
256258
257259
258260 @Callable(h)
259261 func playTTT (aj,k) = {
260262 let ak = size(h.payments)
261263 if ((ak != 1))
262264 then throw("Payment necessary!")
263265 else {
264266 let al = h.payments[0]
265267 let am = al.amount
266268 let an = al.assetId
267269 let ao = {
268270 let m = getInteger(Address(fromBase58String(a)), "price_tictactoe")
269271 if ($isInstanceOf(m, "Int"))
270272 then {
271273 let ap = m
272274 ap
273275 }
274276 else 0
275277 }
276278 if (if ((an != b))
277279 then true
278280 else (ao > am))
279281 then throw("Payment of the minimal BAI amount necessary!")
280282 else {
281283 let aq = h.caller
282284 let j = if ((size(aj) == 0))
283285 then toBase58String(h.transactionId)
284286 else aj
285287 let ag = {
286288 let m = getString(("next_player_" + j))
287289 if ($isInstanceOf(m, "String"))
288290 then {
289291 let n = m
290292 n
291293 }
292294 else c
293295 }
294296 if ((ag != c))
295297 then throw("AI hast to move first!")
296298 else {
297299 let l = {
298300 let m = getString(("currentBoard_" + j))
299301 if ($isInstanceOf(m, "String"))
300302 then {
301303 let n = m
302304 n
303305 }
304306 else k
305307 }
306308 let ar = {
307309 let m = getString(("initiator_" + j))
308310 if ($isInstanceOf(m, "String"))
309311 then {
310312 let n = m
311313 n
312314 }
313315 else toString(aq)
314316 }
315317 if ((toString(aq) != ar))
316318 then throw("Only initiator is allowed to make moves!")
317319 else {
318320 let as = i(j, k)
319321 if (!(as))
320322 then throw("Illegal move!")
321323 else {
322324 let at = J(j, k, c)
323325 let au = U(k)
324326 if (at)
325327 then [StringEntry(("currentBoard_" + j), k), StringEntry(("winner_" + j), "player"), ScriptTransfer(aq, e, b)]
326328 else if ((au == 0))
327329 then [StringEntry(("currentBoard_" + j), k), StringEntry(("winner_" + j), "draw")]
328330 else {
329331 let av = invoke(Address(fromBase58String(a)), "registerTaskCallback", [((j + "_") + k), "tictactoe", "callback"], [AttachedPayment(b, 10000000)])
330332 if ((av == av))
331333 then [StringEntry(("currentBoard_" + j), k), StringEntry(("initiator_" + j), toString(aq)), StringEntry(("next_player_" + j), d)]
332334 else throw("Strict value is not equal to itself.")
333335 }
334336 }
335337 }
336338 }
337339 }
338340 }
339341 }
340342
341343
342344 @Verifier(aw)
343345 func ax () = sigVerify(aw.bodyBytes, aw.proofs[0], aw.senderPublicKey)
344346

github/deemru/w8io/026f985 
38.70 ms