tx · 4FNAn1uTq1yUXueTwnJsP6qaq4o2EYTJw9pq3CRiPdrN

3MxUatsqdn9o8DKxmh5vp6Y2vb3Zok12wrv:  -0.01400000 Waves

2019.11.05 15:39 [751606] smart account 3MxUatsqdn9o8DKxmh5vp6Y2vb3Zok12wrv > SELF 0.00000000 Waves

{ "type": 13, "id": "4FNAn1uTq1yUXueTwnJsP6qaq4o2EYTJw9pq3CRiPdrN", "fee": 1400000, "feeAssetId": null, "timestamp": 1572957596880, "version": 1, "sender": "3MxUatsqdn9o8DKxmh5vp6Y2vb3Zok12wrv", "senderPublicKey": "GyH41mG6hmFF9GeLfvkDzfZZ1CNGMNR4RMQFrxcHkS8k", "proofs": [ "43YBWboYxzCKtMwt2LrprWQJmAMMKyoDDrF6tG9iMjPdF1YbZFBAnRwDv5GwLu9n3AbU2zVcoVRmtrFXik3UDfRs" ], "script": "base64:AAIDAAAAAAAAABAIARIAEgMKAQgSBQoDCAEBAAAAAAAAAAMAAAABaQEAAAAGY3JlYXRlAAAAAAQAAAADcG10CAUAAAABaQAAAAdwYXltZW50BAAAAAZhbW91bnQEAAAAByRtYXRjaDAFAAAAA3BtdAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAPQXR0YWNoZWRQYXltZW50BAAAAAFwBQAAAAckbWF0Y2gwCAUAAAABcAAAAAZhbW91bnQAAAAAAAAAAAAEAAAAB2Fzc2V0SWQEAAAAByRtYXRjaDAFAAAAA3BtdAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAAPQXR0YWNoZWRQYXltZW50BAAAAAFwBQAAAAckbWF0Y2gwBAAAAAckbWF0Y2gxCAUAAAABcAAAAAdhc3NldElkAwkAAAEAAAACBQAAAAckbWF0Y2gxAgAAAApCeXRlVmVjdG9yBAAAAAFiBQAAAAckbWF0Y2gxCQACWAAAAAEFAAAAAWICAAAABVdBVkVTAgAAAAVXQVZFUwQAAAAJaW5pdENlbGxzCQABLAAAAAICAAAAcG5ubm5ubm5ubm5ubm5ubm5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 } View: original | compacted Prev: HuHAD4EcWTGEfkn7rJGHat1i9pJU6hMYFZJY1wouyVyp Next: none Diff:
OldNewDifferences
2121 "WAVES"
2222 }
2323 case _ =>
24- "unit"
24+ "WAVES"
2525 }
2626 let initCells = ("nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn" + "nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn")
2727 let gameId = toBase58String(i.transactionId)
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44
55
66 @Callable(i)
77 func create () = {
88 let pmt = i.payment
99 let amount = match pmt {
1010 case p: AttachedPayment =>
1111 p.amount
1212 case _ =>
1313 0
1414 }
1515 let assetId = match pmt {
1616 case p: AttachedPayment =>
1717 match p.assetId {
1818 case b: ByteVector =>
1919 toBase58String(b)
2020 case _ =>
2121 "WAVES"
2222 }
2323 case _ =>
24- "unit"
24+ "WAVES"
2525 }
2626 let initCells = ("nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn" + "nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn")
2727 let gameId = toBase58String(i.transactionId)
2828 let caller = toBase58String(i.caller.bytes)
2929 let data = (((((((((initCells + ":wait:") + caller) + ":unit:") + toString(amount)) + ":") + assetId) + ":") + caller) + ":1:unit")
3030 WriteSet([DataEntry(("game:" + gameId), data)])
3131 }
3232
3333
3434
3535 @Callable(i)
3636 func join (gameId) = {
3737 let data = valueOrErrorMessage(getString(this, ("game:" + gameId)), "Invalid game id")
3838 let d = split(data, ":")
3939 if ((d[1] != "wait"))
4040 then throw("The game is already running or completed")
4141 else if ((d[2] == toBase58String(i.caller.bytes)))
4242 then throw("You can't play with yourself")
4343 else {
4444 let pmt = i.payment
4545 let paymentAmount = match pmt {
4646 case p: AttachedPayment =>
4747 p.amount
4848 case _ =>
4949 0
5050 }
5151 let paymentAsset = match pmt {
5252 case p: AttachedPayment =>
5353 match p.assetId {
5454 case b: ByteVector =>
5555 toBase58String(b)
5656 case _ =>
5757 "WAVES"
5858 }
5959 case _ =>
6060 "WAVES"
6161 }
6262 if (if ((paymentAmount != parseInt(d[4])))
6363 then true
6464 else (paymentAsset != d[5]))
6565 then throw("Invalid game payment")
6666 else {
6767 let newData = ((((((((((((((d[0] + ":play:") + d[2]) + ":") + toBase58String(i.caller.bytes)) + ":") + d[4]) + ":") + d[5]) + ":") + d[6]) + ":") + d[7]) + ":") + d[8])
6868 WriteSet([DataEntry(("game:" + gameId), newData)])
6969 }
7070 }
7171 }
7272
7373
7474
7575 @Callable(i)
7676 func move (gameId,row,col) = {
7777 let data = valueOrErrorMessage(getString(this, ("game:" + gameId)), "Invalid game id")
7878 let d = split(data, ":")
7979 let oldCells = d[0]
8080 let status = d[1]
8181 let player1 = addressFromStringValue(d[2])
8282 let player2 = addressFromStringValue(d[3])
8383 let amount = parseIntValue(d[4])
8484 let asset = if ((d[5] == "WAVES"))
8585 then unit
8686 else fromBase58String(d[5])
8787 let moveAddress = addressFromString(d[6])
8888 let moveNumber = parseIntValue(d[7])
8989 if (if ((i.caller != player1))
9090 then (i.caller != player2)
9191 else false)
9292 then throw("You aren't a game member")
9393 else if ((status != "play"))
9494 then throw("The game is not started or completed")
9595 else {
9696 let moveColor = if ((moveAddress == player1))
9797 then "b"
9898 else if ((moveAddress == player2))
9999 then "w"
100100 else throw("Invalid move address")
101101 if ((moveAddress != i.caller))
102102 then throw("Not your turn")
103103 else if ((takeRight(take(oldCells, (((row * 15) + col) + 1)), 1) != "n"))
104104 then throw("The cell is occupied")
105105 else if (if (if (if ((row > 14))
106106 then true
107107 else (0 > row))
108108 then true
109109 else (col > 14))
110110 then true
111111 else (0 > col))
112112 then throw("Out of bounds")
113113 else {
114114 let cells = ((take(oldCells, ((row * 15) + col)) + moveColor) + takeRight(oldCells, (size(oldCells) - (((row * 15) + col) + 1))))
115115 let targetLines = ((((((((((((((((((((((((((((((((((((if ((col >= 4))
116116 then takeRight(take(cells, (((row * 15) + (col - 4)) + 1)), 1)
117117 else "") + (if ((col >= 3))
118118 then takeRight(take(cells, (((row * 15) + (col - 3)) + 1)), 1)
119119 else "")) + (if ((col >= 2))
120120 then takeRight(take(cells, (((row * 15) + (col - 2)) + 1)), 1)
121121 else "")) + (if ((col >= 1))
122122 then takeRight(take(cells, (((row * 15) + (col - 1)) + 1)), 1)
123123 else "")) + takeRight(take(cells, (((row * 15) + col) + 1)), 1)) + (if ((13 >= col))
124124 then takeRight(take(cells, (((row * 15) + (col + 1)) + 1)), 1)
125125 else "")) + (if ((12 >= col))
126126 then takeRight(take(cells, (((row * 15) + (col + 2)) + 1)), 1)
127127 else "")) + (if ((11 >= col))
128128 then takeRight(take(cells, (((row * 15) + (col + 3)) + 1)), 1)
129129 else "")) + (if ((10 >= col))
130130 then takeRight(take(cells, (((row * 15) + (col + 4)) + 1)), 1)
131131 else "")) + (if ((row >= 4))
132132 then takeRight(take(cells, ((((row - 4) * 15) + col) + 1)), 1)
133133 else "")) + (if ((row >= 3))
134134 then takeRight(take(cells, ((((row - 3) * 15) + col) + 1)), 1)
135135 else "")) + (if ((row >= 2))
136136 then takeRight(take(cells, ((((row - 2) * 15) + col) + 1)), 1)
137137 else "")) + (if ((row >= 1))
138138 then takeRight(take(cells, ((((row - 1) * 15) + col) + 1)), 1)
139139 else "")) + takeRight(take(cells, (((row * 15) + col) + 1)), 1)) + (if ((13 >= row))
140140 then takeRight(take(cells, ((((row + 1) * 15) + col) + 1)), 1)
141141 else "")) + (if ((12 >= row))
142142 then takeRight(take(cells, ((((row + 2) * 15) + col) + 1)), 1)
143143 else "")) + (if ((11 >= row))
144144 then takeRight(take(cells, ((((row + 3) * 15) + col) + 1)), 1)
145145 else "")) + (if ((10 >= row))
146146 then takeRight(take(cells, ((((row + 4) * 15) + col) + 1)), 1)
147147 else "")) + (if (if ((row >= 4))
148148 then (10 >= col)
149149 else false)
150150 then takeRight(take(cells, ((((row - 4) * 15) + (col + 4)) + 1)), 1)
151151 else "")) + (if (if ((row >= 3))
152152 then (11 >= col)
153153 else false)
154154 then takeRight(take(cells, ((((row - 3) * 15) + (col + 3)) + 1)), 1)
155155 else "")) + (if (if ((row >= 2))
156156 then (12 >= col)
157157 else false)
158158 then takeRight(take(cells, ((((row - 2) * 15) + (col + 2)) + 1)), 1)
159159 else "")) + (if (if ((row >= 1))
160160 then (13 >= col)
161161 else false)
162162 then takeRight(take(cells, ((((row - 1) * 15) + (col + 1)) + 1)), 1)
163163 else "")) + takeRight(take(cells, (((row * 15) + col) + 1)), 1)) + (if (if ((13 >= row))
164164 then (col >= 1)
165165 else false)
166166 then takeRight(take(cells, ((((row + 1) * 15) + (col - 1)) + 1)), 1)
167167 else "")) + (if (if ((12 >= row))
168168 then (col >= 2)
169169 else false)
170170 then takeRight(take(cells, ((((row + 2) * 15) + (col - 2)) + 1)), 1)
171171 else "")) + (if (if ((11 >= row))
172172 then (col >= 3)
173173 else false)
174174 then takeRight(take(cells, ((((row + 3) * 15) + (col - 3)) + 1)), 1)
175175 else "")) + (if (if ((10 >= row))
176176 then (col >= 4)
177177 else false)
178178 then takeRight(take(cells, ((((row + 4) * 15) + (col - 4)) + 1)), 1)
179179 else "")) + (if (if ((row >= 4))
180180 then (col >= 4)
181181 else false)
182182 then takeRight(take(cells, ((((row - 4) * 15) + (col - 4)) + 1)), 1)
183183 else "")) + (if (if ((row >= 3))
184184 then (col >= 3)
185185 else false)
186186 then takeRight(take(cells, ((((row - 3) * 15) + (col - 3)) + 1)), 1)
187187 else "")) + (if (if ((row >= 2))
188188 then (col >= 2)
189189 else false)
190190 then takeRight(take(cells, ((((row - 2) * 15) + (col - 2)) + 1)), 1)
191191 else "")) + (if (if ((row >= 1))
192192 then (col >= 1)
193193 else false)
194194 then takeRight(take(cells, ((((row - 1) * 15) + (col - 1)) + 1)), 1)
195195 else "")) + takeRight(take(cells, (((row * 15) + col) + 1)), 1)) + (if (if ((13 >= row))
196196 then (13 >= col)
197197 else false)
198198 then takeRight(take(cells, ((((row + 1) * 15) + (col + 1)) + 1)), 1)
199199 else "")) + (if (if ((12 >= row))
200200 then (12 >= col)
201201 else false)
202202 then takeRight(take(cells, ((((row + 2) * 15) + (col + 2)) + 1)), 1)
203203 else "")) + (if (if ((11 >= row))
204204 then (11 >= col)
205205 else false)
206206 then takeRight(take(cells, ((((row + 3) * 15) + (col + 3)) + 1)), 1)
207207 else "")) + (if (if ((10 >= row))
208208 then (10 >= col)
209209 else false)
210210 then takeRight(take(cells, ((((row + 4) * 15) + (col + 4)) + 1)), 1)
211211 else ""))
212212 if (if ((moveColor != "b"))
213213 then (moveColor != "w")
214214 else false)
215215 then throw("invalid color in check function")
216216 else {
217217 let win = match indexOf(targetLines, ((((moveColor + moveColor) + moveColor) + moveColor) + moveColor)) {
218218 case _: Int =>
219219 true
220220 case _ =>
221221 false
222222 }
223223 let filled = (moveNumber == 225)
224224 let nextMoveAddress = if ((moveAddress == player1))
225225 then player2
226226 else if ((moveAddress == player2))
227227 then player1
228228 else throw("Invalid move address")
229229 let newData = ((((((((((((((((cells + ":") + (if (if (win)
230230 then true
231231 else filled)
232232 then "over"
233233 else d[1])) + ":") + d[2]) + ":") + d[3]) + ":") + d[4]) + ":") + d[5]) + ":") + (if (if (win)
234234 then true
235235 else filled)
236236 then d[6]
237237 else toString(nextMoveAddress))) + ":") + (if (if (win)
238238 then true
239239 else filled)
240240 then d[7]
241241 else toString((moveNumber + 1)))) + ":") + (if (win)
242242 then toBase58String(i.caller.bytes)
243243 else d[8]))
244244 let transfers = if (if (win)
245245 then (amount > 0)
246246 else false)
247247 then [ScriptTransfer(i.caller, (amount * 2), asset)]
248248 else if (if (filled)
249249 then (amount > 0)
250250 else false)
251251 then [ScriptTransfer(player1, amount, asset), ScriptTransfer(player2, amount, asset)]
252252 else nil
253253 ScriptResult(WriteSet([DataEntry(("game:" + gameId), newData)]), TransferSet(transfers))
254254 }
255255 }
256256 }
257257 }
258258
259259

github/deemru/w8io/026f985 
55.50 ms