tx · 5cMSHU4vjNvkGS9J4Kb6neXkmAZVShB6XHpiQ9ifsDRw

3N9evuqxGecMq9hBmpdJu2VkMzdR5VNVrvK:  -0.02200000 Waves

2022.06.29 18:08 [2117885] smart account 3N9evuqxGecMq9hBmpdJu2VkMzdR5VNVrvK > SELF 0.00000000 Waves

{ "type": 13, "id": "5cMSHU4vjNvkGS9J4Kb6neXkmAZVShB6XHpiQ9ifsDRw", "fee": 2200000, "feeAssetId": null, "timestamp": 1656515299441, "version": 2, "chainId": 84, "sender": "3N9evuqxGecMq9hBmpdJu2VkMzdR5VNVrvK", "senderPublicKey": "AHY8zupoYc6HPJ5fh1gQiGE9bNZSeifFbcQQ89okxVug", "proofs": [ "pgXMgx7R3e2gL3bqV4fdkYqF4b8hz4VNt2u9uLrdjpFksT5eNA1nXXd8adkdCbyQzCDRm9o81Zz6vEnNTn6wr6e" ], "script": "base64:BgIlCAISABIAEgASABIDCgEBEgASAwoBARIAEgASAwoBCBIECgIBAQMAC1N0YWtlZFRva2VuASD5rl2FqqDB81weFWSW9S5FyKYquYAb4MpXXcAlqscPUAALR292ZXJuVG9rZW4BIAFshcLXQMYuV8Rzs8ULZ07fOlzF6BxYes7P/1GRlpktABBMaWtlUGFja2FnZVByaWNlCQBoAgABAIDC1y8LAWkBC0RldldpdGhkcmF3AAQKY3VycmVudEtleQkA2AQBCAgFAWkGY2FsbGVyBWJ5dGVzAwkAAAIFCmN1cnJlbnRLZXkCIzNQNzRidUh0OThCbm9qRmNhUkVKWnRiOThLRHlVbVpHZW1KBAxEZXZCb3hBbW91bnQEByRtYXRjaDAJAJoIAgUEdGhpcwIGRGV2Qm94AwkAAQIFByRtYXRjaDACA0ludAQBYQUHJG1hdGNoMAUBYQAAAwkAZgIAAAUMRGV2Qm94QW1vdW50CQACAQISTm90IGVub3VnaCBiYWxhbmNlCQDMCAIJAQxJbnRlZ2VyRW50cnkCAgZEZXZCb3gAAAkAzAgCCQEOU2NyaXB0VHJhbnNmZXIDCAUBaQZ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KwCAgkApAMBBQ1Ud2l0dGVyVXNlcklkAgtfVHdpdHQyTGlrZQUHVHdpdHRJZAUDbmlsCQACAQkArAICAhJBbW91bnQgc2hvdWxkIGJlIDoJAKQDAQkAaQIIBQNwbXQGYW1vdW50AIDC1y8JAAIBAjBQYXltZW50cyBzaG91bGQgYmUgYm90aCBBU0lNSSBhbmQgVFJPSUtBTiB0b2tlbnMA4dzxxQ==", "height": 2117885, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: DutgUi3mzgbVh96uaXLqeWjGaJMJX2A1Xig3kymxswpn Next: 3zAGuNHMGR9C8GVJfFy5q89Lkh1ZGwZXwqb6K6kMHqRx Diff:
OldNewDifferences
55
66 let b = base58'6ZPMzZseuYoMP4ByozJpVxbugXBobwJYF22zVjW5JjN'
77
8-let c = (10 * 100000000)
8+let c = (1 * 100000000)
99
1010 @Callable(d)
1111 func DevWithdraw () = {
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = base58'Hoej8L1ezqQY4Miex4Z4J7uJ33LCdcubV3DsubGHEqWP'
55
66 let b = base58'6ZPMzZseuYoMP4ByozJpVxbugXBobwJYF22zVjW5JjN'
77
8-let c = (10 * 100000000)
8+let c = (1 * 100000000)
99
1010 @Callable(d)
1111 func DevWithdraw () = {
1212 let e = toBase58String(d.caller.bytes)
1313 if ((e == "3P74buHt98BnojFcaREJZtb98KDyUmZGemJ"))
1414 then {
1515 let f = {
1616 let g = getInteger(this, "DevBox")
1717 if ($isInstanceOf(g, "Int"))
1818 then {
1919 let h = g
2020 h
2121 }
2222 else 0
2323 }
2424 if ((0 > f))
2525 then throw("Not enough balance")
2626 else [IntegerEntry("DevBox", 0), ScriptTransfer(d.caller, f, b)]
2727 }
2828 else throw("You cannot withdraw as your are not the Dev.")
2929 }
3030
3131
3232
3333 @Callable(d)
3434 func WithdrawWeeklyEarning () = {
3535 let i = assetBalance(this, a)
3636 let j = getStringValue(this, "MaxDepositer")
3737 let k = (toBase58String(d.caller.bytes) + "_WeekEarning")
3838 let l = {
3939 let g = getInteger(this, "StakeBalance")
4040 if ($isInstanceOf(g, "Int"))
4141 then {
4242 let h = g
4343 h
4444 }
4545 else 0
4646 }
4747 let m = {
4848 let g = getInteger(this, "FundBox")
4949 if ($isInstanceOf(g, "Int"))
5050 then {
5151 let h = g
5252 h
5353 }
5454 else 0
5555 }
5656 let n = {
5757 let g = getInteger(this, "PrizeHeight")
5858 if ($isInstanceOf(g, "Int"))
5959 then {
6060 let h = g
6161 h
6262 }
6363 else 0
6464 }
6565 let o = if (if ((n == 0))
6666 then (m == 0)
6767 else false)
6868 then 0
6969 else if (if ((n == 0))
7070 then (m != 0)
7171 else false)
7272 then height
7373 else if (if ((n != 0))
7474 then (m != 0)
7575 else false)
7676 then n
7777 else 0
7878 let e = toBase58String(d.caller.bytes)
7979 let p = {
8080 let g = getInteger(this, k)
8181 if ($isInstanceOf(g, "Int"))
8282 then {
8383 let h = g
8484 h
8585 }
8686 else 0
8787 }
8888 if ((0 > p))
8989 then throw("Can't withdraw negative amount")
9090 else if ((0 > p))
9191 then throw(("User cannot withdraw more than deposited funds, Your deposit is: " + toString((p / 100000000))))
9292 else [IntegerEntry(k, 0), IntegerEntry("PrizeHeight", o), IntegerEntry("MaxDeposit", 0), ScriptTransfer(d.caller, p, a)]
9393 }
9494
9595
9696
9797 @Callable(d)
9898 func PushReward () = {
9999 let q = 10
100100 let r = (7 * 1440)
101101 let s = 60
102102 let t = (1440 * 1)
103103 let u = 3
104104 let v = (7 * 1440)
105105 let w = assetBalance(Address(d.caller.bytes), b)
106106 let x = if ((size(d.payments) == 1))
107107 then d.payments[0]
108108 else throw("Attached payment is required")
109109 let y = (toBase58String(d.caller.bytes) + "_Push")
110110 let z = {
111111 let g = getInteger(this, y)
112112 if ($isInstanceOf(g, "Int"))
113113 then {
114114 let h = g
115115 h
116116 }
117117 else 0
118118 }
119119 let A = (toBase58String(d.caller.bytes) + "_refs")
120120 let B = {
121121 let g = getInteger(this, A)
122122 if ($isInstanceOf(g, "Int"))
123123 then {
124124 let h = g
125125 h
126126 }
127127 else 0
128128 }
129129 let C = {
130130 let g = getInteger(this, "HighestPush")
131131 if ($isInstanceOf(g, "Int"))
132132 then {
133133 let h = g
134134 h
135135 }
136136 else 0
137137 }
138138 if ((w > x.amount))
139139 then if (if (((x.amount + z) > C))
140140 then (x.assetId == b)
141141 else false)
142142 then {
143143 let D = (toBase58String(d.caller.bytes) + "_UserLastPushBlock")
144144 let E = (toBase58String(d.caller.bytes) + "_UserLastStakeBlock")
145145 let F = (toBase58String(d.caller.bytes) + "_Staking")
146146 let i = assetBalance(this, a)
147147 let l = {
148148 let g = getInteger(this, "StakeBalance")
149149 if ($isInstanceOf(g, "Int"))
150150 then {
151151 let h = g
152152 h
153153 }
154154 else 0
155155 }
156156 let m = {
157157 let g = getInteger(this, "FundBox")
158158 if ($isInstanceOf(g, "Int"))
159159 then {
160160 let h = g
161161 h
162162 }
163163 else 0
164164 }
165165 let n = {
166166 let g = getInteger(this, "PrizeHeight")
167167 if ($isInstanceOf(g, "Int"))
168168 then {
169169 let h = g
170170 h
171171 }
172172 else 0
173173 }
174174 let o = if (if ((n == 0))
175175 then (m == 0)
176176 else false)
177177 then 0
178178 else if (if ((n == 0))
179179 then (m != 0)
180180 else false)
181181 then height
182182 else if (if ((n != 0))
183183 then (m != 0)
184184 else false)
185185 then n
186186 else 0
187187 let G = {
188188 let g = getInteger(this, "Delay")
189189 if ($isInstanceOf(g, "Int"))
190190 then {
191191 let h = g
192192 h
193193 }
194194 else 0
195195 }
196196 let H = {
197197 let g = getInteger(this, "HighestPushAddress")
198198 if ($isInstanceOf(g, "Int"))
199199 then {
200200 let h = g
201201 h
202202 }
203203 else 0
204204 }
205205 let I = {
206206 let g = getInteger(this, D)
207207 if ($isInstanceOf(g, "Int"))
208208 then {
209209 let h = g
210210 h
211211 }
212212 else 0
213213 }
214214 let J = {
215215 let g = getInteger(this, E)
216216 if ($isInstanceOf(g, "Int"))
217217 then {
218218 let h = g
219219 h
220220 }
221221 else 0
222222 }
223223 let K = {
224224 let g = getInteger(this, F)
225225 if ($isInstanceOf(g, "Int"))
226226 then {
227227 let h = g
228228 h
229229 }
230230 else 0
231231 }
232232 let L = {
233233 let g = getInteger(this, "DevBox")
234234 if ($isInstanceOf(g, "Int"))
235235 then {
236236 let h = g
237237 h
238238 }
239239 else 0
240240 }
241241 let f = (L + ((x.amount * 5) / 1000))
242242 let M = (x.amount + z)
243243 let N = if (if ((height > ((o + G) + t)))
244244 then (C > 0)
245245 else false)
246246 then v
247247 else (G + s)
248248 let O = if (if ((height > ((o + N) + t)))
249249 then (C > 0)
250250 else false)
251251 then ""
252252 else H
253253 let P = if (if ((height > ((o + N) + t)))
254254 then (C > 0)
255255 else false)
256256 then height
257257 else o
258258 if (if ((M > 0))
259259 then ((height - J) > r)
260260 else false)
261261 then if (((height - I) > q))
262262 then if ((K > 0))
263263 then if ((M > C))
264264 then if ((m > 0))
265265 then if (if (if (if (((P + N) >= height))
266266 then true
267267 else (height >= ((P + N) + t)))
268268 then (C > 0)
269269 else false)
270270 then true
271271 else (C == 0))
272272 then if ((B >= u))
273273 then [IntegerEntry(y, M), StringEntry("HighestPushAddress", toBase58String(d.caller.bytes)), IntegerEntry("HighestPush", M), IntegerEntry(D, height), IntegerEntry("PrizeHeight", P), IntegerEntry("Delay", N), IntegerEntry("DevBox", f)]
274274 else throw((("You have to have " + toString(u)) + " referrals already staking for a minimum of 10 days, to push"))
275275 else {
276276 let Q = if ((C > 0))
277277 then "You cannot Push after rewarding Prize and before One day has passed after award"
278278 else "Unexpected error"
279279 throw(Q)
280280 }
281281 else throw("You cannot push before the reward is unlocked, no reward has been detected yet")
282282 else throw("Your push in troikan token, should be Higher than last Highest Push")
283283 else throw("To be able to participate in Pushing for the reward you need to Stake ASIMIs in the dApp")
284284 else throw("You have to wait 10min before you can make a new Push")
285285 else throw(("Your Push dot not comply one of the following conditions: " + "1. Positive Value for Push in Troikan Toke
286286 2. Must Staked ASIMI Token for a minimum of week "))
287287 }
288288 else throw((("Can deposit only positive amounts of Troikan Token, or Check your Wallet balance in Troika, you should have more than " + toString(C)) + " to push"))
289289 else throw("You do not have enough Troikan Tokens in your Wallet Balance, Please Harvest if you have earned Troikan wallet or transfer to your wallet necessary Troikan amount !")
290290 }
291291
292292
293293
294294 @Callable(d)
295295 func Stake () = {
296296 let t = (1440 * 1)
297297 let x = if ((size(d.payments) == 1))
298298 then d.payments[0]
299299 else throw("Attached payment is required")
300300 if (if ((x.amount > 0))
301301 then (x.assetId == a)
302302 else false)
303303 then {
304304 let R = assetBalance(this, b)
305305 let S = (toBase58String(d.caller.bytes) + "_APY")
306306 let y = (toBase58String(d.caller.bytes) + "_Push")
307307 let T = (toBase58String(d.caller.bytes) + "_Staking")
308308 let U = (toBase58String(d.caller.bytes) + "_Earnings")
309309 let E = (toBase58String(d.caller.bytes) + "_UserLastStakeBlock")
310310 let V = (toBase58String(d.caller.bytes) + "_StakedTransactions")
311311 let W = (toBase58String(d.caller.bytes) + "_PrizeHeight")
312312 let X = (toBase58String(d.caller.bytes) + "_WeekEarning")
313313 let Y = {
314314 let g = getInteger(this, V)
315315 if ($isInstanceOf(g, "Int"))
316316 then {
317317 let h = g
318318 h
319319 }
320320 else 0
321321 }
322322 let j = getStringValue(this, "MaxDepositer")
323323 let Z = {
324324 let g = getInteger(this, "MaxDepositBlock")
325325 if ($isInstanceOf(g, "Int"))
326326 then {
327327 let h = g
328328 h
329329 }
330330 else 0
331331 }
332332 let aa = {
333333 let g = getInteger(this, "MaxDeposit")
334334 if ($isInstanceOf(g, "Int"))
335335 then {
336336 let h = g
337337 h
338338 }
339339 else 0
340340 }
341341 let ab = if ((x.amount > aa))
342342 then toBase58String(d.caller.bytes)
343343 else j
344344 let ac = if ((x.amount > aa))
345345 then x.amount
346346 else aa
347347 let ad = if ((x.amount > aa))
348348 then height
349349 else Z
350350 let ae = {
351351 let g = getInteger(this, y)
352352 if ($isInstanceOf(g, "Int"))
353353 then {
354354 let h = g
355355 h
356356 }
357357 else 0
358358 }
359359 let J = {
360360 let g = getInteger(this, E)
361361 if ($isInstanceOf(g, "Int"))
362362 then {
363363 let h = g
364364 h
365365 }
366366 else 0
367367 }
368368 let af = if ((J == 0))
369369 then height
370370 else J
371371 let ag = (Y + 1)
372372 let ah = {
373373 let g = getInteger(this, T)
374374 if ($isInstanceOf(g, "Int"))
375375 then {
376376 let h = g
377377 h
378378 }
379379 else 0
380380 }
381381 let ai = (ah + x.amount)
382382 let i = assetBalance(this, a)
383383 let l = {
384384 let g = getInteger(this, "StakeBalance")
385385 if ($isInstanceOf(g, "Int"))
386386 then {
387387 let h = g
388388 h
389389 }
390390 else 0
391391 }
392392 let aj = (l + x.amount)
393393 let m = {
394394 let g = getInteger(this, "FundBox")
395395 if ($isInstanceOf(g, "Int"))
396396 then {
397397 let h = g
398398 h
399399 }
400400 else 0
401401 }
402402 let ak = {
403403 let g = getInteger(this, X)
404404 if ($isInstanceOf(g, "Int"))
405405 then {
406406 let h = g
407407 h
408408 }
409409 else 0
410410 }
411411 let al = {
412412 let g = getInteger(this, U)
413413 if ($isInstanceOf(g, "Int"))
414414 then {
415415 let h = g
416416 h
417417 }
418418 else 0
419419 }
420420 let n = {
421421 let g = getInteger(this, "PrizeHeight")
422422 if ($isInstanceOf(g, "Int"))
423423 then {
424424 let h = g
425425 h
426426 }
427427 else 0
428428 }
429429 let o = if (if ((n == 0))
430430 then (m == 0)
431431 else false)
432432 then 0
433433 else if (if ((n == 0))
434434 then (m != 0)
435435 else false)
436436 then height
437437 else if (if ((n != 0))
438438 then (m != 0)
439439 else false)
440440 then n
441441 else 0
442442 let G = {
443443 let g = getInteger(this, "Delay")
444444 if ($isInstanceOf(g, "Int"))
445445 then {
446446 let h = g
447447 h
448448 }
449449 else 0
450450 }
451451 let C = {
452452 let g = getInteger(this, "HighestPush")
453453 if ($isInstanceOf(g, "Int"))
454454 then {
455455 let h = g
456456 h
457457 }
458458 else 0
459459 }
460460 let H = getStringValue(this, "HighestPushAddress")
461461 let O = if (if ((height > ((o + G) + t)))
462462 then (C > 0)
463463 else false)
464464 then ""
465465 else H
466466 let P = if (if ((height > ((o + G) + t)))
467467 then (C > 0)
468468 else false)
469469 then height
470470 else o
471471 if ((100000000 > R))
472472 then throw("No enough GovernToken In Contract, Please deposit GovernTokens")
473473 else {
474474 let am = if ((l == 0))
475475 then 10000
476476 else if ((ag > 10))
477477 then ((10000 * ag) * (1 + (ai / l)))
478478 else (10000 * (1 + (ai / l)))
479479 let an = if ((al > 0))
480480 then ((100 * am) / al)
481481 else 0
482482 let ao = (al + am)
483483 [IntegerEntry(U, ao), IntegerEntry(T, ai), IntegerEntry(V, ag), IntegerEntry("StakeBalance", aj), IntegerEntry("PrizeHeight", P), IntegerEntry(S, an), IntegerEntry(E, af), IntegerEntry(y, ae), StringEntry("MaxDepositer", ab), IntegerEntry("MaxDeposit", ac), IntegerEntry("MaxDepositBlock", ad), StringEntry("HighestPushAddress", O), IntegerEntry(X, ak), ScriptTransfer(d.caller, am, b)]
484484 }
485485 }
486486 else throw("Can deposit only StakeToken")
487487 }
488488
489489
490490
491491 @Callable(d)
492492 func WithdrawStakedFunds (ap) = {
493493 let t = (1440 * 1)
494494 let E = (toBase58String(d.caller.bytes) + "_UserLastStakeBlock")
495495 let T = (toBase58String(d.caller.bytes) + "_Staking")
496496 let U = ((toBase58String(d.caller.bytes) + "_") + toBase58String(b))
497497 let i = assetBalance(this, a)
498498 let J = {
499499 let g = getInteger(this, E)
500500 if ($isInstanceOf(g, "Int"))
501501 then {
502502 let h = g
503503 h
504504 }
505505 else 0
506506 }
507507 let l = {
508508 let g = getInteger(this, "StakeBalance")
509509 if ($isInstanceOf(g, "Int"))
510510 then {
511511 let h = g
512512 h
513513 }
514514 else 0
515515 }
516516 let m = {
517517 let g = getInteger(this, "FundBox")
518518 if ($isInstanceOf(g, "Int"))
519519 then {
520520 let h = g
521521 h
522522 }
523523 else 0
524524 }
525525 let n = {
526526 let g = getInteger(this, "PrizeHeight")
527527 if ($isInstanceOf(g, "Int"))
528528 then {
529529 let h = g
530530 h
531531 }
532532 else 0
533533 }
534534 let G = {
535535 let g = getInteger(this, "Delay")
536536 if ($isInstanceOf(g, "Int"))
537537 then {
538538 let h = g
539539 h
540540 }
541541 else 0
542542 }
543543 let C = {
544544 let g = getInteger(this, "HighestPush")
545545 if ($isInstanceOf(g, "Int"))
546546 then {
547547 let h = g
548548 h
549549 }
550550 else 0
551551 }
552552 let o = if (if ((n == 0))
553553 then (m == 0)
554554 else false)
555555 then 0
556556 else if (if ((n == 0))
557557 then (m != 0)
558558 else false)
559559 then height
560560 else if (if ((n != 0))
561561 then (m != 0)
562562 else false)
563563 then n
564564 else 0
565565 let H = getStringValue(this, "HighestPushAddress")
566566 let O = if (if ((height > ((o + G) + t)))
567567 then (C > 0)
568568 else false)
569569 then ""
570570 else H
571571 let P = if (if ((height > ((o + G) + t)))
572572 then (C > 0)
573573 else false)
574574 then height
575575 else o
576576 let e = toBase58String(d.caller.bytes)
577577 let aq = {
578578 let g = getInteger(this, T)
579579 if ($isInstanceOf(g, "Int"))
580580 then {
581581 let h = g
582582 h
583583 }
584584 else 0
585585 }
586586 let p = (aq - ap)
587587 let aj = (l - ap)
588588 let af = if ((aj == 0))
589589 then 0
590590 else J
591591 if ((0 > ap))
592592 then throw("Can't withdraw negative amount")
593593 else if ((0 > p))
594594 then throw(("User cannot withdraw more than deposited funds, Your deposit is: " + toString((aq / 100000000))))
595595 else if ((100000000 > assetBalance(this, b)))
596596 then throw(("Not enough Troika In Contract: " + toString((assetBalance(this, b) / 100000000))))
597597 else [IntegerEntry(U, 100000000), IntegerEntry(T, p), IntegerEntry("StakeBalance", aj), IntegerEntry("PrizeHeight", P), IntegerEntry(E, af), StringEntry("HighestPushAddress", O), ScriptTransfer(d.caller, 100000000, b), ScriptTransfer(d.caller, ap, a)]
598598 }
599599
600600
601601
602602 @Callable(d)
603603 func WithdrawBigStakeReward () = {
604604 let t = (1440 * 1)
605605 let ar = (toBase58String(d.caller.bytes) + "_LastBigStakerRewardBlock")
606606 let as = (toBase58String(d.caller.bytes) + "_BigStaker")
607607 let U = (toBase58String(d.caller.bytes) + "_Earnings")
608608 let at = 10
609609 let au = {
610610 let g = getInteger(this, U)
611611 if ($isInstanceOf(g, "Int"))
612612 then {
613613 let h = g
614614 h
615615 }
616616 else 0
617617 }
618618 let av = {
619619 let g = getInteger(this, ar)
620620 if ($isInstanceOf(g, "Int"))
621621 then {
622622 let h = g
623623 h
624624 }
625625 else 0
626626 }
627627 let aw = {
628628 let g = getInteger(this, "BigStakerRewardTotal")
629629 if ($isInstanceOf(g, "Int"))
630630 then {
631631 let h = g
632632 h
633633 }
634634 else 0
635635 }
636636 let m = {
637637 let g = getInteger(this, "FundBox")
638638 if ($isInstanceOf(g, "Int"))
639639 then {
640640 let h = g
641641 h
642642 }
643643 else 0
644644 }
645645 let n = {
646646 let g = getInteger(this, "PrizeHeight")
647647 if ($isInstanceOf(g, "Int"))
648648 then {
649649 let h = g
650650 h
651651 }
652652 else 0
653653 }
654654 let o = if (if ((n == 0))
655655 then (m == 0)
656656 else false)
657657 then 0
658658 else if (if ((n == 0))
659659 then (m != 0)
660660 else false)
661661 then height
662662 else if (if ((n != 0))
663663 then (m != 0)
664664 else false)
665665 then n
666666 else 0
667667 let G = {
668668 let g = getInteger(this, "Delay")
669669 if ($isInstanceOf(g, "Int"))
670670 then {
671671 let h = g
672672 h
673673 }
674674 else 0
675675 }
676676 let C = {
677677 let g = getInteger(this, "HighestPush")
678678 if ($isInstanceOf(g, "Int"))
679679 then {
680680 let h = g
681681 h
682682 }
683683 else 0
684684 }
685685 let H = getStringValue(this, "HighestPushAddress")
686686 let O = if (if ((height > ((o + G) + t)))
687687 then (C > 0)
688688 else false)
689689 then ""
690690 else H
691691 let P = if (if ((height > ((o + G) + t)))
692692 then (C > 0)
693693 else false)
694694 then height
695695 else o
696696 let e = toBase58String(d.caller.bytes)
697697 let ap = {
698698 let g = getInteger(this, as)
699699 if ($isInstanceOf(g, "Int"))
700700 then {
701701 let h = g
702702 h
703703 }
704704 else 0
705705 }
706706 let aj = (aw - ap)
707707 let ax = if ((0 > ((au / 1000) * (1000 - ((1000 * (height - av)) / (at * 1440))))))
708708 then (1000 * 100000000)
709709 else ((au / 1000) * (1000 - ((1000 * (height - av)) / (at * 1440))))
710710 if ((0 > ap))
711711 then throw(((("Can't withdraw negative amount " + toString((au - (1000 * 100000000)))) + " ... ") + toString(ap)))
712712 else if (if (if (((1000 * 100000000) > au))
713713 then true
714714 else (1 > ap))
715715 then true
716716 else (0 > (au - ax)))
717717 then throw(("No ASIMI reward available, or Not enough Earned Troikan Tokens to do transaction, you have: " + toString((au / 100000000))))
718718 else if ((aj > 0))
719719 then [IntegerEntry(as, 0), IntegerEntry("BigStakerRewardTotal", aj), IntegerEntry(U, (au - ax)), IntegerEntry("PrizeHeight", o), IntegerEntry(ar, height), StringEntry("HighestPushAddress", O), ScriptTransfer(d.caller, ap, a)]
720720 else throw("Balance Error, Total Big Stakers cannot be negative, Operation won't be authorized")
721721 }
722722
723723
724724
725725 @Callable(d)
726726 func HarvestGovernToiken (ap) = {
727727 let i = assetBalance(this, a)
728728 let U = (toBase58String(d.caller.bytes) + "_Earnings")
729729 let l = {
730730 let g = getInteger(this, "StakeBalance")
731731 if ($isInstanceOf(g, "Int"))
732732 then {
733733 let h = g
734734 h
735735 }
736736 else 0
737737 }
738738 let m = {
739739 let g = getInteger(this, "FundBox")
740740 if ($isInstanceOf(g, "Int"))
741741 then {
742742 let h = g
743743 h
744744 }
745745 else 0
746746 }
747747 let n = {
748748 let g = getInteger(this, "PrizeHeight")
749749 if ($isInstanceOf(g, "Int"))
750750 then {
751751 let h = g
752752 h
753753 }
754754 else 0
755755 }
756756 let o = if (if ((n == 0))
757757 then (m == 0)
758758 else false)
759759 then 0
760760 else if (if ((n == 0))
761761 then (m != 0)
762762 else false)
763763 then height
764764 else if (if ((n != 0))
765765 then (m != 0)
766766 else false)
767767 then n
768768 else 0
769769 let e = toBase58String(d.caller.bytes)
770770 let aq = {
771771 let g = getInteger(this, U)
772772 if ($isInstanceOf(g, "Int"))
773773 then {
774774 let h = g
775775 h
776776 }
777777 else 0
778778 }
779779 let p = (aq - ap)
780780 if ((0 > ap))
781781 then throw("Can't withdraw negative amount")
782782 else if ((0 > p))
783783 then throw(("User cannot withdraw more than deposited funds, Your deposit is: " + toString((aq / 100000000))))
784784 else [IntegerEntry(U, p), IntegerEntry("PrizeHeight", o), ScriptTransfer(d.caller, ap, b)]
785785 }
786786
787787
788788
789789 @Callable(d)
790790 func delayprize () = {
791791 let ay = (1440 * 1)
792792 let t = (1440 * 1)
793793 let U = ((toBase58String(d.caller.bytes) + "_") + toBase58String(b))
794794 let az = assetBalance(Address(d.caller.bytes), b)
795795 let i = assetBalance(this, a)
796796 let l = {
797797 let g = getInteger(this, "StakeBalance")
798798 if ($isInstanceOf(g, "Int"))
799799 then {
800800 let h = g
801801 h
802802 }
803803 else 0
804804 }
805805 let m = {
806806 let g = getInteger(this, "FundBox")
807807 if ($isInstanceOf(g, "Int"))
808808 then {
809809 let h = g
810810 h
811811 }
812812 else 0
813813 }
814814 let n = {
815815 let g = getInteger(this, "PrizeHeight")
816816 if ($isInstanceOf(g, "Int"))
817817 then {
818818 let h = g
819819 h
820820 }
821821 else 0
822822 }
823823 let G = {
824824 let g = getInteger(this, "Delay")
825825 if ($isInstanceOf(g, "Int"))
826826 then {
827827 let h = g
828828 h
829829 }
830830 else 0
831831 }
832832 let o = if (if ((n == 0))
833833 then (m == 0)
834834 else false)
835835 then 0
836836 else if (if ((n == 0))
837837 then (m != 0)
838838 else false)
839839 then height
840840 else if (if ((n != 0))
841841 then (m != 0)
842842 else false)
843843 then n
844844 else 0
845845 let C = {
846846 let g = getInteger(this, "HighestPush")
847847 if ($isInstanceOf(g, "Int"))
848848 then {
849849 let h = g
850850 h
851851 }
852852 else 0
853853 }
854854 let H = getStringValue(this, "HighestPushAddress")
855855 let O = if (if ((height > ((o + G) + t)))
856856 then (C > 0)
857857 else false)
858858 then ""
859859 else H
860860 let P = if (if ((height > ((o + G) + t)))
861861 then (C > 0)
862862 else false)
863863 then height
864864 else o
865865 let aA = {
866866 let g = getInteger(this, "DelayCost")
867867 if ($isInstanceOf(g, "Int"))
868868 then {
869869 let h = g
870870 h
871871 }
872872 else 10
873873 }
874874 let x = if ((size(d.payments) == 1))
875875 then d.payments[0]
876876 else throw("Attached payment is required")
877877 let L = {
878878 let g = getInteger(this, "DevBox")
879879 if ($isInstanceOf(g, "Int"))
880880 then {
881881 let h = g
882882 h
883883 }
884884 else 0
885885 }
886886 if (if (isDefined(x.assetId))
887887 then (x.assetId == b)
888888 else false)
889889 then if ((m > 0))
890890 then {
891891 let au = x.amount
892892 let f = (L + ((x.amount * 5) / 1000))
893893 let aB = if ((aA == 0))
894894 then 1000000000
895895 else (2 * aA)
896896 if ((au >= aB))
897897 then {
898898 let N = (G + ay)
899899 [IntegerEntry("Delay", N), IntegerEntry("DelayCost", aB), IntegerEntry("PrizeHeight", P), IntegerEntry("DevBox", f), StringEntry("HighestPushAddress", O)]
900900 }
901901 else throw((("To delay the release of the reward ONE DAY later than expected, you need " + toString(aB)) + "TROIKAs"))
902902 }
903903 else throw("You cannot delay the reward before reward is received! Please wait until a reward is available")
904904 else throw("Can Use only Troika Token to Delay Reward")
905905 }
906906
907907
908908
909909 @Callable(d)
910910 func ClaimPrize () = {
911911 let T = (toBase58String(d.caller.bytes) + "_Staking")
912912 let y = (toBase58String(d.caller.bytes) + "_Push")
913913 let E = (toBase58String(d.caller.bytes) + "_UserLastStakeBlock")
914914 let r = (1440 * 7)
915915 let u = 3
916916 let aC = assetBalance(this, b)
917917 let i = assetBalance(this, a)
918918 let l = {
919919 let g = getInteger(this, "StakeBalance")
920920 if ($isInstanceOf(g, "Int"))
921921 then {
922922 let h = g
923923 h
924924 }
925925 else 0
926926 }
927927 let m = {
928928 let g = getInteger(this, "FundBox")
929929 if ($isInstanceOf(g, "Int"))
930930 then {
931931 let h = g
932932 h
933933 }
934934 else 0
935935 }
936936 let ae = {
937937 let g = getInteger(this, y)
938938 if ($isInstanceOf(g, "Int"))
939939 then {
940940 let h = g
941941 h
942942 }
943943 else 0
944944 }
945945 let J = {
946946 let g = getInteger(this, E)
947947 if ($isInstanceOf(g, "Int"))
948948 then {
949949 let h = g
950950 h
951951 }
952952 else 0
953953 }
954954 let aD = {
955955 let g = getInteger(this, T)
956956 if ($isInstanceOf(g, "Int"))
957957 then {
958958 let h = g
959959 h
960960 }
961961 else 0
962962 }
963963 let G = {
964964 let g = getInteger(this, "Delay")
965965 if ($isInstanceOf(g, "Int"))
966966 then {
967967 let h = g
968968 h
969969 }
970970 else 0
971971 }
972972 let aE = getStringValue(this, "HighestPushAddress")
973973 let aF = {
974974 let g = getInteger(this, "PrizeHeight")
975975 if ($isInstanceOf(g, "Int"))
976976 then {
977977 let h = g
978978 h
979979 }
980980 else 0
981981 }
982982 let C = {
983983 let g = getInteger(this, "HighestPush")
984984 if ($isInstanceOf(g, "Int"))
985985 then {
986986 let h = g
987987 h
988988 }
989989 else 0
990990 }
991991 let A = (toBase58String(d.caller.bytes) + "_refs")
992992 let B = {
993993 let g = getInteger(this, A)
994994 if ($isInstanceOf(g, "Int"))
995995 then {
996996 let h = g
997997 h
998998 }
999999 else 0
10001000 }
10011001 if (if ((m == 0))
10021002 then true
10031003 else (10000000000 > aC))
10041004 then throw("No prize to Claim or Not enough Govern Token en Contract (Min 100 Troika)")
10051005 else if ((toBase58String(d.caller.bytes) != aE))
10061006 then throw("You are not the winner hence cannot claim the reward ")
10071007 else if (if ((100000000 > aD))
10081008 then (r > J)
10091009 else false)
10101010 then throw("You have to Stake ASIMI Token to claim reward ")
10111011 else if (if ((height > (aF + G)))
10121012 then (ae >= C)
10131013 else false)
10141014 then if ((B >= u))
10151015 then [IntegerEntry(aE, m), IntegerEntry("FundBox", 0), IntegerEntry("HighestPush", 0), IntegerEntry(y, 0), StringEntry("HighestPushAddress", ""), IntegerEntry("PrizeHeight", 0), IntegerEntry("Delay", 0), IntegerEntry("DelayCost", 0), StringEntry("LastWinner", aE), IntegerEntry("LastPrize", m), ScriptTransfer(d.caller, m, a), ScriptTransfer(d.caller, 1000000000, b)]
10161016 else throw((("You have to have " + toString(u)) + " referrals already staking for a minimum of 10 days to Claim the prize"))
10171017 else throw("You have to be the user with the highest Push and wait till countown is finished, to claim Reward")
10181018 }
10191019
10201020
10211021
10221022 @Callable(d)
10231023 func Addmentor (aG) = {
10241024 let aH = (toBase58String(d.caller.bytes) + "_Mentor")
10251025 if ((aG != ""))
10261026 then [StringEntry(aH, aG)]
10271027 else throw("Mentor's Address cannot be empty")
10281028 }
10291029
10301030
10311031
10321032 @Callable(d)
10331033 func GetLikesPackage (aI,aJ) = {
10341034 let x = if ((size(d.payments) == 2))
10351035 then d.payments[0]
10361036 else throw("Attached payment is required")
10371037 if (if ((d.payments[0].assetId == a))
10381038 then (d.payments[1].assetId == b)
10391039 else false)
10401040 then if ((x.amount > c))
10411041 then [IntegerEntry((toString(aI) + "_Twitt2Like"), aJ)]
10421042 else throw(("Amount should be :" + toString((x.amount / 100000000))))
10431043 else throw("Payments should be both ASIMI and TROIKAN tokens")
10441044 }
10451045
10461046

github/deemru/w8io/026f985 
106.55 ms