tx · 2m8wDJ2sCNbyeicSsCjaP4DxZu7aPJpwwVDnUhvdjKUM

3N6UbaxTBjMS5jZmJ9cxqX3YGfe7bsQAzyn:  -0.01400000 Waves

2020.01.04 16:53 [839220] smart account 3N6UbaxTBjMS5jZmJ9cxqX3YGfe7bsQAzyn > SELF 0.00000000 Waves

{ "type": 13, "id": "2m8wDJ2sCNbyeicSsCjaP4DxZu7aPJpwwVDnUhvdjKUM", "fee": 1400000, "feeAssetId": null, "timestamp": 1578146029324, "version": 1, "sender": "3N6UbaxTBjMS5jZmJ9cxqX3YGfe7bsQAzyn", "senderPublicKey": "6ZjaNmnAvx6D1PtkZEHppdJPoEJ9mhBhRTq8fcTT59Xd", "proofs": [ "44HWgKMv7AHRD8rEHmoWRp3wmi2kBTpuHjJ6uKGRz5GnqE3F11xgzpzfpjZH67K57ag4Y3LJvYfG8LoZcXWwXQTz" ], "script": "base64:AAIDAAAAAAAAAAkIARIDCgEBEgAAAAAOAAAAAAdxMXN0YXJ0AAAAAAAAAAC+AAAAAAdxMnN0YXJ0AAAAAAAAAAC+AAAAAAN2aWcAAAAAAAAAADQAAAAACnJpc2tBbW91bnQAAAAAAAAAA+gAAAAADGJldFRocmVzaG9sZAAAAAAAAAAACgAAAAAGYmV0TWluAAAAAAAAAAACAAAAAAZiZXRNYXgAAAAAAAAAAGQBAAAACXExRXh0cmFjdAAAAAAEAAAAAnExAwkBAAAACWlzRGVmaW5lZAAAAAEJAAQaAAAAAgUAAAAEdGhpcwIAAAAHcTFfbmV4dAUAAAAHcTFzdGFydAUAAAAHcTFzdGFydAUAAAACcTEBAAAACXEyRXh0cmFjdAAAAAAEAAAAAnEyAwkBAAAACWlzRGVmaW5lZAAAAAEJAAQaAAAAAgUAAAAEdGhpcwIAAAAHcTJfbmV4dAUAAAAHcTJzdGFydAUAAAAHcTJzdGFydAUAAAACcTIBAAAAEmRlYnRBbW91bnQxRXh0cmFjdAAAAAAEAAAAC2RlYnRBbW91bnQxAwkBAAAACWlzRG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XzIDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAABFVuaXQEAAAAAXUFAAAAByRtYXRjaDAHAwkAAAEAAAACBQAAAAckbWF0Y2gwAgAAAAdCb29sZWFuBAAAAAFiBQAAAAckbWF0Y2gwBQAAAAFiCQEAAAAFdGhyb3cAAAAAAwUAAAAGZXZlbnQxCQEAAAAMU2NyaXB0UmVzdWx0AAAAAgkBAAAACFdyaXRlU2V0AAAAAQkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgkAASwAAAACCQAEJQAAAAEIBQAAAApjb250ZXh0T2JqAAAABmNhbGxlcgIAAAANX2V2ZW50MWFtb3VudAAAAAAAAAAAAAUAAAADbmlsCQEAAAALVHJhbnNmZXJTZXQAAAABCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMIBQAAAApjb250ZXh0T2JqAAAABmNhbGxlcgkAAGgAAAACBQAAAAxldmVudDFhbW91bnQAAAAAAAAPQkAFAAAABHVuaXQFAAAAA25pbAMFAAAABmV2ZW50MgkBAAAADFNjcmlwdFJlc3VsdAAAAAIJAQAAAAhXcml0ZVNldAAAAAEJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIJAAEsAAAAAgkABCUAAAABCAUAAAAKY29udGV4dE9iagAAAAZjYWxsZXICAAAADV9ldmVudDJhbW91bnQAAAAAAAAAAAAFAAAAA25pbAkBAAAAC1RyYW5zZmVyU2V0AAAAAQkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCAUAAAAKY29udGV4dE9iagAAAAZjYWxsZXIJAABoAAAAAgUAAAAMZXZlbnQyYW1vdW50AAAAAAAAD0JABQAAAAR1bml0BQAAAANuaWwJAAACAAAAAQIAAAApZXZlbnQgZGlkIG5vdCBoYXBwZW4gb3IgeW91IGhhdmUgemVybyB3aW4AAAAAvsc+Tg==", "chainId": 84, "height": 839220, "spentComplexity": 0 } View: original | compacted Prev: CyJeQeS9BdMEq4kFj1jMji1RJquPsCkuUTdCNnvBHT4N Next: GiFC5HqdAjRkDAN2Hvi5GrF2nkQaEEvzTMRyDiMdmXof Diff:
OldNewDifferences
110110 let m = l()
111111 let o = n()
112112 let i = h()
113- let k = j()
114- let E = (B + 1)
115- if ((q == 1))
116- then if ((e >= r))
117- then {
118- let F = (C + (i * r))
119- let G = (m - (i * r))
120- let H = (o + r)
121- let I = x(r, G, H)
122- let J = I[0]
123- let K = I[1]
124- WriteSet([DataEntry((toString(y.caller) + "_event1DebtForThisPlayer"), F), DataEntry((toString(E) + "_event"), q), DataEntry((toString(E) + "_qoef1"), i), DataEntry((toString(E) + "_qoef2"), k), DataEntry((toString(E) + "_bettor"), toString(y.caller)), DataEntry("q1_next", J), DataEntry("q2_next", K), DataEntry("count", E)])
125- }
126- else if (if ((r > e))
127- then (g > r)
128- else false)
129- then {
130- let L = p("q1_next", r)
131- let F = (C + (L * r))
132- let G = (m - (L * r))
133- let H = (o + r)
134- let I = x(r, G, H)
135- let J = I[0]
136- let K = I[1]
137- WriteSet([DataEntry((toString(y.caller) + "_event1DebtForThisPlayer"), F), DataEntry((toString(E) + "_event"), q), DataEntry((toString(E) + "_qoef1"), i), DataEntry((toString(E) + "_qoef2"), k), DataEntry((toString(E) + "_bettor"), toString(y.caller)), DataEntry("q1_next", J), DataEntry("q2_next", K), DataEntry("count", E)])
138- }
139- else throw("incorrect bet amount")
140- else if ((e >= r))
141- then {
142- let M = (D + (k * r))
143- let H = (o - (k * r))
144- let G = (m + r)
145- let I = x(r, G, H)
146- let J = I[0]
147- let K = I[1]
148- WriteSet([DataEntry((toString(y.caller) + "_event2DebtForThisPlayer"), M), DataEntry((toString(E) + "_event"), q), DataEntry((toString(E) + "_qoef1"), i), DataEntry((toString(E) + "_qoef2"), k), DataEntry((toString(E) + "_bettor"), toString(y.caller)), DataEntry("q1_next", J), DataEntry("q2_next", K), DataEntry("count", E)])
149- }
150- else if (if ((r > e))
151- then (f > r)
152- else false)
153- then {
154- let N = p("q2_next", r)
155- let M = (D + (N * r))
156- let H = (o - (N * r))
157- let G = (m + r)
158- let I = x(r, G, H)
159- let J = I[0]
160- let K = I[1]
161- WriteSet([DataEntry((toString(y.caller) + "_event2DebtForThisPlayer"), M), DataEntry((toString(E) + "_event"), q), DataEntry((toString(E) + "_qoef1"), i), DataEntry((toString(E) + "_qoef2"), k), DataEntry((toString(E) + "_bettor"), toString(y.caller)), DataEntry("q1_next", J), DataEntry("q2_next", K), DataEntry("count", E)])
162- }
163- else throw("incorrect bet amount")
113+ if (true)
114+ then throw(toString(i))
115+ else {
116+ let k = j()
117+ let E = (B + 1)
118+ if ((q == 1))
119+ then if ((e >= r))
120+ then {
121+ let F = (C + (i * r))
122+ let G = (m - (i * r))
123+ let H = (o + r)
124+ let I = x(r, G, H)
125+ let J = I[0]
126+ let K = I[1]
127+ WriteSet([DataEntry((toString(y.caller) + "_event1DebtForThisPlayer"), F), DataEntry((toString(E) + "_event"), q), DataEntry((toString(E) + "_qoef1"), i), DataEntry((toString(E) + "_qoef2"), k), DataEntry((toString(E) + "_bettor"), toString(y.caller)), DataEntry("q1_next", J), DataEntry("q2_next", K), DataEntry("count", E)])
128+ }
129+ else if (if ((r > e))
130+ then (g > r)
131+ else false)
132+ then {
133+ let L = p("q1_next", r)
134+ let F = (C + (L * r))
135+ let G = (m - (L * r))
136+ let H = (o + r)
137+ let I = x(r, G, H)
138+ let J = I[0]
139+ let K = I[1]
140+ WriteSet([DataEntry((toString(y.caller) + "_event1DebtForThisPlayer"), F), DataEntry((toString(E) + "_event"), q), DataEntry((toString(E) + "_qoef1"), i), DataEntry((toString(E) + "_qoef2"), k), DataEntry((toString(E) + "_bettor"), toString(y.caller)), DataEntry("q1_next", J), DataEntry("q2_next", K), DataEntry("count", E)])
141+ }
142+ else throw("incorrect bet amount")
143+ else if ((e >= r))
144+ then {
145+ let M = (D + (k * r))
146+ let H = (o - (k * r))
147+ let G = (m + r)
148+ let I = x(r, G, H)
149+ let J = I[0]
150+ let K = I[1]
151+ WriteSet([DataEntry((toString(y.caller) + "_event2DebtForThisPlayer"), M), DataEntry((toString(E) + "_event"), q), DataEntry((toString(E) + "_qoef1"), i), DataEntry((toString(E) + "_qoef2"), k), DataEntry((toString(E) + "_bettor"), toString(y.caller)), DataEntry("q1_next", J), DataEntry("q2_next", K), DataEntry("count", E)])
152+ }
153+ else if (if ((r > e))
154+ then (f > r)
155+ else false)
156+ then {
157+ let N = p("q2_next", r)
158+ let M = (D + (N * r))
159+ let H = (o - (N * r))
160+ let G = (m + r)
161+ let I = x(r, G, H)
162+ let J = I[0]
163+ let K = I[1]
164+ WriteSet([DataEntry((toString(y.caller) + "_event2DebtForThisPlayer"), M), DataEntry((toString(E) + "_event"), q), DataEntry((toString(E) + "_qoef1"), i), DataEntry((toString(E) + "_qoef2"), k), DataEntry((toString(E) + "_bettor"), toString(y.caller)), DataEntry("q1_next", J), DataEntry("q2_next", K), DataEntry("count", E)])
165+ }
166+ else throw("incorrect bet amount")
167+ }
164168 }
165169
166170
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 3 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = 190
55
66 let b = 190
77
88 let c = 52
99
1010 let d = 1000
1111
1212 let e = 10
1313
1414 let f = 2
1515
1616 let g = 100
1717
1818 func h () = {
1919 let i = if (isDefined(getInteger(this, "q1_next")))
2020 then a
2121 else a
2222 i
2323 }
2424
2525
2626 func j () = {
2727 let k = if (isDefined(getInteger(this, "q2_next")))
2828 then b
2929 else b
3030 k
3131 }
3232
3333
3434 func l () = {
3535 let m = if (isDefined(getInteger(this, "debtAmount1")))
3636 then getIntegerValue(this, "debtAmount1")
3737 else 0
3838 m
3939 }
4040
4141
4242 func n () = {
4343 let o = if (isDefined(getInteger(this, "debtAmount2")))
4444 then getIntegerValue(this, "debtAmount2")
4545 else 0
4646 o
4747 }
4848
4949
5050 func p (q,r) = {
5151 let s = getIntegerValue(this, q)
5252 let t = (((1 * 100000) - (s * 1000)) / (g - e))
5353 let u = ((1 * 100000) - (t * g))
5454 let v = (((r * t) + u) / 1000)
5555 v
5656 }
5757
5858
5959 func w (s,c) = {
6060 let w = pow(((c + 1000) - (100000 / s)), 0, -1, 0, 5, DOWN)
6161 w
6262 }
6363
6464
6565 func x (r,m,o) = if ((0 > m))
6666 then {
6767 let t = (((1 * 1000000) - (a * 10000)) / d)
6868 let u = ((1 * 1000000) - (t * d))
6969 let i = ((-(t) * m) + (u / 1000))
7070 let k = w(i, c)
7171 [i, k]
7272 }
7373 else if ((m > 0))
7474 then {
7575 let t = (((1 * 1000000) - (a * 10000)) / d)
7676 let u = ((1 * 1000000) - (t * d))
7777 let k = ((-(t) * o) + (u / 1000))
7878 let i = w(k, c)
7979 [i, k]
8080 }
8181 else {
8282 let i = a
8383 let k = b
8484 [i, k]
8585 }
8686
8787
8888 @Callable(y)
8989 func bet (q) = {
9090 let r = {
9191 let z = y.payment
9292 if ($isInstanceOf(z, "AttachedPayment"))
9393 then {
9494 let A = z
9595 if ((f > A.amount))
9696 then throw("low payment")
9797 else A.amount
9898 }
9999 else throw("Payment not attached")
100100 }
101101 let B = if (isDefined(getInteger(this, "count")))
102102 then getIntegerValue(this, "count")
103103 else 0
104104 let C = if (isDefined(getInteger(this, (toString(y.caller) + "_event1DebtForThisPlayer"))))
105105 then getIntegerValue(this, (toString(y.caller) + "_event1DebtForThisPlayer"))
106106 else 0
107107 let D = if (isDefined(getInteger(this, (toString(y.caller) + "_event2DebtForThisPlayer"))))
108108 then getIntegerValue(this, (toString(y.caller) + "_event2DebtForThisPlayer"))
109109 else 0
110110 let m = l()
111111 let o = n()
112112 let i = h()
113- let k = j()
114- let E = (B + 1)
115- if ((q == 1))
116- then if ((e >= r))
117- then {
118- let F = (C + (i * r))
119- let G = (m - (i * r))
120- let H = (o + r)
121- let I = x(r, G, H)
122- let J = I[0]
123- let K = I[1]
124- WriteSet([DataEntry((toString(y.caller) + "_event1DebtForThisPlayer"), F), DataEntry((toString(E) + "_event"), q), DataEntry((toString(E) + "_qoef1"), i), DataEntry((toString(E) + "_qoef2"), k), DataEntry((toString(E) + "_bettor"), toString(y.caller)), DataEntry("q1_next", J), DataEntry("q2_next", K), DataEntry("count", E)])
125- }
126- else if (if ((r > e))
127- then (g > r)
128- else false)
129- then {
130- let L = p("q1_next", r)
131- let F = (C + (L * r))
132- let G = (m - (L * r))
133- let H = (o + r)
134- let I = x(r, G, H)
135- let J = I[0]
136- let K = I[1]
137- WriteSet([DataEntry((toString(y.caller) + "_event1DebtForThisPlayer"), F), DataEntry((toString(E) + "_event"), q), DataEntry((toString(E) + "_qoef1"), i), DataEntry((toString(E) + "_qoef2"), k), DataEntry((toString(E) + "_bettor"), toString(y.caller)), DataEntry("q1_next", J), DataEntry("q2_next", K), DataEntry("count", E)])
138- }
139- else throw("incorrect bet amount")
140- else if ((e >= r))
141- then {
142- let M = (D + (k * r))
143- let H = (o - (k * r))
144- let G = (m + r)
145- let I = x(r, G, H)
146- let J = I[0]
147- let K = I[1]
148- WriteSet([DataEntry((toString(y.caller) + "_event2DebtForThisPlayer"), M), DataEntry((toString(E) + "_event"), q), DataEntry((toString(E) + "_qoef1"), i), DataEntry((toString(E) + "_qoef2"), k), DataEntry((toString(E) + "_bettor"), toString(y.caller)), DataEntry("q1_next", J), DataEntry("q2_next", K), DataEntry("count", E)])
149- }
150- else if (if ((r > e))
151- then (f > r)
152- else false)
153- then {
154- let N = p("q2_next", r)
155- let M = (D + (N * r))
156- let H = (o - (N * r))
157- let G = (m + r)
158- let I = x(r, G, H)
159- let J = I[0]
160- let K = I[1]
161- WriteSet([DataEntry((toString(y.caller) + "_event2DebtForThisPlayer"), M), DataEntry((toString(E) + "_event"), q), DataEntry((toString(E) + "_qoef1"), i), DataEntry((toString(E) + "_qoef2"), k), DataEntry((toString(E) + "_bettor"), toString(y.caller)), DataEntry("q1_next", J), DataEntry("q2_next", K), DataEntry("count", E)])
162- }
163- else throw("incorrect bet amount")
113+ if (true)
114+ then throw(toString(i))
115+ else {
116+ let k = j()
117+ let E = (B + 1)
118+ if ((q == 1))
119+ then if ((e >= r))
120+ then {
121+ let F = (C + (i * r))
122+ let G = (m - (i * r))
123+ let H = (o + r)
124+ let I = x(r, G, H)
125+ let J = I[0]
126+ let K = I[1]
127+ WriteSet([DataEntry((toString(y.caller) + "_event1DebtForThisPlayer"), F), DataEntry((toString(E) + "_event"), q), DataEntry((toString(E) + "_qoef1"), i), DataEntry((toString(E) + "_qoef2"), k), DataEntry((toString(E) + "_bettor"), toString(y.caller)), DataEntry("q1_next", J), DataEntry("q2_next", K), DataEntry("count", E)])
128+ }
129+ else if (if ((r > e))
130+ then (g > r)
131+ else false)
132+ then {
133+ let L = p("q1_next", r)
134+ let F = (C + (L * r))
135+ let G = (m - (L * r))
136+ let H = (o + r)
137+ let I = x(r, G, H)
138+ let J = I[0]
139+ let K = I[1]
140+ WriteSet([DataEntry((toString(y.caller) + "_event1DebtForThisPlayer"), F), DataEntry((toString(E) + "_event"), q), DataEntry((toString(E) + "_qoef1"), i), DataEntry((toString(E) + "_qoef2"), k), DataEntry((toString(E) + "_bettor"), toString(y.caller)), DataEntry("q1_next", J), DataEntry("q2_next", K), DataEntry("count", E)])
141+ }
142+ else throw("incorrect bet amount")
143+ else if ((e >= r))
144+ then {
145+ let M = (D + (k * r))
146+ let H = (o - (k * r))
147+ let G = (m + r)
148+ let I = x(r, G, H)
149+ let J = I[0]
150+ let K = I[1]
151+ WriteSet([DataEntry((toString(y.caller) + "_event2DebtForThisPlayer"), M), DataEntry((toString(E) + "_event"), q), DataEntry((toString(E) + "_qoef1"), i), DataEntry((toString(E) + "_qoef2"), k), DataEntry((toString(E) + "_bettor"), toString(y.caller)), DataEntry("q1_next", J), DataEntry("q2_next", K), DataEntry("count", E)])
152+ }
153+ else if (if ((r > e))
154+ then (f > r)
155+ else false)
156+ then {
157+ let N = p("q2_next", r)
158+ let M = (D + (N * r))
159+ let H = (o - (N * r))
160+ let G = (m + r)
161+ let I = x(r, G, H)
162+ let J = I[0]
163+ let K = I[1]
164+ WriteSet([DataEntry((toString(y.caller) + "_event2DebtForThisPlayer"), M), DataEntry((toString(E) + "_event"), q), DataEntry((toString(E) + "_qoef1"), i), DataEntry((toString(E) + "_qoef2"), k), DataEntry((toString(E) + "_bettor"), toString(y.caller)), DataEntry("q1_next", J), DataEntry("q2_next", K), DataEntry("count", E)])
165+ }
166+ else throw("incorrect bet amount")
167+ }
164168 }
165169
166170
167171
168172 @Callable(y)
169173 func withdraw () = {
170174 let O = {
171175 let z = getInteger(this, (toString(y.caller) + "__event1DebtForThisPlayer"))
172176 if ($isInstanceOf(z, "Unit"))
173177 then {
174178 let P = z
175179 0
176180 }
177181 else if ($isInstanceOf(z, "Int"))
178182 then {
179183 let Q = z
180184 Q
181185 }
182186 else throw()
183187 }
184188 let R = {
185189 let z = getInteger(this, (toString(y.caller) + "__event2DebtForThisPlayer"))
186190 if ($isInstanceOf(z, "Unit"))
187191 then {
188192 let P = z
189193 0
190194 }
191195 else if ($isInstanceOf(z, "Int"))
192196 then {
193197 let Q = z
194198 Q
195199 }
196200 else throw()
197201 }
198202 let S = {
199203 let z = getBoolean(this, "result_event_1")
200204 if ($isInstanceOf(z, "Unit"))
201205 then {
202206 let P = z
203207 false
204208 }
205209 else if ($isInstanceOf(z, "Boolean"))
206210 then {
207211 let u = z
208212 u
209213 }
210214 else throw()
211215 }
212216 let T = {
213217 let z = getBoolean(this, "result_event_2")
214218 if ($isInstanceOf(z, "Unit"))
215219 then {
216220 let P = z
217221 false
218222 }
219223 else if ($isInstanceOf(z, "Boolean"))
220224 then {
221225 let u = z
222226 u
223227 }
224228 else throw()
225229 }
226230 if (S)
227231 then ScriptResult(WriteSet([DataEntry((toString(y.caller) + "_event1amount"), 0)]), TransferSet([ScriptTransfer(y.caller, (O * 1000000), unit)]))
228232 else if (T)
229233 then ScriptResult(WriteSet([DataEntry((toString(y.caller) + "_event2amount"), 0)]), TransferSet([ScriptTransfer(y.caller, (R * 1000000), unit)]))
230234 else throw("event did not happen or you have zero win")
231235 }
232236
233237

github/deemru/w8io/169f3d6 
39.89 ms