tx · 3k3LLASwsWdedCafc9oUw7RKxWV7EAkS5c74aGjuyecd 3MxUatsqdn9o8DKxmh5vp6Y2vb3Zok12wrv: -0.01000000 Waves 2019.11.05 13:01 [751437] smart account 3MxUatsqdn9o8DKxmh5vp6Y2vb3Zok12wrv > SELF 0.00000000 Waves
{ "type": 13, "id": "3k3LLASwsWdedCafc9oUw7RKxWV7EAkS5c74aGjuyecd", "fee": 1000000, "feeAssetId": null, "timestamp": 1572942125073, "version": 1, "sender": "3MxUatsqdn9o8DKxmh5vp6Y2vb3Zok12wrv", "senderPublicKey": "GyH41mG6hmFF9GeLfvkDzfZZ1CNGMNR4RMQFrxcHkS8k", "proofs": [ "5VN2C7BVKaqR2PmfnFLVeG1bmp8zbGCwgYWfjSMX4nuwQZ6vL8komhGuGMTxPpjBrMt1rDnNy5L1AZYVDCKL4vDw" ], "script": "base64:AAIDAAAAAAAAABAIARIAEgMKAQgSBQoDCAEBAAAAAAAAAAMAAAABaQEAAAAGY3JlYXRlAAAAAAQAAAADcG10CAUAAAABaQAAAAdwYXltZW50BAAAAAZhbW91bnQEAAAAByRtYXRjaDAFAAAAA3BtdAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAPQXR0YWNoZWRQYXltZW50BAAAAAFwBQAAAAckbWF0Y2gwCAUAAAABcAAAAAZhbW91bnQAAAAAAAAAAAAEAAAAB2Fzc2V0SWQEAAAAByRtYXRjaDAFAAAAA3BtdAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAPQXR0YWNoZWRQYXltZW50BAAAAAFwBQAAAAckbWF0Y2gwBAAAAAckbWF0Y2gxCAUAAAABcAAAAAdhc3NldElkAwkAAAEAAAACBQAAAAckbWF0Y2gxAgAAAApCeXRlVmVjdG9yBAAAAAFiBQAAAAckbWF0Y2gxBQAAAAFiAQAAAAABAAAAAAQAAAAJaW5pdENlbGxzCQABLAAAAAICAAAAcG5ubm5ubm5ubm5ubm5ubm5ubm5ubm5ubm5ubm5ubm5ubm5ubm5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gMDBQAAAAN3aW4GBQAAAAZmaWxsZWQJAAGRAAAAAgUAAAABZAAAAAAAAAAABwkAAaQAAAABCQAAZAAAAAIFAAAACm1vdmVOdW1iZXIAAAAAAAAAAAECAAAAAToDBQAAAAN3aW4JAAJYAAAAAQgIBQAAAAFpAAAABmNhbGxlcgAAAAVieXRlcwkAAZEAAAACBQAAAAFkAAAAAAAAAAAIBAAAAA10cmFuc2ZlckFzc2V0AwkAAAAAAAACBQAAAAVhc3NldAEAAAAABQAAAAR1bml0BQAAAAVhc3NldAQAAAAJdHJhbnNmZXJzAwUAAAADd2luCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMIBQAAAAFpAAAABmNhbGxlcgkAAGgAAAACBQAAAAZhbW91bnQAAAAAAAAAAAIFAAAADXRyYW5zZmVyQXNzZXQFAAAAA25pbAMFAAAABmZpbGxlZAkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADBQAAAAdwbGF5ZXIxBQAAAAZhbW91bnQFAAAADXRyYW5zZmVyQXNzZXQJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwUAAAAHcGxheWVyMgUAAAAGYW1vdW50BQAAAA10cmFuc2ZlckFzc2V0BQAAAANuaWwFAAAAA25pbAkBAAAADFNjcmlwdFJlc3VsdAAAAAIJAQAAAAhXcml0ZVNldAAAAAEJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIFAAAABmdhbWVJZAUAAAAHbmV3RGF0YQUAAAADbmlsCQEAAAALVHJhbnNmZXJTZXQAAAABBQAAAAl0cmFuc2ZlcnMAAAAA/q+2wQ==", "chainId": 84, "height": 751437, "spentComplexity": 0 } View: original | compacted Prev: none Next: AEwWN74twFgRjD8wynqh9f8zWB2PmezyvW2UCaMTMt6F Full:
Old | New | Differences | |
---|---|---|---|
1 | - | # no script | |
1 | + | {-# STDLIB_VERSION 3 #-} | |
2 | + | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | + | {-# CONTENT_TYPE DAPP #-} | |
4 | + | ||
5 | + | ||
6 | + | @Callable(a) | |
7 | + | func create () = { | |
8 | + | let b = a.payment | |
9 | + | let c = { | |
10 | + | let d = b | |
11 | + | if ($isInstanceOf(d, "AttachedPayment")) | |
12 | + | then { | |
13 | + | let e = d | |
14 | + | e.amount | |
15 | + | } | |
16 | + | else 0 | |
17 | + | } | |
18 | + | let f = { | |
19 | + | let d = b | |
20 | + | if ($isInstanceOf(d, "AttachedPayment")) | |
21 | + | then { | |
22 | + | let e = d | |
23 | + | let g = e.assetId | |
24 | + | if ($isInstanceOf(g, "ByteVector")) | |
25 | + | then { | |
26 | + | let h = g | |
27 | + | h | |
28 | + | } | |
29 | + | else base58'' | |
30 | + | } | |
31 | + | else base58'' | |
32 | + | } | |
33 | + | let i = ("nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn" + "nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn") | |
34 | + | let j = toBase58String(a.transactionId) | |
35 | + | let k = toBase58String(a.caller.bytes) | |
36 | + | let l = (((((((((i + ":wait:") + k) + ":unit:") + toString(c)) + ":") + toBase58String(f)) + ":") + k) + ":1:unit") | |
37 | + | WriteSet([DataEntry(j, "test")]) | |
38 | + | } | |
39 | + | ||
40 | + | ||
41 | + | ||
42 | + | @Callable(a) | |
43 | + | func join (j) = { | |
44 | + | let l = valueOrErrorMessage(getString(this, j), "Invalid game id") | |
45 | + | let m = split(l, ":") | |
46 | + | if ((m[1] != "wait")) | |
47 | + | then throw("The game is already running or completed") | |
48 | + | else if ((m[2] == toBase58String(a.caller.bytes))) | |
49 | + | then throw("You can't play with yourself") | |
50 | + | else { | |
51 | + | let b = a.payment | |
52 | + | let n = { | |
53 | + | let d = b | |
54 | + | if ($isInstanceOf(d, "AttachedPayment")) | |
55 | + | then { | |
56 | + | let e = d | |
57 | + | e.amount | |
58 | + | } | |
59 | + | else 0 | |
60 | + | } | |
61 | + | let o = { | |
62 | + | let d = b | |
63 | + | if ($isInstanceOf(d, "AttachedPayment")) | |
64 | + | then { | |
65 | + | let e = d | |
66 | + | let g = e.assetId | |
67 | + | if ($isInstanceOf(g, "ByteVector")) | |
68 | + | then { | |
69 | + | let h = g | |
70 | + | h | |
71 | + | } | |
72 | + | else base58'' | |
73 | + | } | |
74 | + | else base58'' | |
75 | + | } | |
76 | + | if (if ((n != parseInt(m[4]))) | |
77 | + | then true | |
78 | + | else (o != fromBase58String(m[5]))) | |
79 | + | then throw("Invalid game payment") | |
80 | + | else { | |
81 | + | let p = ((((((((((((((m[0] + ":play:") + m[2]) + ":") + toBase58String(a.caller.bytes)) + ":") + m[4]) + ":") + m[5]) + ":") + m[6]) + ":") + m[7]) + ":") + m[8]) | |
82 | + | WriteSet([DataEntry(j, p)]) | |
83 | + | } | |
84 | + | } | |
85 | + | } | |
86 | + | ||
87 | + | ||
88 | + | ||
89 | + | @Callable(a) | |
90 | + | func move (j,q,r) = { | |
91 | + | let l = valueOrErrorMessage(getString(this, j), "Invalid game id") | |
92 | + | let m = split(l, ":") | |
93 | + | let s = m[0] | |
94 | + | let t = m[1] | |
95 | + | let u = addressFromStringValue(m[2]) | |
96 | + | let v = addressFromStringValue(m[3]) | |
97 | + | let c = parseIntValue(m[4]) | |
98 | + | let w = fromBase58String(m[5]) | |
99 | + | let x = addressFromString(m[6]) | |
100 | + | let y = parseIntValue(m[7]) | |
101 | + | if (if ((a.caller != u)) | |
102 | + | then (a.caller != v) | |
103 | + | else false) | |
104 | + | then throw("You aren't a game member") | |
105 | + | else if ((t != "play")) | |
106 | + | then throw("The game is not started or completed") | |
107 | + | else { | |
108 | + | let z = if ((x == u)) | |
109 | + | then "b" | |
110 | + | else if ((x == v)) | |
111 | + | then "w" | |
112 | + | else throw("Invalid move address") | |
113 | + | if ((x != a.caller)) | |
114 | + | then throw("Not your turn") | |
115 | + | else if ((takeRight(take(s, (((q * 15) + r) + 1)), 1) != "n")) | |
116 | + | then throw("The cell is occupied") | |
117 | + | else if (if (if (if ((q > 14)) | |
118 | + | then true | |
119 | + | else (0 > q)) | |
120 | + | then true | |
121 | + | else (r > 14)) | |
122 | + | then true | |
123 | + | else (0 > r)) | |
124 | + | then throw("Out of bounds") | |
125 | + | else { | |
126 | + | let A = ((take(s, ((q * 15) + r)) + z) + takeRight(s, (size(s) - (((q * 15) + r) + 1)))) | |
127 | + | let B = ((((((((((((((((((((((((((((((((((((if ((r >= 4)) | |
128 | + | then takeRight(take(A, (((q * 15) + (r - 4)) + 1)), 1) | |
129 | + | else "") + (if ((r >= 3)) | |
130 | + | then takeRight(take(A, (((q * 15) + (r - 3)) + 1)), 1) | |
131 | + | else "")) + (if ((r >= 2)) | |
132 | + | then takeRight(take(A, (((q * 15) + (r - 2)) + 1)), 1) | |
133 | + | else "")) + (if ((r >= 1)) | |
134 | + | then takeRight(take(A, (((q * 15) + (r - 1)) + 1)), 1) | |
135 | + | else "")) + takeRight(take(A, (((q * 15) + r) + 1)), 1)) + (if ((13 >= r)) | |
136 | + | then takeRight(take(A, (((q * 15) + (r + 1)) + 1)), 1) | |
137 | + | else "")) + (if ((12 >= r)) | |
138 | + | then takeRight(take(A, (((q * 15) + (r + 2)) + 1)), 1) | |
139 | + | else "")) + (if ((11 >= r)) | |
140 | + | then takeRight(take(A, (((q * 15) + (r + 3)) + 1)), 1) | |
141 | + | else "")) + (if ((10 >= r)) | |
142 | + | then takeRight(take(A, (((q * 15) + (r + 4)) + 1)), 1) | |
143 | + | else "")) + (if ((q >= 4)) | |
144 | + | then takeRight(take(A, ((((q - 4) * 15) + r) + 1)), 1) | |
145 | + | else "")) + (if ((q >= 3)) | |
146 | + | then takeRight(take(A, ((((q - 3) * 15) + r) + 1)), 1) | |
147 | + | else "")) + (if ((q >= 2)) | |
148 | + | then takeRight(take(A, ((((q - 2) * 15) + r) + 1)), 1) | |
149 | + | else "")) + (if ((q >= 1)) | |
150 | + | then takeRight(take(A, ((((q - 1) * 15) + r) + 1)), 1) | |
151 | + | else "")) + takeRight(take(A, (((q * 15) + r) + 1)), 1)) + (if ((13 >= q)) | |
152 | + | then takeRight(take(A, ((((q + 1) * 15) + r) + 1)), 1) | |
153 | + | else "")) + (if ((12 >= q)) | |
154 | + | then takeRight(take(A, ((((q + 2) * 15) + r) + 1)), 1) | |
155 | + | else "")) + (if ((11 >= q)) | |
156 | + | then takeRight(take(A, ((((q + 3) * 15) + r) + 1)), 1) | |
157 | + | else "")) + (if ((10 >= q)) | |
158 | + | then takeRight(take(A, ((((q + 4) * 15) + r) + 1)), 1) | |
159 | + | else "")) + (if (if ((q >= 4)) | |
160 | + | then (10 >= r) | |
161 | + | else false) | |
162 | + | then takeRight(take(A, ((((q - 4) * 15) + (r + 4)) + 1)), 1) | |
163 | + | else "")) + (if (if ((q >= 3)) | |
164 | + | then (11 >= r) | |
165 | + | else false) | |
166 | + | then takeRight(take(A, ((((q - 3) * 15) + (r + 3)) + 1)), 1) | |
167 | + | else "")) + (if (if ((q >= 2)) | |
168 | + | then (12 >= r) | |
169 | + | else false) | |
170 | + | then takeRight(take(A, ((((q - 2) * 15) + (r + 2)) + 1)), 1) | |
171 | + | else "")) + (if (if ((q >= 1)) | |
172 | + | then (13 >= r) | |
173 | + | else false) | |
174 | + | then takeRight(take(A, ((((q - 1) * 15) + (r + 1)) + 1)), 1) | |
175 | + | else "")) + takeRight(take(A, (((q * 15) + r) + 1)), 1)) + (if (if ((13 >= q)) | |
176 | + | then (r >= 1) | |
177 | + | else false) | |
178 | + | then takeRight(take(A, ((((q + 1) * 15) + (r - 1)) + 1)), 1) | |
179 | + | else "")) + (if (if ((12 >= q)) | |
180 | + | then (r >= 2) | |
181 | + | else false) | |
182 | + | then takeRight(take(A, ((((q + 2) * 15) + (r - 2)) + 1)), 1) | |
183 | + | else "")) + (if (if ((11 >= q)) | |
184 | + | then (r >= 3) | |
185 | + | else false) | |
186 | + | then takeRight(take(A, ((((q + 3) * 15) + (r - 3)) + 1)), 1) | |
187 | + | else "")) + (if (if ((10 >= q)) | |
188 | + | then (r >= 4) | |
189 | + | else false) | |
190 | + | then takeRight(take(A, ((((q + 4) * 15) + (r - 4)) + 1)), 1) | |
191 | + | else "")) + (if (if ((q >= 4)) | |
192 | + | then (r >= 4) | |
193 | + | else false) | |
194 | + | then takeRight(take(A, ((((q - 4) * 15) + (r - 4)) + 1)), 1) | |
195 | + | else "")) + (if (if ((q >= 3)) | |
196 | + | then (r >= 3) | |
197 | + | else false) | |
198 | + | then takeRight(take(A, ((((q - 3) * 15) + (r - 3)) + 1)), 1) | |
199 | + | else "")) + (if (if ((q >= 2)) | |
200 | + | then (r >= 2) | |
201 | + | else false) | |
202 | + | then takeRight(take(A, ((((q - 2) * 15) + (r - 2)) + 1)), 1) | |
203 | + | else "")) + (if (if ((q >= 1)) | |
204 | + | then (r >= 1) | |
205 | + | else false) | |
206 | + | then takeRight(take(A, ((((q - 1) * 15) + (r - 1)) + 1)), 1) | |
207 | + | else "")) + takeRight(take(A, (((q * 15) + r) + 1)), 1)) + (if (if ((13 >= q)) | |
208 | + | then (13 >= r) | |
209 | + | else false) | |
210 | + | then takeRight(take(A, ((((q + 1) * 15) + (r + 1)) + 1)), 1) | |
211 | + | else "")) + (if (if ((12 >= q)) | |
212 | + | then (12 >= r) | |
213 | + | else false) | |
214 | + | then takeRight(take(A, ((((q + 2) * 15) + (r + 2)) + 1)), 1) | |
215 | + | else "")) + (if (if ((11 >= q)) | |
216 | + | then (11 >= r) | |
217 | + | else false) | |
218 | + | then takeRight(take(A, ((((q + 3) * 15) + (r + 3)) + 1)), 1) | |
219 | + | else "")) + (if (if ((10 >= q)) | |
220 | + | then (10 >= r) | |
221 | + | else false) | |
222 | + | then takeRight(take(A, ((((q + 4) * 15) + (r + 4)) + 1)), 1) | |
223 | + | else "")) | |
224 | + | if (if ((z != "b")) | |
225 | + | then (z != "w") | |
226 | + | else false) | |
227 | + | then throw("invalid color in check function") | |
228 | + | else { | |
229 | + | let C = { | |
230 | + | let d = indexOf(B, ((((z + z) + z) + z) + z)) | |
231 | + | if ($isInstanceOf(d, "Int")) | |
232 | + | then true | |
233 | + | else false | |
234 | + | } | |
235 | + | let D = (y == 225) | |
236 | + | let E = if ((x == u)) | |
237 | + | then v | |
238 | + | else if ((x == v)) | |
239 | + | then u | |
240 | + | else throw("Invalid move address") | |
241 | + | let p = ((((((((((((((((A + ":") + (if (if (C) | |
242 | + | then true | |
243 | + | else D) | |
244 | + | then "over" | |
245 | + | else m[1])) + ":") + m[2]) + ":") + m[3]) + ":") + m[4]) + ":") + m[5]) + ":") + (if (if (C) | |
246 | + | then true | |
247 | + | else D) | |
248 | + | then m[6] | |
249 | + | else toString(E))) + ":") + (if (if (C) | |
250 | + | then true | |
251 | + | else D) | |
252 | + | then m[7] | |
253 | + | else toString((y + 1)))) + ":") + (if (C) | |
254 | + | then toBase58String(a.caller.bytes) | |
255 | + | else m[8])) | |
256 | + | let F = if ((w == base58'')) | |
257 | + | then unit | |
258 | + | else w | |
259 | + | let G = if (C) | |
260 | + | then [ScriptTransfer(a.caller, (c * 2), F)] | |
261 | + | else if (D) | |
262 | + | then [ScriptTransfer(u, c, F), ScriptTransfer(v, c, F)] | |
263 | + | else nil | |
264 | + | ScriptResult(WriteSet([DataEntry(j, p)]), TransferSet(G)) | |
265 | + | } | |
266 | + | } | |
267 | + | } | |
268 | + | } | |
269 | + | ||
270 | + |
github/deemru/w8io/026f985 25.78 ms ◑