tx · CK2XfeFDXkcYYFWR8VMyYeFB9SjyGeiEPqGZrrQy9hza 3MrfLFw1uz3BDr45RQLvrRnAwT2nHpB4KiX: -0.01000000 Waves 2023.06.15 10:39 [2623473] smart account 3MrfLFw1uz3BDr45RQLvrRnAwT2nHpB4KiX > SELF 0.00000000 Waves
{ "type": 13, "id": "CK2XfeFDXkcYYFWR8VMyYeFB9SjyGeiEPqGZrrQy9hza", "fee": 1000000, "feeAssetId": null, "timestamp": 1686814793720, "version": 2, "chainId": 84, "sender": "3MrfLFw1uz3BDr45RQLvrRnAwT2nHpB4KiX", "senderPublicKey": "5iiNX4Sz3qZzcerumQLc1y7u9TH2X46jDV4f9Xivtmtv", "proofs": [ "N9ijRcczh25zgZA4MhRfREL8h5PzX39jFJcFPfwQpoF2RvjbFFRrnLvWM5TZHXGkK7uk53RCcDZ7v4jSwkgGPfo" ], "script": "base64:BgIVCAISAwoBARIGCgQBAREIEgQKAgEBGwEKbnVtVG9XYXZlcwEDbnVtCQBoAgUDbnVtAIDC1y8BC2lzUGF5bWVudE9rAgFpA3N1bQQRYWNjZXB0YWJsZUFzc2V0SWQBBBOr2TMEAXAJAJEDAggFAWkIcGF5bWVudHMAAAMJAGcCCAUBcAZhbW91bnQJAQpudW1Ub1dhdmVzAQUDc3VtCQAAAggFAXAHYXNzZXRJZAUEdW5pdAcBC21hcEludFRvU3RyAgVhY2N1bQRuZXh0CQDMCAIJAKQDAQUEbmV4dAUFYWNjdW0BC21hcFN0clRvSW50AgVhY2N1bQRuZXh0CQDMCAIJAQ1wYXJzZUludFZhbHVlAQUEbmV4dAUFYWNjdW0BC21hcEludFRvU3VtAgVhY2N1bQRuZXh0CQBkAgUFYWNjdW0FBG5leHQBDGxpc3RJbnRUb1N1bQEDYXJyCgACJGwFA2FycgoAAiRzCQCQAwEFAiRsCgAFJGFjYzAAAAoBBSRmMF8xAgIkYQIkaQMJAGcCBQIkaQUCJHMFAiRhCQELbWFwSW50VG9TdW0CBQIkYQkAkQMCB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gCABcJAMwIAgAYCQDMCAIAGQkAzAgCABoJAMwIAgAbCQDMCAIAHAkAzAgCAB0JAMwIAgAeCQDMCAIAHwkAzAgCACAJAMwIAgAhCQDMCAIAIgkAzAgCACMJAMwIAgAkBQNuaWwCAAkAAgEJAKwCAgkArAICCQCsAgIJAKwCAgkArAICCQCsAgIJAKwCAgkArAICCQCsAgIJAKwCAgkArAICCQCsAgIJAKwCAgkArAICCQCsAgIJAKwCAgkArAICCQCsAgIJAKwCAgIOfHJhbmRvbU51bWJlcjoJAKQDAQUMcmFuZG9tTnVtYmVyAhJ8d2lubmluZ0Ftb3VudFJlZDoJAKQDAQUQd2lubmluZ0Ftb3VudFJlZAIUfHdpbm5pbmdBbW91bnRCbGFjazoJAKQDAQUSd2lubmluZ0Ftb3VudEJsYWNrAhN8d2lubmluZ0Ftb3VudEV2ZW46CQCkAwEFEXdpbm5pbmdBbW91bnRFdmVuAhJ8d2lubmluZ0Ftb3VudE9kZDoJAKQDAQUQd2lubmluZ0Ftb3VudE9kZAIVfHdpbm5pbmdBbW91bnQxMngzXzE6CQCkAwEFE3dpbm5pbmdBbW91bnQxMngzXzECFXx3aW5uaW5nQW1vdW50MTJ4M18yOgkApAMBBRN3aW5uaW5nQW1vdW50MTJ4M18yAhV8d2lubmluZ0Ftb3VudDEyeDNfMzoJAKQDAQUTd2lubmluZ0Ftb3VudDEyeDNfMwIVfHdpbm5pbmdBbW91bnQxOHgyXzE6CQCkAwEFE3dpbm5pbmdBbW91bnQxOHgyXzECFXx3aW5uaW5nQW1vdW50MTh4Ml8yOgkApAMBBRN3aW5uaW5nQW1vdW50MTh4Ml8yABqFli0=", "height": 2623473, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 7mmeiNfNKGoNZJUFBiHNRvT81Yjtv5Gqrx6u9R8Phrw6 Next: 9ChqCbQmpQnK2GEyYvoeQu2o8E1YhUKujgZxc66WzCFe Diff:
Old | New | Differences | |
---|---|---|---|
92 | 92 | ||
93 | 93 | ||
94 | 94 | func J (E) = { | |
95 | + | let K = [32, 19, 21, 25, 34, 27, 36, 30, 23, 5, 16, 1, 14, 9, 18, 7, 12, 3] | |
95 | 96 | let H = sha256((value(value(blockInfoByHeight(E)).vrf) + toBytes(E))) | |
96 | - | let K = toInt(H, 24) | |
97 | - | let L = sha256((value(value(blockInfoByHeight(E)).vrf) + toBytes((E - 2)))) | |
98 | - | let M = toInt(L, 24) | |
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 | - | let R = (O % 37) | |
104 | - | P | |
97 | + | let L = toInt(H, 24) | |
98 | + | let M = sha256((value(value(blockInfoByHeight(E)).vrf) + toBytes((E - 2)))) | |
99 | + | let N = toInt(M, 24) | |
100 | + | let O = sha256((value(value(blockInfoByHeight(E)).vrf) + toBytes((E - 4)))) | |
101 | + | let P = toInt(O, 24) | |
102 | + | let Q = (L % 37) | |
103 | + | let R = (N % 37) | |
104 | + | let S = (P % 37) | |
105 | + | if (if ((12 > Q)) | |
106 | + | then containsElement(K, Q) | |
107 | + | else false) | |
108 | + | then R | |
109 | + | else Q | |
105 | 110 | } | |
106 | 111 | ||
107 | 112 | ||
108 | - | func | |
109 | - | let | |
113 | + | func T (Q,U,V,W) = { | |
114 | + | let K = [32, 19, 21, 25, 34, 27, 36, 30, 23, 5, 16, 1, 14, 9, 18, 7, 12, 3] | |
110 | 115 | let X = [2, 4, 6, 8, 10, 11, 13, 15, 17, 20, 22, 24, 26, 28, 29, 31, 33, 35] | |
111 | - | if (( | |
112 | - | then if (containsElement( | |
113 | - | then ( | |
116 | + | if ((W == "red")) | |
117 | + | then if (containsElement(K, Q)) | |
118 | + | then (U * 2) | |
114 | 119 | else 0 | |
115 | - | else if (( | |
116 | - | then if (containsElement(X, | |
117 | - | then ( | |
120 | + | else if ((W == "black")) | |
121 | + | then if (containsElement(X, Q)) | |
122 | + | then (U * 2) | |
118 | 123 | else 0 | |
119 | - | else if (( | |
120 | - | then if (if ((( | |
121 | - | then ( | |
124 | + | else if ((W == "odd")) | |
125 | + | then if (if (((Q % 2) != 0)) | |
126 | + | then (Q != 0) | |
122 | 127 | else false) | |
123 | - | then ( | |
128 | + | then (U * 2) | |
124 | 129 | else 0 | |
125 | - | else if (( | |
126 | - | then if (if ((( | |
127 | - | then ( | |
130 | + | else if ((W == "even")) | |
131 | + | then if (if (((Q % 2) == 0)) | |
132 | + | then (Q != 0) | |
128 | 133 | else false) | |
129 | - | then ( | |
134 | + | then (U * 2) | |
130 | 135 | else 0 | |
131 | - | else if (if ((size( | |
132 | - | then ( | |
136 | + | else if (if ((size(V) == 1)) | |
137 | + | then (W == "num") | |
133 | 138 | else false) | |
134 | - | then if (( | |
135 | - | then ( | |
139 | + | then if ((V[0] == Q)) | |
140 | + | then (U * 36) | |
136 | 141 | else 0 | |
137 | - | else if ((size( | |
138 | - | then if (containsElement( | |
139 | - | then ( | |
142 | + | else if ((size(V) == 2)) | |
143 | + | then if (containsElement(V, Q)) | |
144 | + | then (U * 18) | |
140 | 145 | else 0 | |
141 | - | else if ((size( | |
142 | - | then if (containsElement( | |
143 | - | then ( | |
146 | + | else if ((size(V) == 3)) | |
147 | + | then if (containsElement(V, Q)) | |
148 | + | then (U * 12) | |
144 | 149 | else 0 | |
145 | - | else if ((size( | |
146 | - | then if (containsElement( | |
147 | - | then ( | |
150 | + | else if ((size(V) == 4)) | |
151 | + | then if (containsElement(V, Q)) | |
152 | + | then (U * 9) | |
148 | 153 | else 0 | |
149 | - | else if ((size( | |
150 | - | then if (if (containsElement( | |
151 | - | then ( | |
154 | + | else if ((size(V) == 12)) | |
155 | + | then if (if (containsElement(V, Q)) | |
156 | + | then (Q != 0) | |
152 | 157 | else false) | |
153 | - | then ( | |
158 | + | then (U * 3) | |
154 | 159 | else 0 | |
155 | - | else if ((size( | |
156 | - | then if (if (containsElement( | |
157 | - | then ( | |
160 | + | else if ((size(V) == 18)) | |
161 | + | then if (if (containsElement(V, Q)) | |
162 | + | then (Q != 0) | |
158 | 163 | else false) | |
159 | - | then ( | |
164 | + | then (U * 2) | |
160 | 165 | else 0 | |
161 | 166 | else 0 | |
162 | 167 | } | |
211 | 216 | ||
212 | 217 | @Callable(d) | |
213 | 218 | func test_num (E) = { | |
214 | - | let | |
215 | - | throw(toString( | |
219 | + | let Q = J(E) | |
220 | + | throw(toString(Q)) | |
216 | 221 | } | |
217 | 222 | ||
218 | 223 | ||
219 | 224 | ||
220 | 225 | @Callable(d) | |
221 | - | func Roulette_reveal_test (E, | |
222 | - | let | |
223 | - | let ao = a( | |
224 | - | throw(((toString( | |
226 | + | func Roulette_reveal_test (E,U,am,an) = { | |
227 | + | let Q = J(E) | |
228 | + | let ao = a(T(Q, U, am, an)) | |
229 | + | throw(((toString(Q) + "|") + toString(ao))) | |
225 | 230 | } | |
226 | 231 | ||
227 | 232 | ||
228 | 233 | ||
229 | 234 | @Callable(d) | |
230 | - | func AllVariantTest (E, | |
231 | - | let | |
232 | - | let ap = a( | |
233 | - | let aq = a( | |
234 | - | let ar = a( | |
235 | - | let as = a( | |
236 | - | let at = a( | |
237 | - | let au = a( | |
238 | - | let av = a( | |
239 | - | let aw = a( | |
240 | - | let ax = a( | |
241 | - | throw(((((((((((((((((((("|randomNumber:" + toString( | |
235 | + | func AllVariantTest (E,U) = { | |
236 | + | let Q = J(E) | |
237 | + | let ap = a(T(Q, U, nil, "red")) | |
238 | + | let aq = a(T(Q, U, nil, "black")) | |
239 | + | let ar = a(T(Q, U, nil, "even")) | |
240 | + | let as = a(T(Q, U, nil, "odd")) | |
241 | + | let at = a(T(Q, U, [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12], "")) | |
242 | + | let au = a(T(Q, U, [13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24], "")) | |
243 | + | let av = a(T(Q, U, [25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36], "")) | |
244 | + | let aw = a(T(Q, U, [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18], "")) | |
245 | + | let ax = a(T(Q, U, [19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36], "")) | |
246 | + | throw(((((((((((((((((((("|randomNumber:" + toString(Q)) + "|winningAmountRed:") + toString(ap)) + "|winningAmountBlack:") + toString(aq)) + "|winningAmountEven:") + toString(ar)) + "|winningAmountOdd:") + toString(as)) + "|winningAmount12x3_1:") + toString(at)) + "|winningAmount12x3_2:") + toString(au)) + "|winningAmount12x3_3:") + toString(av)) + "|winningAmount18x2_1:") + toString(aw)) + "|winningAmount18x2_2:") + toString(ax))) | |
242 | 247 | } | |
243 | 248 | ||
244 | 249 |
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 | + | let K = [32, 19, 21, 25, 34, 27, 36, 30, 23, 5, 16, 1, 14, 9, 18, 7, 12, 3] | |
95 | 96 | let H = sha256((value(value(blockInfoByHeight(E)).vrf) + toBytes(E))) | |
96 | - | let K = toInt(H, 24) | |
97 | - | let L = sha256((value(value(blockInfoByHeight(E)).vrf) + toBytes((E - 2)))) | |
98 | - | let M = toInt(L, 24) | |
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 | - | let R = (O % 37) | |
104 | - | P | |
97 | + | let L = toInt(H, 24) | |
98 | + | let M = sha256((value(value(blockInfoByHeight(E)).vrf) + toBytes((E - 2)))) | |
99 | + | let N = toInt(M, 24) | |
100 | + | let O = sha256((value(value(blockInfoByHeight(E)).vrf) + toBytes((E - 4)))) | |
101 | + | let P = toInt(O, 24) | |
102 | + | let Q = (L % 37) | |
103 | + | let R = (N % 37) | |
104 | + | let S = (P % 37) | |
105 | + | if (if ((12 > Q)) | |
106 | + | then containsElement(K, Q) | |
107 | + | else false) | |
108 | + | then R | |
109 | + | else Q | |
105 | 110 | } | |
106 | 111 | ||
107 | 112 | ||
108 | - | func | |
109 | - | let | |
113 | + | func T (Q,U,V,W) = { | |
114 | + | let K = [32, 19, 21, 25, 34, 27, 36, 30, 23, 5, 16, 1, 14, 9, 18, 7, 12, 3] | |
110 | 115 | let X = [2, 4, 6, 8, 10, 11, 13, 15, 17, 20, 22, 24, 26, 28, 29, 31, 33, 35] | |
111 | - | if (( | |
112 | - | then if (containsElement( | |
113 | - | then ( | |
116 | + | if ((W == "red")) | |
117 | + | then if (containsElement(K, Q)) | |
118 | + | then (U * 2) | |
114 | 119 | else 0 | |
115 | - | else if (( | |
116 | - | then if (containsElement(X, | |
117 | - | then ( | |
120 | + | else if ((W == "black")) | |
121 | + | then if (containsElement(X, Q)) | |
122 | + | then (U * 2) | |
118 | 123 | else 0 | |
119 | - | else if (( | |
120 | - | then if (if ((( | |
121 | - | then ( | |
124 | + | else if ((W == "odd")) | |
125 | + | then if (if (((Q % 2) != 0)) | |
126 | + | then (Q != 0) | |
122 | 127 | else false) | |
123 | - | then ( | |
128 | + | then (U * 2) | |
124 | 129 | else 0 | |
125 | - | else if (( | |
126 | - | then if (if ((( | |
127 | - | then ( | |
130 | + | else if ((W == "even")) | |
131 | + | then if (if (((Q % 2) == 0)) | |
132 | + | then (Q != 0) | |
128 | 133 | else false) | |
129 | - | then ( | |
134 | + | then (U * 2) | |
130 | 135 | else 0 | |
131 | - | else if (if ((size( | |
132 | - | then ( | |
136 | + | else if (if ((size(V) == 1)) | |
137 | + | then (W == "num") | |
133 | 138 | else false) | |
134 | - | then if (( | |
135 | - | then ( | |
139 | + | then if ((V[0] == Q)) | |
140 | + | then (U * 36) | |
136 | 141 | else 0 | |
137 | - | else if ((size( | |
138 | - | then if (containsElement( | |
139 | - | then ( | |
142 | + | else if ((size(V) == 2)) | |
143 | + | then if (containsElement(V, Q)) | |
144 | + | then (U * 18) | |
140 | 145 | else 0 | |
141 | - | else if ((size( | |
142 | - | then if (containsElement( | |
143 | - | then ( | |
146 | + | else if ((size(V) == 3)) | |
147 | + | then if (containsElement(V, Q)) | |
148 | + | then (U * 12) | |
144 | 149 | else 0 | |
145 | - | else if ((size( | |
146 | - | then if (containsElement( | |
147 | - | then ( | |
150 | + | else if ((size(V) == 4)) | |
151 | + | then if (containsElement(V, Q)) | |
152 | + | then (U * 9) | |
148 | 153 | else 0 | |
149 | - | else if ((size( | |
150 | - | then if (if (containsElement( | |
151 | - | then ( | |
154 | + | else if ((size(V) == 12)) | |
155 | + | then if (if (containsElement(V, Q)) | |
156 | + | then (Q != 0) | |
152 | 157 | else false) | |
153 | - | then ( | |
158 | + | then (U * 3) | |
154 | 159 | else 0 | |
155 | - | else if ((size( | |
156 | - | then if (if (containsElement( | |
157 | - | then ( | |
160 | + | else if ((size(V) == 18)) | |
161 | + | then if (if (containsElement(V, Q)) | |
162 | + | then (Q != 0) | |
158 | 163 | else false) | |
159 | - | then ( | |
164 | + | then (U * 2) | |
160 | 165 | else 0 | |
161 | 166 | else 0 | |
162 | 167 | } | |
163 | 168 | ||
164 | 169 | ||
165 | 170 | func Y (d) = ("bet_Roulette_" + toString(d.caller)) | |
166 | 171 | ||
167 | 172 | ||
168 | 173 | func Z (d) = ("betAmount_Roulette_" + toString(d.caller)) | |
169 | 174 | ||
170 | 175 | ||
171 | 176 | func aa (d) = ("selectedNumbers_Roulette_" + toString(d.caller)) | |
172 | 177 | ||
173 | 178 | ||
174 | 179 | func ab (d) = ("direction_Roulette_" + toString(d.caller)) | |
175 | 180 | ||
176 | 181 | ||
177 | 182 | func ac (d) = ((("log_Roulette_" + toString(d.caller)) + "_") + toBase58String(d.transactionId)) | |
178 | 183 | ||
179 | 184 | ||
180 | 185 | func ad (d) = ("status_Roulette_" + toString(d.caller)) | |
181 | 186 | ||
182 | 187 | ||
183 | 188 | func ae (d) = ("bet_LuckyWheel_" + toString(d.caller)) | |
184 | 189 | ||
185 | 190 | ||
186 | 191 | func af (d) = ("won_LuckyWheel_" + toString(d.caller)) | |
187 | 192 | ||
188 | 193 | ||
189 | 194 | func ag (d) = ("randomNumber_LuckyWheel_" + toString(d.caller)) | |
190 | 195 | ||
191 | 196 | ||
192 | 197 | func ah (d) = ((("log_LuckyWheel_" + toString(d.caller)) + "_") + toBase58String(d.transactionId)) | |
193 | 198 | ||
194 | 199 | ||
195 | 200 | func ai (aj) = { | |
196 | 201 | let ak = aj | |
197 | 202 | if ((1 == ak)) | |
198 | 203 | then a(2) | |
199 | 204 | else if ((3 == ak)) | |
200 | 205 | then a(1) | |
201 | 206 | else if ((7 == ak)) | |
202 | 207 | then a(6) | |
203 | 208 | else if ((9 == ak)) | |
204 | 209 | then a(1) | |
205 | 210 | else 0 | |
206 | 211 | } | |
207 | 212 | ||
208 | 213 | ||
209 | 214 | func al (d) = ("status_Roulette_" + toString(d.caller)) | |
210 | 215 | ||
211 | 216 | ||
212 | 217 | @Callable(d) | |
213 | 218 | func test_num (E) = { | |
214 | - | let | |
215 | - | throw(toString( | |
219 | + | let Q = J(E) | |
220 | + | throw(toString(Q)) | |
216 | 221 | } | |
217 | 222 | ||
218 | 223 | ||
219 | 224 | ||
220 | 225 | @Callable(d) | |
221 | - | func Roulette_reveal_test (E, | |
222 | - | let | |
223 | - | let ao = a( | |
224 | - | throw(((toString( | |
226 | + | func Roulette_reveal_test (E,U,am,an) = { | |
227 | + | let Q = J(E) | |
228 | + | let ao = a(T(Q, U, am, an)) | |
229 | + | throw(((toString(Q) + "|") + toString(ao))) | |
225 | 230 | } | |
226 | 231 | ||
227 | 232 | ||
228 | 233 | ||
229 | 234 | @Callable(d) | |
230 | - | func AllVariantTest (E, | |
231 | - | let | |
232 | - | let ap = a( | |
233 | - | let aq = a( | |
234 | - | let ar = a( | |
235 | - | let as = a( | |
236 | - | let at = a( | |
237 | - | let au = a( | |
238 | - | let av = a( | |
239 | - | let aw = a( | |
240 | - | let ax = a( | |
241 | - | throw(((((((((((((((((((("|randomNumber:" + toString( | |
235 | + | func AllVariantTest (E,U) = { | |
236 | + | let Q = J(E) | |
237 | + | let ap = a(T(Q, U, nil, "red")) | |
238 | + | let aq = a(T(Q, U, nil, "black")) | |
239 | + | let ar = a(T(Q, U, nil, "even")) | |
240 | + | let as = a(T(Q, U, nil, "odd")) | |
241 | + | let at = a(T(Q, U, [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12], "")) | |
242 | + | let au = a(T(Q, U, [13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24], "")) | |
243 | + | let av = a(T(Q, U, [25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36], "")) | |
244 | + | let aw = a(T(Q, U, [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18], "")) | |
245 | + | let ax = a(T(Q, U, [19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36], "")) | |
246 | + | throw(((((((((((((((((((("|randomNumber:" + toString(Q)) + "|winningAmountRed:") + toString(ap)) + "|winningAmountBlack:") + toString(aq)) + "|winningAmountEven:") + toString(ar)) + "|winningAmountOdd:") + toString(as)) + "|winningAmount12x3_1:") + toString(at)) + "|winningAmount12x3_2:") + toString(au)) + "|winningAmount12x3_3:") + toString(av)) + "|winningAmount18x2_1:") + toString(aw)) + "|winningAmount18x2_2:") + toString(ax))) | |
242 | 247 | } | |
243 | 248 | ||
244 | 249 |
github/deemru/w8io/026f985 69.13 ms ◑