tx · EsWipJkWg31SbEz43Z5kTHfbMGEAed7qzis3Vfaddqug 3N9eE86dXUm7rfc2WWCMLHkaEM4Y8yoNj7u: -0.01440000 Waves 2021.01.27 00:58 [1371057] smart account 3N9eE86dXUm7rfc2WWCMLHkaEM4Y8yoNj7u > SELF 0.00000000 Waves
{ "type": 13, "id": "EsWipJkWg31SbEz43Z5kTHfbMGEAed7qzis3Vfaddqug", "fee": 1440000, "feeAssetId": null, "timestamp": 1611698324614, "version": 2, "chainId": 84, "sender": "3N9eE86dXUm7rfc2WWCMLHkaEM4Y8yoNj7u", "senderPublicKey": "FFDorDp8bC9dyUK2w8hYPWPVEcbbk9zYkpHn3gcq9svn", "proofs": [ "3BVxffT9UMGiUCZ9VknERMPETnrvG32GJVmp3E4ZDpkVdcSZfPxgnZKoCXCMq9kNbrwPCQeAC6N7rBoMGR7Et62N" ], "script": "base64:AAIDAAAAAAAAABYIARIAEgASABIDCgEBEgMKAQESABIAAAAAAAAAAAcAAAABaQEAAAAMUmVzZXRBY2NvdW50AAAAAAQAAAALU3Rha2VkVG9rZW4BAAAAILXRKGG85gSnPN40vyincnte9/w4CJZnKBhuOOwELCGyBAAAAAtHb3Zlcm5Ub2tlbgEAAAAgEID4OLobvW7l4Eafs479e9fJOrvsYRoAST8NKMW+XbkEAAAACFVzZXJQdXNoCQABLAAAAAIJAAJYAAAAAQgIBQAAAAFpAAAABmNhbGxlcgAAAAVieXRlcwIAAAAFX1B1c2gJAQAAAAhXcml0ZVNldAAAAAEJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAICAAAACURlbGF5Q29zdAAAAAAAAAAAAAkABEwAAAACCQEAAAAJRGF0YUVudHJ5AAAAAgIAAAAFRGVsYXkAAAAAAAAAAAAJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAICAAAAC0hpZ2hlc3RQdXNoAAAAAAAAAAAACQAETAAAAAIJAQAAAAlEYXRhRW50cnkAAAACAgAAABJIaWdoZXN0UHVzaEFkZHJlc3MAAA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R292ZXJuVG9rZW4gdG8gY2xhaW0gUmV3YXJkIGFuZC9vciB3YWl0IHRpbGwgY291bnRvd24gaXMgZmluaXNoZWQAAAAA+2Pwqg==", "height": 1371057, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: D4LBUtpmB1LdV1VxfHpoNa6LuXf42wSAZrF4waGHtXV Next: 6FQBHugKwzAASznYSYsgE2muvwf1WZAjeHQtWQDzPuSe Diff:
Old | New | Differences | |
---|---|---|---|
140 | 140 | then true | |
141 | 141 | else (height > ((r + v) + 20)) | |
142 | 142 | else false) | |
143 | - | then | |
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 | 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)))) | |
145 | 145 | } | |
146 | 146 | else throw("Can deposit only positive amounts of ASIMI Token") |
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), DataEntry("HighestPush", 0), DataEntry("HighestPushAddress", 0), DataEntry(d, 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) + 20)) | |
142 | 142 | else false) | |
143 | - | then | |
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 | 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)))) | |
145 | 145 | } | |
146 | 146 | else throw("Can deposit only positive amounts of ASIMI Token") | |
147 | 147 | } | |
148 | 148 | ||
149 | 149 | ||
150 | 150 | ||
151 | 151 | @Callable(a) | |
152 | 152 | func Stake () = { | |
153 | 153 | let b = base58'DEjmrvdViZH7trtuAqaKQFjNjfbK6D7yMHm18UQ8Hj21' | |
154 | 154 | let c = base58'27RauQwTvdbcPqeFkzoTf5WPt3HtEAmRDVxprWUNp6bA' | |
155 | 155 | let h = extract(a.payment) | |
156 | 156 | if (if ((h.amount > 0)) | |
157 | 157 | then (h.assetId == b) | |
158 | 158 | else false) | |
159 | 159 | then { | |
160 | 160 | let B = assetBalance(this, c) | |
161 | 161 | let C = (toBase58String(a.caller.bytes) + "_APY") | |
162 | 162 | let D = (toBase58String(a.caller.bytes) + "_Staking") | |
163 | 163 | let E = (toBase58String(a.caller.bytes) + "_Earnings") | |
164 | 164 | let j = (toBase58String(a.caller.bytes) + "_UserLastStakeBlock") | |
165 | 165 | let F = (toBase58String(a.caller.bytes) + "_StakedTransactions") | |
166 | 166 | let G = (toBase58String(a.caller.bytes) + "_PrizeHeight") | |
167 | 167 | let H = { | |
168 | 168 | let n = getInteger(this, F) | |
169 | 169 | if ($isInstanceOf(n, "Int")) | |
170 | 170 | then { | |
171 | 171 | let o = n | |
172 | 172 | o | |
173 | 173 | } | |
174 | 174 | else 0 | |
175 | 175 | } | |
176 | 176 | let I = (H + 1) | |
177 | 177 | let J = { | |
178 | 178 | let n = getInteger(this, D) | |
179 | 179 | if ($isInstanceOf(n, "Int")) | |
180 | 180 | then { | |
181 | 181 | let o = n | |
182 | 182 | o | |
183 | 183 | } | |
184 | 184 | else 0 | |
185 | 185 | } | |
186 | 186 | let K = (J + h.amount) | |
187 | 187 | let l = assetBalance(this, b) | |
188 | 188 | let m = { | |
189 | 189 | let n = getInteger(this, "StakeBalance") | |
190 | 190 | if ($isInstanceOf(n, "Int")) | |
191 | 191 | then { | |
192 | 192 | let o = n | |
193 | 193 | o | |
194 | 194 | } | |
195 | 195 | else 0 | |
196 | 196 | } | |
197 | 197 | let L = (m + h.amount) | |
198 | 198 | let p = (l - m) | |
199 | 199 | let M = { | |
200 | 200 | let n = getInteger(this, E) | |
201 | 201 | if ($isInstanceOf(n, "Int")) | |
202 | 202 | then { | |
203 | 203 | let o = n | |
204 | 204 | o | |
205 | 205 | } | |
206 | 206 | else 0 | |
207 | 207 | } | |
208 | 208 | let q = { | |
209 | 209 | let n = getInteger(this, "PrizeHeight") | |
210 | 210 | if ($isInstanceOf(n, "Int")) | |
211 | 211 | then { | |
212 | 212 | let o = n | |
213 | 213 | o | |
214 | 214 | } | |
215 | 215 | else 0 | |
216 | 216 | } | |
217 | 217 | let r = if (if ((q == 0)) | |
218 | 218 | then (p == 0) | |
219 | 219 | else false) | |
220 | 220 | then 0 | |
221 | 221 | else if (if ((q == 0)) | |
222 | 222 | then (p != 0) | |
223 | 223 | else false) | |
224 | 224 | then height | |
225 | 225 | else if (if ((q != 0)) | |
226 | 226 | then (p != 0) | |
227 | 227 | else false) | |
228 | 228 | then q | |
229 | 229 | else 0 | |
230 | 230 | if ((100000000 > B)) | |
231 | 231 | then throw("No enough GovernToken In Contract, Please deposit GovernTokens") | |
232 | 232 | else { | |
233 | 233 | let N = if ((m == 0)) | |
234 | 234 | then 10000 | |
235 | 235 | else if ((I > 10)) | |
236 | 236 | then ((10000 * I) * (1 + (K / m))) | |
237 | 237 | else (10000 * (1 + (K / m))) | |
238 | 238 | let O = if ((M > 0)) | |
239 | 239 | then ((100 * N) / M) | |
240 | 240 | else 0 | |
241 | 241 | let P = (M + N) | |
242 | 242 | 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 | 243 | } | |
244 | 244 | } | |
245 | 245 | else throw("Can deposit only StakeToken") | |
246 | 246 | } | |
247 | 247 | ||
248 | 248 | ||
249 | 249 | ||
250 | 250 | @Callable(a) | |
251 | 251 | func WithdrawStakedFunds (Q) = { | |
252 | 252 | let b = base58'DEjmrvdViZH7trtuAqaKQFjNjfbK6D7yMHm18UQ8Hj21' | |
253 | 253 | let c = base58'27RauQwTvdbcPqeFkzoTf5WPt3HtEAmRDVxprWUNp6bA' | |
254 | 254 | let D = (toBase58String(a.caller.bytes) + "_Staking") | |
255 | 255 | let E = ((toBase58String(a.caller.bytes) + "_") + toBase58String(c)) | |
256 | 256 | let l = assetBalance(this, b) | |
257 | 257 | let m = { | |
258 | 258 | let n = getInteger(this, "StakeBalance") | |
259 | 259 | if ($isInstanceOf(n, "Int")) | |
260 | 260 | then { | |
261 | 261 | let o = n | |
262 | 262 | o | |
263 | 263 | } | |
264 | 264 | else 0 | |
265 | 265 | } | |
266 | 266 | let p = (l - m) | |
267 | 267 | let q = { | |
268 | 268 | let n = getInteger(this, "PrizeHeight") | |
269 | 269 | if ($isInstanceOf(n, "Int")) | |
270 | 270 | then { | |
271 | 271 | let o = n | |
272 | 272 | o | |
273 | 273 | } | |
274 | 274 | else 0 | |
275 | 275 | } | |
276 | 276 | let r = if (if ((q == 0)) | |
277 | 277 | then (p == 0) | |
278 | 278 | else false) | |
279 | 279 | then 0 | |
280 | 280 | else if (if ((q == 0)) | |
281 | 281 | then (p != 0) | |
282 | 282 | else false) | |
283 | 283 | then height | |
284 | 284 | else if (if ((q != 0)) | |
285 | 285 | then (p != 0) | |
286 | 286 | else false) | |
287 | 287 | then q | |
288 | 288 | else 0 | |
289 | 289 | let R = toBase58String(a.caller.bytes) | |
290 | 290 | let S = { | |
291 | 291 | let n = getInteger(this, D) | |
292 | 292 | if ($isInstanceOf(n, "Int")) | |
293 | 293 | then { | |
294 | 294 | let o = n | |
295 | 295 | o | |
296 | 296 | } | |
297 | 297 | else 0 | |
298 | 298 | } | |
299 | 299 | let T = (S - Q) | |
300 | 300 | let L = (m - Q) | |
301 | 301 | if ((0 > Q)) | |
302 | 302 | then throw("Can't withdraw negative amount") | |
303 | 303 | else if ((0 > T)) | |
304 | 304 | then throw(("User cannot withdraw more than deposited funds, Your deposit is: " + toString((S / 100000000)))) | |
305 | 305 | else if ((100000000 > assetBalance(this, c))) | |
306 | 306 | then throw(("Not enough Troika In Contract: " + toString((assetBalance(this, c) / 100000000)))) | |
307 | 307 | 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 | 308 | } | |
309 | 309 | ||
310 | 310 | ||
311 | 311 | ||
312 | 312 | @Callable(a) | |
313 | 313 | func HarvestGovernToiken (Q) = { | |
314 | 314 | let b = base58'DEjmrvdViZH7trtuAqaKQFjNjfbK6D7yMHm18UQ8Hj21' | |
315 | 315 | let c = base58'27RauQwTvdbcPqeFkzoTf5WPt3HtEAmRDVxprWUNp6bA' | |
316 | 316 | let l = assetBalance(this, b) | |
317 | 317 | let E = (toBase58String(a.caller.bytes) + "_Earnings") | |
318 | 318 | let m = { | |
319 | 319 | let n = getInteger(this, "StakeBalance") | |
320 | 320 | if ($isInstanceOf(n, "Int")) | |
321 | 321 | then { | |
322 | 322 | let o = n | |
323 | 323 | o | |
324 | 324 | } | |
325 | 325 | else 0 | |
326 | 326 | } | |
327 | 327 | let p = (l - m) | |
328 | 328 | let q = { | |
329 | 329 | let n = getInteger(this, "PrizeHeight") | |
330 | 330 | if ($isInstanceOf(n, "Int")) | |
331 | 331 | then { | |
332 | 332 | let o = n | |
333 | 333 | o | |
334 | 334 | } | |
335 | 335 | else 0 | |
336 | 336 | } | |
337 | 337 | let r = if (if ((q == 0)) | |
338 | 338 | then (p == 0) | |
339 | 339 | else false) | |
340 | 340 | then 0 | |
341 | 341 | else if (if ((q == 0)) | |
342 | 342 | then (p != 0) | |
343 | 343 | else false) | |
344 | 344 | then height | |
345 | 345 | else if (if ((q != 0)) | |
346 | 346 | then (p != 0) | |
347 | 347 | else false) | |
348 | 348 | then q | |
349 | 349 | else 0 | |
350 | 350 | let R = toBase58String(a.caller.bytes) | |
351 | 351 | let S = { | |
352 | 352 | let n = getInteger(this, E) | |
353 | 353 | if ($isInstanceOf(n, "Int")) | |
354 | 354 | then { | |
355 | 355 | let o = n | |
356 | 356 | o | |
357 | 357 | } | |
358 | 358 | else 0 | |
359 | 359 | } | |
360 | 360 | let T = (S - Q) | |
361 | 361 | if ((0 > Q)) | |
362 | 362 | then throw("Can't withdraw negative amount") | |
363 | 363 | else if ((0 > T)) | |
364 | 364 | then throw(("User cannot withdraw more than deposited funds, Your deposit is: " + toString((S / 100000000)))) | |
365 | 365 | else ScriptResult(WriteSet([DataEntry(E, T), DataEntry("FundBox", p), DataEntry("PrizeHeight", r)]), TransferSet([ScriptTransfer(a.caller, Q, c)])) | |
366 | 366 | } | |
367 | 367 | ||
368 | 368 | ||
369 | 369 | ||
370 | 370 | @Callable(a) | |
371 | 371 | func delayprize () = { | |
372 | 372 | let b = base58'DEjmrvdViZH7trtuAqaKQFjNjfbK6D7yMHm18UQ8Hj21' | |
373 | 373 | let c = base58'27RauQwTvdbcPqeFkzoTf5WPt3HtEAmRDVxprWUNp6bA' | |
374 | 374 | let U = 1 | |
375 | 375 | let E = ((toBase58String(a.caller.bytes) + "_") + toBase58String(c)) | |
376 | 376 | let V = assetBalance(Address(a.caller.bytes), c) | |
377 | 377 | let l = assetBalance(this, b) | |
378 | 378 | let m = { | |
379 | 379 | let n = getInteger(this, "StakeBalance") | |
380 | 380 | if ($isInstanceOf(n, "Int")) | |
381 | 381 | then { | |
382 | 382 | let o = n | |
383 | 383 | o | |
384 | 384 | } | |
385 | 385 | else 0 | |
386 | 386 | } | |
387 | 387 | let p = (l - m) | |
388 | 388 | let q = { | |
389 | 389 | let n = getInteger(this, "PrizeHeight") | |
390 | 390 | if ($isInstanceOf(n, "Int")) | |
391 | 391 | then { | |
392 | 392 | let o = n | |
393 | 393 | o | |
394 | 394 | } | |
395 | 395 | else 0 | |
396 | 396 | } | |
397 | 397 | let r = if (if ((q == 0)) | |
398 | 398 | then (p == 0) | |
399 | 399 | else false) | |
400 | 400 | then 0 | |
401 | 401 | else if (if ((q == 0)) | |
402 | 402 | then (p != 0) | |
403 | 403 | else false) | |
404 | 404 | then height | |
405 | 405 | else if (if ((q != 0)) | |
406 | 406 | then (p != 0) | |
407 | 407 | else false) | |
408 | 408 | then q | |
409 | 409 | else 0 | |
410 | 410 | let u = { | |
411 | 411 | let n = getInteger(this, "Delay") | |
412 | 412 | if ($isInstanceOf(n, "Int")) | |
413 | 413 | then { | |
414 | 414 | let o = n | |
415 | 415 | o | |
416 | 416 | } | |
417 | 417 | else 0 | |
418 | 418 | } | |
419 | 419 | let W = { | |
420 | 420 | let n = getInteger(this, "DelayCost") | |
421 | 421 | if ($isInstanceOf(n, "Int")) | |
422 | 422 | then { | |
423 | 423 | let o = n | |
424 | 424 | o | |
425 | 425 | } | |
426 | 426 | else 10 | |
427 | 427 | } | |
428 | 428 | let h = extract(a.payment) | |
429 | 429 | if (if (isDefined(h.assetId)) | |
430 | 430 | then (extract(h.assetId) == c) | |
431 | 431 | else false) | |
432 | 432 | then { | |
433 | 433 | let X = h.amount | |
434 | 434 | let Y = if ((W == 0)) | |
435 | 435 | then 1000000000 | |
436 | 436 | else (2 * W) | |
437 | 437 | if ((X >= Y)) | |
438 | 438 | then { | |
439 | 439 | let v = (u + (1440 * U)) | |
440 | 440 | WriteSet([DataEntry("Delay", v), DataEntry("DelayCost", Y), DataEntry("FundBox", p), DataEntry("PrizeHeight", height)]) | |
441 | 441 | } | |
442 | 442 | else throw((("To delay the release of the reward ONE DAY later than expected, you need " + toString(Y)) + "TROIKAs")) | |
443 | 443 | } | |
444 | 444 | else throw("Can Use only Troika Token to Delay Reward") | |
445 | 445 | } | |
446 | 446 | ||
447 | 447 | ||
448 | 448 | ||
449 | 449 | @Callable(a) | |
450 | 450 | func ClaimPrize () = { | |
451 | 451 | let b = base58'DEjmrvdViZH7trtuAqaKQFjNjfbK6D7yMHm18UQ8Hj21' | |
452 | 452 | let c = base58'27RauQwTvdbcPqeFkzoTf5WPt3HtEAmRDVxprWUNp6bA' | |
453 | 453 | let D = (toBase58String(a.caller.bytes) + "_Staking") | |
454 | 454 | let d = (toBase58String(a.caller.bytes) + "_Push") | |
455 | 455 | let j = (toBase58String(a.caller.bytes) + "_UserLastStakeBlock") | |
456 | 456 | let f = 7 | |
457 | 457 | let Z = assetBalance(this, c) | |
458 | 458 | let l = assetBalance(this, b) | |
459 | 459 | let m = { | |
460 | 460 | let n = getInteger(this, "StakeBalance") | |
461 | 461 | if ($isInstanceOf(n, "Int")) | |
462 | 462 | then { | |
463 | 463 | let o = n | |
464 | 464 | o | |
465 | 465 | } | |
466 | 466 | else 0 | |
467 | 467 | } | |
468 | 468 | let p = (l - m) | |
469 | 469 | let aa = { | |
470 | 470 | let n = getInteger(this, d) | |
471 | 471 | if ($isInstanceOf(n, "Int")) | |
472 | 472 | then { | |
473 | 473 | let o = n | |
474 | 474 | o | |
475 | 475 | } | |
476 | 476 | else 0 | |
477 | 477 | } | |
478 | 478 | let y = { | |
479 | 479 | let n = getInteger(this, j) | |
480 | 480 | if ($isInstanceOf(n, "Int")) | |
481 | 481 | then { | |
482 | 482 | let o = n | |
483 | 483 | o | |
484 | 484 | } | |
485 | 485 | else 0 | |
486 | 486 | } | |
487 | 487 | let ab = { | |
488 | 488 | let n = getInteger(this, D) | |
489 | 489 | if ($isInstanceOf(n, "Int")) | |
490 | 490 | then { | |
491 | 491 | let o = n | |
492 | 492 | o | |
493 | 493 | } | |
494 | 494 | else 0 | |
495 | 495 | } | |
496 | 496 | let u = { | |
497 | 497 | let n = getInteger(this, "Delay") | |
498 | 498 | if ($isInstanceOf(n, "Int")) | |
499 | 499 | then { | |
500 | 500 | let o = n | |
501 | 501 | o | |
502 | 502 | } | |
503 | 503 | else 0 | |
504 | 504 | } | |
505 | 505 | let ac = getStringValue(this, "HighestPushAddress") | |
506 | 506 | let ad = { | |
507 | 507 | let n = getInteger(this, "PrizeHeight") | |
508 | 508 | if ($isInstanceOf(n, "Int")) | |
509 | 509 | then { | |
510 | 510 | let o = n | |
511 | 511 | o | |
512 | 512 | } | |
513 | 513 | else 0 | |
514 | 514 | } | |
515 | 515 | let s = { | |
516 | 516 | let n = getInteger(this, "HighestPush") | |
517 | 517 | if ($isInstanceOf(n, "Int")) | |
518 | 518 | then { | |
519 | 519 | let o = n | |
520 | 520 | o | |
521 | 521 | } | |
522 | 522 | else 0 | |
523 | 523 | } | |
524 | 524 | if (if ((p == 0)) | |
525 | 525 | then true | |
526 | 526 | else (10000000000 > Z)) | |
527 | 527 | then throw("No prize to Claim or Not enough Govern Token en Contract (Min 100 Troika)") | |
528 | 528 | else if ((toBase58String(a.caller.bytes) != ac)) | |
529 | 529 | then throw("You are not the winner hence cannot claim the reward ") | |
530 | 530 | else if (if ((100000000 > ab)) | |
531 | 531 | then ((1440 * f) > y) | |
532 | 532 | else false) | |
533 | 533 | then throw("You have to Stake ASIMI Token to claim reward ") | |
534 | 534 | else if (if ((height > (ad + u))) | |
535 | 535 | then (aa >= s) | |
536 | 536 | else false) | |
537 | 537 | 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 | 538 | else throw("You have to deposit 100 GovernToken to claim Reward and/or wait till countown is finished") | |
539 | 539 | } | |
540 | 540 | ||
541 | 541 |
github/deemru/w8io/026f985 52.24 ms ◑