tx · GMRP3nZnNpxGRhQ3opZNQXWrZx29TzbA4cfJ5BMfuSCa

3MrC1oqVCoLkfHabhJtrLJS6GxcooQwRWuP:  -0.01400000 Waves

2020.01.03 16:02 [837707] smart account 3MrC1oqVCoLkfHabhJtrLJS6GxcooQwRWuP > SELF 0.00000000 Waves

{ "type": 13, "id": "GMRP3nZnNpxGRhQ3opZNQXWrZx29TzbA4cfJ5BMfuSCa", "fee": 1400000, "feeAssetId": null, "timestamp": 1578056592945, "version": 1, "sender": "3MrC1oqVCoLkfHabhJtrLJS6GxcooQwRWuP", "senderPublicKey": "3bmZaUZ9wp3K1YZQFqTkN1oZzumQPi7WLQ9QowMaqqEZ", "proofs": [ "4GBDtCMjcZQs3HGa2pF46oKTuasreow7wZFd4XQtw55S6erNbngeS3Qdvgej19C2Ea9r4RBeWPwSQcR5hN3N8Zf5" ], "script": "base64:AAIDAAAAAAAAAAkIARIDCgEBEgAAAAAOAAAAAAdxMXN0YXJ0AAAAAAAAAAC+AAAAAAdxMnN0YXJ0AAAAAAAAAAC+AAAAAAN2aWcAAAAAAAAAADQAAAAACnJpc2tBbW91bnQAAAAAAAAAA+gAAAAADGJldFRocmVzaG9sZAAAAAAAAAAACgAAAAAGYmV0TWluAAAAAAAAAAACAAAAAAZiZXRNYXgAAAAAAAAAAGQBAAAACXExRXh0cmFjdAAAAAAEAAAAAnExAwkBAAAACWlzRGVmaW5lZAAAAAECAAAAB3ExX25leHQJAQAAABFAZXh0ck5hdGl2ZSgxMDUwKQAAAAIFAAAABHRoaXMCAAAAB3ExX25leHQFAAAAB3Exc3RhcnQFAAAAAnExAQAAAAlxMkV4dHJhY3QAAAAABAAAAAJxMgMJAQAAAAlpc0RlZmluZWQAAAABAgAAAAdxMl9uZXh0CQEAAAARQGV4dHJOYXRpdmUoMTA1MCkAAAACBQAAAAR0aGlzAgAAAAdxMl9uZXh0BQAAAAdxMnN0YXJ0BQAAAAJxMgEAAAASZGVidEFtb3VudDFFeHRyYWN0AAAAAAQ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gwBQAAAAFiCQEAAAAFdGhyb3cAAAAAAwUAAAAGZXZlbnQxCQEAAAAMU2NyaXB0UmVzdWx0AAAAAgkBAAAACFdyaXRlU2V0AAAAAQkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgkAASwAAAACCQAEJQAAAAEIBQAAAApjb250ZXh0T2JqAAAABmNhbGxlcgIAAAANX2V2ZW50MWFtb3VudAAAAAAAAAAAAAUAAAADbmlsCQEAAAALVHJhbnNmZXJTZXQAAAABCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMIBQAAAApjb250ZXh0T2JqAAAABmNhbGxlcgkAAGgAAAACBQAAAAxldmVudDFhbW91bnQAAAAAAAAPQkAFAAAABHVuaXQFAAAAA25pbAMFAAAABmV2ZW50MgkBAAAADFNjcmlwdFJlc3VsdAAAAAIJAQAAAAhXcml0ZVNldAAAAAEJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIJAAEsAAAAAgkABCUAAAABCAUAAAAKY29udGV4dE9iagAAAAZjYWxsZXICAAAADV9ldmVudDJhbW91bnQAAAAAAAAAAAAFAAAAA25pbAkBAAAAC1RyYW5zZmVyU2V0AAAAAQkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCAUAAAAKY29udGV4dE9iagAAAAZjYWxsZXIJAABoAAAAAgUAAAAMZXZlbnQyYW1vdW50AAAAAAAAD0JABQAAAAR1bml0BQAAAANuaWwJAAACAAAAAQIAAAApZXZlbnQgZGlkIG5vdCBoYXBwZW4gb3IgeW91IGhhdmUgemVybyB3aW4AAAAATwIl5Q==", "chainId": 84, "height": 837707, "spentComplexity": 0 } View: original | compacted Prev: B1kry7xoV3iBqQaiVMGK2rHQM3fZbNgCEuefFgKKudLb Next: 5PYUnqE2JyVqidPwLXUEJbF53ZDcnHbKWCdwdzdhox2s Diff:
OldNewDifferences
1111
1212 let e = 10
1313
14-let f = 1
14+let f = 2
1515
1616 let g = 100
1717
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
14-let f = 1
14+let f = 2
1515
1616 let g = 100
1717
1818 func h () = {
1919 let i = if (isDefined("q1_next"))
2020 then getIntegerValue(this, "q1_next")
2121 else a
2222 i
2323 }
2424
2525
2626 func j () = {
2727 let k = if (isDefined("q2_next"))
2828 then getIntegerValue(this, "q2_next")
2929 else b
3030 k
3131 }
3232
3333
3434 func l () = {
3535 let m = if (isDefined("debtAmount1"))
3636 then getIntegerValue(this, "debtAmount1")
3737 else 0
3838 m
3939 }
4040
4141
4242 func n () = {
4343 let o = if (isDefined("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("count"))
102102 then getIntegerValue(this, "count")
103103 else 0
104104 let C = if (isDefined((toString(y.caller) + "_event1DebtForThisPlayer")))
105105 then getIntegerValue(this, (toString(y.caller) + "_event1DebtForThisPlayer"))
106106 else 0
107107 let D = if (isDefined((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()
113113 let k = j()
114114 let E = (B + 1)
115115 if ((q == 1))
116116 then if ((e > r))
117117 then {
118118 let F = (C + (i * r))
119119 let G = (m - (i * r))
120120 let H = (o + r)
121121 let I = x(r, G, H)
122122 let J = I[0]
123123 let K = I[1]
124124 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)])
125125 }
126126 else if (if ((r > e))
127127 then (g > r)
128128 else false)
129129 then {
130130 let L = p("q1_next", r)
131131 let F = (C + (L * r))
132132 let G = (m - (L * r))
133133 let H = (o + r)
134134 let I = x(r, G, H)
135135 let J = I[0]
136136 let K = I[1]
137137 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)])
138138 }
139139 else throw("incorrect bet amount")
140140 else if ((e > r))
141141 then {
142142 let M = (D + (k * r))
143143 let H = (o - (k * r))
144144 let G = (m + r)
145145 let I = x(r, G, H)
146146 let J = I[0]
147147 let K = I[1]
148148 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)])
149149 }
150150 else if (if ((r > e))
151151 then (f > r)
152152 else false)
153153 then {
154154 let N = p("q2_next", r)
155155 let M = (D + (N * r))
156156 let H = (o - (N * r))
157157 let G = (m + r)
158158 let I = x(r, G, H)
159159 let J = I[0]
160160 let K = I[1]
161161 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)])
162162 }
163163 else throw("incorrect bet amount")
164164 }
165165
166166
167167
168168 @Callable(y)
169169 func withdraw () = {
170170 let O = {
171171 let z = getInteger(this, (toString(y.caller) + "__event1DebtForThisPlayer"))
172172 if ($isInstanceOf(z, "Unit"))
173173 then {
174174 let P = z
175175 0
176176 }
177177 else if ($isInstanceOf(z, "Int"))
178178 then {
179179 let Q = z
180180 Q
181181 }
182182 else throw()
183183 }
184184 let R = {
185185 let z = getInteger(this, (toString(y.caller) + "__event2DebtForThisPlayer"))
186186 if ($isInstanceOf(z, "Unit"))
187187 then {
188188 let P = z
189189 0
190190 }
191191 else if ($isInstanceOf(z, "Int"))
192192 then {
193193 let Q = z
194194 Q
195195 }
196196 else throw()
197197 }
198198 let S = {
199199 let z = getBoolean(this, "result_event_1")
200200 if ($isInstanceOf(z, "Unit"))
201201 then {
202202 let P = z
203203 false
204204 }
205205 else if ($isInstanceOf(z, "Boolean"))
206206 then {
207207 let u = z
208208 u
209209 }
210210 else throw()
211211 }
212212 let T = {
213213 let z = getBoolean(this, "result_event_2")
214214 if ($isInstanceOf(z, "Unit"))
215215 then {
216216 let P = z
217217 false
218218 }
219219 else if ($isInstanceOf(z, "Boolean"))
220220 then {
221221 let u = z
222222 u
223223 }
224224 else throw()
225225 }
226226 if (S)
227227 then ScriptResult(WriteSet([DataEntry((toString(y.caller) + "_event1amount"), 0)]), TransferSet([ScriptTransfer(y.caller, (O * 1000000), unit)]))
228228 else if (T)
229229 then ScriptResult(WriteSet([DataEntry((toString(y.caller) + "_event2amount"), 0)]), TransferSet([ScriptTransfer(y.caller, (R * 1000000), unit)]))
230230 else throw("event did not happen or you have zero win")
231231 }
232232
233233

github/deemru/w8io/026f985 
46.68 ms