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:BgIVCAISAwoBARIGCgQBAREIEgQKAgEBGwEKbnVtVG9XYXZlcwEDbnVtCQBoAgUDbnVtAIDC1y8BC2lzUGF5bWVudE9rAgFpA3N1bQQRYWNjZXB0YWJsZUFzc2V0SWQBBBOr2TMEAXAJAJEDAggFAWkIcGF5bWVudHMAAAMJAGcCCAUBcAZhbW91bnQJAQpudW1Ub1dhdmVzAQUDc3VtCQAAAggFAXAHYXNzZXRJZAUEdW5pdAcBC21hcEludFRvU3RyAgVhY2N1bQRuZXh0CQDMCAIJAKQDAQUEbmV4dAUFYWNjdW0BC21hcFN0clRvSW50AgVhY2N1bQRuZXh0CQDMCAIJAQ1wYXJzZUludFZhbHVlAQUEbmV4dAUFYWNjdW0BC21hcEludFRvU3VtAgVhY2N1bQRuZXh0CQBkAgUFYWNjdW0FBG5leHQBDGxpc3RJbnRUb1N1bQEDYXJyCgACJGwFA2FycgoAAiRzCQCQAwEFAiRsCgAFJGFjYzAAAAoBBSRmMF8xAgIkYQIkaQMJAGcCBQIkaQUCJHMFAiRhCQELbWFwSW50VG9TdW0CBQIkYQkAkQMC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AgCABcJAMwIAgAYCQDMCAIAGQkAzAgCABoJAMwIAgAbCQDMCAIAHAkAzAgCAB0JAMwIAgAeCQDMCAIAHwkAzAgCACAJAMwIAgAhCQDMCAIAIgkAzAgCACMJAMwIAgAkBQNuaWwCAAkAAgEJAKwCAgkArAICCQCsAgIJAKwCAgkArAICCQCsAgIJAKwCAgkArAICCQCsAgIJAKwCAgkArAICCQCsAgIJAKwCAgkArAICCQCsAgIJAKwCAgkArAICCQCsAgIJAKwCAgIOfHJhbmRvbU51bWJlcjoJAKQDAQUMcmFuZG9tTnVtYmVyAhJ8d2lubmluZ0Ftb3VudFJlZDoJAKQDAQUQd2lubmluZ0Ftb3VudFJlZAIUfHdpbm5pbmdBbW91bnRCbGFjazoJAKQDAQUSd2lubmluZ0Ftb3VudEJsYWNrAhN8d2lubmluZ0Ftb3VudEV2ZW46CQCkAwEFEXdpbm5pbmdBbW91bnRFdmVuAhJ8d2lubmluZ0Ftb3VudE9kZDoJAKQDAQUQd2lubmluZ0Ftb3VudE9kZAIVfHdpbm5pbmdBbW91bnQxMngzXzE6CQCkAwEFE3dpbm5pbmdBbW91bnQxMngzXzECFXx3aW5uaW5nQW1vdW50MTJ4M18yOgkApAMBBRN3aW5uaW5nQW1vdW50MTJ4M18yAhV8d2lubmluZ0Ftb3VudDEyeDNfMzoJAKQDAQUTd2lubmluZ0Ftb3VudDEyeDNfMwIVfHdpbm5pbmdBbW91bnQxOHgyXzE6CQCkAwEFE3dpbm5pbmdBbW91bnQxOHgyXzECFXx3aW5uaW5nQW1vdW50MTh4Ml8yOgkApAMBBRN3aW5uaW5nQW1vdW50MTh4Ml8yABqFli0=", "height": 2623473, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 7mmeiNfNKGoNZJUFBiHNRvT81Yjtv5Gqrx6u9R8Phrw6 Next: 9ChqCbQmpQnK2GEyYvoeQu2o8E1YhUKujgZxc66WzCFe Diff:
OldNewDifferences
9292
9393
9494 func J (E) = {
95+ let K = [32, 19, 21, 25, 34, 27, 36, 30, 23, 5, 16, 1, 14, 9, 18, 7, 12, 3]
9596 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
105110 }
106111
107112
108-func S (P,T,U,V) = {
109- let W = [32, 19, 21, 25, 34, 27, 36, 30, 23, 5, 16, 1, 14, 9, 18, 7, 12, 3]
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]
110115 let X = [2, 4, 6, 8, 10, 11, 13, 15, 17, 20, 22, 24, 26, 28, 29, 31, 33, 35]
111- if ((V == "red"))
112- then if (containsElement(W, P))
113- then (T * 2)
116+ if ((W == "red"))
117+ then if (containsElement(K, Q))
118+ then (U * 2)
114119 else 0
115- else if ((V == "black"))
116- then if (containsElement(X, P))
117- then (T * 2)
120+ else if ((W == "black"))
121+ then if (containsElement(X, Q))
122+ then (U * 2)
118123 else 0
119- else if ((V == "odd"))
120- then if (if (((P % 2) != 0))
121- then (P != 0)
124+ else if ((W == "odd"))
125+ then if (if (((Q % 2) != 0))
126+ then (Q != 0)
122127 else false)
123- then (T * 2)
128+ then (U * 2)
124129 else 0
125- else if ((V == "even"))
126- then if (if (((P % 2) == 0))
127- then (P != 0)
130+ else if ((W == "even"))
131+ then if (if (((Q % 2) == 0))
132+ then (Q != 0)
128133 else false)
129- then (T * 2)
134+ then (U * 2)
130135 else 0
131- else if (if ((size(U) == 1))
132- then (V == "num")
136+ else if (if ((size(V) == 1))
137+ then (W == "num")
133138 else false)
134- then if ((U[0] == P))
135- then (T * 36)
139+ then if ((V[0] == Q))
140+ then (U * 36)
136141 else 0
137- else if ((size(U) == 2))
138- then if (containsElement(U, P))
139- then (T * 18)
142+ else if ((size(V) == 2))
143+ then if (containsElement(V, Q))
144+ then (U * 18)
140145 else 0
141- else if ((size(U) == 3))
142- then if (containsElement(U, P))
143- then (T * 12)
146+ else if ((size(V) == 3))
147+ then if (containsElement(V, Q))
148+ then (U * 12)
144149 else 0
145- else if ((size(U) == 4))
146- then if (containsElement(U, P))
147- then (T * 9)
150+ else if ((size(V) == 4))
151+ then if (containsElement(V, Q))
152+ then (U * 9)
148153 else 0
149- else if ((size(U) == 12))
150- then if (if (containsElement(U, P))
151- then (P != 0)
154+ else if ((size(V) == 12))
155+ then if (if (containsElement(V, Q))
156+ then (Q != 0)
152157 else false)
153- then (T * 3)
158+ then (U * 3)
154159 else 0
155- else if ((size(U) == 18))
156- then if (if (containsElement(U, P))
157- then (P != 0)
160+ else if ((size(V) == 18))
161+ then if (if (containsElement(V, Q))
162+ then (Q != 0)
158163 else false)
159- then (T * 2)
164+ then (U * 2)
160165 else 0
161166 else 0
162167 }
211216
212217 @Callable(d)
213218 func test_num (E) = {
214- let P = J(E)
215- throw(toString(P))
219+ let Q = J(E)
220+ throw(toString(Q))
216221 }
217222
218223
219224
220225 @Callable(d)
221-func Roulette_reveal_test (E,T,am,an) = {
222- let P = J(E)
223- let ao = a(S(P, T, am, an))
224- throw(((toString(P) + "|") + toString(ao)))
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)))
225230 }
226231
227232
228233
229234 @Callable(d)
230-func AllVariantTest (E,T) = {
231- let P = J(E)
232- let ap = a(S(P, T, nil, "red"))
233- let aq = a(S(P, T, nil, "black"))
234- let ar = a(S(P, T, nil, "even"))
235- let as = a(S(P, T, nil, "odd"))
236- let at = a(S(P, T, [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12], ""))
237- let au = a(S(P, T, [13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24], ""))
238- let av = a(S(P, T, [25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36], ""))
239- let aw = a(S(P, T, [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18], ""))
240- let ax = a(S(P, T, [19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36], ""))
241- throw(((((((((((((((((((("|randomNumber:" + toString(P)) + "|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)))
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)))
242247 }
243248
244249
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 func a (b) = (b * 100000000)
55
66
77 func c (d,e) = {
88 let f = base58'WAVES'
99 let g = d.payments[0]
1010 if ((g.amount >= a(e)))
1111 then (g.assetId == unit)
1212 else false
1313 }
1414
1515
1616 func h (i,j) = toString(j) :: i
1717
1818
1919 func k (i,j) = parseIntValue(j) :: i
2020
2121
2222 func l (i,j) = (i + j)
2323
2424
2525 func m (n) = {
2626 let o = n
2727 let p = size(o)
2828 let q = 0
2929 func r (s,t) = if ((t >= p))
3030 then s
3131 else l(s, o[t])
3232
3333 func u (s,t) = if ((t >= p))
3434 then s
3535 else throw("List size exceeds 50")
3636
3737 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)
3838 }
3939
4040
4141 func v (n) = {
4242 let o = n
4343 let p = size(o)
4444 let q = nil
4545 func r (s,t) = if ((t >= p))
4646 then s
4747 else h(s, o[t])
4848
4949 func u (s,t) = if ((t >= p))
5050 then s
5151 else throw("List size exceeds 50")
5252
5353 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)
5454 }
5555
5656
5757 func w (n) = {
5858 let o = n
5959 let p = size(o)
6060 let q = nil
6161 func r (s,t) = if ((t >= p))
6262 then s
6363 else k(s, o[t])
6464
6565 func u (s,t) = if ((t >= p))
6666 then s
6767 else throw("List size exceeds 50")
6868
6969 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)
7070 }
7171
7272
7373 func x (n) = makeString(n, "|")
7474
7575
7676 func y (z) = split(z, "|")
7777
7878
7979 func A (n) = makeString(v(n), "|")
8080
8181
8282 func B (C) = w(split(C, "|"))
8383
8484
8585 func D (E) = {
8686 let F = valueOrErrorMessage(blockInfoByHeight(E), "unexcpected error")
8787 let G = valueOrErrorMessage(F.vrf, "unexcpected error")
8888 let H = sha256(value(G))
8989 let I = toInt(H, 16)
9090 (I % 37)
9191 }
9292
9393
9494 func J (E) = {
95+ let K = [32, 19, 21, 25, 34, 27, 36, 30, 23, 5, 16, 1, 14, 9, 18, 7, 12, 3]
9596 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
105110 }
106111
107112
108-func S (P,T,U,V) = {
109- let W = [32, 19, 21, 25, 34, 27, 36, 30, 23, 5, 16, 1, 14, 9, 18, 7, 12, 3]
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]
110115 let X = [2, 4, 6, 8, 10, 11, 13, 15, 17, 20, 22, 24, 26, 28, 29, 31, 33, 35]
111- if ((V == "red"))
112- then if (containsElement(W, P))
113- then (T * 2)
116+ if ((W == "red"))
117+ then if (containsElement(K, Q))
118+ then (U * 2)
114119 else 0
115- else if ((V == "black"))
116- then if (containsElement(X, P))
117- then (T * 2)
120+ else if ((W == "black"))
121+ then if (containsElement(X, Q))
122+ then (U * 2)
118123 else 0
119- else if ((V == "odd"))
120- then if (if (((P % 2) != 0))
121- then (P != 0)
124+ else if ((W == "odd"))
125+ then if (if (((Q % 2) != 0))
126+ then (Q != 0)
122127 else false)
123- then (T * 2)
128+ then (U * 2)
124129 else 0
125- else if ((V == "even"))
126- then if (if (((P % 2) == 0))
127- then (P != 0)
130+ else if ((W == "even"))
131+ then if (if (((Q % 2) == 0))
132+ then (Q != 0)
128133 else false)
129- then (T * 2)
134+ then (U * 2)
130135 else 0
131- else if (if ((size(U) == 1))
132- then (V == "num")
136+ else if (if ((size(V) == 1))
137+ then (W == "num")
133138 else false)
134- then if ((U[0] == P))
135- then (T * 36)
139+ then if ((V[0] == Q))
140+ then (U * 36)
136141 else 0
137- else if ((size(U) == 2))
138- then if (containsElement(U, P))
139- then (T * 18)
142+ else if ((size(V) == 2))
143+ then if (containsElement(V, Q))
144+ then (U * 18)
140145 else 0
141- else if ((size(U) == 3))
142- then if (containsElement(U, P))
143- then (T * 12)
146+ else if ((size(V) == 3))
147+ then if (containsElement(V, Q))
148+ then (U * 12)
144149 else 0
145- else if ((size(U) == 4))
146- then if (containsElement(U, P))
147- then (T * 9)
150+ else if ((size(V) == 4))
151+ then if (containsElement(V, Q))
152+ then (U * 9)
148153 else 0
149- else if ((size(U) == 12))
150- then if (if (containsElement(U, P))
151- then (P != 0)
154+ else if ((size(V) == 12))
155+ then if (if (containsElement(V, Q))
156+ then (Q != 0)
152157 else false)
153- then (T * 3)
158+ then (U * 3)
154159 else 0
155- else if ((size(U) == 18))
156- then if (if (containsElement(U, P))
157- then (P != 0)
160+ else if ((size(V) == 18))
161+ then if (if (containsElement(V, Q))
162+ then (Q != 0)
158163 else false)
159- then (T * 2)
164+ then (U * 2)
160165 else 0
161166 else 0
162167 }
163168
164169
165170 func Y (d) = ("bet_Roulette_" + toString(d.caller))
166171
167172
168173 func Z (d) = ("betAmount_Roulette_" + toString(d.caller))
169174
170175
171176 func aa (d) = ("selectedNumbers_Roulette_" + toString(d.caller))
172177
173178
174179 func ab (d) = ("direction_Roulette_" + toString(d.caller))
175180
176181
177182 func ac (d) = ((("log_Roulette_" + toString(d.caller)) + "_") + toBase58String(d.transactionId))
178183
179184
180185 func ad (d) = ("status_Roulette_" + toString(d.caller))
181186
182187
183188 func ae (d) = ("bet_LuckyWheel_" + toString(d.caller))
184189
185190
186191 func af (d) = ("won_LuckyWheel_" + toString(d.caller))
187192
188193
189194 func ag (d) = ("randomNumber_LuckyWheel_" + toString(d.caller))
190195
191196
192197 func ah (d) = ((("log_LuckyWheel_" + toString(d.caller)) + "_") + toBase58String(d.transactionId))
193198
194199
195200 func ai (aj) = {
196201 let ak = aj
197202 if ((1 == ak))
198203 then a(2)
199204 else if ((3 == ak))
200205 then a(1)
201206 else if ((7 == ak))
202207 then a(6)
203208 else if ((9 == ak))
204209 then a(1)
205210 else 0
206211 }
207212
208213
209214 func al (d) = ("status_Roulette_" + toString(d.caller))
210215
211216
212217 @Callable(d)
213218 func test_num (E) = {
214- let P = J(E)
215- throw(toString(P))
219+ let Q = J(E)
220+ throw(toString(Q))
216221 }
217222
218223
219224
220225 @Callable(d)
221-func Roulette_reveal_test (E,T,am,an) = {
222- let P = J(E)
223- let ao = a(S(P, T, am, an))
224- throw(((toString(P) + "|") + toString(ao)))
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)))
225230 }
226231
227232
228233
229234 @Callable(d)
230-func AllVariantTest (E,T) = {
231- let P = J(E)
232- let ap = a(S(P, T, nil, "red"))
233- let aq = a(S(P, T, nil, "black"))
234- let ar = a(S(P, T, nil, "even"))
235- let as = a(S(P, T, nil, "odd"))
236- let at = a(S(P, T, [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12], ""))
237- let au = a(S(P, T, [13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24], ""))
238- let av = a(S(P, T, [25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36], ""))
239- let aw = a(S(P, T, [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18], ""))
240- let ax = a(S(P, T, [19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36], ""))
241- throw(((((((((((((((((((("|randomNumber:" + toString(P)) + "|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)))
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)))
242247 }
243248
244249

github/deemru/w8io/026f985 
69.13 ms