tx · 74PWAvnbpmfVsTBqSap1pi4EbU18QhmUvy2LkYsLZnhw 3MvuSn7KBR39PoLQ9jDM117mDyzFuBJs3qy: -0.01400000 Waves 2020.01.16 16:15 [856750] smart account 3MvuSn7KBR39PoLQ9jDM117mDyzFuBJs3qy > SELF 0.00000000 Waves
{ "type": 13, "id": "74PWAvnbpmfVsTBqSap1pi4EbU18QhmUvy2LkYsLZnhw", "fee": 1400000, "feeAssetId": null, "timestamp": 1579180526673, "version": 1, "sender": "3MvuSn7KBR39PoLQ9jDM117mDyzFuBJs3qy", "senderPublicKey": "4hZyqjUHP9eJzVZcavLKsYDRYgGbGqXnSkJ2SFPg8oL2", "proofs": [ "3rDZ8xDmcR8QacAcQ5m4YQvNRvvpeWjQMtkj7wxYg8DFA6a9Gm77o3jbm1PRWmjaumjYiZVaRTNvgGmH4dud5fbU" ], "script": "base64:AAIDAAAAAAAAAAkIARIDCgEBEgAAAAAOAAAAAAdxMXN0YXJ0AAAAAAAAAAC+AAAAAAdxMnN0YXJ0AAAAAAAAAAC+AAAAAAN2aWcAAAAAAAAAADQAAAAACnJpc2tBbW91bnQAAAAAAAAAA+gAAAAADGJldFRocmVzaG9sZAAAAAAAAAAACgAAAAAGYmV0TWluAAAAAAAAAAABAAAAAAZiZXRNYXgAAAAAAAAAAGQBAAAACXExRXh0cmFjdAAAAAAEAAAAAnExAwkBAAAACWlzRGVmaW5lZAAAAAEJAAQaAAAAAgUAAAAEdGhpcwIAAAAHcTFfbmV4dAkBAAAAEUBleHRyTmF0aXZlKDEwNTApAAAAAgUAAAAEdGhpcwIAAAAHcTFfbmV4dAUAAAAHcTFzdGFydAUAAAACcTEBAAAACXEyRXh0cmFjdAAAAAAEAAAAAnEyAwkBAAAACWlzRGVmaW5lZAAAAAEJAAQaAAAAAgUAAAAEdGhpcwIAAAAHcTJfbmV4dAkBAAAAEUBleHRyTmF0aXZlKDEwNTApAAAAAgUAAAAEdGhpcwIAAAAHcTJfbmV4dAUAAAAHcTJzdGF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QkAFAAAABHVuaXQFAAAAA25pbAkAAAIAAAABAgAAAClldmVudCBkaWQgbm90IGhhcHBlbiBvciB5b3UgaGF2ZSB6ZXJvIHdpbgAAAACi0oEh", "chainId": 84, "height": 856750, "spentComplexity": 0 } View: original | compacted Prev: 9EVbfyu9V2EEVY2QM48RRzTSDopRwR8YTr1b7tdY9vTC Next: WhLtYqrk41e7tGcUQgvqNzWPU1hAJ6GZaoKZBwheTKe Diff:
Old | New | Differences | |
---|---|---|---|
114 | 114 | if ((q == 1)) | |
115 | 115 | then if ((e >= r)) | |
116 | 116 | then { | |
117 | - | let F = (C + (i * r)) | |
117 | + | let F = (C + ((i * r) / 100)) | |
118 | 118 | let G = ((m + r) - ((i * r) / 100)) | |
119 | 119 | let H = (o + r) | |
120 | 120 | let I = x(r, G, H) | |
127 | 127 | else false) | |
128 | 128 | then { | |
129 | 129 | let L = p("q1_next", r, i) | |
130 | - | let F = (C + (L * r)) | |
130 | + | let F = (C + ((L * r) / 100)) | |
131 | 131 | let G = ((m + r) - ((L * r) / 100)) | |
132 | 132 | let H = (o + r) | |
133 | 133 | let I = x(r, G, H) | |
139 | 139 | else if ((q == 2)) | |
140 | 140 | then if ((e >= r)) | |
141 | 141 | then { | |
142 | - | let M = (D + (k * r)) | |
142 | + | let M = (D + ((k * r) / 100)) | |
143 | 143 | let H = ((o + r) - ((k * r) / 100)) | |
144 | 144 | let G = (m + r) | |
145 | 145 | let I = x(r, G, H) | |
152 | 152 | else false) | |
153 | 153 | then { | |
154 | 154 | let N = p("q2_next", r, k) | |
155 | - | let M = (D + (N * r)) | |
155 | + | let M = (D + ((N * r) / 100)) | |
156 | 156 | let H = ((o + r) - ((N * r) / 100)) | |
157 | 157 | let G = (m + r) | |
158 | 158 | let I = x(r, G, H) |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 3 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = 190 | |
5 | 5 | ||
6 | 6 | let b = 190 | |
7 | 7 | ||
8 | 8 | let c = 52 | |
9 | 9 | ||
10 | 10 | let d = 1000 | |
11 | 11 | ||
12 | 12 | let e = 10 | |
13 | 13 | ||
14 | 14 | let f = 1 | |
15 | 15 | ||
16 | 16 | let g = 100 | |
17 | 17 | ||
18 | 18 | func h () = { | |
19 | 19 | let i = if (isDefined(getInteger(this, "q1_next"))) | |
20 | 20 | then getIntegerValue(this, "q1_next") | |
21 | 21 | else a | |
22 | 22 | i | |
23 | 23 | } | |
24 | 24 | ||
25 | 25 | ||
26 | 26 | func j () = { | |
27 | 27 | let k = if (isDefined(getInteger(this, "q2_next"))) | |
28 | 28 | then getIntegerValue(this, "q2_next") | |
29 | 29 | else b | |
30 | 30 | k | |
31 | 31 | } | |
32 | 32 | ||
33 | 33 | ||
34 | 34 | func l () = { | |
35 | 35 | let m = if (isDefined(getInteger(this, "debtAmount1"))) | |
36 | 36 | then getIntegerValue(this, "debtAmount1") | |
37 | 37 | else 0 | |
38 | 38 | m | |
39 | 39 | } | |
40 | 40 | ||
41 | 41 | ||
42 | 42 | func n () = { | |
43 | 43 | let o = if (isDefined(getInteger(this, "debtAmount2"))) | |
44 | 44 | then getIntegerValue(this, "debtAmount2") | |
45 | 45 | else 0 | |
46 | 46 | o | |
47 | 47 | } | |
48 | 48 | ||
49 | 49 | ||
50 | 50 | func p (q,r,s) = { | |
51 | 51 | let t = (((1 * 100000) - (s * 1000)) / (g - e)) | |
52 | 52 | let u = ((1 * 100000) - (t * g)) | |
53 | 53 | let v = (((r * t) + u) / 1000) | |
54 | 54 | v | |
55 | 55 | } | |
56 | 56 | ||
57 | 57 | ||
58 | 58 | func w (s,c) = { | |
59 | 59 | let w = pow(((c + 1000) - (100000 / s)), 0, -1, 0, 5, DOWN) | |
60 | 60 | w | |
61 | 61 | } | |
62 | 62 | ||
63 | 63 | ||
64 | 64 | func x (r,m,o) = if ((0 > m)) | |
65 | 65 | then { | |
66 | 66 | let t = (((1 * 1000000) - (a * 10000)) / d) | |
67 | 67 | let u = ((1 * 1000000) - (t * d)) | |
68 | 68 | let i = (((-(t) * m) + u) / 10000) | |
69 | 69 | let k = w(i, c) | |
70 | 70 | [i, k] | |
71 | 71 | } | |
72 | 72 | else if ((m > 0)) | |
73 | 73 | then { | |
74 | 74 | let t = (((1 * 1000000) - (b * 10000)) / d) | |
75 | 75 | let u = ((1 * 1000000) - (t * d)) | |
76 | 76 | let k = (((-(t) * o) + u) / 10000) | |
77 | 77 | let i = w(k, c) | |
78 | 78 | [i, k] | |
79 | 79 | } | |
80 | 80 | else { | |
81 | 81 | let i = a | |
82 | 82 | let k = b | |
83 | 83 | [i, k] | |
84 | 84 | } | |
85 | 85 | ||
86 | 86 | ||
87 | 87 | @Callable(y) | |
88 | 88 | func bet (q) = { | |
89 | 89 | let r = { | |
90 | 90 | let z = y.payment | |
91 | 91 | if ($isInstanceOf(z, "AttachedPayment")) | |
92 | 92 | then { | |
93 | 93 | let A = z | |
94 | 94 | if ((f > A.amount)) | |
95 | 95 | then throw("low payment") | |
96 | 96 | else A.amount | |
97 | 97 | } | |
98 | 98 | else throw("Payment not attached") | |
99 | 99 | } | |
100 | 100 | let B = if (isDefined(getInteger(this, "count"))) | |
101 | 101 | then getIntegerValue(this, "count") | |
102 | 102 | else 0 | |
103 | 103 | let C = if (isDefined(getInteger(this, (toString(y.caller) + "_event1DebtForThisPlayer")))) | |
104 | 104 | then getIntegerValue(this, (toString(y.caller) + "_event1DebtForThisPlayer")) | |
105 | 105 | else 0 | |
106 | 106 | let D = if (isDefined(getInteger(this, (toString(y.caller) + "_event2DebtForThisPlayer")))) | |
107 | 107 | then getIntegerValue(this, (toString(y.caller) + "_event2DebtForThisPlayer")) | |
108 | 108 | else 0 | |
109 | 109 | let m = l() | |
110 | 110 | let o = n() | |
111 | 111 | let i = h() | |
112 | 112 | let k = j() | |
113 | 113 | let E = (B + 1) | |
114 | 114 | if ((q == 1)) | |
115 | 115 | then if ((e >= r)) | |
116 | 116 | then { | |
117 | - | let F = (C + (i * r)) | |
117 | + | let F = (C + ((i * r) / 100)) | |
118 | 118 | let G = ((m + r) - ((i * r) / 100)) | |
119 | 119 | let H = (o + r) | |
120 | 120 | let I = x(r, G, H) | |
121 | 121 | let J = I[0] | |
122 | 122 | let K = I[1] | |
123 | 123 | WriteSet([DataEntry((toString(y.caller) + "_event1DebtForThisPlayer"), F), DataEntry((toString(E) + "_event"), q), DataEntry((toString(E) + "_qoef1"), i), DataEntry((toString(E) + "_bettor"), toString(y.caller)), DataEntry((toString(E) + "_qoef2"), k), DataEntry("debtAmount1", G), DataEntry("debtAmount2", H), DataEntry("q1_next", J), DataEntry("q2_next", K), DataEntry("count", E)]) | |
124 | 124 | } | |
125 | 125 | else if (if ((r > e)) | |
126 | 126 | then (g > r) | |
127 | 127 | else false) | |
128 | 128 | then { | |
129 | 129 | let L = p("q1_next", r, i) | |
130 | - | let F = (C + (L * r)) | |
130 | + | let F = (C + ((L * r) / 100)) | |
131 | 131 | let G = ((m + r) - ((L * r) / 100)) | |
132 | 132 | let H = (o + r) | |
133 | 133 | let I = x(r, G, H) | |
134 | 134 | let J = I[0] | |
135 | 135 | let K = I[1] | |
136 | 136 | WriteSet([DataEntry((toString(y.caller) + "_event1DebtForThisPlayer"), F), DataEntry((toString(E) + "_event"), q), DataEntry((toString(E) + "_Correctedqoef1"), L), DataEntry((toString(E) + "_qoef1"), i), DataEntry((toString(E) + "_qoef2"), k), DataEntry((toString(E) + "_bettor"), toString(y.caller)), DataEntry("debtAmount1", G), DataEntry("debtAmount2", H), DataEntry("q1_next", J), DataEntry("q2_next", K), DataEntry("count", E)]) | |
137 | 137 | } | |
138 | 138 | else throw("incorrect bet amount") | |
139 | 139 | else if ((q == 2)) | |
140 | 140 | then if ((e >= r)) | |
141 | 141 | then { | |
142 | - | let M = (D + (k * r)) | |
142 | + | let M = (D + ((k * r) / 100)) | |
143 | 143 | let H = ((o + r) - ((k * r) / 100)) | |
144 | 144 | let G = (m + r) | |
145 | 145 | let I = x(r, G, H) | |
146 | 146 | let J = I[0] | |
147 | 147 | let K = I[1] | |
148 | 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("debtAmount1", G), DataEntry("debtAmount2", H), DataEntry("q1_next", J), DataEntry("q2_next", K), DataEntry("count", E)]) | |
149 | 149 | } | |
150 | 150 | else if (if ((r > e)) | |
151 | 151 | then (g > r) | |
152 | 152 | else false) | |
153 | 153 | then { | |
154 | 154 | let N = p("q2_next", r, k) | |
155 | - | let M = (D + (N * r)) | |
155 | + | let M = (D + ((N * r) / 100)) | |
156 | 156 | let H = ((o + r) - ((N * r) / 100)) | |
157 | 157 | let G = (m + r) | |
158 | 158 | let I = x(r, G, H) | |
159 | 159 | let J = I[0] | |
160 | 160 | let K = I[1] | |
161 | 161 | WriteSet([DataEntry((toString(y.caller) + "_event2DebtForThisPlayer"), M), DataEntry((toString(E) + "_event"), q), DataEntry((toString(E) + "_bettor"), toString(y.caller)), DataEntry((toString(E) + "_Correctedqoef2"), N), DataEntry((toString(E) + "_qoef1"), i), DataEntry((toString(E) + "_qoef2"), k), DataEntry("debtAmount1", G), DataEntry("debtAmount2", H), DataEntry("q1_next", J), DataEntry("q2_next", K), DataEntry("count", E)]) | |
162 | 162 | } | |
163 | 163 | else throw("incorrect bet amount") | |
164 | 164 | else throw("incorrect event id") | |
165 | 165 | } | |
166 | 166 | ||
167 | 167 | ||
168 | 168 | ||
169 | 169 | @Callable(y) | |
170 | 170 | func withdraw () = { | |
171 | 171 | let O = { | |
172 | 172 | let z = getInteger(this, (toString(y.caller) + "__event1DebtForThisPlayer")) | |
173 | 173 | if ($isInstanceOf(z, "Unit")) | |
174 | 174 | then { | |
175 | 175 | let P = z | |
176 | 176 | 0 | |
177 | 177 | } | |
178 | 178 | else if ($isInstanceOf(z, "Int")) | |
179 | 179 | then { | |
180 | 180 | let Q = z | |
181 | 181 | Q | |
182 | 182 | } | |
183 | 183 | else throw() | |
184 | 184 | } | |
185 | 185 | let R = { | |
186 | 186 | let z = getInteger(this, (toString(y.caller) + "__event2DebtForThisPlayer")) | |
187 | 187 | if ($isInstanceOf(z, "Unit")) | |
188 | 188 | then { | |
189 | 189 | let P = z | |
190 | 190 | 0 | |
191 | 191 | } | |
192 | 192 | else if ($isInstanceOf(z, "Int")) | |
193 | 193 | then { | |
194 | 194 | let Q = z | |
195 | 195 | Q | |
196 | 196 | } | |
197 | 197 | else throw() | |
198 | 198 | } | |
199 | 199 | let S = { | |
200 | 200 | let z = getBoolean(this, "result_event_1") | |
201 | 201 | if ($isInstanceOf(z, "Unit")) | |
202 | 202 | then { | |
203 | 203 | let P = z | |
204 | 204 | false | |
205 | 205 | } | |
206 | 206 | else if ($isInstanceOf(z, "Boolean")) | |
207 | 207 | then { | |
208 | 208 | let u = z | |
209 | 209 | u | |
210 | 210 | } | |
211 | 211 | else throw() | |
212 | 212 | } | |
213 | 213 | let T = { | |
214 | 214 | let z = getBoolean(this, "result_event_2") | |
215 | 215 | if ($isInstanceOf(z, "Unit")) | |
216 | 216 | then { | |
217 | 217 | let P = z | |
218 | 218 | false | |
219 | 219 | } | |
220 | 220 | else if ($isInstanceOf(z, "Boolean")) | |
221 | 221 | then { | |
222 | 222 | let u = z | |
223 | 223 | u | |
224 | 224 | } | |
225 | 225 | else throw() | |
226 | 226 | } | |
227 | 227 | if (S) | |
228 | 228 | then ScriptResult(WriteSet([DataEntry((toString(y.caller) + "_event1amount"), 0)]), TransferSet([ScriptTransfer(y.caller, (O * 1000000), unit)])) | |
229 | 229 | else if (T) | |
230 | 230 | then ScriptResult(WriteSet([DataEntry((toString(y.caller) + "_event2amount"), 0)]), TransferSet([ScriptTransfer(y.caller, (R * 1000000), unit)])) | |
231 | 231 | else throw("event did not happen or you have zero win") | |
232 | 232 | } | |
233 | 233 | ||
234 | 234 |
github/deemru/w8io/169f3d6 53.81 ms ◑