tx · 6LEGexZ295a2dvtvQHhmuiuW1dJ2s87w9aF4LJsBNmBj 3NA8t1L1UnahJyxp7iBk794oaouvPQf5eMA: -0.01400000 Waves 2022.01.13 17:49 [1877325] smart account 3NA8t1L1UnahJyxp7iBk794oaouvPQf5eMA > SELF 0.00000000 Waves
{ "type": 13, "id": "6LEGexZ295a2dvtvQHhmuiuW1dJ2s87w9aF4LJsBNmBj", "fee": 1400000, "feeAssetId": null, "timestamp": 1642085334117, "version": 2, "chainId": 84, "sender": "3NA8t1L1UnahJyxp7iBk794oaouvPQf5eMA", "senderPublicKey": "9zKdtoVXn1kDJXtAR1GAbZ6YD1yCtqUNpb5bJ4dXfbM", "proofs": [ "65iJ5nTQpYCLcvrVRvZ6FN76H4MK11W4MrkcM1noXsxeq6QXnkXfmoo6qMmttvrkhPEgNBg8Fazyib9znBrajQTb", "5UAb9txHJxwovWVFHxAvbftcEdwLPW8qsNHupvn4M1t5WskH6YXgAgCeUiTFn11qD1Jjs4csi5mU8chfzaMZtBZa" ], "script": "base64:AAIFAAAAAAAAADAIAhIDCgEEEgcKBQEBCAgEEgMKAQESAwoBARIAEgMKAQESABIAEgASBQoDBAEIEgAAAABYAAAAAAd2ZXJzaW9uAgAAAAUxLjAuMAAAAAAKa2V5VmVyc2lvbgIAAAAHdmVyc2lvbgAAAAAJa2V5QWN0aXZlAgAAAAZhY3RpdmUAAAAAC2tleUFzc2V0SWRBAgAAAApBX2Fzc2V0X2lkAAAAAAtrZXlBc3NldElkQgIAAAAKQl9hc3NldF9pZAAAAAALa2V5QmFsYW5jZUECAAAAD0FfYXNzZXRfYmFsYW5jZQAAAAALa2V5QmFsYW5jZUICAAAAD0JfYXNzZXRfYmFsYW5jZQAAAAAPa2V5QmFsYW5jZUluaXRBAgAAAAxBX2Fzc2V0X2luaXQAAAAAD2tleUJhbGFuY2VJbml0QgIAAAAMQl9hc3NldF9pbml0AAAAAA9rZXlTaGFyZUFzc2V0SWQCAAAADnNoYXJlX2Fzc2V0X2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YFAAAAD2V4Y2hhbmdlVG9OU0JUcwUAAAANc2lnbmVkQnlBZG1pbgcGBQAAABNtdWx0aVNpZ25lZEJ5QWRtaW5zBQAAABNtdWx0aVNpZ25lZEJ5QWRtaW5zc7lJEA==", "height": 1877325, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: Beu7AHqcjJdx67HX6ASww16VKsbn186yDzMF8n1xXXvG Next: Cd92pMmEnp755EEfVmWMYi7v37MBZne48E5ZgdCm7BPX Diff:
Old | New | Differences | |
---|---|---|---|
101 | 101 | ||
102 | 102 | let V = Address(fromBase58String(valueOrErrorMessage(getString(D, v), "no usdn staking address"))) | |
103 | 103 | ||
104 | - | let W = Address(fromBase58String(valueOrErrorMessage(getString(D, w), "no | |
104 | + | let W = Address(fromBase58String(valueOrErrorMessage(getString(D, w), "no eurn staking address"))) | |
105 | 105 | ||
106 | 106 | let X = Address(base58'3N8PGkzXhbtTvEwEQTtE2xiTJmsDEQ9XfoZ') | |
107 | 107 | ||
596 | 596 | ||
597 | 597 | ||
598 | 598 | @Callable(aC) | |
599 | - | func takeIntoAccountExtraFunds (ch) = valueOrElse(bk(), { | |
600 | - | let ci = (aJ - am) | |
601 | - | let cj = (aK - an) | |
602 | - | let ck = (ci - (if ((ag == unit)) | |
603 | - | then ch | |
604 | - | else 0)) | |
605 | - | let cl = (cj - (if ((ah == unit)) | |
606 | - | then ch | |
607 | - | else 0)) | |
608 | - | if ((aC.caller != this)) | |
609 | - | then throw("Only the DApp itself can call this function") | |
610 | - | else if ((0 > ch)) | |
611 | - | then throw(("Argument 'amountLeave' cannot be negative. Actual: " + toString(ch))) | |
612 | - | else if (if ((0 > ci)) | |
613 | - | then true | |
614 | - | else (0 > cj)) | |
615 | - | then aR("Enroll amount negative") | |
616 | - | else if (if ((0 > ck)) | |
617 | - | then true | |
618 | - | else (0 > cl)) | |
619 | - | then throw("Too large amountLeave") | |
620 | - | else { | |
621 | - | let bJ = if (if (containsElement(U, ae)) | |
622 | - | then (ck > 0) | |
623 | - | else false) | |
624 | - | then invoke(this, "stakeUnstake", [true, ck, ae], nil) | |
625 | - | else 0 | |
626 | - | if ((bJ == bJ)) | |
627 | - | then { | |
628 | - | let bK = if (if (containsElement(U, af)) | |
629 | - | then (cl > 0) | |
630 | - | else false) | |
631 | - | then invoke(this, "stakeUnstake", [true, cl, af], nil) | |
632 | - | else 0 | |
633 | - | if ((bK == bK)) | |
634 | - | then [IntegerEntry(f, (am + ck)), IntegerEntry(g, (an + cl)), IntegerEntry(("last_income_" + ae), ck), IntegerEntry(("last_income_" + af), cl)] | |
635 | - | else throw("Strict value is not equal to itself.") | |
636 | - | } | |
637 | - | else throw("Strict value is not equal to itself.") | |
638 | - | } | |
599 | + | func takeIntoAccountExtraFunds () = valueOrElse(bk(), { | |
600 | + | let ch = (aJ - am) | |
601 | + | let ci = (aK - an) | |
602 | + | if ((aC.caller != O)) | |
603 | + | then throw("Only the wallet can call this function") | |
604 | + | else if (if ((0 > ch)) | |
605 | + | then true | |
606 | + | else (0 > ci)) | |
607 | + | then aR("Enroll amount negative") | |
608 | + | else if (if ((ch == 0)) | |
609 | + | then (ci == 0) | |
610 | + | else false) | |
611 | + | then throw("No money to take") | |
612 | + | else { | |
613 | + | let bJ = if (containsElement(U, ae)) | |
614 | + | then invoke(this, "stakeUnstake", [true, ch, ae], nil) | |
615 | + | else 0 | |
616 | + | if ((bJ == bJ)) | |
617 | + | then { | |
618 | + | let bK = if (containsElement(U, af)) | |
619 | + | then invoke(this, "stakeUnstake", [true, ci, af], nil) | |
620 | + | else 0 | |
621 | + | if ((bK == bK)) | |
622 | + | then [IntegerEntry(f, (am + ch)), IntegerEntry(g, (an + ci)), IntegerEntry(("last_income_" + ae), ch), IntegerEntry(("last_income_" + af), ci)] | |
623 | + | else throw("Strict value is not equal to itself.") | |
624 | + | } | |
625 | + | else throw("Strict value is not equal to itself.") | |
626 | + | } | |
639 | 627 | }) | |
640 | 628 | ||
641 | 629 | ||
642 | 630 | ||
643 | 631 | @Callable(aC) | |
644 | - | func stakeUnstake (aU,aW, | |
632 | + | func stakeUnstake (aU,aW,cj) = if ((aC.caller != this)) | |
645 | 633 | then throw("Only contract itself can invoke this function") | |
646 | - | else if (( | |
634 | + | else if ((cj == "WAVES")) | |
647 | 635 | then { | |
648 | - | let | |
649 | - | let | |
650 | - | let | |
651 | - | let | |
652 | - | then ( | |
653 | - | else ( | |
654 | - | let | |
655 | - | let | |
656 | - | let | |
657 | - | let G = | |
636 | + | let ck = addressFromStringValue(valueOrErrorMessage(getString(D, x), "No leasing pool in oracle")) | |
637 | + | let cl = getBinary(this, z) | |
638 | + | let cm = valueOrElse(getInteger(this, y), 0) | |
639 | + | let cn = if (aU) | |
640 | + | then (cm + aW) | |
641 | + | else (cm - aW) | |
642 | + | let co = Lease(ck, cn) | |
643 | + | let cp = calculateLeaseId(co) | |
644 | + | let cq = [co, BinaryEntry(z, cp), IntegerEntry(y, cn)] | |
645 | + | let G = cl | |
658 | 646 | if ($isInstanceOf(G, "ByteVector")) | |
659 | 647 | then { | |
660 | - | let | |
661 | - | ([LeaseCancel( | |
648 | + | let cr = G | |
649 | + | ([LeaseCancel(cr)] ++ cq) | |
662 | 650 | } | |
663 | - | else | |
651 | + | else cq | |
664 | 652 | } | |
665 | 653 | else { | |
666 | - | let | |
667 | - | let aY = | |
668 | - | let | |
669 | - | let | |
670 | - | let | |
671 | - | let | |
672 | - | if (( | |
654 | + | let cs = aV(aU, aW, fromBase58String(cj)) | |
655 | + | let aY = cs._1 | |
656 | + | let ct = cs._2 | |
657 | + | let cu = cs._3 | |
658 | + | let cv = cs._4 | |
659 | + | let cw = invoke(ct, aY, cu, cv) | |
660 | + | if ((cw == cw)) | |
673 | 661 | then nil | |
674 | 662 | else throw("Strict value is not equal to itself.") | |
675 | 663 | } | |
682 | 670 | else { | |
683 | 671 | let bJ = if (containsElement(U, ae)) | |
684 | 672 | then { | |
685 | - | let | |
686 | - | if (( | |
687 | - | then invoke(this, "stakeUnstake", [true, | |
673 | + | let cx = (am - aD) | |
674 | + | if ((cx > 0)) | |
675 | + | then invoke(this, "stakeUnstake", [true, cx, ae], nil) | |
688 | 676 | else 0 | |
689 | 677 | } | |
690 | 678 | else 0 | |
692 | 680 | then { | |
693 | 681 | let bK = if (containsElement(U, af)) | |
694 | 682 | then { | |
695 | - | let | |
696 | - | if (( | |
697 | - | then invoke(this, "stakeUnstake", [true, | |
683 | + | let cy = (an - aE) | |
684 | + | if ((cy > 0)) | |
685 | + | then invoke(this, "stakeUnstake", [true, cy, af], nil) | |
698 | 686 | else 0 | |
699 | 687 | } | |
700 | 688 | else 0 | |
706 | 694 | }) | |
707 | 695 | ||
708 | 696 | ||
709 | - | @Verifier( | |
710 | - | func | |
711 | - | let | |
712 | - | let | |
697 | + | @Verifier(cz) | |
698 | + | func cA () = { | |
699 | + | let cB = { | |
700 | + | let cC = if (sigVerify(cz.bodyBytes, cz.proofs[0], J)) | |
713 | 701 | then 1 | |
714 | 702 | else 0 | |
715 | - | let | |
703 | + | let cD = if (sigVerify(cz.bodyBytes, cz.proofs[1], K)) | |
716 | 704 | then 1 | |
717 | 705 | else 0 | |
718 | - | let | |
706 | + | let cE = if (sigVerify(cz.bodyBytes, cz.proofs[2], L)) | |
719 | 707 | then 1 | |
720 | 708 | else 0 | |
721 | - | ((( | |
709 | + | (((cC + cD) + cE) >= 2) | |
722 | 710 | } | |
723 | - | let G = | |
711 | + | let G = cz | |
724 | 712 | if ($isInstanceOf(G, "InvokeScriptTransaction")) | |
725 | 713 | then { | |
726 | - | let | |
727 | - | let | |
728 | - | then ( | |
714 | + | let cw = G | |
715 | + | let cF = if ((cw.dApp == this)) | |
716 | + | then (cw.function == "takeIntoAccountExtraFunds") | |
729 | 717 | else false | |
730 | - | let | |
731 | - | then ( | |
718 | + | let cG = if (if (if ((cw.dApp == X)) | |
719 | + | then (cw.function == "exchange") | |
732 | 720 | else false) | |
733 | 721 | then (ag == Q) | |
734 | 722 | else false) | |
735 | 723 | then true | |
736 | 724 | else if (if ((ah == Q)) | |
737 | - | then (size( | |
725 | + | then (size(cw.payments) == 1) | |
738 | 726 | else false) | |
739 | - | then ( | |
727 | + | then (cw.payments[0].assetId == Q) | |
740 | 728 | else false | |
741 | - | let | |
742 | - | then ( | |
729 | + | let cH = if (if (if ((cw.dApp == Y)) | |
730 | + | then (cw.function == "exchange") | |
743 | 731 | else false) | |
744 | 732 | then (ag == R) | |
745 | 733 | else false) | |
746 | 734 | then true | |
747 | 735 | else if (if ((ah == R)) | |
748 | - | then (size( | |
736 | + | then (size(cw.payments) == 1) | |
749 | 737 | else false) | |
750 | - | then ( | |
738 | + | then (cw.payments[0].assetId == Q) | |
751 | 739 | else false | |
752 | - | let | |
740 | + | let cI = if (if (if (sigVerify(cz.bodyBytes, cz.proofs[0], J)) | |
753 | 741 | then true | |
754 | - | else sigVerify( | |
742 | + | else sigVerify(cz.bodyBytes, cz.proofs[0], K)) | |
755 | 743 | then true | |
756 | - | else sigVerify( | |
744 | + | else sigVerify(cz.bodyBytes, cz.proofs[0], L)) | |
757 | 745 | then true | |
758 | - | else sigVerify( | |
759 | - | if (if (if (if ( | |
746 | + | else sigVerify(cz.bodyBytes, cz.proofs[0], N) | |
747 | + | if (if (if (if (cF) | |
760 | 748 | then true | |
761 | - | else | |
749 | + | else cG) | |
762 | 750 | then true | |
763 | - | else | |
764 | - | then | |
751 | + | else cH) | |
752 | + | then cI | |
765 | 753 | else false) | |
766 | 754 | then true | |
767 | - | else | |
755 | + | else cB | |
768 | 756 | } | |
769 | - | else | |
757 | + | else cB | |
770 | 758 | } | |
771 | 759 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = "1.0.0" | |
5 | 5 | ||
6 | 6 | let b = "version" | |
7 | 7 | ||
8 | 8 | let c = "active" | |
9 | 9 | ||
10 | 10 | let d = "A_asset_id" | |
11 | 11 | ||
12 | 12 | let e = "B_asset_id" | |
13 | 13 | ||
14 | 14 | let f = "A_asset_balance" | |
15 | 15 | ||
16 | 16 | let g = "B_asset_balance" | |
17 | 17 | ||
18 | 18 | let h = "A_asset_init" | |
19 | 19 | ||
20 | 20 | let i = "B_asset_init" | |
21 | 21 | ||
22 | 22 | let j = "share_asset_id" | |
23 | 23 | ||
24 | 24 | let k = "share_asset_supply" | |
25 | 25 | ||
26 | 26 | let l = "commission" | |
27 | 27 | ||
28 | 28 | let m = "commission_scale_delimiter" | |
29 | 29 | ||
30 | 30 | let n = "shutdown_cause" | |
31 | 31 | ||
32 | 32 | let o = "first_harvest" | |
33 | 33 | ||
34 | 34 | let p = "first_harvest_height" | |
35 | 35 | ||
36 | 36 | let q = "share_limit_on_first_harvest" | |
37 | 37 | ||
38 | 38 | let r = "base_period" | |
39 | 39 | ||
40 | 40 | let s = "period_length" | |
41 | 41 | ||
42 | 42 | let t = "start_height" | |
43 | 43 | ||
44 | 44 | let u = "first_harvest_height" | |
45 | 45 | ||
46 | 46 | let v = "staking_usdnnsbt_address" | |
47 | 47 | ||
48 | 48 | let w = "staking_eurn_address" | |
49 | 49 | ||
50 | 50 | let x = "leasing_address" | |
51 | 51 | ||
52 | 52 | let y = "leasing_amount" | |
53 | 53 | ||
54 | 54 | let z = "leasing_id" | |
55 | 55 | ||
56 | 56 | let A = "admin_pub_1" | |
57 | 57 | ||
58 | 58 | let B = "admin_pub_2" | |
59 | 59 | ||
60 | 60 | let C = "admin_pub_3" | |
61 | 61 | ||
62 | 62 | let D = Address(base58'3NBBWfzZtZtszaXbitTKnrB2xXwv26Bn7H9') | |
63 | 63 | ||
64 | 64 | func E (F) = { | |
65 | 65 | let G = getString(D, F) | |
66 | 66 | if ($isInstanceOf(G, "String")) | |
67 | 67 | then { | |
68 | 68 | let H = G | |
69 | 69 | fromBase58String(H) | |
70 | 70 | } | |
71 | 71 | else { | |
72 | 72 | let I = G | |
73 | 73 | throw("Admin public key is empty") | |
74 | 74 | } | |
75 | 75 | } | |
76 | 76 | ||
77 | 77 | ||
78 | 78 | let J = E(A) | |
79 | 79 | ||
80 | 80 | let K = E(B) | |
81 | 81 | ||
82 | 82 | let L = E(C) | |
83 | 83 | ||
84 | 84 | let M = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK' | |
85 | 85 | ||
86 | 86 | let N = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK' | |
87 | 87 | ||
88 | 88 | let O = Address(base58'3NAGTtZz6WpupSN89NZD5rMZwwziZEg4Kx4') | |
89 | 89 | ||
90 | 90 | let P = Address(base58'3MrJgdL1GniipErHy44YF9idzLaUL2iX5DQ') | |
91 | 91 | ||
92 | 92 | let Q = base58'8UrfDVd5GreeUwm7uPk7eYz1eMv376kzR52C6sANPkwS' | |
93 | 93 | ||
94 | 94 | let R = base58'36mg8NZTaFRDygiVwb8uBnLR51hetJruUCZcxhaVcHj9' | |
95 | 95 | ||
96 | 96 | let S = base58'2HAJrwa8q4SxBx9cHYaBTQdBjdk5wwqdof7ccpAx2uhZ' | |
97 | 97 | ||
98 | 98 | let T = base58'ECBCkHS68DckpBrzLeoRgYbFg7sCVqR176mPqbXsj9pA' | |
99 | 99 | ||
100 | 100 | let U = ["WAVES", toBase58String(Q), toBase58String(R), toBase58String(T)] | |
101 | 101 | ||
102 | 102 | let V = Address(fromBase58String(valueOrErrorMessage(getString(D, v), "no usdn staking address"))) | |
103 | 103 | ||
104 | - | let W = Address(fromBase58String(valueOrErrorMessage(getString(D, w), "no | |
104 | + | let W = Address(fromBase58String(valueOrErrorMessage(getString(D, w), "no eurn staking address"))) | |
105 | 105 | ||
106 | 106 | let X = Address(base58'3N8PGkzXhbtTvEwEQTtE2xiTJmsDEQ9XfoZ') | |
107 | 107 | ||
108 | 108 | let Y = Address(base58'3MqW1t2cxdYy2emEMk3YtZkRwQPhHaTfWRe') | |
109 | 109 | ||
110 | 110 | let Z = valueOrErrorMessage(getInteger(P, r), "Empty kBasePeriod") | |
111 | 111 | ||
112 | 112 | let aa = valueOrErrorMessage(getInteger(P, t), "Empty kStartHeight") | |
113 | 113 | ||
114 | 114 | let ab = valueOrErrorMessage(getInteger(P, s), "Empty kPeriodLength") | |
115 | 115 | ||
116 | 116 | let ac = ((Z + ((height - aa) / ab)) + 3) | |
117 | 117 | ||
118 | 118 | let ad = getBooleanValue(this, c) | |
119 | 119 | ||
120 | 120 | let ae = getStringValue(this, d) | |
121 | 121 | ||
122 | 122 | let af = getStringValue(this, e) | |
123 | 123 | ||
124 | 124 | let ag = if ((ae == "WAVES")) | |
125 | 125 | then unit | |
126 | 126 | else fromBase58String(ae) | |
127 | 127 | ||
128 | 128 | let ah = if ((af == "WAVES")) | |
129 | 129 | then unit | |
130 | 130 | else fromBase58String(af) | |
131 | 131 | ||
132 | 132 | let ai = { | |
133 | 133 | let G = ag | |
134 | 134 | if ($isInstanceOf(G, "ByteVector")) | |
135 | 135 | then { | |
136 | 136 | let aj = G | |
137 | 137 | value(assetInfo(aj)).name | |
138 | 138 | } | |
139 | 139 | else if ($isInstanceOf(G, "Unit")) | |
140 | 140 | then { | |
141 | 141 | let ak = G | |
142 | 142 | "WAVES" | |
143 | 143 | } | |
144 | 144 | else throw("Match error") | |
145 | 145 | } | |
146 | 146 | ||
147 | 147 | let al = { | |
148 | 148 | let G = ah | |
149 | 149 | if ($isInstanceOf(G, "ByteVector")) | |
150 | 150 | then { | |
151 | 151 | let aj = G | |
152 | 152 | value(assetInfo(aj)).name | |
153 | 153 | } | |
154 | 154 | else if ($isInstanceOf(G, "Unit")) | |
155 | 155 | then { | |
156 | 156 | let ak = G | |
157 | 157 | "WAVES" | |
158 | 158 | } | |
159 | 159 | else throw("Match error") | |
160 | 160 | } | |
161 | 161 | ||
162 | 162 | let am = getIntegerValue(this, f) | |
163 | 163 | ||
164 | 164 | let an = getIntegerValue(this, g) | |
165 | 165 | ||
166 | 166 | let ao = fromBase58String(getStringValue(this, j)) | |
167 | 167 | ||
168 | 168 | let ap = getIntegerValue(this, k) | |
169 | 169 | ||
170 | 170 | let aq = 3000 | |
171 | 171 | ||
172 | 172 | let ar = 1200 | |
173 | 173 | ||
174 | 174 | let as = 1000000 | |
175 | 175 | ||
176 | 176 | let at = 1000 | |
177 | 177 | ||
178 | 178 | let au = 100000000 | |
179 | 179 | ||
180 | 180 | let av = 1000 | |
181 | 181 | ||
182 | 182 | let aw = 8 | |
183 | 183 | ||
184 | 184 | func ax (ay) = { | |
185 | 185 | let G = ay | |
186 | 186 | if ($isInstanceOf(G, "ByteVector")) | |
187 | 187 | then { | |
188 | 188 | let aj = G | |
189 | 189 | assetBalance(this, aj) | |
190 | 190 | } | |
191 | 191 | else if ($isInstanceOf(G, "Unit")) | |
192 | 192 | then { | |
193 | 193 | let ak = G | |
194 | 194 | wavesBalance(this).available | |
195 | 195 | } | |
196 | 196 | else throw("Match error") | |
197 | 197 | } | |
198 | 198 | ||
199 | 199 | ||
200 | 200 | func az (ay) = { | |
201 | 201 | let aA = { | |
202 | 202 | let G = ay | |
203 | 203 | if ($isInstanceOf(G, "ByteVector")) | |
204 | 204 | then { | |
205 | 205 | let aB = G | |
206 | 206 | if (if ((aB == Q)) | |
207 | 207 | then true | |
208 | 208 | else (aB == R)) | |
209 | 209 | then getInteger(V, ((("rpd_balance_" + toBase58String(aB)) + "_") + toString(this))) | |
210 | 210 | else if ((aB == T)) | |
211 | 211 | then getInteger(W, ((("%s%s%s__stakingBalance__" + toBase58String(aB)) + "__") + toString(this))) | |
212 | 212 | else 0 | |
213 | 213 | } | |
214 | 214 | else if ($isInstanceOf(G, "Unit")) | |
215 | 215 | then valueOrElse(getInteger(this, y), 0) | |
216 | 216 | else throw("Match error") | |
217 | 217 | } | |
218 | 218 | let G = aA | |
219 | 219 | if ($isInstanceOf(G, "Int")) | |
220 | 220 | then { | |
221 | 221 | let aC = G | |
222 | 222 | aC | |
223 | 223 | } | |
224 | 224 | else 0 | |
225 | 225 | } | |
226 | 226 | ||
227 | 227 | ||
228 | 228 | let aD = az(ag) | |
229 | 229 | ||
230 | 230 | let aE = az(ah) | |
231 | 231 | ||
232 | 232 | let aF = getIntegerValue(this, h) | |
233 | 233 | ||
234 | 234 | let aG = getIntegerValue(this, i) | |
235 | 235 | ||
236 | 236 | let aH = (am - aD) | |
237 | 237 | ||
238 | 238 | let aI = (an - aE) | |
239 | 239 | ||
240 | 240 | let aJ = (ax(ag) + aD) | |
241 | 241 | ||
242 | 242 | let aK = (ax(ah) + aE) | |
243 | 243 | ||
244 | 244 | let aL = if ((aJ >= am)) | |
245 | 245 | then (aK >= an) | |
246 | 246 | else false | |
247 | 247 | ||
248 | 248 | func aM (ay) = { | |
249 | 249 | let G = ay | |
250 | 250 | if ($isInstanceOf(G, "ByteVector")) | |
251 | 251 | then { | |
252 | 252 | let aj = G | |
253 | 253 | let aN = toBase58String(aj) | |
254 | 254 | let aO = valueOrErrorMessage(assetInfo(aj), (("Asset " + aN) + " doesn't exist")) | |
255 | 255 | $Tuple3(aN, aO.name, aO.decimals) | |
256 | 256 | } | |
257 | 257 | else if ($isInstanceOf(G, "Unit")) | |
258 | 258 | then { | |
259 | 259 | let ak = G | |
260 | 260 | $Tuple3("WAVES", "WAVES", 8) | |
261 | 261 | } | |
262 | 262 | else throw("Match error") | |
263 | 263 | } | |
264 | 264 | ||
265 | 265 | ||
266 | 266 | func aP (aQ) = if ((aQ == "WAVES")) | |
267 | 267 | then $Tuple3("WAVES", "WAVES", 8) | |
268 | 268 | else { | |
269 | 269 | let aN = aQ | |
270 | 270 | let aj = fromBase58String(aQ) | |
271 | 271 | let aO = valueOrErrorMessage(assetInfo(aj), (("Asset " + aN) + " doesn't exist")) | |
272 | 272 | $Tuple3(aN, aO.name, aO.decimals) | |
273 | 273 | } | |
274 | 274 | ||
275 | 275 | ||
276 | 276 | func aR (aS) = [BooleanEntry(c, false), StringEntry(n, aS)] | |
277 | 277 | ||
278 | 278 | ||
279 | 279 | func aT (aU,ay) = if (aU) | |
280 | 280 | then if ((ay == Q)) | |
281 | 281 | then $Tuple2("lockNeutrino", V) | |
282 | 282 | else if ((ay == R)) | |
283 | 283 | then $Tuple2("lockNsbt", V) | |
284 | 284 | else $Tuple2("startStaking", W) | |
285 | 285 | else if ((ay == Q)) | |
286 | 286 | then $Tuple2("unlockNeutrino", V) | |
287 | 287 | else if ((ay == R)) | |
288 | 288 | then $Tuple2("unlockNsbt", V) | |
289 | 289 | else $Tuple2("stopStaking", W) | |
290 | 290 | ||
291 | 291 | ||
292 | 292 | func aV (aU,aW,ay) = if (aU) | |
293 | 293 | then { | |
294 | 294 | let aX = aT(aU, ay) | |
295 | 295 | let aY = aX._1 | |
296 | 296 | let aZ = aX._2 | |
297 | 297 | $Tuple4(aY, aZ, nil, [AttachedPayment(ay, aW)]) | |
298 | 298 | } | |
299 | 299 | else { | |
300 | 300 | let ba = aT(aU, ay) | |
301 | 301 | let aY = ba._1 | |
302 | 302 | let aZ = ba._2 | |
303 | 303 | $Tuple4(aY, aZ, [aW, toBase58String(ay)], nil) | |
304 | 304 | } | |
305 | 305 | ||
306 | 306 | ||
307 | 307 | func bb (bc,bd,be,bf) = { | |
308 | 308 | let bg = fraction(bf, bc, (bc + be)) | |
309 | 309 | let bh = fraction(bg, (as - aq), as) | |
310 | 310 | let bi = fraction(bg, ar, as) | |
311 | 311 | if ((bd > bh)) | |
312 | 312 | then throw(((("Calculated amount to receive " + toString(bh)) + " is less than specified minimum ") + toString(bd))) | |
313 | 313 | else $Tuple3(bg, bh, bi) | |
314 | 314 | } | |
315 | 315 | ||
316 | 316 | ||
317 | 317 | func bj () = aR(((((((((((((((("Suspicious state. Actual balances: " + toString(aJ)) + " ") + ai) + ", ") + toString(aK)) + " ") + al) + ". State: ") + toString(am)) + " ") + ai) + ", ") + toString(an)) + " ") + al)) | |
318 | 318 | ||
319 | 319 | ||
320 | 320 | func bk () = if (ad) | |
321 | 321 | then unit | |
322 | 322 | else throw("DApp is inactive at this moment") | |
323 | 323 | ||
324 | 324 | ||
325 | 325 | @Callable(aC) | |
326 | 326 | func init (bl) = { | |
327 | 327 | let bm = $Tuple2(aC.payments[0].amount, aC.payments[0].assetId) | |
328 | 328 | let bn = bm._1 | |
329 | 329 | let bo = bm._2 | |
330 | 330 | let bp = $Tuple2(aC.payments[1].amount, aC.payments[1].assetId) | |
331 | 331 | let bq = bp._1 | |
332 | 332 | let br = bp._2 | |
333 | 333 | let bs = aM(bo) | |
334 | 334 | let bt = bs._1 | |
335 | 335 | let bu = bs._2 | |
336 | 336 | let bv = bs._3 | |
337 | 337 | let bw = aM(br) | |
338 | 338 | let bx = bw._1 | |
339 | 339 | let by = bw._2 | |
340 | 340 | let bz = bw._3 | |
341 | 341 | if (!(containsElement([J, K, L, N], aC.callerPublicKey))) | |
342 | 342 | then throw("Only admin can call this function") | |
343 | 343 | else if (isDefined(getBoolean(this, c))) | |
344 | 344 | then throw("DApp is already active") | |
345 | 345 | else if ((bo == br)) | |
346 | 346 | then throw("Assets must be different") | |
347 | 347 | else { | |
348 | 348 | let bA = ((("s" + take(bu, 7)) + "_") + take(by, 7)) | |
349 | 349 | let bB = ((((("ShareToken of SwopFi protocol for " + bu) + " and ") + by) + " at address ") + toString(this)) | |
350 | 350 | let bC = ((bv + bz) / 2) | |
351 | 351 | let bD = pow(bn, bv, 5, 1, bv, DOWN) | |
352 | 352 | let bE = pow(bq, bz, 5, 1, bz, DOWN) | |
353 | 353 | let bF = pow(10, 0, bC, 0, 0, DOWN) | |
354 | 354 | let bG = fraction(bD, bE, bF) | |
355 | 355 | let bH = Issue(bA, bB, bG, bC, true) | |
356 | 356 | let bI = calculateAssetId(bH) | |
357 | 357 | let bJ = if (containsElement(U, bt)) | |
358 | 358 | then invoke(this, "stakeUnstake", [true, bn, bt], nil) | |
359 | 359 | else 0 | |
360 | 360 | if ((bJ == bJ)) | |
361 | 361 | then { | |
362 | 362 | let bK = if (containsElement(U, bx)) | |
363 | 363 | then invoke(this, "stakeUnstake", [true, bq, bx], nil) | |
364 | 364 | else 0 | |
365 | 365 | if ((bK == bK)) | |
366 | 366 | then { | |
367 | 367 | let bL = [StringEntry(b, a), BooleanEntry(c, true), StringEntry(d, bt), StringEntry(e, bx), IntegerEntry(f, bn), IntegerEntry(g, bq), IntegerEntry(l, aq), IntegerEntry(m, as), bH, StringEntry(j, toBase58String(bI)), IntegerEntry(k, bG), ScriptTransfer(aC.caller, bG, bI)] | |
368 | 368 | if (bl) | |
369 | 369 | then (bL ++ [BooleanEntry(o, bl), IntegerEntry(p, (aa + (ac * ab)))]) | |
370 | 370 | else bL | |
371 | 371 | } | |
372 | 372 | else throw("Strict value is not equal to itself.") | |
373 | 373 | } | |
374 | 374 | else throw("Strict value is not equal to itself.") | |
375 | 375 | } | |
376 | 376 | } | |
377 | 377 | ||
378 | 378 | ||
379 | 379 | ||
380 | 380 | @Callable(aC) | |
381 | 381 | func initWithInitRatio (bM,bN,ae,af,bl) = { | |
382 | 382 | let bO = aP(ae) | |
383 | 383 | let bt = bO._1 | |
384 | 384 | let bu = bO._2 | |
385 | 385 | let bv = bO._3 | |
386 | 386 | let bP = aP(af) | |
387 | 387 | let bx = bP._1 | |
388 | 388 | let by = bP._2 | |
389 | 389 | let bz = bP._3 | |
390 | 390 | if (!(containsElement([J, K, L, N], aC.callerPublicKey))) | |
391 | 391 | then throw("Only admin can call this function") | |
392 | 392 | else if (isDefined(getBoolean(this, c))) | |
393 | 393 | then throw("DApp is already active") | |
394 | 394 | else if ((ae == af)) | |
395 | 395 | then throw("Assets must be different") | |
396 | 396 | else { | |
397 | 397 | let bA = ((("s" + take(bu, 7)) + "_") + take(by, 7)) | |
398 | 398 | let bB = ((((("ShareToken of SwopFi protocol for " + bu) + " and ") + by) + " at address ") + toString(this)) | |
399 | 399 | let bC = ((bv + bz) / 2) | |
400 | 400 | let bG = 0 | |
401 | 401 | let bH = Issue(bA, bB, bG, bC, true) | |
402 | 402 | let bI = calculateAssetId(bH) | |
403 | 403 | let bL = [StringEntry(b, a), BooleanEntry(c, true), StringEntry(d, bt), StringEntry(e, bx), IntegerEntry(h, bM), IntegerEntry(i, bN), IntegerEntry(f, 0), IntegerEntry(g, 0), IntegerEntry(l, aq), IntegerEntry(m, as), bH, StringEntry(j, toBase58String(bI)), IntegerEntry(k, bG)] | |
404 | 404 | if (bl) | |
405 | 405 | then (bL ++ [BooleanEntry(o, bl), IntegerEntry(p, (aa + (ac * ab)))]) | |
406 | 406 | else bL | |
407 | 407 | } | |
408 | 408 | } | |
409 | 409 | ||
410 | 410 | ||
411 | 411 | ||
412 | 412 | @Callable(aC) | |
413 | 413 | func keepLimitForFirstHarvest (bQ) = valueOrElse(bk(), if (!(containsElement([J, K, L, N], aC.callerPublicKey))) | |
414 | 414 | then throw("Only admin can call this function") | |
415 | 415 | else [IntegerEntry(q, bQ)]) | |
416 | 416 | ||
417 | 417 | ||
418 | 418 | ||
419 | 419 | @Callable(aC) | |
420 | 420 | func replenishWithTwoTokens (bR) = valueOrElse(bk(), { | |
421 | 421 | let bo = aC.payments[0].assetId | |
422 | 422 | let br = aC.payments[1].assetId | |
423 | 423 | let bn = aC.payments[0].amount | |
424 | 424 | let bq = aC.payments[1].amount | |
425 | 425 | let bS = aM(bo) | |
426 | 426 | let bt = bS._1 | |
427 | 427 | let bu = bS._2 | |
428 | 428 | let bv = bS._3 | |
429 | 429 | let bT = aM(br) | |
430 | 430 | let bx = bT._1 | |
431 | 431 | let by = bT._2 | |
432 | 432 | let bz = bT._3 | |
433 | 433 | let bU = if (if ((am == 0)) | |
434 | 434 | then (an == 0) | |
435 | 435 | else false) | |
436 | 436 | then true | |
437 | 437 | else false | |
438 | 438 | let bV = if (bU) | |
439 | 439 | then fraction(fraction(aF, au, bn), at, fraction(aG, au, bq)) | |
440 | 440 | else fraction(fraction(am, au, bn), at, fraction(an, au, bq)) | |
441 | 441 | let bC = ((bv + bz) / 2) | |
442 | 442 | let bW = if (bU) | |
443 | 443 | then fraction(pow(bn, bv, 5, 1, bv, DOWN), pow(bq, bz, 5, 1, bz, DOWN), pow(10, 0, bC, 0, 0, DOWN)) | |
444 | 444 | else fraction(min([fraction(bn, au, am), fraction(bq, au, an)]), ap, au) | |
445 | 445 | if (if ((0 > bR)) | |
446 | 446 | then true | |
447 | 447 | else (bR > av)) | |
448 | 448 | then throw(((("Slippage tolerance must be between 0 and " + toString(av)) + " inclusively. Actual: ") + toString(bR))) | |
449 | 449 | else if ((size(aC.payments) != 2)) | |
450 | 450 | then throw("Two attached assets expected") | |
451 | 451 | else if (if ((bo != ag)) | |
452 | 452 | then true | |
453 | 453 | else (br != ah)) | |
454 | 454 | then throw(((("Incorrect assets attached. Expected: " + ae) + " and ") + af)) | |
455 | 455 | else if (if ((((at * (av - bR)) / av) > bV)) | |
456 | 456 | then true | |
457 | 457 | else (bV > ((at * (av + bR)) / av))) | |
458 | 458 | then throw("Incorrect assets amount: amounts must have the contract ratio") | |
459 | 459 | else if ((bW == 0)) | |
460 | 460 | then throw("Too small amount to replenish") | |
461 | 461 | else if (!(aL)) | |
462 | 462 | then ([ScriptTransfer(aC.caller, bn, bo), ScriptTransfer(aC.caller, bq, br)] ++ bj()) | |
463 | 463 | else { | |
464 | 464 | let bJ = if (containsElement(U, bt)) | |
465 | 465 | then invoke(this, "stakeUnstake", [true, bn, bt], nil) | |
466 | 466 | else 0 | |
467 | 467 | if ((bJ == bJ)) | |
468 | 468 | then { | |
469 | 469 | let bK = if (containsElement(U, bx)) | |
470 | 470 | then invoke(this, "stakeUnstake", [true, bq, bx], nil) | |
471 | 471 | else 0 | |
472 | 472 | if ((bK == bK)) | |
473 | 473 | then [Reissue(ao, bW, true), IntegerEntry(f, (am + bn)), IntegerEntry(g, (an + bq)), IntegerEntry(k, (ap + bW)), ScriptTransfer(aC.caller, bW, ao)] | |
474 | 474 | else throw("Strict value is not equal to itself.") | |
475 | 475 | } | |
476 | 476 | else throw("Strict value is not equal to itself.") | |
477 | 477 | } | |
478 | 478 | }) | |
479 | 479 | ||
480 | 480 | ||
481 | 481 | ||
482 | 482 | @Callable(aC) | |
483 | 483 | func withdraw () = valueOrElse(bk(), { | |
484 | 484 | let bX = $Tuple2(aC.payments[0].amount, aC.payments[0].assetId) | |
485 | 485 | let bc = bX._1 | |
486 | 486 | let bY = bX._2 | |
487 | 487 | let bZ = fraction(bc, am, ap) | |
488 | 488 | let ca = fraction(bc, an, ap) | |
489 | 489 | if ((size(aC.payments) != 1)) | |
490 | 490 | then throw("One attached payment expected") | |
491 | 491 | else if ((bY != ao)) | |
492 | 492 | then throw(("Incorrect asset attached. Expected: " + toBase58String(ao))) | |
493 | 493 | else if (!(aL)) | |
494 | 494 | then ([ScriptTransfer(aC.caller, bc, bY)] ++ bj()) | |
495 | 495 | else { | |
496 | 496 | let bJ = if (containsElement(U, ae)) | |
497 | 497 | then invoke(this, "stakeUnstake", [false, bZ, ae], nil) | |
498 | 498 | else 0 | |
499 | 499 | if ((bJ == bJ)) | |
500 | 500 | then { | |
501 | 501 | let bK = if (containsElement(U, af)) | |
502 | 502 | then invoke(this, "stakeUnstake", [false, ca, af], nil) | |
503 | 503 | else 0 | |
504 | 504 | if ((bK == bK)) | |
505 | 505 | then [IntegerEntry(f, (am - bZ)), IntegerEntry(g, (an - ca)), IntegerEntry(k, (ap - bc)), Burn(ao, bc), ScriptTransfer(aC.caller, bZ, ag), ScriptTransfer(aC.caller, ca, ah)] | |
506 | 506 | else throw("Strict value is not equal to itself.") | |
507 | 507 | } | |
508 | 508 | else throw("Strict value is not equal to itself.") | |
509 | 509 | } | |
510 | 510 | }) | |
511 | 511 | ||
512 | 512 | ||
513 | 513 | ||
514 | 514 | @Callable(aC) | |
515 | 515 | func exchange (bd) = valueOrElse(bk(), { | |
516 | 516 | let cb = $Tuple2(aC.payments[0].amount, aC.payments[0].assetId) | |
517 | 517 | let bc = cb._1 | |
518 | 518 | let bY = cb._2 | |
519 | 519 | if (if ((am == 0)) | |
520 | 520 | then true | |
521 | 521 | else (an == 0)) | |
522 | 522 | then throw("Can't exchange with zero balance") | |
523 | 523 | else if ((0 >= bd)) | |
524 | 524 | then throw(("Minimal amount to receive must be positive. Actual: " + toString(bd))) | |
525 | 525 | else if ((size(aC.payments) != 1)) | |
526 | 526 | then throw("One attached payment expected") | |
527 | 527 | else if (!(aL)) | |
528 | 528 | then ([ScriptTransfer(aC.caller, bc, bY)] ++ bj()) | |
529 | 529 | else if ((bY == ag)) | |
530 | 530 | then { | |
531 | 531 | let cc = ah | |
532 | 532 | let cd = bb(bc, bd, am, an) | |
533 | 533 | let bg = cd._1 | |
534 | 534 | let bh = cd._2 | |
535 | 535 | let bi = cd._3 | |
536 | 536 | let ce = (am + bc) | |
537 | 537 | let cf = ((an - bh) - bi) | |
538 | 538 | let bJ = if (containsElement(U, ae)) | |
539 | 539 | then invoke(this, "stakeUnstake", [true, bc, ae], nil) | |
540 | 540 | else 0 | |
541 | 541 | if ((bJ == bJ)) | |
542 | 542 | then { | |
543 | 543 | let bK = if (containsElement(U, af)) | |
544 | 544 | then invoke(this, "stakeUnstake", [false, (bh + bi), af], nil) | |
545 | 545 | else 0 | |
546 | 546 | if ((bK == bK)) | |
547 | 547 | then [IntegerEntry(f, ce), IntegerEntry(g, cf), ScriptTransfer(aC.caller, bh, cc), ScriptTransfer(O, bi, cc)] | |
548 | 548 | else throw("Strict value is not equal to itself.") | |
549 | 549 | } | |
550 | 550 | else throw("Strict value is not equal to itself.") | |
551 | 551 | } | |
552 | 552 | else if ((bY == ah)) | |
553 | 553 | then { | |
554 | 554 | let cc = ag | |
555 | 555 | let cg = bb(bc, bd, an, am) | |
556 | 556 | let bg = cg._1 | |
557 | 557 | let bh = cg._2 | |
558 | 558 | let bi = cg._3 | |
559 | 559 | let ce = ((am - bh) - bi) | |
560 | 560 | let cf = (an + bc) | |
561 | 561 | let bJ = if (containsElement(U, ae)) | |
562 | 562 | then invoke(this, "stakeUnstake", [false, (bh + bi), ae], nil) | |
563 | 563 | else 0 | |
564 | 564 | if ((bJ == bJ)) | |
565 | 565 | then { | |
566 | 566 | let bK = if (containsElement(U, af)) | |
567 | 567 | then invoke(this, "stakeUnstake", [true, bc, af], nil) | |
568 | 568 | else 0 | |
569 | 569 | if ((bK == bK)) | |
570 | 570 | then [IntegerEntry(f, ce), IntegerEntry(g, cf), ScriptTransfer(aC.caller, bh, cc), ScriptTransfer(O, bi, cc)] | |
571 | 571 | else throw("Strict value is not equal to itself.") | |
572 | 572 | } | |
573 | 573 | else throw("Strict value is not equal to itself.") | |
574 | 574 | } | |
575 | 575 | else throw(((("Incorrect asset attached. Expected: " + ae) + " or ") + af)) | |
576 | 576 | }) | |
577 | 577 | ||
578 | 578 | ||
579 | 579 | ||
580 | 580 | @Callable(aC) | |
581 | 581 | func shutdown () = if (!(ad)) | |
582 | 582 | then throw(("DApp is already suspended. Cause: " + valueOrElse(getString(this, n), "the cause wasn't specified"))) | |
583 | 583 | else if (!(containsElement([J, K, L, M], aC.callerPublicKey))) | |
584 | 584 | then throw("Only admin can call this function") | |
585 | 585 | else aR("Paused by admin") | |
586 | 586 | ||
587 | 587 | ||
588 | 588 | ||
589 | 589 | @Callable(aC) | |
590 | 590 | func activate () = if (ad) | |
591 | 591 | then throw("DApp is already active") | |
592 | 592 | else if (!(containsElement([J, K, L, M], aC.callerPublicKey))) | |
593 | 593 | then throw("Only admin can call this function") | |
594 | 594 | else [BooleanEntry(c, true), DeleteEntry(n)] | |
595 | 595 | ||
596 | 596 | ||
597 | 597 | ||
598 | 598 | @Callable(aC) | |
599 | - | func takeIntoAccountExtraFunds (ch) = valueOrElse(bk(), { | |
600 | - | let ci = (aJ - am) | |
601 | - | let cj = (aK - an) | |
602 | - | let ck = (ci - (if ((ag == unit)) | |
603 | - | then ch | |
604 | - | else 0)) | |
605 | - | let cl = (cj - (if ((ah == unit)) | |
606 | - | then ch | |
607 | - | else 0)) | |
608 | - | if ((aC.caller != this)) | |
609 | - | then throw("Only the DApp itself can call this function") | |
610 | - | else if ((0 > ch)) | |
611 | - | then throw(("Argument 'amountLeave' cannot be negative. Actual: " + toString(ch))) | |
612 | - | else if (if ((0 > ci)) | |
613 | - | then true | |
614 | - | else (0 > cj)) | |
615 | - | then aR("Enroll amount negative") | |
616 | - | else if (if ((0 > ck)) | |
617 | - | then true | |
618 | - | else (0 > cl)) | |
619 | - | then throw("Too large amountLeave") | |
620 | - | else { | |
621 | - | let bJ = if (if (containsElement(U, ae)) | |
622 | - | then (ck > 0) | |
623 | - | else false) | |
624 | - | then invoke(this, "stakeUnstake", [true, ck, ae], nil) | |
625 | - | else 0 | |
626 | - | if ((bJ == bJ)) | |
627 | - | then { | |
628 | - | let bK = if (if (containsElement(U, af)) | |
629 | - | then (cl > 0) | |
630 | - | else false) | |
631 | - | then invoke(this, "stakeUnstake", [true, cl, af], nil) | |
632 | - | else 0 | |
633 | - | if ((bK == bK)) | |
634 | - | then [IntegerEntry(f, (am + ck)), IntegerEntry(g, (an + cl)), IntegerEntry(("last_income_" + ae), ck), IntegerEntry(("last_income_" + af), cl)] | |
635 | - | else throw("Strict value is not equal to itself.") | |
636 | - | } | |
637 | - | else throw("Strict value is not equal to itself.") | |
638 | - | } | |
599 | + | func takeIntoAccountExtraFunds () = valueOrElse(bk(), { | |
600 | + | let ch = (aJ - am) | |
601 | + | let ci = (aK - an) | |
602 | + | if ((aC.caller != O)) | |
603 | + | then throw("Only the wallet can call this function") | |
604 | + | else if (if ((0 > ch)) | |
605 | + | then true | |
606 | + | else (0 > ci)) | |
607 | + | then aR("Enroll amount negative") | |
608 | + | else if (if ((ch == 0)) | |
609 | + | then (ci == 0) | |
610 | + | else false) | |
611 | + | then throw("No money to take") | |
612 | + | else { | |
613 | + | let bJ = if (containsElement(U, ae)) | |
614 | + | then invoke(this, "stakeUnstake", [true, ch, ae], nil) | |
615 | + | else 0 | |
616 | + | if ((bJ == bJ)) | |
617 | + | then { | |
618 | + | let bK = if (containsElement(U, af)) | |
619 | + | then invoke(this, "stakeUnstake", [true, ci, af], nil) | |
620 | + | else 0 | |
621 | + | if ((bK == bK)) | |
622 | + | then [IntegerEntry(f, (am + ch)), IntegerEntry(g, (an + ci)), IntegerEntry(("last_income_" + ae), ch), IntegerEntry(("last_income_" + af), ci)] | |
623 | + | else throw("Strict value is not equal to itself.") | |
624 | + | } | |
625 | + | else throw("Strict value is not equal to itself.") | |
626 | + | } | |
639 | 627 | }) | |
640 | 628 | ||
641 | 629 | ||
642 | 630 | ||
643 | 631 | @Callable(aC) | |
644 | - | func stakeUnstake (aU,aW, | |
632 | + | func stakeUnstake (aU,aW,cj) = if ((aC.caller != this)) | |
645 | 633 | then throw("Only contract itself can invoke this function") | |
646 | - | else if (( | |
634 | + | else if ((cj == "WAVES")) | |
647 | 635 | then { | |
648 | - | let | |
649 | - | let | |
650 | - | let | |
651 | - | let | |
652 | - | then ( | |
653 | - | else ( | |
654 | - | let | |
655 | - | let | |
656 | - | let | |
657 | - | let G = | |
636 | + | let ck = addressFromStringValue(valueOrErrorMessage(getString(D, x), "No leasing pool in oracle")) | |
637 | + | let cl = getBinary(this, z) | |
638 | + | let cm = valueOrElse(getInteger(this, y), 0) | |
639 | + | let cn = if (aU) | |
640 | + | then (cm + aW) | |
641 | + | else (cm - aW) | |
642 | + | let co = Lease(ck, cn) | |
643 | + | let cp = calculateLeaseId(co) | |
644 | + | let cq = [co, BinaryEntry(z, cp), IntegerEntry(y, cn)] | |
645 | + | let G = cl | |
658 | 646 | if ($isInstanceOf(G, "ByteVector")) | |
659 | 647 | then { | |
660 | - | let | |
661 | - | ([LeaseCancel( | |
648 | + | let cr = G | |
649 | + | ([LeaseCancel(cr)] ++ cq) | |
662 | 650 | } | |
663 | - | else | |
651 | + | else cq | |
664 | 652 | } | |
665 | 653 | else { | |
666 | - | let | |
667 | - | let aY = | |
668 | - | let | |
669 | - | let | |
670 | - | let | |
671 | - | let | |
672 | - | if (( | |
654 | + | let cs = aV(aU, aW, fromBase58String(cj)) | |
655 | + | let aY = cs._1 | |
656 | + | let ct = cs._2 | |
657 | + | let cu = cs._3 | |
658 | + | let cv = cs._4 | |
659 | + | let cw = invoke(ct, aY, cu, cv) | |
660 | + | if ((cw == cw)) | |
673 | 661 | then nil | |
674 | 662 | else throw("Strict value is not equal to itself.") | |
675 | 663 | } | |
676 | 664 | ||
677 | 665 | ||
678 | 666 | ||
679 | 667 | @Callable(aC) | |
680 | 668 | func stakeAll () = valueOrElse(bk(), if (!(containsElement([J, K, L, M], aC.callerPublicKey))) | |
681 | 669 | then throw("Only admin can call this function") | |
682 | 670 | else { | |
683 | 671 | let bJ = if (containsElement(U, ae)) | |
684 | 672 | then { | |
685 | - | let | |
686 | - | if (( | |
687 | - | then invoke(this, "stakeUnstake", [true, | |
673 | + | let cx = (am - aD) | |
674 | + | if ((cx > 0)) | |
675 | + | then invoke(this, "stakeUnstake", [true, cx, ae], nil) | |
688 | 676 | else 0 | |
689 | 677 | } | |
690 | 678 | else 0 | |
691 | 679 | if ((bJ == bJ)) | |
692 | 680 | then { | |
693 | 681 | let bK = if (containsElement(U, af)) | |
694 | 682 | then { | |
695 | - | let | |
696 | - | if (( | |
697 | - | then invoke(this, "stakeUnstake", [true, | |
683 | + | let cy = (an - aE) | |
684 | + | if ((cy > 0)) | |
685 | + | then invoke(this, "stakeUnstake", [true, cy, af], nil) | |
698 | 686 | else 0 | |
699 | 687 | } | |
700 | 688 | else 0 | |
701 | 689 | if ((bK == bK)) | |
702 | 690 | then nil | |
703 | 691 | else throw("Strict value is not equal to itself.") | |
704 | 692 | } | |
705 | 693 | else throw("Strict value is not equal to itself.") | |
706 | 694 | }) | |
707 | 695 | ||
708 | 696 | ||
709 | - | @Verifier( | |
710 | - | func | |
711 | - | let | |
712 | - | let | |
697 | + | @Verifier(cz) | |
698 | + | func cA () = { | |
699 | + | let cB = { | |
700 | + | let cC = if (sigVerify(cz.bodyBytes, cz.proofs[0], J)) | |
713 | 701 | then 1 | |
714 | 702 | else 0 | |
715 | - | let | |
703 | + | let cD = if (sigVerify(cz.bodyBytes, cz.proofs[1], K)) | |
716 | 704 | then 1 | |
717 | 705 | else 0 | |
718 | - | let | |
706 | + | let cE = if (sigVerify(cz.bodyBytes, cz.proofs[2], L)) | |
719 | 707 | then 1 | |
720 | 708 | else 0 | |
721 | - | ((( | |
709 | + | (((cC + cD) + cE) >= 2) | |
722 | 710 | } | |
723 | - | let G = | |
711 | + | let G = cz | |
724 | 712 | if ($isInstanceOf(G, "InvokeScriptTransaction")) | |
725 | 713 | then { | |
726 | - | let | |
727 | - | let | |
728 | - | then ( | |
714 | + | let cw = G | |
715 | + | let cF = if ((cw.dApp == this)) | |
716 | + | then (cw.function == "takeIntoAccountExtraFunds") | |
729 | 717 | else false | |
730 | - | let | |
731 | - | then ( | |
718 | + | let cG = if (if (if ((cw.dApp == X)) | |
719 | + | then (cw.function == "exchange") | |
732 | 720 | else false) | |
733 | 721 | then (ag == Q) | |
734 | 722 | else false) | |
735 | 723 | then true | |
736 | 724 | else if (if ((ah == Q)) | |
737 | - | then (size( | |
725 | + | then (size(cw.payments) == 1) | |
738 | 726 | else false) | |
739 | - | then ( | |
727 | + | then (cw.payments[0].assetId == Q) | |
740 | 728 | else false | |
741 | - | let | |
742 | - | then ( | |
729 | + | let cH = if (if (if ((cw.dApp == Y)) | |
730 | + | then (cw.function == "exchange") | |
743 | 731 | else false) | |
744 | 732 | then (ag == R) | |
745 | 733 | else false) | |
746 | 734 | then true | |
747 | 735 | else if (if ((ah == R)) | |
748 | - | then (size( | |
736 | + | then (size(cw.payments) == 1) | |
749 | 737 | else false) | |
750 | - | then ( | |
738 | + | then (cw.payments[0].assetId == Q) | |
751 | 739 | else false | |
752 | - | let | |
740 | + | let cI = if (if (if (sigVerify(cz.bodyBytes, cz.proofs[0], J)) | |
753 | 741 | then true | |
754 | - | else sigVerify( | |
742 | + | else sigVerify(cz.bodyBytes, cz.proofs[0], K)) | |
755 | 743 | then true | |
756 | - | else sigVerify( | |
744 | + | else sigVerify(cz.bodyBytes, cz.proofs[0], L)) | |
757 | 745 | then true | |
758 | - | else sigVerify( | |
759 | - | if (if (if (if ( | |
746 | + | else sigVerify(cz.bodyBytes, cz.proofs[0], N) | |
747 | + | if (if (if (if (cF) | |
760 | 748 | then true | |
761 | - | else | |
749 | + | else cG) | |
762 | 750 | then true | |
763 | - | else | |
764 | - | then | |
751 | + | else cH) | |
752 | + | then cI | |
765 | 753 | else false) | |
766 | 754 | then true | |
767 | - | else | |
755 | + | else cB | |
768 | 756 | } | |
769 | - | else | |
757 | + | else cB | |
770 | 758 | } | |
771 | 759 |
github/deemru/w8io/169f3d6 95.53 ms ◑