tx · HaFEZJKiX6ZjEPFGKkLmiCVGtCy4csMCPucNsL5oQsLo

3N3AeA5FWm7EHheHoik8BBEA3GXXJosnVY8:  -0.01400000 Waves

2019.11.07 16:48 [754592] smart account 3N3AeA5FWm7EHheHoik8BBEA3GXXJosnVY8 > SELF 0.00000000 Waves

{ "type": 13, "id": "HaFEZJKiX6ZjEPFGKkLmiCVGtCy4csMCPucNsL5oQsLo", "fee": 1400000, "feeAssetId": null, "timestamp": 1573134486301, "version": 1, "sender": "3N3AeA5FWm7EHheHoik8BBEA3GXXJosnVY8", "senderPublicKey": "87US7E5SdpUB7rbkzLmEUKfYg7uihzCvRzEKy1mCNNjq", "proofs": [ "CLAG1dHjsHYVLLY94JqS9t8PQmTsMHgQNFijp754FkisF9TkPH38ND13HBX8GmhYE6XKC2P6r5fUErYEQMshicp" ], "script": "base64:AAIDAAAAAAAAAAkIARIDCgEBEgAAAAAGAAAAAAdxMXN0YXJ0AAAAAAAAAAC+AAAAAAdxMnN0YXJ0AAAAAAAAAAC+AAAAAAN2aWcAAAAAAAAAADQAAAAAAXMAAAAAAAAAAAoBAAAABGNvZWYAAAACAAAAAXEAAAADZGlmBAAAAARjb2VmCQAAaQAAAAIJAABoAAAAAgUAAAABcQkAAGQAAAACCQAAaAAAAAIJAABoAAAAAgD/////////0QUAAAADZGlmBQAAAANkaWYAAAAAAAAAJxAAAAAAAAAAJxAFAAAABGNvZWYBAAAAC2Fub3RoZXJjb2VmAAAAAgAAAAFxAAAAA2RpZgQAAAAJYWN0dWFsdmlnCQAAaQAAAAIJAABoAAAAAgUAAAADdmlnCQAAZAAAAAIJAABkAAAAAgkAAGgAAAACCQAAaAAAAAIA/////////6EFAAAAA2RpZgUAAAADZGlmCQAAaAAAAAIAAAAAAAAAB1UFAAAAA2RpZgAAAAAAAAAnEAAAAAAAAAAnEAQAAAALYW5vdGhlcmNvZWYJAABsAAAABgkAAGUAAAACCQAAZAAAAAIFAAAACWFjdHVhbHZpZwAAAAAAAAAD6Ak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udDFhbW91bnQAAAAAAAAPQkAFAAAABHVuaXQFAAAAA25pbAMFAAAABmV2ZW50MgkBAAAADFNjcmlwdFJlc3VsdAAAAAIJAQAAAAhXcml0ZVNldAAAAAEJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIJAAEsAAAAAgkABCUAAAABCAUAAAAKY29udGV4dE9iagAAAAZjYWxsZXICAAAADV9ldmVudDJhbW91bnQAAAAAAAAAAAAFAAAAA25pbAkBAAAAC1RyYW5zZmVyU2V0AAAAAQkABEwAAAACCQEAAAAOU2NyaXB0VHJhbnNmZXIAAAADCAUAAAAKY29udGV4dE9iagAAAAZjYWxsZXIJAABoAAAAAgUAAAAMZXZlbnQyYW1vdW50AAAAAAAAD0JABQAAAAR1bml0BQAAAANuaWwJAAACAAAAAQIAAAApZXZlbnQgZGlkIG5vdCBoYXBwZW4gb3IgeW91IGhhdmUgemVybyB3aW4AAAAAM7LBug==", "chainId": 84, "height": 754592, "spentComplexity": 0 } View: original | compacted Prev: AdatC7QK1mHr3CbVVKfeAjbewyn7keqJ1U1JZs1ikHrH Next: none 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 = 10
1111
1212 func e (f,g) = {
1313 let e = ((f * (((-47 * g) * g) + 10000)) / 10000)
1414 e
1515 }
1616
1717
1818 func h (f,g) = {
1919 let i = ((c * ((((-95 * g) * g) + (1877 * g)) + 10000)) / 10000)
2020 let h = pow(((i + 1000) - (100000 / f)), 0, -1, 0, 5, DOWN)
2121 if ((h > 270))
2222 then 270
2323 else h
2424 }
2525
2626
2727 @Callable(j)
2828 func bet (k) = {
2929 let l = {
3030 let m = j.payment
3131 if ($isInstanceOf(m, "AttachedPayment"))
3232 then {
3333 let n = m
3434 if ((100000000 > n.amount))
3535 then throw("low payment")
3636 else n
3737 }
3838 else throw("Paymx`ent not attached")
3939 }
4040 let o = getIntegerValue(this, "n")
4141 let p = getIntegerValue(this, "m")
4242 let q = getIntegerValue(this, "count")
4343 let r = (o - p)
4444 let s = {
4545 let m = getInteger(this, (toString(j.caller) + "_event1amount"))
4646 if ($isInstanceOf(m, "Unit"))
4747 then {
4848 let t = m
4949 0
5050 }
5151 else if ($isInstanceOf(m, "Int"))
5252 then {
5353 let u = m
5454 u
5555 }
5656 else throw()
5757 }
5858 let v = {
5959 let m = getInteger(this, (toString(j.caller) + "_event2amount"))
6060 if ($isInstanceOf(m, "Unit"))
6161 then {
6262 let t = m
6363 0
6464 }
6565 else if ($isInstanceOf(m, "Int"))
6666 then {
6767 let u = m
6868 u
6969 }
7070 else throw()
7171 }
7272 let w = {
7373 let m = getInteger(this, "q1_next")
7474 if ($isInstanceOf(m, "Unit"))
7575 then {
7676 let t = m
7777 0
7878 }
7979 else if ($isInstanceOf(m, "Int"))
8080 then {
8181 let u = m
8282 u
8383 }
8484 else throw()
8585 }
8686 let x = {
8787 let m = getInteger(this, "q2_next")
8888 if ($isInstanceOf(m, "Unit"))
8989 then {
9090 let t = m
9191 0
9292 }
9393 else if ($isInstanceOf(m, "Int"))
9494 then {
9595 let u = m
9696 u
9797 }
9898 else throw()
9999 }
100100 let g = if ((k == 1))
101101 then (r + 1)
102102 else (r - 1)
103103 let y = if ((g >= 0))
104104 then e(a, g)
105105 else h(e(b, g), g)
106106 let z = if ((g >= 0))
107107 then h(e(a, g), g)
108108 else e(b, g)
109109 let A = if (((g + 1) >= 0))
110110 then e(a, (g + 1))
111111 else h(e(b, (g + 1)), (g + 1))
112112 let B = if (((g - 1) >= 0))
113113 then h(e(a, (g - 1)), (g - 1))
114114 else e(b, (g - 1))
115115 let C = (q + 1)
116116 if ((k == 1))
117117 then if ((100 > y))
118118 then throw(("to low coef q1 = " + toString(y)))
119119 else {
120120 let D = (o + 1)
121121 WriteSet([DataEntry((toString(j.caller) + "_event1amount"), (s + y)), DataEntry((toString(C) + "_event"), k), DataEntry((toString(C) + "_qoef1"), y), DataEntry((toString(C) + "_qoef2"), x), DataEntry((toString(C) + "_bettor"), toString(j.caller)), DataEntry("q1_next", A), DataEntry("q2_next", B), DataEntry("n", D), DataEntry("count", C)])
122122 }
123123 else if ((100 > z))
124124 then throw(("to low coef q2 = " + toString(z)))
125125 else {
126126 let E = (p + 1)
127127 WriteSet([DataEntry((toString(j.caller) + "_event2amount"), (v + z)), DataEntry((toString(C) + "_event"), k), DataEntry((toString(C) + "_qoef1"), w), DataEntry((toString(C) + "_qoef2"), z), DataEntry((toString(C) + "_bettor"), toString(j.caller)), DataEntry("q1_next", A), DataEntry("q2_next", B), DataEntry("m", E), DataEntry("count", C)])
128128 }
129129 }
130130
131131
132132
133133 @Callable(j)
134134 func withdraw () = {
135135 let s = {
136136 let m = getInteger(this, (toString(j.caller) + "_event1amount"))
137137 if ($isInstanceOf(m, "Unit"))
138138 then {
139139 let t = m
140140 0
141141 }
142142 else if ($isInstanceOf(m, "Int"))
143143 then {
144144 let u = m
145145 u
146146 }
147147 else throw()
148148 }
149149 let v = {
150150 let m = getInteger(this, (toString(j.caller) + "_event2amount"))
151151 if ($isInstanceOf(m, "Unit"))
152152 then {
153153 let t = m
154154 0
155155 }
156156 else if ($isInstanceOf(m, "Int"))
157157 then {
158158 let u = m
159159 u
160160 }
161161 else throw()
162162 }
163163 let F = {
164164 let m = getBoolean(this, "result_event_1")
165165 if ($isInstanceOf(m, "Unit"))
166166 then {
167167 let t = m
168168 false
169169 }
170170 else if ($isInstanceOf(m, "Boolean"))
171171 then {
172172 let G = m
173173 G
174174 }
175175 else throw()
176176 }
177177 let H = {
178178 let m = getBoolean(this, "result_event_2")
179179 if ($isInstanceOf(m, "Unit"))
180180 then {
181181 let t = m
182182 false
183183 }
184184 else if ($isInstanceOf(m, "Boolean"))
185185 then {
186186 let G = m
187187 G
188188 }
189189 else throw()
190190 }
191191 if (F)
192192 then ScriptResult(WriteSet([DataEntry((toString(j.caller) + "_event1amount"), 0)]), TransferSet([ScriptTransfer(j.caller, (s * 1000000), unit)]))
193193 else if (H)
194194 then ScriptResult(WriteSet([DataEntry((toString(j.caller) + "_event2amount"), 0)]), TransferSet([ScriptTransfer(j.caller, (v * 1000000), unit)]))
195195 else throw("event did not happen or you have zero win")
196196 }
197197
198198

github/deemru/w8io/169f3d6 
104.67 ms