tx · 21d62buwCWZQHpi8QYsG6U1mPstEjhWKZDrJuq5JDyo7 3N9bCLWJvRQQmKHye2xD7xd3a8bGMicRo9R: -0.01000000 Waves 2023.06.13 13:39 [2620792] smart account 3N9bCLWJvRQQmKHye2xD7xd3a8bGMicRo9R > SELF 0.00000000 Waves
{ "type": 13, "id": "21d62buwCWZQHpi8QYsG6U1mPstEjhWKZDrJuq5JDyo7", "fee": 1000000, "feeAssetId": null, "timestamp": 1686652807305, "version": 2, "chainId": 84, "sender": "3N9bCLWJvRQQmKHye2xD7xd3a8bGMicRo9R", "senderPublicKey": "3Lws6NHDGo96BZXMyvFcRMbR4bh6sRJ3Y7UUcd5vvhqG", "proofs": [ "h8mVEnxfP7NVaJ4k7gE7Gf8sVX3vQuKb46tDw8JXD8Z6khUHc7w8ncqozWZmXsBHPAiLvSi5W86i5wGn3KvujLi" ], "script": "base64:BgIVCAISAwoBARIGCgQBAREIEgQKAgEBGwEKbnVtVG9XYXZlcwEDbnVtCQBoAgUDbnVtAIDC1y8BC2lzUGF5bWVudE9rAgFpA3N1bQQRYWNjZXB0YWJsZUFzc2V0SWQBBBOr2TMEAXAJAJEDAggFAWkIcGF5bWVudHMAAAMJAGcCCAUBcAZhbW91bnQJAQpudW1Ub1dhdmVzAQUDc3VtCQAAAggFAXAHYXNzZXRJZAUEdW5pdAcBC21hcEludFRvU3RyAgVhY2N1bQRuZXh0CQDMCAIJAKQDAQUEbmV4dAUFYWNjdW0BC21hcFN0clRvSW50AgVhY2N1bQRuZXh0CQDMCAIJAQ1wYXJzZUludFZhbHVlAQUEbmV4dAUFYWNjdW0BC21hcEludFRvU3VtAgVhY2N1bQRuZXh0CQBkAgUFYWNjdW0FBG5leHQBDGxpc3RJbnRUb1N1bQEDYXJyCgACJGwFA2FycgoAAiRzCQCQAwEFAiRsCgAFJGFjYzAAAAoBBSRmMF8xAgIkYQIkaQMJAGcCBQIkaQUCJHMFAiRhCQELbWFwSW50VG9TdW0CBQIkYQkAkQMCBQIk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6CQCkAwEFDHJhbmRvbU51bWJlcgISfHdpbm5pbmdBbW91bnRSZWQ6CQCkAwEFEHdpbm5pbmdBbW91bnRSZWQCFHx3aW5uaW5nQW1vdW50QmxhY2s6CQCkAwEFEndpbm5pbmdBbW91bnRCbGFjawITfHdpbm5pbmdBbW91bnRFdmVuOgkApAMBBRF3aW5uaW5nQW1vdW50RXZlbgISfHdpbm5pbmdBbW91bnRPZGQ6CQCkAwEFEHdpbm5pbmdBbW91bnRPZGQCFXx3aW5uaW5nQW1vdW50MTJ4M18xOgkApAMBBRN3aW5uaW5nQW1vdW50MTJ4M18xAhV8d2lubmluZ0Ftb3VudDEyeDNfMjoJAKQDAQUTd2lubmluZ0Ftb3VudDEyeDNfMgIVfHdpbm5pbmdBbW91bnQxMngzXzM6CQCkAwEFE3dpbm5pbmdBbW91bnQxMngzXzMCFXx3aW5uaW5nQW1vdW50MTh4Ml8xOgkApAMBBRN3aW5uaW5nQW1vdW50MTh4Ml8xAhV8d2lubmluZ0Ftb3VudDE4eDJfMjoJAKQDAQUTd2lubmluZ0Ftb3VudDE4eDJfMgAWZEbg", "height": 2620792, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: CfN4E9pGycMAVXrcpJmjbkJjtyY2uqfuhaFzYiNtoDBb Next: 7bSkxJTkF5oTtxxafmWjcbqU1po8ZFpeuBRqCwRZm2cQ Diff:
Old | New | Differences | |
---|---|---|---|
94 | 94 | func J (E) = { | |
95 | 95 | let H = sha256((value(value(blockInfoByHeight(E)).vrf) + toBytes(E))) | |
96 | 96 | let K = toInt(H, 24) | |
97 | - | let L = sha256((value(value(blockInfoByHeight(E)).vrf) + toBytes((E - | |
97 | + | let L = sha256((value(value(blockInfoByHeight(E)).vrf) + toBytes((E - 2)))) | |
98 | 98 | let M = toInt(L, 24) | |
99 | - | let N = (K % 37) | |
100 | - | let O = (M % 37) | |
101 | - | N | |
99 | + | let N = sha256((value(value(blockInfoByHeight(E)).vrf) + toBytes((E - 4)))) | |
100 | + | let O = toInt(N, 24) | |
101 | + | let P = (K % 37) | |
102 | + | let Q = (M % 37) | |
103 | + | if (((P % 2) != 0)) | |
104 | + | then Q | |
105 | + | else 0 | |
102 | 106 | } | |
103 | 107 | ||
104 | 108 | ||
105 | - | func | |
106 | - | let | |
107 | - | let | |
108 | - | if (( | |
109 | - | then if (containsElement( | |
110 | - | then ( | |
109 | + | func R (P,S,T,U) = { | |
110 | + | let V = [32, 19, 21, 25, 34, 27, 36, 30, 23, 5, 16, 1, 14, 9, 18, 7, 12, 3] | |
111 | + | let W = [2, 4, 6, 8, 10, 11, 13, 15, 17, 20, 22, 24, 26, 28, 29, 31, 33, 35] | |
112 | + | if ((U == "red")) | |
113 | + | then if (containsElement(V, P)) | |
114 | + | then (S * 2) | |
111 | 115 | else 0 | |
112 | - | else if (( | |
113 | - | then if (containsElement( | |
114 | - | then ( | |
116 | + | else if ((U == "black")) | |
117 | + | then if (containsElement(W, P)) | |
118 | + | then (S * 2) | |
115 | 119 | else 0 | |
116 | - | else if (( | |
117 | - | then if (if ((( | |
118 | - | then ( | |
120 | + | else if ((U == "odd")) | |
121 | + | then if (if (((P % 2) == 0)) | |
122 | + | then (P != 0) | |
119 | 123 | else false) | |
120 | - | then ( | |
124 | + | then (S * 2) | |
121 | 125 | else 0 | |
122 | - | else if (( | |
123 | - | then if (if ((( | |
124 | - | then ( | |
126 | + | else if ((U == "even")) | |
127 | + | then if (if (((P % 2) != 0)) | |
128 | + | then (P != 0) | |
125 | 129 | else false) | |
126 | - | then ( | |
130 | + | then (S * 2) | |
127 | 131 | else 0 | |
128 | - | else if (if ((size( | |
129 | - | then ( | |
132 | + | else if (if ((size(T) == 1)) | |
133 | + | then (U == "num") | |
130 | 134 | else false) | |
131 | - | then if (( | |
132 | - | then ( | |
135 | + | then if ((T[0] == P)) | |
136 | + | then (S * 36) | |
133 | 137 | else 0 | |
134 | - | else if ((size( | |
135 | - | then if (containsElement( | |
136 | - | then ( | |
138 | + | else if ((size(T) == 2)) | |
139 | + | then if (containsElement(T, P)) | |
140 | + | then (S * 18) | |
137 | 141 | else 0 | |
138 | - | else if ((size( | |
139 | - | then if (containsElement( | |
140 | - | then ( | |
142 | + | else if ((size(T) == 3)) | |
143 | + | then if (containsElement(T, P)) | |
144 | + | then (S * 12) | |
141 | 145 | else 0 | |
142 | - | else if ((size( | |
143 | - | then if (containsElement( | |
144 | - | then ( | |
146 | + | else if ((size(T) == 4)) | |
147 | + | then if (containsElement(T, P)) | |
148 | + | then (S * 9) | |
145 | 149 | else 0 | |
146 | - | else if ((size( | |
147 | - | then if (if (containsElement( | |
148 | - | then ( | |
150 | + | else if ((size(T) == 12)) | |
151 | + | then if (if (containsElement(T, P)) | |
152 | + | then (P != 0) | |
149 | 153 | else false) | |
150 | - | then ( | |
154 | + | then (S * 3) | |
151 | 155 | else 0 | |
152 | - | else if ((size( | |
153 | - | then if (if (containsElement( | |
154 | - | then ( | |
156 | + | else if ((size(T) == 18)) | |
157 | + | then if (if (containsElement(T, P)) | |
158 | + | then (P != 0) | |
155 | 159 | else false) | |
156 | - | then ( | |
160 | + | then (S * 2) | |
157 | 161 | else 0 | |
158 | 162 | else 0 | |
159 | 163 | } | |
160 | 164 | ||
161 | 165 | ||
162 | - | func | |
166 | + | func X (d) = ("bet_Roulette_" + toString(d.caller)) | |
163 | 167 | ||
164 | 168 | ||
165 | - | func | |
169 | + | func Y (d) = ("betAmount_Roulette_" + toString(d.caller)) | |
166 | 170 | ||
167 | 171 | ||
168 | - | func | |
172 | + | func Z (d) = ("selectedNumbers_Roulette_" + toString(d.caller)) | |
169 | 173 | ||
170 | 174 | ||
171 | - | func | |
175 | + | func aa (d) = ("direction_Roulette_" + toString(d.caller)) | |
172 | 176 | ||
173 | 177 | ||
174 | - | func | |
178 | + | func ab (d) = ((("log_Roulette_" + toString(d.caller)) + "_") + toBase58String(d.transactionId)) | |
175 | 179 | ||
176 | 180 | ||
177 | - | func | |
181 | + | func ac (d) = ("status_Roulette_" + toString(d.caller)) | |
178 | 182 | ||
179 | 183 | ||
180 | - | func | |
184 | + | func ad (d) = ("bet_LuckyWheel_" + toString(d.caller)) | |
181 | 185 | ||
182 | 186 | ||
183 | - | func | |
187 | + | func ae (d) = ("won_LuckyWheel_" + toString(d.caller)) | |
184 | 188 | ||
185 | 189 | ||
186 | - | func | |
190 | + | func af (d) = ("randomNumber_LuckyWheel_" + toString(d.caller)) | |
187 | 191 | ||
188 | 192 | ||
189 | - | func | |
193 | + | func ag (d) = ((("log_LuckyWheel_" + toString(d.caller)) + "_") + toBase58String(d.transactionId)) | |
190 | 194 | ||
191 | 195 | ||
192 | - | func | |
193 | - | let | |
194 | - | if ((1 == | |
196 | + | func ah (ai) = { | |
197 | + | let aj = ai | |
198 | + | if ((1 == aj)) | |
195 | 199 | then a(2) | |
196 | - | else if ((3 == | |
200 | + | else if ((3 == aj)) | |
197 | 201 | then a(1) | |
198 | - | else if ((7 == | |
202 | + | else if ((7 == aj)) | |
199 | 203 | then a(6) | |
200 | - | else if ((9 == | |
204 | + | else if ((9 == aj)) | |
201 | 205 | then a(1) | |
202 | 206 | else 0 | |
203 | 207 | } | |
204 | 208 | ||
205 | 209 | ||
206 | - | func | |
210 | + | func ak (d) = ("status_Roulette_" + toString(d.caller)) | |
207 | 211 | ||
208 | 212 | ||
209 | 213 | @Callable(d) | |
210 | 214 | func test_num (E) = { | |
211 | - | let | |
212 | - | throw(toString( | |
215 | + | let P = J(E) | |
216 | + | throw(toString(P)) | |
213 | 217 | } | |
214 | 218 | ||
215 | 219 | ||
216 | 220 | ||
217 | 221 | @Callable(d) | |
218 | - | func Roulette_reveal_test (E, | |
219 | - | let | |
220 | - | let | |
221 | - | throw(((toString( | |
222 | + | func Roulette_reveal_test (E,S,al,am) = { | |
223 | + | let P = J(E) | |
224 | + | let an = a(R(P, S, al, am)) | |
225 | + | throw(((toString(P) + "|") + toString(an))) | |
222 | 226 | } | |
223 | 227 | ||
224 | 228 | ||
225 | 229 | ||
226 | 230 | @Callable(d) | |
227 | - | func AllVariantTest (E, | |
228 | - | let | |
229 | - | let | |
230 | - | let | |
231 | - | let | |
232 | - | let | |
233 | - | let | |
234 | - | let | |
235 | - | let | |
236 | - | let | |
237 | - | let | |
238 | - | throw(((((((((((((((((((("|randomNumber:" + toString( | |
231 | + | func AllVariantTest (E,S) = { | |
232 | + | let P = J(E) | |
233 | + | let ao = a(R(P, S, nil, "red")) | |
234 | + | let ap = a(R(P, S, nil, "black")) | |
235 | + | let aq = a(R(P, S, nil, "even")) | |
236 | + | let ar = a(R(P, S, nil, "odd")) | |
237 | + | let as = a(R(P, S, [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12], "")) | |
238 | + | let at = a(R(P, S, [13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24], "")) | |
239 | + | let au = a(R(P, S, [25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36], "")) | |
240 | + | let av = a(R(P, S, [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18], "")) | |
241 | + | let aw = a(R(P, S, [19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36], "")) | |
242 | + | throw(((((((((((((((((((("|randomNumber:" + toString(P)) + "|winningAmountRed:") + toString(ao)) + "|winningAmountBlack:") + toString(ap)) + "|winningAmountEven:") + toString(aq)) + "|winningAmountOdd:") + toString(ar)) + "|winningAmount12x3_1:") + toString(as)) + "|winningAmount12x3_2:") + toString(at)) + "|winningAmount12x3_3:") + toString(au)) + "|winningAmount18x2_1:") + toString(av)) + "|winningAmount18x2_2:") + toString(aw))) | |
239 | 243 | } | |
240 | 244 | ||
241 | 245 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | func a (b) = (b * 100000000) | |
5 | 5 | ||
6 | 6 | ||
7 | 7 | func c (d,e) = { | |
8 | 8 | let f = base58'WAVES' | |
9 | 9 | let g = d.payments[0] | |
10 | 10 | if ((g.amount >= a(e))) | |
11 | 11 | then (g.assetId == unit) | |
12 | 12 | else false | |
13 | 13 | } | |
14 | 14 | ||
15 | 15 | ||
16 | 16 | func h (i,j) = toString(j) :: i | |
17 | 17 | ||
18 | 18 | ||
19 | 19 | func k (i,j) = parseIntValue(j) :: i | |
20 | 20 | ||
21 | 21 | ||
22 | 22 | func l (i,j) = (i + j) | |
23 | 23 | ||
24 | 24 | ||
25 | 25 | func m (n) = { | |
26 | 26 | let o = n | |
27 | 27 | let p = size(o) | |
28 | 28 | let q = 0 | |
29 | 29 | func r (s,t) = if ((t >= p)) | |
30 | 30 | then s | |
31 | 31 | else l(s, o[t]) | |
32 | 32 | ||
33 | 33 | func u (s,t) = if ((t >= p)) | |
34 | 34 | then s | |
35 | 35 | else throw("List size exceeds 50") | |
36 | 36 | ||
37 | 37 | u(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(q, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50) | |
38 | 38 | } | |
39 | 39 | ||
40 | 40 | ||
41 | 41 | func v (n) = { | |
42 | 42 | let o = n | |
43 | 43 | let p = size(o) | |
44 | 44 | let q = nil | |
45 | 45 | func r (s,t) = if ((t >= p)) | |
46 | 46 | then s | |
47 | 47 | else h(s, o[t]) | |
48 | 48 | ||
49 | 49 | func u (s,t) = if ((t >= p)) | |
50 | 50 | then s | |
51 | 51 | else throw("List size exceeds 50") | |
52 | 52 | ||
53 | 53 | u(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(q, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50) | |
54 | 54 | } | |
55 | 55 | ||
56 | 56 | ||
57 | 57 | func w (n) = { | |
58 | 58 | let o = n | |
59 | 59 | let p = size(o) | |
60 | 60 | let q = nil | |
61 | 61 | func r (s,t) = if ((t >= p)) | |
62 | 62 | then s | |
63 | 63 | else k(s, o[t]) | |
64 | 64 | ||
65 | 65 | func u (s,t) = if ((t >= p)) | |
66 | 66 | then s | |
67 | 67 | else throw("List size exceeds 50") | |
68 | 68 | ||
69 | 69 | u(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(r(q, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50) | |
70 | 70 | } | |
71 | 71 | ||
72 | 72 | ||
73 | 73 | func x (n) = makeString(n, "|") | |
74 | 74 | ||
75 | 75 | ||
76 | 76 | func y (z) = split(z, "|") | |
77 | 77 | ||
78 | 78 | ||
79 | 79 | func A (n) = makeString(v(n), "|") | |
80 | 80 | ||
81 | 81 | ||
82 | 82 | func B (C) = w(split(C, "|")) | |
83 | 83 | ||
84 | 84 | ||
85 | 85 | func D (E) = { | |
86 | 86 | let F = valueOrErrorMessage(blockInfoByHeight(E), "unexcpected error") | |
87 | 87 | let G = valueOrErrorMessage(F.vrf, "unexcpected error") | |
88 | 88 | let H = sha256(value(G)) | |
89 | 89 | let I = toInt(H, 16) | |
90 | 90 | (I % 37) | |
91 | 91 | } | |
92 | 92 | ||
93 | 93 | ||
94 | 94 | func J (E) = { | |
95 | 95 | let H = sha256((value(value(blockInfoByHeight(E)).vrf) + toBytes(E))) | |
96 | 96 | let K = toInt(H, 24) | |
97 | - | let L = sha256((value(value(blockInfoByHeight(E)).vrf) + toBytes((E - | |
97 | + | let L = sha256((value(value(blockInfoByHeight(E)).vrf) + toBytes((E - 2)))) | |
98 | 98 | let M = toInt(L, 24) | |
99 | - | let N = (K % 37) | |
100 | - | let O = (M % 37) | |
101 | - | N | |
99 | + | let N = sha256((value(value(blockInfoByHeight(E)).vrf) + toBytes((E - 4)))) | |
100 | + | let O = toInt(N, 24) | |
101 | + | let P = (K % 37) | |
102 | + | let Q = (M % 37) | |
103 | + | if (((P % 2) != 0)) | |
104 | + | then Q | |
105 | + | else 0 | |
102 | 106 | } | |
103 | 107 | ||
104 | 108 | ||
105 | - | func | |
106 | - | let | |
107 | - | let | |
108 | - | if (( | |
109 | - | then if (containsElement( | |
110 | - | then ( | |
109 | + | func R (P,S,T,U) = { | |
110 | + | let V = [32, 19, 21, 25, 34, 27, 36, 30, 23, 5, 16, 1, 14, 9, 18, 7, 12, 3] | |
111 | + | let W = [2, 4, 6, 8, 10, 11, 13, 15, 17, 20, 22, 24, 26, 28, 29, 31, 33, 35] | |
112 | + | if ((U == "red")) | |
113 | + | then if (containsElement(V, P)) | |
114 | + | then (S * 2) | |
111 | 115 | else 0 | |
112 | - | else if (( | |
113 | - | then if (containsElement( | |
114 | - | then ( | |
116 | + | else if ((U == "black")) | |
117 | + | then if (containsElement(W, P)) | |
118 | + | then (S * 2) | |
115 | 119 | else 0 | |
116 | - | else if (( | |
117 | - | then if (if ((( | |
118 | - | then ( | |
120 | + | else if ((U == "odd")) | |
121 | + | then if (if (((P % 2) == 0)) | |
122 | + | then (P != 0) | |
119 | 123 | else false) | |
120 | - | then ( | |
124 | + | then (S * 2) | |
121 | 125 | else 0 | |
122 | - | else if (( | |
123 | - | then if (if ((( | |
124 | - | then ( | |
126 | + | else if ((U == "even")) | |
127 | + | then if (if (((P % 2) != 0)) | |
128 | + | then (P != 0) | |
125 | 129 | else false) | |
126 | - | then ( | |
130 | + | then (S * 2) | |
127 | 131 | else 0 | |
128 | - | else if (if ((size( | |
129 | - | then ( | |
132 | + | else if (if ((size(T) == 1)) | |
133 | + | then (U == "num") | |
130 | 134 | else false) | |
131 | - | then if (( | |
132 | - | then ( | |
135 | + | then if ((T[0] == P)) | |
136 | + | then (S * 36) | |
133 | 137 | else 0 | |
134 | - | else if ((size( | |
135 | - | then if (containsElement( | |
136 | - | then ( | |
138 | + | else if ((size(T) == 2)) | |
139 | + | then if (containsElement(T, P)) | |
140 | + | then (S * 18) | |
137 | 141 | else 0 | |
138 | - | else if ((size( | |
139 | - | then if (containsElement( | |
140 | - | then ( | |
142 | + | else if ((size(T) == 3)) | |
143 | + | then if (containsElement(T, P)) | |
144 | + | then (S * 12) | |
141 | 145 | else 0 | |
142 | - | else if ((size( | |
143 | - | then if (containsElement( | |
144 | - | then ( | |
146 | + | else if ((size(T) == 4)) | |
147 | + | then if (containsElement(T, P)) | |
148 | + | then (S * 9) | |
145 | 149 | else 0 | |
146 | - | else if ((size( | |
147 | - | then if (if (containsElement( | |
148 | - | then ( | |
150 | + | else if ((size(T) == 12)) | |
151 | + | then if (if (containsElement(T, P)) | |
152 | + | then (P != 0) | |
149 | 153 | else false) | |
150 | - | then ( | |
154 | + | then (S * 3) | |
151 | 155 | else 0 | |
152 | - | else if ((size( | |
153 | - | then if (if (containsElement( | |
154 | - | then ( | |
156 | + | else if ((size(T) == 18)) | |
157 | + | then if (if (containsElement(T, P)) | |
158 | + | then (P != 0) | |
155 | 159 | else false) | |
156 | - | then ( | |
160 | + | then (S * 2) | |
157 | 161 | else 0 | |
158 | 162 | else 0 | |
159 | 163 | } | |
160 | 164 | ||
161 | 165 | ||
162 | - | func | |
166 | + | func X (d) = ("bet_Roulette_" + toString(d.caller)) | |
163 | 167 | ||
164 | 168 | ||
165 | - | func | |
169 | + | func Y (d) = ("betAmount_Roulette_" + toString(d.caller)) | |
166 | 170 | ||
167 | 171 | ||
168 | - | func | |
172 | + | func Z (d) = ("selectedNumbers_Roulette_" + toString(d.caller)) | |
169 | 173 | ||
170 | 174 | ||
171 | - | func | |
175 | + | func aa (d) = ("direction_Roulette_" + toString(d.caller)) | |
172 | 176 | ||
173 | 177 | ||
174 | - | func | |
178 | + | func ab (d) = ((("log_Roulette_" + toString(d.caller)) + "_") + toBase58String(d.transactionId)) | |
175 | 179 | ||
176 | 180 | ||
177 | - | func | |
181 | + | func ac (d) = ("status_Roulette_" + toString(d.caller)) | |
178 | 182 | ||
179 | 183 | ||
180 | - | func | |
184 | + | func ad (d) = ("bet_LuckyWheel_" + toString(d.caller)) | |
181 | 185 | ||
182 | 186 | ||
183 | - | func | |
187 | + | func ae (d) = ("won_LuckyWheel_" + toString(d.caller)) | |
184 | 188 | ||
185 | 189 | ||
186 | - | func | |
190 | + | func af (d) = ("randomNumber_LuckyWheel_" + toString(d.caller)) | |
187 | 191 | ||
188 | 192 | ||
189 | - | func | |
193 | + | func ag (d) = ((("log_LuckyWheel_" + toString(d.caller)) + "_") + toBase58String(d.transactionId)) | |
190 | 194 | ||
191 | 195 | ||
192 | - | func | |
193 | - | let | |
194 | - | if ((1 == | |
196 | + | func ah (ai) = { | |
197 | + | let aj = ai | |
198 | + | if ((1 == aj)) | |
195 | 199 | then a(2) | |
196 | - | else if ((3 == | |
200 | + | else if ((3 == aj)) | |
197 | 201 | then a(1) | |
198 | - | else if ((7 == | |
202 | + | else if ((7 == aj)) | |
199 | 203 | then a(6) | |
200 | - | else if ((9 == | |
204 | + | else if ((9 == aj)) | |
201 | 205 | then a(1) | |
202 | 206 | else 0 | |
203 | 207 | } | |
204 | 208 | ||
205 | 209 | ||
206 | - | func | |
210 | + | func ak (d) = ("status_Roulette_" + toString(d.caller)) | |
207 | 211 | ||
208 | 212 | ||
209 | 213 | @Callable(d) | |
210 | 214 | func test_num (E) = { | |
211 | - | let | |
212 | - | throw(toString( | |
215 | + | let P = J(E) | |
216 | + | throw(toString(P)) | |
213 | 217 | } | |
214 | 218 | ||
215 | 219 | ||
216 | 220 | ||
217 | 221 | @Callable(d) | |
218 | - | func Roulette_reveal_test (E, | |
219 | - | let | |
220 | - | let | |
221 | - | throw(((toString( | |
222 | + | func Roulette_reveal_test (E,S,al,am) = { | |
223 | + | let P = J(E) | |
224 | + | let an = a(R(P, S, al, am)) | |
225 | + | throw(((toString(P) + "|") + toString(an))) | |
222 | 226 | } | |
223 | 227 | ||
224 | 228 | ||
225 | 229 | ||
226 | 230 | @Callable(d) | |
227 | - | func AllVariantTest (E, | |
228 | - | let | |
229 | - | let | |
230 | - | let | |
231 | - | let | |
232 | - | let | |
233 | - | let | |
234 | - | let | |
235 | - | let | |
236 | - | let | |
237 | - | let | |
238 | - | throw(((((((((((((((((((("|randomNumber:" + toString( | |
231 | + | func AllVariantTest (E,S) = { | |
232 | + | let P = J(E) | |
233 | + | let ao = a(R(P, S, nil, "red")) | |
234 | + | let ap = a(R(P, S, nil, "black")) | |
235 | + | let aq = a(R(P, S, nil, "even")) | |
236 | + | let ar = a(R(P, S, nil, "odd")) | |
237 | + | let as = a(R(P, S, [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12], "")) | |
238 | + | let at = a(R(P, S, [13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24], "")) | |
239 | + | let au = a(R(P, S, [25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36], "")) | |
240 | + | let av = a(R(P, S, [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18], "")) | |
241 | + | let aw = a(R(P, S, [19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36], "")) | |
242 | + | throw(((((((((((((((((((("|randomNumber:" + toString(P)) + "|winningAmountRed:") + toString(ao)) + "|winningAmountBlack:") + toString(ap)) + "|winningAmountEven:") + toString(aq)) + "|winningAmountOdd:") + toString(ar)) + "|winningAmount12x3_1:") + toString(as)) + "|winningAmount12x3_2:") + toString(at)) + "|winningAmount12x3_3:") + toString(au)) + "|winningAmount18x2_1:") + toString(av)) + "|winningAmount18x2_2:") + toString(aw))) | |
239 | 243 | } | |
240 | 244 | ||
241 | 245 |
github/deemru/w8io/169f3d6 92.93 ms ◑