tx · 845mW3epurX56PH8mbFBLcWYhc7KN6gS3rMrgH9x1LQu

3NA7cHZ9oBicev5AEn3BidRAyitA3HdjRbE:  -0.05000000 Waves

2020.04.15 18:25 [955718] smart account 3NA7cHZ9oBicev5AEn3BidRAyitA3HdjRbE > SELF 0.00000000 Waves

{ "type": 13, "id": "845mW3epurX56PH8mbFBLcWYhc7KN6gS3rMrgH9x1LQu", "fee": 5000000, "feeAssetId": null, "timestamp": 1586964343196, "version": 1, "sender": "3NA7cHZ9oBicev5AEn3BidRAyitA3HdjRbE", "senderPublicKey": "FEmBffz5oKcY5pLrHbwcj8jxovWVvTYCeNRzNT6uHBJc", "proofs": [ "4yaLjMM83kuHMEpCjhyWVYyfLWb35rGzBaNtq5gxDNUbHJiykZ9U2dq2HYhWY2oMM8FwpSHcAvKkzSdU59NKXxye" ], "script": "base64:AAIDAAAAAAAAAA4IARIECgIBCBIECgIIAgAAACMAAAAACVJTQVBVQkxJQwkAAlsAAAABAgAAAY9iYXNlNjQ6TUlJQklqQU5CZ2txaGtpRzl3MEJBUUVGQUFPQ0FROEFNSUlCQ2dLQ0FRRUFnNGRBUjZYYkJEQVM5aHIvRWozZEp2NkZmYzQ2NngvbU9HTVdVM2xyQUJzM3FhOEJIbXVKR25rZmJwRWYydkF3WVRPV1B2dnpmTTEwT0JiZmxvU3lxM2M5TUt2eVRlMWx1QkxHcVc0dlpVWEl5dlNnejFsaXlVVmVmSVF5M2R5RjlqYmVUWmJDMGJiY1QvN08zREVMKzAxejZBK3JEQ2FjU1owbEdvbFNRNkFuaEx4eklrVnBPUUpickJtQyt4K1p1WlBDTVd6SnluZDVhZU9uN2phai9ta1JWeXhlNmcvME9oV3o0TmlpWlhldU1SQis4bUt5MGZXRC9VbElsWldIc0FTMlptcmtYS3FqTHEwLzB3cjhJTEprem5qU3Fkbkk1SWJqZzN1UXJqLzRBTitpOXIyOGFRNzMvWmtQdFk1U2J3MEFPaUFCQnU3Z0htcTlheVZ4WlFJREFRQUIAAAAA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AAAAIJAAEsAAAAAgkAASwAAAACCQABLAAAAAIJAAEsAAAAAgkAASwAAAACAgAAAARMT1NUAgAAAAFfCQABkQAAAAIFAAAADGdhbWVEYXRhTGlzdAAAAAAAAAAAAQIAAAABXwUAAAAOcGxheWVyUHViS2V5NTgCAAAAAV8JAAGRAAAAAgUAAAAMZ2FtZURhdGFMaXN0AAAAAAAAAAADAgAAAAFfBQAAAAdyYW5kU3RyCQEAAAAIV3JpdGVTZXQAAAABCQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACBQAAAAZnYW1lSWQFAAAADm5ld0dhbWVEYXRhU3RyCQAETAAAAAIFAAAAEWRlY3JlYXNlZFJlc2VydmVzBQAAAANuaWwAAAAA6TbbDQ==", "chainId": 84, "height": 955718, "spentComplexity": 0 } View: original | compacted Prev: EHmp5hLEezfQh4yfNRkAhfmPSatigxZbhdQ85uSAoHJY Next: 2QmjbBvVRc8sGNoW1zRfco7FxktTDG31vfhYZHrdeyPF Diff:
OldNewDifferences
10741074
10751075 func C (p,D) = {
10761076 let E = B(p)
1077- ((D * E) - fraction(D, 6, 100))
1077+ let F = fraction(D, 6, 100)
1078+ ((D * E) - F)
10781079 }
10791080
10801081
1081-func F (G) = {
1082- let H = {
1083- let I = getInteger(this, G)
1084- if ($isInstanceOf(I, "Int"))
1082+func G (H) = {
1083+ let I = {
1084+ let J = getInteger(this, H)
1085+ if ($isInstanceOf(J, "Int"))
10851086 then {
1086- let J = I
1087- J
1087+ let K = J
1088+ K
10881089 }
10891090 else 0
10901091 }
1091- (H + 1)
1092+ (I + 1)
10921093 }
10931094
10941095
1095-func K (G) = {
1096- let I = getInteger(this, G)
1097- if ($isInstanceOf(I, "Int"))
1096+func L (H) = {
1097+ let J = getInteger(this, H)
1098+ if ($isInstanceOf(J, "Int"))
10981099 then {
1099- let L = I
1100- L
1100+ let M = J
1101+ M
11011102 }
11021103 else 0
11031104 }
11041105
11051106
1106-func M (N) = {
1107- let O = (K(c) + N)
1108- let P = assetBalance(this, d)
1109- if ((O > P))
1107+func N (O) = {
1108+ let P = (L(c) + O)
1109+ let Q = assetBalance(this, d)
1110+ if ((P > Q))
11101111 then throw("Insufficient funds on Wavesbet Roulette account. Transaction was rejected for your safety.")
1111- else O
1112+ else P
11121113 }
11131114
11141115
1115-func Q (N) = {
1116- let O = (K(c) - N)
1117- if ((0 > O))
1116+func R (O) = {
1117+ let P = (L(c) - O)
1118+ if ((0 > P))
11181119 then throw("Invalid roulette account state - reserved amount is less than 0")
1119- else DataEntry(c, O)
1120+ else DataEntry(c, P)
11201121 }
11211122
11221123
1123-func R (S,T) = {
1124- let U = rsaVerify(SHA256, toBytes(S), T, a)
1125- if (U)
1124+func S (T,U) = {
1125+ let V = rsaVerify(SHA256, toBytes(T), U, a)
1126+ if (V)
11261127 then {
1127- let o = (toInt(sha256(T)) % 36)
1128+ let o = (toInt(sha256(U)) % 36)
11281129 if ((0 > o))
11291130 then ((-1 * o) + 1)
11301131 else (o + 1)
11331134 }
11341135
11351136
1136-func V (W) = if (if ((W >= 1))
1137- then (36 >= W)
1137+func W (X) = if (if ((X >= 1))
1138+ then (36 >= X)
11381139 else false)
1139- then toString(W)
1140- else throw(("Unsupported r parameter passed: expected=[0,...,36] actual=" + toString(W)))
1140+ then toString(X)
1141+ else throw(("Unsupported r parameter passed: expected=[0,...,36] actual=" + toString(X)))
11411142
11421143
1143-func X (Y) = {
1144- let Z = {
1145- let I = getString(this, Y)
1146- if ($isInstanceOf(I, "String"))
1144+func Y (Z) = {
1145+ let aa = {
1146+ let J = getString(this, Z)
1147+ if ($isInstanceOf(J, "String"))
11471148 then {
1148- let aa = I
1149- aa
1149+ let ab = J
1150+ ab
11501151 }
1151- else throw(("Couldn't find string by " + Y))
1152+ else throw(("Couldn't find string by " + Z))
11521153 }
1153- Z
1154+ aa
11541155 }
11551156
11561157
1157-func ab (ac,ad) = if ((ac == "new"))
1158- then (("game_" + ad) + "_bet_1")
1158+func ac (ad,ae) = if ((ad == "new"))
1159+ then (("game_" + ae) + "_bet_1")
11591160 else {
1160- let ae = toString(F(ac))
1161- ((("game_" + ac) + "_bet_") + ae)
1161+ let af = toString(G(ad))
1162+ ((("game_" + ad) + "_bet_") + af)
11621163 }
11631164
11641165
1165-func af (ag,ad,S,N,ah) = if ((ag == "new"))
1166- then WriteSet([DataEntry(b, F(b)), DataEntry(c, M(N)), DataEntry(ad, 1), DataEntry(S, ah)])
1167- else WriteSet([DataEntry(c, M(N)), DataEntry(ag, F(ag)), DataEntry(S, ah)])
1166+func ag (ah,ae,T,O,ai) = if ((ah == "new"))
1167+ then WriteSet([DataEntry(b, G(b)), DataEntry(c, N(O)), DataEntry(ae, 1), DataEntry(T, ai)])
1168+ else WriteSet([DataEntry(c, N(O)), DataEntry(ah, G(ah)), DataEntry(T, ai)])
11681169
11691170
1170-@Callable(ai)
1171-func playRoulette (p,ag) = {
1172- let ad = toBase58String(ai.transactionId)
1173- let aj = extract(ai.payment)
1174- let ak = isDefined(ai.feeAssetId)
1175- let al = wavesBalance(ai.caller)
1176- let S = ab(ag, ad)
1177- let am = isDefined(getString(this, S))
1178- let N = C(p, aj.amount)
1179- if ((aj.assetId != d))
1171+@Callable(aj)
1172+func playRoulette (p,ah) = {
1173+ let ae = toBase58String(aj.transactionId)
1174+ let ak = extract(aj.payment)
1175+ let al = isDefined(aj.feeAssetId)
1176+ let am = wavesBalance(aj.caller)
1177+ let T = ac(ah, ae)
1178+ let an = isDefined(getString(this, T))
1179+ let O = C(p, ak.amount)
1180+ if ((ak.assetId != d))
11801181 then throw("Payment should be in Wavesbet")
1181- else if ((1000000 > al))
1182+ else if ((1000000 > am))
11821183 then throw("There are not enough waves, it takes 0.01 Waves to bet. Game aborted.")
1183- else if (ak)
1184+ else if (al)
11841185 then throw("Transaction's fee must be in Waves. Game aborted.")
1185- else if (am)
1186+ else if (an)
11861187 then throw("Passed gameId had been used before. Game aborted.")
11871188 else {
1188- let an = toBase58String(ai.callerPublicKey)
1189- let ah = (((((("SUBMITTED" + "_") + toString(p)) + "_") + an) + "_") + toString(N))
1190- ScriptResult(af(ag, ad, S, N, ah), TransferSet([ScriptTransfer(e, fraction(aj.amount, i, 100), d), ScriptTransfer(f, fraction(aj.amount, j, 100), d), ScriptTransfer(g, fraction(aj.amount, k, 100), d)]))
1189+ let ao = toBase58String(aj.callerPublicKey)
1190+ let ai = (((((("SUBMITTED" + "_") + toString(p)) + "_") + ao) + "_") + toString(O))
1191+ if ((ah == "new"))
1192+ then ScriptResult(WriteSet([DataEntry(b, G(b)), DataEntry(c, N(O)), DataEntry(ae, 1), DataEntry(T, ai)]), TransferSet([ScriptTransfer(e, fraction(ak.amount, i, 100), d), ScriptTransfer(f, fraction(ak.amount, j, 100), d), ScriptTransfer(g, fraction(ak.amount, k, 100), d)]))
1193+ else ScriptResult(WriteSet([DataEntry(c, N(O)), DataEntry(ah, G(ah)), DataEntry(T, ai)]), TransferSet([ScriptTransfer(e, fraction(ak.amount, i, 100), d), ScriptTransfer(f, fraction(ak.amount, j, 100), d), ScriptTransfer(g, fraction(ak.amount, k, 100), d)]))
11911194 }
11921195 }
11931196
11941197
11951198
1196-@Callable(ai)
1197-func withdraw (S,ao) = {
1198- let ap = split(X(S), "_")
1199- let aq = ap[0]
1200- let p = parseIntValue(ap[1])
1201- let an = ap[2]
1202- let N = parseIntValue(ap[3])
1203- let ar = addressFromPublicKey(fromBase58String(an))
1204- let as = Q(N)
1205- if ((aq != "SUBMITTED"))
1199+@Callable(aj)
1200+func withdraw (T,ap) = {
1201+ let aq = split(Y(T), "_")
1202+ let ar = aq[0]
1203+ let p = parseIntValue(aq[1])
1204+ let ao = aq[2]
1205+ let O = parseIntValue(aq[3])
1206+ let as = addressFromPublicKey(fromBase58String(ao))
1207+ let at = R(O)
1208+ if ((ar != "SUBMITTED"))
12061209 then throw("Invalid game state for passed gameId. Game aborted. ")
12071210 else {
1208- let at = split(S, "_")
1209- let o = R(at[1], ao)
1210- let au = V(o)
1211+ let au = split(T, "_")
1212+ let o = S(au[1], ap)
1213+ let av = W(o)
12111214 if (A(o, p))
12121215 then {
1213- let av = (((((((("WON" + "_") + ap[1]) + "_") + an) + "_") + ap[3]) + "_") + au)
1214- ScriptResult(WriteSet([DataEntry(S, av), as]), TransferSet([ScriptTransfer(ar, N, d)]))
1216+ let aw = (((((((("WON" + "_") + aq[1]) + "_") + ao) + "_") + aq[3]) + "_") + av)
1217+ ScriptResult(WriteSet([DataEntry(T, aw), at]), TransferSet([ScriptTransfer(as, O, d)]))
12151218 }
12161219 else {
1217- let av = (((((((("LOST" + "_") + ap[1]) + "_") + an) + "_") + ap[3]) + "_") + au)
1218- WriteSet([DataEntry(S, av), as])
1220+ let aw = (((((((("LOST" + "_") + aq[1]) + "_") + ao) + "_") + aq[3]) + "_") + av)
1221+ WriteSet([DataEntry(T, aw), at])
12191222 }
12201223 }
12211224 }
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = fromBase64String("base64:MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAg4dAR6XbBDAS9hr/Ej3dJv6Ffc466x/mOGMWU3lrABs3qa8BHmuJGnkfbpEf2vAwYTOWPvvzfM10OBbfloSyq3c9MKvyTe1luBLGqW4vZUXIyvSgz1liyUVefIQy3dyF9jbeTZbC0bbcT/7O3DEL+01z6A+rDCacSZ0lGolSQ6AnhLxzIkVpOQJbrBmC+x+ZuZPCMWzJynd5aeOn7jaj/mkRVyxe6g/0OhWz4NiiZXeuMRB+8mKy0fWD/UlIlZWHsAS2ZmrkXKqjLq0/0wr8ILJkznjSqdnI5Ibjg3uQrj/4AN+i9r28aQ73/ZkPtY5Sbw0AOiABBu7gHmq9ayVxZQIDAQAB")
55
66 let b = "$GAME_NUM"
77
88 let c = "$RESERVED_AMOUNT"
99
1010 let d = base58'A4q1mYKo11yuH9gmvDodeJoksagcyQzeFE9JtphMWddw'
1111
1212 let e = Address(base58'3MtCy2PCFPyu8A9SRNL4qUo1V17SGLHftD8')
1313
1414 let f = Address(base58'3MxK12u62zsu9xh3hU7p5iJncCLANd3zhTZ')
1515
1616 let g = Address(base58'3MxK12u62zsu9xh3hU7p5iJncCLANd3zhTZ')
1717
1818 let h = 100000000
1919
2020 let i = 1
2121
2222 let j = 3
2323
2424 let k = 2
2525
2626 let l = (1 * h)
2727
2828 let m = (20000000 * h)
2929
3030 func n (o,p) = if ((o == p))
3131 then true
3232 else false
3333
3434
3535 func q (o,p) = if (if ((o == 0))
3636 then if (if ((p == 37))
3737 then true
3838 else (p == 38))
3939 then true
4040 else (p == 39)
4141 else false)
4242 then true
4343 else if (if ((o == 1))
4444 then if (if ((p == 37))
4545 then true
4646 else (p == 40))
4747 then true
4848 else (p == 85)
4949 else false)
5050 then true
5151 else if (if ((o == 2))
5252 then if (if (if ((p == 38))
5353 then true
5454 else (p == 41))
5555 then true
5656 else (p == 73))
5757 then true
5858 else (p == 85)
5959 else false)
6060 then true
6161 else if (if ((o == 3))
6262 then if (if ((p == 39))
6363 then true
6464 else (p == 42))
6565 then true
6666 else (p == 73)
6767 else false)
6868 then true
6969 else if (if ((o == 4))
7070 then if (if ((p == 40))
7171 then true
7272 else (p == 43))
7373 then true
7474 else (p == 86)
7575 else false)
7676 then true
7777 else if (if ((o == 5))
7878 then if (if (if ((p == 41))
7979 then true
8080 else (p == 44))
8181 then true
8282 else (p == 74))
8383 then true
8484 else (p == 86)
8585 else false)
8686 then true
8787 else if (if ((o == 6))
8888 then if (if ((p == 42))
8989 then true
9090 else (p == 45))
9191 then true
9292 else (p == 74)
9393 else false)
9494 then true
9595 else if (if ((o == 7))
9696 then if (if ((p == 43))
9797 then true
9898 else (p == 46))
9999 then true
100100 else (p == 87)
101101 else false)
102102 then true
103103 else if (if ((o == 8))
104104 then if (if (if ((p == 44))
105105 then true
106106 else (p == 47))
107107 then true
108108 else (p == 75))
109109 then true
110110 else (p == 87)
111111 else false)
112112 then true
113113 else if (if ((o == 9))
114114 then if (if ((p == 45))
115115 then true
116116 else (p == 48))
117117 then true
118118 else (p == 75)
119119 else false)
120120 then true
121121 else if (if ((o == 10))
122122 then if (if ((p == 46))
123123 then true
124124 else (p == 49))
125125 then true
126126 else (p == 88)
127127 else false)
128128 then true
129129 else if (if ((o == 11))
130130 then if (if (if ((p == 47))
131131 then true
132132 else (p == 50))
133133 then true
134134 else (p == 76))
135135 then true
136136 else (p == 88)
137137 else false)
138138 then true
139139 else if (if ((o == 12))
140140 then if (if ((p == 48))
141141 then true
142142 else (p == 51))
143143 then true
144144 else (p == 76)
145145 else false)
146146 then true
147147 else if (if ((o == 13))
148148 then if (if ((p == 49))
149149 then true
150150 else (p == 52))
151151 then true
152152 else (p == 89)
153153 else false)
154154 then true
155155 else if (if ((o == 14))
156156 then if (if (if ((p == 50))
157157 then true
158158 else (p == 53))
159159 then true
160160 else (p == 77))
161161 then true
162162 else (p == 89)
163163 else false)
164164 then true
165165 else if (if ((o == 15))
166166 then if (if ((p == 51))
167167 then true
168168 else (p == 54))
169169 then true
170170 else (p == 77)
171171 else false)
172172 then true
173173 else if (if ((o == 16))
174174 then if (if ((p == 52))
175175 then true
176176 else (p == 55))
177177 then true
178178 else (p == 90)
179179 else false)
180180 then true
181181 else if (if ((o == 17))
182182 then if (if (if ((p == 53))
183183 then true
184184 else (p == 56))
185185 then true
186186 else (p == 78))
187187 then true
188188 else (p == 90)
189189 else false)
190190 then true
191191 else if (if ((o == 18))
192192 then if (if ((p == 54))
193193 then true
194194 else (p == 57))
195195 then true
196196 else (p == 78)
197197 else false)
198198 then true
199199 else if (if ((o == 19))
200200 then if (if ((p == 55))
201201 then true
202202 else (p == 58))
203203 then true
204204 else (p == 91)
205205 else false)
206206 then true
207207 else if (if ((o == 20))
208208 then if (if (if ((p == 56))
209209 then true
210210 else (p == 59))
211211 then true
212212 else (p == 79))
213213 then true
214214 else (p == 91)
215215 else false)
216216 then true
217217 else if (if ((o == 21))
218218 then if (if ((p == 57))
219219 then true
220220 else (p == 60))
221221 then true
222222 else (p == 79)
223223 else false)
224224 then true
225225 else if (if ((o == 22))
226226 then if (if ((p == 58))
227227 then true
228228 else (p == 61))
229229 then true
230230 else (p == 92)
231231 else false)
232232 then true
233233 else if (if ((o == 23))
234234 then if (if (if ((p == 59))
235235 then true
236236 else (p == 62))
237237 then true
238238 else (p == 80))
239239 then true
240240 else (p == 92)
241241 else false)
242242 then true
243243 else if (if ((o == 24))
244244 then if (if ((p == 60))
245245 then true
246246 else (p == 63))
247247 then true
248248 else (p == 80)
249249 else false)
250250 then true
251251 else if (if ((o == 25))
252252 then if (if ((p == 61))
253253 then true
254254 else (p == 64))
255255 then true
256256 else (p == 93)
257257 else false)
258258 then true
259259 else if (if ((o == 26))
260260 then if (if (if ((p == 62))
261261 then true
262262 else (p == 65))
263263 then true
264264 else (p == 81))
265265 then true
266266 else (p == 93)
267267 else false)
268268 then true
269269 else if (if ((o == 27))
270270 then if (if ((p == 63))
271271 then true
272272 else (p == 66))
273273 then true
274274 else (p == 81)
275275 else false)
276276 then true
277277 else if (if ((o == 28))
278278 then if (if ((p == 64))
279279 then true
280280 else (p == 67))
281281 then true
282282 else (p == 94)
283283 else false)
284284 then true
285285 else if (if ((o == 29))
286286 then if (if (if ((p == 65))
287287 then true
288288 else (p == 68))
289289 then true
290290 else (p == 82))
291291 then true
292292 else (p == 94)
293293 else false)
294294 then true
295295 else if (if ((o == 30))
296296 then if (if ((p == 66))
297297 then true
298298 else (p == 69))
299299 then true
300300 else (p == 82)
301301 else false)
302302 then true
303303 else if (if ((o == 31))
304304 then if (if ((p == 67))
305305 then true
306306 else (p == 70))
307307 then true
308308 else (p == 95)
309309 else false)
310310 then true
311311 else if (if ((o == 32))
312312 then if (if (if ((p == 68))
313313 then true
314314 else (p == 71))
315315 then true
316316 else (p == 83))
317317 then true
318318 else (p == 95)
319319 else false)
320320 then true
321321 else if (if ((o == 33))
322322 then if (if ((p == 69))
323323 then true
324324 else (p == 72))
325325 then true
326326 else (p == 83)
327327 else false)
328328 then true
329329 else if (if ((o == 34))
330330 then if ((p == 70))
331331 then true
332332 else (p == 96)
333333 else false)
334334 then true
335335 else if (if ((o == 35))
336336 then if (if ((p == 71))
337337 then true
338338 else (p == 84))
339339 then true
340340 else (p == 96)
341341 else false)
342342 then true
343343 else if (if ((o == 36))
344344 then if ((p == 72))
345345 then true
346346 else (p == 84)
347347 else false)
348348 then true
349349 else false
350350
351351
352352 func r (o,p) = if (if ((p == 97))
353353 then if (if ((o == 0))
354354 then true
355355 else (o == 1))
356356 then true
357357 else (o == 2)
358358 else false)
359359 then true
360360 else if (if ((p == 98))
361361 then if (if ((o == 0))
362362 then true
363363 else (o == 2))
364364 then true
365365 else (o == 3)
366366 else false)
367367 then true
368368 else if (if ((p == 99))
369369 then if (if ((o == 1))
370370 then true
371371 else (o == 2))
372372 then true
373373 else (o == 3)
374374 else false)
375375 then true
376376 else if (if ((p == 100))
377377 then if (if ((o == 4))
378378 then true
379379 else (o == 5))
380380 then true
381381 else (o == 6)
382382 else false)
383383 then true
384384 else if (if ((p == 101))
385385 then if (if ((o == 7))
386386 then true
387387 else (o == 8))
388388 then true
389389 else (o == 9)
390390 else false)
391391 then true
392392 else if (if ((p == 102))
393393 then if (if ((o == 10))
394394 then true
395395 else (o == 11))
396396 then true
397397 else (o == 12)
398398 else false)
399399 then true
400400 else if (if ((p == 103))
401401 then if (if ((o == 13))
402402 then true
403403 else (o == 14))
404404 then true
405405 else (o == 15)
406406 else false)
407407 then true
408408 else if (if ((p == 104))
409409 then if (if ((o == 16))
410410 then true
411411 else (o == 17))
412412 then true
413413 else (o == 18)
414414 else false)
415415 then true
416416 else if (if ((p == 105))
417417 then if (if ((o == 19))
418418 then true
419419 else (o == 20))
420420 then true
421421 else (o == 21)
422422 else false)
423423 then true
424424 else if (if ((p == 106))
425425 then if (if ((o == 22))
426426 then true
427427 else (o == 23))
428428 then true
429429 else (o == 24)
430430 else false)
431431 then true
432432 else if (if ((p == 107))
433433 then if (if ((o == 25))
434434 then true
435435 else (o == 26))
436436 then true
437437 else (o == 27)
438438 else false)
439439 then true
440440 else if (if ((p == 108))
441441 then if (if ((o == 28))
442442 then true
443443 else (o == 29))
444444 then true
445445 else (o == 30)
446446 else false)
447447 then true
448448 else if (if ((p == 109))
449449 then if (if ((o == 31))
450450 then true
451451 else (o == 32))
452452 then true
453453 else (o == 33)
454454 else false)
455455 then true
456456 else if (if ((p == 110))
457457 then if (if ((o == 34))
458458 then true
459459 else (o == 35))
460460 then true
461461 else (o == 36)
462462 else false)
463463 then true
464464 else false
465465
466466
467467 func s (o,p) = if (if ((p == 111))
468468 then if (if (if ((o == 0))
469469 then true
470470 else (o == 1))
471471 then true
472472 else (o == 2))
473473 then true
474474 else (o == 3)
475475 else false)
476476 then true
477477 else if (if ((p == 112))
478478 then if (if (if ((o == 1))
479479 then true
480480 else (o == 2))
481481 then true
482482 else (o == 4))
483483 then true
484484 else (o == 5)
485485 else false)
486486 then true
487487 else if (if ((p == 113))
488488 then if (if (if ((o == 2))
489489 then true
490490 else (o == 3))
491491 then true
492492 else (o == 5))
493493 then true
494494 else (o == 6)
495495 else false)
496496 then true
497497 else if (if ((p == 114))
498498 then if (if (if ((o == 4))
499499 then true
500500 else (o == 5))
501501 then true
502502 else (o == 7))
503503 then true
504504 else (o == 8)
505505 else false)
506506 then true
507507 else if (if ((p == 115))
508508 then if (if (if ((o == 5))
509509 then true
510510 else (o == 6))
511511 then true
512512 else (o == 8))
513513 then true
514514 else (o == 9)
515515 else false)
516516 then true
517517 else if (if ((p == 116))
518518 then if (if (if ((o == 7))
519519 then true
520520 else (o == 8))
521521 then true
522522 else (o == 10))
523523 then true
524524 else (o == 11)
525525 else false)
526526 then true
527527 else if (if ((p == 117))
528528 then if (if (if ((o == 8))
529529 then true
530530 else (o == 9))
531531 then true
532532 else (o == 11))
533533 then true
534534 else (o == 12)
535535 else false)
536536 then true
537537 else if (if ((p == 118))
538538 then if (if (if ((o == 10))
539539 then true
540540 else (o == 11))
541541 then true
542542 else (o == 13))
543543 then true
544544 else (o == 14)
545545 else false)
546546 then true
547547 else if (if ((p == 119))
548548 then if (if (if ((o == 11))
549549 then true
550550 else (o == 12))
551551 then true
552552 else (o == 14))
553553 then true
554554 else (o == 15)
555555 else false)
556556 then true
557557 else if (if ((p == 120))
558558 then if (if (if ((o == 13))
559559 then true
560560 else (o == 14))
561561 then true
562562 else (o == 16))
563563 then true
564564 else (o == 17)
565565 else false)
566566 then true
567567 else if (if ((p == 121))
568568 then if (if (if ((o == 14))
569569 then true
570570 else (o == 15))
571571 then true
572572 else (o == 17))
573573 then true
574574 else (o == 18)
575575 else false)
576576 then true
577577 else if (if ((p == 122))
578578 then if (if (if ((o == 16))
579579 then true
580580 else (o == 17))
581581 then true
582582 else (o == 19))
583583 then true
584584 else (o == 20)
585585 else false)
586586 then true
587587 else if (if ((p == 123))
588588 then if (if (if ((o == 17))
589589 then true
590590 else (o == 18))
591591 then true
592592 else (o == 20))
593593 then true
594594 else (o == 21)
595595 else false)
596596 then true
597597 else if (if ((p == 124))
598598 then if (if (if ((o == 19))
599599 then true
600600 else (o == 20))
601601 then true
602602 else (o == 22))
603603 then true
604604 else (o == 23)
605605 else false)
606606 then true
607607 else if (if ((p == 125))
608608 then if (if (if ((o == 20))
609609 then true
610610 else (o == 21))
611611 then true
612612 else (o == 23))
613613 then true
614614 else (o == 24)
615615 else false)
616616 then true
617617 else if (if ((p == 126))
618618 then if (if (if ((o == 22))
619619 then true
620620 else (o == 23))
621621 then true
622622 else (o == 25))
623623 then true
624624 else (o == 26)
625625 else false)
626626 then true
627627 else if (if ((p == 127))
628628 then if (if (if ((o == 23))
629629 then true
630630 else (o == 24))
631631 then true
632632 else (o == 26))
633633 then true
634634 else (o == 27)
635635 else false)
636636 then true
637637 else if (if ((p == 128))
638638 then if (if (if ((o == 25))
639639 then true
640640 else (o == 26))
641641 then true
642642 else (o == 28))
643643 then true
644644 else (o == 29)
645645 else false)
646646 then true
647647 else if (if ((p == 129))
648648 then if (if (if ((o == 26))
649649 then true
650650 else (o == 27))
651651 then true
652652 else (o == 29))
653653 then true
654654 else (o == 30)
655655 else false)
656656 then true
657657 else if (if ((p == 130))
658658 then if (if (if ((o == 28))
659659 then true
660660 else (o == 29))
661661 then true
662662 else (o == 31))
663663 then true
664664 else (o == 32)
665665 else false)
666666 then true
667667 else if (if ((p == 131))
668668 then if (if (if ((o == 29))
669669 then true
670670 else (o == 30))
671671 then true
672672 else (o == 32))
673673 then true
674674 else (o == 33)
675675 else false)
676676 then true
677677 else if (if ((p == 132))
678678 then if (if (if ((o == 31))
679679 then true
680680 else (o == 32))
681681 then true
682682 else (o == 34))
683683 then true
684684 else (o == 35)
685685 else false)
686686 then true
687687 else if (if ((p == 133))
688688 then if (if (if ((o == 32))
689689 then true
690690 else (o == 33))
691691 then true
692692 else (o == 35))
693693 then true
694694 else (o == 36)
695695 else false)
696696 then true
697697 else false
698698
699699
700700 func t (o,p) = if (if (if ((p == 134))
701701 then (o >= 1)
702702 else false)
703703 then (6 >= o)
704704 else false)
705705 then true
706706 else if (if (if ((p == 135))
707707 then (o >= 4)
708708 else false)
709709 then (9 >= o)
710710 else false)
711711 then true
712712 else if (if (if ((p == 136))
713713 then (o >= 7)
714714 else false)
715715 then (12 >= o)
716716 else false)
717717 then true
718718 else if (if (if ((p == 137))
719719 then (o >= 10)
720720 else false)
721721 then (15 >= o)
722722 else false)
723723 then true
724724 else if (if (if ((p == 138))
725725 then (o >= 13)
726726 else false)
727727 then (18 >= o)
728728 else false)
729729 then true
730730 else if (if (if ((p == 139))
731731 then (o >= 16)
732732 else false)
733733 then (21 >= o)
734734 else false)
735735 then true
736736 else if (if (if ((p == 140))
737737 then (o >= 19)
738738 else false)
739739 then (24 >= o)
740740 else false)
741741 then true
742742 else if (if (if ((p == 141))
743743 then (o >= 22)
744744 else false)
745745 then (27 >= o)
746746 else false)
747747 then true
748748 else if (if (if ((p == 142))
749749 then (o >= 25)
750750 else false)
751751 then (30 >= o)
752752 else false)
753753 then true
754754 else if (if (if ((p == 143))
755755 then (o >= 28)
756756 else false)
757757 then (33 >= o)
758758 else false)
759759 then true
760760 else if (if (if ((p == 144))
761761 then (o >= 31)
762762 else false)
763763 then (36 >= o)
764764 else false)
765765 then true
766766 else false
767767
768768
769769 func u (o,p) = if (if ((p == 145))
770770 then if (if (if (if (if (if (if (if (if (if (if (if ((o == 0))
771771 then true
772772 else (o == 1))
773773 then true
774774 else (o == 4))
775775 then true
776776 else (o == 7))
777777 then true
778778 else (o == 10))
779779 then true
780780 else (o == 13))
781781 then true
782782 else (o == 16))
783783 then true
784784 else (o == 19))
785785 then true
786786 else (o == 22))
787787 then true
788788 else (o == 25))
789789 then true
790790 else (o == 28))
791791 then true
792792 else (o == 31))
793793 then true
794794 else (o == 34)
795795 else false)
796796 then true
797797 else if (if ((p == 146))
798798 then if (if (if (if (if (if (if (if (if (if (if (if ((o == 0))
799799 then true
800800 else (o == 2))
801801 then true
802802 else (o == 5))
803803 then true
804804 else (o == 8))
805805 then true
806806 else (o == 11))
807807 then true
808808 else (o == 14))
809809 then true
810810 else (o == 17))
811811 then true
812812 else (o == 20))
813813 then true
814814 else (o == 23))
815815 then true
816816 else (o == 26))
817817 then true
818818 else (o == 29))
819819 then true
820820 else (o == 32))
821821 then true
822822 else (o == 35)
823823 else false)
824824 then true
825825 else if (if ((p == 147))
826826 then if (if (if (if (if (if (if (if (if (if (if (if ((o == 0))
827827 then true
828828 else (o == 3))
829829 then true
830830 else (o == 6))
831831 then true
832832 else (o == 9))
833833 then true
834834 else (o == 12))
835835 then true
836836 else (o == 15))
837837 then true
838838 else (o == 18))
839839 then true
840840 else (o == 21))
841841 then true
842842 else (o == 24))
843843 then true
844844 else (o == 27))
845845 then true
846846 else (o == 30))
847847 then true
848848 else (o == 33))
849849 then true
850850 else (o == 36)
851851 else false)
852852 then true
853853 else false
854854
855855
856856 func v (o,p) = if (if (if ((p == 148))
857857 then (o >= 1)
858858 else false)
859859 then (12 >= o)
860860 else false)
861861 then true
862862 else if (if (if ((p == 149))
863863 then (o >= 13)
864864 else false)
865865 then (24 >= o)
866866 else false)
867867 then true
868868 else if (if (if ((p == 150))
869869 then (o >= 25)
870870 else false)
871871 then (36 >= o)
872872 else false)
873873 then true
874874 else false
875875
876876
877877 func w (o,p) = if (if ((p == 151))
878878 then if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if ((o == 1))
879879 then true
880880 else (o == 3))
881881 then true
882882 else (o == 5))
883883 then true
884884 else (o == 7))
885885 then true
886886 else (o == 9))
887887 then true
888888 else (o == 12))
889889 then true
890890 else (o == 14))
891891 then true
892892 else (o == 16))
893893 then true
894894 else (o == 18))
895895 then true
896896 else (o == 19))
897897 then true
898898 else (o == 21))
899899 then true
900900 else (o == 23))
901901 then true
902902 else (o == 25))
903903 then true
904904 else (o == 27))
905905 then true
906906 else (o == 30))
907907 then true
908908 else (o == 32))
909909 then true
910910 else (o == 34))
911911 then true
912912 else (o == 36)
913913 else false)
914914 then true
915915 else if (if ((p == 152))
916916 then if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if (if ((o == 2))
917917 then true
918918 else (o == 4))
919919 then true
920920 else (o == 6))
921921 then true
922922 else (o == 8))
923923 then true
924924 else (o == 10))
925925 then true
926926 else (o == 11))
927927 then true
928928 else (o == 13))
929929 then true
930930 else (o == 15))
931931 then true
932932 else (o == 17))
933933 then true
934934 else (o == 20))
935935 then true
936936 else (o == 22))
937937 then true
938938 else (o == 24))
939939 then true
940940 else (o == 26))
941941 then true
942942 else (o == 28))
943943 then true
944944 else (o == 29))
945945 then true
946946 else (o == 31))
947947 then true
948948 else (o == 33))
949949 then true
950950 else (o == 35)
951951 else false)
952952 then true
953953 else false
954954
955955
956956 func x (o,p) = {
957957 let y = (o % 2)
958958 if (if (if ((o > 0))
959959 then (p == 153)
960960 else false)
961961 then (y == 0)
962962 else false)
963963 then true
964964 else if (if (if ((o > 0))
965965 then (p == 154)
966966 else false)
967967 then (y != 0)
968968 else false)
969969 then true
970970 else false
971971 }
972972
973973
974974 func z (o,p) = if (if (if ((p == 155))
975975 then (o >= 1)
976976 else false)
977977 then (18 >= o)
978978 else false)
979979 then true
980980 else if (if (if ((p == 156))
981981 then (o >= 19)
982982 else false)
983983 then (36 >= o)
984984 else false)
985985 then true
986986 else false
987987
988988
989989 func A (o,p) = if (if ((p >= 0))
990990 then (36 >= p)
991991 else false)
992992 then n(o, p)
993993 else if (if ((p >= 37))
994994 then (96 >= p)
995995 else false)
996996 then q(o, p)
997997 else if (if ((p >= 97))
998998 then (110 >= p)
999999 else false)
10001000 then r(o, p)
10011001 else if (if ((p >= 111))
10021002 then (133 >= p)
10031003 else false)
10041004 then s(o, p)
10051005 else if (if ((p >= 134))
10061006 then (144 >= p)
10071007 else false)
10081008 then t(o, p)
10091009 else if (if ((p >= 145))
10101010 then (147 >= p)
10111011 else false)
10121012 then u(o, p)
10131013 else if (if ((p >= 148))
10141014 then (150 >= p)
10151015 else false)
10161016 then v(o, p)
10171017 else if (if ((p == 151))
10181018 then true
10191019 else (p == 152))
10201020 then w(o, p)
10211021 else if (if ((p == 153))
10221022 then true
10231023 else (p == 154))
10241024 then x(o, p)
10251025 else if (if ((p == 155))
10261026 then true
10271027 else (p == 156))
10281028 then z(o, p)
10291029 else throw("Random randber out of range, 0 <= rand <= 36")
10301030
10311031
10321032 func B (p) = if (if ((p >= 0))
10331033 then (36 >= p)
10341034 else false)
10351035 then 36
10361036 else if (if ((p >= 37))
10371037 then (96 >= p)
10381038 else false)
10391039 then 18
10401040 else if (if ((p >= 97))
10411041 then (110 >= p)
10421042 else false)
10431043 then 12
10441044 else if (if ((p >= 111))
10451045 then (133 >= p)
10461046 else false)
10471047 then 9
10481048 else if (if ((p >= 134))
10491049 then (144 >= p)
10501050 else false)
10511051 then 6
10521052 else if (if ((p >= 145))
10531053 then (147 >= p)
10541054 else false)
10551055 then 3
10561056 else if (if ((p >= 148))
10571057 then (150 >= p)
10581058 else false)
10591059 then 3
10601060 else if (if ((p == 151))
10611061 then true
10621062 else (p == 152))
10631063 then 2
10641064 else if (if ((p == 153))
10651065 then true
10661066 else (p == 154))
10671067 then 2
10681068 else if (if ((p == 155))
10691069 then true
10701070 else (p == 156))
10711071 then 2
10721072 else throw("Bet number out of range, 0 <= rand <= 156")
10731073
10741074
10751075 func C (p,D) = {
10761076 let E = B(p)
1077- ((D * E) - fraction(D, 6, 100))
1077+ let F = fraction(D, 6, 100)
1078+ ((D * E) - F)
10781079 }
10791080
10801081
1081-func F (G) = {
1082- let H = {
1083- let I = getInteger(this, G)
1084- if ($isInstanceOf(I, "Int"))
1082+func G (H) = {
1083+ let I = {
1084+ let J = getInteger(this, H)
1085+ if ($isInstanceOf(J, "Int"))
10851086 then {
1086- let J = I
1087- J
1087+ let K = J
1088+ K
10881089 }
10891090 else 0
10901091 }
1091- (H + 1)
1092+ (I + 1)
10921093 }
10931094
10941095
1095-func K (G) = {
1096- let I = getInteger(this, G)
1097- if ($isInstanceOf(I, "Int"))
1096+func L (H) = {
1097+ let J = getInteger(this, H)
1098+ if ($isInstanceOf(J, "Int"))
10981099 then {
1099- let L = I
1100- L
1100+ let M = J
1101+ M
11011102 }
11021103 else 0
11031104 }
11041105
11051106
1106-func M (N) = {
1107- let O = (K(c) + N)
1108- let P = assetBalance(this, d)
1109- if ((O > P))
1107+func N (O) = {
1108+ let P = (L(c) + O)
1109+ let Q = assetBalance(this, d)
1110+ if ((P > Q))
11101111 then throw("Insufficient funds on Wavesbet Roulette account. Transaction was rejected for your safety.")
1111- else O
1112+ else P
11121113 }
11131114
11141115
1115-func Q (N) = {
1116- let O = (K(c) - N)
1117- if ((0 > O))
1116+func R (O) = {
1117+ let P = (L(c) - O)
1118+ if ((0 > P))
11181119 then throw("Invalid roulette account state - reserved amount is less than 0")
1119- else DataEntry(c, O)
1120+ else DataEntry(c, P)
11201121 }
11211122
11221123
1123-func R (S,T) = {
1124- let U = rsaVerify(SHA256, toBytes(S), T, a)
1125- if (U)
1124+func S (T,U) = {
1125+ let V = rsaVerify(SHA256, toBytes(T), U, a)
1126+ if (V)
11261127 then {
1127- let o = (toInt(sha256(T)) % 36)
1128+ let o = (toInt(sha256(U)) % 36)
11281129 if ((0 > o))
11291130 then ((-1 * o) + 1)
11301131 else (o + 1)
11311132 }
11321133 else throw("Invalid RSA signature")
11331134 }
11341135
11351136
1136-func V (W) = if (if ((W >= 1))
1137- then (36 >= W)
1137+func W (X) = if (if ((X >= 1))
1138+ then (36 >= X)
11381139 else false)
1139- then toString(W)
1140- else throw(("Unsupported r parameter passed: expected=[0,...,36] actual=" + toString(W)))
1140+ then toString(X)
1141+ else throw(("Unsupported r parameter passed: expected=[0,...,36] actual=" + toString(X)))
11411142
11421143
1143-func X (Y) = {
1144- let Z = {
1145- let I = getString(this, Y)
1146- if ($isInstanceOf(I, "String"))
1144+func Y (Z) = {
1145+ let aa = {
1146+ let J = getString(this, Z)
1147+ if ($isInstanceOf(J, "String"))
11471148 then {
1148- let aa = I
1149- aa
1149+ let ab = J
1150+ ab
11501151 }
1151- else throw(("Couldn't find string by " + Y))
1152+ else throw(("Couldn't find string by " + Z))
11521153 }
1153- Z
1154+ aa
11541155 }
11551156
11561157
1157-func ab (ac,ad) = if ((ac == "new"))
1158- then (("game_" + ad) + "_bet_1")
1158+func ac (ad,ae) = if ((ad == "new"))
1159+ then (("game_" + ae) + "_bet_1")
11591160 else {
1160- let ae = toString(F(ac))
1161- ((("game_" + ac) + "_bet_") + ae)
1161+ let af = toString(G(ad))
1162+ ((("game_" + ad) + "_bet_") + af)
11621163 }
11631164
11641165
1165-func af (ag,ad,S,N,ah) = if ((ag == "new"))
1166- then WriteSet([DataEntry(b, F(b)), DataEntry(c, M(N)), DataEntry(ad, 1), DataEntry(S, ah)])
1167- else WriteSet([DataEntry(c, M(N)), DataEntry(ag, F(ag)), DataEntry(S, ah)])
1166+func ag (ah,ae,T,O,ai) = if ((ah == "new"))
1167+ then WriteSet([DataEntry(b, G(b)), DataEntry(c, N(O)), DataEntry(ae, 1), DataEntry(T, ai)])
1168+ else WriteSet([DataEntry(c, N(O)), DataEntry(ah, G(ah)), DataEntry(T, ai)])
11681169
11691170
1170-@Callable(ai)
1171-func playRoulette (p,ag) = {
1172- let ad = toBase58String(ai.transactionId)
1173- let aj = extract(ai.payment)
1174- let ak = isDefined(ai.feeAssetId)
1175- let al = wavesBalance(ai.caller)
1176- let S = ab(ag, ad)
1177- let am = isDefined(getString(this, S))
1178- let N = C(p, aj.amount)
1179- if ((aj.assetId != d))
1171+@Callable(aj)
1172+func playRoulette (p,ah) = {
1173+ let ae = toBase58String(aj.transactionId)
1174+ let ak = extract(aj.payment)
1175+ let al = isDefined(aj.feeAssetId)
1176+ let am = wavesBalance(aj.caller)
1177+ let T = ac(ah, ae)
1178+ let an = isDefined(getString(this, T))
1179+ let O = C(p, ak.amount)
1180+ if ((ak.assetId != d))
11801181 then throw("Payment should be in Wavesbet")
1181- else if ((1000000 > al))
1182+ else if ((1000000 > am))
11821183 then throw("There are not enough waves, it takes 0.01 Waves to bet. Game aborted.")
1183- else if (ak)
1184+ else if (al)
11841185 then throw("Transaction's fee must be in Waves. Game aborted.")
1185- else if (am)
1186+ else if (an)
11861187 then throw("Passed gameId had been used before. Game aborted.")
11871188 else {
1188- let an = toBase58String(ai.callerPublicKey)
1189- let ah = (((((("SUBMITTED" + "_") + toString(p)) + "_") + an) + "_") + toString(N))
1190- ScriptResult(af(ag, ad, S, N, ah), TransferSet([ScriptTransfer(e, fraction(aj.amount, i, 100), d), ScriptTransfer(f, fraction(aj.amount, j, 100), d), ScriptTransfer(g, fraction(aj.amount, k, 100), d)]))
1189+ let ao = toBase58String(aj.callerPublicKey)
1190+ let ai = (((((("SUBMITTED" + "_") + toString(p)) + "_") + ao) + "_") + toString(O))
1191+ if ((ah == "new"))
1192+ then ScriptResult(WriteSet([DataEntry(b, G(b)), DataEntry(c, N(O)), DataEntry(ae, 1), DataEntry(T, ai)]), TransferSet([ScriptTransfer(e, fraction(ak.amount, i, 100), d), ScriptTransfer(f, fraction(ak.amount, j, 100), d), ScriptTransfer(g, fraction(ak.amount, k, 100), d)]))
1193+ else ScriptResult(WriteSet([DataEntry(c, N(O)), DataEntry(ah, G(ah)), DataEntry(T, ai)]), TransferSet([ScriptTransfer(e, fraction(ak.amount, i, 100), d), ScriptTransfer(f, fraction(ak.amount, j, 100), d), ScriptTransfer(g, fraction(ak.amount, k, 100), d)]))
11911194 }
11921195 }
11931196
11941197
11951198
1196-@Callable(ai)
1197-func withdraw (S,ao) = {
1198- let ap = split(X(S), "_")
1199- let aq = ap[0]
1200- let p = parseIntValue(ap[1])
1201- let an = ap[2]
1202- let N = parseIntValue(ap[3])
1203- let ar = addressFromPublicKey(fromBase58String(an))
1204- let as = Q(N)
1205- if ((aq != "SUBMITTED"))
1199+@Callable(aj)
1200+func withdraw (T,ap) = {
1201+ let aq = split(Y(T), "_")
1202+ let ar = aq[0]
1203+ let p = parseIntValue(aq[1])
1204+ let ao = aq[2]
1205+ let O = parseIntValue(aq[3])
1206+ let as = addressFromPublicKey(fromBase58String(ao))
1207+ let at = R(O)
1208+ if ((ar != "SUBMITTED"))
12061209 then throw("Invalid game state for passed gameId. Game aborted. ")
12071210 else {
1208- let at = split(S, "_")
1209- let o = R(at[1], ao)
1210- let au = V(o)
1211+ let au = split(T, "_")
1212+ let o = S(au[1], ap)
1213+ let av = W(o)
12111214 if (A(o, p))
12121215 then {
1213- let av = (((((((("WON" + "_") + ap[1]) + "_") + an) + "_") + ap[3]) + "_") + au)
1214- ScriptResult(WriteSet([DataEntry(S, av), as]), TransferSet([ScriptTransfer(ar, N, d)]))
1216+ let aw = (((((((("WON" + "_") + aq[1]) + "_") + ao) + "_") + aq[3]) + "_") + av)
1217+ ScriptResult(WriteSet([DataEntry(T, aw), at]), TransferSet([ScriptTransfer(as, O, d)]))
12151218 }
12161219 else {
1217- let av = (((((((("LOST" + "_") + ap[1]) + "_") + an) + "_") + ap[3]) + "_") + au)
1218- WriteSet([DataEntry(S, av), as])
1220+ let aw = (((((((("LOST" + "_") + aq[1]) + "_") + ao) + "_") + aq[3]) + "_") + av)
1221+ WriteSet([DataEntry(T, aw), at])
12191222 }
12201223 }
12211224 }
12221225
12231226

github/deemru/w8io/169f3d6 
144.38 ms