tx · Hwv93F4KHrHoX69TjzAgDaQxAp6PjdBd9By2tvbVfv7k

3N6hQF6HBBQ5JCKB8Xs17Q61wkG3VrLvbGd:  -0.10000001 Waves

2021.12.03 00:40 [1817207] smart account 3N6hQF6HBBQ5JCKB8Xs17Q61wkG3VrLvbGd > SELF 0.00000000 Waves

{ "type": 13, "id": "Hwv93F4KHrHoX69TjzAgDaQxAp6PjdBd9By2tvbVfv7k", "fee": 10000001, "feeAssetId": null, "timestamp": 1638481217787, "version": 2, "chainId": 84, "sender": "3N6hQF6HBBQ5JCKB8Xs17Q61wkG3VrLvbGd", "senderPublicKey": "7Hi4o6vBstRs79NMVMjEove52dmP87RAcvNDAXN8C4Wi", "proofs": [ "59ArfZudZGRcThpRk814G8ZwSyGs5iEhpGFQW5ibQM71i6LGznsXoXT8nwtRxQXrvQso6kaGdbCuaVsSsY48cYAL" ], "script": "base64:AAIFAAAAAAAAAAwIAhIDCgEIEgMKAQgAAAAPAAAAAAZjYXNpbm8CAAAAIzNNdGFDTDR2MWJqVGFiVXFzN29VNG9mUzhmYmFpMzRXTTFpAAAAAAVXQVZFUwAAAAAAO5rKAAAAAAAGbWF4QmV0CQAAaAAAAAIAAAAAAAAAAGQFAAAABVdBVkVTAAAAAAlzZXBhcmF0b3ICAAAAASwBAAAACmdldE5ld0RlY2sAAAAACQAETAAAAAICAAAAAzAxQwkABEwAAAACAgAAAAMwMkMJAARMAAAAAgIAAAADMDNDCQAETAAAAAICAAAAAzA0QwkABEwAAAACAgAAAAMwNUMJAARMAAAAAgIAAAADMDZDCQAETAAAAAICAAAAAzA3QwkABEwAAAACAgAAAAMwOEMJAARMAAAAAgIAAAADMDlDCQAETAAAAAICAAAAAzEwQwkABEwAAAACAgAAAAMxMUMJAARMAAAAAgIAAAADMTJDCQAETAAAAAICAAAAAzEzQwkABEwAAAACAgAAAAMwMUQJAARMAAAAAgIAAAADMDJECQAETAAAAAICAAAAAzAzRAkABEwAAAACAgAAAAMwNEQJAARMAAAAAgIAAAADMDVECQAETAAAAAICAAAAAzA2RAkABEwAAAACAgAAAAMwN0QJAARMAAAAAgIAAAADMDhECQAETAAAAAICAAAAAzA5RAkABEwAAAACAgAAAAMxMEQJAARMAAAAAgIAAAADMTFECQAETAAAAAICAAAAAzEyRAkABEwAAAACAgAAAAMxM0QJAARMAAAAAgIAAAADMDFICQAETAAAAAICAAAAAzAySAkABEwAAAACAgAAAAMwM0gJAARMAAAAAgIAAAADMDRICQAETAAAAAICAAAAAzA1SAkABEwAAAACAgAAAAMwNkgJAARMAAAAAgIAAAADMDdICQAETAAAAAICAAAAAzA4SAkABEwAAAACAgAAAAMwOUgJAARMAAAAAgIAAAADMTBICQAETAAAAAICAAAAAzExSAkABEwAAAACAgAAAAMxMkgJAARMAAAAAgIAAAADMTNICQAETAAAAAICAAAAAzAxUwkABEwAAAACAgAAAAMwMlMJAARMAAAAAgIAAAADMDNTCQAETAAAAAICAAAAAzA0UwkABEwAAAACAgAAAAMwNVMJAARMAAAAAgIAAAADMDZTCQAETAAAAAICAAAAAzA3UwkABEwAAAACAgAAAAMwOFMJAARMAAAAAgIAAAADMDlTCQAETAAAAAICAAAAAzEwUwkABEwAAAACAgAAAAMxMVMJAARMAAAAAgIAAAADMTJTCQAETAAAAAICAAAAAzEzUwUAAAADbmlsAQAAAA5nZXRTaXhOZXdEZWNrcwAAAAAJAAROAAAAAgkABE4AAAACCQAETgAAAAIJAAROAAAAAgkABE4AAAACCQEAAAAKZ2V0TmV3RGVjawAAAAAJAQAAAApnZXROZXdEZWNrAAAAAAkBAAAACmdldE5ld0RlY2sAAAAACQEAAAAKZ2V0TmV3RGVjawAAAAAJAQAAAApnZXROZXdEZWNrAAAAAAkBAAAACmdldE5ld0RlY2sAAAAAAQAAAAdnZXREZWNrAAAAAQAAAARkZWNrAwkAAGcAAAACAAAAAAAAAAAACQABkAAAAAEFAAAABGRlY2sJAQAAAA5nZXRTaXhOZXdEZWNrcwAAAAAFAAAABGRlY2sBAAAAD2dldFJhbmRv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cgcJAARMAAAAAgkBAAAAC1N0cmluZ0VudHJ5AAAAAgUAAAALd2l0aGRyYXdLZXkJAAGkAAAAAQkAAGgAAAACBQAAAAljdXJTdW1CZXQAAAAAAAAAAAIJAARMAAAAAgkBAAAADlNjcmlwdFRyYW5zZmVyAAAAAwgFAAAAAWkAAAAGY2FsbGVyCQAAaAAAAAIFAAAACWN1clN1bUJldAAAAAAAAAAAAgUAAAAEdW5pdAUAAAADbmlsCQAAAgAAAAECAAAAFllvdSBhcmUgbm90IHRoZSB3aW5uZXIAAAABAAAAAnR4AQAAAAZ2ZXJpZnkAAAAACQAB9AAAAAMIBQAAAAJ0eAAAAAlib2R5Qnl0ZXMJAAGRAAAAAggFAAAAAnR4AAAABnByb29mcwAAAAAAAAAAAAgFAAAAAnR4AAAAD3NlbmRlclB1YmxpY0tleWa4p/Q=", "height": 1817207, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: CFjykDMG8FCTwWJmxrjZ7fysznqBTGFoi9Ma1K6ktVYs Next: gKLz3t98YNuYEomLykmuxyFCRVjBJYWnVfe1SFyg4e6 Diff:
OldNewDifferences
99
1010 let d = ","
1111
12-func e (f) = if ((size(f.payments) == 0))
13- then throw("Payment must be attached")
14- else {
15- let g = f.payments[0]
16- if (isDefined(g.assetId))
17- then throw("This function accepts WAVES tokens only")
18- else g.amount
19- }
12+func e () = ["01C", "02C", "03C", "04C", "05C", "06C", "07C", "08C", "09C", "10C", "11C", "12C", "13C", "01D", "02D", "03D", "04D", "05D", "06D", "07D", "08D", "09D", "10D", "11D", "12D", "13D", "01H", "02H", "03H", "04H", "05H", "06H", "07H", "08H", "09H", "10H", "11H", "12H", "13H", "01S", "02S", "03S", "04S", "05S", "06S", "07S", "08S", "09S", "10S", "11S", "12S", "13S"]
2013
2114
22-func h (i,j) = {
23- let k = getInteger(i, j)
24- if ($isInstanceOf(k, "Int"))
15+func f () = (((((e() ++ e()) ++ e()) ++ e()) ++ e()) ++ e())
16+
17+
18+func g (h) = if ((0 >= size(h)))
19+ then f()
20+ else h
21+
22+
23+func i (j,k,l) = {
24+ let m = sha256(toBytes((j + k)))
25+ let n = toInt(m)
26+ let o = (n % l)
27+ if ((0 > o))
28+ then ((-1 * o) + 1)
29+ else (o + 1)
30+ }
31+
32+
33+func p (q) = {
34+ let r = getInteger(this, (q + "_LastRandonNumber"))
35+ if ($isInstanceOf(r, "Int"))
2536 then {
26- let l = k
27- l
37+ let s = r
38+ toString(s)
39+ }
40+ else q
41+ }
42+
43+
44+func t (u,v) = {
45+ let r = getInteger(u, v)
46+ if ($isInstanceOf(r, "Int"))
47+ then {
48+ let w = r
49+ w
2850 }
2951 else 0
3052 }
3153
3254
33-@Callable(f)
34-func bet2 (m) = {
35- let n = toBase58String(f.caller.bytes)
36- let o = e(f)
37- let p = h(a8, (m + "_sumBets"))
38- let q = {
39- let k = getInteger(a8, (m + "_drawSequence"))
40- if ($isInstanceOf(k, "Int"))
55+func x (y) = if ((size(y.payments) == 0))
56+ then throw("Payment must be attached")
57+ else {
58+ let z = y.payments[0]
59+ if (isDefined(z.assetId))
60+ then throw("This function accepts WAVES tokens only")
61+ else z.amount
62+ }
63+
64+
65+func A (B) = {
66+ let C = parseIntValue(take(B, 2))
67+ if ((C == 1))
68+ then 20
69+ else C
70+ }
71+
72+
73+func D (E,F,G,a) = {
74+ let C = A(E)
75+ let H = A(F)
76+ if ((C > H))
77+ then G
78+ else a
79+ }
80+
81+
82+func I (u,J) = if (isDefined(getString(u, J)))
83+ then {
84+ let K = getStringValue(u, J)
85+ let h = split(K, d)
86+ g(h)
87+ }
88+ else f()
89+
90+
91+func L (M,G,h) = {
92+ let N = g(h)
93+ let O = i(((M + makeString(N, d)) + G), p(G), size(N))
94+ let P = N[(O % size(N))]
95+ let Q = removeByIndex(N, (O % size(N)))
96+ $Tuple3(P, O, Q)
97+ }
98+
99+
100+@Callable(y)
101+func bet1 (R) = {
102+ let G = toBase58String(y.caller.bytes)
103+ let C = x(y)
104+ let S = t(this, (R + "_sumBets"))
105+ let T = {
106+ let r = getInteger(this, (R + "_drawSequence"))
107+ if ($isInstanceOf(r, "Int"))
41108 then {
42- let l = k
43- (l + 1)
109+ let w = r
110+ (w + 1)
44111 }
45112 else 0
46113 }
47- let r = {
48- let k = getString(a8, (m + "_player"))
49- if ($isInstanceOf(k, "String"))
114+ let U = {
115+ let r = getString(this, (R + "_player"))
116+ if ($isInstanceOf(r, "String"))
50117 then {
51- let l = k
52- l
118+ let w = r
119+ w
53120 }
54121 else unit
55122 }
56- let s = {
57- let k = getInteger(a8, (m + "_initialBet"))
58- if ($isInstanceOf(k, "Int"))
123+ let V = {
124+ let r = getInteger(this, (R + "_initialBet"))
125+ if ($isInstanceOf(r, "Int"))
59126 then {
60- let l = k
61- l
127+ let w = r
128+ w
62129 }
63- else o
130+ else C
64131 }
65- let t = (m + "_available")
66- let u = (p + o)
67- let v = getBoolean(a8, (m + "_stop"))
68- if (isDefined(v))
132+ let J = (R + "_available")
133+ let W = (S + C)
134+ if (if (isDefined(getBoolean(this, (R + "_stop"))))
135+ then true
136+ else isDefined(getString(this, R)))
69137 then throw("This round is already played")
70- else throw("bet2 finished all ok")
138+ else if (if (isDefined(getString(this, (R + "_player"))))
139+ then (U != G)
140+ else false)
141+ then throw("This is not your game")
142+ else if ((W > c))
143+ then throw(((("Maximum amount of bets for round " + toString(c)) + ". With your bet it's ") + toString(W)))
144+ else if ((V != C))
145+ then throw(((("Initial bet not maching original:" + toString(V)) + ", actual:") + toString(C)))
146+ else {
147+ let X = I(this, J)
148+ let Y = L(R, G, X)
149+ let E = Y._1
150+ let Z = Y._2
151+ let aa = Y._3
152+ let ab = L(R, G, aa)
153+ let F = ab._1
154+ let ac = ab._2
155+ let N = ab._3
156+ if ((A(E) == A(F)))
157+ then [StringEntry(J, makeString(N, d)), StringEntry((R + "_player"), G), IntegerEntry((R + "_initialBet"), V), StringEntry((R + "_salt_debug"), R), IntegerEntry((R + "_LastRandonNumber"), ac), IntegerEntry((R + "_sumBets"), W), StringEntry((R + "_playerCard"), E), StringEntry((R + "_casinoCard"), F), IntegerEntry((R + "_drawSequence"), (T + 1))]
158+ else {
159+ let ad = D(E, F, G, a)
160+[StringEntry(J, makeString(N, d)), StringEntry((R + "_player"), G), IntegerEntry((R + "_initialBet"), V), StringEntry((R + "_salt_debug"), R), IntegerEntry((R + "_LastRandonNumber"), ac), IntegerEntry((R + "_sumBets"), W), StringEntry((R + "_playerCard"), E), StringEntry((R + "_casinoCard"), F), BooleanEntry((R + "_stop"), true), StringEntry((R + "_winner"), ad)]
161+ }
162+ }
71163 }
72164
73165
74166
75-@Callable(f)
76-func withdraw2 (m) = {
77- let n = toBase58String(f.caller.bytes)
78- throw("called")
167+@Callable(y)
168+func withdraw1 (R) = {
169+ let G = toBase58String(y.caller.bytes)
170+ let ae = (R + "_withdraw")
171+ if (isDefined(getString(this, ae)))
172+ then throw("You have already got your prize")
173+ else if (!(isDefined(getString(this, (R + "_winner")))))
174+ then throw("There is no winner, it was a draw")
175+ else {
176+ let ad = getStringValue(this, (R + "_winner"))
177+ let af = getStringValue(this, (R + "_player"))
178+ let ag = getIntegerValue(this, (R + "_sumBets"))
179+ if ((ag == 0))
180+ then throw("You won nothing this round")
181+ else if (if ((ad == G))
182+ then (ad == a)
183+ else false)
184+ then [StringEntry(ae, toString(ag)), ScriptTransfer(y.caller, ag, unit)]
185+ else if (if ((ad == G))
186+ then (ad == af)
187+ else false)
188+ then [StringEntry(ae, toString((ag * 2))), ScriptTransfer(y.caller, (ag * 2), unit)]
189+ else throw("You are not the winner")
190+ }
79191 }
80192
81193
82-@Verifier(w)
83-func x () = sigVerify(w.bodyBytes, w.proofs[0], w.senderPublicKey)
194+@Verifier(ah)
195+func ai () = sigVerify(ah.bodyBytes, ah.proofs[0], ah.senderPublicKey)
84196
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 5 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = "3MtaCL4v1bjTabUqs7oU4ofS8fbai34WM1i"
55
66 let b = 1000000000
77
88 let c = (100 * b)
99
1010 let d = ","
1111
12-func e (f) = if ((size(f.payments) == 0))
13- then throw("Payment must be attached")
14- else {
15- let g = f.payments[0]
16- if (isDefined(g.assetId))
17- then throw("This function accepts WAVES tokens only")
18- else g.amount
19- }
12+func e () = ["01C", "02C", "03C", "04C", "05C", "06C", "07C", "08C", "09C", "10C", "11C", "12C", "13C", "01D", "02D", "03D", "04D", "05D", "06D", "07D", "08D", "09D", "10D", "11D", "12D", "13D", "01H", "02H", "03H", "04H", "05H", "06H", "07H", "08H", "09H", "10H", "11H", "12H", "13H", "01S", "02S", "03S", "04S", "05S", "06S", "07S", "08S", "09S", "10S", "11S", "12S", "13S"]
2013
2114
22-func h (i,j) = {
23- let k = getInteger(i, j)
24- if ($isInstanceOf(k, "Int"))
15+func f () = (((((e() ++ e()) ++ e()) ++ e()) ++ e()) ++ e())
16+
17+
18+func g (h) = if ((0 >= size(h)))
19+ then f()
20+ else h
21+
22+
23+func i (j,k,l) = {
24+ let m = sha256(toBytes((j + k)))
25+ let n = toInt(m)
26+ let o = (n % l)
27+ if ((0 > o))
28+ then ((-1 * o) + 1)
29+ else (o + 1)
30+ }
31+
32+
33+func p (q) = {
34+ let r = getInteger(this, (q + "_LastRandonNumber"))
35+ if ($isInstanceOf(r, "Int"))
2536 then {
26- let l = k
27- l
37+ let s = r
38+ toString(s)
39+ }
40+ else q
41+ }
42+
43+
44+func t (u,v) = {
45+ let r = getInteger(u, v)
46+ if ($isInstanceOf(r, "Int"))
47+ then {
48+ let w = r
49+ w
2850 }
2951 else 0
3052 }
3153
3254
33-@Callable(f)
34-func bet2 (m) = {
35- let n = toBase58String(f.caller.bytes)
36- let o = e(f)
37- let p = h(a8, (m + "_sumBets"))
38- let q = {
39- let k = getInteger(a8, (m + "_drawSequence"))
40- if ($isInstanceOf(k, "Int"))
55+func x (y) = if ((size(y.payments) == 0))
56+ then throw("Payment must be attached")
57+ else {
58+ let z = y.payments[0]
59+ if (isDefined(z.assetId))
60+ then throw("This function accepts WAVES tokens only")
61+ else z.amount
62+ }
63+
64+
65+func A (B) = {
66+ let C = parseIntValue(take(B, 2))
67+ if ((C == 1))
68+ then 20
69+ else C
70+ }
71+
72+
73+func D (E,F,G,a) = {
74+ let C = A(E)
75+ let H = A(F)
76+ if ((C > H))
77+ then G
78+ else a
79+ }
80+
81+
82+func I (u,J) = if (isDefined(getString(u, J)))
83+ then {
84+ let K = getStringValue(u, J)
85+ let h = split(K, d)
86+ g(h)
87+ }
88+ else f()
89+
90+
91+func L (M,G,h) = {
92+ let N = g(h)
93+ let O = i(((M + makeString(N, d)) + G), p(G), size(N))
94+ let P = N[(O % size(N))]
95+ let Q = removeByIndex(N, (O % size(N)))
96+ $Tuple3(P, O, Q)
97+ }
98+
99+
100+@Callable(y)
101+func bet1 (R) = {
102+ let G = toBase58String(y.caller.bytes)
103+ let C = x(y)
104+ let S = t(this, (R + "_sumBets"))
105+ let T = {
106+ let r = getInteger(this, (R + "_drawSequence"))
107+ if ($isInstanceOf(r, "Int"))
41108 then {
42- let l = k
43- (l + 1)
109+ let w = r
110+ (w + 1)
44111 }
45112 else 0
46113 }
47- let r = {
48- let k = getString(a8, (m + "_player"))
49- if ($isInstanceOf(k, "String"))
114+ let U = {
115+ let r = getString(this, (R + "_player"))
116+ if ($isInstanceOf(r, "String"))
50117 then {
51- let l = k
52- l
118+ let w = r
119+ w
53120 }
54121 else unit
55122 }
56- let s = {
57- let k = getInteger(a8, (m + "_initialBet"))
58- if ($isInstanceOf(k, "Int"))
123+ let V = {
124+ let r = getInteger(this, (R + "_initialBet"))
125+ if ($isInstanceOf(r, "Int"))
59126 then {
60- let l = k
61- l
127+ let w = r
128+ w
62129 }
63- else o
130+ else C
64131 }
65- let t = (m + "_available")
66- let u = (p + o)
67- let v = getBoolean(a8, (m + "_stop"))
68- if (isDefined(v))
132+ let J = (R + "_available")
133+ let W = (S + C)
134+ if (if (isDefined(getBoolean(this, (R + "_stop"))))
135+ then true
136+ else isDefined(getString(this, R)))
69137 then throw("This round is already played")
70- else throw("bet2 finished all ok")
138+ else if (if (isDefined(getString(this, (R + "_player"))))
139+ then (U != G)
140+ else false)
141+ then throw("This is not your game")
142+ else if ((W > c))
143+ then throw(((("Maximum amount of bets for round " + toString(c)) + ". With your bet it's ") + toString(W)))
144+ else if ((V != C))
145+ then throw(((("Initial bet not maching original:" + toString(V)) + ", actual:") + toString(C)))
146+ else {
147+ let X = I(this, J)
148+ let Y = L(R, G, X)
149+ let E = Y._1
150+ let Z = Y._2
151+ let aa = Y._3
152+ let ab = L(R, G, aa)
153+ let F = ab._1
154+ let ac = ab._2
155+ let N = ab._3
156+ if ((A(E) == A(F)))
157+ then [StringEntry(J, makeString(N, d)), StringEntry((R + "_player"), G), IntegerEntry((R + "_initialBet"), V), StringEntry((R + "_salt_debug"), R), IntegerEntry((R + "_LastRandonNumber"), ac), IntegerEntry((R + "_sumBets"), W), StringEntry((R + "_playerCard"), E), StringEntry((R + "_casinoCard"), F), IntegerEntry((R + "_drawSequence"), (T + 1))]
158+ else {
159+ let ad = D(E, F, G, a)
160+[StringEntry(J, makeString(N, d)), StringEntry((R + "_player"), G), IntegerEntry((R + "_initialBet"), V), StringEntry((R + "_salt_debug"), R), IntegerEntry((R + "_LastRandonNumber"), ac), IntegerEntry((R + "_sumBets"), W), StringEntry((R + "_playerCard"), E), StringEntry((R + "_casinoCard"), F), BooleanEntry((R + "_stop"), true), StringEntry((R + "_winner"), ad)]
161+ }
162+ }
71163 }
72164
73165
74166
75-@Callable(f)
76-func withdraw2 (m) = {
77- let n = toBase58String(f.caller.bytes)
78- throw("called")
167+@Callable(y)
168+func withdraw1 (R) = {
169+ let G = toBase58String(y.caller.bytes)
170+ let ae = (R + "_withdraw")
171+ if (isDefined(getString(this, ae)))
172+ then throw("You have already got your prize")
173+ else if (!(isDefined(getString(this, (R + "_winner")))))
174+ then throw("There is no winner, it was a draw")
175+ else {
176+ let ad = getStringValue(this, (R + "_winner"))
177+ let af = getStringValue(this, (R + "_player"))
178+ let ag = getIntegerValue(this, (R + "_sumBets"))
179+ if ((ag == 0))
180+ then throw("You won nothing this round")
181+ else if (if ((ad == G))
182+ then (ad == a)
183+ else false)
184+ then [StringEntry(ae, toString(ag)), ScriptTransfer(y.caller, ag, unit)]
185+ else if (if ((ad == G))
186+ then (ad == af)
187+ else false)
188+ then [StringEntry(ae, toString((ag * 2))), ScriptTransfer(y.caller, (ag * 2), unit)]
189+ else throw("You are not the winner")
190+ }
79191 }
80192
81193
82-@Verifier(w)
83-func x () = sigVerify(w.bodyBytes, w.proofs[0], w.senderPublicKey)
194+@Verifier(ah)
195+func ai () = sigVerify(ah.bodyBytes, ah.proofs[0], ah.senderPublicKey)
84196

github/deemru/w8io/026f985 
45.24 ms