tx · 32Vd3WLyvGAbvPx3uzqYdhxVsyV5NHHo6ey2xwkwonqN 3N9evuqxGecMq9hBmpdJu2VkMzdR5VNVrvK: -0.01000000 Waves 2021.10.13 21:57 [1744895] smart account 3N9evuqxGecMq9hBmpdJu2VkMzdR5VNVrvK > SELF 0.00000000 Waves
{ "type": 13, "id": "32Vd3WLyvGAbvPx3uzqYdhxVsyV5NHHo6ey2xwkwonqN", "fee": 1000000, "feeAssetId": null, "timestamp": 1634151440807, "version": 2, "chainId": 84, "sender": "3N9evuqxGecMq9hBmpdJu2VkMzdR5VNVrvK", "senderPublicKey": "AHY8zupoYc6HPJ5fh1gQiGE9bNZSeifFbcQQ89okxVug", "proofs": [ "5mw22nQMvvzDk93yEpCmrZHMupYb5Ze3fbauup7mridoDM7uPQGtmXP8xWT1tJTB2CTUGQifHpLF5vAKsjrs1Mup" ], "script": "base64:AAIDAAAAAAAAAB8IARIAEgASABIAEgMKAQESABIDCgEBEgASABIDCgEIAAAAAAAAAAoAAAABaQEAAAALRGV2V2l0aGRyYXcAAAAABAAAAApjdXJyZW50S2V5CQACWAAAAAEICAUAAAABaQAAAAZjYWxsZXIAAAAFYnl0ZXMEAAAAC0dvdmVyblRva2VuAQAAACABbIXC10DGLlfEc7PFC2dO3zpcxegcWHrOz/9RkZaZLQMJAAAAAAAAAgUAAAAKY3VycmVudEtleQIAAAAjM011M253eHpHemVRQkd4Q0tMeUpjU0RLbVJpQ2VhOUZRU0oEAAAADERldkJveEFtb3VudAQAAAAHJG1hdGNoMAkABBoAAAACBQAAAAR0aGlzAgAAAAZEZXZCb3gDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAA0ludAQAAAABYQUAAAAHJG1hdGNoMAUAAAABYQAAAAAAAAAAAAMJAABmAAAAAgAAAAAAAAAAAAUAAAAMRGV2Qm94QW1vdW50CQAAAgAAAAECAAAAEk5vdCBlbm91Z2ggYmFsYW5jZQkBAAAADFNjcmlwdFJlc3VsdAAAAAIJAQAAAAhXcml0Z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ZXJTZXQAAAABCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMIBQAAAAFpAAAABmNhbGxlcgUAAAALUHJpemVBbW91bnQFAAAAC1N0YWtlZFRva2VuCQAETAAAAAIJAQAAAA5TY3JpcHRUcmFuc2ZlcgAAAAMIBQAAAAFpAAAABmNhbGxlcgAAAAAAO5rKAAUAAAALR292ZXJuVG9rZW4FAAAAA25pbAkAAAIAAAABAgAAAFlZb3UgaGF2ZSB0byBoYXZlIDEwIHJlZmVycmFscyBhbHJlYWR5IHN0YWtpbmcgZm9yIGEgbWluaW11bSBvZiAxMCBkYXlzIHRvIENsYWltIHRoZSBwcml6ZQkAAAIAAAABAgAAAGFZb3UgaGF2ZSB0byBiZSB0aGUgdXNlciB3aXRoIHRoZSBoaWdoZXN0IFB1c2ggYW5kIHdhaXQgdGlsbCBjb3VudG93biBpcyBmaW5pc2hlZCwgdG8gY2xhaW0gUmV3YXJkAAAAAWkBAAAACUFkZG1lbnRvcgAAAAEAAAAGTWVudG9yBAAAAAtTdGFrZWRUb2tlbgEAAAAg+a5dhaqgwfNcHhVklvUuRcimKrmAG+DKV13AJarHD1AEAAAAC0dvdmVyblRva2VuAQAAACABbIXC10DGLlfEc7PFC2dO3zpcxegcWHrOz/9RkZaZLQQAAAARVXNlck1lbnRvckFkZHJlc3MJAAEsAAAAAgkAAlgAAAABCAgFAAAAAWkAAAAGY2FsbGVyAAAABWJ5dGVzAgAAAAdfTWVudG9yAwkBAAAAAiE9AAAAAgUAAAAGTWVudG9yAgAAAAAJAQAAAAhXcml0ZVNldAAAAAEJAARMAAAAAgkBAAAACURhdGFFbnRyeQAAAAIFAAAAEVVzZXJNZW50b3JBZGRyZXNzBQAAAAZNZW50b3IFAAAAA25pbAkAAAIAAAABAgAAACBNZW50b3IncyBBZGRyZXNzIGNhbm5vdCBiZSBlbXB0eQAAAACmrPEx", "height": 1744895, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: E45scZKqmpKC7JqJ7aDLMRL11thVcddP1gCUxC4VTSKn Next: 8vowUNYC7KqKhKHR54jcPcLogK47AVQSf5J2FkpcQYQX Diff:
Old | New | Differences | |
---|---|---|---|
299 | 299 | if (if ((w.amount > 0)) | |
300 | 300 | then (w.assetId == g) | |
301 | 301 | else false) | |
302 | - | then { | |
303 | - | let Q = assetBalance(this, c) | |
304 | - | throw("Shiiit") | |
305 | - | } | |
302 | + | then throw("Shiiit") | |
306 | 303 | else throw("Can deposit only StakeToken") | |
307 | 304 | } | |
308 | 305 | ||
309 | 306 | ||
310 | 307 | ||
311 | 308 | @Callable(a) | |
312 | - | func WithdrawStakedFunds ( | |
309 | + | func WithdrawStakedFunds (Q) = { | |
313 | 310 | let s = (1 * 1) | |
314 | 311 | let g = base58'Hoej8L1ezqQY4Miex4Z4J7uJ33LCdcubV3DsubGHEqWP' | |
315 | 312 | let c = base58'6ZPMzZseuYoMP4ByozJpVxbugXBobwJYF22zVjW5JjN' | |
316 | 313 | let D = (toBase58String(a.caller.bytes) + "_UserLastStakeBlock") | |
317 | - | let | |
314 | + | let R = (toBase58String(a.caller.bytes) + "_Staking") | |
318 | 315 | let j = ((toBase58String(a.caller.bytes) + "_") + toBase58String(c)) | |
319 | 316 | let h = assetBalance(this, g) | |
320 | 317 | let I = { | |
404 | 401 | then height | |
405 | 402 | else n | |
406 | 403 | let b = toBase58String(a.caller.bytes) | |
407 | - | let | |
408 | - | let e = getInteger(this, | |
404 | + | let S = { | |
405 | + | let e = getInteger(this, R) | |
409 | 406 | if ($isInstanceOf(e, "Int")) | |
410 | 407 | then { | |
411 | 408 | let f = e | |
413 | 410 | } | |
414 | 411 | else 0 | |
415 | 412 | } | |
416 | - | let o = ( | |
417 | - | let | |
418 | - | let | |
413 | + | let o = (S - Q) | |
414 | + | let T = (k - Q) | |
415 | + | let U = if ((T == 0)) | |
419 | 416 | then 0 | |
420 | 417 | else I | |
421 | - | if ((0 > | |
418 | + | if ((0 > Q)) | |
422 | 419 | then throw("Can't withdraw negative amount") | |
423 | 420 | else if ((0 > o)) | |
424 | - | then throw(("User cannot withdraw more than deposited funds, Your deposit is: " + toString(( | |
421 | + | then throw(("User cannot withdraw more than deposited funds, Your deposit is: " + toString((S / 100000000)))) | |
425 | 422 | else if ((100000000 > assetBalance(this, c))) | |
426 | 423 | then throw(("Not enough Troika In Contract: " + toString((assetBalance(this, c) / 100000000)))) | |
427 | - | else ScriptResult(WriteSet([DataEntry(j, 100000000), DataEntry( | |
424 | + | else ScriptResult(WriteSet([DataEntry(j, 100000000), DataEntry(R, o), DataEntry("StakeBalance", T), DataEntry("PrizeHeight", O), DataEntry(D, U), DataEntry("HighestPushAddress", N)]), TransferSet([ScriptTransfer(a.caller, 100000000, c), ScriptTransfer(a.caller, Q, g)])) | |
428 | 425 | } | |
429 | 426 | ||
430 | 427 | ||
434 | 431 | let s = (1 * 1) | |
435 | 432 | let g = base58'Hoej8L1ezqQY4Miex4Z4J7uJ33LCdcubV3DsubGHEqWP' | |
436 | 433 | let c = base58'6ZPMzZseuYoMP4ByozJpVxbugXBobwJYF22zVjW5JjN' | |
437 | - | let | |
438 | - | let | |
434 | + | let V = (toBase58String(a.caller.bytes) + "_LastBigStakerRewardBlock") | |
435 | + | let W = (toBase58String(a.caller.bytes) + "_BigStaker") | |
439 | 436 | let j = (toBase58String(a.caller.bytes) + "_Earnings") | |
440 | - | let | |
441 | - | let | |
437 | + | let X = 1 | |
438 | + | let Y = { | |
442 | 439 | let e = getInteger(this, j) | |
443 | 440 | if ($isInstanceOf(e, "Int")) | |
444 | 441 | then { | |
447 | 444 | } | |
448 | 445 | else 0 | |
449 | 446 | } | |
450 | - | let | |
451 | - | let e = getInteger(this, | |
447 | + | let Z = { | |
448 | + | let e = getInteger(this, V) | |
452 | 449 | if ($isInstanceOf(e, "Int")) | |
453 | 450 | then { | |
454 | 451 | let f = e | |
456 | 453 | } | |
457 | 454 | else 0 | |
458 | 455 | } | |
459 | - | let | |
456 | + | let aa = { | |
460 | 457 | let e = getInteger(this, "BigStakerRewardTotal") | |
461 | 458 | if ($isInstanceOf(e, "Int")) | |
462 | 459 | then { | |
534 | 531 | then height | |
535 | 532 | else n | |
536 | 533 | let b = toBase58String(a.caller.bytes) | |
537 | - | let | |
538 | - | let e = getInteger(this, | |
534 | + | let Q = { | |
535 | + | let e = getInteger(this, W) | |
539 | 536 | if ($isInstanceOf(e, "Int")) | |
540 | 537 | then { | |
541 | 538 | let f = e | |
543 | 540 | } | |
544 | 541 | else 0 | |
545 | 542 | } | |
546 | - | let | |
547 | - | let | |
543 | + | let T = (aa - Q) | |
544 | + | let ab = if ((0 > ((Y / 1000) * (1000 - ((1000 * (height - Z)) / (X * 1440)))))) | |
548 | 545 | then (1000 * 100000000) | |
549 | - | else (( | |
550 | - | if ((0 > | |
546 | + | else ((Y / 1000) * (1000 - ((1000 * (height - Z)) / (X * 1440)))) | |
547 | + | if ((0 > Q)) | |
551 | 548 | then throw("Can't withdraw negative amount ") | |
552 | - | else if (if (((1000 * 100000000) > | |
553 | - | then (1 > | |
549 | + | else if (if (((1000 * 100000000) > Y)) | |
550 | + | then (1 > Q) | |
554 | 551 | else false) | |
555 | - | then throw(("No ASIMI reward available, or Not enough Earned Troikan Tokens to do transaction, you need at least 1000 Troikans, you have: " + toString(( | |
556 | - | else ScriptResult(WriteSet([DataEntry( | |
552 | + | then throw(("No ASIMI reward available, or Not enough Earned Troikan Tokens to do transaction, you need at least 1000 Troikans, you have: " + toString((Y / 100000000)))) | |
553 | + | else ScriptResult(WriteSet([DataEntry(W, 0), DataEntry("BigStakerRewardTotal", T), DataEntry(j, (Y - ab)), DataEntry("PrizeHeight", n), DataEntry(V, height), DataEntry("HighestPushAddress", N)]), TransferSet([ScriptTransfer(a.caller, Q, g)])) | |
557 | 554 | } | |
558 | 555 | ||
559 | 556 | ||
560 | 557 | ||
561 | 558 | @Callable(a) | |
562 | - | func HarvestGovernToiken ( | |
559 | + | func HarvestGovernToiken (Q) = { | |
563 | 560 | let g = base58'Hoej8L1ezqQY4Miex4Z4J7uJ33LCdcubV3DsubGHEqWP' | |
564 | 561 | let c = base58'6ZPMzZseuYoMP4ByozJpVxbugXBobwJYF22zVjW5JjN' | |
565 | 562 | let h = assetBalance(this, g) | |
605 | 602 | then m | |
606 | 603 | else 0 | |
607 | 604 | let b = toBase58String(a.caller.bytes) | |
608 | - | let | |
605 | + | let S = { | |
609 | 606 | let e = getInteger(this, j) | |
610 | 607 | if ($isInstanceOf(e, "Int")) | |
611 | 608 | then { | |
614 | 611 | } | |
615 | 612 | else 0 | |
616 | 613 | } | |
617 | - | let o = ( | |
618 | - | if ((0 > | |
614 | + | let o = (S - Q) | |
615 | + | if ((0 > Q)) | |
619 | 616 | then throw("Can't withdraw negative amount") | |
620 | 617 | else if ((0 > o)) | |
621 | - | then throw(("User cannot withdraw more than deposited funds, Your deposit is: " + toString(( | |
622 | - | else ScriptResult(WriteSet([DataEntry(j, o), DataEntry("PrizeHeight", n)]), TransferSet([ScriptTransfer(a.caller, | |
618 | + | then throw(("User cannot withdraw more than deposited funds, Your deposit is: " + toString((S / 100000000)))) | |
619 | + | else ScriptResult(WriteSet([DataEntry(j, o), DataEntry("PrizeHeight", n)]), TransferSet([ScriptTransfer(a.caller, Q, c)])) | |
623 | 620 | } | |
624 | 621 | ||
625 | 622 | ||
628 | 625 | func delayprize () = { | |
629 | 626 | let g = base58'Hoej8L1ezqQY4Miex4Z4J7uJ33LCdcubV3DsubGHEqWP' | |
630 | 627 | let c = base58'6ZPMzZseuYoMP4ByozJpVxbugXBobwJYF22zVjW5JjN' | |
631 | - | let | |
628 | + | let ac = (1 * 1) | |
632 | 629 | let s = (1 * 1) | |
633 | 630 | let j = ((toBase58String(a.caller.bytes) + "_") + toBase58String(c)) | |
634 | - | let | |
631 | + | let ad = assetBalance(Address(a.caller.bytes), c) | |
635 | 632 | let h = assetBalance(this, g) | |
636 | 633 | let k = { | |
637 | 634 | let e = getInteger(this, "StakeBalance") | |
710 | 707 | else false) | |
711 | 708 | then height | |
712 | 709 | else n | |
713 | - | let | |
710 | + | let ae = { | |
714 | 711 | let e = getInteger(this, "DelayCost") | |
715 | 712 | if ($isInstanceOf(e, "Int")) | |
716 | 713 | then { | |
734 | 731 | else false) | |
735 | 732 | then if ((l > 0)) | |
736 | 733 | then { | |
737 | - | let | |
734 | + | let Y = w.amount | |
738 | 735 | let d = (K + ((w.amount * 5) / 1000)) | |
739 | - | let | |
736 | + | let af = if ((ae == 0)) | |
740 | 737 | then 1000000000 | |
741 | - | else (2 * | |
742 | - | if (( | |
738 | + | else (2 * ae) | |
739 | + | if ((Y >= af)) | |
743 | 740 | then { | |
744 | - | let M = (F + | |
745 | - | WriteSet([DataEntry("Delay", M), DataEntry("DelayCost", | |
741 | + | let M = (F + ac) | |
742 | + | WriteSet([DataEntry("Delay", M), DataEntry("DelayCost", af), DataEntry("PrizeHeight", O), DataEntry("DevBox", d), DataEntry("HighestPushAddress", N)]) | |
746 | 743 | } | |
747 | - | else throw((("To delay the release of the reward ONE DAY later than expected, you need " + toString( | |
744 | + | else throw((("To delay the release of the reward ONE DAY later than expected, you need " + toString(af)) + "TROIKAs")) | |
748 | 745 | } | |
749 | 746 | else throw("You cannot delay the reward before reward is received! Please wait until a reward is available") | |
750 | 747 | else throw("Can Use only Troika Token to Delay Reward") | |
756 | 753 | func ClaimPrize () = { | |
757 | 754 | let g = base58'Hoej8L1ezqQY4Miex4Z4J7uJ33LCdcubV3DsubGHEqWP' | |
758 | 755 | let c = base58'6ZPMzZseuYoMP4ByozJpVxbugXBobwJYF22zVjW5JjN' | |
759 | - | let | |
756 | + | let R = (toBase58String(a.caller.bytes) + "_Staking") | |
760 | 757 | let x = (toBase58String(a.caller.bytes) + "_Push") | |
761 | 758 | let D = (toBase58String(a.caller.bytes) + "_UserLastStakeBlock") | |
762 | 759 | let q = 7 | |
763 | 760 | let t = 0 | |
764 | - | let | |
761 | + | let ag = assetBalance(this, c) | |
765 | 762 | let h = assetBalance(this, g) | |
766 | 763 | let k = { | |
767 | 764 | let e = getInteger(this, "StakeBalance") | |
781 | 778 | } | |
782 | 779 | else 0 | |
783 | 780 | } | |
784 | - | let | |
781 | + | let ah = { | |
785 | 782 | let e = getInteger(this, x) | |
786 | 783 | if ($isInstanceOf(e, "Int")) | |
787 | 784 | then { | |
799 | 796 | } | |
800 | 797 | else 0 | |
801 | 798 | } | |
802 | - | let | |
803 | - | let e = getInteger(this, | |
799 | + | let ai = { | |
800 | + | let e = getInteger(this, R) | |
804 | 801 | if ($isInstanceOf(e, "Int")) | |
805 | 802 | then { | |
806 | 803 | let f = e | |
817 | 814 | } | |
818 | 815 | else 0 | |
819 | 816 | } | |
820 | - | let | |
821 | - | let | |
817 | + | let aj = getStringValue(this, "HighestPushAddress") | |
818 | + | let ak = { | |
822 | 819 | let e = getInteger(this, "PrizeHeight") | |
823 | 820 | if ($isInstanceOf(e, "Int")) | |
824 | 821 | then { | |
848 | 845 | } | |
849 | 846 | if (if ((l == 0)) | |
850 | 847 | then true | |
851 | - | else (10000000000 > | |
848 | + | else (10000000000 > ag)) | |
852 | 849 | then throw("No prize to Claim or Not enough Govern Token en Contract (Min 100 Troika)") | |
853 | - | else if ((toBase58String(a.caller.bytes) != | |
850 | + | else if ((toBase58String(a.caller.bytes) != aj)) | |
854 | 851 | then throw("You are not the winner hence cannot claim the reward ") | |
855 | - | else if (if ((100000000 > | |
852 | + | else if (if ((100000000 > ai)) | |
856 | 853 | then (q > I) | |
857 | 854 | else false) | |
858 | 855 | then throw("You have to Stake ASIMI Token to claim reward ") | |
859 | - | else if (if ((height > ( | |
860 | - | then ( | |
856 | + | else if (if ((height > (ak + F))) | |
857 | + | then (ah >= B) | |
861 | 858 | else false) | |
862 | 859 | then if ((A >= t)) | |
863 | - | then ScriptResult(WriteSet([DataEntry( | |
860 | + | then ScriptResult(WriteSet([DataEntry(aj, l), DataEntry("FundBox", 0), DataEntry("HighestPush", 0), DataEntry(x, 0), DataEntry("HighestPushAddress", ""), DataEntry("PrizeHeight", 0), DataEntry("Delay", 0), DataEntry("DelayCost", 0), DataEntry("LastWinner", aj), DataEntry("LastPrize", l)]), TransferSet([ScriptTransfer(a.caller, l, g), ScriptTransfer(a.caller, 1000000000, c)])) | |
864 | 861 | else throw("You have to have 10 referrals already staking for a minimum of 10 days to Claim the prize") | |
865 | 862 | else throw("You have to be the user with the highest Push and wait till countown is finished, to claim Reward") | |
866 | 863 | } | |
868 | 865 | ||
869 | 866 | ||
870 | 867 | @Callable(a) | |
871 | - | func Addmentor ( | |
868 | + | func Addmentor (al) = { | |
872 | 869 | let g = base58'Hoej8L1ezqQY4Miex4Z4J7uJ33LCdcubV3DsubGHEqWP' | |
873 | 870 | let c = base58'6ZPMzZseuYoMP4ByozJpVxbugXBobwJYF22zVjW5JjN' | |
874 | - | let | |
875 | - | if (( | |
876 | - | then WriteSet([DataEntry( | |
871 | + | let am = (toBase58String(a.caller.bytes) + "_Mentor") | |
872 | + | if ((al != "")) | |
873 | + | then WriteSet([DataEntry(am, al)]) | |
877 | 874 | else throw("Mentor's Address cannot be empty") | |
878 | 875 | } | |
879 | 876 |
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 DevWithdraw () = { | |
8 | 8 | let b = toBase58String(a.caller.bytes) | |
9 | 9 | let c = base58'6ZPMzZseuYoMP4ByozJpVxbugXBobwJYF22zVjW5JjN' | |
10 | 10 | if ((b == "3Mu3nwxzGzeQBGxCKLyJcSDKmRiCea9FQSJ")) | |
11 | 11 | then { | |
12 | 12 | let d = { | |
13 | 13 | let e = getInteger(this, "DevBox") | |
14 | 14 | if ($isInstanceOf(e, "Int")) | |
15 | 15 | then { | |
16 | 16 | let f = e | |
17 | 17 | f | |
18 | 18 | } | |
19 | 19 | else 0 | |
20 | 20 | } | |
21 | 21 | if ((0 > d)) | |
22 | 22 | then throw("Not enough balance") | |
23 | 23 | else ScriptResult(WriteSet([DataEntry("DevBox", 0), DataEntry("Delay", 0), DataEntry("FundBox", 0), DataEntry("BigStakerRewardTotal", 0), DataEntry("PrizeHeight", height), DataEntry("StakeBalance", 0), DataEntry("MaxDeposit", 0)]), TransferSet([ScriptTransfer(a.caller, d, c)])) | |
24 | 24 | } | |
25 | 25 | else throw("You cannot withdraw as your are not the Dev.") | |
26 | 26 | } | |
27 | 27 | ||
28 | 28 | ||
29 | 29 | ||
30 | 30 | @Callable(a) | |
31 | 31 | func WithdrawWeeklyEarning () = { | |
32 | 32 | let g = base58'Hoej8L1ezqQY4Miex4Z4J7uJ33LCdcubV3DsubGHEqWP' | |
33 | 33 | let c = base58'6ZPMzZseuYoMP4ByozJpVxbugXBobwJYF22zVjW5JjN' | |
34 | 34 | let h = assetBalance(this, g) | |
35 | 35 | let i = getStringValue(this, "MaxDepositer") | |
36 | 36 | let j = (toBase58String(a.caller.bytes) + "_WeekEarning") | |
37 | 37 | let k = { | |
38 | 38 | let e = getInteger(this, "StakeBalance") | |
39 | 39 | if ($isInstanceOf(e, "Int")) | |
40 | 40 | then { | |
41 | 41 | let f = e | |
42 | 42 | f | |
43 | 43 | } | |
44 | 44 | else 0 | |
45 | 45 | } | |
46 | 46 | let l = { | |
47 | 47 | let e = getInteger(this, "FundBox") | |
48 | 48 | if ($isInstanceOf(e, "Int")) | |
49 | 49 | then { | |
50 | 50 | let f = e | |
51 | 51 | f | |
52 | 52 | } | |
53 | 53 | else 0 | |
54 | 54 | } | |
55 | 55 | let m = { | |
56 | 56 | let e = getInteger(this, "PrizeHeight") | |
57 | 57 | if ($isInstanceOf(e, "Int")) | |
58 | 58 | then { | |
59 | 59 | let f = e | |
60 | 60 | f | |
61 | 61 | } | |
62 | 62 | else 0 | |
63 | 63 | } | |
64 | 64 | let n = if (if ((m == 0)) | |
65 | 65 | then (l == 0) | |
66 | 66 | else false) | |
67 | 67 | then 0 | |
68 | 68 | else if (if ((m == 0)) | |
69 | 69 | then (l != 0) | |
70 | 70 | else false) | |
71 | 71 | then height | |
72 | 72 | else if (if ((m != 0)) | |
73 | 73 | then (l != 0) | |
74 | 74 | else false) | |
75 | 75 | then m | |
76 | 76 | else 0 | |
77 | 77 | let b = toBase58String(a.caller.bytes) | |
78 | 78 | let o = { | |
79 | 79 | let e = getInteger(this, j) | |
80 | 80 | if ($isInstanceOf(e, "Int")) | |
81 | 81 | then { | |
82 | 82 | let f = e | |
83 | 83 | f | |
84 | 84 | } | |
85 | 85 | else 0 | |
86 | 86 | } | |
87 | 87 | if ((0 > o)) | |
88 | 88 | then throw("Can't withdraw negative amount") | |
89 | 89 | else if ((0 > o)) | |
90 | 90 | then throw(("User cannot withdraw more than deposited funds, Your deposit is: " + toString((o / 100000000)))) | |
91 | 91 | else ScriptResult(WriteSet([DataEntry(j, 0), DataEntry("PrizeHeight", n), DataEntry("MaxDeposit", 0)]), TransferSet([ScriptTransfer(a.caller, o, g)])) | |
92 | 92 | } | |
93 | 93 | ||
94 | 94 | ||
95 | 95 | ||
96 | 96 | @Callable(a) | |
97 | 97 | func PushReward () = { | |
98 | 98 | let g = base58'Hoej8L1ezqQY4Miex4Z4J7uJ33LCdcubV3DsubGHEqWP' | |
99 | 99 | let c = base58'6ZPMzZseuYoMP4ByozJpVxbugXBobwJYF22zVjW5JjN' | |
100 | 100 | let p = 10 | |
101 | 101 | let q = (7 * 1440) | |
102 | 102 | let r = 1 | |
103 | 103 | let s = (1 * 1) | |
104 | 104 | let t = 0 | |
105 | 105 | let u = 1 | |
106 | 106 | let v = assetBalance(Address(a.caller.bytes), c) | |
107 | 107 | let w = extract(a.payment) | |
108 | 108 | let x = (toBase58String(a.caller.bytes) + "_Push") | |
109 | 109 | let y = { | |
110 | 110 | let e = getInteger(this, x) | |
111 | 111 | if ($isInstanceOf(e, "Int")) | |
112 | 112 | then { | |
113 | 113 | let f = e | |
114 | 114 | f | |
115 | 115 | } | |
116 | 116 | else 0 | |
117 | 117 | } | |
118 | 118 | let z = (toBase58String(a.caller.bytes) + "_refs") | |
119 | 119 | let A = { | |
120 | 120 | let e = getInteger(this, z) | |
121 | 121 | if ($isInstanceOf(e, "Int")) | |
122 | 122 | then { | |
123 | 123 | let f = e | |
124 | 124 | f | |
125 | 125 | } | |
126 | 126 | else 0 | |
127 | 127 | } | |
128 | 128 | let B = { | |
129 | 129 | let e = getInteger(this, "HighestPush") | |
130 | 130 | if ($isInstanceOf(e, "Int")) | |
131 | 131 | then { | |
132 | 132 | let f = e | |
133 | 133 | f | |
134 | 134 | } | |
135 | 135 | else 0 | |
136 | 136 | } | |
137 | 137 | if ((v > w.amount)) | |
138 | 138 | then if (if (((w.amount + y) > B)) | |
139 | 139 | then (w.assetId == c) | |
140 | 140 | else false) | |
141 | 141 | then { | |
142 | 142 | let C = (toBase58String(a.caller.bytes) + "_UserLastPushBlock") | |
143 | 143 | let D = (toBase58String(a.caller.bytes) + "_UserLastStakeBlock") | |
144 | 144 | let E = (toBase58String(a.caller.bytes) + "_Staking") | |
145 | 145 | let h = assetBalance(this, g) | |
146 | 146 | let k = { | |
147 | 147 | let e = getInteger(this, "StakeBalance") | |
148 | 148 | if ($isInstanceOf(e, "Int")) | |
149 | 149 | then { | |
150 | 150 | let f = e | |
151 | 151 | f | |
152 | 152 | } | |
153 | 153 | else 0 | |
154 | 154 | } | |
155 | 155 | let l = { | |
156 | 156 | let e = getInteger(this, "FundBox") | |
157 | 157 | if ($isInstanceOf(e, "Int")) | |
158 | 158 | then { | |
159 | 159 | let f = e | |
160 | 160 | f | |
161 | 161 | } | |
162 | 162 | else 0 | |
163 | 163 | } | |
164 | 164 | let m = { | |
165 | 165 | let e = getInteger(this, "PrizeHeight") | |
166 | 166 | if ($isInstanceOf(e, "Int")) | |
167 | 167 | then { | |
168 | 168 | let f = e | |
169 | 169 | f | |
170 | 170 | } | |
171 | 171 | else 0 | |
172 | 172 | } | |
173 | 173 | let n = if (if ((m == 0)) | |
174 | 174 | then (l == 0) | |
175 | 175 | else false) | |
176 | 176 | then 0 | |
177 | 177 | else if (if ((m == 0)) | |
178 | 178 | then (l != 0) | |
179 | 179 | else false) | |
180 | 180 | then height | |
181 | 181 | else if (if ((m != 0)) | |
182 | 182 | then (l != 0) | |
183 | 183 | else false) | |
184 | 184 | then m | |
185 | 185 | else 0 | |
186 | 186 | let F = { | |
187 | 187 | let e = getInteger(this, "Delay") | |
188 | 188 | if ($isInstanceOf(e, "Int")) | |
189 | 189 | then { | |
190 | 190 | let f = e | |
191 | 191 | f | |
192 | 192 | } | |
193 | 193 | else 0 | |
194 | 194 | } | |
195 | 195 | let G = { | |
196 | 196 | let e = getInteger(this, "HighestPushAddress") | |
197 | 197 | if ($isInstanceOf(e, "Int")) | |
198 | 198 | then { | |
199 | 199 | let f = e | |
200 | 200 | f | |
201 | 201 | } | |
202 | 202 | else 0 | |
203 | 203 | } | |
204 | 204 | let H = { | |
205 | 205 | let e = getInteger(this, C) | |
206 | 206 | if ($isInstanceOf(e, "Int")) | |
207 | 207 | then { | |
208 | 208 | let f = e | |
209 | 209 | f | |
210 | 210 | } | |
211 | 211 | else 0 | |
212 | 212 | } | |
213 | 213 | let I = { | |
214 | 214 | let e = getInteger(this, D) | |
215 | 215 | if ($isInstanceOf(e, "Int")) | |
216 | 216 | then { | |
217 | 217 | let f = e | |
218 | 218 | f | |
219 | 219 | } | |
220 | 220 | else 0 | |
221 | 221 | } | |
222 | 222 | let J = { | |
223 | 223 | let e = getInteger(this, E) | |
224 | 224 | if ($isInstanceOf(e, "Int")) | |
225 | 225 | then { | |
226 | 226 | let f = e | |
227 | 227 | f | |
228 | 228 | } | |
229 | 229 | else 0 | |
230 | 230 | } | |
231 | 231 | let K = { | |
232 | 232 | let e = getInteger(this, "DevBox") | |
233 | 233 | if ($isInstanceOf(e, "Int")) | |
234 | 234 | then { | |
235 | 235 | let f = e | |
236 | 236 | f | |
237 | 237 | } | |
238 | 238 | else 0 | |
239 | 239 | } | |
240 | 240 | let d = (K + ((w.amount * 5) / 1000)) | |
241 | 241 | let L = (w.amount + y) | |
242 | 242 | let M = if (if ((height > ((n + F) + s))) | |
243 | 243 | then (B > 0) | |
244 | 244 | else false) | |
245 | 245 | then u | |
246 | 246 | else (F + r) | |
247 | 247 | let N = if (if ((height > ((n + M) + s))) | |
248 | 248 | then (B > 0) | |
249 | 249 | else false) | |
250 | 250 | then "" | |
251 | 251 | else G | |
252 | 252 | let O = if (if ((height > ((n + M) + s))) | |
253 | 253 | then (B > 0) | |
254 | 254 | else false) | |
255 | 255 | then height | |
256 | 256 | else n | |
257 | 257 | if (if ((L > 0)) | |
258 | 258 | then ((height - I) > q) | |
259 | 259 | else false) | |
260 | 260 | then if (((height - H) > p)) | |
261 | 261 | then if ((J > 0)) | |
262 | 262 | then if ((L > B)) | |
263 | 263 | then if ((l > 0)) | |
264 | 264 | then if (if (if (if (((O + M) >= height)) | |
265 | 265 | then true | |
266 | 266 | else (height >= ((O + M) + s))) | |
267 | 267 | then (B > 0) | |
268 | 268 | else false) | |
269 | 269 | then true | |
270 | 270 | else (B == 0)) | |
271 | 271 | then if ((A >= t)) | |
272 | 272 | then WriteSet([DataEntry(x, L), DataEntry("HighestPushAddress", toBase58String(a.caller.bytes)), DataEntry("HighestPush", L), DataEntry(C, height), DataEntry("PrizeHeight", O), DataEntry("Delay", M), DataEntry("DevBox", d)]) | |
273 | 273 | else throw((("You have to have " + toString(t)) + " referrals already staking for a minimum of 10 days, to push")) | |
274 | 274 | else { | |
275 | 275 | let P = if ((B > 0)) | |
276 | 276 | then "You cannot Push after rewarding Prize and before One day has passed after award" | |
277 | 277 | else "Unexpected error" | |
278 | 278 | throw(P) | |
279 | 279 | } | |
280 | 280 | else throw("You cannot push before the reward is unlocked, no reward has been detected yet") | |
281 | 281 | else throw("Your push in troikan token, should be Higher than last Highest Push") | |
282 | 282 | else throw("To be able to participate in Pushing for the reward you need to Stake ASIMIs in the dApp") | |
283 | 283 | else throw("You have to wait 10min before you can make a new Push") | |
284 | 284 | else throw(("Your Push dot not comply one of the following conditions: " + "1. Positive Value for Push in Troikan Toke | |
285 | 285 | 2. Must Staked ASIMI Token for a minimum of week ")) | |
286 | 286 | } | |
287 | 287 | else throw((("Can deposit only positive amounts of Troikan Token, or Check your Wallet balance in Troika, you should have more than " + toString(B)) + " to push")) | |
288 | 288 | 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 !") | |
289 | 289 | } | |
290 | 290 | ||
291 | 291 | ||
292 | 292 | ||
293 | 293 | @Callable(a) | |
294 | 294 | func Stake () = { | |
295 | 295 | let s = (1 * 1) | |
296 | 296 | let g = base58'Hoej8L1ezqQY4Miex4Z4J7uJ33LCdcubV3DsubGHEqWP' | |
297 | 297 | let c = base58'6ZPMzZseuYoMP4ByozJpVxbugXBobwJYF22zVjW5JjN' | |
298 | 298 | let w = extract(a.payment) | |
299 | 299 | if (if ((w.amount > 0)) | |
300 | 300 | then (w.assetId == g) | |
301 | 301 | else false) | |
302 | - | then { | |
303 | - | let Q = assetBalance(this, c) | |
304 | - | throw("Shiiit") | |
305 | - | } | |
302 | + | then throw("Shiiit") | |
306 | 303 | else throw("Can deposit only StakeToken") | |
307 | 304 | } | |
308 | 305 | ||
309 | 306 | ||
310 | 307 | ||
311 | 308 | @Callable(a) | |
312 | - | func WithdrawStakedFunds ( | |
309 | + | func WithdrawStakedFunds (Q) = { | |
313 | 310 | let s = (1 * 1) | |
314 | 311 | let g = base58'Hoej8L1ezqQY4Miex4Z4J7uJ33LCdcubV3DsubGHEqWP' | |
315 | 312 | let c = base58'6ZPMzZseuYoMP4ByozJpVxbugXBobwJYF22zVjW5JjN' | |
316 | 313 | let D = (toBase58String(a.caller.bytes) + "_UserLastStakeBlock") | |
317 | - | let | |
314 | + | let R = (toBase58String(a.caller.bytes) + "_Staking") | |
318 | 315 | let j = ((toBase58String(a.caller.bytes) + "_") + toBase58String(c)) | |
319 | 316 | let h = assetBalance(this, g) | |
320 | 317 | let I = { | |
321 | 318 | let e = getInteger(this, D) | |
322 | 319 | if ($isInstanceOf(e, "Int")) | |
323 | 320 | then { | |
324 | 321 | let f = e | |
325 | 322 | f | |
326 | 323 | } | |
327 | 324 | else 0 | |
328 | 325 | } | |
329 | 326 | let k = { | |
330 | 327 | let e = getInteger(this, "StakeBalance") | |
331 | 328 | if ($isInstanceOf(e, "Int")) | |
332 | 329 | then { | |
333 | 330 | let f = e | |
334 | 331 | f | |
335 | 332 | } | |
336 | 333 | else 0 | |
337 | 334 | } | |
338 | 335 | let l = { | |
339 | 336 | let e = getInteger(this, "FundBox") | |
340 | 337 | if ($isInstanceOf(e, "Int")) | |
341 | 338 | then { | |
342 | 339 | let f = e | |
343 | 340 | f | |
344 | 341 | } | |
345 | 342 | else 0 | |
346 | 343 | } | |
347 | 344 | let m = { | |
348 | 345 | let e = getInteger(this, "PrizeHeight") | |
349 | 346 | if ($isInstanceOf(e, "Int")) | |
350 | 347 | then { | |
351 | 348 | let f = e | |
352 | 349 | f | |
353 | 350 | } | |
354 | 351 | else 0 | |
355 | 352 | } | |
356 | 353 | let F = { | |
357 | 354 | let e = getInteger(this, "Delay") | |
358 | 355 | if ($isInstanceOf(e, "Int")) | |
359 | 356 | then { | |
360 | 357 | let f = e | |
361 | 358 | f | |
362 | 359 | } | |
363 | 360 | else 0 | |
364 | 361 | } | |
365 | 362 | let B = { | |
366 | 363 | let e = getInteger(this, "HighestPush") | |
367 | 364 | if ($isInstanceOf(e, "Int")) | |
368 | 365 | then { | |
369 | 366 | let f = e | |
370 | 367 | f | |
371 | 368 | } | |
372 | 369 | else 0 | |
373 | 370 | } | |
374 | 371 | let n = if (if ((m == 0)) | |
375 | 372 | then (l == 0) | |
376 | 373 | else false) | |
377 | 374 | then 0 | |
378 | 375 | else if (if ((m == 0)) | |
379 | 376 | then (l != 0) | |
380 | 377 | else false) | |
381 | 378 | then height | |
382 | 379 | else if (if ((m != 0)) | |
383 | 380 | then (l != 0) | |
384 | 381 | else false) | |
385 | 382 | then m | |
386 | 383 | else 0 | |
387 | 384 | let G = { | |
388 | 385 | let e = getInteger(this, "HighestPushAddress") | |
389 | 386 | if ($isInstanceOf(e, "Int")) | |
390 | 387 | then { | |
391 | 388 | let f = e | |
392 | 389 | f | |
393 | 390 | } | |
394 | 391 | else 0 | |
395 | 392 | } | |
396 | 393 | let N = if (if ((height > ((n + F) + s))) | |
397 | 394 | then (B > 0) | |
398 | 395 | else false) | |
399 | 396 | then "" | |
400 | 397 | else G | |
401 | 398 | let O = if (if ((height > ((n + F) + s))) | |
402 | 399 | then (B > 0) | |
403 | 400 | else false) | |
404 | 401 | then height | |
405 | 402 | else n | |
406 | 403 | let b = toBase58String(a.caller.bytes) | |
407 | - | let | |
408 | - | let e = getInteger(this, | |
404 | + | let S = { | |
405 | + | let e = getInteger(this, R) | |
409 | 406 | if ($isInstanceOf(e, "Int")) | |
410 | 407 | then { | |
411 | 408 | let f = e | |
412 | 409 | f | |
413 | 410 | } | |
414 | 411 | else 0 | |
415 | 412 | } | |
416 | - | let o = ( | |
417 | - | let | |
418 | - | let | |
413 | + | let o = (S - Q) | |
414 | + | let T = (k - Q) | |
415 | + | let U = if ((T == 0)) | |
419 | 416 | then 0 | |
420 | 417 | else I | |
421 | - | if ((0 > | |
418 | + | if ((0 > Q)) | |
422 | 419 | then throw("Can't withdraw negative amount") | |
423 | 420 | else if ((0 > o)) | |
424 | - | then throw(("User cannot withdraw more than deposited funds, Your deposit is: " + toString(( | |
421 | + | then throw(("User cannot withdraw more than deposited funds, Your deposit is: " + toString((S / 100000000)))) | |
425 | 422 | else if ((100000000 > assetBalance(this, c))) | |
426 | 423 | then throw(("Not enough Troika In Contract: " + toString((assetBalance(this, c) / 100000000)))) | |
427 | - | else ScriptResult(WriteSet([DataEntry(j, 100000000), DataEntry( | |
424 | + | else ScriptResult(WriteSet([DataEntry(j, 100000000), DataEntry(R, o), DataEntry("StakeBalance", T), DataEntry("PrizeHeight", O), DataEntry(D, U), DataEntry("HighestPushAddress", N)]), TransferSet([ScriptTransfer(a.caller, 100000000, c), ScriptTransfer(a.caller, Q, g)])) | |
428 | 425 | } | |
429 | 426 | ||
430 | 427 | ||
431 | 428 | ||
432 | 429 | @Callable(a) | |
433 | 430 | func WithdrawBigStakeReward () = { | |
434 | 431 | let s = (1 * 1) | |
435 | 432 | let g = base58'Hoej8L1ezqQY4Miex4Z4J7uJ33LCdcubV3DsubGHEqWP' | |
436 | 433 | let c = base58'6ZPMzZseuYoMP4ByozJpVxbugXBobwJYF22zVjW5JjN' | |
437 | - | let | |
438 | - | let | |
434 | + | let V = (toBase58String(a.caller.bytes) + "_LastBigStakerRewardBlock") | |
435 | + | let W = (toBase58String(a.caller.bytes) + "_BigStaker") | |
439 | 436 | let j = (toBase58String(a.caller.bytes) + "_Earnings") | |
440 | - | let | |
441 | - | let | |
437 | + | let X = 1 | |
438 | + | let Y = { | |
442 | 439 | let e = getInteger(this, j) | |
443 | 440 | if ($isInstanceOf(e, "Int")) | |
444 | 441 | then { | |
445 | 442 | let f = e | |
446 | 443 | f | |
447 | 444 | } | |
448 | 445 | else 0 | |
449 | 446 | } | |
450 | - | let | |
451 | - | let e = getInteger(this, | |
447 | + | let Z = { | |
448 | + | let e = getInteger(this, V) | |
452 | 449 | if ($isInstanceOf(e, "Int")) | |
453 | 450 | then { | |
454 | 451 | let f = e | |
455 | 452 | f | |
456 | 453 | } | |
457 | 454 | else 0 | |
458 | 455 | } | |
459 | - | let | |
456 | + | let aa = { | |
460 | 457 | let e = getInteger(this, "BigStakerRewardTotal") | |
461 | 458 | if ($isInstanceOf(e, "Int")) | |
462 | 459 | then { | |
463 | 460 | let f = e | |
464 | 461 | f | |
465 | 462 | } | |
466 | 463 | else 0 | |
467 | 464 | } | |
468 | 465 | let l = { | |
469 | 466 | let e = getInteger(this, "FundBox") | |
470 | 467 | if ($isInstanceOf(e, "Int")) | |
471 | 468 | then { | |
472 | 469 | let f = e | |
473 | 470 | f | |
474 | 471 | } | |
475 | 472 | else 0 | |
476 | 473 | } | |
477 | 474 | let m = { | |
478 | 475 | let e = getInteger(this, "PrizeHeight") | |
479 | 476 | if ($isInstanceOf(e, "Int")) | |
480 | 477 | then { | |
481 | 478 | let f = e | |
482 | 479 | f | |
483 | 480 | } | |
484 | 481 | else 0 | |
485 | 482 | } | |
486 | 483 | let n = if (if ((m == 0)) | |
487 | 484 | then (l == 0) | |
488 | 485 | else false) | |
489 | 486 | then 0 | |
490 | 487 | else if (if ((m == 0)) | |
491 | 488 | then (l != 0) | |
492 | 489 | else false) | |
493 | 490 | then height | |
494 | 491 | else if (if ((m != 0)) | |
495 | 492 | then (l != 0) | |
496 | 493 | else false) | |
497 | 494 | then m | |
498 | 495 | else 0 | |
499 | 496 | let F = { | |
500 | 497 | let e = getInteger(this, "Delay") | |
501 | 498 | if ($isInstanceOf(e, "Int")) | |
502 | 499 | then { | |
503 | 500 | let f = e | |
504 | 501 | f | |
505 | 502 | } | |
506 | 503 | else 0 | |
507 | 504 | } | |
508 | 505 | let B = { | |
509 | 506 | let e = getInteger(this, "HighestPush") | |
510 | 507 | if ($isInstanceOf(e, "Int")) | |
511 | 508 | then { | |
512 | 509 | let f = e | |
513 | 510 | f | |
514 | 511 | } | |
515 | 512 | else 0 | |
516 | 513 | } | |
517 | 514 | let G = { | |
518 | 515 | let e = getInteger(this, "HighestPushAddress") | |
519 | 516 | if ($isInstanceOf(e, "Int")) | |
520 | 517 | then { | |
521 | 518 | let f = e | |
522 | 519 | f | |
523 | 520 | } | |
524 | 521 | else 0 | |
525 | 522 | } | |
526 | 523 | let N = if (if ((height > ((n + F) + s))) | |
527 | 524 | then (B > 0) | |
528 | 525 | else false) | |
529 | 526 | then "" | |
530 | 527 | else G | |
531 | 528 | let O = if (if ((height > ((n + F) + s))) | |
532 | 529 | then (B > 0) | |
533 | 530 | else false) | |
534 | 531 | then height | |
535 | 532 | else n | |
536 | 533 | let b = toBase58String(a.caller.bytes) | |
537 | - | let | |
538 | - | let e = getInteger(this, | |
534 | + | let Q = { | |
535 | + | let e = getInteger(this, W) | |
539 | 536 | if ($isInstanceOf(e, "Int")) | |
540 | 537 | then { | |
541 | 538 | let f = e | |
542 | 539 | f | |
543 | 540 | } | |
544 | 541 | else 0 | |
545 | 542 | } | |
546 | - | let | |
547 | - | let | |
543 | + | let T = (aa - Q) | |
544 | + | let ab = if ((0 > ((Y / 1000) * (1000 - ((1000 * (height - Z)) / (X * 1440)))))) | |
548 | 545 | then (1000 * 100000000) | |
549 | - | else (( | |
550 | - | if ((0 > | |
546 | + | else ((Y / 1000) * (1000 - ((1000 * (height - Z)) / (X * 1440)))) | |
547 | + | if ((0 > Q)) | |
551 | 548 | then throw("Can't withdraw negative amount ") | |
552 | - | else if (if (((1000 * 100000000) > | |
553 | - | then (1 > | |
549 | + | else if (if (((1000 * 100000000) > Y)) | |
550 | + | then (1 > Q) | |
554 | 551 | else false) | |
555 | - | then throw(("No ASIMI reward available, or Not enough Earned Troikan Tokens to do transaction, you need at least 1000 Troikans, you have: " + toString(( | |
556 | - | else ScriptResult(WriteSet([DataEntry( | |
552 | + | then throw(("No ASIMI reward available, or Not enough Earned Troikan Tokens to do transaction, you need at least 1000 Troikans, you have: " + toString((Y / 100000000)))) | |
553 | + | else ScriptResult(WriteSet([DataEntry(W, 0), DataEntry("BigStakerRewardTotal", T), DataEntry(j, (Y - ab)), DataEntry("PrizeHeight", n), DataEntry(V, height), DataEntry("HighestPushAddress", N)]), TransferSet([ScriptTransfer(a.caller, Q, g)])) | |
557 | 554 | } | |
558 | 555 | ||
559 | 556 | ||
560 | 557 | ||
561 | 558 | @Callable(a) | |
562 | - | func HarvestGovernToiken ( | |
559 | + | func HarvestGovernToiken (Q) = { | |
563 | 560 | let g = base58'Hoej8L1ezqQY4Miex4Z4J7uJ33LCdcubV3DsubGHEqWP' | |
564 | 561 | let c = base58'6ZPMzZseuYoMP4ByozJpVxbugXBobwJYF22zVjW5JjN' | |
565 | 562 | let h = assetBalance(this, g) | |
566 | 563 | let j = (toBase58String(a.caller.bytes) + "_Earnings") | |
567 | 564 | let k = { | |
568 | 565 | let e = getInteger(this, "StakeBalance") | |
569 | 566 | if ($isInstanceOf(e, "Int")) | |
570 | 567 | then { | |
571 | 568 | let f = e | |
572 | 569 | f | |
573 | 570 | } | |
574 | 571 | else 0 | |
575 | 572 | } | |
576 | 573 | let l = { | |
577 | 574 | let e = getInteger(this, "FundBox") | |
578 | 575 | if ($isInstanceOf(e, "Int")) | |
579 | 576 | then { | |
580 | 577 | let f = e | |
581 | 578 | f | |
582 | 579 | } | |
583 | 580 | else 0 | |
584 | 581 | } | |
585 | 582 | let m = { | |
586 | 583 | let e = getInteger(this, "PrizeHeight") | |
587 | 584 | if ($isInstanceOf(e, "Int")) | |
588 | 585 | then { | |
589 | 586 | let f = e | |
590 | 587 | f | |
591 | 588 | } | |
592 | 589 | else 0 | |
593 | 590 | } | |
594 | 591 | let n = if (if ((m == 0)) | |
595 | 592 | then (l == 0) | |
596 | 593 | else false) | |
597 | 594 | then 0 | |
598 | 595 | else if (if ((m == 0)) | |
599 | 596 | then (l != 0) | |
600 | 597 | else false) | |
601 | 598 | then height | |
602 | 599 | else if (if ((m != 0)) | |
603 | 600 | then (l != 0) | |
604 | 601 | else false) | |
605 | 602 | then m | |
606 | 603 | else 0 | |
607 | 604 | let b = toBase58String(a.caller.bytes) | |
608 | - | let | |
605 | + | let S = { | |
609 | 606 | let e = getInteger(this, j) | |
610 | 607 | if ($isInstanceOf(e, "Int")) | |
611 | 608 | then { | |
612 | 609 | let f = e | |
613 | 610 | f | |
614 | 611 | } | |
615 | 612 | else 0 | |
616 | 613 | } | |
617 | - | let o = ( | |
618 | - | if ((0 > | |
614 | + | let o = (S - Q) | |
615 | + | if ((0 > Q)) | |
619 | 616 | then throw("Can't withdraw negative amount") | |
620 | 617 | else if ((0 > o)) | |
621 | - | then throw(("User cannot withdraw more than deposited funds, Your deposit is: " + toString(( | |
622 | - | else ScriptResult(WriteSet([DataEntry(j, o), DataEntry("PrizeHeight", n)]), TransferSet([ScriptTransfer(a.caller, | |
618 | + | then throw(("User cannot withdraw more than deposited funds, Your deposit is: " + toString((S / 100000000)))) | |
619 | + | else ScriptResult(WriteSet([DataEntry(j, o), DataEntry("PrizeHeight", n)]), TransferSet([ScriptTransfer(a.caller, Q, c)])) | |
623 | 620 | } | |
624 | 621 | ||
625 | 622 | ||
626 | 623 | ||
627 | 624 | @Callable(a) | |
628 | 625 | func delayprize () = { | |
629 | 626 | let g = base58'Hoej8L1ezqQY4Miex4Z4J7uJ33LCdcubV3DsubGHEqWP' | |
630 | 627 | let c = base58'6ZPMzZseuYoMP4ByozJpVxbugXBobwJYF22zVjW5JjN' | |
631 | - | let | |
628 | + | let ac = (1 * 1) | |
632 | 629 | let s = (1 * 1) | |
633 | 630 | let j = ((toBase58String(a.caller.bytes) + "_") + toBase58String(c)) | |
634 | - | let | |
631 | + | let ad = assetBalance(Address(a.caller.bytes), c) | |
635 | 632 | let h = assetBalance(this, g) | |
636 | 633 | let k = { | |
637 | 634 | let e = getInteger(this, "StakeBalance") | |
638 | 635 | if ($isInstanceOf(e, "Int")) | |
639 | 636 | then { | |
640 | 637 | let f = e | |
641 | 638 | f | |
642 | 639 | } | |
643 | 640 | else 0 | |
644 | 641 | } | |
645 | 642 | let l = { | |
646 | 643 | let e = getInteger(this, "FundBox") | |
647 | 644 | if ($isInstanceOf(e, "Int")) | |
648 | 645 | then { | |
649 | 646 | let f = e | |
650 | 647 | f | |
651 | 648 | } | |
652 | 649 | else 0 | |
653 | 650 | } | |
654 | 651 | let m = { | |
655 | 652 | let e = getInteger(this, "PrizeHeight") | |
656 | 653 | if ($isInstanceOf(e, "Int")) | |
657 | 654 | then { | |
658 | 655 | let f = e | |
659 | 656 | f | |
660 | 657 | } | |
661 | 658 | else 0 | |
662 | 659 | } | |
663 | 660 | let F = { | |
664 | 661 | let e = getInteger(this, "Delay") | |
665 | 662 | if ($isInstanceOf(e, "Int")) | |
666 | 663 | then { | |
667 | 664 | let f = e | |
668 | 665 | f | |
669 | 666 | } | |
670 | 667 | else 0 | |
671 | 668 | } | |
672 | 669 | let n = if (if ((m == 0)) | |
673 | 670 | then (l == 0) | |
674 | 671 | else false) | |
675 | 672 | then 0 | |
676 | 673 | else if (if ((m == 0)) | |
677 | 674 | then (l != 0) | |
678 | 675 | else false) | |
679 | 676 | then height | |
680 | 677 | else if (if ((m != 0)) | |
681 | 678 | then (l != 0) | |
682 | 679 | else false) | |
683 | 680 | then m | |
684 | 681 | else 0 | |
685 | 682 | let B = { | |
686 | 683 | let e = getInteger(this, "HighestPush") | |
687 | 684 | if ($isInstanceOf(e, "Int")) | |
688 | 685 | then { | |
689 | 686 | let f = e | |
690 | 687 | f | |
691 | 688 | } | |
692 | 689 | else 0 | |
693 | 690 | } | |
694 | 691 | let G = { | |
695 | 692 | let e = getInteger(this, "HighestPushAddress") | |
696 | 693 | if ($isInstanceOf(e, "Int")) | |
697 | 694 | then { | |
698 | 695 | let f = e | |
699 | 696 | f | |
700 | 697 | } | |
701 | 698 | else 0 | |
702 | 699 | } | |
703 | 700 | let N = if (if ((height > ((n + F) + s))) | |
704 | 701 | then (B > 0) | |
705 | 702 | else false) | |
706 | 703 | then "" | |
707 | 704 | else G | |
708 | 705 | let O = if (if ((height > ((n + F) + s))) | |
709 | 706 | then (B > 0) | |
710 | 707 | else false) | |
711 | 708 | then height | |
712 | 709 | else n | |
713 | - | let | |
710 | + | let ae = { | |
714 | 711 | let e = getInteger(this, "DelayCost") | |
715 | 712 | if ($isInstanceOf(e, "Int")) | |
716 | 713 | then { | |
717 | 714 | let f = e | |
718 | 715 | f | |
719 | 716 | } | |
720 | 717 | else 10 | |
721 | 718 | } | |
722 | 719 | let w = extract(a.payment) | |
723 | 720 | let K = { | |
724 | 721 | let e = getInteger(this, "DevBox") | |
725 | 722 | if ($isInstanceOf(e, "Int")) | |
726 | 723 | then { | |
727 | 724 | let f = e | |
728 | 725 | f | |
729 | 726 | } | |
730 | 727 | else 0 | |
731 | 728 | } | |
732 | 729 | if (if (isDefined(w.assetId)) | |
733 | 730 | then (extract(w.assetId) == c) | |
734 | 731 | else false) | |
735 | 732 | then if ((l > 0)) | |
736 | 733 | then { | |
737 | - | let | |
734 | + | let Y = w.amount | |
738 | 735 | let d = (K + ((w.amount * 5) / 1000)) | |
739 | - | let | |
736 | + | let af = if ((ae == 0)) | |
740 | 737 | then 1000000000 | |
741 | - | else (2 * | |
742 | - | if (( | |
738 | + | else (2 * ae) | |
739 | + | if ((Y >= af)) | |
743 | 740 | then { | |
744 | - | let M = (F + | |
745 | - | WriteSet([DataEntry("Delay", M), DataEntry("DelayCost", | |
741 | + | let M = (F + ac) | |
742 | + | WriteSet([DataEntry("Delay", M), DataEntry("DelayCost", af), DataEntry("PrizeHeight", O), DataEntry("DevBox", d), DataEntry("HighestPushAddress", N)]) | |
746 | 743 | } | |
747 | - | else throw((("To delay the release of the reward ONE DAY later than expected, you need " + toString( | |
744 | + | else throw((("To delay the release of the reward ONE DAY later than expected, you need " + toString(af)) + "TROIKAs")) | |
748 | 745 | } | |
749 | 746 | else throw("You cannot delay the reward before reward is received! Please wait until a reward is available") | |
750 | 747 | else throw("Can Use only Troika Token to Delay Reward") | |
751 | 748 | } | |
752 | 749 | ||
753 | 750 | ||
754 | 751 | ||
755 | 752 | @Callable(a) | |
756 | 753 | func ClaimPrize () = { | |
757 | 754 | let g = base58'Hoej8L1ezqQY4Miex4Z4J7uJ33LCdcubV3DsubGHEqWP' | |
758 | 755 | let c = base58'6ZPMzZseuYoMP4ByozJpVxbugXBobwJYF22zVjW5JjN' | |
759 | - | let | |
756 | + | let R = (toBase58String(a.caller.bytes) + "_Staking") | |
760 | 757 | let x = (toBase58String(a.caller.bytes) + "_Push") | |
761 | 758 | let D = (toBase58String(a.caller.bytes) + "_UserLastStakeBlock") | |
762 | 759 | let q = 7 | |
763 | 760 | let t = 0 | |
764 | - | let | |
761 | + | let ag = assetBalance(this, c) | |
765 | 762 | let h = assetBalance(this, g) | |
766 | 763 | let k = { | |
767 | 764 | let e = getInteger(this, "StakeBalance") | |
768 | 765 | if ($isInstanceOf(e, "Int")) | |
769 | 766 | then { | |
770 | 767 | let f = e | |
771 | 768 | f | |
772 | 769 | } | |
773 | 770 | else 0 | |
774 | 771 | } | |
775 | 772 | let l = { | |
776 | 773 | let e = getInteger(this, "FundBox") | |
777 | 774 | if ($isInstanceOf(e, "Int")) | |
778 | 775 | then { | |
779 | 776 | let f = e | |
780 | 777 | f | |
781 | 778 | } | |
782 | 779 | else 0 | |
783 | 780 | } | |
784 | - | let | |
781 | + | let ah = { | |
785 | 782 | let e = getInteger(this, x) | |
786 | 783 | if ($isInstanceOf(e, "Int")) | |
787 | 784 | then { | |
788 | 785 | let f = e | |
789 | 786 | f | |
790 | 787 | } | |
791 | 788 | else 0 | |
792 | 789 | } | |
793 | 790 | let I = { | |
794 | 791 | let e = getInteger(this, D) | |
795 | 792 | if ($isInstanceOf(e, "Int")) | |
796 | 793 | then { | |
797 | 794 | let f = e | |
798 | 795 | f | |
799 | 796 | } | |
800 | 797 | else 0 | |
801 | 798 | } | |
802 | - | let | |
803 | - | let e = getInteger(this, | |
799 | + | let ai = { | |
800 | + | let e = getInteger(this, R) | |
804 | 801 | if ($isInstanceOf(e, "Int")) | |
805 | 802 | then { | |
806 | 803 | let f = e | |
807 | 804 | f | |
808 | 805 | } | |
809 | 806 | else 0 | |
810 | 807 | } | |
811 | 808 | let F = { | |
812 | 809 | let e = getInteger(this, "Delay") | |
813 | 810 | if ($isInstanceOf(e, "Int")) | |
814 | 811 | then { | |
815 | 812 | let f = e | |
816 | 813 | f | |
817 | 814 | } | |
818 | 815 | else 0 | |
819 | 816 | } | |
820 | - | let | |
821 | - | let | |
817 | + | let aj = getStringValue(this, "HighestPushAddress") | |
818 | + | let ak = { | |
822 | 819 | let e = getInteger(this, "PrizeHeight") | |
823 | 820 | if ($isInstanceOf(e, "Int")) | |
824 | 821 | then { | |
825 | 822 | let f = e | |
826 | 823 | f | |
827 | 824 | } | |
828 | 825 | else 0 | |
829 | 826 | } | |
830 | 827 | let B = { | |
831 | 828 | let e = getInteger(this, "HighestPush") | |
832 | 829 | if ($isInstanceOf(e, "Int")) | |
833 | 830 | then { | |
834 | 831 | let f = e | |
835 | 832 | f | |
836 | 833 | } | |
837 | 834 | else 0 | |
838 | 835 | } | |
839 | 836 | let z = (toBase58String(a.caller.bytes) + "_refs") | |
840 | 837 | let A = { | |
841 | 838 | let e = getInteger(this, z) | |
842 | 839 | if ($isInstanceOf(e, "Int")) | |
843 | 840 | then { | |
844 | 841 | let f = e | |
845 | 842 | f | |
846 | 843 | } | |
847 | 844 | else 0 | |
848 | 845 | } | |
849 | 846 | if (if ((l == 0)) | |
850 | 847 | then true | |
851 | - | else (10000000000 > | |
848 | + | else (10000000000 > ag)) | |
852 | 849 | then throw("No prize to Claim or Not enough Govern Token en Contract (Min 100 Troika)") | |
853 | - | else if ((toBase58String(a.caller.bytes) != | |
850 | + | else if ((toBase58String(a.caller.bytes) != aj)) | |
854 | 851 | then throw("You are not the winner hence cannot claim the reward ") | |
855 | - | else if (if ((100000000 > | |
852 | + | else if (if ((100000000 > ai)) | |
856 | 853 | then (q > I) | |
857 | 854 | else false) | |
858 | 855 | then throw("You have to Stake ASIMI Token to claim reward ") | |
859 | - | else if (if ((height > ( | |
860 | - | then ( | |
856 | + | else if (if ((height > (ak + F))) | |
857 | + | then (ah >= B) | |
861 | 858 | else false) | |
862 | 859 | then if ((A >= t)) | |
863 | - | then ScriptResult(WriteSet([DataEntry( | |
860 | + | then ScriptResult(WriteSet([DataEntry(aj, l), DataEntry("FundBox", 0), DataEntry("HighestPush", 0), DataEntry(x, 0), DataEntry("HighestPushAddress", ""), DataEntry("PrizeHeight", 0), DataEntry("Delay", 0), DataEntry("DelayCost", 0), DataEntry("LastWinner", aj), DataEntry("LastPrize", l)]), TransferSet([ScriptTransfer(a.caller, l, g), ScriptTransfer(a.caller, 1000000000, c)])) | |
864 | 861 | else throw("You have to have 10 referrals already staking for a minimum of 10 days to Claim the prize") | |
865 | 862 | else throw("You have to be the user with the highest Push and wait till countown is finished, to claim Reward") | |
866 | 863 | } | |
867 | 864 | ||
868 | 865 | ||
869 | 866 | ||
870 | 867 | @Callable(a) | |
871 | - | func Addmentor ( | |
868 | + | func Addmentor (al) = { | |
872 | 869 | let g = base58'Hoej8L1ezqQY4Miex4Z4J7uJ33LCdcubV3DsubGHEqWP' | |
873 | 870 | let c = base58'6ZPMzZseuYoMP4ByozJpVxbugXBobwJYF22zVjW5JjN' | |
874 | - | let | |
875 | - | if (( | |
876 | - | then WriteSet([DataEntry( | |
871 | + | let am = (toBase58String(a.caller.bytes) + "_Mentor") | |
872 | + | if ((al != "")) | |
873 | + | then WriteSet([DataEntry(am, al)]) | |
877 | 874 | else throw("Mentor's Address cannot be empty") | |
878 | 875 | } | |
879 | 876 | ||
880 | 877 |
github/deemru/w8io/169f3d6 187.56 ms ◑