tx · 4JUY7BUs9ztdJthkPXiMsMDdWGhBfiDsCWKbcSHjNbVa 3Mp5kisFrqESzrXxAMEPk2k69zpeF41czEE: -0.02900000 Waves 2022.09.29 15:14 [2250383] smart account 3Mp5kisFrqESzrXxAMEPk2k69zpeF41czEE > SELF 0.00000000 Waves
{ "type": 13, "id": "4JUY7BUs9ztdJthkPXiMsMDdWGhBfiDsCWKbcSHjNbVa", "fee": 2900000, "feeAssetId": null, "timestamp": 1664453769122, "version": 1, "sender": "3Mp5kisFrqESzrXxAMEPk2k69zpeF41czEE", "senderPublicKey": "G349Uq3FTox7dRNLeAfAQeoACvwZ9iEnVSaHcEYn6j8J", "proofs": [ "21p5NfpwMv2siKZyQh7EmsCt9maydxrYNs6rSWJ1678GSqH2x26dz2mbCk61S4T94z2GYcjNvEXxacJNbn3YtFUJ" ], "script": "base64:BgJtCAISBAoCCAESABIDCgEBEgASABIAEgMKAQgSAwoBCBIDCgEIEgUKAwEBARIFCgMBAQESABIDCgEIEgcKBQgICAgIEgoKCAgICAgICAgIEgoKCAgICAgICAgIEgoKCAgICAgICAgIEgMKAQgSAE8AA1NFUAICX18ABVNDQUxFAOgHAAVNVUxUOACAwtcvAAp6ZXJvQmlnSW50CQC2AgEAAAAUcHJvY2Vzc2luZ1N0YWdlVG90YWwAAAAVcHJvY2Vzc2luZ1N0YWdlU2hhcmVzAAEBDmdldE51bWJlckJ5S2V5AQNrZXkJAQt2YWx1ZU9yRWxzZQIJAJoIAgUEdGhpcwUDa2V5AAABD2dldE51bWJlck9yRmFpbAEDa2V5CQETdmFsdWVPckVycm9yTWVzc2FnZQIJAJoIAgUEdGhpcwUDa2V5CQCsAgIJAKwCAgIPbWFuZGF0b3J5IHRoaXMuBQNrZXkCDyBpcyBub3QgZGVmaW5lZAEOZ2V0U3RyaW5nQnlLZXkBA2tleQkBC3ZhbHVlT3JFbHNlAgkAnQgCBQR0aGlzBQNrZXkCAAEPZ2V0U3RyaW5nT3JGYWlsAQNrZXkJARN2YW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NYXRjaCBlcnJvcgkA9AMDCAUCdHgJYm9keUJ5dGVzCQCRAwIIBQJ0eAZwcm9vZnMAAAUPdGFyZ2V0UHVibGljS2V5dc8QTw==", "chainId": 84, "height": 2250383, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: D7JRtBeN5Acyxr3BQ1AHamq57fMFb7m4UGkHRrgSXboB Next: ebqeJFZUEpJvxwjUu8Sv8GopsrLatfHcE5CNqjBoBco Diff:
Old | New | Differences | |
---|---|---|---|
629 | 629 | ||
630 | 630 | ||
631 | 631 | @Callable(aI) | |
632 | - | func | |
632 | + | func calcSwapXToYOld (cT,cU,cV,cW,cX,cY,cZ,da) = { | |
633 | 633 | let cu = toBigInt(2) | |
634 | 634 | let cv = parseBigIntValue(cY) | |
635 | 635 | let cw = parseBigIntValue(cZ) | |
645 | 645 | }) | |
646 | 646 | else parseBigIntValue(cW) | |
647 | 647 | let cz = (parseBigIntValue(cX) * cv) | |
648 | - | let dd = parseBigIntValue(cT) | |
649 | 648 | let cA = (cz * cu) | |
650 | 649 | let cB = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17] | |
651 | 650 | func cC (cD,cE) = { | |
662 | 661 | let dq = { | |
663 | 662 | let cL = cB | |
664 | 663 | let cM = size(cL) | |
665 | - | let cN = $Tuple2( | |
664 | + | let cN = $Tuple2(cG, unit) | |
666 | 665 | func cO (cP,cQ) = if ((cQ >= cM)) | |
667 | 666 | then cP | |
668 | 667 | else cC(cP, cL[cQ]) | |
675 | 674 | } | |
676 | 675 | let dp = dq._1 | |
677 | 676 | let do = dq._2 | |
678 | - | let | |
679 | - | if ((cw >= | |
677 | + | let dr = n((dp - value(do))) | |
678 | + | if ((cw >= dr)) | |
680 | 679 | then $Tuple2(nil, toInt(dp)) | |
681 | - | else throw(((((("Y calculation error, yDiff = " + toString( | |
680 | + | else throw(((((("Y calculation error, yDiff = " + toString(dr)) + ", yNext = ") + toString(dp)) + ", yPrev = ") + toString(value(do)))) | |
682 | 681 | } | |
683 | 682 | ||
684 | 683 | ||
685 | 684 | ||
686 | 685 | @Callable(aI) | |
687 | - | func setManager (dr) = { | |
688 | - | let ds = aR(aI) | |
689 | - | if ((ds == ds)) | |
686 | + | func calcSwapXToY (cT,cU,cV,cW,cX,cY,cZ,da) = { | |
687 | + | let cu = toBigInt(2) | |
688 | + | let cv = parseBigIntValue(cY) | |
689 | + | let cw = parseBigIntValue(cZ) | |
690 | + | let ds = parseBigIntValue(cU) | |
691 | + | let dc = parseBigIntValue(cV) | |
692 | + | let df = parseBigIntValue(cT) | |
693 | + | let db = (ds + df) | |
694 | + | let dt = if ((cW == "")) | |
695 | + | then parseBigIntValue({ | |
696 | + | let bN = invoke(this, "calcD", [cU, cV, cX, cY, da], nil) | |
697 | + | if ($isInstanceOf(bN, "String")) | |
698 | + | then bN | |
699 | + | else throw(($getType(invoke(this, "calcD", [cU, cV, cX, cY, da], nil)) + " couldn't be cast to String")) | |
700 | + | }) | |
701 | + | else parseBigIntValue(cW) | |
702 | + | let cz = (parseBigIntValue(cX) * cv) | |
703 | + | let dd = (db + dc) | |
704 | + | let cA = (cz * cu) | |
705 | + | let du = fraction((((dt * dt) * dt) * dt), cv, (((((db * dc) * cu) * cu) * cu) * cA)) | |
706 | + | let bc = (dd + ((dt * cv) / cA)) | |
707 | + | let cB = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15] | |
708 | + | func cC (cD,cE) = { | |
709 | + | let dv = cD | |
710 | + | let dn = dv._1 | |
711 | + | let do = dv._2 | |
712 | + | let dp = (((dn * dn) + du) / (((toBigInt(2) * dn) + bc) - dt)) | |
713 | + | $Tuple2(dp, dn) | |
714 | + | } | |
715 | + | ||
716 | + | let dw = { | |
717 | + | let cL = cB | |
718 | + | let cM = size(cL) | |
719 | + | let cN = $Tuple2(dt, unit) | |
720 | + | func cO (cP,cQ) = if ((cQ >= cM)) | |
721 | + | then cP | |
722 | + | else cC(cP, cL[cQ]) | |
723 | + | ||
724 | + | func cR (cP,cQ) = if ((cQ >= cM)) | |
725 | + | then cP | |
726 | + | else throw("List size exceeds 15") | |
727 | + | ||
728 | + | cR(cO(cO(cO(cO(cO(cO(cO(cO(cO(cO(cO(cO(cO(cO(cO(cN, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15) | |
729 | + | } | |
730 | + | let dp = dw._1 | |
731 | + | let do = dw._2 | |
732 | + | let dr = n((dp - value(do))) | |
733 | + | if ((cw >= dr)) | |
734 | + | then $Tuple2(nil, toInt((dc - dp))) | |
735 | + | else throw(((((("Y calculation error, yDiff = " + toString(dr)) + ", yNext = ") + toString(dp)) + ", yPrev = ") + toString(value(do)))) | |
736 | + | } | |
737 | + | ||
738 | + | ||
739 | + | ||
740 | + | @Callable(aI) | |
741 | + | func setManager (dx) = { | |
742 | + | let dy = aR(aI) | |
743 | + | if ((dy == dy)) | |
690 | 744 | then { | |
691 | - | let | |
692 | - | if (( | |
693 | - | then [StringEntry(aM(), | |
745 | + | let dz = fromBase58String(dx) | |
746 | + | if ((dz == dz)) | |
747 | + | then [StringEntry(aM(), dx)] | |
694 | 748 | else throw("Strict value is not equal to itself.") | |
695 | 749 | } | |
696 | 750 | else throw("Strict value is not equal to itself.") | |
700 | 754 | ||
701 | 755 | @Callable(aI) | |
702 | 756 | func confirmManager () = { | |
703 | - | let | |
704 | - | let | |
757 | + | let dA = aQ() | |
758 | + | let dB = if (isDefined(dA)) | |
705 | 759 | then true | |
706 | 760 | else throw("No pending manager") | |
707 | - | if (( | |
761 | + | if ((dB == dB)) | |
708 | 762 | then { | |
709 | - | let | |
763 | + | let dC = if ((aI.callerPublicKey == value(dA))) | |
710 | 764 | then true | |
711 | 765 | else throw("You are not pending manager") | |
712 | - | if (( | |
713 | - | then [StringEntry(aL(), toBase58String(value( | |
766 | + | if ((dC == dC)) | |
767 | + | then [StringEntry(aL(), toBase58String(value(dA))), DeleteEntry(aM())] | |
714 | 768 | else throw("Strict value is not equal to itself.") | |
715 | 769 | } | |
716 | 770 | else throw("Strict value is not equal to itself.") | |
717 | 771 | } | |
718 | 772 | ||
719 | 773 | ||
720 | - | @Verifier( | |
721 | - | func | |
722 | - | let | |
774 | + | @Verifier(dD) | |
775 | + | func dE () = { | |
776 | + | let dF = { | |
723 | 777 | let aO = aN() | |
724 | 778 | if ($isInstanceOf(aO, "ByteVector")) | |
725 | 779 | then { | |
727 | 781 | aT | |
728 | 782 | } | |
729 | 783 | else if ($isInstanceOf(aO, "Unit")) | |
730 | - | then | |
784 | + | then dD.senderPublicKey | |
731 | 785 | else throw("Match error") | |
732 | 786 | } | |
733 | - | sigVerify( | |
787 | + | sigVerify(dD.bodyBytes, dD.proofs[0], dF) | |
734 | 788 | } | |
735 | 789 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = "__" | |
5 | 5 | ||
6 | 6 | let b = 1000 | |
7 | 7 | ||
8 | 8 | let c = 100000000 | |
9 | 9 | ||
10 | 10 | let d = toBigInt(0) | |
11 | 11 | ||
12 | 12 | let e = 0 | |
13 | 13 | ||
14 | 14 | let f = 1 | |
15 | 15 | ||
16 | 16 | func g (h) = valueOrElse(getInteger(this, h), 0) | |
17 | 17 | ||
18 | 18 | ||
19 | 19 | func i (h) = valueOrErrorMessage(getInteger(this, h), (("mandatory this." + h) + " is not defined")) | |
20 | 20 | ||
21 | 21 | ||
22 | 22 | func j (h) = valueOrElse(getString(this, h), "") | |
23 | 23 | ||
24 | 24 | ||
25 | 25 | func k (h) = valueOrErrorMessage(getString(this, h), (("mandatory this." + h) + " is not defined")) | |
26 | 26 | ||
27 | 27 | ||
28 | 28 | func l (m) = if ((0 > m)) | |
29 | 29 | then -(m) | |
30 | 30 | else m | |
31 | 31 | ||
32 | 32 | ||
33 | 33 | func n (m) = if ((d > m)) | |
34 | 34 | then -(m) | |
35 | 35 | else m | |
36 | 36 | ||
37 | 37 | ||
38 | 38 | let o = "%s__maxDepth" | |
39 | 39 | ||
40 | 40 | let p = 30 | |
41 | 41 | ||
42 | 42 | let q = valueOrElse(getInteger(this, o), p) | |
43 | 43 | ||
44 | 44 | func r () = "%s%s__config__factoryAddress" | |
45 | 45 | ||
46 | 46 | ||
47 | 47 | let s = k(r()) | |
48 | 48 | ||
49 | 49 | let t = addressFromStringValue(s) | |
50 | 50 | ||
51 | 51 | func u () = "%s%s__config__emissionAddress" | |
52 | 52 | ||
53 | 53 | ||
54 | 54 | func v (w) = makeString(["%s%s%s", "mapping", "num2user", toString(w)], a) | |
55 | 55 | ||
56 | 56 | ||
57 | 57 | let x = makeString(["%s%s", "referral", "programName"], a) | |
58 | 58 | ||
59 | 59 | let y = "wxlock" | |
60 | 60 | ||
61 | 61 | let z = valueOrElse(getString(this, x), y) | |
62 | 62 | ||
63 | 63 | let A = makeString(["%s%s", "referral", "minGWxAmount"], a) | |
64 | 64 | ||
65 | 65 | let B = (500 * c) | |
66 | 66 | ||
67 | 67 | let C = valueOrElse(getInteger(this, A), B) | |
68 | 68 | ||
69 | 69 | let D = makeString(["%s%s", "referral", "referrerRewardPermille"], a) | |
70 | 70 | ||
71 | 71 | let E = 50 | |
72 | 72 | ||
73 | 73 | let F = valueOrElse(getInteger(this, D), E) | |
74 | 74 | ||
75 | 75 | let G = makeString(["%s%s", "referral", "referralRewardPermille"], a) | |
76 | 76 | ||
77 | 77 | let H = 50 | |
78 | 78 | ||
79 | 79 | let I = valueOrElse(getInteger(this, G), H) | |
80 | 80 | ||
81 | 81 | func J (K) = makeString(["%s%s%s", "referrer", z, K], a) | |
82 | 82 | ||
83 | 83 | ||
84 | 84 | func L (M,N) = makeString(["%s%s%s%s", "unclaimedReferral", M, N], a) | |
85 | 85 | ||
86 | 86 | ||
87 | 87 | let O = k(u()) | |
88 | 88 | ||
89 | 89 | let P = addressFromStringValue(O) | |
90 | 90 | ||
91 | 91 | let Q = 1 | |
92 | 92 | ||
93 | 93 | let R = 2 | |
94 | 94 | ||
95 | 95 | let S = 3 | |
96 | 96 | ||
97 | 97 | let T = 4 | |
98 | 98 | ||
99 | 99 | func U () = "%s__config" | |
100 | 100 | ||
101 | 101 | ||
102 | 102 | func V () = split(k(U()), a) | |
103 | 103 | ||
104 | 104 | ||
105 | 105 | func W (X,Y,Z,q) = makeString(["%s%s%s%d", X, Y, Z, toString(q)], a) | |
106 | 106 | ||
107 | 107 | ||
108 | 108 | func aa () = { | |
109 | 109 | let ab = V() | |
110 | 110 | valueOrErrorMessage(addressFromString(ab[S]), "boosting contract address is not defined") | |
111 | 111 | } | |
112 | 112 | ||
113 | 113 | ||
114 | 114 | func ac () = "%s%s__gwxRewardEmissionPart__startHeight" | |
115 | 115 | ||
116 | 116 | ||
117 | 117 | func ad () = "%s__nextUserNum" | |
118 | 118 | ||
119 | 119 | ||
120 | 120 | func ae () = "%s%s__ratePerBlock__current" | |
121 | 121 | ||
122 | 122 | ||
123 | 123 | func af () = "%s%s__poolWeight__GWXvirtualPOOL" | |
124 | 124 | ||
125 | 125 | ||
126 | 126 | func ag () = "%s__nextProcessedUser" | |
127 | 127 | ||
128 | 128 | ||
129 | 129 | func ah () = "%s__latestPeriod" | |
130 | 130 | ||
131 | 131 | ||
132 | 132 | func ai () = "%s__nextPeriod" | |
133 | 133 | ||
134 | 134 | ||
135 | 135 | func aj () = "%s__processingStage" | |
136 | 136 | ||
137 | 137 | ||
138 | 138 | func ak () = "%s__nextProcessedPeriod" | |
139 | 139 | ||
140 | 140 | ||
141 | 141 | func al (am) = makeString(["%s%d", "userUnclaimed", toString(am)], a) | |
142 | 142 | ||
143 | 143 | ||
144 | 144 | func an (am) = makeString(["%s%d__nextClaimedPeriod", toString(am)], a) | |
145 | 145 | ||
146 | 146 | ||
147 | 147 | func ao (am) = makeString(["%s%d__lastProcessedPeriod", toString(am)], a) | |
148 | 148 | ||
149 | 149 | ||
150 | 150 | func ap (aq) = makeString(["%s%d__startHeightForPeriod", toString(aq)], a) | |
151 | 151 | ||
152 | 152 | ||
153 | 153 | func ar (aq) = makeString(["%s%d__auxEmissionReward", toString(aq)], a) | |
154 | 154 | ||
155 | 155 | ||
156 | 156 | func as (aq) = makeString(["%s%d__totalAmountForPeriod", toString(aq)], a) | |
157 | 157 | ||
158 | 158 | ||
159 | 159 | func at () = "%s__lastPayoutInfo" | |
160 | 160 | ||
161 | 161 | ||
162 | 162 | func au (aq,av,aw) = makeString(["%d%d%d", toString(aq), toString(av), toString(aw)], a) | |
163 | 163 | ||
164 | 164 | ||
165 | 165 | func ax (aq) = makeString(["%s%s%d__payouts__history", toString(aq)], a) | |
166 | 166 | ||
167 | 167 | ||
168 | 168 | func ay (aq) = makeString(["%s%d__totalWeightForPeriod", toString(aq)], a) | |
169 | 169 | ||
170 | 170 | ||
171 | 171 | func az (aq,am) = makeString(["%s%d%s%d__paramByPeriod", toString(am), "k", toString(aq)], a) | |
172 | 172 | ||
173 | 173 | ||
174 | 174 | func aA (aq,am) = makeString(["%s%d%s%d__paramByPeriod", toString(am), "b", toString(aq)], a) | |
175 | 175 | ||
176 | 176 | ||
177 | 177 | func aB (aq,am) = makeString(["%s%d%s%d__paramByPeriod", toString(am), "weight", toString(aq)], a) | |
178 | 178 | ||
179 | 179 | ||
180 | 180 | func aC () = makeString(["%s%s", "config", "referralsContractAddress"], a) | |
181 | 181 | ||
182 | 182 | ||
183 | 183 | let aD = addressFromStringValue(k(aC())) | |
184 | 184 | ||
185 | 185 | func aE (aF,aG,aH,aI) = { | |
186 | 186 | let aJ = makeString(["%s%s%s%s__history", aF, aG, toBase58String(aI.transactionId)], a) | |
187 | 187 | let aK = makeString(["%d%d%d%d%d%d", toString(lastBlock.height), toString(lastBlock.timestamp), toString(aH)], a) | |
188 | 188 | StringEntry(aJ, aK) | |
189 | 189 | } | |
190 | 190 | ||
191 | 191 | ||
192 | 192 | func aL () = "%s__managerPublicKey" | |
193 | 193 | ||
194 | 194 | ||
195 | 195 | func aM () = "%s__pendingManagerPublicKey" | |
196 | 196 | ||
197 | 197 | ||
198 | 198 | func aN () = { | |
199 | 199 | let aO = getString(aL()) | |
200 | 200 | if ($isInstanceOf(aO, "String")) | |
201 | 201 | then { | |
202 | 202 | let aP = aO | |
203 | 203 | fromBase58String(aP) | |
204 | 204 | } | |
205 | 205 | else if ($isInstanceOf(aO, "Unit")) | |
206 | 206 | then unit | |
207 | 207 | else throw("Match error") | |
208 | 208 | } | |
209 | 209 | ||
210 | 210 | ||
211 | 211 | func aQ () = { | |
212 | 212 | let aO = getString(aM()) | |
213 | 213 | if ($isInstanceOf(aO, "String")) | |
214 | 214 | then { | |
215 | 215 | let aP = aO | |
216 | 216 | fromBase58String(aP) | |
217 | 217 | } | |
218 | 218 | else if ($isInstanceOf(aO, "Unit")) | |
219 | 219 | then unit | |
220 | 220 | else throw("Match error") | |
221 | 221 | } | |
222 | 222 | ||
223 | 223 | ||
224 | 224 | func aR (aI) = { | |
225 | 225 | let aS = throw("Permission denied") | |
226 | 226 | let aO = aN() | |
227 | 227 | if ($isInstanceOf(aO, "ByteVector")) | |
228 | 228 | then { | |
229 | 229 | let aT = aO | |
230 | 230 | if ((aI.callerPublicKey == aT)) | |
231 | 231 | then true | |
232 | 232 | else aS | |
233 | 233 | } | |
234 | 234 | else if ($isInstanceOf(aO, "Unit")) | |
235 | 235 | then if ((aI.caller == this)) | |
236 | 236 | then true | |
237 | 237 | else aS | |
238 | 238 | else throw("Match error") | |
239 | 239 | } | |
240 | 240 | ||
241 | 241 | ||
242 | 242 | func aU (aV,aW,aq,am) = { | |
243 | 243 | let aX = ao(am) | |
244 | 244 | let aY = az(aq, am) | |
245 | 245 | let aZ = getInteger(aV, aY) | |
246 | 246 | let ba = aB(aq, am) | |
247 | 247 | if (isDefined(aZ)) | |
248 | 248 | then { | |
249 | 249 | let bb = value(aZ) | |
250 | 250 | let bc = value(getInteger(aV, aA(aq, am))) | |
251 | 251 | let bd = ((bb * aW) + bc) | |
252 | 252 | if ((bd > 0)) | |
253 | 253 | then $Tuple2((bd / b), [IntegerEntry(aX, aq), IntegerEntry(ba, bd)]) | |
254 | 254 | else $Tuple2(0, nil) | |
255 | 255 | } | |
256 | 256 | else { | |
257 | 257 | let be = getInteger(this, aX) | |
258 | 258 | if (if (isDefined(be)) | |
259 | 259 | then (aq >= value(be)) | |
260 | 260 | else false) | |
261 | 261 | then { | |
262 | 262 | let bf = value(be) | |
263 | 263 | let bb = value(getInteger(aV, az(bf, am))) | |
264 | 264 | let bc = value(getInteger(aV, aA(bf, am))) | |
265 | 265 | let bd = ((bb * aW) + bc) | |
266 | 266 | if ((bd > 0)) | |
267 | 267 | then $Tuple2((bd / b), [IntegerEntry(ba, bd)]) | |
268 | 268 | else $Tuple2(0, nil) | |
269 | 269 | } | |
270 | 270 | else $Tuple2(0, nil) | |
271 | 271 | } | |
272 | 272 | } | |
273 | 273 | ||
274 | 274 | ||
275 | 275 | func bg (aV,aW,aq,am) = { | |
276 | 276 | let ba = aB(aq, am) | |
277 | 277 | let bh = getInteger(ba) | |
278 | 278 | let aO = bh | |
279 | 279 | if ($isInstanceOf(aO, "Unit")) | |
280 | 280 | then 0 | |
281 | 281 | else if ($isInstanceOf(aO, "Int")) | |
282 | 282 | then { | |
283 | 283 | let bd = aO | |
284 | 284 | (bd / b) | |
285 | 285 | } | |
286 | 286 | else throw("Match error") | |
287 | 287 | } | |
288 | 288 | ||
289 | 289 | ||
290 | 290 | func bi (Z,bj) = { | |
291 | 291 | let h = makeString(["%s%s%s", "mapping", "user2num", bj], a) | |
292 | 292 | parseIntValue(valueOrErrorMessage(getString(Address(fromBase58String(Z)), h), ((("User address " + bj) + " is not found in boosting contract data, key=") + h))) | |
293 | 293 | } | |
294 | 294 | ||
295 | 295 | ||
296 | 296 | func bk () = g(ai()) | |
297 | 297 | ||
298 | 298 | ||
299 | 299 | func bl (bj) = { | |
300 | 300 | let ab = V() | |
301 | 301 | let bm = bi(ab[S], bj) | |
302 | 302 | let bn = getInteger(al(bm)) | |
303 | 303 | let aO = bn | |
304 | 304 | if ($isInstanceOf(aO, "Unit")) | |
305 | 305 | then $Tuple2(0, nil) | |
306 | 306 | else if ($isInstanceOf(aO, "Int")) | |
307 | 307 | then { | |
308 | 308 | let bo = aO | |
309 | 309 | $Tuple2(bo, [IntegerEntry(al(bm), 0)]) | |
310 | 310 | } | |
311 | 311 | else throw("Match error") | |
312 | 312 | } | |
313 | 313 | ||
314 | 314 | ||
315 | 315 | @Callable(aI) | |
316 | 316 | func updateReferralActivity (bj,bp) = { | |
317 | 317 | let bq = getString(aD, J(bj)) | |
318 | 318 | let br = if ((bq == unit)) | |
319 | 319 | then unit | |
320 | 320 | else invoke(aD, "updateReferralActivity", [z, bj, (bp >= C)], nil) | |
321 | 321 | if ((br == br)) | |
322 | 322 | then $Tuple2(nil, unit) | |
323 | 323 | else throw("Strict value is not equal to itself.") | |
324 | 324 | } | |
325 | 325 | ||
326 | 326 | ||
327 | 327 | ||
328 | 328 | @Callable(aI) | |
329 | 329 | func finalizeHelper () = { | |
330 | 330 | let bs = valueOrElse(getInteger(aj()), e) | |
331 | 331 | let bt = g(ak()) | |
332 | 332 | let bu = g(ag()) | |
333 | 333 | let bv = g(ah()) | |
334 | 334 | let bw = valueOrElse(getInteger(aa(), ad()), 0) | |
335 | 335 | let bx = ay(bt) | |
336 | 336 | let by = g(ay(bt)) | |
337 | 337 | let aW = g(ap(bt)) | |
338 | 338 | if ((bt > bv)) | |
339 | 339 | then $Tuple2(nil, false) | |
340 | 340 | else if ((bs == e)) | |
341 | 341 | then { | |
342 | 342 | let bz = aU(aa(), aW, bt, bu) | |
343 | 343 | let bA = bz._1 | |
344 | 344 | let bB = bz._2 | |
345 | 345 | let bC = (by + bA) | |
346 | 346 | let bD = if (((bw - 1) > bu)) | |
347 | 347 | then [IntegerEntry(ag(), (bu + 1))] | |
348 | 348 | else [IntegerEntry(aj(), f), IntegerEntry(ag(), 0)] | |
349 | 349 | $Tuple2((([IntegerEntry(bx, bC)] ++ bD) ++ bB), true) | |
350 | 350 | } | |
351 | 351 | else if ((bs == f)) | |
352 | 352 | then { | |
353 | 353 | let bA = bg(aa(), aW, bt, bu) | |
354 | 354 | let bE = fraction(g(as(bt)), bA, by) | |
355 | 355 | let bF = fraction(g(ar(bt)), bA, by) | |
356 | 356 | let bG = (bF + bE) | |
357 | 357 | let bn = getInteger(al(bu)) | |
358 | 358 | let bj = getStringValue(aa(), v(bu)) | |
359 | 359 | let bq = getString(aD, J(bj)) | |
360 | 360 | let br = if ((bq == unit)) | |
361 | 361 | then unit | |
362 | 362 | else invoke(aD, "updateReferralActivity", [z, bj, (bA >= C)], nil) | |
363 | 363 | if ((br == br)) | |
364 | 364 | then { | |
365 | 365 | let bH = if (if ((bq == unit)) | |
366 | 366 | then true | |
367 | 367 | else (C > bA)) | |
368 | 368 | then unit | |
369 | 369 | else { | |
370 | 370 | let bI = fraction(bG, F, b) | |
371 | 371 | let bJ = fraction(bG, I, b) | |
372 | 372 | invoke(aD, "incUnclaimed", [z, bj, bI, bJ], nil) | |
373 | 373 | } | |
374 | 374 | if ((bH == bH)) | |
375 | 375 | then { | |
376 | 376 | let bK = [IntegerEntry(al(bu), (valueOrElse(bn, 0) + bG))] | |
377 | 377 | let bD = if (((bw - 1) > bu)) | |
378 | 378 | then [IntegerEntry(ag(), (bu + 1))] | |
379 | 379 | else [IntegerEntry(ak(), (bt + 1)), IntegerEntry(ag(), 0), DeleteEntry(aj())] | |
380 | 380 | $Tuple2((bK ++ bD), true) | |
381 | 381 | } | |
382 | 382 | else throw("Strict value is not equal to itself.") | |
383 | 383 | } | |
384 | 384 | else throw("Strict value is not equal to itself.") | |
385 | 385 | } | |
386 | 386 | else throw("invalid processing stage") | |
387 | 387 | } | |
388 | 388 | ||
389 | 389 | ||
390 | 390 | ||
391 | 391 | @Callable(aI) | |
392 | 392 | func finalizeWrapper (bL) = { | |
393 | 393 | let bM = { | |
394 | 394 | let bN = invoke(this, "finalizeHelper", nil, nil) | |
395 | 395 | if ($isInstanceOf(bN, "Boolean")) | |
396 | 396 | then bN | |
397 | 397 | else throw(($getType(invoke(this, "finalizeHelper", nil, nil)) + " couldn't be cast to Boolean")) | |
398 | 398 | } | |
399 | 399 | if ((bM == bM)) | |
400 | 400 | then if (!(bM)) | |
401 | 401 | then if ((bL == q)) | |
402 | 402 | then throw("Nothing to process") | |
403 | 403 | else $Tuple2(nil, unit) | |
404 | 404 | else if ((bL > 0)) | |
405 | 405 | then $Tuple2(nil, invoke(this, "finalizeWrapper", [(bL - 1)], nil)) | |
406 | 406 | else $Tuple2(nil, unit) | |
407 | 407 | else throw("Strict value is not equal to itself.") | |
408 | 408 | } | |
409 | 409 | ||
410 | 410 | ||
411 | 411 | ||
412 | 412 | @Callable(aI) | |
413 | 413 | func processPendingPeriodsAndUsers () = $Tuple2(nil, invoke(this, "finalizeWrapper", [q], nil)) | |
414 | 414 | ||
415 | 415 | ||
416 | 416 | ||
417 | 417 | @Callable(aI) | |
418 | 418 | func deposit () = { | |
419 | 419 | let ab = V() | |
420 | 420 | if ((aI.caller != Address(fromBase58String(ab[R])))) | |
421 | 421 | then throw("Wrong caller address") | |
422 | 422 | else { | |
423 | 423 | let bO = value(value(aI.payments[0]).assetId) | |
424 | 424 | if ((bO != fromBase58String(ab[Q]))) | |
425 | 425 | then throw("Wrong payment asset") | |
426 | 426 | else { | |
427 | 427 | let aq = bk() | |
428 | 428 | let bP = (height - i(ac())) | |
429 | 429 | let bQ = valueOrErrorMessage(getInteger(P, ae()), (("mandatory emission_contract." + ae()) + " is not defined")) | |
430 | 430 | let bR = valueOrErrorMessage(getInteger(t, af()), (("mandatory factory_contract." + af()) + " is not defined")) | |
431 | 431 | let bS = fraction((bP * bR), bQ, c) | |
432 | 432 | let bT = invoke(P, "emit", [bS], nil) | |
433 | 433 | if ((bT == bT)) | |
434 | 434 | then { | |
435 | 435 | let bU = value(aI.payments[0]).amount | |
436 | 436 | let bV = au(aq, bU, bS) | |
437 | 437 | [IntegerEntry(ah(), aq), IntegerEntry(ap(aq), height), IntegerEntry(ar(aq), bS), IntegerEntry(ac(), height), IntegerEntry(as(aq), bU), IntegerEntry(ai(), (aq + 1)), StringEntry(at(), bV), StringEntry(ax(aq), bV)] | |
438 | 438 | } | |
439 | 439 | else throw("Strict value is not equal to itself.") | |
440 | 440 | } | |
441 | 441 | } | |
442 | 442 | } | |
443 | 443 | ||
444 | 444 | ||
445 | 445 | ||
446 | 446 | @Callable(aI) | |
447 | 447 | func claimReward () = { | |
448 | 448 | let ab = V() | |
449 | 449 | let bW = toString(aI.caller) | |
450 | 450 | let bX = bl(bW) | |
451 | 451 | let aH = bX._1 | |
452 | 452 | let bY = bX._2 | |
453 | 453 | let bZ = if ((aH > 0)) | |
454 | 454 | then true | |
455 | 455 | else throw("Nothing to claim") | |
456 | 456 | if ((bZ == bZ)) | |
457 | 457 | then { | |
458 | 458 | let ca = 0 | |
459 | 459 | let cb = { | |
460 | 460 | let bN = invoke(aD, "claim", [z], nil) | |
461 | 461 | if ($isInstanceOf(bN, "Int")) | |
462 | 462 | then bN | |
463 | 463 | else throw(($getType(invoke(aD, "claim", [z], nil)) + " couldn't be cast to Int")) | |
464 | 464 | } | |
465 | 465 | let cc = (aH + cb) | |
466 | 466 | $Tuple2(([ScriptTransfer(aI.caller, cc, fromBase58String(ab[Q])), aE("claim", bW, aH, aI)] ++ bY), [cc, ca]) | |
467 | 467 | } | |
468 | 468 | else throw("Strict value is not equal to itself.") | |
469 | 469 | } | |
470 | 470 | ||
471 | 471 | ||
472 | 472 | ||
473 | 473 | @Callable(aI) | |
474 | 474 | func claimRewardREADONLY (bW) = { | |
475 | 475 | let cd = bl(bW) | |
476 | 476 | let aH = cd._1 | |
477 | 477 | let bY = cd._2 | |
478 | 478 | let ce = valueOrElse(getInteger(aD, L(z, bW)), 0) | |
479 | 479 | let cc = (aH + ce) | |
480 | 480 | $Tuple2(nil, cc) | |
481 | 481 | } | |
482 | 482 | ||
483 | 483 | ||
484 | 484 | ||
485 | 485 | @Callable(aI) | |
486 | 486 | func latestFinalizedPeriodREADONLY (bW) = $Tuple2(nil, valueOrElse(getInteger(this, ah()), -1)) | |
487 | 487 | ||
488 | 488 | ||
489 | 489 | ||
490 | 490 | @Callable(aI) | |
491 | 491 | func latestFinalizedPeriodInfoREADONLY (bW) = $Tuple2(nil, j(at())) | |
492 | 492 | ||
493 | 493 | ||
494 | 494 | ||
495 | 495 | @Callable(aI) | |
496 | 496 | func calcGwxParamsREADONLY (cf,cg,ch) = { | |
497 | 497 | let ci = (cg + ch) | |
498 | 498 | let cj = -(fraction(cf, b, ch)) | |
499 | 499 | let ck = (fraction(cf, b, ch) * ci) | |
500 | 500 | $Tuple2(nil, [cj, ck, bk()]) | |
501 | 501 | } | |
502 | 502 | ||
503 | 503 | ||
504 | 504 | ||
505 | 505 | @Callable(aI) | |
506 | 506 | func calcGwxAmountStartREADONLY (cl,cm,cn) = { | |
507 | 507 | let co = fraction(cm, c, cn) | |
508 | 508 | let bp = fraction(cl, co, c) | |
509 | 509 | $Tuple2(nil, [bp]) | |
510 | 510 | } | |
511 | 511 | ||
512 | 512 | ||
513 | 513 | ||
514 | 514 | @Callable(aI) | |
515 | 515 | func onEmissionForGwxStart () = if ((aI.caller != t)) | |
516 | 516 | then throw("permissions denied") | |
517 | 517 | else [IntegerEntry(ac(), height)] | |
518 | 518 | ||
519 | 519 | ||
520 | 520 | ||
521 | 521 | @Callable(aI) | |
522 | 522 | func latestPeriodEmissionRewardsREADONLY (bW) = { | |
523 | 523 | let aq = bk() | |
524 | 524 | $Tuple2(nil, [g(ar(aq))]) | |
525 | 525 | } | |
526 | 526 | ||
527 | 527 | ||
528 | 528 | ||
529 | 529 | @Callable(aI) | |
530 | 530 | func calcD (cp,cq,cr,cs,ct) = { | |
531 | 531 | let cu = toBigInt(2) | |
532 | 532 | let cv = parseBigIntValue(cs) | |
533 | 533 | let cw = parseBigIntValue(ct) | |
534 | 534 | let cx = parseBigIntValue(cp) | |
535 | 535 | let cy = parseBigIntValue(cq) | |
536 | 536 | let cz = (parseBigIntValue(cr) * cv) | |
537 | 537 | let aP = (cx + cy) | |
538 | 538 | if ((aP == d)) | |
539 | 539 | then $Tuple2(nil, toString(d)) | |
540 | 540 | else { | |
541 | 541 | let cA = (cz * cu) | |
542 | 542 | let cB = [1, 2, 3, 4, 5, 6, 7] | |
543 | 543 | func cC (cD,cE) = { | |
544 | 544 | let cF = cD | |
545 | 545 | let cG = cF._1 | |
546 | 546 | let cH = cF._2 | |
547 | 547 | let cI = (((cG * cG) * cG) / (((cx * cy) * cu) * cu)) | |
548 | 548 | let cJ = (((((cA * aP) / cv) + (cI * cu)) * cG) / ((((cA - cv) * cG) / cv) + ((cu + toBigInt(1)) * cI))) | |
549 | 549 | $Tuple2(cJ, cG) | |
550 | 550 | } | |
551 | 551 | ||
552 | 552 | let cK = { | |
553 | 553 | let cL = cB | |
554 | 554 | let cM = size(cL) | |
555 | 555 | let cN = $Tuple2(aP, unit) | |
556 | 556 | func cO (cP,cQ) = if ((cQ >= cM)) | |
557 | 557 | then cP | |
558 | 558 | else cC(cP, cL[cQ]) | |
559 | 559 | ||
560 | 560 | func cR (cP,cQ) = if ((cQ >= cM)) | |
561 | 561 | then cP | |
562 | 562 | else throw("List size exceeds 7") | |
563 | 563 | ||
564 | 564 | cR(cO(cO(cO(cO(cO(cO(cO(cN, 0), 1), 2), 3), 4), 5), 6), 7) | |
565 | 565 | } | |
566 | 566 | let cJ = cK._1 | |
567 | 567 | let cH = cK._2 | |
568 | 568 | let cS = n((cJ - value(cH))) | |
569 | 569 | if ((cw >= cS)) | |
570 | 570 | then $Tuple2(nil, toString(cJ)) | |
571 | 571 | else throw(("D calculation error, dDiff = " + toString(cS))) | |
572 | 572 | } | |
573 | 573 | } | |
574 | 574 | ||
575 | 575 | ||
576 | 576 | ||
577 | 577 | @Callable(aI) | |
578 | 578 | func calcPutXOnly (cT,cU,cV,cW,cX,cY,cZ,da) = { | |
579 | 579 | let cu = toBigInt(2) | |
580 | 580 | let cv = parseBigIntValue(cY) | |
581 | 581 | let cw = parseBigIntValue(cZ) | |
582 | 582 | let db = parseBigIntValue(cU) | |
583 | 583 | let dc = parseBigIntValue(cV) | |
584 | 584 | let cG = if ((cW == "")) | |
585 | 585 | then parseBigIntValue({ | |
586 | 586 | let bN = invoke(this, "calcD", [cU, cV, cX, cY, da], nil) | |
587 | 587 | if ($isInstanceOf(bN, "String")) | |
588 | 588 | then bN | |
589 | 589 | else throw(($getType(invoke(this, "calcD", [cU, cV, cX, cY, da], nil)) + " couldn't be cast to String")) | |
590 | 590 | }) | |
591 | 591 | else parseBigIntValue(cW) | |
592 | 592 | let cz = (parseBigIntValue(cX) * cv) | |
593 | 593 | let dd = parseBigIntValue(cT) | |
594 | 594 | let cA = (cz * cu) | |
595 | 595 | let cB = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20] | |
596 | 596 | func cC (cD,cE) = { | |
597 | 597 | let de = cD | |
598 | 598 | let df = de._1 | |
599 | 599 | let dg = de._2 | |
600 | 600 | let dh = ((db + dd) - df) | |
601 | 601 | let di = (dc - ((df * dc) / db)) | |
602 | 602 | let cI = (((cG * cG) * cG) / (((dh * di) * cu) * cu)) | |
603 | 603 | let dj = (df + ((((((-(cG) * cA) / cv) + cG) + ((cA * (dh + di)) / cv)) - cI) / ((((-(cA) * (toBigInt(-1) - (dc / db))) / cv) + (cI / dh)) + ((dc * cI) / (db * di))))) | |
604 | 604 | $Tuple2(dj, df) | |
605 | 605 | } | |
606 | 606 | ||
607 | 607 | let dk = { | |
608 | 608 | let cL = cB | |
609 | 609 | let cM = size(cL) | |
610 | 610 | let cN = $Tuple2(d, unit) | |
611 | 611 | func cO (cP,cQ) = if ((cQ >= cM)) | |
612 | 612 | then cP | |
613 | 613 | else cC(cP, cL[cQ]) | |
614 | 614 | ||
615 | 615 | func cR (cP,cQ) = if ((cQ >= cM)) | |
616 | 616 | then cP | |
617 | 617 | else throw("List size exceeds 20") | |
618 | 618 | ||
619 | 619 | cR(cO(cO(cO(cO(cO(cO(cO(cO(cO(cO(cO(cO(cO(cO(cO(cO(cO(cO(cO(cO(cN, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20) | |
620 | 620 | } | |
621 | 621 | let dj = dk._1 | |
622 | 622 | let dg = dk._2 | |
623 | 623 | let dl = n((dj - value(dg))) | |
624 | 624 | if ((cw >= dl)) | |
625 | 625 | then $Tuple2(nil, $Tuple2(toInt(dj), toInt(fraction(dj, dc, db)))) | |
626 | 626 | else throw(((((("X calculation error, xDiff = " + toString(dl)) + ", xNext = ") + toString(dj)) + ", xPrev = ") + toString(value(dg)))) | |
627 | 627 | } | |
628 | 628 | ||
629 | 629 | ||
630 | 630 | ||
631 | 631 | @Callable(aI) | |
632 | - | func | |
632 | + | func calcSwapXToYOld (cT,cU,cV,cW,cX,cY,cZ,da) = { | |
633 | 633 | let cu = toBigInt(2) | |
634 | 634 | let cv = parseBigIntValue(cY) | |
635 | 635 | let cw = parseBigIntValue(cZ) | |
636 | 636 | let db = parseBigIntValue(cU) | |
637 | 637 | let dc = parseBigIntValue(cV) | |
638 | 638 | let df = parseBigIntValue(cT) | |
639 | 639 | let cG = if ((cW == "")) | |
640 | 640 | then parseBigIntValue({ | |
641 | 641 | let bN = invoke(this, "calcD", [cU, cV, cX, cY, da], nil) | |
642 | 642 | if ($isInstanceOf(bN, "String")) | |
643 | 643 | then bN | |
644 | 644 | else throw(($getType(invoke(this, "calcD", [cU, cV, cX, cY, da], nil)) + " couldn't be cast to String")) | |
645 | 645 | }) | |
646 | 646 | else parseBigIntValue(cW) | |
647 | 647 | let cz = (parseBigIntValue(cX) * cv) | |
648 | - | let dd = parseBigIntValue(cT) | |
649 | 648 | let cA = (cz * cu) | |
650 | 649 | let cB = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17] | |
651 | 650 | func cC (cD,cE) = { | |
652 | 651 | let dm = cD | |
653 | 652 | let dn = dm._1 | |
654 | 653 | let do = dm._2 | |
655 | 654 | let dh = (db + df) | |
656 | 655 | let di = (dc - dn) | |
657 | 656 | let cI = (((cG * cG) * cG) / (((dh * di) * cu) * cu)) | |
658 | 657 | let dp = (dn + ((((((-(cG) * cA) / cv) + cG) + ((cA * (dh + di)) / cv)) - cI) / ((cA / cv) + (cI / di)))) | |
659 | 658 | $Tuple2(dp, dn) | |
660 | 659 | } | |
661 | 660 | ||
662 | 661 | let dq = { | |
663 | 662 | let cL = cB | |
664 | 663 | let cM = size(cL) | |
665 | - | let cN = $Tuple2( | |
664 | + | let cN = $Tuple2(cG, unit) | |
666 | 665 | func cO (cP,cQ) = if ((cQ >= cM)) | |
667 | 666 | then cP | |
668 | 667 | else cC(cP, cL[cQ]) | |
669 | 668 | ||
670 | 669 | func cR (cP,cQ) = if ((cQ >= cM)) | |
671 | 670 | then cP | |
672 | 671 | else throw("List size exceeds 17") | |
673 | 672 | ||
674 | 673 | cR(cO(cO(cO(cO(cO(cO(cO(cO(cO(cO(cO(cO(cO(cO(cO(cO(cO(cN, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17) | |
675 | 674 | } | |
676 | 675 | let dp = dq._1 | |
677 | 676 | let do = dq._2 | |
678 | - | let | |
679 | - | if ((cw >= | |
677 | + | let dr = n((dp - value(do))) | |
678 | + | if ((cw >= dr)) | |
680 | 679 | then $Tuple2(nil, toInt(dp)) | |
681 | - | else throw(((((("Y calculation error, yDiff = " + toString( | |
680 | + | else throw(((((("Y calculation error, yDiff = " + toString(dr)) + ", yNext = ") + toString(dp)) + ", yPrev = ") + toString(value(do)))) | |
682 | 681 | } | |
683 | 682 | ||
684 | 683 | ||
685 | 684 | ||
686 | 685 | @Callable(aI) | |
687 | - | func setManager (dr) = { | |
688 | - | let ds = aR(aI) | |
689 | - | if ((ds == ds)) | |
686 | + | func calcSwapXToY (cT,cU,cV,cW,cX,cY,cZ,da) = { | |
687 | + | let cu = toBigInt(2) | |
688 | + | let cv = parseBigIntValue(cY) | |
689 | + | let cw = parseBigIntValue(cZ) | |
690 | + | let ds = parseBigIntValue(cU) | |
691 | + | let dc = parseBigIntValue(cV) | |
692 | + | let df = parseBigIntValue(cT) | |
693 | + | let db = (ds + df) | |
694 | + | let dt = if ((cW == "")) | |
695 | + | then parseBigIntValue({ | |
696 | + | let bN = invoke(this, "calcD", [cU, cV, cX, cY, da], nil) | |
697 | + | if ($isInstanceOf(bN, "String")) | |
698 | + | then bN | |
699 | + | else throw(($getType(invoke(this, "calcD", [cU, cV, cX, cY, da], nil)) + " couldn't be cast to String")) | |
700 | + | }) | |
701 | + | else parseBigIntValue(cW) | |
702 | + | let cz = (parseBigIntValue(cX) * cv) | |
703 | + | let dd = (db + dc) | |
704 | + | let cA = (cz * cu) | |
705 | + | let du = fraction((((dt * dt) * dt) * dt), cv, (((((db * dc) * cu) * cu) * cu) * cA)) | |
706 | + | let bc = (dd + ((dt * cv) / cA)) | |
707 | + | let cB = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15] | |
708 | + | func cC (cD,cE) = { | |
709 | + | let dv = cD | |
710 | + | let dn = dv._1 | |
711 | + | let do = dv._2 | |
712 | + | let dp = (((dn * dn) + du) / (((toBigInt(2) * dn) + bc) - dt)) | |
713 | + | $Tuple2(dp, dn) | |
714 | + | } | |
715 | + | ||
716 | + | let dw = { | |
717 | + | let cL = cB | |
718 | + | let cM = size(cL) | |
719 | + | let cN = $Tuple2(dt, unit) | |
720 | + | func cO (cP,cQ) = if ((cQ >= cM)) | |
721 | + | then cP | |
722 | + | else cC(cP, cL[cQ]) | |
723 | + | ||
724 | + | func cR (cP,cQ) = if ((cQ >= cM)) | |
725 | + | then cP | |
726 | + | else throw("List size exceeds 15") | |
727 | + | ||
728 | + | cR(cO(cO(cO(cO(cO(cO(cO(cO(cO(cO(cO(cO(cO(cO(cO(cN, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15) | |
729 | + | } | |
730 | + | let dp = dw._1 | |
731 | + | let do = dw._2 | |
732 | + | let dr = n((dp - value(do))) | |
733 | + | if ((cw >= dr)) | |
734 | + | then $Tuple2(nil, toInt((dc - dp))) | |
735 | + | else throw(((((("Y calculation error, yDiff = " + toString(dr)) + ", yNext = ") + toString(dp)) + ", yPrev = ") + toString(value(do)))) | |
736 | + | } | |
737 | + | ||
738 | + | ||
739 | + | ||
740 | + | @Callable(aI) | |
741 | + | func setManager (dx) = { | |
742 | + | let dy = aR(aI) | |
743 | + | if ((dy == dy)) | |
690 | 744 | then { | |
691 | - | let | |
692 | - | if (( | |
693 | - | then [StringEntry(aM(), | |
745 | + | let dz = fromBase58String(dx) | |
746 | + | if ((dz == dz)) | |
747 | + | then [StringEntry(aM(), dx)] | |
694 | 748 | else throw("Strict value is not equal to itself.") | |
695 | 749 | } | |
696 | 750 | else throw("Strict value is not equal to itself.") | |
697 | 751 | } | |
698 | 752 | ||
699 | 753 | ||
700 | 754 | ||
701 | 755 | @Callable(aI) | |
702 | 756 | func confirmManager () = { | |
703 | - | let | |
704 | - | let | |
757 | + | let dA = aQ() | |
758 | + | let dB = if (isDefined(dA)) | |
705 | 759 | then true | |
706 | 760 | else throw("No pending manager") | |
707 | - | if (( | |
761 | + | if ((dB == dB)) | |
708 | 762 | then { | |
709 | - | let | |
763 | + | let dC = if ((aI.callerPublicKey == value(dA))) | |
710 | 764 | then true | |
711 | 765 | else throw("You are not pending manager") | |
712 | - | if (( | |
713 | - | then [StringEntry(aL(), toBase58String(value( | |
766 | + | if ((dC == dC)) | |
767 | + | then [StringEntry(aL(), toBase58String(value(dA))), DeleteEntry(aM())] | |
714 | 768 | else throw("Strict value is not equal to itself.") | |
715 | 769 | } | |
716 | 770 | else throw("Strict value is not equal to itself.") | |
717 | 771 | } | |
718 | 772 | ||
719 | 773 | ||
720 | - | @Verifier( | |
721 | - | func | |
722 | - | let | |
774 | + | @Verifier(dD) | |
775 | + | func dE () = { | |
776 | + | let dF = { | |
723 | 777 | let aO = aN() | |
724 | 778 | if ($isInstanceOf(aO, "ByteVector")) | |
725 | 779 | then { | |
726 | 780 | let aT = aO | |
727 | 781 | aT | |
728 | 782 | } | |
729 | 783 | else if ($isInstanceOf(aO, "Unit")) | |
730 | - | then | |
784 | + | then dD.senderPublicKey | |
731 | 785 | else throw("Match error") | |
732 | 786 | } | |
733 | - | sigVerify( | |
787 | + | sigVerify(dD.bodyBytes, dD.proofs[0], dF) | |
734 | 788 | } | |
735 | 789 |
github/deemru/w8io/026f985 84.31 ms ◑