tx · 4PSQjombzjeSd8RLqVnCfWbSz8RpXtHZQ4Ky8oESZmm5 3N9eE86dXUm7rfc2WWCMLHkaEM4Y8yoNj7u: -0.01440000 Waves 2021.01.28 12:05 [1373133] smart account 3N9eE86dXUm7rfc2WWCMLHkaEM4Y8yoNj7u > SELF 0.00000000 Waves
{ "type": 13, "id": "4PSQjombzjeSd8RLqVnCfWbSz8RpXtHZQ4Ky8oESZmm5", "fee": 1440000, "feeAssetId": null, "timestamp": 1611824807127, "version": 2, "chainId": 84, "sender": "3N9eE86dXUm7rfc2WWCMLHkaEM4Y8yoNj7u", "senderPublicKey": "FFDorDp8bC9dyUK2w8hYPWPVEcbbk9zYkpHn3gcq9svn", "proofs": [ "4cwtqDKruS4JvbcJXoUCArN7JPodExc18mDRtD1XVMxTzPixo1HH3xcCU2jMKfJ3SmozUnJSeQ14XSQ2DswRjDmF" ], "script": "base64:AAIDAAAAAAAAABYIARIAEgASABIDCgEBEgMKAQESABIAAAAAAAAAAAcAAAABaQEAAAAMUmVzZXRBY2NvdW50AAAAAAQAAAALU3Rha2VkVG9rZW4BAAAAILXRKGG85gSnPN40vyincnte9/w4CJZnKBhuOOwELCGyBAAAAAtHb3Zlcm5Ub2tlbgEAAAAgEID4OLobvW7l4Eafs479e9fJOrvsYRoAST8NKMW+XbkEAAAACFVzZXJQdXNoCQABLAAAAAIJAAJYAAAAAQgIBQAAAAFpAAAABmNhbGxlcgAAAAVieXRlcwIAAAAFX1B1c2gJAQAAAAhXcml0ZVNldAAAAAEJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAICAAAACURlbGF5Q29zdAAAAAAAAAAAAAkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgIAAAAFRGVsYXkAAAAAAAAAAAAFAAAAA25pbAAAAAFpAQAAAApQdXNoUmV3YXJkAAAAAAQAAAALU3Rha2VkVG9rZW4BAAAAILXRKGG85gSnPN40vyincnte9/w4CJZnKBhuOOwELCGyBAAAAAtHb3Zlcm5Ub2t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3Zlcm5Ub2tlbgUAAAADbmlsCQAAAgAAAAECAAAAWVlvdSBoYXZlIHRvIGRlcG9zaXQgMTAwIEdvdmVyblRva2VuIHRvIGNsYWltIFJld2FyZCBhbmQvb3Igd2FpdCB0aWxsIGNvdW50b3duIGlzIGZpbmlzaGVkAAAAAOhOCmU=", "height": 1373133, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: BqcoVFFQtqdYdwCBJ1Ua5vspeceN8jsc1J76Jtgo9YB7 Next: 9mVaQNWXxjxh9eZZgd89ui1jY63jxmxkvVkbx1KiWhef Diff:
Old | New | Differences | |
---|---|---|---|
141 | 141 | else (height > ((r + v) + 1440)) | |
142 | 142 | else false) | |
143 | 143 | then WriteSet([DataEntry(d, A), DataEntry("HighestPushAddress", toBase58String(a.caller.bytes)), DataEntry("HighestPush", A), DataEntry(j, height), DataEntry("PrizeHeight", height), DataEntry("Delay", v)]) | |
144 | - | else throw(((((((((((((((((((((("Your Push dot not comply one of the following conditions: " + "<br> 1. Positive Value <br> 2. Must Staked ASIMI Token for a minimum of week <br> ") + "3. Should be Higher than last Highest Push <br> 4. Should wait required time between Pushes") + toString((height - y))) + " > ") + toString((1440 * f))) + " _ ") + toString((height - x))) + " > ") + toString(e)) + " _ ") + toString(A)) + " > ") + toString(s)) + "_") + toString(height)) + " < ") + toString((r + v))) + " _ ") + toString(height)) + " > ") + toString(((r + v) + 10)))) | |
144 | + | else throw((("Your Push dot not comply one of the following conditions: " + "<br> 1. Positive Value | |
145 | + | 2. Must Staked ASIMI Token for a minimum of week | |
146 | + | ") + "3. Should be Higher than last Highest Push 4. Should wait required time between Pushes | |
147 | + | ")) | |
145 | 148 | } | |
146 | 149 | else throw("Can deposit only positive amounts of ASIMI Token") | |
147 | 150 | } |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 3 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | ||
5 | 5 | ||
6 | 6 | @Callable(a) | |
7 | 7 | func ResetAccount () = { | |
8 | 8 | let b = base58'DEjmrvdViZH7trtuAqaKQFjNjfbK6D7yMHm18UQ8Hj21' | |
9 | 9 | let c = base58'27RauQwTvdbcPqeFkzoTf5WPt3HtEAmRDVxprWUNp6bA' | |
10 | 10 | let d = (toBase58String(a.caller.bytes) + "_Push") | |
11 | 11 | WriteSet([DataEntry("DelayCost", 0), DataEntry("Delay", 0)]) | |
12 | 12 | } | |
13 | 13 | ||
14 | 14 | ||
15 | 15 | ||
16 | 16 | @Callable(a) | |
17 | 17 | func PushReward () = { | |
18 | 18 | let b = base58'DEjmrvdViZH7trtuAqaKQFjNjfbK6D7yMHm18UQ8Hj21' | |
19 | 19 | let c = base58'27RauQwTvdbcPqeFkzoTf5WPt3HtEAmRDVxprWUNp6bA' | |
20 | 20 | let e = 10 | |
21 | 21 | let f = 0 | |
22 | 22 | let g = 20 | |
23 | 23 | let h = extract(a.payment) | |
24 | 24 | if (if ((h.amount > 0)) | |
25 | 25 | then (h.assetId == c) | |
26 | 26 | else false) | |
27 | 27 | then { | |
28 | 28 | let d = (toBase58String(a.caller.bytes) + "_Push") | |
29 | 29 | let i = (toBase58String(a.caller.bytes) + "_UserLastPushBlock") | |
30 | 30 | let j = (toBase58String(a.caller.bytes) + "_UserLastStakeBlock") | |
31 | 31 | let k = (toBase58String(a.caller.bytes) + "_Staking") | |
32 | 32 | let l = assetBalance(this, b) | |
33 | 33 | let m = { | |
34 | 34 | let n = getInteger(this, "StakeBalance") | |
35 | 35 | if ($isInstanceOf(n, "Int")) | |
36 | 36 | then { | |
37 | 37 | let o = n | |
38 | 38 | o | |
39 | 39 | } | |
40 | 40 | else 0 | |
41 | 41 | } | |
42 | 42 | let p = (l - m) | |
43 | 43 | let q = { | |
44 | 44 | let n = getInteger(this, "PrizeHeight") | |
45 | 45 | if ($isInstanceOf(n, "Int")) | |
46 | 46 | then { | |
47 | 47 | let o = n | |
48 | 48 | o | |
49 | 49 | } | |
50 | 50 | else 0 | |
51 | 51 | } | |
52 | 52 | let r = if (if ((q == 0)) | |
53 | 53 | then (p == 0) | |
54 | 54 | else false) | |
55 | 55 | then 0 | |
56 | 56 | else if (if ((q == 0)) | |
57 | 57 | then (p != 0) | |
58 | 58 | else false) | |
59 | 59 | then height | |
60 | 60 | else if (if ((q != 0)) | |
61 | 61 | then (p != 0) | |
62 | 62 | else false) | |
63 | 63 | then q | |
64 | 64 | else 0 | |
65 | 65 | let s = { | |
66 | 66 | let n = getInteger(this, "HighestPush") | |
67 | 67 | if ($isInstanceOf(n, "Int")) | |
68 | 68 | then { | |
69 | 69 | let o = n | |
70 | 70 | o | |
71 | 71 | } | |
72 | 72 | else 0 | |
73 | 73 | } | |
74 | 74 | let t = { | |
75 | 75 | let n = getInteger(this, d) | |
76 | 76 | if ($isInstanceOf(n, "Int")) | |
77 | 77 | then { | |
78 | 78 | let o = n | |
79 | 79 | o | |
80 | 80 | } | |
81 | 81 | else 0 | |
82 | 82 | } | |
83 | 83 | let u = { | |
84 | 84 | let n = getInteger(this, "Delay") | |
85 | 85 | if ($isInstanceOf(n, "Int")) | |
86 | 86 | then { | |
87 | 87 | let o = n | |
88 | 88 | o | |
89 | 89 | } | |
90 | 90 | else 0 | |
91 | 91 | } | |
92 | 92 | let v = (u + g) | |
93 | 93 | let w = { | |
94 | 94 | let n = getInteger(this, "HighestPushAddress") | |
95 | 95 | if ($isInstanceOf(n, "Int")) | |
96 | 96 | then { | |
97 | 97 | let o = n | |
98 | 98 | o | |
99 | 99 | } | |
100 | 100 | else 0 | |
101 | 101 | } | |
102 | 102 | let x = { | |
103 | 103 | let n = getInteger(this, i) | |
104 | 104 | if ($isInstanceOf(n, "Int")) | |
105 | 105 | then { | |
106 | 106 | let o = n | |
107 | 107 | o | |
108 | 108 | } | |
109 | 109 | else 0 | |
110 | 110 | } | |
111 | 111 | let y = { | |
112 | 112 | let n = getInteger(this, j) | |
113 | 113 | if ($isInstanceOf(n, "Int")) | |
114 | 114 | then { | |
115 | 115 | let o = n | |
116 | 116 | o | |
117 | 117 | } | |
118 | 118 | else 0 | |
119 | 119 | } | |
120 | 120 | let z = { | |
121 | 121 | let n = getInteger(this, k) | |
122 | 122 | if ($isInstanceOf(n, "Int")) | |
123 | 123 | then { | |
124 | 124 | let o = n | |
125 | 125 | o | |
126 | 126 | } | |
127 | 127 | else 0 | |
128 | 128 | } | |
129 | 129 | let A = (h.amount + t) | |
130 | 130 | if (if (if (if (if (if ((A > 0)) | |
131 | 131 | then ((height - y) > (1440 * f)) | |
132 | 132 | else false) | |
133 | 133 | then ((height - x) > e) | |
134 | 134 | else false) | |
135 | 135 | then (A > s) | |
136 | 136 | else false) | |
137 | 137 | then (z > 0) | |
138 | 138 | else false) | |
139 | 139 | then if (((r + v) > height)) | |
140 | 140 | then true | |
141 | 141 | else (height > ((r + v) + 1440)) | |
142 | 142 | else false) | |
143 | 143 | then WriteSet([DataEntry(d, A), DataEntry("HighestPushAddress", toBase58String(a.caller.bytes)), DataEntry("HighestPush", A), DataEntry(j, height), DataEntry("PrizeHeight", height), DataEntry("Delay", v)]) | |
144 | - | else throw(((((((((((((((((((((("Your Push dot not comply one of the following conditions: " + "<br> 1. Positive Value <br> 2. Must Staked ASIMI Token for a minimum of week <br> ") + "3. Should be Higher than last Highest Push <br> 4. Should wait required time between Pushes") + toString((height - y))) + " > ") + toString((1440 * f))) + " _ ") + toString((height - x))) + " > ") + toString(e)) + " _ ") + toString(A)) + " > ") + toString(s)) + "_") + toString(height)) + " < ") + toString((r + v))) + " _ ") + toString(height)) + " > ") + toString(((r + v) + 10)))) | |
144 | + | else throw((("Your Push dot not comply one of the following conditions: " + "<br> 1. Positive Value | |
145 | + | 2. Must Staked ASIMI Token for a minimum of week | |
146 | + | ") + "3. Should be Higher than last Highest Push 4. Should wait required time between Pushes | |
147 | + | ")) | |
145 | 148 | } | |
146 | 149 | else throw("Can deposit only positive amounts of ASIMI Token") | |
147 | 150 | } | |
148 | 151 | ||
149 | 152 | ||
150 | 153 | ||
151 | 154 | @Callable(a) | |
152 | 155 | func Stake () = { | |
153 | 156 | let b = base58'DEjmrvdViZH7trtuAqaKQFjNjfbK6D7yMHm18UQ8Hj21' | |
154 | 157 | let c = base58'27RauQwTvdbcPqeFkzoTf5WPt3HtEAmRDVxprWUNp6bA' | |
155 | 158 | let h = extract(a.payment) | |
156 | 159 | if (if ((h.amount > 0)) | |
157 | 160 | then (h.assetId == b) | |
158 | 161 | else false) | |
159 | 162 | then { | |
160 | 163 | let B = assetBalance(this, c) | |
161 | 164 | let C = (toBase58String(a.caller.bytes) + "_APY") | |
162 | 165 | let D = (toBase58String(a.caller.bytes) + "_Staking") | |
163 | 166 | let E = (toBase58String(a.caller.bytes) + "_Earnings") | |
164 | 167 | let j = (toBase58String(a.caller.bytes) + "_UserLastStakeBlock") | |
165 | 168 | let F = (toBase58String(a.caller.bytes) + "_StakedTransactions") | |
166 | 169 | let G = (toBase58String(a.caller.bytes) + "_PrizeHeight") | |
167 | 170 | let H = { | |
168 | 171 | let n = getInteger(this, F) | |
169 | 172 | if ($isInstanceOf(n, "Int")) | |
170 | 173 | then { | |
171 | 174 | let o = n | |
172 | 175 | o | |
173 | 176 | } | |
174 | 177 | else 0 | |
175 | 178 | } | |
176 | 179 | let I = (H + 1) | |
177 | 180 | let J = { | |
178 | 181 | let n = getInteger(this, D) | |
179 | 182 | if ($isInstanceOf(n, "Int")) | |
180 | 183 | then { | |
181 | 184 | let o = n | |
182 | 185 | o | |
183 | 186 | } | |
184 | 187 | else 0 | |
185 | 188 | } | |
186 | 189 | let K = (J + h.amount) | |
187 | 190 | let l = assetBalance(this, b) | |
188 | 191 | let m = { | |
189 | 192 | let n = getInteger(this, "StakeBalance") | |
190 | 193 | if ($isInstanceOf(n, "Int")) | |
191 | 194 | then { | |
192 | 195 | let o = n | |
193 | 196 | o | |
194 | 197 | } | |
195 | 198 | else 0 | |
196 | 199 | } | |
197 | 200 | let L = (m + h.amount) | |
198 | 201 | let p = (l - m) | |
199 | 202 | let M = { | |
200 | 203 | let n = getInteger(this, E) | |
201 | 204 | if ($isInstanceOf(n, "Int")) | |
202 | 205 | then { | |
203 | 206 | let o = n | |
204 | 207 | o | |
205 | 208 | } | |
206 | 209 | else 0 | |
207 | 210 | } | |
208 | 211 | let q = { | |
209 | 212 | let n = getInteger(this, "PrizeHeight") | |
210 | 213 | if ($isInstanceOf(n, "Int")) | |
211 | 214 | then { | |
212 | 215 | let o = n | |
213 | 216 | o | |
214 | 217 | } | |
215 | 218 | else 0 | |
216 | 219 | } | |
217 | 220 | let r = if (if ((q == 0)) | |
218 | 221 | then (p == 0) | |
219 | 222 | else false) | |
220 | 223 | then 0 | |
221 | 224 | else if (if ((q == 0)) | |
222 | 225 | then (p != 0) | |
223 | 226 | else false) | |
224 | 227 | then height | |
225 | 228 | else if (if ((q != 0)) | |
226 | 229 | then (p != 0) | |
227 | 230 | else false) | |
228 | 231 | then q | |
229 | 232 | else 0 | |
230 | 233 | if ((100000000 > B)) | |
231 | 234 | then throw("No enough GovernToken In Contract, Please deposit GovernTokens") | |
232 | 235 | else { | |
233 | 236 | let N = if ((m == 0)) | |
234 | 237 | then 10000 | |
235 | 238 | else if ((I > 10)) | |
236 | 239 | then ((10000 * I) * (1 + (K / m))) | |
237 | 240 | else (10000 * (1 + (K / m))) | |
238 | 241 | let O = if ((M > 0)) | |
239 | 242 | then ((100 * N) / M) | |
240 | 243 | else 0 | |
241 | 244 | let P = (M + N) | |
242 | 245 | ScriptResult(WriteSet([DataEntry(E, P), DataEntry(D, K), DataEntry(F, I), DataEntry("StakeBalance", L), DataEntry("FundBox", p), DataEntry("PrizeHeight", r), DataEntry(C, O), DataEntry(j, height)]), TransferSet([ScriptTransfer(a.caller, N, c)])) | |
243 | 246 | } | |
244 | 247 | } | |
245 | 248 | else throw("Can deposit only StakeToken") | |
246 | 249 | } | |
247 | 250 | ||
248 | 251 | ||
249 | 252 | ||
250 | 253 | @Callable(a) | |
251 | 254 | func WithdrawStakedFunds (Q) = { | |
252 | 255 | let b = base58'DEjmrvdViZH7trtuAqaKQFjNjfbK6D7yMHm18UQ8Hj21' | |
253 | 256 | let c = base58'27RauQwTvdbcPqeFkzoTf5WPt3HtEAmRDVxprWUNp6bA' | |
254 | 257 | let D = (toBase58String(a.caller.bytes) + "_Staking") | |
255 | 258 | let E = ((toBase58String(a.caller.bytes) + "_") + toBase58String(c)) | |
256 | 259 | let l = assetBalance(this, b) | |
257 | 260 | let m = { | |
258 | 261 | let n = getInteger(this, "StakeBalance") | |
259 | 262 | if ($isInstanceOf(n, "Int")) | |
260 | 263 | then { | |
261 | 264 | let o = n | |
262 | 265 | o | |
263 | 266 | } | |
264 | 267 | else 0 | |
265 | 268 | } | |
266 | 269 | let p = (l - m) | |
267 | 270 | let q = { | |
268 | 271 | let n = getInteger(this, "PrizeHeight") | |
269 | 272 | if ($isInstanceOf(n, "Int")) | |
270 | 273 | then { | |
271 | 274 | let o = n | |
272 | 275 | o | |
273 | 276 | } | |
274 | 277 | else 0 | |
275 | 278 | } | |
276 | 279 | let r = if (if ((q == 0)) | |
277 | 280 | then (p == 0) | |
278 | 281 | else false) | |
279 | 282 | then 0 | |
280 | 283 | else if (if ((q == 0)) | |
281 | 284 | then (p != 0) | |
282 | 285 | else false) | |
283 | 286 | then height | |
284 | 287 | else if (if ((q != 0)) | |
285 | 288 | then (p != 0) | |
286 | 289 | else false) | |
287 | 290 | then q | |
288 | 291 | else 0 | |
289 | 292 | let R = toBase58String(a.caller.bytes) | |
290 | 293 | let S = { | |
291 | 294 | let n = getInteger(this, D) | |
292 | 295 | if ($isInstanceOf(n, "Int")) | |
293 | 296 | then { | |
294 | 297 | let o = n | |
295 | 298 | o | |
296 | 299 | } | |
297 | 300 | else 0 | |
298 | 301 | } | |
299 | 302 | let T = (S - Q) | |
300 | 303 | let L = (m - Q) | |
301 | 304 | if ((0 > Q)) | |
302 | 305 | then throw("Can't withdraw negative amount") | |
303 | 306 | else if ((0 > T)) | |
304 | 307 | then throw(("User cannot withdraw more than deposited funds, Your deposit is: " + toString((S / 100000000)))) | |
305 | 308 | else if ((100000000 > assetBalance(this, c))) | |
306 | 309 | then throw(("Not enough Troika In Contract: " + toString((assetBalance(this, c) / 100000000)))) | |
307 | 310 | else ScriptResult(WriteSet([DataEntry(E, 100000000), DataEntry(D, T), DataEntry("StakeBalance", L), DataEntry("FundBox", p), DataEntry("PrizeHeight", r)]), TransferSet([ScriptTransfer(a.caller, 100000000, c), ScriptTransfer(a.caller, Q, b)])) | |
308 | 311 | } | |
309 | 312 | ||
310 | 313 | ||
311 | 314 | ||
312 | 315 | @Callable(a) | |
313 | 316 | func HarvestGovernToiken (Q) = { | |
314 | 317 | let b = base58'DEjmrvdViZH7trtuAqaKQFjNjfbK6D7yMHm18UQ8Hj21' | |
315 | 318 | let c = base58'27RauQwTvdbcPqeFkzoTf5WPt3HtEAmRDVxprWUNp6bA' | |
316 | 319 | let l = assetBalance(this, b) | |
317 | 320 | let E = (toBase58String(a.caller.bytes) + "_Earnings") | |
318 | 321 | let m = { | |
319 | 322 | let n = getInteger(this, "StakeBalance") | |
320 | 323 | if ($isInstanceOf(n, "Int")) | |
321 | 324 | then { | |
322 | 325 | let o = n | |
323 | 326 | o | |
324 | 327 | } | |
325 | 328 | else 0 | |
326 | 329 | } | |
327 | 330 | let p = (l - m) | |
328 | 331 | let q = { | |
329 | 332 | let n = getInteger(this, "PrizeHeight") | |
330 | 333 | if ($isInstanceOf(n, "Int")) | |
331 | 334 | then { | |
332 | 335 | let o = n | |
333 | 336 | o | |
334 | 337 | } | |
335 | 338 | else 0 | |
336 | 339 | } | |
337 | 340 | let r = if (if ((q == 0)) | |
338 | 341 | then (p == 0) | |
339 | 342 | else false) | |
340 | 343 | then 0 | |
341 | 344 | else if (if ((q == 0)) | |
342 | 345 | then (p != 0) | |
343 | 346 | else false) | |
344 | 347 | then height | |
345 | 348 | else if (if ((q != 0)) | |
346 | 349 | then (p != 0) | |
347 | 350 | else false) | |
348 | 351 | then q | |
349 | 352 | else 0 | |
350 | 353 | let R = toBase58String(a.caller.bytes) | |
351 | 354 | let S = { | |
352 | 355 | let n = getInteger(this, E) | |
353 | 356 | if ($isInstanceOf(n, "Int")) | |
354 | 357 | then { | |
355 | 358 | let o = n | |
356 | 359 | o | |
357 | 360 | } | |
358 | 361 | else 0 | |
359 | 362 | } | |
360 | 363 | let T = (S - Q) | |
361 | 364 | if ((0 > Q)) | |
362 | 365 | then throw("Can't withdraw negative amount") | |
363 | 366 | else if ((0 > T)) | |
364 | 367 | then throw(("User cannot withdraw more than deposited funds, Your deposit is: " + toString((S / 100000000)))) | |
365 | 368 | else ScriptResult(WriteSet([DataEntry(E, T), DataEntry("FundBox", p), DataEntry("PrizeHeight", r)]), TransferSet([ScriptTransfer(a.caller, Q, c)])) | |
366 | 369 | } | |
367 | 370 | ||
368 | 371 | ||
369 | 372 | ||
370 | 373 | @Callable(a) | |
371 | 374 | func delayprize () = { | |
372 | 375 | let b = base58'DEjmrvdViZH7trtuAqaKQFjNjfbK6D7yMHm18UQ8Hj21' | |
373 | 376 | let c = base58'27RauQwTvdbcPqeFkzoTf5WPt3HtEAmRDVxprWUNp6bA' | |
374 | 377 | let U = 1 | |
375 | 378 | let E = ((toBase58String(a.caller.bytes) + "_") + toBase58String(c)) | |
376 | 379 | let V = assetBalance(Address(a.caller.bytes), c) | |
377 | 380 | let l = assetBalance(this, b) | |
378 | 381 | let m = { | |
379 | 382 | let n = getInteger(this, "StakeBalance") | |
380 | 383 | if ($isInstanceOf(n, "Int")) | |
381 | 384 | then { | |
382 | 385 | let o = n | |
383 | 386 | o | |
384 | 387 | } | |
385 | 388 | else 0 | |
386 | 389 | } | |
387 | 390 | let p = (l - m) | |
388 | 391 | let q = { | |
389 | 392 | let n = getInteger(this, "PrizeHeight") | |
390 | 393 | if ($isInstanceOf(n, "Int")) | |
391 | 394 | then { | |
392 | 395 | let o = n | |
393 | 396 | o | |
394 | 397 | } | |
395 | 398 | else 0 | |
396 | 399 | } | |
397 | 400 | let r = if (if ((q == 0)) | |
398 | 401 | then (p == 0) | |
399 | 402 | else false) | |
400 | 403 | then 0 | |
401 | 404 | else if (if ((q == 0)) | |
402 | 405 | then (p != 0) | |
403 | 406 | else false) | |
404 | 407 | then height | |
405 | 408 | else if (if ((q != 0)) | |
406 | 409 | then (p != 0) | |
407 | 410 | else false) | |
408 | 411 | then q | |
409 | 412 | else 0 | |
410 | 413 | let u = { | |
411 | 414 | let n = getInteger(this, "Delay") | |
412 | 415 | if ($isInstanceOf(n, "Int")) | |
413 | 416 | then { | |
414 | 417 | let o = n | |
415 | 418 | o | |
416 | 419 | } | |
417 | 420 | else 0 | |
418 | 421 | } | |
419 | 422 | let W = { | |
420 | 423 | let n = getInteger(this, "DelayCost") | |
421 | 424 | if ($isInstanceOf(n, "Int")) | |
422 | 425 | then { | |
423 | 426 | let o = n | |
424 | 427 | o | |
425 | 428 | } | |
426 | 429 | else 10 | |
427 | 430 | } | |
428 | 431 | let h = extract(a.payment) | |
429 | 432 | if (if (isDefined(h.assetId)) | |
430 | 433 | then (extract(h.assetId) == c) | |
431 | 434 | else false) | |
432 | 435 | then { | |
433 | 436 | let X = h.amount | |
434 | 437 | let Y = if ((W == 0)) | |
435 | 438 | then 1000000000 | |
436 | 439 | else (2 * W) | |
437 | 440 | if ((X >= Y)) | |
438 | 441 | then { | |
439 | 442 | let v = (u + (1440 * U)) | |
440 | 443 | WriteSet([DataEntry("Delay", v), DataEntry("DelayCost", Y), DataEntry("FundBox", p), DataEntry("PrizeHeight", height)]) | |
441 | 444 | } | |
442 | 445 | else throw((("To delay the release of the reward ONE DAY later than expected, you need " + toString(Y)) + "TROIKAs")) | |
443 | 446 | } | |
444 | 447 | else throw("Can Use only Troika Token to Delay Reward") | |
445 | 448 | } | |
446 | 449 | ||
447 | 450 | ||
448 | 451 | ||
449 | 452 | @Callable(a) | |
450 | 453 | func ClaimPrize () = { | |
451 | 454 | let b = base58'DEjmrvdViZH7trtuAqaKQFjNjfbK6D7yMHm18UQ8Hj21' | |
452 | 455 | let c = base58'27RauQwTvdbcPqeFkzoTf5WPt3HtEAmRDVxprWUNp6bA' | |
453 | 456 | let D = (toBase58String(a.caller.bytes) + "_Staking") | |
454 | 457 | let d = (toBase58String(a.caller.bytes) + "_Push") | |
455 | 458 | let j = (toBase58String(a.caller.bytes) + "_UserLastStakeBlock") | |
456 | 459 | let f = 7 | |
457 | 460 | let Z = assetBalance(this, c) | |
458 | 461 | let l = assetBalance(this, b) | |
459 | 462 | let m = { | |
460 | 463 | let n = getInteger(this, "StakeBalance") | |
461 | 464 | if ($isInstanceOf(n, "Int")) | |
462 | 465 | then { | |
463 | 466 | let o = n | |
464 | 467 | o | |
465 | 468 | } | |
466 | 469 | else 0 | |
467 | 470 | } | |
468 | 471 | let p = (l - m) | |
469 | 472 | let aa = { | |
470 | 473 | let n = getInteger(this, d) | |
471 | 474 | if ($isInstanceOf(n, "Int")) | |
472 | 475 | then { | |
473 | 476 | let o = n | |
474 | 477 | o | |
475 | 478 | } | |
476 | 479 | else 0 | |
477 | 480 | } | |
478 | 481 | let y = { | |
479 | 482 | let n = getInteger(this, j) | |
480 | 483 | if ($isInstanceOf(n, "Int")) | |
481 | 484 | then { | |
482 | 485 | let o = n | |
483 | 486 | o | |
484 | 487 | } | |
485 | 488 | else 0 | |
486 | 489 | } | |
487 | 490 | let ab = { | |
488 | 491 | let n = getInteger(this, D) | |
489 | 492 | if ($isInstanceOf(n, "Int")) | |
490 | 493 | then { | |
491 | 494 | let o = n | |
492 | 495 | o | |
493 | 496 | } | |
494 | 497 | else 0 | |
495 | 498 | } | |
496 | 499 | let u = { | |
497 | 500 | let n = getInteger(this, "Delay") | |
498 | 501 | if ($isInstanceOf(n, "Int")) | |
499 | 502 | then { | |
500 | 503 | let o = n | |
501 | 504 | o | |
502 | 505 | } | |
503 | 506 | else 0 | |
504 | 507 | } | |
505 | 508 | let ac = getStringValue(this, "HighestPushAddress") | |
506 | 509 | let ad = { | |
507 | 510 | let n = getInteger(this, "PrizeHeight") | |
508 | 511 | if ($isInstanceOf(n, "Int")) | |
509 | 512 | then { | |
510 | 513 | let o = n | |
511 | 514 | o | |
512 | 515 | } | |
513 | 516 | else 0 | |
514 | 517 | } | |
515 | 518 | let s = { | |
516 | 519 | let n = getInteger(this, "HighestPush") | |
517 | 520 | if ($isInstanceOf(n, "Int")) | |
518 | 521 | then { | |
519 | 522 | let o = n | |
520 | 523 | o | |
521 | 524 | } | |
522 | 525 | else 0 | |
523 | 526 | } | |
524 | 527 | if (if ((p == 0)) | |
525 | 528 | then true | |
526 | 529 | else (10000000000 > Z)) | |
527 | 530 | then throw("No prize to Claim or Not enough Govern Token en Contract (Min 100 Troika)") | |
528 | 531 | else if ((toBase58String(a.caller.bytes) != ac)) | |
529 | 532 | then throw("You are not the winner hence cannot claim the reward ") | |
530 | 533 | else if (if ((100000000 > ab)) | |
531 | 534 | then ((1440 * f) > y) | |
532 | 535 | else false) | |
533 | 536 | then throw("You have to Stake ASIMI Token to claim reward ") | |
534 | 537 | else if (if ((height > (ad + u))) | |
535 | 538 | then (aa >= s) | |
536 | 539 | else false) | |
537 | 540 | then ScriptResult(WriteSet([DataEntry(ac, p), DataEntry("FundBox", 0), DataEntry("HighestPush", 0), DataEntry(d, 0), DataEntry("HighestPushAddress", ""), DataEntry("PrizeHeight", 0), DataEntry("Delay", 0), DataEntry("DelayCost", 0), DataEntry("LastWinner", ac), DataEntry("LastPrize", p)]), TransferSet([ScriptTransfer(a.caller, p, b), ScriptTransfer(a.caller, 1000000000, c)])) | |
538 | 541 | else throw("You have to deposit 100 GovernToken to claim Reward and/or wait till countown is finished") | |
539 | 542 | } | |
540 | 543 | ||
541 | 544 |
github/deemru/w8io/169f3d6 49.02 ms ◑