tx · 4Jo2ENfW7ZBtadaNrgy8Eqf3VqUnN77e4RnuB6t1qQzy

3NCs4motPXw3h6vyT7o6PAKmbo3e2jk8kHa:  -0.05000000 Waves

2019.10.27 21:55 [738916] smart account 3NCs4motPXw3h6vyT7o6PAKmbo3e2jk8kHa > SELF 0.00000000 Waves

{ "type": 13, "id": "4Jo2ENfW7ZBtadaNrgy8Eqf3VqUnN77e4RnuB6t1qQzy", "fee": 5000000, "feeAssetId": null, "timestamp": 1572202353714, "version": 1, "sender": "3NCs4motPXw3h6vyT7o6PAKmbo3e2jk8kHa", "senderPublicKey": "DdkgRd7YzZtSU3hXJc7sHsU7sM8nUSEwkzqZCaCTXKRe", "proofs": [ "4nFdjhRoNLDP1J1GPCwxbBa7TRxf214ZrBVVtseHFghfQJLoaJGpKMYDaRGJmx2VymJWxrFAAiUAivMJrq9wYHod" ], "script": "base64:AAIDAAAAAAAAAA4IARIECgIIARIECgIIAgAAACYAAAAACVJTQVBVQkxJQwkAAlsAAAABAgAAAY9iYXNlNjQ6TUlJQklqQU5CZ2txaGtpRzl3MEJBUUVGQUFPQ0FROEFNSUlCQ2dLQ0FRRUFtT2xSQlRZRU8zSDdZOXJCbW9GUUZuNDM5MlB4MFF3MTNEc2RFaG56TUgyY2o2WTV5bVB1Q09MTU5lNXFyVXpRbDhvUkx6SUJ6RlZNWmx3VVlsMmJvc3JPSXhRYllGN1dWUVd2b1Z4RVQxWUlnRG0zTnp6T0xBNXVIN0NLTzBzbnNobU1GQ0RPWkVldzQxR2pLaDNQZ3grbmJBZ3VQOVpRUGZxU2FmRW1DM0NOLzR5RHNKcktyaVJuaVpKbzlqUy80TExzUkt3QjdIQVpIem9GOUxMN3RTWkgzaHRhTkd0YmRUa3haMVR6U1QzTWIyVlBTenNadlFEb2NYVVZPbUpPdTBvMjlhT1krR2tHL0c0UkNLMEZCV1FIRVV2QzUxVFJEUzVrOGphZDBPMU1vYmpRYzZiMThkK2Z1b1ZGZE5mWndHSCt1RnVkdFBHM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AAAA9HZW5lcmF0ZVJhbmRJbnQAAAACBQAAAAZnYW1lSWQFAAAABnJzYVNpZwQAAAAHcmFuZFN0cgkBAAAACVJhbmRUb1N0cgAAAAEFAAAABHJhbmQDCQEAAAAHZGljZVdpbgAAAAMFAAAACHJvbGxUeXBlBQAAAApwcmVkaWN0aW9uBQAAAARyYW5kBAAAAA5uZXdHYW1lRGF0YVN0cgkBAAAAEUZvcm1hdEdhbWVEYXRhU3RyAAAABgUAAAAIU1RBVEVXT04FAAAACnByZWRpY3Rpb24FAAAACHJvbGxUeXBlBQAAAA5wbGF5ZXJQdWJLZXk1OAUAAAAGd2luQW10BQAAAAdyYW5kU3RyCQEAAAAMV2luU2NyaXB0U2V0AAAABAUAAAAGZ2FtZUlkBQAAAA1wbGF5ZXJBZGRyZXNzBQAAAAZ3aW5BbXQFAAAADm5ld0dhbWVEYXRhU3RyBAAAAA5uZXdHYW1lRGF0YVN0cgkBAAAAEUZvcm1hdEdhbWVEYXRhU3RyAAAABgUAAAAJU1RBVEVMT1NUBQAAAApwcmVkaWN0aW9uBQAAAAhyb2xsVHlwZQUAAAAOcGxheWVyUHViS2V5NTgFAAAABndpbkFtdAUAAAAHcmFuZFN0cgkBAAAACFdyaXRlU2V0AAAAAQkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgUAAAAGZ2FtZUlkBQAAAA5uZXdHYW1lRGF0YVN0cgUAAAADbmlsAAAAADGIKKU=", "chainId": 84, "height": 738916, "spentComplexity": 0 } View: original | compacted Prev: 2vjcBi3enUk19jKpV2vnfhPXhWqxZ5pwjF3wLL7yzpvC Next: A8XAodu18dsXK2KtKevoyd28m9ipix69ywjsQPeKWwYg Diff:
OldNewDifferences
77
88 let c = "$RESERVED_AMOUNT"
99
10-let d = base58'23vgV9p9pD83A7CFbsDEc4zjanep7UeFo4ZRS6oGorhv'
10+let d = base58'4vPcbA5yiwpWBVPALPGXus6fNdGEuYTpe4hAeSxM9Kj4'
1111
12-let e = Address(base58'3N2tusqAtDctK8iSTXS6F9rimmftmSuwLUX')
12+let e = ((100 * 1000) * 1000)
1313
14-let f = Address(base58'')
14+let f = 4
1515
16-let g = ((100 * 1000) * 1000)
16+let g = 2
1717
18-let h = 4
18+let h = "SUBMITTED"
1919
20-let i = 2
20+let i = "WON"
2121
22-let j = "SUBMITTED"
22+let j = "LOST"
2323
24-let k = "WON"
24+let k = "UNDER"
2525
26-let l = "LOST"
26+let l = "OVER"
2727
28-let m = "UNDER"
28+let m = (100 * e)
2929
30-let n = "OVER"
30+let n = (20000000 * e)
3131
32-let o = (100 * g)
32+let o = 1
3333
34-let p = ((1000 * 100) * g)
34+let p = 99
3535
36-let q = 4
36+let q = 0
3737
38-let r = 100
38+let r = 1
3939
40-let s = 0
40+let s = 2
4141
42-let t = 1
42+let t = 3
4343
44-let u = 2
44+let u = 4
4545
46-let v = 3
46+let v = 5
4747
48-let w = 4
49-
50-let x = 5
51-
52-func y () = {
53- let z = {
54- let A = getInteger(this, b)
55- if ($isInstanceOf(A, "Int"))
48+func w () = {
49+ let x = {
50+ let y = getInteger(this, b)
51+ if ($isInstanceOf(y, "Int"))
5652 then {
57- let B = A
58- B
53+ let z = y
54+ z
5955 }
6056 else 0
6157 }
62- (z + 1)
58+ (x + 1)
6359 }
6460
6561
66-func C () = {
67- let A = getInteger(this, c)
68- if ($isInstanceOf(A, "Int"))
62+func A () = {
63+ let y = getInteger(this, c)
64+ if ($isInstanceOf(y, "Int"))
6965 then {
70- let D = A
71- D
66+ let B = y
67+ B
7268 }
7369 else 0
7470 }
7571
7672
77-func E (F) = {
78- let G = (C() + F)
79- let H = assetBalance(this, d)
80- if ((G > H))
81- then throw("Insufficient funds on Waves Rider account. Transaction was rejected for your safety.")
82- else G
73+func C (D) = {
74+ let E = (A() + D)
75+ let F = assetBalance(this, d)
76+ if ((E > F))
77+ then throw("Insufficient funds on Wavesbet Dice account. Transaction was rejected for your safety.")
78+ else E
8379 }
8480
8581
86-func I (J) = {
87- let K = size(J)
88- if ((K == 0))
82+func G (H) = {
83+ let I = size(H)
84+ if ((I == 0))
8985 then throw("Parameter size must be greater then 0")
90- else if ((K > 99))
86+ else if ((I > 99))
9187 then throw("Parameter size must be less then 100")
92- else if ((10 > K))
93- then (("0" + toString(K)) + J)
94- else (toString(K) + J)
88+ else if ((10 > I))
89+ then (("0" + toString(I)) + H)
90+ else (toString(I) + H)
9591 }
9692
9793
98-func L (M,N,O,P,F,Q) = {
99- let R = ((((((((I(M) + "_") + I(N)) + "_") + I(O)) + "_") + I(P)) + "_") + I(toString(F)))
100- if ((Q == ""))
101- then R
102- else ((R + "_") + I(Q))
94+func J (K,L,M,N,D,O) = {
95+ let P = ((((((((G(K) + "_") + G(toString(L))) + "_") + G(M)) + "_") + G(N)) + "_") + G(toString(D)))
96+ if ((O == ""))
97+ then P
98+ else ((P + "_") + G(O))
10399 }
104100
105101
106-func S (T) = if ((size(T) > 0))
107- then drop(T, 1)
108- else T
102+func Q (R) = if ((size(R) > 0))
103+ then drop(R, 1)
104+ else R
109105
110106
111-func U (T) = {
112- let K = size(T)
113- if ((K > 0))
107+func S (R) = {
108+ let I = size(R)
109+ if ((I > 0))
114110 then {
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]
111+ let T = parseIntValue(take(R, 2))
112+ let U = take(drop(R, 2), T)
113+ let V = drop(R, (T + 2))
114+ let W = Q(V)
115+[U, W]
120116 }
121117 else throw("Empty string was passed into parseNextAttribute func")
122118 }
123119
124120
125-func Z (aa) = {
126- let M = U(aa)
127- let N = U(M[1])
128- let ab = U(N[1])
129- let P = U(ab[1])
130- let F = U(P[1])
131-[M[0], N[0], ab[0], P[0], F[0]]
121+func X (Y) = {
122+ let K = S(Y)
123+ let L = S(K[1])
124+ let Z = S(L[1])
125+ let N = S(Z[1])
126+ let D = S(N[1])
127+[K[0], L[0], Z[0], N[0], D[0]]
132128 }
133129
134130
135-func ac (ad) = {
136- let ae = {
137- let A = getString(this, ad)
138- if ($isInstanceOf(A, "String"))
131+func aa (ab) = {
132+ let ac = {
133+ let y = getString(this, ab)
134+ if ($isInstanceOf(y, "String"))
139135 then {
140- let af = A
141- af
136+ let ad = y
137+ ad
142138 }
143- else throw(("Couldn't find game by " + ad))
139+ else throw(("Couldn't find game by " + ab))
144140 }
145- Z(ae)
141+ X(ac)
146142 }
147143
148144
149-func ag (ad,F) = {
150- let G = (C() - F)
151- if ((0 > G))
145+func ae (ab,D) = {
146+ let E = (A() - D)
147+ if ((0 > E))
152148 then throw("Invalid Dice Roller account state - reserved amount is less than 0")
153- else DataEntry(c, G)
149+ else DataEntry(c, E)
154150 }
155151
156152
157-func ah (ad,ai) = {
158- let aj = rsaVerify(SHA256, toBytes(ad), ai, a)
159- if (aj)
153+func af (ab,ag) = {
154+ let ah = rsaVerify(SHA256, toBytes(ab), ag, a)
155+ if (ah)
160156 then {
161- let ak = (toInt(sha256(ai)) % 100)
162- if ((0 > ak))
163- then ((-1 * ak) + 1)
164- else (ak + 1)
157+ let ai = (toInt(sha256(ag)) % 100)
158+ if ((0 > ai))
159+ then ((-1 * ai) + 1)
160+ else (ai + 1)
165161 }
166162 else throw("Invalid RSA signature")
167163 }
168164
169165
170-func al (am) = if (if ((am >= 1))
171- then (100 >= am)
166+func aj (ak) = if (if ((ak >= 1))
167+ then (100 >= ak)
172168 else false)
173- then toString(am)
174- else throw(("Unsupported r parameter passed: expected=[1,...,100] actual=" + toString(am)))
169+ then toString(ak)
170+ else throw(("Unsupported r parameter passed: expected=[1,...,100] actual=" + toString(ak)))
175171
176172
177-func an (ad,ao,F,ap) = {
178- let aq = [ScriptTransfer(ao, F, base58'4vPcbA5yiwpWBVPALPGXus6fNdGEuYTpe4hAeSxM9Kj4')]
179- let ar = WriteSet([DataEntry("Game Id", ad), DataEntry("Player Address", toString(ao))])
180- ScriptResult(ar, TransferSet(aq))
173+func al (ab,am,D,an) = {
174+ let ao = [ScriptTransfer(am, D, d)]
175+ let ap = WriteSet([DataEntry("Game Id", ab), DataEntry("Player Address", toString(am))])
176+ ScriptResult(ap, TransferSet(ao))
181177 }
182178
183179
184-func as (at,ab) = if ((ab == m))
185- then if ((at == 1))
180+func aq (L,Z) = if ((Z == k))
181+ then if ((L == 1))
186182 then 9850000
187- else if ((at == 2))
183+ else if ((L == 2))
188184 then 4925000
189- else if ((at == 3))
185+ else if ((L == 3))
190186 then 3283330
191- else if ((at == 4))
187+ else if ((L == 4))
192188 then 2462500
193- else if ((at == 5))
189+ else if ((L == 5))
194190 then 1970000
195- else if ((at == 6))
191+ else if ((L == 6))
196192 then 1641660
197- else if ((at == 7))
193+ else if ((L == 7))
198194 then 1407140
199- else if ((at == 8))
195+ else if ((L == 8))
200196 then 1231250
201- else if ((at == 9))
197+ else if ((L == 9))
202198 then 1094440
203- else if ((at == 10))
199+ else if ((L == 10))
204200 then 985000
205- else if ((at == 11))
201+ else if ((L == 11))
206202 then 895450
207- else if ((at == 12))
203+ else if ((L == 12))
208204 then 820830
209- else if ((at == 13))
205+ else if ((L == 13))
210206 then 757690
211- else if ((at == 14))
207+ else if ((L == 14))
212208 then 703570
213- else if ((at == 15))
209+ else if ((L == 15))
214210 then 656660
215- else if ((at == 16))
211+ else if ((L == 16))
216212 then 615620
217- else if ((at == 17))
213+ else if ((L == 17))
218214 then 579410
219- else if ((at == 18))
215+ else if ((L == 18))
220216 then 547220
221- else if ((at == 19))
217+ else if ((L == 19))
222218 then 518420
223- else if ((at == 20))
219+ else if ((L == 20))
224220 then 492500
225- else if ((at == 21))
221+ else if ((L == 21))
226222 then 469040
227- else if ((at == 22))
223+ else if ((L == 22))
228224 then 447720
229- else if ((at == 23))
225+ else if ((L == 23))
230226 then 428260
231- else if ((at == 24))
227+ else if ((L == 24))
232228 then 410410
233- else if ((at == 25))
229+ else if ((L == 25))
234230 then 394000
235- else if ((at == 26))
231+ else if ((L == 26))
236232 then 378840
237- else if ((at == 27))
233+ else if ((L == 27))
238234 then 364810
239- else if ((at == 28))
235+ else if ((L == 28))
240236 then 351780
241- else if ((at == 29))
237+ else if ((L == 29))
242238 then 339650
243- else if ((at == 30))
239+ else if ((L == 30))
244240 then 328330
245- else if ((at == 31))
241+ else if ((L == 31))
246242 then 317740
247- else if ((at == 32))
243+ else if ((L == 32))
248244 then 307810
249- else if ((at == 33))
245+ else if ((L == 33))
250246 then 298480
251- else if ((at == 34))
247+ else if ((L == 34))
252248 then 289700
253- else if ((at == 35))
249+ else if ((L == 35))
254250 then 281420
255- else if ((at == 36))
251+ else if ((L == 36))
256252 then 273610
257- else if ((at == 37))
253+ else if ((L == 37))
258254 then 259210
259- else if ((at == 38))
255+ else if ((L == 38))
260256 then 259210
261- else if ((at == 39))
257+ else if ((L == 39))
262258 then 252560
263- else if ((at == 40))
259+ else if ((L == 40))
264260 then 246250
265- else if ((at == 41))
261+ else if ((L == 41))
266262 then 240240
267- else if ((at == 42))
263+ else if ((L == 42))
268264 then 234520
269- else if ((at == 43))
265+ else if ((L == 43))
270266 then 229060
271- else if ((at == 44))
267+ else if ((L == 44))
272268 then 223860
273- else if ((at == 45))
269+ else if ((L == 45))
274270 then 218880
275- else if ((at == 46))
271+ else if ((L == 46))
276272 then 214130
277- else if ((at == 47))
273+ else if ((L == 47))
278274 then 209570
279- else if ((at == 48))
275+ else if ((L == 48))
280276 then 205200
281- else if ((at == 49))
277+ else if ((L == 49))
282278 then 201020
283- else if ((at == 50))
279+ else if ((L == 50))
284280 then 197000
285- else if ((at == 51))
281+ else if ((L == 51))
286282 then 193130
287- else if ((at == 52))
283+ else if ((L == 52))
288284 then 189420
289- else if ((at == 53))
285+ else if ((L == 53))
290286 then 185840
291- else if ((at == 54))
287+ else if ((L == 54))
292288 then 182400
293- else if ((at == 55))
289+ else if ((L == 55))
294290 then 179090
295- else if ((at == 56))
291+ else if ((L == 56))
296292 then 175890
297- else if ((at == 57))
293+ else if ((L == 57))
298294 then 172800
299- else if ((at == 58))
295+ else if ((L == 58))
300296 then 169820
301- else if ((at == 59))
297+ else if ((L == 59))
302298 then 166940
303- else if ((at == 60))
299+ else if ((L == 60))
304300 then 164160
305- else if ((at == 61))
301+ else if ((L == 61))
306302 then 161470
307- else if ((at == 62))
303+ else if ((L == 62))
308304 then 158870
309- else if ((at == 63))
305+ else if ((L == 63))
310306 then 156340
311- else if ((at == 64))
307+ else if ((L == 64))
312308 then 153900
313- else if ((at == 65))
309+ else if ((L == 65))
314310 then 151530
315- else if ((at == 66))
311+ else if ((L == 66))
316312 then 149240
317- else if ((at == 67))
313+ else if ((L == 67))
318314 then 147010
319- else if ((at == 68))
315+ else if ((L == 68))
320316 then 144850
321- else if ((at == 69))
317+ else if ((L == 69))
322318 then 142750
323- else if ((at == 70))
319+ else if ((L == 70))
324320 then 140710
325- else if ((at == 71))
321+ else if ((L == 71))
326322 then 138730
327- else if ((at == 72))
323+ else if ((L == 72))
328324 then 136800
329- else if ((at == 73))
325+ else if ((L == 73))
330326 then 134930
331- else if ((at == 74))
327+ else if ((L == 74))
332328 then 133100
333- else if ((at == 75))
329+ else if ((L == 75))
334330 then 131330
335- else if ((at == 76))
331+ else if ((L == 76))
336332 then 129600
337- else if ((at == 77))
333+ else if ((L == 77))
338334 then 127920
339- else if ((at == 78))
335+ else if ((L == 78))
340336 then 126280
341- else if ((at == 79))
337+ else if ((L == 79))
342338 then 124680
343- else if ((at == 80))
339+ else if ((L == 80))
344340 then 123120
345- else if ((at == 81))
341+ else if ((L == 81))
346342 then 121600
347- else if ((at == 82))
343+ else if ((L == 82))
348344 then 120120
349- else if ((at == 83))
345+ else if ((L == 83))
350346 then 118670
351- else if ((at == 84))
347+ else if ((L == 84))
352348 then 117260
353- else if ((at == 85))
349+ else if ((L == 85))
354350 then 115880
355- else if ((at == 86))
351+ else if ((L == 86))
356352 then 114530
357- else if ((at == 87))
353+ else if ((L == 87))
358354 then 113210
359- else if ((at == 88))
355+ else if ((L == 88))
360356 then 111930
361- else if ((at == 89))
357+ else if ((L == 89))
362358 then 110670
363- else if ((at == 90))
359+ else if ((L == 90))
364360 then 109440
365- else if ((at == 91))
361+ else if ((L == 91))
366362 then 108240
367- else if ((at == 92))
363+ else if ((L == 92))
368364 then 107060
369- else if ((at == 93))
365+ else if ((L == 93))
370366 then 105910
371- else if ((at == 94))
367+ else if ((L == 94))
372368 then 104780
373- else if ((at == 95))
369+ else if ((L == 95))
374370 then 103680
375- else if ((at == 96))
371+ else if ((L == 96))
376372 then 103680
377373 else 100000
378- else if ((ab == n))
379- then if ((at == 4))
374+ else if ((Z == l))
375+ then if ((L == 4))
380376 then 103680
381- else if ((at == 5))
377+ else if ((L == 5))
382378 then 103680
383- else if ((at == 6))
379+ else if ((L == 6))
384380 then 104780
385- else if ((at == 7))
381+ else if ((L == 7))
386382 then 105910
387- else if ((at == 8))
383+ else if ((L == 8))
388384 then 107060
389- else if ((at == 9))
385+ else if ((L == 9))
390386 then 108240
391- else if ((at == 10))
387+ else if ((L == 10))
392388 then 109440
393- else if ((at == 11))
389+ else if ((L == 11))
394390 then 110670
395- else if ((at == 12))
391+ else if ((L == 12))
396392 then 111930
397- else if ((at == 13))
393+ else if ((L == 13))
398394 then 113210
399- else if ((at == 14))
395+ else if ((L == 14))
400396 then 114530
401- else if ((at == 15))
397+ else if ((L == 15))
402398 then 115880
403- else if ((at == 16))
399+ else if ((L == 16))
404400 then 117260
405- else if ((at == 17))
401+ else if ((L == 17))
406402 then 118670
407- else if ((at == 18))
403+ else if ((L == 18))
408404 then 120120
409- else if ((at == 19))
405+ else if ((L == 19))
410406 then 121600
411- else if ((at == 20))
407+ else if ((L == 20))
412408 then 123120
413- else if ((at == 21))
409+ else if ((L == 21))
414410 then 124680
415- else if ((at == 22))
411+ else if ((L == 22))
416412 then 126280
417- else if ((at == 23))
413+ else if ((L == 23))
418414 then 127920
419- else if ((at == 24))
415+ else if ((L == 24))
420416 then 129600
421- else if ((at == 25))
417+ else if ((L == 25))
422418 then 131330
423- else if ((at == 26))
419+ else if ((L == 26))
424420 then 133100
425- else if ((at == 27))
421+ else if ((L == 27))
426422 then 134930
427- else if ((at == 28))
423+ else if ((L == 28))
428424 then 136800
429- else if ((at == 29))
425+ else if ((L == 29))
430426 then 138730
431- else if ((at == 30))
427+ else if ((L == 30))
432428 then 140710
433- else if ((at == 31))
429+ else if ((L == 31))
434430 then 142750
435- else if ((at == 32))
431+ else if ((L == 32))
436432 then 144850
437- else if ((at == 33))
433+ else if ((L == 33))
438434 then 147010
439- else if ((at == 34))
435+ else if ((L == 34))
440436 then 149240
441- else if ((at == 35))
437+ else if ((L == 35))
442438 then 151530
443- else if ((at == 36))
439+ else if ((L == 36))
444440 then 153900
445- else if ((at == 37))
441+ else if ((L == 37))
446442 then 156340
447- else if ((at == 38))
443+ else if ((L == 38))
448444 then 158870
449- else if ((at == 39))
445+ else if ((L == 39))
450446 then 161470
451- else if ((at == 40))
447+ else if ((L == 40))
452448 then 164160
453- else if ((at == 41))
449+ else if ((L == 41))
454450 then 166940
455- else if ((at == 42))
451+ else if ((L == 42))
456452 then 169820
457- else if ((at == 43))
453+ else if ((L == 43))
458454 then 172800
459- else if ((at == 44))
455+ else if ((L == 44))
460456 then 175890
461- else if ((at == 45))
457+ else if ((L == 45))
462458 then 179090
463- else if ((at == 46))
459+ else if ((L == 46))
464460 then 185840
465- else if ((at == 47))
461+ else if ((L == 47))
466462 then 185840
467- else if ((at == 48))
463+ else if ((L == 48))
468464 then 189420
469- else if ((at == 49))
465+ else if ((L == 49))
470466 then 193130
471- else if ((at == 50))
467+ else if ((L == 50))
472468 then 197000
473- else if ((at == 51))
469+ else if ((L == 51))
474470 then 201020
475- else if ((at == 52))
471+ else if ((L == 52))
476472 then 205200
477- else if ((at == 53))
473+ else if ((L == 53))
478474 then 209570
479- else if ((at == 54))
475+ else if ((L == 54))
480476 then 214130
481- else if ((at == 55))
477+ else if ((L == 55))
482478 then 218880
483- else if ((at == 56))
479+ else if ((L == 56))
484480 then 223860
485- else if ((at == 57))
481+ else if ((L == 57))
486482 then 229060
487- else if ((at == 58))
483+ else if ((L == 58))
488484 then 234520
489- else if ((at == 59))
485+ else if ((L == 59))
490486 then 240240
491- else if ((at == 60))
487+ else if ((L == 60))
492488 then 246250
493- else if ((at == 61))
489+ else if ((L == 61))
494490 then 252560
495- else if ((at == 62))
491+ else if ((L == 62))
496492 then 259210
497- else if ((at == 63))
493+ else if ((L == 63))
498494 then 259210
499- else if ((at == 64))
495+ else if ((L == 64))
500496 then 273610
501- else if ((at == 65))
497+ else if ((L == 65))
502498 then 281420
503- else if ((at == 66))
499+ else if ((L == 66))
504500 then 289700
505- else if ((at == 67))
501+ else if ((L == 67))
506502 then 298480
507- else if ((at == 68))
503+ else if ((L == 68))
508504 then 307810
509- else if ((at == 69))
505+ else if ((L == 69))
510506 then 317740
511- else if ((at == 70))
507+ else if ((L == 70))
512508 then 328330
513- else if ((at == 71))
509+ else if ((L == 71))
514510 then 339650
515- else if ((at == 72))
511+ else if ((L == 72))
516512 then 351780
517- else if ((at == 73))
513+ else if ((L == 73))
518514 then 364810
519- else if ((at == 74))
515+ else if ((L == 74))
520516 then 378840
521- else if ((at == 75))
517+ else if ((L == 75))
522518 then 394000
523- else if ((at == 76))
519+ else if ((L == 76))
524520 then 410410
525- else if ((at == 77))
521+ else if ((L == 77))
526522 then 428260
527- else if ((at == 78))
523+ else if ((L == 78))
528524 then 447720
529- else if ((at == 79))
525+ else if ((L == 79))
530526 then 469040
531- else if ((at == 80))
527+ else if ((L == 80))
532528 then 492500
533- else if ((at == 81))
529+ else if ((L == 81))
534530 then 518420
535- else if ((at == 82))
531+ else if ((L == 82))
536532 then 547220
537- else if ((at == 83))
533+ else if ((L == 83))
538534 then 579410
539- else if ((at == 84))
535+ else if ((L == 84))
540536 then 615620
541- else if ((at == 85))
537+ else if ((L == 85))
542538 then 656660
543- else if ((at == 86))
539+ else if ((L == 86))
544540 then 703570
545- else if ((at == 87))
541+ else if ((L == 87))
546542 then 757690
547- else if ((at == 88))
543+ else if ((L == 88))
548544 then 820830
549- else if ((at == 89))
545+ else if ((L == 89))
550546 then 895450
551- else if ((at == 90))
547+ else if ((L == 90))
552548 then 985000
553- else if ((at == 91))
549+ else if ((L == 91))
554550 then 1094440
555- else if ((at == 92))
551+ else if ((L == 92))
556552 then 1231250
557- else if ((at == 93))
553+ else if ((L == 93))
558554 then 1407140
559- else if ((at == 94))
555+ else if ((L == 94))
560556 then 1641660
561- else if ((at == 95))
557+ else if ((L == 95))
562558 then 1970000
563- else if ((at == 96))
559+ else if ((L == 96))
564560 then 2462500
565- else if ((at == 97))
561+ else if ((L == 97))
566562 then 3283330
567- else if ((at == 98))
563+ else if ((L == 98))
568564 then 4925000
569- else if ((at == 99))
565+ else if ((L == 99))
570566 then 9850000
571567 else 100000
572568 else 100000
573569
574570
575-func au (av,at,aw) = if ((av == m))
576- then if ((at >= aw))
571+func ar (as,L,at) = if ((as == k))
572+ then if ((L >= at))
577573 then true
578574 else false
579- else if ((av == n))
580- then if ((aw >= at))
575+ else if ((as == l))
576+ then if ((at >= L))
581577 then true
582578 else false
583579 else false
584580
585581
586-func ax (ay,at,ab) = if (if ((o > ay))
582+func au (av,L,Z) = if (if ((m > av))
587583 then true
588- else (ay > p))
589- then throw(((("Bet amount is not in range: minBet=" + toString((o / 100000000))) + " maxBet=") + toString((p / 100000000))))
590- else if (if ((ab != m))
591- then (ab != n)
584+ else (av > n))
585+ then throw(((("Bet amount is not in range: minBet=" + toString((m / e))) + " maxBet=") + toString((n / e))))
586+ else if (if ((Z != k))
587+ then (Z != l)
592588 else false)
593589 then throw("Invalid Roll type, try with OVER or UNDER")
594- else if (if ((q > at))
590+ else if (if ((o > L))
595591 then true
596- else (at > r))
597- then throw(((("Prediction is out of the condition: " + toString(q)) + " <= predction <= ") + toString(r)))
592+ else (L > p))
593+ then throw(((("Prediction is out of the range: " + toString(o)) + " <= prediction <= ") + toString(p)))
598594 else {
599- let az = as(at, ab)
600- ((((ay * az) / 100000) * (100 - (h + i))) / 100)
595+ let aw = aq(L, Z)
596+ ((((av * aw) / 100000) * (100 - (f + g))) / 100)
601597 }
602598
603599
604-@Callable(aA)
605-func playDice (ab,at) = {
606- let aB = parseIntValue(at)
607- let ad = toBase58String(aA.transactionId)
608- let aC = extract(aA.payment)
609- let aD = isDefined(aA.feeAssetId)
610- let az = as(aB, ab)
611- let F = ax(aC.amount, aB, ab)
612- let aE = wavesBalance(aA.caller)
613- let aF = isDefined(getString(this, ad))
614- if ((aC.assetId != d))
600+@Callable(ax)
601+func playDice (Z,L) = {
602+ let ab = toBase58String(ax.transactionId)
603+ let ay = extract(ax.payment)
604+ let az = isDefined(ax.feeAssetId)
605+ let aw = aq(L, Z)
606+ let D = au(ay.amount, L, Z)
607+ let aA = wavesBalance(ax.caller)
608+ let aB = isDefined(getString(this, ab))
609+ if ((ay.assetId != d))
615610 then throw("Payment should be in Wavesbet")
616- else if ((100000 > aE))
611+ else if ((100000 > aA))
617612 then throw("There are not enough waves, it takes 0.01 Waves to bet. Game aborted.")
618- else if (aD)
613+ else if (az)
619614 then throw("Transaction's fee must be in Waves. Game aborted.")
620- else if (aF)
615+ else if (aB)
621616 then throw("Passed gameId had been used before. Game aborted.")
622617 else {
623- let aG = y()
624- let P = toBase58String(aA.callerPublicKey)
625- let aH = L(j, at, ab, P, F, "")
626- ScriptResult(WriteSet([DataEntry(c, E(F)), DataEntry(b, aG), DataEntry(ad, aH)]), TransferSet([ScriptTransfer(e, ((aC.amount * h) / 100), d), ScriptTransfer(this, 500000, unit)]))
618+ let aC = w()
619+ let N = toBase58String(ax.callerPublicKey)
620+ let aD = J(h, L, Z, N, D, "")
621+ ScriptResult(WriteSet([DataEntry(c, C(D)), DataEntry(b, aC), DataEntry(ab, aD)]), TransferSet(nil))
627622 }
628623 }
629624
630625
631626
632-@Callable(aA)
633-func withdraw (ad,aI) = {
634- let aJ = ac(ad)
635- let M = aJ[s]
636- let N = aJ[t]
637- let ab = aJ[u]
638- let F = parseIntValue(aJ[w])
639- let P = aJ[v]
640- let ao = addressFromPublicKey(fromBase58String(P))
641- let aK = ag(ad, F)
642- if ((M != j))
627+@Callable(ax)
628+func withdraw (ab,aE) = {
629+ let aF = aa(ab)
630+ let K = aF[q]
631+ let L = parseIntValue(aF[r])
632+ let Z = aF[s]
633+ let D = parseIntValue(aF[u])
634+ let N = aF[t]
635+ let am = addressFromPublicKey(fromBase58String(N))
636+ let aG = ae(ab, D)
637+ if ((K != h))
643638 then throw("Invalid game state for passed gameId")
644639 else {
645- let ak = ah(ad, aI)
646- let aL = al(ak)
647- if (au(ab, parseIntValue(N), ak))
640+ let ai = af(ab, aE)
641+ let aH = aj(ai)
642+ if (ar(Z, L, ai))
648643 then {
649- let ap = L(k, N, ab, P, F, aL)
650- an(ad, ao, F, ap)
644+ let an = J(i, L, Z, N, D, aH)
645+ al(ab, am, D, an)
651646 }
652647 else {
653- let ap = L(l, N, ab, P, F, aL)
654- WriteSet([DataEntry(ad, ap)])
648+ let an = J(j, L, Z, N, D, aH)
649+ WriteSet([DataEntry(ab, an)])
655650 }
656651 }
657652 }
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = fromBase64String("base64:MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAmOlRBTYEO3H7Y9rBmoFQFn4392Px0Qw13DsdEhnzMH2cj6Y5ymPuCOLMNe5qrUzQl8oRLzIBzFVMZlwUYl2bosrOIxQbYF7WVQWvoVxET1YIgDm3NzzOLA5uH7CKO0snshmMFCDOZEew41GjKh3Pgx+nbAguP9ZQPfqSafEmC3CN/4yDsJrKriRniZJo9jS/4LLsRKwB7HAZHzoF9LL7tSZH3htaNGtbdTkxZ1TzST3Mb2VPSzsZvQDocXUVOmJOu0o29aOY+GkG/G4RCK0FBWQHEUvC51TRDS5k8jad0O1MobjQc6b18d+fuoVFdNfZwGH+uFudtPG3UJTf2mkzZQIDAQAB")
55
66 let b = "$GAME_NUM"
77
88 let c = "$RESERVED_AMOUNT"
99
10-let d = base58'23vgV9p9pD83A7CFbsDEc4zjanep7UeFo4ZRS6oGorhv'
10+let d = base58'4vPcbA5yiwpWBVPALPGXus6fNdGEuYTpe4hAeSxM9Kj4'
1111
12-let e = Address(base58'3N2tusqAtDctK8iSTXS6F9rimmftmSuwLUX')
12+let e = ((100 * 1000) * 1000)
1313
14-let f = Address(base58'')
14+let f = 4
1515
16-let g = ((100 * 1000) * 1000)
16+let g = 2
1717
18-let h = 4
18+let h = "SUBMITTED"
1919
20-let i = 2
20+let i = "WON"
2121
22-let j = "SUBMITTED"
22+let j = "LOST"
2323
24-let k = "WON"
24+let k = "UNDER"
2525
26-let l = "LOST"
26+let l = "OVER"
2727
28-let m = "UNDER"
28+let m = (100 * e)
2929
30-let n = "OVER"
30+let n = (20000000 * e)
3131
32-let o = (100 * g)
32+let o = 1
3333
34-let p = ((1000 * 100) * g)
34+let p = 99
3535
36-let q = 4
36+let q = 0
3737
38-let r = 100
38+let r = 1
3939
40-let s = 0
40+let s = 2
4141
42-let t = 1
42+let t = 3
4343
44-let u = 2
44+let u = 4
4545
46-let v = 3
46+let v = 5
4747
48-let w = 4
49-
50-let x = 5
51-
52-func y () = {
53- let z = {
54- let A = getInteger(this, b)
55- if ($isInstanceOf(A, "Int"))
48+func w () = {
49+ let x = {
50+ let y = getInteger(this, b)
51+ if ($isInstanceOf(y, "Int"))
5652 then {
57- let B = A
58- B
53+ let z = y
54+ z
5955 }
6056 else 0
6157 }
62- (z + 1)
58+ (x + 1)
6359 }
6460
6561
66-func C () = {
67- let A = getInteger(this, c)
68- if ($isInstanceOf(A, "Int"))
62+func A () = {
63+ let y = getInteger(this, c)
64+ if ($isInstanceOf(y, "Int"))
6965 then {
70- let D = A
71- D
66+ let B = y
67+ B
7268 }
7369 else 0
7470 }
7571
7672
77-func E (F) = {
78- let G = (C() + F)
79- let H = assetBalance(this, d)
80- if ((G > H))
81- then throw("Insufficient funds on Waves Rider account. Transaction was rejected for your safety.")
82- else G
73+func C (D) = {
74+ let E = (A() + D)
75+ let F = assetBalance(this, d)
76+ if ((E > F))
77+ then throw("Insufficient funds on Wavesbet Dice account. Transaction was rejected for your safety.")
78+ else E
8379 }
8480
8581
86-func I (J) = {
87- let K = size(J)
88- if ((K == 0))
82+func G (H) = {
83+ let I = size(H)
84+ if ((I == 0))
8985 then throw("Parameter size must be greater then 0")
90- else if ((K > 99))
86+ else if ((I > 99))
9187 then throw("Parameter size must be less then 100")
92- else if ((10 > K))
93- then (("0" + toString(K)) + J)
94- else (toString(K) + J)
88+ else if ((10 > I))
89+ then (("0" + toString(I)) + H)
90+ else (toString(I) + H)
9591 }
9692
9793
98-func L (M,N,O,P,F,Q) = {
99- let R = ((((((((I(M) + "_") + I(N)) + "_") + I(O)) + "_") + I(P)) + "_") + I(toString(F)))
100- if ((Q == ""))
101- then R
102- else ((R + "_") + I(Q))
94+func J (K,L,M,N,D,O) = {
95+ let P = ((((((((G(K) + "_") + G(toString(L))) + "_") + G(M)) + "_") + G(N)) + "_") + G(toString(D)))
96+ if ((O == ""))
97+ then P
98+ else ((P + "_") + G(O))
10399 }
104100
105101
106-func S (T) = if ((size(T) > 0))
107- then drop(T, 1)
108- else T
102+func Q (R) = if ((size(R) > 0))
103+ then drop(R, 1)
104+ else R
109105
110106
111-func U (T) = {
112- let K = size(T)
113- if ((K > 0))
107+func S (R) = {
108+ let I = size(R)
109+ if ((I > 0))
114110 then {
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]
111+ let T = parseIntValue(take(R, 2))
112+ let U = take(drop(R, 2), T)
113+ let V = drop(R, (T + 2))
114+ let W = Q(V)
115+[U, W]
120116 }
121117 else throw("Empty string was passed into parseNextAttribute func")
122118 }
123119
124120
125-func Z (aa) = {
126- let M = U(aa)
127- let N = U(M[1])
128- let ab = U(N[1])
129- let P = U(ab[1])
130- let F = U(P[1])
131-[M[0], N[0], ab[0], P[0], F[0]]
121+func X (Y) = {
122+ let K = S(Y)
123+ let L = S(K[1])
124+ let Z = S(L[1])
125+ let N = S(Z[1])
126+ let D = S(N[1])
127+[K[0], L[0], Z[0], N[0], D[0]]
132128 }
133129
134130
135-func ac (ad) = {
136- let ae = {
137- let A = getString(this, ad)
138- if ($isInstanceOf(A, "String"))
131+func aa (ab) = {
132+ let ac = {
133+ let y = getString(this, ab)
134+ if ($isInstanceOf(y, "String"))
139135 then {
140- let af = A
141- af
136+ let ad = y
137+ ad
142138 }
143- else throw(("Couldn't find game by " + ad))
139+ else throw(("Couldn't find game by " + ab))
144140 }
145- Z(ae)
141+ X(ac)
146142 }
147143
148144
149-func ag (ad,F) = {
150- let G = (C() - F)
151- if ((0 > G))
145+func ae (ab,D) = {
146+ let E = (A() - D)
147+ if ((0 > E))
152148 then throw("Invalid Dice Roller account state - reserved amount is less than 0")
153- else DataEntry(c, G)
149+ else DataEntry(c, E)
154150 }
155151
156152
157-func ah (ad,ai) = {
158- let aj = rsaVerify(SHA256, toBytes(ad), ai, a)
159- if (aj)
153+func af (ab,ag) = {
154+ let ah = rsaVerify(SHA256, toBytes(ab), ag, a)
155+ if (ah)
160156 then {
161- let ak = (toInt(sha256(ai)) % 100)
162- if ((0 > ak))
163- then ((-1 * ak) + 1)
164- else (ak + 1)
157+ let ai = (toInt(sha256(ag)) % 100)
158+ if ((0 > ai))
159+ then ((-1 * ai) + 1)
160+ else (ai + 1)
165161 }
166162 else throw("Invalid RSA signature")
167163 }
168164
169165
170-func al (am) = if (if ((am >= 1))
171- then (100 >= am)
166+func aj (ak) = if (if ((ak >= 1))
167+ then (100 >= ak)
172168 else false)
173- then toString(am)
174- else throw(("Unsupported r parameter passed: expected=[1,...,100] actual=" + toString(am)))
169+ then toString(ak)
170+ else throw(("Unsupported r parameter passed: expected=[1,...,100] actual=" + toString(ak)))
175171
176172
177-func an (ad,ao,F,ap) = {
178- let aq = [ScriptTransfer(ao, F, base58'4vPcbA5yiwpWBVPALPGXus6fNdGEuYTpe4hAeSxM9Kj4')]
179- let ar = WriteSet([DataEntry("Game Id", ad), DataEntry("Player Address", toString(ao))])
180- ScriptResult(ar, TransferSet(aq))
173+func al (ab,am,D,an) = {
174+ let ao = [ScriptTransfer(am, D, d)]
175+ let ap = WriteSet([DataEntry("Game Id", ab), DataEntry("Player Address", toString(am))])
176+ ScriptResult(ap, TransferSet(ao))
181177 }
182178
183179
184-func as (at,ab) = if ((ab == m))
185- then if ((at == 1))
180+func aq (L,Z) = if ((Z == k))
181+ then if ((L == 1))
186182 then 9850000
187- else if ((at == 2))
183+ else if ((L == 2))
188184 then 4925000
189- else if ((at == 3))
185+ else if ((L == 3))
190186 then 3283330
191- else if ((at == 4))
187+ else if ((L == 4))
192188 then 2462500
193- else if ((at == 5))
189+ else if ((L == 5))
194190 then 1970000
195- else if ((at == 6))
191+ else if ((L == 6))
196192 then 1641660
197- else if ((at == 7))
193+ else if ((L == 7))
198194 then 1407140
199- else if ((at == 8))
195+ else if ((L == 8))
200196 then 1231250
201- else if ((at == 9))
197+ else if ((L == 9))
202198 then 1094440
203- else if ((at == 10))
199+ else if ((L == 10))
204200 then 985000
205- else if ((at == 11))
201+ else if ((L == 11))
206202 then 895450
207- else if ((at == 12))
203+ else if ((L == 12))
208204 then 820830
209- else if ((at == 13))
205+ else if ((L == 13))
210206 then 757690
211- else if ((at == 14))
207+ else if ((L == 14))
212208 then 703570
213- else if ((at == 15))
209+ else if ((L == 15))
214210 then 656660
215- else if ((at == 16))
211+ else if ((L == 16))
216212 then 615620
217- else if ((at == 17))
213+ else if ((L == 17))
218214 then 579410
219- else if ((at == 18))
215+ else if ((L == 18))
220216 then 547220
221- else if ((at == 19))
217+ else if ((L == 19))
222218 then 518420
223- else if ((at == 20))
219+ else if ((L == 20))
224220 then 492500
225- else if ((at == 21))
221+ else if ((L == 21))
226222 then 469040
227- else if ((at == 22))
223+ else if ((L == 22))
228224 then 447720
229- else if ((at == 23))
225+ else if ((L == 23))
230226 then 428260
231- else if ((at == 24))
227+ else if ((L == 24))
232228 then 410410
233- else if ((at == 25))
229+ else if ((L == 25))
234230 then 394000
235- else if ((at == 26))
231+ else if ((L == 26))
236232 then 378840
237- else if ((at == 27))
233+ else if ((L == 27))
238234 then 364810
239- else if ((at == 28))
235+ else if ((L == 28))
240236 then 351780
241- else if ((at == 29))
237+ else if ((L == 29))
242238 then 339650
243- else if ((at == 30))
239+ else if ((L == 30))
244240 then 328330
245- else if ((at == 31))
241+ else if ((L == 31))
246242 then 317740
247- else if ((at == 32))
243+ else if ((L == 32))
248244 then 307810
249- else if ((at == 33))
245+ else if ((L == 33))
250246 then 298480
251- else if ((at == 34))
247+ else if ((L == 34))
252248 then 289700
253- else if ((at == 35))
249+ else if ((L == 35))
254250 then 281420
255- else if ((at == 36))
251+ else if ((L == 36))
256252 then 273610
257- else if ((at == 37))
253+ else if ((L == 37))
258254 then 259210
259- else if ((at == 38))
255+ else if ((L == 38))
260256 then 259210
261- else if ((at == 39))
257+ else if ((L == 39))
262258 then 252560
263- else if ((at == 40))
259+ else if ((L == 40))
264260 then 246250
265- else if ((at == 41))
261+ else if ((L == 41))
266262 then 240240
267- else if ((at == 42))
263+ else if ((L == 42))
268264 then 234520
269- else if ((at == 43))
265+ else if ((L == 43))
270266 then 229060
271- else if ((at == 44))
267+ else if ((L == 44))
272268 then 223860
273- else if ((at == 45))
269+ else if ((L == 45))
274270 then 218880
275- else if ((at == 46))
271+ else if ((L == 46))
276272 then 214130
277- else if ((at == 47))
273+ else if ((L == 47))
278274 then 209570
279- else if ((at == 48))
275+ else if ((L == 48))
280276 then 205200
281- else if ((at == 49))
277+ else if ((L == 49))
282278 then 201020
283- else if ((at == 50))
279+ else if ((L == 50))
284280 then 197000
285- else if ((at == 51))
281+ else if ((L == 51))
286282 then 193130
287- else if ((at == 52))
283+ else if ((L == 52))
288284 then 189420
289- else if ((at == 53))
285+ else if ((L == 53))
290286 then 185840
291- else if ((at == 54))
287+ else if ((L == 54))
292288 then 182400
293- else if ((at == 55))
289+ else if ((L == 55))
294290 then 179090
295- else if ((at == 56))
291+ else if ((L == 56))
296292 then 175890
297- else if ((at == 57))
293+ else if ((L == 57))
298294 then 172800
299- else if ((at == 58))
295+ else if ((L == 58))
300296 then 169820
301- else if ((at == 59))
297+ else if ((L == 59))
302298 then 166940
303- else if ((at == 60))
299+ else if ((L == 60))
304300 then 164160
305- else if ((at == 61))
301+ else if ((L == 61))
306302 then 161470
307- else if ((at == 62))
303+ else if ((L == 62))
308304 then 158870
309- else if ((at == 63))
305+ else if ((L == 63))
310306 then 156340
311- else if ((at == 64))
307+ else if ((L == 64))
312308 then 153900
313- else if ((at == 65))
309+ else if ((L == 65))
314310 then 151530
315- else if ((at == 66))
311+ else if ((L == 66))
316312 then 149240
317- else if ((at == 67))
313+ else if ((L == 67))
318314 then 147010
319- else if ((at == 68))
315+ else if ((L == 68))
320316 then 144850
321- else if ((at == 69))
317+ else if ((L == 69))
322318 then 142750
323- else if ((at == 70))
319+ else if ((L == 70))
324320 then 140710
325- else if ((at == 71))
321+ else if ((L == 71))
326322 then 138730
327- else if ((at == 72))
323+ else if ((L == 72))
328324 then 136800
329- else if ((at == 73))
325+ else if ((L == 73))
330326 then 134930
331- else if ((at == 74))
327+ else if ((L == 74))
332328 then 133100
333- else if ((at == 75))
329+ else if ((L == 75))
334330 then 131330
335- else if ((at == 76))
331+ else if ((L == 76))
336332 then 129600
337- else if ((at == 77))
333+ else if ((L == 77))
338334 then 127920
339- else if ((at == 78))
335+ else if ((L == 78))
340336 then 126280
341- else if ((at == 79))
337+ else if ((L == 79))
342338 then 124680
343- else if ((at == 80))
339+ else if ((L == 80))
344340 then 123120
345- else if ((at == 81))
341+ else if ((L == 81))
346342 then 121600
347- else if ((at == 82))
343+ else if ((L == 82))
348344 then 120120
349- else if ((at == 83))
345+ else if ((L == 83))
350346 then 118670
351- else if ((at == 84))
347+ else if ((L == 84))
352348 then 117260
353- else if ((at == 85))
349+ else if ((L == 85))
354350 then 115880
355- else if ((at == 86))
351+ else if ((L == 86))
356352 then 114530
357- else if ((at == 87))
353+ else if ((L == 87))
358354 then 113210
359- else if ((at == 88))
355+ else if ((L == 88))
360356 then 111930
361- else if ((at == 89))
357+ else if ((L == 89))
362358 then 110670
363- else if ((at == 90))
359+ else if ((L == 90))
364360 then 109440
365- else if ((at == 91))
361+ else if ((L == 91))
366362 then 108240
367- else if ((at == 92))
363+ else if ((L == 92))
368364 then 107060
369- else if ((at == 93))
365+ else if ((L == 93))
370366 then 105910
371- else if ((at == 94))
367+ else if ((L == 94))
372368 then 104780
373- else if ((at == 95))
369+ else if ((L == 95))
374370 then 103680
375- else if ((at == 96))
371+ else if ((L == 96))
376372 then 103680
377373 else 100000
378- else if ((ab == n))
379- then if ((at == 4))
374+ else if ((Z == l))
375+ then if ((L == 4))
380376 then 103680
381- else if ((at == 5))
377+ else if ((L == 5))
382378 then 103680
383- else if ((at == 6))
379+ else if ((L == 6))
384380 then 104780
385- else if ((at == 7))
381+ else if ((L == 7))
386382 then 105910
387- else if ((at == 8))
383+ else if ((L == 8))
388384 then 107060
389- else if ((at == 9))
385+ else if ((L == 9))
390386 then 108240
391- else if ((at == 10))
387+ else if ((L == 10))
392388 then 109440
393- else if ((at == 11))
389+ else if ((L == 11))
394390 then 110670
395- else if ((at == 12))
391+ else if ((L == 12))
396392 then 111930
397- else if ((at == 13))
393+ else if ((L == 13))
398394 then 113210
399- else if ((at == 14))
395+ else if ((L == 14))
400396 then 114530
401- else if ((at == 15))
397+ else if ((L == 15))
402398 then 115880
403- else if ((at == 16))
399+ else if ((L == 16))
404400 then 117260
405- else if ((at == 17))
401+ else if ((L == 17))
406402 then 118670
407- else if ((at == 18))
403+ else if ((L == 18))
408404 then 120120
409- else if ((at == 19))
405+ else if ((L == 19))
410406 then 121600
411- else if ((at == 20))
407+ else if ((L == 20))
412408 then 123120
413- else if ((at == 21))
409+ else if ((L == 21))
414410 then 124680
415- else if ((at == 22))
411+ else if ((L == 22))
416412 then 126280
417- else if ((at == 23))
413+ else if ((L == 23))
418414 then 127920
419- else if ((at == 24))
415+ else if ((L == 24))
420416 then 129600
421- else if ((at == 25))
417+ else if ((L == 25))
422418 then 131330
423- else if ((at == 26))
419+ else if ((L == 26))
424420 then 133100
425- else if ((at == 27))
421+ else if ((L == 27))
426422 then 134930
427- else if ((at == 28))
423+ else if ((L == 28))
428424 then 136800
429- else if ((at == 29))
425+ else if ((L == 29))
430426 then 138730
431- else if ((at == 30))
427+ else if ((L == 30))
432428 then 140710
433- else if ((at == 31))
429+ else if ((L == 31))
434430 then 142750
435- else if ((at == 32))
431+ else if ((L == 32))
436432 then 144850
437- else if ((at == 33))
433+ else if ((L == 33))
438434 then 147010
439- else if ((at == 34))
435+ else if ((L == 34))
440436 then 149240
441- else if ((at == 35))
437+ else if ((L == 35))
442438 then 151530
443- else if ((at == 36))
439+ else if ((L == 36))
444440 then 153900
445- else if ((at == 37))
441+ else if ((L == 37))
446442 then 156340
447- else if ((at == 38))
443+ else if ((L == 38))
448444 then 158870
449- else if ((at == 39))
445+ else if ((L == 39))
450446 then 161470
451- else if ((at == 40))
447+ else if ((L == 40))
452448 then 164160
453- else if ((at == 41))
449+ else if ((L == 41))
454450 then 166940
455- else if ((at == 42))
451+ else if ((L == 42))
456452 then 169820
457- else if ((at == 43))
453+ else if ((L == 43))
458454 then 172800
459- else if ((at == 44))
455+ else if ((L == 44))
460456 then 175890
461- else if ((at == 45))
457+ else if ((L == 45))
462458 then 179090
463- else if ((at == 46))
459+ else if ((L == 46))
464460 then 185840
465- else if ((at == 47))
461+ else if ((L == 47))
466462 then 185840
467- else if ((at == 48))
463+ else if ((L == 48))
468464 then 189420
469- else if ((at == 49))
465+ else if ((L == 49))
470466 then 193130
471- else if ((at == 50))
467+ else if ((L == 50))
472468 then 197000
473- else if ((at == 51))
469+ else if ((L == 51))
474470 then 201020
475- else if ((at == 52))
471+ else if ((L == 52))
476472 then 205200
477- else if ((at == 53))
473+ else if ((L == 53))
478474 then 209570
479- else if ((at == 54))
475+ else if ((L == 54))
480476 then 214130
481- else if ((at == 55))
477+ else if ((L == 55))
482478 then 218880
483- else if ((at == 56))
479+ else if ((L == 56))
484480 then 223860
485- else if ((at == 57))
481+ else if ((L == 57))
486482 then 229060
487- else if ((at == 58))
483+ else if ((L == 58))
488484 then 234520
489- else if ((at == 59))
485+ else if ((L == 59))
490486 then 240240
491- else if ((at == 60))
487+ else if ((L == 60))
492488 then 246250
493- else if ((at == 61))
489+ else if ((L == 61))
494490 then 252560
495- else if ((at == 62))
491+ else if ((L == 62))
496492 then 259210
497- else if ((at == 63))
493+ else if ((L == 63))
498494 then 259210
499- else if ((at == 64))
495+ else if ((L == 64))
500496 then 273610
501- else if ((at == 65))
497+ else if ((L == 65))
502498 then 281420
503- else if ((at == 66))
499+ else if ((L == 66))
504500 then 289700
505- else if ((at == 67))
501+ else if ((L == 67))
506502 then 298480
507- else if ((at == 68))
503+ else if ((L == 68))
508504 then 307810
509- else if ((at == 69))
505+ else if ((L == 69))
510506 then 317740
511- else if ((at == 70))
507+ else if ((L == 70))
512508 then 328330
513- else if ((at == 71))
509+ else if ((L == 71))
514510 then 339650
515- else if ((at == 72))
511+ else if ((L == 72))
516512 then 351780
517- else if ((at == 73))
513+ else if ((L == 73))
518514 then 364810
519- else if ((at == 74))
515+ else if ((L == 74))
520516 then 378840
521- else if ((at == 75))
517+ else if ((L == 75))
522518 then 394000
523- else if ((at == 76))
519+ else if ((L == 76))
524520 then 410410
525- else if ((at == 77))
521+ else if ((L == 77))
526522 then 428260
527- else if ((at == 78))
523+ else if ((L == 78))
528524 then 447720
529- else if ((at == 79))
525+ else if ((L == 79))
530526 then 469040
531- else if ((at == 80))
527+ else if ((L == 80))
532528 then 492500
533- else if ((at == 81))
529+ else if ((L == 81))
534530 then 518420
535- else if ((at == 82))
531+ else if ((L == 82))
536532 then 547220
537- else if ((at == 83))
533+ else if ((L == 83))
538534 then 579410
539- else if ((at == 84))
535+ else if ((L == 84))
540536 then 615620
541- else if ((at == 85))
537+ else if ((L == 85))
542538 then 656660
543- else if ((at == 86))
539+ else if ((L == 86))
544540 then 703570
545- else if ((at == 87))
541+ else if ((L == 87))
546542 then 757690
547- else if ((at == 88))
543+ else if ((L == 88))
548544 then 820830
549- else if ((at == 89))
545+ else if ((L == 89))
550546 then 895450
551- else if ((at == 90))
547+ else if ((L == 90))
552548 then 985000
553- else if ((at == 91))
549+ else if ((L == 91))
554550 then 1094440
555- else if ((at == 92))
551+ else if ((L == 92))
556552 then 1231250
557- else if ((at == 93))
553+ else if ((L == 93))
558554 then 1407140
559- else if ((at == 94))
555+ else if ((L == 94))
560556 then 1641660
561- else if ((at == 95))
557+ else if ((L == 95))
562558 then 1970000
563- else if ((at == 96))
559+ else if ((L == 96))
564560 then 2462500
565- else if ((at == 97))
561+ else if ((L == 97))
566562 then 3283330
567- else if ((at == 98))
563+ else if ((L == 98))
568564 then 4925000
569- else if ((at == 99))
565+ else if ((L == 99))
570566 then 9850000
571567 else 100000
572568 else 100000
573569
574570
575-func au (av,at,aw) = if ((av == m))
576- then if ((at >= aw))
571+func ar (as,L,at) = if ((as == k))
572+ then if ((L >= at))
577573 then true
578574 else false
579- else if ((av == n))
580- then if ((aw >= at))
575+ else if ((as == l))
576+ then if ((at >= L))
581577 then true
582578 else false
583579 else false
584580
585581
586-func ax (ay,at,ab) = if (if ((o > ay))
582+func au (av,L,Z) = if (if ((m > av))
587583 then true
588- else (ay > p))
589- then throw(((("Bet amount is not in range: minBet=" + toString((o / 100000000))) + " maxBet=") + toString((p / 100000000))))
590- else if (if ((ab != m))
591- then (ab != n)
584+ else (av > n))
585+ then throw(((("Bet amount is not in range: minBet=" + toString((m / e))) + " maxBet=") + toString((n / e))))
586+ else if (if ((Z != k))
587+ then (Z != l)
592588 else false)
593589 then throw("Invalid Roll type, try with OVER or UNDER")
594- else if (if ((q > at))
590+ else if (if ((o > L))
595591 then true
596- else (at > r))
597- then throw(((("Prediction is out of the condition: " + toString(q)) + " <= predction <= ") + toString(r)))
592+ else (L > p))
593+ then throw(((("Prediction is out of the range: " + toString(o)) + " <= prediction <= ") + toString(p)))
598594 else {
599- let az = as(at, ab)
600- ((((ay * az) / 100000) * (100 - (h + i))) / 100)
595+ let aw = aq(L, Z)
596+ ((((av * aw) / 100000) * (100 - (f + g))) / 100)
601597 }
602598
603599
604-@Callable(aA)
605-func playDice (ab,at) = {
606- let aB = parseIntValue(at)
607- let ad = toBase58String(aA.transactionId)
608- let aC = extract(aA.payment)
609- let aD = isDefined(aA.feeAssetId)
610- let az = as(aB, ab)
611- let F = ax(aC.amount, aB, ab)
612- let aE = wavesBalance(aA.caller)
613- let aF = isDefined(getString(this, ad))
614- if ((aC.assetId != d))
600+@Callable(ax)
601+func playDice (Z,L) = {
602+ let ab = toBase58String(ax.transactionId)
603+ let ay = extract(ax.payment)
604+ let az = isDefined(ax.feeAssetId)
605+ let aw = aq(L, Z)
606+ let D = au(ay.amount, L, Z)
607+ let aA = wavesBalance(ax.caller)
608+ let aB = isDefined(getString(this, ab))
609+ if ((ay.assetId != d))
615610 then throw("Payment should be in Wavesbet")
616- else if ((100000 > aE))
611+ else if ((100000 > aA))
617612 then throw("There are not enough waves, it takes 0.01 Waves to bet. Game aborted.")
618- else if (aD)
613+ else if (az)
619614 then throw("Transaction's fee must be in Waves. Game aborted.")
620- else if (aF)
615+ else if (aB)
621616 then throw("Passed gameId had been used before. Game aborted.")
622617 else {
623- let aG = y()
624- let P = toBase58String(aA.callerPublicKey)
625- let aH = L(j, at, ab, P, F, "")
626- ScriptResult(WriteSet([DataEntry(c, E(F)), DataEntry(b, aG), DataEntry(ad, aH)]), TransferSet([ScriptTransfer(e, ((aC.amount * h) / 100), d), ScriptTransfer(this, 500000, unit)]))
618+ let aC = w()
619+ let N = toBase58String(ax.callerPublicKey)
620+ let aD = J(h, L, Z, N, D, "")
621+ ScriptResult(WriteSet([DataEntry(c, C(D)), DataEntry(b, aC), DataEntry(ab, aD)]), TransferSet(nil))
627622 }
628623 }
629624
630625
631626
632-@Callable(aA)
633-func withdraw (ad,aI) = {
634- let aJ = ac(ad)
635- let M = aJ[s]
636- let N = aJ[t]
637- let ab = aJ[u]
638- let F = parseIntValue(aJ[w])
639- let P = aJ[v]
640- let ao = addressFromPublicKey(fromBase58String(P))
641- let aK = ag(ad, F)
642- if ((M != j))
627+@Callable(ax)
628+func withdraw (ab,aE) = {
629+ let aF = aa(ab)
630+ let K = aF[q]
631+ let L = parseIntValue(aF[r])
632+ let Z = aF[s]
633+ let D = parseIntValue(aF[u])
634+ let N = aF[t]
635+ let am = addressFromPublicKey(fromBase58String(N))
636+ let aG = ae(ab, D)
637+ if ((K != h))
643638 then throw("Invalid game state for passed gameId")
644639 else {
645- let ak = ah(ad, aI)
646- let aL = al(ak)
647- if (au(ab, parseIntValue(N), ak))
640+ let ai = af(ab, aE)
641+ let aH = aj(ai)
642+ if (ar(Z, L, ai))
648643 then {
649- let ap = L(k, N, ab, P, F, aL)
650- an(ad, ao, F, ap)
644+ let an = J(i, L, Z, N, D, aH)
645+ al(ab, am, D, an)
651646 }
652647 else {
653- let ap = L(l, N, ab, P, F, aL)
654- WriteSet([DataEntry(ad, ap)])
648+ let an = J(j, L, Z, N, D, aH)
649+ WriteSet([DataEntry(ab, an)])
655650 }
656651 }
657652 }
658653
659654

github/deemru/w8io/169f3d6 
2060.71 ms