tx · EPUSCA6L3xNQWw3T8vax7pADhsCxAHpowuMtXTVneZkE

3NCFV4YSBFCEBXDYHwCuh6X5SqMeQXFgEaf:  -0.01500000 Waves

2021.06.04 03:21 [1554898] smart account 3NCFV4YSBFCEBXDYHwCuh6X5SqMeQXFgEaf > SELF 0.00000000 Waves

{ "type": 13, "id": "EPUSCA6L3xNQWw3T8vax7pADhsCxAHpowuMtXTVneZkE", "fee": 1500000, "feeAssetId": null, "timestamp": 1622766179295, "version": 2, "chainId": 84, "sender": "3NCFV4YSBFCEBXDYHwCuh6X5SqMeQXFgEaf", "senderPublicKey": "6zkdpCUGZybpbh7mrJvMphWq6fUvbGoyxafdsQjtwsWA", "proofs": [ "22NrbTsPz5g2Zck1DQpBj5GU2cH5BMnrtoNYpZ8o5JFCgnHjkcxNwcPSjtoQ2KDXxVCVgLpYVmQZSiicetbJTBgo" ], "script": "base64:AAIEAAAAAAAAABAIAhIFCgMIAQESBQoDAQEIAAAADwAAAAAJR0FNRVNUQVJUAAAAAAAAAAAAAAAAAA5HQU1FSU5QUk9HUkVTUwAAAAAAAAAAAQAAAAAMR0FNRUZJTklTSEVEAAAAAAAAAAACAAAAABZCTE9DS1RPUFJPQ0VTU0ZPUlRIUk9XAAAAAAAAAAABAAAAAAtQQVNTTElORUJFVAIAAAALUEFTU0xJTkVCRVQAAAAAD0RPTlRQQVNTTElORUJFVAIAAAAPRE9OVFBBU1NMSU5FQkVUAAAAAAdDT01FQkVUAgAAAAdDT01FQkVUAAAAAAtET05UQ09NRUJFVAIAAAALRE9OVENPTUVCRVQAAAAACEZJRUxEQkVUAgAAAAhGSUVMREJFVAAAAAAHT0REU0JFVAIAAAAHT0REU0JFVAAAAAAKQklHNk9SOEJFVAIAAAAKQklHNk9SOEJFVAAAAAALUExBQ0VCRVRCVVkCAAAAC1BMQUNFQkVUQlVZAAAAAAxQTEFDRUJFVExPU0UCAAAADFBMQUNFQkVUTE9TRQAAAAALUExBQ0VCRVRMQVkCAAAAC1BMQUN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AAAVwcmljZQkAAGgAAAACBQAAAAZhbW91bnQAAAAAAAAAAAAFAAAAA25pbAkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgIAAAAFcHJpY2UJAABoAAAAAgUAAAAGYW1vdW50AAAAAAAAAAAABQAAAANuaWwJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAICAAAABXByaWNlCQAAaAAAAAIFAAAABmFtb3VudAAAAAAAAAAAAAUAAAADbmlsAAAAAQAAAAJ0eAEAAAAGdmVyaWZ5AAAAAAQAAAAHJG1hdGNoMAUAAAACdHgJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5aspdvw==", "height": 1554898, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: AKqpezPjcaA46a1k59kyPGwvqkJZEim2wbq1fGRHBBXv Next: CanoEWnUqrstSE5QjCQSnGnRg7eLXxxMNN5ARRLDR26R Diff:
OldNewDifferences
3232 let o = "PLACEBETWIN"
3333
3434 @Callable(p)
35-func getWinningAmount (q,r,s) = {
36- let t = split(q, "_")[2]
37- let u = value(parseInt(split(q, "_")[5]))
38- let v = value(parseInt(split(q, "_")[1]))
39- if ((t == i))
40- then if ((r == 12))
41- then [IntegerEntry("price", (v * 4))]
42- else if ((r == 2))
43- then [IntegerEntry("price", (v * 3))]
44- else if (if (if (if ((r == 5))
45- then true
46- else (r == 6))
47- then true
48- else (r == 7))
49- then true
50- else (r == 8))
51- then [IntegerEntry("price", 0)]
52- else [IntegerEntry("price", (v * 2))]
53- else if ((t == j))
54- then if (if ((u == 4))
55- then true
56- else (u == 10))
57- then [IntegerEntry("price", (v * 7))]
58- else if (if ((u == 5))
59- then true
60- else (u == 8))
61- then [IntegerEntry("price", (v * 9))]
62- else if (if ((u == 3))
63- then true
64- else (u == 11))
65- then [IntegerEntry("price", (v * 15))]
66- else if (if ((u == 2))
67- then true
68- else (u == 12))
69- then [IntegerEntry("price", (v * 30))]
70- else if (if ((u == 10))
71- then true
72- else (u == 4))
73- then [IntegerEntry("price", (v * 30))]
74- else if ((u == 7))
75- then [IntegerEntry("price", (v * 4))]
76- else if (if ((u == 100))
77- then if (if ((r == 3))
78- then true
79- else (r == 12))
80- then true
81- else (r == 2)
82- else false)
83- then [IntegerEntry("price", (v * 7))]
84- else [IntegerEntry("price", 0)]
85- else if ((t == k))
86- then if (if ((r == 6))
87- then true
88- else (r == 8))
89- then [IntegerEntry("price", (v * 2))]
90- else [IntegerEntry("price", 0)]
91- else if (if ((t == n))
92- then true
93- else (t == m))
94- then if ((r == 7))
95- then [IntegerEntry("price", (v * 2))]
96- else if ((r == u))
97- then [IntegerEntry("price", 0)]
98- else [IntegerEntry("price", -1)]
99- else if (if ((t == l))
100- then true
101- else (t == o))
102- then if ((r == 7))
103- then [IntegerEntry("price", 0)]
104- else if ((r == u))
105- then [IntegerEntry("price", 2)]
106- else [IntegerEntry("price", -1)]
107- else if ((t == g))
108- then {
109- let w = value(parseInt(split(q, "_")[6]))
110- if ((s == 2))
111- then if (if ((r == 7))
112- then true
113- else (r == 11))
114- then [IntegerEntry("price", (v * 2))]
115- else if (if (if ((r == 2))
116- then true
117- else (r == 12))
118- then true
119- else (r == 3))
120- then [IntegerEntry("price", 0)]
121- else if ((r == w))
122- then [IntegerEntry("price", (v * 2))]
123- else [IntegerEntry("price", -1)]
124- else if ((s > 2))
125- then if ((r == 7))
126- then [IntegerEntry("price", 0)]
127- else if ((r == w))
128- then [IntegerEntry("price", (v * 2))]
129- else [IntegerEntry("price", -1)]
130- else throw("Not Allow in The Beginning")
131- }
132- else if ((t == h))
133- then {
134- let w = value(parseInt(split(q, "_")[6]))
135- if ((s == 2))
136- then if (if ((r == 7))
137- then true
138- else (r == 11))
139- then [IntegerEntry("price", 0)]
140- else if (if (if ((r == 2))
141- then true
142- else (r == 12))
143- then true
144- else (r == 3))
145- then [IntegerEntry("price", (v * 2))]
146- else if ((r == w))
147- then [IntegerEntry("price", (v * 2))]
148- else [IntegerEntry("price", -1)]
149- else if ((s > 1))
150- then if ((r == 7))
151- then [IntegerEntry("price", (v * 2))]
152- else if ((r == w))
153- then [IntegerEntry("price", 0)]
154- else [IntegerEntry("price", -1)]
155- else throw("Not Allow in The Beginning")
156- }
157- else [IntegerEntry("price", 0)]
158- }
35+func getWinningAmount (q,r,s) = throw(q)
15936
16037
16138
16239 @Callable(p)
163-func getWinningAmountPassLineBets (x,y,q) = {
164- let t = split(q, "_")[2]
165- let z = split(q, "_")[0]
166- let v = value(parseInt(split(q, "_")[1]))
167- if ((t == e))
168- then if ((y == 0))
169- then if (if ((x == 7))
40+func getWinningAmountPassLineBets (t,u,q) = {
41+ let v = split(q, "_")[2]
42+ let w = split(q, "_")[0]
43+ let x = value(parseInt(split(q, "_")[1]))
44+ if ((v == e))
45+ then if ((u == 0))
46+ then if (if ((t == 7))
17047 then true
171- else (x == 11))
172- then [IntegerEntry("price", (v * 2))]
173- else [IntegerEntry("price", (v * 0))]
174- else if ((x == y))
175- then [IntegerEntry("price", (v * 2))]
176- else if ((y == 7))
177- then [IntegerEntry("price", (v * 0))]
178- else [IntegerEntry("price", (v * 0))]
179- else if ((t == f))
180- then if ((y == 0))
181- then if (if ((x == 2))
48+ else (t == 11))
49+ then [IntegerEntry("price", (x * 2))]
50+ else [IntegerEntry("price", (x * 0))]
51+ else if ((t == u))
52+ then [IntegerEntry("price", (x * 2))]
53+ else if ((u == 7))
54+ then [IntegerEntry("price", (x * 0))]
55+ else [IntegerEntry("price", (x * 0))]
56+ else if ((v == f))
57+ then if ((u == 0))
58+ then if (if ((t == 2))
18259 then true
183- else (x == 3))
184- then [IntegerEntry("price", (v * 2))]
185- else if (if ((y == 7))
60+ else (t == 3))
61+ then [IntegerEntry("price", (x * 2))]
62+ else if (if ((u == 7))
18663 then true
187- else (y == 11))
188- then [IntegerEntry("price", (v * 0))]
189- else [IntegerEntry("price", (v * 0))]
190- else if (if ((y == 2))
64+ else (u == 11))
65+ then [IntegerEntry("price", (x * 0))]
66+ else [IntegerEntry("price", (x * 0))]
67+ else if (if ((u == 2))
19168 then true
192- else (y == 3))
193- then [IntegerEntry("price", (v * 2))]
194- else if ((y == 7))
195- then [IntegerEntry("price", (v * 0))]
196- else [IntegerEntry("price", (v * 0))]
197- else [IntegerEntry("price", (v * 0))]
69+ else (u == 3))
70+ then [IntegerEntry("price", (x * 2))]
71+ else if ((u == 7))
72+ then [IntegerEntry("price", (x * 0))]
73+ else [IntegerEntry("price", (x * 0))]
74+ else [IntegerEntry("price", (x * 0))]
19875 }
19976
20077
201-@Verifier(A)
202-func B () = {
203- let C = A
204- sigVerify(A.bodyBytes, A.proofs[0], A.senderPublicKey)
78+@Verifier(y)
79+func z () = {
80+ let A = y
81+ sigVerify(y.bodyBytes, y.proofs[0], y.senderPublicKey)
20582 }
20683
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 4 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = 0
55
66 let b = 1
77
88 let c = 2
99
1010 let d = 1
1111
1212 let e = "PASSLINEBET"
1313
1414 let f = "DONTPASSLINEBET"
1515
1616 let g = "COMEBET"
1717
1818 let h = "DONTCOMEBET"
1919
2020 let i = "FIELDBET"
2121
2222 let j = "ODDSBET"
2323
2424 let k = "BIG6OR8BET"
2525
2626 let l = "PLACEBETBUY"
2727
2828 let m = "PLACEBETLOSE"
2929
3030 let n = "PLACEBETLAY"
3131
3232 let o = "PLACEBETWIN"
3333
3434 @Callable(p)
35-func getWinningAmount (q,r,s) = {
36- let t = split(q, "_")[2]
37- let u = value(parseInt(split(q, "_")[5]))
38- let v = value(parseInt(split(q, "_")[1]))
39- if ((t == i))
40- then if ((r == 12))
41- then [IntegerEntry("price", (v * 4))]
42- else if ((r == 2))
43- then [IntegerEntry("price", (v * 3))]
44- else if (if (if (if ((r == 5))
45- then true
46- else (r == 6))
47- then true
48- else (r == 7))
49- then true
50- else (r == 8))
51- then [IntegerEntry("price", 0)]
52- else [IntegerEntry("price", (v * 2))]
53- else if ((t == j))
54- then if (if ((u == 4))
55- then true
56- else (u == 10))
57- then [IntegerEntry("price", (v * 7))]
58- else if (if ((u == 5))
59- then true
60- else (u == 8))
61- then [IntegerEntry("price", (v * 9))]
62- else if (if ((u == 3))
63- then true
64- else (u == 11))
65- then [IntegerEntry("price", (v * 15))]
66- else if (if ((u == 2))
67- then true
68- else (u == 12))
69- then [IntegerEntry("price", (v * 30))]
70- else if (if ((u == 10))
71- then true
72- else (u == 4))
73- then [IntegerEntry("price", (v * 30))]
74- else if ((u == 7))
75- then [IntegerEntry("price", (v * 4))]
76- else if (if ((u == 100))
77- then if (if ((r == 3))
78- then true
79- else (r == 12))
80- then true
81- else (r == 2)
82- else false)
83- then [IntegerEntry("price", (v * 7))]
84- else [IntegerEntry("price", 0)]
85- else if ((t == k))
86- then if (if ((r == 6))
87- then true
88- else (r == 8))
89- then [IntegerEntry("price", (v * 2))]
90- else [IntegerEntry("price", 0)]
91- else if (if ((t == n))
92- then true
93- else (t == m))
94- then if ((r == 7))
95- then [IntegerEntry("price", (v * 2))]
96- else if ((r == u))
97- then [IntegerEntry("price", 0)]
98- else [IntegerEntry("price", -1)]
99- else if (if ((t == l))
100- then true
101- else (t == o))
102- then if ((r == 7))
103- then [IntegerEntry("price", 0)]
104- else if ((r == u))
105- then [IntegerEntry("price", 2)]
106- else [IntegerEntry("price", -1)]
107- else if ((t == g))
108- then {
109- let w = value(parseInt(split(q, "_")[6]))
110- if ((s == 2))
111- then if (if ((r == 7))
112- then true
113- else (r == 11))
114- then [IntegerEntry("price", (v * 2))]
115- else if (if (if ((r == 2))
116- then true
117- else (r == 12))
118- then true
119- else (r == 3))
120- then [IntegerEntry("price", 0)]
121- else if ((r == w))
122- then [IntegerEntry("price", (v * 2))]
123- else [IntegerEntry("price", -1)]
124- else if ((s > 2))
125- then if ((r == 7))
126- then [IntegerEntry("price", 0)]
127- else if ((r == w))
128- then [IntegerEntry("price", (v * 2))]
129- else [IntegerEntry("price", -1)]
130- else throw("Not Allow in The Beginning")
131- }
132- else if ((t == h))
133- then {
134- let w = value(parseInt(split(q, "_")[6]))
135- if ((s == 2))
136- then if (if ((r == 7))
137- then true
138- else (r == 11))
139- then [IntegerEntry("price", 0)]
140- else if (if (if ((r == 2))
141- then true
142- else (r == 12))
143- then true
144- else (r == 3))
145- then [IntegerEntry("price", (v * 2))]
146- else if ((r == w))
147- then [IntegerEntry("price", (v * 2))]
148- else [IntegerEntry("price", -1)]
149- else if ((s > 1))
150- then if ((r == 7))
151- then [IntegerEntry("price", (v * 2))]
152- else if ((r == w))
153- then [IntegerEntry("price", 0)]
154- else [IntegerEntry("price", -1)]
155- else throw("Not Allow in The Beginning")
156- }
157- else [IntegerEntry("price", 0)]
158- }
35+func getWinningAmount (q,r,s) = throw(q)
15936
16037
16138
16239 @Callable(p)
163-func getWinningAmountPassLineBets (x,y,q) = {
164- let t = split(q, "_")[2]
165- let z = split(q, "_")[0]
166- let v = value(parseInt(split(q, "_")[1]))
167- if ((t == e))
168- then if ((y == 0))
169- then if (if ((x == 7))
40+func getWinningAmountPassLineBets (t,u,q) = {
41+ let v = split(q, "_")[2]
42+ let w = split(q, "_")[0]
43+ let x = value(parseInt(split(q, "_")[1]))
44+ if ((v == e))
45+ then if ((u == 0))
46+ then if (if ((t == 7))
17047 then true
171- else (x == 11))
172- then [IntegerEntry("price", (v * 2))]
173- else [IntegerEntry("price", (v * 0))]
174- else if ((x == y))
175- then [IntegerEntry("price", (v * 2))]
176- else if ((y == 7))
177- then [IntegerEntry("price", (v * 0))]
178- else [IntegerEntry("price", (v * 0))]
179- else if ((t == f))
180- then if ((y == 0))
181- then if (if ((x == 2))
48+ else (t == 11))
49+ then [IntegerEntry("price", (x * 2))]
50+ else [IntegerEntry("price", (x * 0))]
51+ else if ((t == u))
52+ then [IntegerEntry("price", (x * 2))]
53+ else if ((u == 7))
54+ then [IntegerEntry("price", (x * 0))]
55+ else [IntegerEntry("price", (x * 0))]
56+ else if ((v == f))
57+ then if ((u == 0))
58+ then if (if ((t == 2))
18259 then true
183- else (x == 3))
184- then [IntegerEntry("price", (v * 2))]
185- else if (if ((y == 7))
60+ else (t == 3))
61+ then [IntegerEntry("price", (x * 2))]
62+ else if (if ((u == 7))
18663 then true
187- else (y == 11))
188- then [IntegerEntry("price", (v * 0))]
189- else [IntegerEntry("price", (v * 0))]
190- else if (if ((y == 2))
64+ else (u == 11))
65+ then [IntegerEntry("price", (x * 0))]
66+ else [IntegerEntry("price", (x * 0))]
67+ else if (if ((u == 2))
19168 then true
192- else (y == 3))
193- then [IntegerEntry("price", (v * 2))]
194- else if ((y == 7))
195- then [IntegerEntry("price", (v * 0))]
196- else [IntegerEntry("price", (v * 0))]
197- else [IntegerEntry("price", (v * 0))]
69+ else (u == 3))
70+ then [IntegerEntry("price", (x * 2))]
71+ else if ((u == 7))
72+ then [IntegerEntry("price", (x * 0))]
73+ else [IntegerEntry("price", (x * 0))]
74+ else [IntegerEntry("price", (x * 0))]
19875 }
19976
20077
201-@Verifier(A)
202-func B () = {
203- let C = A
204- sigVerify(A.bodyBytes, A.proofs[0], A.senderPublicKey)
78+@Verifier(y)
79+func z () = {
80+ let A = y
81+ sigVerify(y.bodyBytes, y.proofs[0], y.senderPublicKey)
20582 }
20683

github/deemru/w8io/169f3d6 
72.47 ms