tx · Hx5EVnXh28RJXtYWKCS9UtXR1THkPdkNXeAa8gEbA5RT 3NCs4motPXw3h6vyT7o6PAKmbo3e2jk8kHa: -0.05000000 Waves 2019.10.25 01:37 [734784] smart account 3NCs4motPXw3h6vyT7o6PAKmbo3e2jk8kHa > SELF 0.00000000 Waves
{ "type": 13, "id": "Hx5EVnXh28RJXtYWKCS9UtXR1THkPdkNXeAa8gEbA5RT", "fee": 5000000, "feeAssetId": null, "timestamp": 1571956630591, "version": 1, "sender": "3NCs4motPXw3h6vyT7o6PAKmbo3e2jk8kHa", "senderPublicKey": "DdkgRd7YzZtSU3hXJc7sHsU7sM8nUSEwkzqZCaCTXKRe", "proofs": [ "4d9FcoBHGrr5WsQbVNDNntxxAMYHmEMqwRPsuZh8urCSjMKxwmcQQVxMX8t4QTJxKmoajfVJgMG8BKTT8mNQWZwm" ], "script": "base64:AAIDAAAAAAAAAA4IARIECgIIARIECgIICAAAACgAAAAACVJTQVBVQkxJQwkAAlsAAAABAgAAAmRMUzB0TFMxQ1JVZEpUaUJRVlVKTVNVTWdTMFZaTFMwdExTMWNiazFKU1VKSmFrRk9RbWRyY1docmFVYzVkekJDUVZGRlJrRkJUME5CVVRoQlRVbEpRa05uUzBOQlVVVkJiVTlzVWtKVVdVVlBNMGczV1RseVFtMXZSbEZjYmtadU5ETTVNbEI0TUZGM01UTkVjMlJGYUc1NlRVZ3lZMm8yV1RWNWJWQjFRMDlNVFU1bE5YRnlWWHBSYkRodlVreDZTVUo2UmxaTldteDNWVmxzTW1KY2JtOXpjazlKZUZGaVdVWTNWMVpSVjNadlZuaEZWREZaU1dkRWJUTk9lbnBQVEVFMWRVZzNRMHRQTUhOdWMyaHRUVVpEUkU5YVJXVjNOREZIYWt0b00xQmNibWQ0SzI1aVFXZDFVRGxhVVZCbWNWTmhaa1Z0UXpORFRpODBlVVJ6U25KTGNtbFNibWxhU204NWFsTXZORXhNYzFKTGQwSTNTRUZhU0hwdlJqbE1URGRjYm5SVFdrZ3phSF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VEVXT04FAAAACXByZWRjdGlvbgUAAAAIcm9sbFR5cGUFAAAADnBsYXllclB1YktleTU4BQAAAAZ3aW5BbXQFAAAAB3JhbmRTdHIJAQAAAAxXaW5TY3JpcHRTZXQAAAAEBQAAAAZnYW1lSWQFAAAADXBsYXllckFkZHJlc3MFAAAABndpbkFtdAUAAAAObmV3R2FtZURhdGFTdHIEAAAADm5ld0dhbWVEYXRhU3RyCQEAAAARRm9ybWF0R2FtZURhdGFTdHIAAAAGBQAAAAlTVEFURUxPU1QFAAAACXByZWRjdGlvbgUAAAAIcm9sbFR5cGUFAAAADnBsYXllclB1YktleTU4BQAAAAZ3aW5BbXQFAAAAB3JhbmRTdHIJAQAAAAhXcml0ZVNldAAAAAEJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIFAAAABmdhbWVJZAUAAAAObmV3R2FtZURhdGFTdHIFAAAAA25pbAAAAAB3Xk65", "chainId": 84, "height": 734784, "spentComplexity": 0 } View: original | compacted Prev: H4bGRJEiPbEBz63CQWotngPLdPc5A4KW4RGkoVvPne2j Next: GAC5iFZDkcmeyoyDy676UJkDMt7zBMV7oVGqGYPKMzsV Diff:
Old | New | Differences | |
---|---|---|---|
13 | 13 | ||
14 | 14 | let f = Address(base58'') | |
15 | 15 | ||
16 | - | let g = | |
16 | + | let g = ((100 * 1000) * 1000) | |
17 | 17 | ||
18 | - | let h = | |
18 | + | let h = 2 | |
19 | 19 | ||
20 | - | let i = | |
20 | + | let i = 5 | |
21 | 21 | ||
22 | - | let j = " | |
22 | + | let j = "SUBMITTED" | |
23 | 23 | ||
24 | - | let k = " | |
24 | + | let k = "WON" | |
25 | 25 | ||
26 | - | let l = " | |
26 | + | let l = "LOST" | |
27 | 27 | ||
28 | - | let m = " | |
28 | + | let m = "UNDER" | |
29 | 29 | ||
30 | - | let n = | |
30 | + | let n = "OVER" | |
31 | 31 | ||
32 | - | let o = | |
32 | + | let o = (100 * g) | |
33 | 33 | ||
34 | - | let p = | |
34 | + | let p = ((1000 * 100) * g) | |
35 | 35 | ||
36 | - | let q = | |
36 | + | let q = 4 | |
37 | 37 | ||
38 | - | let r = | |
38 | + | let r = 100 | |
39 | 39 | ||
40 | - | let s = | |
40 | + | let s = 0 | |
41 | 41 | ||
42 | - | let t = | |
42 | + | let t = 1 | |
43 | 43 | ||
44 | - | let u = | |
44 | + | let u = 2 | |
45 | 45 | ||
46 | - | let v = | |
46 | + | let v = 3 | |
47 | 47 | ||
48 | - | let w = | |
48 | + | let w = 4 | |
49 | 49 | ||
50 | - | func x () = { | |
51 | - | let y = { | |
52 | - | let z = getInteger(this, b) | |
53 | - | if ($isInstanceOf(z, "Int")) | |
50 | + | let x = 5 | |
51 | + | ||
52 | + | func y () = { | |
53 | + | let z = { | |
54 | + | let A = getInteger(this, b) | |
55 | + | if ($isInstanceOf(A, "Int")) | |
54 | 56 | then { | |
55 | - | let | |
56 | - | | |
57 | + | let B = A | |
58 | + | B | |
57 | 59 | } | |
58 | 60 | else 0 | |
59 | 61 | } | |
60 | - | ( | |
62 | + | (z + 1) | |
61 | 63 | } | |
62 | 64 | ||
63 | 65 | ||
64 | - | func | |
65 | - | let | |
66 | - | if ($isInstanceOf( | |
66 | + | func C () = { | |
67 | + | let A = getInteger(this, c) | |
68 | + | if ($isInstanceOf(A, "Int")) | |
67 | 69 | then { | |
68 | - | let | |
69 | - | | |
70 | + | let D = A | |
71 | + | D | |
70 | 72 | } | |
71 | 73 | else 0 | |
72 | 74 | } | |
73 | 75 | ||
74 | 76 | ||
75 | - | func | |
76 | - | let | |
77 | - | let | |
78 | - | if (( | |
77 | + | func E (F) = { | |
78 | + | let G = (C() + F) | |
79 | + | let H = wavesBalance(this) | |
80 | + | if ((G > H)) | |
79 | 81 | then throw("Insufficient funds on Wavesbet account. Transaction was rejected for your safety.") | |
80 | - | else | |
82 | + | else G | |
81 | 83 | } | |
82 | 84 | ||
83 | 85 | ||
84 | - | func | |
85 | - | let | |
86 | - | if (( | |
86 | + | func I (J) = { | |
87 | + | let K = size(J) | |
88 | + | if ((K == 0)) | |
87 | 89 | then throw("Parameter size must be greater then 0") | |
88 | - | else if (( | |
90 | + | else if ((K > 99)) | |
89 | 91 | then throw("Parameter size must be less then 100") | |
90 | - | else if ((10 > | |
91 | - | then (("0" + toString( | |
92 | - | else (toString( | |
92 | + | else if ((10 > K)) | |
93 | + | then (("0" + toString(K)) + J) | |
94 | + | else (toString(K) + J) | |
93 | 95 | } | |
94 | 96 | ||
95 | 97 | ||
96 | - | func | |
97 | - | let | |
98 | - | if (( | |
99 | - | then | |
100 | - | else (( | |
98 | + | func L (M,N,O,P,F,Q) = { | |
99 | + | let R = ((((((((I(M) + "_") + I(toString(N))) + "_") + I(O)) + "_") + I(P)) + "_") + I(toString(F))) | |
100 | + | if ((Q == "")) | |
101 | + | then R | |
102 | + | else ((R + "_") + I(Q)) | |
101 | 103 | } | |
102 | 104 | ||
103 | 105 | ||
104 | - | func | |
105 | - | then drop( | |
106 | - | else | |
106 | + | func S (T) = if ((size(T) > 0)) | |
107 | + | then drop(T, 1) | |
108 | + | else T | |
107 | 109 | ||
108 | 110 | ||
109 | - | func | |
110 | - | let | |
111 | - | if (( | |
111 | + | func U (T) = { | |
112 | + | let K = size(T) | |
113 | + | if ((K > 0)) | |
112 | 114 | then { | |
113 | - | let | |
114 | - | let | |
115 | - | let | |
116 | - | let | |
117 | - | [ | |
115 | + | let V = parseIntValue(take(T, 2)) | |
116 | + | let W = take(drop(T, 2), V) | |
117 | + | let X = drop(T, (V + 2)) | |
118 | + | let Y = S(X) | |
119 | + | [W, Y] | |
118 | 120 | } | |
119 | 121 | else throw("Empty string was passed into parseNextAttribute func") | |
120 | 122 | } | |
121 | 123 | ||
122 | 124 | ||
123 | - | func | |
124 | - | let | |
125 | - | let | |
126 | - | let | |
127 | - | let | |
128 | - | let | |
129 | - | [ | |
125 | + | func Z (aa) = { | |
126 | + | let M = U(aa) | |
127 | + | let N = U(M[1]) | |
128 | + | let O = U(N[1]) | |
129 | + | let P = U(O[1]) | |
130 | + | let F = U(P[1]) | |
131 | + | [M[0], N[0], O[0], P[0], F[0]] | |
130 | 132 | } | |
131 | 133 | ||
132 | 134 | ||
133 | - | func | |
134 | - | let | |
135 | - | | |
135 | + | func ab (ac) = { | |
136 | + | let ad = ac | |
137 | + | Z(ad) | |
136 | 138 | } | |
137 | 139 | ||
138 | 140 | ||
139 | - | func | |
140 | - | let | |
141 | - | if ((0 > | |
141 | + | func ae (ac,F) = { | |
142 | + | let G = (C() - F) | |
143 | + | if ((0 > G)) | |
142 | 144 | then throw("Invalid Dice Roller account state - reserved amount is less than 0") | |
143 | - | else DataEntry(c, | |
145 | + | else DataEntry(c, G) | |
144 | 146 | } | |
145 | 147 | ||
146 | 148 | ||
147 | - | func | |
148 | - | let | |
149 | - | if ( | |
149 | + | func af (ac,ag) = { | |
150 | + | let ah = rsaVerify(SHA256, toBytes(ac), toBytes(ag), a) | |
151 | + | if (ah) | |
150 | 152 | then { | |
151 | - | let | |
152 | - | if ((0 > | |
153 | - | then ((-1 * | |
154 | - | else ( | |
153 | + | let Q = (toInt(sha256(toBytes(ag))) % 100) | |
154 | + | if ((0 > Q)) | |
155 | + | then ((-1 * Q) + 1) | |
156 | + | else (Q + 1) | |
155 | 157 | } | |
156 | 158 | else throw("Invalid RSA signature") | |
157 | 159 | } | |
158 | 160 | ||
159 | 161 | ||
160 | - | func | |
161 | - | then (100 >= | |
162 | + | func ai (aj) = if (if ((aj >= 1)) | |
163 | + | then (100 >= aj) | |
162 | 164 | else false) | |
163 | - | then toString( | |
164 | - | else throw(("Unsupported r parameter passed: expected=[1,...,100] actual=" + toString( | |
165 | + | then toString(aj) | |
166 | + | else throw(("Unsupported r parameter passed: expected=[1,...,100] actual=" + toString(aj))) | |
165 | 167 | ||
166 | 168 | ||
167 | - | func | |
168 | - | let | |
169 | - | let | |
170 | - | ScriptResult( | |
169 | + | func ak (ac,al,F,am) = { | |
170 | + | let an = [ScriptTransfer(al, F, d)] | |
171 | + | let ao = WriteSet([DataEntry("Game Id", ac), DataEntry("Player Address", toString(al))]) | |
172 | + | ScriptResult(ao, TransferSet(an)) | |
171 | 173 | } | |
172 | 174 | ||
173 | 175 | ||
174 | - | func | |
175 | - | then if (( | |
176 | + | func ap (N,O) = if ((O == m)) | |
177 | + | then if ((N == 1)) | |
176 | 178 | then 9850000 | |
177 | - | else if (( | |
179 | + | else if ((N == 2)) | |
178 | 180 | then 4925000 | |
179 | - | else if (( | |
181 | + | else if ((N == 3)) | |
180 | 182 | then 3283330 | |
181 | - | else if (( | |
183 | + | else if ((N == 4)) | |
182 | 184 | then 2462500 | |
183 | - | else if (( | |
185 | + | else if ((N == 5)) | |
184 | 186 | then 1970000 | |
185 | - | else if (( | |
187 | + | else if ((N == 6)) | |
186 | 188 | then 1641660 | |
187 | - | else if (( | |
189 | + | else if ((N == 7)) | |
188 | 190 | then 1407140 | |
189 | - | else if (( | |
191 | + | else if ((N == 8)) | |
190 | 192 | then 1231250 | |
191 | - | else if (( | |
193 | + | else if ((N == 9)) | |
192 | 194 | then 1094440 | |
193 | - | else if (( | |
195 | + | else if ((N == 10)) | |
194 | 196 | then 985000 | |
195 | - | else if (( | |
197 | + | else if ((N == 11)) | |
196 | 198 | then 895450 | |
197 | - | else if (( | |
199 | + | else if ((N == 12)) | |
198 | 200 | then 820830 | |
199 | - | else if (( | |
201 | + | else if ((N == 13)) | |
200 | 202 | then 757690 | |
201 | - | else if (( | |
203 | + | else if ((N == 14)) | |
202 | 204 | then 703570 | |
203 | - | else if (( | |
205 | + | else if ((N == 15)) | |
204 | 206 | then 656660 | |
205 | - | else if (( | |
207 | + | else if ((N == 16)) | |
206 | 208 | then 615620 | |
207 | - | else if (( | |
209 | + | else if ((N == 17)) | |
208 | 210 | then 579410 | |
209 | - | else if (( | |
211 | + | else if ((N == 18)) | |
210 | 212 | then 547220 | |
211 | - | else if (( | |
213 | + | else if ((N == 19)) | |
212 | 214 | then 518420 | |
213 | - | else if (( | |
215 | + | else if ((N == 20)) | |
214 | 216 | then 492500 | |
215 | - | else if (( | |
217 | + | else if ((N == 21)) | |
216 | 218 | then 469040 | |
217 | - | else if (( | |
219 | + | else if ((N == 22)) | |
218 | 220 | then 447720 | |
219 | - | else if (( | |
221 | + | else if ((N == 23)) | |
220 | 222 | then 428260 | |
221 | - | else if (( | |
223 | + | else if ((N == 24)) | |
222 | 224 | then 410410 | |
223 | - | else if (( | |
225 | + | else if ((N == 25)) | |
224 | 226 | then 394000 | |
225 | - | else if (( | |
227 | + | else if ((N == 26)) | |
226 | 228 | then 378840 | |
227 | - | else if (( | |
229 | + | else if ((N == 27)) | |
228 | 230 | then 364810 | |
229 | - | else if (( | |
231 | + | else if ((N == 28)) | |
230 | 232 | then 351780 | |
231 | - | else if (( | |
233 | + | else if ((N == 29)) | |
232 | 234 | then 339650 | |
233 | - | else if (( | |
235 | + | else if ((N == 30)) | |
234 | 236 | then 328330 | |
235 | - | else if (( | |
237 | + | else if ((N == 31)) | |
236 | 238 | then 317740 | |
237 | - | else if (( | |
239 | + | else if ((N == 32)) | |
238 | 240 | then 307810 | |
239 | - | else if (( | |
241 | + | else if ((N == 33)) | |
240 | 242 | then 298480 | |
241 | - | else if (( | |
243 | + | else if ((N == 34)) | |
242 | 244 | then 289700 | |
243 | - | else if (( | |
245 | + | else if ((N == 35)) | |
244 | 246 | then 281420 | |
245 | - | else if (( | |
247 | + | else if ((N == 36)) | |
246 | 248 | then 273610 | |
247 | - | else if (( | |
249 | + | else if ((N == 37)) | |
248 | 250 | then 259210 | |
249 | - | else if (( | |
251 | + | else if ((N == 38)) | |
250 | 252 | then 259210 | |
251 | - | else if (( | |
253 | + | else if ((N == 39)) | |
252 | 254 | then 252560 | |
253 | - | else if (( | |
255 | + | else if ((N == 40)) | |
254 | 256 | then 246250 | |
255 | - | else if (( | |
257 | + | else if ((N == 41)) | |
256 | 258 | then 240240 | |
257 | - | else if (( | |
259 | + | else if ((N == 42)) | |
258 | 260 | then 234520 | |
259 | - | else if (( | |
261 | + | else if ((N == 43)) | |
260 | 262 | then 229060 | |
261 | - | else if (( | |
263 | + | else if ((N == 44)) | |
262 | 264 | then 223860 | |
263 | - | else if (( | |
265 | + | else if ((N == 45)) | |
264 | 266 | then 218880 | |
265 | - | else if (( | |
267 | + | else if ((N == 46)) | |
266 | 268 | then 214130 | |
267 | - | else if (( | |
269 | + | else if ((N == 47)) | |
268 | 270 | then 209570 | |
269 | - | else if (( | |
271 | + | else if ((N == 48)) | |
270 | 272 | then 205200 | |
271 | - | else if (( | |
273 | + | else if ((N == 49)) | |
272 | 274 | then 201020 | |
273 | - | else if (( | |
275 | + | else if ((N == 50)) | |
274 | 276 | then 197000 | |
275 | - | else if (( | |
277 | + | else if ((N == 51)) | |
276 | 278 | then 193130 | |
277 | - | else if (( | |
279 | + | else if ((N == 52)) | |
278 | 280 | then 189420 | |
279 | - | else if (( | |
281 | + | else if ((N == 53)) | |
280 | 282 | then 185840 | |
281 | - | else if (( | |
283 | + | else if ((N == 54)) | |
282 | 284 | then 182400 | |
283 | - | else if (( | |
285 | + | else if ((N == 55)) | |
284 | 286 | then 179090 | |
285 | - | else if (( | |
287 | + | else if ((N == 56)) | |
286 | 288 | then 175890 | |
287 | - | else if (( | |
289 | + | else if ((N == 57)) | |
288 | 290 | then 172800 | |
289 | - | else if (( | |
291 | + | else if ((N == 58)) | |
290 | 292 | then 169820 | |
291 | - | else if (( | |
293 | + | else if ((N == 59)) | |
292 | 294 | then 166940 | |
293 | - | else if (( | |
295 | + | else if ((N == 60)) | |
294 | 296 | then 164160 | |
295 | - | else if (( | |
297 | + | else if ((N == 61)) | |
296 | 298 | then 161470 | |
297 | - | else if (( | |
299 | + | else if ((N == 62)) | |
298 | 300 | then 158870 | |
299 | - | else if (( | |
301 | + | else if ((N == 63)) | |
300 | 302 | then 156340 | |
301 | - | else if (( | |
303 | + | else if ((N == 64)) | |
302 | 304 | then 153900 | |
303 | - | else if (( | |
305 | + | else if ((N == 65)) | |
304 | 306 | then 151530 | |
305 | - | else if (( | |
307 | + | else if ((N == 66)) | |
306 | 308 | then 149240 | |
307 | - | else if (( | |
309 | + | else if ((N == 67)) | |
308 | 310 | then 147010 | |
309 | - | else if (( | |
311 | + | else if ((N == 68)) | |
310 | 312 | then 144850 | |
311 | - | else if (( | |
313 | + | else if ((N == 69)) | |
312 | 314 | then 142750 | |
313 | - | else if (( | |
315 | + | else if ((N == 70)) | |
314 | 316 | then 140710 | |
315 | - | else if (( | |
317 | + | else if ((N == 71)) | |
316 | 318 | then 138730 | |
317 | - | else if (( | |
319 | + | else if ((N == 72)) | |
318 | 320 | then 136800 | |
319 | - | else if (( | |
321 | + | else if ((N == 73)) | |
320 | 322 | then 134930 | |
321 | - | else if (( | |
323 | + | else if ((N == 74)) | |
322 | 324 | then 133100 | |
323 | - | else if (( | |
325 | + | else if ((N == 75)) | |
324 | 326 | then 131330 | |
325 | - | else if (( | |
327 | + | else if ((N == 76)) | |
326 | 328 | then 129600 | |
327 | - | else if (( | |
329 | + | else if ((N == 77)) | |
328 | 330 | then 127920 | |
329 | - | else if (( | |
331 | + | else if ((N == 78)) | |
330 | 332 | then 126280 | |
331 | - | else if (( | |
333 | + | else if ((N == 79)) | |
332 | 334 | then 124680 | |
333 | - | else if (( | |
335 | + | else if ((N == 80)) | |
334 | 336 | then 123120 | |
335 | - | else if (( | |
337 | + | else if ((N == 81)) | |
336 | 338 | then 121600 | |
337 | - | else if (( | |
339 | + | else if ((N == 82)) | |
338 | 340 | then 120120 | |
339 | - | else if (( | |
341 | + | else if ((N == 83)) | |
340 | 342 | then 118670 | |
341 | - | else if (( | |
343 | + | else if ((N == 84)) | |
342 | 344 | then 117260 | |
343 | - | else if (( | |
345 | + | else if ((N == 85)) | |
344 | 346 | then 115880 | |
345 | - | else if (( | |
347 | + | else if ((N == 86)) | |
346 | 348 | then 114530 | |
347 | - | else if (( | |
349 | + | else if ((N == 87)) | |
348 | 350 | then 113210 | |
349 | - | else if (( | |
351 | + | else if ((N == 88)) | |
350 | 352 | then 111930 | |
351 | - | else if (( | |
353 | + | else if ((N == 89)) | |
352 | 354 | then 110670 | |
353 | - | else if (( | |
355 | + | else if ((N == 90)) | |
354 | 356 | then 109440 | |
355 | - | else if (( | |
357 | + | else if ((N == 91)) | |
356 | 358 | then 108240 | |
357 | - | else if (( | |
359 | + | else if ((N == 92)) | |
358 | 360 | then 107060 | |
359 | - | else if (( | |
361 | + | else if ((N == 93)) | |
360 | 362 | then 105910 | |
361 | - | else if (( | |
363 | + | else if ((N == 94)) | |
362 | 364 | then 104780 | |
363 | - | else if (( | |
365 | + | else if ((N == 95)) | |
364 | 366 | then 103680 | |
365 | - | else if (( | |
367 | + | else if ((N == 96)) | |
366 | 368 | then 103680 | |
367 | 369 | else 100000 | |
368 | - | else if (( | |
369 | - | then if (( | |
370 | + | else if ((O == n)) | |
371 | + | then if ((N == 4)) | |
370 | 372 | then 103680 | |
371 | - | else if (( | |
373 | + | else if ((N == 5)) | |
372 | 374 | then 103680 | |
373 | - | else if (( | |
375 | + | else if ((N == 6)) | |
374 | 376 | then 104780 | |
375 | - | else if (( | |
377 | + | else if ((N == 7)) | |
376 | 378 | then 105910 | |
377 | - | else if (( | |
379 | + | else if ((N == 8)) | |
378 | 380 | then 107060 | |
379 | - | else if (( | |
381 | + | else if ((N == 9)) | |
380 | 382 | then 108240 | |
381 | - | else if (( | |
383 | + | else if ((N == 10)) | |
382 | 384 | then 109440 | |
383 | - | else if (( | |
385 | + | else if ((N == 11)) | |
384 | 386 | then 110670 | |
385 | - | else if (( | |
387 | + | else if ((N == 12)) | |
386 | 388 | then 111930 | |
387 | - | else if (( | |
389 | + | else if ((N == 13)) | |
388 | 390 | then 113210 | |
389 | - | else if (( | |
391 | + | else if ((N == 14)) | |
390 | 392 | then 114530 | |
391 | - | else if (( | |
393 | + | else if ((N == 15)) | |
392 | 394 | then 115880 | |
393 | - | else if (( | |
395 | + | else if ((N == 16)) | |
394 | 396 | then 117260 | |
395 | - | else if (( | |
397 | + | else if ((N == 17)) | |
396 | 398 | then 118670 | |
397 | - | else if (( | |
399 | + | else if ((N == 18)) | |
398 | 400 | then 120120 | |
399 | - | else if (( | |
401 | + | else if ((N == 19)) | |
400 | 402 | then 121600 | |
401 | - | else if (( | |
403 | + | else if ((N == 20)) | |
402 | 404 | then 123120 | |
403 | - | else if (( | |
405 | + | else if ((N == 21)) | |
404 | 406 | then 124680 | |
405 | - | else if (( | |
407 | + | else if ((N == 22)) | |
406 | 408 | then 126280 | |
407 | - | else if (( | |
409 | + | else if ((N == 23)) | |
408 | 410 | then 127920 | |
409 | - | else if (( | |
411 | + | else if ((N == 24)) | |
410 | 412 | then 129600 | |
411 | - | else if (( | |
413 | + | else if ((N == 25)) | |
412 | 414 | then 131330 | |
413 | - | else if (( | |
415 | + | else if ((N == 26)) | |
414 | 416 | then 133100 | |
415 | - | else if (( | |
417 | + | else if ((N == 27)) | |
416 | 418 | then 134930 | |
417 | - | else if (( | |
419 | + | else if ((N == 28)) | |
418 | 420 | then 136800 | |
419 | - | else if (( | |
421 | + | else if ((N == 29)) | |
420 | 422 | then 138730 | |
421 | - | else if (( | |
423 | + | else if ((N == 30)) | |
422 | 424 | then 140710 | |
423 | - | else if (( | |
425 | + | else if ((N == 31)) | |
424 | 426 | then 142750 | |
425 | - | else if (( | |
427 | + | else if ((N == 32)) | |
426 | 428 | then 144850 | |
427 | - | else if (( | |
429 | + | else if ((N == 33)) | |
428 | 430 | then 147010 | |
429 | - | else if (( | |
431 | + | else if ((N == 34)) | |
430 | 432 | then 149240 | |
431 | - | else if (( | |
433 | + | else if ((N == 35)) | |
432 | 434 | then 151530 | |
433 | - | else if (( | |
435 | + | else if ((N == 36)) | |
434 | 436 | then 153900 | |
435 | - | else if (( | |
437 | + | else if ((N == 37)) | |
436 | 438 | then 156340 | |
437 | - | else if (( | |
439 | + | else if ((N == 38)) | |
438 | 440 | then 158870 | |
439 | - | else if (( | |
441 | + | else if ((N == 39)) | |
440 | 442 | then 161470 | |
441 | - | else if (( | |
443 | + | else if ((N == 40)) | |
442 | 444 | then 164160 | |
443 | - | else if (( | |
445 | + | else if ((N == 41)) | |
444 | 446 | then 166940 | |
445 | - | else if (( | |
447 | + | else if ((N == 42)) | |
446 | 448 | then 169820 | |
447 | - | else if (( | |
449 | + | else if ((N == 43)) | |
448 | 450 | then 172800 | |
449 | - | else if (( | |
451 | + | else if ((N == 44)) | |
450 | 452 | then 175890 | |
451 | - | else if (( | |
453 | + | else if ((N == 45)) | |
452 | 454 | then 179090 | |
453 | - | else if (( | |
455 | + | else if ((N == 46)) | |
454 | 456 | then 185840 | |
455 | - | else if (( | |
457 | + | else if ((N == 47)) | |
456 | 458 | then 185840 | |
457 | - | else if (( | |
459 | + | else if ((N == 48)) | |
458 | 460 | then 189420 | |
459 | - | else if (( | |
461 | + | else if ((N == 49)) | |
460 | 462 | then 193130 | |
461 | - | else if (( | |
463 | + | else if ((N == 50)) | |
462 | 464 | then 197000 | |
463 | - | else if (( | |
465 | + | else if ((N == 51)) | |
464 | 466 | then 201020 | |
465 | - | else if (( | |
467 | + | else if ((N == 52)) | |
466 | 468 | then 205200 | |
467 | - | else if (( | |
469 | + | else if ((N == 53)) | |
468 | 470 | then 209570 | |
469 | - | else if (( | |
471 | + | else if ((N == 54)) | |
470 | 472 | then 214130 | |
471 | - | else if (( | |
473 | + | else if ((N == 55)) | |
472 | 474 | then 218880 | |
473 | - | else if (( | |
475 | + | else if ((N == 56)) | |
474 | 476 | then 223860 | |
475 | - | else if (( | |
477 | + | else if ((N == 57)) | |
476 | 478 | then 229060 | |
477 | - | else if (( | |
479 | + | else if ((N == 58)) | |
478 | 480 | then 234520 | |
479 | - | else if (( | |
481 | + | else if ((N == 59)) | |
480 | 482 | then 240240 | |
481 | - | else if (( | |
483 | + | else if ((N == 60)) | |
482 | 484 | then 246250 | |
483 | - | else if (( | |
485 | + | else if ((N == 61)) | |
484 | 486 | then 252560 | |
485 | - | else if (( | |
487 | + | else if ((N == 62)) | |
486 | 488 | then 259210 | |
487 | - | else if (( | |
489 | + | else if ((N == 63)) | |
488 | 490 | then 259210 | |
489 | - | else if (( | |
491 | + | else if ((N == 64)) | |
490 | 492 | then 273610 | |
491 | - | else if (( | |
493 | + | else if ((N == 65)) | |
492 | 494 | then 281420 | |
493 | - | else if (( | |
495 | + | else if ((N == 66)) | |
494 | 496 | then 289700 | |
495 | - | else if (( | |
497 | + | else if ((N == 67)) | |
496 | 498 | then 298480 | |
497 | - | else if (( | |
499 | + | else if ((N == 68)) | |
498 | 500 | then 307810 | |
499 | - | else if (( | |
501 | + | else if ((N == 69)) | |
500 | 502 | then 317740 | |
501 | - | else if (( | |
503 | + | else if ((N == 70)) | |
502 | 504 | then 328330 | |
503 | - | else if (( | |
505 | + | else if ((N == 71)) | |
504 | 506 | then 339650 | |
505 | - | else if (( | |
507 | + | else if ((N == 72)) | |
506 | 508 | then 351780 | |
507 | - | else if (( | |
509 | + | else if ((N == 73)) | |
508 | 510 | then 364810 | |
509 | - | else if (( | |
511 | + | else if ((N == 74)) | |
510 | 512 | then 378840 | |
511 | - | else if (( | |
513 | + | else if ((N == 75)) | |
512 | 514 | then 394000 | |
513 | - | else if (( | |
515 | + | else if ((N == 76)) | |
514 | 516 | then 410410 | |
515 | - | else if (( | |
517 | + | else if ((N == 77)) | |
516 | 518 | then 428260 | |
517 | - | else if (( | |
519 | + | else if ((N == 78)) | |
518 | 520 | then 447720 | |
519 | - | else if (( | |
521 | + | else if ((N == 79)) | |
520 | 522 | then 469040 | |
521 | - | else if (( | |
523 | + | else if ((N == 80)) | |
522 | 524 | then 492500 | |
523 | - | else if (( | |
525 | + | else if ((N == 81)) | |
524 | 526 | then 518420 | |
525 | - | else if (( | |
527 | + | else if ((N == 82)) | |
526 | 528 | then 547220 | |
527 | - | else if (( | |
529 | + | else if ((N == 83)) | |
528 | 530 | then 579410 | |
529 | - | else if (( | |
531 | + | else if ((N == 84)) | |
530 | 532 | then 615620 | |
531 | - | else if (( | |
533 | + | else if ((N == 85)) | |
532 | 534 | then 656660 | |
533 | - | else if (( | |
535 | + | else if ((N == 86)) | |
534 | 536 | then 703570 | |
535 | - | else if (( | |
537 | + | else if ((N == 87)) | |
536 | 538 | then 757690 | |
537 | - | else if (( | |
539 | + | else if ((N == 88)) | |
538 | 540 | then 820830 | |
539 | - | else if (( | |
541 | + | else if ((N == 89)) | |
540 | 542 | then 895450 | |
541 | - | else if (( | |
543 | + | else if ((N == 90)) | |
542 | 544 | then 985000 | |
543 | - | else if (( | |
545 | + | else if ((N == 91)) | |
544 | 546 | then 1094440 | |
545 | - | else if (( | |
547 | + | else if ((N == 92)) | |
546 | 548 | then 1231250 | |
547 | - | else if (( | |
549 | + | else if ((N == 93)) | |
548 | 550 | then 1407140 | |
549 | - | else if (( | |
551 | + | else if ((N == 94)) | |
550 | 552 | then 1641660 | |
551 | - | else if (( | |
553 | + | else if ((N == 95)) | |
552 | 554 | then 1970000 | |
553 | - | else if (( | |
555 | + | else if ((N == 96)) | |
554 | 556 | then 2462500 | |
555 | - | else if (( | |
557 | + | else if ((N == 97)) | |
556 | 558 | then 3283330 | |
557 | - | else if (( | |
559 | + | else if ((N == 98)) | |
558 | 560 | then 4925000 | |
559 | - | else if (( | |
561 | + | else if ((N == 99)) | |
560 | 562 | then 9850000 | |
561 | 563 | else 100000 | |
562 | 564 | else 100000 | |
563 | 565 | ||
564 | 566 | ||
565 | - | func | |
566 | - | then if (( | |
567 | + | func aq (O,N,Q) = if ((O == m)) | |
568 | + | then if ((N >= Q)) | |
567 | 569 | then true | |
568 | 570 | else false | |
569 | - | else if (( | |
570 | - | then if (( | |
571 | + | else if ((O == n)) | |
572 | + | then if ((Q >= N)) | |
571 | 573 | then true | |
572 | 574 | else false | |
573 | 575 | else false | |
574 | 576 | ||
575 | 577 | ||
576 | - | func | |
578 | + | func ar (as,N,O) = if (if ((o > as)) | |
577 | 579 | then true | |
578 | - | else ( | |
579 | - | then throw(((("Bet amount is not in range: minBet=" + toString( | |
580 | - | else if (if (( | |
580 | + | else (as > p)) | |
581 | + | then throw(((("Bet amount is not in range: minBet=" + toString(o)) + " maxBet=") + toString(p))) | |
582 | + | else if (if ((O != m)) | |
581 | 583 | then true | |
582 | - | else ( | |
584 | + | else (O != m)) | |
583 | 585 | then throw("Invalid Roll type, try with Roll Over or Roll Under") | |
584 | - | else if (if (( | |
586 | + | else if (if ((q > N)) | |
585 | 587 | then true | |
586 | - | else ( | |
588 | + | else (N > r)) | |
587 | 589 | then throw("Prediction is out of the condition: 1 <= predction <= 98") | |
588 | 590 | else { | |
589 | - | let | |
590 | - | ((( | |
591 | + | let at = ap(N, O) | |
592 | + | (((as * at) / 100000) * (95 / 100)) | |
591 | 593 | } | |
592 | 594 | ||
593 | 595 | ||
594 | - | @Callable( | |
595 | - | func play (N | |
596 | - | let | |
597 | - | let | |
598 | - | let | |
599 | - | let | |
600 | - | let | |
601 | - | let | |
602 | - | if ((100000 > | |
596 | + | @Callable(au) | |
597 | + | func play (O,N) = { | |
598 | + | let ac = toBase58String(au.transactionId) | |
599 | + | let av = isDefined(getString(this, ac)) | |
600 | + | let aw = extract(au.payment) | |
601 | + | let ax = isDefined(au.feeAssetId) | |
602 | + | let F = ar(aw.amount, N, O) | |
603 | + | let ay = wavesBalance(au.caller) | |
604 | + | if ((100000 > ay)) | |
603 | 605 | then throw("There are not enough waves, it takes 0.01 Waves to bet. Game aborted.") | |
604 | - | else if (( | |
606 | + | else if ((aw.assetId != d)) | |
605 | 607 | then throw("Bet amount must be in Wbet. Game aborted.") | |
606 | - | else if ( | |
608 | + | else if (ax) | |
607 | 609 | then throw("Transaction's fee must be in Waves. Game aborted.") | |
608 | - | else if ( | |
610 | + | else if (av) | |
609 | 611 | then throw("Passed gameId had been used before. Game aborted.") | |
610 | 612 | else { | |
611 | - | let | |
612 | - | let | |
613 | - | let | |
614 | - | ScriptResult(WriteSet([DataEntry(b, | |
613 | + | let az = y() | |
614 | + | let P = toBase58String(au.callerPublicKey) | |
615 | + | let aA = L(j, N, O, P, F, "") | |
616 | + | ScriptResult(WriteSet([DataEntry(b, az), DataEntry(ac, aA)]), TransferSet(nil)) | |
615 | 617 | } | |
616 | 618 | } | |
617 | 619 | ||
618 | 620 | ||
619 | 621 | ||
620 | - | @Callable( | |
621 | - | func withdraw ( | |
622 | - | let | |
623 | - | let | |
624 | - | let | |
625 | - | let | |
626 | - | let | |
627 | - | let | |
628 | - | let | |
629 | - | let | |
630 | - | if (( | |
622 | + | @Callable(au) | |
623 | + | func withdraw (ac,ag) = { | |
624 | + | let aB = ab(ac) | |
625 | + | let M = aB[s] | |
626 | + | let aC = parseIntValue(aB[t]) | |
627 | + | let O = aB[u] | |
628 | + | let P = aB[v] | |
629 | + | let F = parseIntValue(aB[w]) | |
630 | + | let al = addressFromPublicKey(fromBase58String(P)) | |
631 | + | let aD = ae(ac, F) | |
632 | + | if ((M != j)) | |
631 | 633 | then throw("Invalid game state for passed gameId") | |
632 | 634 | else { | |
633 | - | let | |
634 | - | let | |
635 | - | if ( | |
635 | + | let Q = af(ac, ag) | |
636 | + | let aE = ai(Q) | |
637 | + | if (aq(O, aC, Q)) | |
636 | 638 | then { | |
637 | - | let | |
638 | - | | |
639 | + | let am = L(k, aC, O, P, F, aE) | |
640 | + | ak(ac, al, F, am) | |
639 | 641 | } | |
640 | 642 | else { | |
641 | - | let | |
642 | - | WriteSet([DataEntry( | |
643 | + | let am = L(l, aC, O, P, F, aE) | |
644 | + | WriteSet([DataEntry(ac, am)]) | |
643 | 645 | } | |
644 | 646 | } | |
645 | 647 | } |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 3 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = fromBase64String("LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS1cbk1JSUJJakFOQmdrcWhraUc5dzBCQVFFRkFBT0NBUThBTUlJQkNnS0NBUUVBbU9sUkJUWUVPM0g3WTlyQm1vRlFcbkZuNDM5MlB4MFF3MTNEc2RFaG56TUgyY2o2WTV5bVB1Q09MTU5lNXFyVXpRbDhvUkx6SUJ6RlZNWmx3VVlsMmJcbm9zck9JeFFiWUY3V1ZRV3ZvVnhFVDFZSWdEbTNOenpPTEE1dUg3Q0tPMHNuc2htTUZDRE9aRWV3NDFHaktoM1Bcbmd4K25iQWd1UDlaUVBmcVNhZkVtQzNDTi80eURzSnJLcmlSbmlaSm85alMvNExMc1JLd0I3SEFaSHpvRjlMTDdcbnRTWkgzaHRhTkd0YmRUa3haMVR6U1QzTWIyVlBTenNadlFEb2NYVVZPbUpPdTBvMjlhT1krR2tHL0c0UkNLMEZcbkJXUUhFVXZDNTFUUkRTNWs4amFkME8xTW9ialFjNmIxOGQrZnVvVkZkTmZad0dIK3VGdWR0UEczVUpUZjJta3pcblpRSURBUUFCXG4tLS0tLUVORCBQVUJMSUMgS0VZLS0tLS0=") | |
5 | 5 | ||
6 | 6 | let b = "$GAME_NUM" | |
7 | 7 | ||
8 | 8 | let c = "$RESERVED_AMOUNT" | |
9 | 9 | ||
10 | 10 | let d = base58'23vgV9p9pD83A7CFbsDEc4zjanep7UeFo4ZRS6oGorhv' | |
11 | 11 | ||
12 | 12 | let e = Address(base58'3NCs4motPXw3h6vyT7o6PAKmbo3e2jk8kHa') | |
13 | 13 | ||
14 | 14 | let f = Address(base58'') | |
15 | 15 | ||
16 | - | let g = | |
16 | + | let g = ((100 * 1000) * 1000) | |
17 | 17 | ||
18 | - | let h = | |
18 | + | let h = 2 | |
19 | 19 | ||
20 | - | let i = | |
20 | + | let i = 5 | |
21 | 21 | ||
22 | - | let j = " | |
22 | + | let j = "SUBMITTED" | |
23 | 23 | ||
24 | - | let k = " | |
24 | + | let k = "WON" | |
25 | 25 | ||
26 | - | let l = " | |
26 | + | let l = "LOST" | |
27 | 27 | ||
28 | - | let m = " | |
28 | + | let m = "UNDER" | |
29 | 29 | ||
30 | - | let n = | |
30 | + | let n = "OVER" | |
31 | 31 | ||
32 | - | let o = | |
32 | + | let o = (100 * g) | |
33 | 33 | ||
34 | - | let p = | |
34 | + | let p = ((1000 * 100) * g) | |
35 | 35 | ||
36 | - | let q = | |
36 | + | let q = 4 | |
37 | 37 | ||
38 | - | let r = | |
38 | + | let r = 100 | |
39 | 39 | ||
40 | - | let s = | |
40 | + | let s = 0 | |
41 | 41 | ||
42 | - | let t = | |
42 | + | let t = 1 | |
43 | 43 | ||
44 | - | let u = | |
44 | + | let u = 2 | |
45 | 45 | ||
46 | - | let v = | |
46 | + | let v = 3 | |
47 | 47 | ||
48 | - | let w = | |
48 | + | let w = 4 | |
49 | 49 | ||
50 | - | func x () = { | |
51 | - | let y = { | |
52 | - | let z = getInteger(this, b) | |
53 | - | if ($isInstanceOf(z, "Int")) | |
50 | + | let x = 5 | |
51 | + | ||
52 | + | func y () = { | |
53 | + | let z = { | |
54 | + | let A = getInteger(this, b) | |
55 | + | if ($isInstanceOf(A, "Int")) | |
54 | 56 | then { | |
55 | - | let | |
56 | - | | |
57 | + | let B = A | |
58 | + | B | |
57 | 59 | } | |
58 | 60 | else 0 | |
59 | 61 | } | |
60 | - | ( | |
62 | + | (z + 1) | |
61 | 63 | } | |
62 | 64 | ||
63 | 65 | ||
64 | - | func | |
65 | - | let | |
66 | - | if ($isInstanceOf( | |
66 | + | func C () = { | |
67 | + | let A = getInteger(this, c) | |
68 | + | if ($isInstanceOf(A, "Int")) | |
67 | 69 | then { | |
68 | - | let | |
69 | - | | |
70 | + | let D = A | |
71 | + | D | |
70 | 72 | } | |
71 | 73 | else 0 | |
72 | 74 | } | |
73 | 75 | ||
74 | 76 | ||
75 | - | func | |
76 | - | let | |
77 | - | let | |
78 | - | if (( | |
77 | + | func E (F) = { | |
78 | + | let G = (C() + F) | |
79 | + | let H = wavesBalance(this) | |
80 | + | if ((G > H)) | |
79 | 81 | then throw("Insufficient funds on Wavesbet account. Transaction was rejected for your safety.") | |
80 | - | else | |
82 | + | else G | |
81 | 83 | } | |
82 | 84 | ||
83 | 85 | ||
84 | - | func | |
85 | - | let | |
86 | - | if (( | |
86 | + | func I (J) = { | |
87 | + | let K = size(J) | |
88 | + | if ((K == 0)) | |
87 | 89 | then throw("Parameter size must be greater then 0") | |
88 | - | else if (( | |
90 | + | else if ((K > 99)) | |
89 | 91 | then throw("Parameter size must be less then 100") | |
90 | - | else if ((10 > | |
91 | - | then (("0" + toString( | |
92 | - | else (toString( | |
92 | + | else if ((10 > K)) | |
93 | + | then (("0" + toString(K)) + J) | |
94 | + | else (toString(K) + J) | |
93 | 95 | } | |
94 | 96 | ||
95 | 97 | ||
96 | - | func | |
97 | - | let | |
98 | - | if (( | |
99 | - | then | |
100 | - | else (( | |
98 | + | func L (M,N,O,P,F,Q) = { | |
99 | + | let R = ((((((((I(M) + "_") + I(toString(N))) + "_") + I(O)) + "_") + I(P)) + "_") + I(toString(F))) | |
100 | + | if ((Q == "")) | |
101 | + | then R | |
102 | + | else ((R + "_") + I(Q)) | |
101 | 103 | } | |
102 | 104 | ||
103 | 105 | ||
104 | - | func | |
105 | - | then drop( | |
106 | - | else | |
106 | + | func S (T) = if ((size(T) > 0)) | |
107 | + | then drop(T, 1) | |
108 | + | else T | |
107 | 109 | ||
108 | 110 | ||
109 | - | func | |
110 | - | let | |
111 | - | if (( | |
111 | + | func U (T) = { | |
112 | + | let K = size(T) | |
113 | + | if ((K > 0)) | |
112 | 114 | then { | |
113 | - | let | |
114 | - | let | |
115 | - | let | |
116 | - | let | |
117 | - | [ | |
115 | + | let V = parseIntValue(take(T, 2)) | |
116 | + | let W = take(drop(T, 2), V) | |
117 | + | let X = drop(T, (V + 2)) | |
118 | + | let Y = S(X) | |
119 | + | [W, Y] | |
118 | 120 | } | |
119 | 121 | else throw("Empty string was passed into parseNextAttribute func") | |
120 | 122 | } | |
121 | 123 | ||
122 | 124 | ||
123 | - | func | |
124 | - | let | |
125 | - | let | |
126 | - | let | |
127 | - | let | |
128 | - | let | |
129 | - | [ | |
125 | + | func Z (aa) = { | |
126 | + | let M = U(aa) | |
127 | + | let N = U(M[1]) | |
128 | + | let O = U(N[1]) | |
129 | + | let P = U(O[1]) | |
130 | + | let F = U(P[1]) | |
131 | + | [M[0], N[0], O[0], P[0], F[0]] | |
130 | 132 | } | |
131 | 133 | ||
132 | 134 | ||
133 | - | func | |
134 | - | let | |
135 | - | | |
135 | + | func ab (ac) = { | |
136 | + | let ad = ac | |
137 | + | Z(ad) | |
136 | 138 | } | |
137 | 139 | ||
138 | 140 | ||
139 | - | func | |
140 | - | let | |
141 | - | if ((0 > | |
141 | + | func ae (ac,F) = { | |
142 | + | let G = (C() - F) | |
143 | + | if ((0 > G)) | |
142 | 144 | then throw("Invalid Dice Roller account state - reserved amount is less than 0") | |
143 | - | else DataEntry(c, | |
145 | + | else DataEntry(c, G) | |
144 | 146 | } | |
145 | 147 | ||
146 | 148 | ||
147 | - | func | |
148 | - | let | |
149 | - | if ( | |
149 | + | func af (ac,ag) = { | |
150 | + | let ah = rsaVerify(SHA256, toBytes(ac), toBytes(ag), a) | |
151 | + | if (ah) | |
150 | 152 | then { | |
151 | - | let | |
152 | - | if ((0 > | |
153 | - | then ((-1 * | |
154 | - | else ( | |
153 | + | let Q = (toInt(sha256(toBytes(ag))) % 100) | |
154 | + | if ((0 > Q)) | |
155 | + | then ((-1 * Q) + 1) | |
156 | + | else (Q + 1) | |
155 | 157 | } | |
156 | 158 | else throw("Invalid RSA signature") | |
157 | 159 | } | |
158 | 160 | ||
159 | 161 | ||
160 | - | func | |
161 | - | then (100 >= | |
162 | + | func ai (aj) = if (if ((aj >= 1)) | |
163 | + | then (100 >= aj) | |
162 | 164 | else false) | |
163 | - | then toString( | |
164 | - | else throw(("Unsupported r parameter passed: expected=[1,...,100] actual=" + toString( | |
165 | + | then toString(aj) | |
166 | + | else throw(("Unsupported r parameter passed: expected=[1,...,100] actual=" + toString(aj))) | |
165 | 167 | ||
166 | 168 | ||
167 | - | func | |
168 | - | let | |
169 | - | let | |
170 | - | ScriptResult( | |
169 | + | func ak (ac,al,F,am) = { | |
170 | + | let an = [ScriptTransfer(al, F, d)] | |
171 | + | let ao = WriteSet([DataEntry("Game Id", ac), DataEntry("Player Address", toString(al))]) | |
172 | + | ScriptResult(ao, TransferSet(an)) | |
171 | 173 | } | |
172 | 174 | ||
173 | 175 | ||
174 | - | func | |
175 | - | then if (( | |
176 | + | func ap (N,O) = if ((O == m)) | |
177 | + | then if ((N == 1)) | |
176 | 178 | then 9850000 | |
177 | - | else if (( | |
179 | + | else if ((N == 2)) | |
178 | 180 | then 4925000 | |
179 | - | else if (( | |
181 | + | else if ((N == 3)) | |
180 | 182 | then 3283330 | |
181 | - | else if (( | |
183 | + | else if ((N == 4)) | |
182 | 184 | then 2462500 | |
183 | - | else if (( | |
185 | + | else if ((N == 5)) | |
184 | 186 | then 1970000 | |
185 | - | else if (( | |
187 | + | else if ((N == 6)) | |
186 | 188 | then 1641660 | |
187 | - | else if (( | |
189 | + | else if ((N == 7)) | |
188 | 190 | then 1407140 | |
189 | - | else if (( | |
191 | + | else if ((N == 8)) | |
190 | 192 | then 1231250 | |
191 | - | else if (( | |
193 | + | else if ((N == 9)) | |
192 | 194 | then 1094440 | |
193 | - | else if (( | |
195 | + | else if ((N == 10)) | |
194 | 196 | then 985000 | |
195 | - | else if (( | |
197 | + | else if ((N == 11)) | |
196 | 198 | then 895450 | |
197 | - | else if (( | |
199 | + | else if ((N == 12)) | |
198 | 200 | then 820830 | |
199 | - | else if (( | |
201 | + | else if ((N == 13)) | |
200 | 202 | then 757690 | |
201 | - | else if (( | |
203 | + | else if ((N == 14)) | |
202 | 204 | then 703570 | |
203 | - | else if (( | |
205 | + | else if ((N == 15)) | |
204 | 206 | then 656660 | |
205 | - | else if (( | |
207 | + | else if ((N == 16)) | |
206 | 208 | then 615620 | |
207 | - | else if (( | |
209 | + | else if ((N == 17)) | |
208 | 210 | then 579410 | |
209 | - | else if (( | |
211 | + | else if ((N == 18)) | |
210 | 212 | then 547220 | |
211 | - | else if (( | |
213 | + | else if ((N == 19)) | |
212 | 214 | then 518420 | |
213 | - | else if (( | |
215 | + | else if ((N == 20)) | |
214 | 216 | then 492500 | |
215 | - | else if (( | |
217 | + | else if ((N == 21)) | |
216 | 218 | then 469040 | |
217 | - | else if (( | |
219 | + | else if ((N == 22)) | |
218 | 220 | then 447720 | |
219 | - | else if (( | |
221 | + | else if ((N == 23)) | |
220 | 222 | then 428260 | |
221 | - | else if (( | |
223 | + | else if ((N == 24)) | |
222 | 224 | then 410410 | |
223 | - | else if (( | |
225 | + | else if ((N == 25)) | |
224 | 226 | then 394000 | |
225 | - | else if (( | |
227 | + | else if ((N == 26)) | |
226 | 228 | then 378840 | |
227 | - | else if (( | |
229 | + | else if ((N == 27)) | |
228 | 230 | then 364810 | |
229 | - | else if (( | |
231 | + | else if ((N == 28)) | |
230 | 232 | then 351780 | |
231 | - | else if (( | |
233 | + | else if ((N == 29)) | |
232 | 234 | then 339650 | |
233 | - | else if (( | |
235 | + | else if ((N == 30)) | |
234 | 236 | then 328330 | |
235 | - | else if (( | |
237 | + | else if ((N == 31)) | |
236 | 238 | then 317740 | |
237 | - | else if (( | |
239 | + | else if ((N == 32)) | |
238 | 240 | then 307810 | |
239 | - | else if (( | |
241 | + | else if ((N == 33)) | |
240 | 242 | then 298480 | |
241 | - | else if (( | |
243 | + | else if ((N == 34)) | |
242 | 244 | then 289700 | |
243 | - | else if (( | |
245 | + | else if ((N == 35)) | |
244 | 246 | then 281420 | |
245 | - | else if (( | |
247 | + | else if ((N == 36)) | |
246 | 248 | then 273610 | |
247 | - | else if (( | |
249 | + | else if ((N == 37)) | |
248 | 250 | then 259210 | |
249 | - | else if (( | |
251 | + | else if ((N == 38)) | |
250 | 252 | then 259210 | |
251 | - | else if (( | |
253 | + | else if ((N == 39)) | |
252 | 254 | then 252560 | |
253 | - | else if (( | |
255 | + | else if ((N == 40)) | |
254 | 256 | then 246250 | |
255 | - | else if (( | |
257 | + | else if ((N == 41)) | |
256 | 258 | then 240240 | |
257 | - | else if (( | |
259 | + | else if ((N == 42)) | |
258 | 260 | then 234520 | |
259 | - | else if (( | |
261 | + | else if ((N == 43)) | |
260 | 262 | then 229060 | |
261 | - | else if (( | |
263 | + | else if ((N == 44)) | |
262 | 264 | then 223860 | |
263 | - | else if (( | |
265 | + | else if ((N == 45)) | |
264 | 266 | then 218880 | |
265 | - | else if (( | |
267 | + | else if ((N == 46)) | |
266 | 268 | then 214130 | |
267 | - | else if (( | |
269 | + | else if ((N == 47)) | |
268 | 270 | then 209570 | |
269 | - | else if (( | |
271 | + | else if ((N == 48)) | |
270 | 272 | then 205200 | |
271 | - | else if (( | |
273 | + | else if ((N == 49)) | |
272 | 274 | then 201020 | |
273 | - | else if (( | |
275 | + | else if ((N == 50)) | |
274 | 276 | then 197000 | |
275 | - | else if (( | |
277 | + | else if ((N == 51)) | |
276 | 278 | then 193130 | |
277 | - | else if (( | |
279 | + | else if ((N == 52)) | |
278 | 280 | then 189420 | |
279 | - | else if (( | |
281 | + | else if ((N == 53)) | |
280 | 282 | then 185840 | |
281 | - | else if (( | |
283 | + | else if ((N == 54)) | |
282 | 284 | then 182400 | |
283 | - | else if (( | |
285 | + | else if ((N == 55)) | |
284 | 286 | then 179090 | |
285 | - | else if (( | |
287 | + | else if ((N == 56)) | |
286 | 288 | then 175890 | |
287 | - | else if (( | |
289 | + | else if ((N == 57)) | |
288 | 290 | then 172800 | |
289 | - | else if (( | |
291 | + | else if ((N == 58)) | |
290 | 292 | then 169820 | |
291 | - | else if (( | |
293 | + | else if ((N == 59)) | |
292 | 294 | then 166940 | |
293 | - | else if (( | |
295 | + | else if ((N == 60)) | |
294 | 296 | then 164160 | |
295 | - | else if (( | |
297 | + | else if ((N == 61)) | |
296 | 298 | then 161470 | |
297 | - | else if (( | |
299 | + | else if ((N == 62)) | |
298 | 300 | then 158870 | |
299 | - | else if (( | |
301 | + | else if ((N == 63)) | |
300 | 302 | then 156340 | |
301 | - | else if (( | |
303 | + | else if ((N == 64)) | |
302 | 304 | then 153900 | |
303 | - | else if (( | |
305 | + | else if ((N == 65)) | |
304 | 306 | then 151530 | |
305 | - | else if (( | |
307 | + | else if ((N == 66)) | |
306 | 308 | then 149240 | |
307 | - | else if (( | |
309 | + | else if ((N == 67)) | |
308 | 310 | then 147010 | |
309 | - | else if (( | |
311 | + | else if ((N == 68)) | |
310 | 312 | then 144850 | |
311 | - | else if (( | |
313 | + | else if ((N == 69)) | |
312 | 314 | then 142750 | |
313 | - | else if (( | |
315 | + | else if ((N == 70)) | |
314 | 316 | then 140710 | |
315 | - | else if (( | |
317 | + | else if ((N == 71)) | |
316 | 318 | then 138730 | |
317 | - | else if (( | |
319 | + | else if ((N == 72)) | |
318 | 320 | then 136800 | |
319 | - | else if (( | |
321 | + | else if ((N == 73)) | |
320 | 322 | then 134930 | |
321 | - | else if (( | |
323 | + | else if ((N == 74)) | |
322 | 324 | then 133100 | |
323 | - | else if (( | |
325 | + | else if ((N == 75)) | |
324 | 326 | then 131330 | |
325 | - | else if (( | |
327 | + | else if ((N == 76)) | |
326 | 328 | then 129600 | |
327 | - | else if (( | |
329 | + | else if ((N == 77)) | |
328 | 330 | then 127920 | |
329 | - | else if (( | |
331 | + | else if ((N == 78)) | |
330 | 332 | then 126280 | |
331 | - | else if (( | |
333 | + | else if ((N == 79)) | |
332 | 334 | then 124680 | |
333 | - | else if (( | |
335 | + | else if ((N == 80)) | |
334 | 336 | then 123120 | |
335 | - | else if (( | |
337 | + | else if ((N == 81)) | |
336 | 338 | then 121600 | |
337 | - | else if (( | |
339 | + | else if ((N == 82)) | |
338 | 340 | then 120120 | |
339 | - | else if (( | |
341 | + | else if ((N == 83)) | |
340 | 342 | then 118670 | |
341 | - | else if (( | |
343 | + | else if ((N == 84)) | |
342 | 344 | then 117260 | |
343 | - | else if (( | |
345 | + | else if ((N == 85)) | |
344 | 346 | then 115880 | |
345 | - | else if (( | |
347 | + | else if ((N == 86)) | |
346 | 348 | then 114530 | |
347 | - | else if (( | |
349 | + | else if ((N == 87)) | |
348 | 350 | then 113210 | |
349 | - | else if (( | |
351 | + | else if ((N == 88)) | |
350 | 352 | then 111930 | |
351 | - | else if (( | |
353 | + | else if ((N == 89)) | |
352 | 354 | then 110670 | |
353 | - | else if (( | |
355 | + | else if ((N == 90)) | |
354 | 356 | then 109440 | |
355 | - | else if (( | |
357 | + | else if ((N == 91)) | |
356 | 358 | then 108240 | |
357 | - | else if (( | |
359 | + | else if ((N == 92)) | |
358 | 360 | then 107060 | |
359 | - | else if (( | |
361 | + | else if ((N == 93)) | |
360 | 362 | then 105910 | |
361 | - | else if (( | |
363 | + | else if ((N == 94)) | |
362 | 364 | then 104780 | |
363 | - | else if (( | |
365 | + | else if ((N == 95)) | |
364 | 366 | then 103680 | |
365 | - | else if (( | |
367 | + | else if ((N == 96)) | |
366 | 368 | then 103680 | |
367 | 369 | else 100000 | |
368 | - | else if (( | |
369 | - | then if (( | |
370 | + | else if ((O == n)) | |
371 | + | then if ((N == 4)) | |
370 | 372 | then 103680 | |
371 | - | else if (( | |
373 | + | else if ((N == 5)) | |
372 | 374 | then 103680 | |
373 | - | else if (( | |
375 | + | else if ((N == 6)) | |
374 | 376 | then 104780 | |
375 | - | else if (( | |
377 | + | else if ((N == 7)) | |
376 | 378 | then 105910 | |
377 | - | else if (( | |
379 | + | else if ((N == 8)) | |
378 | 380 | then 107060 | |
379 | - | else if (( | |
381 | + | else if ((N == 9)) | |
380 | 382 | then 108240 | |
381 | - | else if (( | |
383 | + | else if ((N == 10)) | |
382 | 384 | then 109440 | |
383 | - | else if (( | |
385 | + | else if ((N == 11)) | |
384 | 386 | then 110670 | |
385 | - | else if (( | |
387 | + | else if ((N == 12)) | |
386 | 388 | then 111930 | |
387 | - | else if (( | |
389 | + | else if ((N == 13)) | |
388 | 390 | then 113210 | |
389 | - | else if (( | |
391 | + | else if ((N == 14)) | |
390 | 392 | then 114530 | |
391 | - | else if (( | |
393 | + | else if ((N == 15)) | |
392 | 394 | then 115880 | |
393 | - | else if (( | |
395 | + | else if ((N == 16)) | |
394 | 396 | then 117260 | |
395 | - | else if (( | |
397 | + | else if ((N == 17)) | |
396 | 398 | then 118670 | |
397 | - | else if (( | |
399 | + | else if ((N == 18)) | |
398 | 400 | then 120120 | |
399 | - | else if (( | |
401 | + | else if ((N == 19)) | |
400 | 402 | then 121600 | |
401 | - | else if (( | |
403 | + | else if ((N == 20)) | |
402 | 404 | then 123120 | |
403 | - | else if (( | |
405 | + | else if ((N == 21)) | |
404 | 406 | then 124680 | |
405 | - | else if (( | |
407 | + | else if ((N == 22)) | |
406 | 408 | then 126280 | |
407 | - | else if (( | |
409 | + | else if ((N == 23)) | |
408 | 410 | then 127920 | |
409 | - | else if (( | |
411 | + | else if ((N == 24)) | |
410 | 412 | then 129600 | |
411 | - | else if (( | |
413 | + | else if ((N == 25)) | |
412 | 414 | then 131330 | |
413 | - | else if (( | |
415 | + | else if ((N == 26)) | |
414 | 416 | then 133100 | |
415 | - | else if (( | |
417 | + | else if ((N == 27)) | |
416 | 418 | then 134930 | |
417 | - | else if (( | |
419 | + | else if ((N == 28)) | |
418 | 420 | then 136800 | |
419 | - | else if (( | |
421 | + | else if ((N == 29)) | |
420 | 422 | then 138730 | |
421 | - | else if (( | |
423 | + | else if ((N == 30)) | |
422 | 424 | then 140710 | |
423 | - | else if (( | |
425 | + | else if ((N == 31)) | |
424 | 426 | then 142750 | |
425 | - | else if (( | |
427 | + | else if ((N == 32)) | |
426 | 428 | then 144850 | |
427 | - | else if (( | |
429 | + | else if ((N == 33)) | |
428 | 430 | then 147010 | |
429 | - | else if (( | |
431 | + | else if ((N == 34)) | |
430 | 432 | then 149240 | |
431 | - | else if (( | |
433 | + | else if ((N == 35)) | |
432 | 434 | then 151530 | |
433 | - | else if (( | |
435 | + | else if ((N == 36)) | |
434 | 436 | then 153900 | |
435 | - | else if (( | |
437 | + | else if ((N == 37)) | |
436 | 438 | then 156340 | |
437 | - | else if (( | |
439 | + | else if ((N == 38)) | |
438 | 440 | then 158870 | |
439 | - | else if (( | |
441 | + | else if ((N == 39)) | |
440 | 442 | then 161470 | |
441 | - | else if (( | |
443 | + | else if ((N == 40)) | |
442 | 444 | then 164160 | |
443 | - | else if (( | |
445 | + | else if ((N == 41)) | |
444 | 446 | then 166940 | |
445 | - | else if (( | |
447 | + | else if ((N == 42)) | |
446 | 448 | then 169820 | |
447 | - | else if (( | |
449 | + | else if ((N == 43)) | |
448 | 450 | then 172800 | |
449 | - | else if (( | |
451 | + | else if ((N == 44)) | |
450 | 452 | then 175890 | |
451 | - | else if (( | |
453 | + | else if ((N == 45)) | |
452 | 454 | then 179090 | |
453 | - | else if (( | |
455 | + | else if ((N == 46)) | |
454 | 456 | then 185840 | |
455 | - | else if (( | |
457 | + | else if ((N == 47)) | |
456 | 458 | then 185840 | |
457 | - | else if (( | |
459 | + | else if ((N == 48)) | |
458 | 460 | then 189420 | |
459 | - | else if (( | |
461 | + | else if ((N == 49)) | |
460 | 462 | then 193130 | |
461 | - | else if (( | |
463 | + | else if ((N == 50)) | |
462 | 464 | then 197000 | |
463 | - | else if (( | |
465 | + | else if ((N == 51)) | |
464 | 466 | then 201020 | |
465 | - | else if (( | |
467 | + | else if ((N == 52)) | |
466 | 468 | then 205200 | |
467 | - | else if (( | |
469 | + | else if ((N == 53)) | |
468 | 470 | then 209570 | |
469 | - | else if (( | |
471 | + | else if ((N == 54)) | |
470 | 472 | then 214130 | |
471 | - | else if (( | |
473 | + | else if ((N == 55)) | |
472 | 474 | then 218880 | |
473 | - | else if (( | |
475 | + | else if ((N == 56)) | |
474 | 476 | then 223860 | |
475 | - | else if (( | |
477 | + | else if ((N == 57)) | |
476 | 478 | then 229060 | |
477 | - | else if (( | |
479 | + | else if ((N == 58)) | |
478 | 480 | then 234520 | |
479 | - | else if (( | |
481 | + | else if ((N == 59)) | |
480 | 482 | then 240240 | |
481 | - | else if (( | |
483 | + | else if ((N == 60)) | |
482 | 484 | then 246250 | |
483 | - | else if (( | |
485 | + | else if ((N == 61)) | |
484 | 486 | then 252560 | |
485 | - | else if (( | |
487 | + | else if ((N == 62)) | |
486 | 488 | then 259210 | |
487 | - | else if (( | |
489 | + | else if ((N == 63)) | |
488 | 490 | then 259210 | |
489 | - | else if (( | |
491 | + | else if ((N == 64)) | |
490 | 492 | then 273610 | |
491 | - | else if (( | |
493 | + | else if ((N == 65)) | |
492 | 494 | then 281420 | |
493 | - | else if (( | |
495 | + | else if ((N == 66)) | |
494 | 496 | then 289700 | |
495 | - | else if (( | |
497 | + | else if ((N == 67)) | |
496 | 498 | then 298480 | |
497 | - | else if (( | |
499 | + | else if ((N == 68)) | |
498 | 500 | then 307810 | |
499 | - | else if (( | |
501 | + | else if ((N == 69)) | |
500 | 502 | then 317740 | |
501 | - | else if (( | |
503 | + | else if ((N == 70)) | |
502 | 504 | then 328330 | |
503 | - | else if (( | |
505 | + | else if ((N == 71)) | |
504 | 506 | then 339650 | |
505 | - | else if (( | |
507 | + | else if ((N == 72)) | |
506 | 508 | then 351780 | |
507 | - | else if (( | |
509 | + | else if ((N == 73)) | |
508 | 510 | then 364810 | |
509 | - | else if (( | |
511 | + | else if ((N == 74)) | |
510 | 512 | then 378840 | |
511 | - | else if (( | |
513 | + | else if ((N == 75)) | |
512 | 514 | then 394000 | |
513 | - | else if (( | |
515 | + | else if ((N == 76)) | |
514 | 516 | then 410410 | |
515 | - | else if (( | |
517 | + | else if ((N == 77)) | |
516 | 518 | then 428260 | |
517 | - | else if (( | |
519 | + | else if ((N == 78)) | |
518 | 520 | then 447720 | |
519 | - | else if (( | |
521 | + | else if ((N == 79)) | |
520 | 522 | then 469040 | |
521 | - | else if (( | |
523 | + | else if ((N == 80)) | |
522 | 524 | then 492500 | |
523 | - | else if (( | |
525 | + | else if ((N == 81)) | |
524 | 526 | then 518420 | |
525 | - | else if (( | |
527 | + | else if ((N == 82)) | |
526 | 528 | then 547220 | |
527 | - | else if (( | |
529 | + | else if ((N == 83)) | |
528 | 530 | then 579410 | |
529 | - | else if (( | |
531 | + | else if ((N == 84)) | |
530 | 532 | then 615620 | |
531 | - | else if (( | |
533 | + | else if ((N == 85)) | |
532 | 534 | then 656660 | |
533 | - | else if (( | |
535 | + | else if ((N == 86)) | |
534 | 536 | then 703570 | |
535 | - | else if (( | |
537 | + | else if ((N == 87)) | |
536 | 538 | then 757690 | |
537 | - | else if (( | |
539 | + | else if ((N == 88)) | |
538 | 540 | then 820830 | |
539 | - | else if (( | |
541 | + | else if ((N == 89)) | |
540 | 542 | then 895450 | |
541 | - | else if (( | |
543 | + | else if ((N == 90)) | |
542 | 544 | then 985000 | |
543 | - | else if (( | |
545 | + | else if ((N == 91)) | |
544 | 546 | then 1094440 | |
545 | - | else if (( | |
547 | + | else if ((N == 92)) | |
546 | 548 | then 1231250 | |
547 | - | else if (( | |
549 | + | else if ((N == 93)) | |
548 | 550 | then 1407140 | |
549 | - | else if (( | |
551 | + | else if ((N == 94)) | |
550 | 552 | then 1641660 | |
551 | - | else if (( | |
553 | + | else if ((N == 95)) | |
552 | 554 | then 1970000 | |
553 | - | else if (( | |
555 | + | else if ((N == 96)) | |
554 | 556 | then 2462500 | |
555 | - | else if (( | |
557 | + | else if ((N == 97)) | |
556 | 558 | then 3283330 | |
557 | - | else if (( | |
559 | + | else if ((N == 98)) | |
558 | 560 | then 4925000 | |
559 | - | else if (( | |
561 | + | else if ((N == 99)) | |
560 | 562 | then 9850000 | |
561 | 563 | else 100000 | |
562 | 564 | else 100000 | |
563 | 565 | ||
564 | 566 | ||
565 | - | func | |
566 | - | then if (( | |
567 | + | func aq (O,N,Q) = if ((O == m)) | |
568 | + | then if ((N >= Q)) | |
567 | 569 | then true | |
568 | 570 | else false | |
569 | - | else if (( | |
570 | - | then if (( | |
571 | + | else if ((O == n)) | |
572 | + | then if ((Q >= N)) | |
571 | 573 | then true | |
572 | 574 | else false | |
573 | 575 | else false | |
574 | 576 | ||
575 | 577 | ||
576 | - | func | |
578 | + | func ar (as,N,O) = if (if ((o > as)) | |
577 | 579 | then true | |
578 | - | else ( | |
579 | - | then throw(((("Bet amount is not in range: minBet=" + toString( | |
580 | - | else if (if (( | |
580 | + | else (as > p)) | |
581 | + | then throw(((("Bet amount is not in range: minBet=" + toString(o)) + " maxBet=") + toString(p))) | |
582 | + | else if (if ((O != m)) | |
581 | 583 | then true | |
582 | - | else ( | |
584 | + | else (O != m)) | |
583 | 585 | then throw("Invalid Roll type, try with Roll Over or Roll Under") | |
584 | - | else if (if (( | |
586 | + | else if (if ((q > N)) | |
585 | 587 | then true | |
586 | - | else ( | |
588 | + | else (N > r)) | |
587 | 589 | then throw("Prediction is out of the condition: 1 <= predction <= 98") | |
588 | 590 | else { | |
589 | - | let | |
590 | - | ((( | |
591 | + | let at = ap(N, O) | |
592 | + | (((as * at) / 100000) * (95 / 100)) | |
591 | 593 | } | |
592 | 594 | ||
593 | 595 | ||
594 | - | @Callable( | |
595 | - | func play (N | |
596 | - | let | |
597 | - | let | |
598 | - | let | |
599 | - | let | |
600 | - | let | |
601 | - | let | |
602 | - | if ((100000 > | |
596 | + | @Callable(au) | |
597 | + | func play (O,N) = { | |
598 | + | let ac = toBase58String(au.transactionId) | |
599 | + | let av = isDefined(getString(this, ac)) | |
600 | + | let aw = extract(au.payment) | |
601 | + | let ax = isDefined(au.feeAssetId) | |
602 | + | let F = ar(aw.amount, N, O) | |
603 | + | let ay = wavesBalance(au.caller) | |
604 | + | if ((100000 > ay)) | |
603 | 605 | then throw("There are not enough waves, it takes 0.01 Waves to bet. Game aborted.") | |
604 | - | else if (( | |
606 | + | else if ((aw.assetId != d)) | |
605 | 607 | then throw("Bet amount must be in Wbet. Game aborted.") | |
606 | - | else if ( | |
608 | + | else if (ax) | |
607 | 609 | then throw("Transaction's fee must be in Waves. Game aborted.") | |
608 | - | else if ( | |
610 | + | else if (av) | |
609 | 611 | then throw("Passed gameId had been used before. Game aborted.") | |
610 | 612 | else { | |
611 | - | let | |
612 | - | let | |
613 | - | let | |
614 | - | ScriptResult(WriteSet([DataEntry(b, | |
613 | + | let az = y() | |
614 | + | let P = toBase58String(au.callerPublicKey) | |
615 | + | let aA = L(j, N, O, P, F, "") | |
616 | + | ScriptResult(WriteSet([DataEntry(b, az), DataEntry(ac, aA)]), TransferSet(nil)) | |
615 | 617 | } | |
616 | 618 | } | |
617 | 619 | ||
618 | 620 | ||
619 | 621 | ||
620 | - | @Callable( | |
621 | - | func withdraw ( | |
622 | - | let | |
623 | - | let | |
624 | - | let | |
625 | - | let | |
626 | - | let | |
627 | - | let | |
628 | - | let | |
629 | - | let | |
630 | - | if (( | |
622 | + | @Callable(au) | |
623 | + | func withdraw (ac,ag) = { | |
624 | + | let aB = ab(ac) | |
625 | + | let M = aB[s] | |
626 | + | let aC = parseIntValue(aB[t]) | |
627 | + | let O = aB[u] | |
628 | + | let P = aB[v] | |
629 | + | let F = parseIntValue(aB[w]) | |
630 | + | let al = addressFromPublicKey(fromBase58String(P)) | |
631 | + | let aD = ae(ac, F) | |
632 | + | if ((M != j)) | |
631 | 633 | then throw("Invalid game state for passed gameId") | |
632 | 634 | else { | |
633 | - | let | |
634 | - | let | |
635 | - | if ( | |
635 | + | let Q = af(ac, ag) | |
636 | + | let aE = ai(Q) | |
637 | + | if (aq(O, aC, Q)) | |
636 | 638 | then { | |
637 | - | let | |
638 | - | | |
639 | + | let am = L(k, aC, O, P, F, aE) | |
640 | + | ak(ac, al, F, am) | |
639 | 641 | } | |
640 | 642 | else { | |
641 | - | let | |
642 | - | WriteSet([DataEntry( | |
643 | + | let am = L(l, aC, O, P, F, aE) | |
644 | + | WriteSet([DataEntry(ac, am)]) | |
643 | 645 | } | |
644 | 646 | } | |
645 | 647 | } | |
646 | 648 | ||
647 | 649 |
github/deemru/w8io/169f3d6 2049.76 ms ◑