tx · H5nDHCAQYfWvdHmpwq6BAKet1aHwZp2YKtdkh8e4rTVo 3MxWgDbE9EmjQj8b3LfFwa91FZizptyeQXS: -0.05000000 Waves 2022.10.25 18:27 [2288099] smart account 3MxWgDbE9EmjQj8b3LfFwa91FZizptyeQXS > SELF 0.00000000 Waves
{ "type": 13, "id": "H5nDHCAQYfWvdHmpwq6BAKet1aHwZp2YKtdkh8e4rTVo", "fee": 5000000, "feeAssetId": null, "timestamp": 1666711602112, "version": 2, "chainId": 84, "sender": "3MxWgDbE9EmjQj8b3LfFwa91FZizptyeQXS", "senderPublicKey": "C7xgcYqQ8qV8rmvzAjhQWq4cz82F6VJfXMNygvrTXsfW", "proofs": [ "472PU9nPdWGStGaU5igTEDK2dP64NyKqnipRYSXTWR8h9wTATqYsFR4aXDHusb8a84MHFQ5rsKbQeYquDvzsYGt8", "4MmQYQs3KW1Ukdtf8RTHKba6wb5zrNRrBaUrmQzWEA2AEg4ExaZiPJKnUruuD7W96yFB3YDGLMhVNe3VFQhYd4B3" ], "script": "base64:BgJmCAISBAoCEQESBQoDCAEBEgUKAwEEARIECgIRCBIDCgEBEgYKBAgIAQgSBAoCCAESAwoBERIECgIRARIFCgMBCAgSBAoCCAESBQoDCAEBEgASABIECgIRBBIECgIBARIAEgASABIAWAAJUFJFQ0lTSU9OAMCEPQAFTUFYX0EAwIQ9AAxNQVhfQV9DSEFOR0UACgAIREVDSU1BTFMABgANTUlOX1JBTVBfVElNRQkAaQIAgKMFADwAB3ZlcnNpb24CBTMuMC4wAAhrVmVyc2lvbgIHdmVyc2lvbgAHa0Fzc2V0cwIJYXNzZXRfaWRzAA1rQXNzZXRCYWxhbmNlAghfYmFsYW5jZQAHa0FjdGl2ZQIGYWN0aXZlAAZrQ2F1c2UCDnNodXRkb3duX2NhdXNlAA1rU2hhcmVBc3NldElkAg5zaGFyZV9hc3NldF9pZAARa1NoYXJlQXNzZXRTdXBwbHkCEnNoYXJlX2Fzc2V0X3N1cHBseQAEa0ZlZQ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HJG1hdGNoMAQTY2FsbFRha2VJbnRvQWNjb3VudAMJAAACCAUDaW52BGRBcHAFBHRoaXMJAAACCAUDaW52CGZ1bmN0aW9uAhl0YWtlSW50b0FjY291bnRFeHRyYUZ1bmRzBwQNc2lnbmVkQnlBZG1pbgMDAwkA9AMDCAUCdHgJYm9keUJ5dGVzCQCRAwIIBQJ0eAZwcm9vZnMAAAUMYWRtaW5QdWJLZXkxBgkA9AMDCAUCdHgJYm9keUJ5dGVzCQCRAwIIBQJ0eAZwcm9vZnMAAAUMYWRtaW5QdWJLZXkyBgkA9AMDCAUCdHgJYm9keUJ5dGVzCQCRAwIIBQJ0eAZwcm9vZnMAAAUMYWRtaW5QdWJLZXkzBgkA9AMDCAUCdHgJYm9keUJ5dGVzCQCRAwIIBQJ0eAZwcm9vZnMAAAURYWRtaW5QdWJLZXlJbnZva2UDAwUTY2FsbFRha2VJbnRvQWNjb3VudAUNc2lnbmVkQnlBZG1pbgcGBRNtdWx0aVNpZ25lZEJ5QWRtaW5zBRNtdWx0aVNpZ25lZEJ5QWRtaW5z4QUuPg==", "height": 2288099, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: Aykfwr5jGhNU1JhkCPYo8TqJ3CeJcoZe7MeXSiyMnhgb Next: 4q3Vp3qM3eNq4RPCGQm1hT9GtXi47KZS539WZp4kZnkL Diff:
Old | New | Differences | |
---|---|---|---|
95 | 95 | ||
96 | 96 | let U = Address(G(E)) | |
97 | 97 | ||
98 | - | let V = base58' | |
98 | + | let V = base58'8UrfDVd5GreeUwm7uPk7eYz1eMv376kzR52C6sANPkwS' | |
99 | 99 | ||
100 | 100 | let W = [toBase58String(V)] | |
101 | 101 | ||
736 | 736 | let bV = if ((Z == 0)) | |
737 | 737 | then 0 | |
738 | 738 | else bq(aW, ba) | |
739 | - | let dj = if ((size(da.payments) > ai)) | |
739 | + | let dj = if (if ((di > 0)) | |
740 | + | then (da.payments[(size(da.payments) - 1)].assetId == unit) | |
741 | + | else false) | |
740 | 742 | then $Tuple2(removeByIndex(da.payments, (size(da.payments) - 1)), [da.payments[(size(da.payments) - 1)]]) | |
741 | 743 | else $Tuple2(da.payments, nil) | |
742 | 744 | let cx = dj._1 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = 1000000 | |
5 | 5 | ||
6 | 6 | let b = 1000000 | |
7 | 7 | ||
8 | 8 | let c = 10 | |
9 | 9 | ||
10 | 10 | let d = 6 | |
11 | 11 | ||
12 | 12 | let e = (86400 / 60) | |
13 | 13 | ||
14 | 14 | let f = "3.0.0" | |
15 | 15 | ||
16 | 16 | let g = "version" | |
17 | 17 | ||
18 | 18 | let h = "asset_ids" | |
19 | 19 | ||
20 | 20 | let i = "_balance" | |
21 | 21 | ||
22 | 22 | let j = "active" | |
23 | 23 | ||
24 | 24 | let k = "shutdown_cause" | |
25 | 25 | ||
26 | 26 | let l = "share_asset_id" | |
27 | 27 | ||
28 | 28 | let m = "share_asset_supply" | |
29 | 29 | ||
30 | 30 | let n = "commission" | |
31 | 31 | ||
32 | 32 | let o = "dAppThresholdCoef" | |
33 | 33 | ||
34 | 34 | let p = "staking_usdnnsbt_address" | |
35 | 35 | ||
36 | 36 | let q = "discounts" | |
37 | 37 | ||
38 | 38 | let r = "discount_values" | |
39 | 39 | ||
40 | 40 | let s = "_SWOP_amount" | |
41 | 41 | ||
42 | 42 | let t = "_GSwop_amount" | |
43 | 43 | ||
44 | 44 | let u = "admin_pub_1" | |
45 | 45 | ||
46 | 46 | let v = "admin_pub_2" | |
47 | 47 | ||
48 | 48 | let w = "admin_pub_3" | |
49 | 49 | ||
50 | 50 | let x = "admin_invoke_pub" | |
51 | 51 | ||
52 | 52 | let y = "money_box_address" | |
53 | 53 | ||
54 | 54 | let z = "governance_address" | |
55 | 55 | ||
56 | 56 | let B = "voting_address" | |
57 | 57 | ||
58 | 58 | let C = "farming_address" | |
59 | 59 | ||
60 | 60 | let E = "lp_farming" | |
61 | 61 | ||
62 | 62 | let F = Address(base58'3MvVBtsXroQpy1tsPw21TU2ET9A8WfmrNjz') | |
63 | 63 | ||
64 | 64 | func G (H) = { | |
65 | 65 | let I = getString(F, H) | |
66 | 66 | if ($isInstanceOf(I, "String")) | |
67 | 67 | then { | |
68 | 68 | let J = I | |
69 | 69 | fromBase58String(J) | |
70 | 70 | } | |
71 | 71 | else { | |
72 | 72 | let K = I | |
73 | 73 | throw((H + "is empty")) | |
74 | 74 | } | |
75 | 75 | } | |
76 | 76 | ||
77 | 77 | ||
78 | 78 | let L = G(u) | |
79 | 79 | ||
80 | 80 | let M = G(v) | |
81 | 81 | ||
82 | 82 | let N = G(w) | |
83 | 83 | ||
84 | 84 | let O = G(x) | |
85 | 85 | ||
86 | 86 | let P = Address(G(y)) | |
87 | 87 | ||
88 | 88 | let Q = Address(G(z)) | |
89 | 89 | ||
90 | 90 | let R = Address(G(p)) | |
91 | 91 | ||
92 | 92 | let S = Address(G(B)) | |
93 | 93 | ||
94 | 94 | let T = Address(G(C)) | |
95 | 95 | ||
96 | 96 | let U = Address(G(E)) | |
97 | 97 | ||
98 | - | let V = base58' | |
98 | + | let V = base58'8UrfDVd5GreeUwm7uPk7eYz1eMv376kzR52C6sANPkwS' | |
99 | 99 | ||
100 | 100 | let W = [toBase58String(V)] | |
101 | 101 | ||
102 | 102 | let X = getBooleanValue(this, j) | |
103 | 103 | ||
104 | 104 | let Y = fromBase58String(getStringValue(this, l)) | |
105 | 105 | ||
106 | 106 | let Z = getIntegerValue(this, m) | |
107 | 107 | ||
108 | 108 | let aa = 1000000 | |
109 | 109 | ||
110 | 110 | let ab = getIntegerValue(this, n) | |
111 | 111 | ||
112 | 112 | let ac = fraction(40, aa, 100) | |
113 | 113 | ||
114 | 114 | let ad = getIntegerValue(this, "initial_A") | |
115 | 115 | ||
116 | 116 | let ae = getIntegerValue(this, "future_A") | |
117 | 117 | ||
118 | 118 | let af = valueOrElse(getInteger(this, "initial_A_time"), 0) | |
119 | 119 | ||
120 | 120 | let ag = valueOrElse(getInteger(this, "future_A_time"), 0) | |
121 | 121 | ||
122 | 122 | let ah = split(getStringValue(this, h), ",") | |
123 | 123 | ||
124 | 124 | let ai = size(ah) | |
125 | 125 | ||
126 | 126 | func aj (ak) = [BooleanEntry(j, false), StringEntry(k, ak)] | |
127 | 127 | ||
128 | 128 | ||
129 | 129 | func al () = throw("DApp is already active") | |
130 | 130 | ||
131 | 131 | ||
132 | 132 | func am () = if (X) | |
133 | 133 | then unit | |
134 | 134 | else throw("DApp is inactive at this moment") | |
135 | 135 | ||
136 | 136 | ||
137 | 137 | func an (ao) = if (containsElement([L, M, N], ao.callerPublicKey)) | |
138 | 138 | then unit | |
139 | 139 | else throw("Only admin can call this function") | |
140 | 140 | ||
141 | 141 | ||
142 | 142 | func ap (ao) = if ((this == ao.caller)) | |
143 | 143 | then unit | |
144 | 144 | else throw("Only contract itself can call this function") | |
145 | 145 | ||
146 | 146 | ||
147 | 147 | let aq = toBigInt(2) | |
148 | 148 | ||
149 | 149 | let ar = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] | |
150 | 150 | ||
151 | 151 | let as = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14] | |
152 | 152 | ||
153 | 153 | let at = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15] | |
154 | 154 | ||
155 | 155 | let au = height | |
156 | 156 | ||
157 | 157 | func av (aw) = if (aw) | |
158 | 158 | then false | |
159 | 159 | else true | |
160 | 160 | ||
161 | 161 | ||
162 | 162 | func ax (ay) = { | |
163 | 163 | let az = { | |
164 | 164 | let I = ay | |
165 | 165 | if ($isInstanceOf(I, "Address")) | |
166 | 166 | then { | |
167 | 167 | let aA = I | |
168 | 168 | toString(aA) | |
169 | 169 | } | |
170 | 170 | else if ($isInstanceOf(I, "String")) | |
171 | 171 | then { | |
172 | 172 | let aA = I | |
173 | 173 | aA | |
174 | 174 | } | |
175 | 175 | else throw("Unknow type of user Addr") | |
176 | 176 | } | |
177 | 177 | let aB = valueOrElse(getInteger(Q, (az + t)), 0) | |
178 | 178 | let aC = valueOrElse(getInteger(Q, (az + t)), aB) | |
179 | 179 | let aD = split(getStringValue(F, r), ",") | |
180 | 180 | let aE = split(getStringValue(F, q), ",") | |
181 | 181 | if (if ((aC >= parseIntValue(aD[0]))) | |
182 | 182 | then (parseIntValue(aD[1]) > aC) | |
183 | 183 | else false) | |
184 | 184 | then (aa - parseIntValue(aE[0])) | |
185 | 185 | else if (if ((aC >= parseIntValue(aD[1]))) | |
186 | 186 | then (parseIntValue(aD[2]) > aC) | |
187 | 187 | else false) | |
188 | 188 | then (aa - parseIntValue(aE[1])) | |
189 | 189 | else if (if ((aC >= parseIntValue(aD[2]))) | |
190 | 190 | then (parseIntValue(aD[3]) > aC) | |
191 | 191 | else false) | |
192 | 192 | then (aa - parseIntValue(aE[2])) | |
193 | 193 | else if (if ((aC >= parseIntValue(aD[3]))) | |
194 | 194 | then (parseIntValue(aD[4]) > aC) | |
195 | 195 | else false) | |
196 | 196 | then (aa - parseIntValue(aE[3])) | |
197 | 197 | else if ((aC >= parseIntValue(aD[4]))) | |
198 | 198 | then (aa - parseIntValue(aE[4])) | |
199 | 199 | else aa | |
200 | 200 | } | |
201 | 201 | ||
202 | 202 | ||
203 | 203 | func aF () = { | |
204 | 204 | let aG = ag | |
205 | 205 | let aH = ae | |
206 | 206 | if ((aG > au)) | |
207 | 207 | then { | |
208 | 208 | let aI = ad | |
209 | 209 | let aJ = af | |
210 | 210 | if ((aH > aI)) | |
211 | 211 | then (aI + (((aH - aI) * (au - aJ)) / (aG - aJ))) | |
212 | 212 | else (aI - (((aI - aH) * (au - aJ)) / (aG - aJ))) | |
213 | 213 | } | |
214 | 214 | else aH | |
215 | 215 | } | |
216 | 216 | ||
217 | 217 | ||
218 | 218 | func aK () = { | |
219 | 219 | func aL (aM,aN) = (aM :+ valueOrElse(getInteger(this, (aN + i)), 0)) | |
220 | 220 | ||
221 | 221 | let aO = ah | |
222 | 222 | let aP = size(aO) | |
223 | 223 | let aQ = nil | |
224 | 224 | func aR (aS,aT) = if ((aT >= aP)) | |
225 | 225 | then aS | |
226 | 226 | else aL(aS, aO[aT]) | |
227 | 227 | ||
228 | 228 | func aU (aS,aT) = if ((aT >= aP)) | |
229 | 229 | then aS | |
230 | 230 | else throw("List size exceeds 10") | |
231 | 231 | ||
232 | 232 | aU(aR(aR(aR(aR(aR(aR(aR(aR(aR(aR(aQ, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
233 | 233 | } | |
234 | 234 | ||
235 | 235 | ||
236 | 236 | func aV (aW) = aW | |
237 | 237 | ||
238 | 238 | ||
239 | 239 | func aX (aM,aY) = (aM + aY) | |
240 | 240 | ||
241 | 241 | ||
242 | 242 | func aZ (aW,ba) = { | |
243 | 243 | let bb = invoke(this, "D", [aW, ba], nil) | |
244 | 244 | if ($isInstanceOf(bb, "Int")) | |
245 | 245 | then bb | |
246 | 246 | else throw(($getType(bb) + " couldn't be cast to Int")) | |
247 | 247 | } | |
248 | 248 | ||
249 | 249 | ||
250 | 250 | func bc (aW,ba) = { | |
251 | 251 | let bd = { | |
252 | 252 | let aO = aW | |
253 | 253 | let aP = size(aO) | |
254 | 254 | let aQ = 0 | |
255 | 255 | func aR (aS,aT) = if ((aT >= aP)) | |
256 | 256 | then aS | |
257 | 257 | else aX(aS, aO[aT]) | |
258 | 258 | ||
259 | 259 | func aU (aS,aT) = if ((aT >= aP)) | |
260 | 260 | then aS | |
261 | 261 | else throw("List size exceeds 10") | |
262 | 262 | ||
263 | 263 | aU(aR(aR(aR(aR(aR(aR(aR(aR(aR(aR(aQ, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
264 | 264 | } | |
265 | 265 | if ((bd == 0)) | |
266 | 266 | then 0 | |
267 | 267 | else { | |
268 | 268 | let be = (ba * ai) | |
269 | 269 | let bf = (toBigInt(be) * toBigInt(bd)) | |
270 | 270 | let bg = toBigInt((be - 1)) | |
271 | 271 | func bh (aM,ao) = if ((aM._2 == true)) | |
272 | 272 | then aM | |
273 | 273 | else { | |
274 | 274 | let bi = aM._1 | |
275 | 275 | func bj (bk,ao) = if ((ai > ao)) | |
276 | 276 | then ((bk * bi) / (toBigInt(aW[ao]) * toBigInt(ai))) | |
277 | 277 | else bk | |
278 | 278 | ||
279 | 279 | let bk = { | |
280 | 280 | let aO = ar | |
281 | 281 | let aP = size(aO) | |
282 | 282 | let aQ = bi | |
283 | 283 | func bl (aS,aT) = if ((aT >= aP)) | |
284 | 284 | then aS | |
285 | 285 | else bj(aS, aO[aT]) | |
286 | 286 | ||
287 | 287 | func bm (aS,aT) = if ((aT >= aP)) | |
288 | 288 | then aS | |
289 | 289 | else throw("List size exceeds 10") | |
290 | 290 | ||
291 | 291 | bm(bl(bl(bl(bl(bl(bl(bl(bl(bl(bl(aQ, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
292 | 292 | } | |
293 | 293 | let bn = fraction((bf + (toBigInt(ai) * bk)), bi, ((bg * bi) + (toBigInt((ai + 1)) * bk))) | |
294 | 294 | if ((bn > bi)) | |
295 | 295 | then if ((1 >= toInt((bn - bi)))) | |
296 | 296 | then $Tuple2(bn, true) | |
297 | 297 | else $Tuple2(bn, false) | |
298 | 298 | else if ((1 >= toInt((bi - bn)))) | |
299 | 299 | then $Tuple2(bn, true) | |
300 | 300 | else $Tuple2(bn, false) | |
301 | 301 | } | |
302 | 302 | ||
303 | 303 | let bo = { | |
304 | 304 | let aO = as | |
305 | 305 | let aP = size(aO) | |
306 | 306 | let aQ = $Tuple2(toBigInt(bd), false) | |
307 | 307 | func bl (aS,aT) = if ((aT >= aP)) | |
308 | 308 | then aS | |
309 | 309 | else bh(aS, aO[aT]) | |
310 | 310 | ||
311 | 311 | func bm (aS,aT) = if ((aT >= aP)) | |
312 | 312 | then aS | |
313 | 313 | else throw("List size exceeds 15") | |
314 | 314 | ||
315 | 315 | bm(bl(bl(bl(bl(bl(bl(bl(bl(bl(bl(bl(bl(bl(bl(bl(aQ, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15) | |
316 | 316 | } | |
317 | 317 | let bn = bo._1 | |
318 | 318 | let bp = bo._2 | |
319 | 319 | if ((bp == false)) | |
320 | 320 | then throw(("get_D() not finished with " + toString(bn))) | |
321 | 321 | else toInt(bn) | |
322 | 322 | } | |
323 | 323 | } | |
324 | 324 | ||
325 | 325 | ||
326 | 326 | func bq (aW,ba) = aZ(aV(aW), ba) | |
327 | 327 | ||
328 | 328 | ||
329 | 329 | func br (bs,bt,bu,bv) = if (av((bs != bt))) | |
330 | 330 | then throw("same coin") | |
331 | 331 | else if (av(if ((bt >= 0)) | |
332 | 332 | then (bs >= 0) | |
333 | 333 | else false)) | |
334 | 334 | then throw("below zero") | |
335 | 335 | else if (av(if ((ai > bt)) | |
336 | 336 | then (ai > bs) | |
337 | 337 | else false)) | |
338 | 338 | then throw("above N_COINS") | |
339 | 339 | else { | |
340 | 340 | let ba = aF() | |
341 | 341 | let bn = aZ(bv, ba) | |
342 | 342 | let be = (ba * ai) | |
343 | 343 | func bw (aM,ao) = { | |
344 | 344 | let bx = aM | |
345 | 345 | let by = bx._1 | |
346 | 346 | let bz = bx._2 | |
347 | 347 | let bA = if ((bs == ao)) | |
348 | 348 | then bu | |
349 | 349 | else bv[ao] | |
350 | 350 | if (if ((ao != bt)) | |
351 | 351 | then (ai > ao) | |
352 | 352 | else false) | |
353 | 353 | then $Tuple2((by + bA), fraction(bz, toBigInt(bn), toBigInt((bA * ai)))) | |
354 | 354 | else $Tuple2(by, bz) | |
355 | 355 | } | |
356 | 356 | ||
357 | 357 | let bB = { | |
358 | 358 | let aO = ar | |
359 | 359 | let aP = size(aO) | |
360 | 360 | let aQ = $Tuple2(0, toBigInt(bn)) | |
361 | 361 | func aR (aS,aT) = if ((aT >= aP)) | |
362 | 362 | then aS | |
363 | 363 | else bw(aS, aO[aT]) | |
364 | 364 | ||
365 | 365 | func aU (aS,aT) = if ((aT >= aP)) | |
366 | 366 | then aS | |
367 | 367 | else throw("List size exceeds 10") | |
368 | 368 | ||
369 | 369 | aU(aR(aR(aR(aR(aR(aR(aR(aR(aR(aR(aQ, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
370 | 370 | } | |
371 | 371 | let by = bB._1 | |
372 | 372 | let bC = bB._2 | |
373 | 373 | let bz = fraction(bC, toBigInt(bn), toBigInt((be * ai))) | |
374 | 374 | let bD = toBigInt(((by + (bn / be)) - bn)) | |
375 | 375 | func bE (aM,bF) = if ((aM._2 == true)) | |
376 | 376 | then aM | |
377 | 377 | else { | |
378 | 378 | let bG = aM._1 | |
379 | 379 | let bH = (((bG * bG) + bz) / ((aq * bG) + bD)) | |
380 | 380 | if ((bH > bG)) | |
381 | 381 | then if ((1 >= toInt((bH - bG)))) | |
382 | 382 | then $Tuple2(bH, true) | |
383 | 383 | else $Tuple2(bH, false) | |
384 | 384 | else if ((1 >= toInt((bG - bH)))) | |
385 | 385 | then $Tuple2(bH, true) | |
386 | 386 | else $Tuple2(bH, false) | |
387 | 387 | } | |
388 | 388 | ||
389 | 389 | let bI = { | |
390 | 390 | let aO = at | |
391 | 391 | let aP = size(aO) | |
392 | 392 | let aQ = $Tuple2(toBigInt(bn), false) | |
393 | 393 | func bl (aS,aT) = if ((aT >= aP)) | |
394 | 394 | then aS | |
395 | 395 | else bE(aS, aO[aT]) | |
396 | 396 | ||
397 | 397 | func bm (aS,aT) = if ((aT >= aP)) | |
398 | 398 | then aS | |
399 | 399 | else throw("List size exceeds 16") | |
400 | 400 | ||
401 | 401 | bm(bl(bl(bl(bl(bl(bl(bl(bl(bl(bl(bl(bl(bl(bl(bl(bl(aQ, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16) | |
402 | 402 | } | |
403 | 403 | let bH = bI._1 | |
404 | 404 | let bp = bI._2 | |
405 | 405 | if ((bp == false)) | |
406 | 406 | then throw(("getY() not finished with " + toString(bH))) | |
407 | 407 | else toInt(bH) | |
408 | 408 | } | |
409 | 409 | ||
410 | 410 | ||
411 | 411 | func bJ (bK,bs,aW,bn) = if (av((bs >= 0))) | |
412 | 412 | then throw("i below zero") | |
413 | 413 | else if (av((ai > bs))) | |
414 | 414 | then throw("i above N_COINS") | |
415 | 415 | else { | |
416 | 416 | let be = (bK * ai) | |
417 | 417 | func bw (aM,ao) = { | |
418 | 418 | let bL = aM | |
419 | 419 | let by = bL._1 | |
420 | 420 | let bz = bL._2 | |
421 | 421 | let bA = if (if ((bs != ao)) | |
422 | 422 | then (ai > ao) | |
423 | 423 | else false) | |
424 | 424 | then aW[ao] | |
425 | 425 | else 0 | |
426 | 426 | if (if ((ai > ao)) | |
427 | 427 | then (bs != ao) | |
428 | 428 | else false) | |
429 | 429 | then $Tuple2((by + bA), fraction(bz, toBigInt(bn), toBigInt((bA * ai)))) | |
430 | 430 | else $Tuple2(by, bz) | |
431 | 431 | } | |
432 | 432 | ||
433 | 433 | let bM = { | |
434 | 434 | let aO = ar | |
435 | 435 | let aP = size(aO) | |
436 | 436 | let aQ = $Tuple2(0, toBigInt(bn)) | |
437 | 437 | func aR (aS,aT) = if ((aT >= aP)) | |
438 | 438 | then aS | |
439 | 439 | else bw(aS, aO[aT]) | |
440 | 440 | ||
441 | 441 | func aU (aS,aT) = if ((aT >= aP)) | |
442 | 442 | then aS | |
443 | 443 | else throw("List size exceeds 10") | |
444 | 444 | ||
445 | 445 | aU(aR(aR(aR(aR(aR(aR(aR(aR(aR(aR(aQ, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
446 | 446 | } | |
447 | 447 | let by = bM._1 | |
448 | 448 | let bC = bM._2 | |
449 | 449 | let bz = fraction(bC, toBigInt(bn), toBigInt((be * ai))) | |
450 | 450 | let bD = toBigInt(((by + (bn / be)) - bn)) | |
451 | 451 | func bN (aM,ao) = if ((aM._2 == true)) | |
452 | 452 | then aM | |
453 | 453 | else { | |
454 | 454 | let bG = aM._1 | |
455 | 455 | let bH = (((bG * bG) + bz) / ((aq * bG) + bD)) | |
456 | 456 | if ((bH > bG)) | |
457 | 457 | then if ((1 >= toInt((bH - bG)))) | |
458 | 458 | then $Tuple2(bH, true) | |
459 | 459 | else $Tuple2(bH, false) | |
460 | 460 | else if ((1 >= toInt((bG - bH)))) | |
461 | 461 | then $Tuple2(bH, true) | |
462 | 462 | else $Tuple2(bH, false) | |
463 | 463 | } | |
464 | 464 | ||
465 | 465 | let bO = { | |
466 | 466 | let aO = at | |
467 | 467 | let aP = size(aO) | |
468 | 468 | let aQ = $Tuple2(toBigInt(bn), false) | |
469 | 469 | func bl (aS,aT) = if ((aT >= aP)) | |
470 | 470 | then aS | |
471 | 471 | else bN(aS, aO[aT]) | |
472 | 472 | ||
473 | 473 | func bm (aS,aT) = if ((aT >= aP)) | |
474 | 474 | then aS | |
475 | 475 | else throw("List size exceeds 16") | |
476 | 476 | ||
477 | 477 | bm(bl(bl(bl(bl(bl(bl(bl(bl(bl(bl(bl(bl(bl(bl(bl(bl(aQ, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16) | |
478 | 478 | } | |
479 | 479 | let bH = bO._1 | |
480 | 480 | let bp = bO._2 | |
481 | 481 | if ((bp == false)) | |
482 | 482 | then throw(("get_y_D() not finished with " + toString(bH))) | |
483 | 483 | else toInt(bH) | |
484 | 484 | } | |
485 | 485 | ||
486 | 486 | ||
487 | 487 | func bP (aW,bQ,ao,bR) = { | |
488 | 488 | let bS = ax(bR) | |
489 | 489 | let ba = aF() | |
490 | 490 | let bT = ((fraction(ab, bS, aa, CEILING) * ai) / (4 * (ai - 1))) | |
491 | 491 | let bU = Z | |
492 | 492 | let bV = aZ(aW, ba) | |
493 | 493 | let bW = (bV - fraction(bQ, bV, bU)) | |
494 | 494 | let bX = bJ(ba, ao, aW, bW) | |
495 | 495 | let bY = (aW[ao] - bX) | |
496 | 496 | func bZ (aM,ca) = { | |
497 | 497 | let cb = aM | |
498 | 498 | let cc = cb._1 | |
499 | 499 | let cd = cb._2 | |
500 | 500 | let ce = if ((cd == ao)) | |
501 | 501 | then (fraction(ca, bW, bV) - bX) | |
502 | 502 | else (ca - fraction(ca, bW, bV)) | |
503 | 503 | $Tuple2((cc :+ (ca - fraction(bT, ce, aa))), (cd + 1)) | |
504 | 504 | } | |
505 | 505 | ||
506 | 506 | let cf = { | |
507 | 507 | let aO = aW | |
508 | 508 | let aP = size(aO) | |
509 | 509 | let aQ = $Tuple2(nil, 0) | |
510 | 510 | func aR (aS,aT) = if ((aT >= aP)) | |
511 | 511 | then aS | |
512 | 512 | else bZ(aS, aO[aT]) | |
513 | 513 | ||
514 | 514 | func aU (aS,aT) = if ((aT >= aP)) | |
515 | 515 | then aS | |
516 | 516 | else throw("List size exceeds 10") | |
517 | 517 | ||
518 | 518 | aU(aR(aR(aR(aR(aR(aR(aR(aR(aR(aR(aQ, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
519 | 519 | } | |
520 | 520 | let cc = cf._1 | |
521 | 521 | let cd = cf._2 | |
522 | 522 | let cg = cc[ao] | |
523 | 523 | let ch = ((cg - bJ(ba, ao, cc, bW)) - 1) | |
524 | 524 | $Tuple2(ch, (bY - ch)) | |
525 | 525 | } | |
526 | 526 | ||
527 | 527 | ||
528 | 528 | func ci (aN) = { | |
529 | 529 | let I = aN | |
530 | 530 | if ($isInstanceOf(I, "ByteVector")) | |
531 | 531 | then { | |
532 | 532 | let cj = I | |
533 | 533 | toBase58String(cj) | |
534 | 534 | } | |
535 | 535 | else if ($isInstanceOf(I, "Unit")) | |
536 | 536 | then { | |
537 | 537 | let ck = I | |
538 | 538 | "WAVES" | |
539 | 539 | } | |
540 | 540 | else throw("Match error") | |
541 | 541 | } | |
542 | 542 | ||
543 | 543 | ||
544 | 544 | func cl (cm,aN) = if (cm) | |
545 | 545 | then $Tuple2("lockNeutrino", R) | |
546 | 546 | else $Tuple2("unlockNeutrino", R) | |
547 | 547 | ||
548 | 548 | ||
549 | 549 | func cn (cm,co,aN) = if (cm) | |
550 | 550 | then { | |
551 | 551 | let cp = cl(cm, aN) | |
552 | 552 | let cq = cp._1 | |
553 | 553 | let cr = cp._2 | |
554 | 554 | $Tuple4(cq, cr, nil, [AttachedPayment(aN, co)]) | |
555 | 555 | } | |
556 | 556 | else { | |
557 | 557 | let cs = cl(cm, aN) | |
558 | 558 | let cq = cs._1 | |
559 | 559 | let cr = cs._2 | |
560 | 560 | $Tuple4(cq, cr, [co, toBase58String(aN)], nil) | |
561 | 561 | } | |
562 | 562 | ||
563 | 563 | ||
564 | 564 | func cm (co,ct) = if (containsElement(W, ct)) | |
565 | 565 | then { | |
566 | 566 | let cu = cn(true, co, fromBase58String(ct)) | |
567 | 567 | let cq = cu._1 | |
568 | 568 | let cv = cu._2 | |
569 | 569 | let cw = cu._3 | |
570 | 570 | let cx = cu._4 | |
571 | 571 | invoke(cv, cq, cw, cx) | |
572 | 572 | } | |
573 | 573 | else 0 | |
574 | 574 | ||
575 | 575 | ||
576 | 576 | func cy (co,ct) = if (containsElement(W, ct)) | |
577 | 577 | then { | |
578 | 578 | let cz = cn(false, co, fromBase58String(ct)) | |
579 | 579 | let cq = cz._1 | |
580 | 580 | let cv = cz._2 | |
581 | 581 | let cw = cz._3 | |
582 | 582 | let cx = cz._4 | |
583 | 583 | invoke(cv, cq, cw, cx) | |
584 | 584 | } | |
585 | 585 | else 0 | |
586 | 586 | ||
587 | 587 | ||
588 | 588 | func cA (aN) = { | |
589 | 589 | let cB = { | |
590 | 590 | let I = aN | |
591 | 591 | if ($isInstanceOf(I, "ByteVector")) | |
592 | 592 | then { | |
593 | 593 | let cC = I | |
594 | 594 | if ((cC == V)) | |
595 | 595 | then getInteger(R, ((("rpd_balance_" + toBase58String(cC)) + "_") + toString(this))) | |
596 | 596 | else 0 | |
597 | 597 | } | |
598 | 598 | else if ($isInstanceOf(I, "Unit")) | |
599 | 599 | then 0 | |
600 | 600 | else throw("Match error") | |
601 | 601 | } | |
602 | 602 | let I = cB | |
603 | 603 | if ($isInstanceOf(I, "Int")) | |
604 | 604 | then { | |
605 | 605 | let ao = I | |
606 | 606 | ao | |
607 | 607 | } | |
608 | 608 | else 0 | |
609 | 609 | } | |
610 | 610 | ||
611 | 611 | ||
612 | 612 | func cD () = { | |
613 | 613 | let cE = aK() | |
614 | 614 | func cF (aM,aN) = { | |
615 | 615 | let cG = aM | |
616 | 616 | let cH = cG._1 | |
617 | 617 | let ao = cG._2 | |
618 | 618 | if (cH) | |
619 | 619 | then $Tuple2(cH, ao) | |
620 | 620 | else { | |
621 | 621 | let cI = (assetBalance(this, fromBase58String(aN)) + cA(fromBase58String(aN))) | |
622 | 622 | if ((cE[ao] > cI)) | |
623 | 623 | then $Tuple2(true, ao) | |
624 | 624 | else $Tuple2(false, (ao + 1)) | |
625 | 625 | } | |
626 | 626 | } | |
627 | 627 | ||
628 | 628 | let aO = ah | |
629 | 629 | let aP = size(aO) | |
630 | 630 | let aQ = $Tuple2(false, 0) | |
631 | 631 | func aR (aS,aT) = if ((aT >= aP)) | |
632 | 632 | then aS | |
633 | 633 | else cF(aS, aO[aT]) | |
634 | 634 | ||
635 | 635 | func aU (aS,aT) = if ((aT >= aP)) | |
636 | 636 | then aS | |
637 | 637 | else throw("List size exceeds 10") | |
638 | 638 | ||
639 | 639 | aU(aR(aR(aR(aR(aR(aR(aR(aR(aR(aR(aQ, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
640 | 640 | } | |
641 | 641 | ||
642 | 642 | ||
643 | 643 | func cJ (ao) = aj(("Suspicious state with asset: " + ah[ao])) | |
644 | 644 | ||
645 | 645 | ||
646 | 646 | func cK (bR,cx) = { | |
647 | 647 | func cL (aM,cM) = (aM :+ ScriptTransfer(bR, cM.amount, cM.assetId)) | |
648 | 648 | ||
649 | 649 | let aO = cx | |
650 | 650 | let aP = size(aO) | |
651 | 651 | let aQ = nil | |
652 | 652 | func aR (aS,aT) = if ((aT >= aP)) | |
653 | 653 | then aS | |
654 | 654 | else cL(aS, aO[aT]) | |
655 | 655 | ||
656 | 656 | func aU (aS,aT) = if ((aT >= aP)) | |
657 | 657 | then aS | |
658 | 658 | else throw("List size exceeds 10") | |
659 | 659 | ||
660 | 660 | aU(aR(aR(aR(aR(aR(aR(aR(aR(aR(aR(aQ, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
661 | 661 | } | |
662 | 662 | ||
663 | 663 | ||
664 | 664 | func cN (cO) = { | |
665 | 665 | let cP = valueOrErrorMessage(getInteger(this, o), "No dAppThresholdCoef key") | |
666 | 666 | let cQ = 10000 | |
667 | 667 | let cR = max(cO) | |
668 | 668 | let cS = min(cO) | |
669 | 669 | let cT = fraction(cR, cQ, cS) | |
670 | 670 | if ((cT > (cP * cQ))) | |
671 | 671 | then throw("New balance in assets of the DApp is less than threshold") | |
672 | 672 | else false | |
673 | 673 | } | |
674 | 674 | ||
675 | 675 | ||
676 | 676 | func cU (ah) = { | |
677 | 677 | let cV = split(ah, ",") | |
678 | 678 | if ((size(cV) > 10)) | |
679 | 679 | then throw("To many coins, max coins size 10") | |
680 | 680 | else { | |
681 | 681 | func cW (cX,aN) = { | |
682 | 682 | let cY = valueOrErrorMessage(fromBase58String(aN), ("fromBase58String: " + aN)) | |
683 | 683 | let cZ = valueOrErrorMessage(assetInfo(cY), ("assetInfo: " + aN)).decimals | |
684 | 684 | if ((cZ != d)) | |
685 | 685 | then throw("wrong decimals") | |
686 | 686 | else false | |
687 | 687 | } | |
688 | 688 | ||
689 | 689 | let aO = cV | |
690 | 690 | let aP = size(aO) | |
691 | 691 | let aQ = false | |
692 | 692 | func aR (aS,aT) = if ((aT >= aP)) | |
693 | 693 | then aS | |
694 | 694 | else cW(aS, aO[aT]) | |
695 | 695 | ||
696 | 696 | func aU (aS,aT) = if ((aT >= aP)) | |
697 | 697 | then aS | |
698 | 698 | else throw("List size exceeds 10") | |
699 | 699 | ||
700 | 700 | aU(aR(aR(aR(aR(aR(aR(aR(aR(aR(aR(aQ, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
701 | 701 | } | |
702 | 702 | } | |
703 | 703 | ||
704 | 704 | ||
705 | 705 | @Callable(da) | |
706 | 706 | func D (aW,ba) = { | |
707 | 707 | let bn = bc(aW, ba) | |
708 | 708 | $Tuple2([IntegerEntry("D", bn)], bn) | |
709 | 709 | } | |
710 | 710 | ||
711 | 711 | ||
712 | 712 | ||
713 | 713 | @Callable(da) | |
714 | 714 | func init (ah,aF,db) = if (!(isDataStorageUntouched(this))) | |
715 | 715 | then throw("Already initialized") | |
716 | 716 | else if ((0 >= aF)) | |
717 | 717 | then throw("Amp must be must > 0") | |
718 | 718 | else if ((0 >= db)) | |
719 | 719 | then throw("dApp Threshold Coef must be > 0") | |
720 | 720 | else { | |
721 | 721 | let dc = "s_Multi_USD" | |
722 | 722 | let dd = ("ShareToken of SwopFi protocol for MultiStable USD pool at address " + toString(this)) | |
723 | 723 | let de = Issue(dc, dd, 0, 6, true) | |
724 | 724 | let df = calculateAssetId(de) | |
725 | 725 | if (cU(ah)) | |
726 | 726 | then throw() | |
727 | 727 | else [StringEntry(g, f), StringEntry(h, ah), IntegerEntry("initial_A", aF), IntegerEntry("future_A", aF), IntegerEntry(n, getIntegerValue(F, "base_fee_flat")), StringEntry(l, toBase58String(df)), IntegerEntry(m, 0), IntegerEntry(o, db), BooleanEntry(j, true), de] | |
728 | 728 | } | |
729 | 729 | ||
730 | 730 | ||
731 | 731 | ||
732 | 732 | @Callable(da) | |
733 | 733 | func addLiquidity (dg,dh,di) = valueOrElse(am(), { | |
734 | 734 | let ba = aF() | |
735 | 735 | let aW = aK() | |
736 | 736 | let bV = if ((Z == 0)) | |
737 | 737 | then 0 | |
738 | 738 | else bq(aW, ba) | |
739 | - | let dj = if ((size(da.payments) > ai)) | |
739 | + | let dj = if (if ((di > 0)) | |
740 | + | then (da.payments[(size(da.payments) - 1)].assetId == unit) | |
741 | + | else false) | |
740 | 742 | then $Tuple2(removeByIndex(da.payments, (size(da.payments) - 1)), [da.payments[(size(da.payments) - 1)]]) | |
741 | 743 | else $Tuple2(da.payments, nil) | |
742 | 744 | let cx = dj._1 | |
743 | 745 | let dk = dj._2 | |
744 | 746 | let dl = size(cx) | |
745 | 747 | func dm (dn) = if ((dl > ai)) | |
746 | 748 | then throw(("payments size > " + toString(ai))) | |
747 | 749 | else if ((1 > dl)) | |
748 | 750 | then throw("payments size < 1") | |
749 | 751 | else if (if ((Z == 0)) | |
750 | 752 | then (ai != dl) | |
751 | 753 | else false) | |
752 | 754 | then throw("initial deposit requires all coins") | |
753 | 755 | else { | |
754 | 756 | func do (aM,cM) = if (containsElement(ah, ci(cM.assetId))) | |
755 | 757 | then true | |
756 | 758 | else throw("Invalid asset in payment") | |
757 | 759 | ||
758 | 760 | let aO = cx | |
759 | 761 | let aP = size(aO) | |
760 | 762 | let aQ = false | |
761 | 763 | func aR (aS,aT) = if ((aT >= aP)) | |
762 | 764 | then aS | |
763 | 765 | else do(aS, aO[aT]) | |
764 | 766 | ||
765 | 767 | func aU (aS,aT) = if ((aT >= aP)) | |
766 | 768 | then aS | |
767 | 769 | else throw("List size exceeds 10") | |
768 | 770 | ||
769 | 771 | aU(aR(aR(aR(aR(aR(aR(aR(aR(aR(aR(aQ, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
770 | 772 | } | |
771 | 773 | ||
772 | 774 | if (!(dm(dl))) | |
773 | 775 | then throw() | |
774 | 776 | else { | |
775 | 777 | let cH = cD() | |
776 | 778 | if (cH._1) | |
777 | 779 | then (cJ(cH._2) ++ cK(da.caller, cx)) | |
778 | 780 | else { | |
779 | 781 | func cL (aM,aN) = { | |
780 | 782 | let dp = aM | |
781 | 783 | let cO = dp._1 | |
782 | 784 | let ao = dp._2 | |
783 | 785 | func dq (dr,cM) = if ((ci(cM.assetId) == aN)) | |
784 | 786 | then (dr + cM.amount) | |
785 | 787 | else dr | |
786 | 788 | ||
787 | 789 | let ds = { | |
788 | 790 | let aO = cx | |
789 | 791 | let aP = size(aO) | |
790 | 792 | let aQ = aW[ao] | |
791 | 793 | func aR (aS,aT) = if ((aT >= aP)) | |
792 | 794 | then aS | |
793 | 795 | else dq(aS, aO[aT]) | |
794 | 796 | ||
795 | 797 | func aU (aS,aT) = if ((aT >= aP)) | |
796 | 798 | then aS | |
797 | 799 | else throw("List size exceeds 10") | |
798 | 800 | ||
799 | 801 | aU(aR(aR(aR(aR(aR(aR(aR(aR(aR(aR(aQ, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
800 | 802 | } | |
801 | 803 | $Tuple2((cO :+ ds), (ao + 1)) | |
802 | 804 | } | |
803 | 805 | ||
804 | 806 | let dt = { | |
805 | 807 | let aO = ah | |
806 | 808 | let aP = size(aO) | |
807 | 809 | let aQ = $Tuple2(nil, 0) | |
808 | 810 | func aR (aS,aT) = if ((aT >= aP)) | |
809 | 811 | then aS | |
810 | 812 | else cL(aS, aO[aT]) | |
811 | 813 | ||
812 | 814 | func aU (aS,aT) = if ((aT >= aP)) | |
813 | 815 | then aS | |
814 | 816 | else throw("List size exceeds 10") | |
815 | 817 | ||
816 | 818 | aU(aR(aR(aR(aR(aR(aR(aR(aR(aR(aR(aQ, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
817 | 819 | } | |
818 | 820 | let cO = dt._1 | |
819 | 821 | let du = dt._2 | |
820 | 822 | if (cN(cO)) | |
821 | 823 | then throw() | |
822 | 824 | else { | |
823 | 825 | let bW = bq(cO, ba) | |
824 | 826 | if (av((bW > bV))) | |
825 | 827 | then throw("D1 > D0") | |
826 | 828 | else { | |
827 | 829 | let bS = ax(da.caller) | |
828 | 830 | func dv (aM,dr) = { | |
829 | 831 | let dw = aM | |
830 | 832 | let dx = dw._1 | |
831 | 833 | let dy = dw._2 | |
832 | 834 | let ao = dw._3 | |
833 | 835 | if ((Z > 0)) | |
834 | 836 | then { | |
835 | 837 | let bT = ((fraction(ab, bS, aa, CEILING) * ai) / (4 * (ai - 1))) | |
836 | 838 | let dz = { | |
837 | 839 | let dA = fraction(bW, aW[ao], bV) | |
838 | 840 | let dB = if ((dA > dr)) | |
839 | 841 | then (dA - dr) | |
840 | 842 | else (dr - dA) | |
841 | 843 | fraction(bT, dB, aa) | |
842 | 844 | } | |
843 | 845 | let dC = fraction(dz, ac, aa) | |
844 | 846 | let dD = (dr - dz) | |
845 | 847 | let dE = (dr - dz) | |
846 | 848 | let dF = (dr - aW[ao]) | |
847 | 849 | let dG = (dz - dC) | |
848 | 850 | let dH = if ((dF > 0)) | |
849 | 851 | then cm((dF - dz), ah[ao]) | |
850 | 852 | else cy(dz, ah[ao]) | |
851 | 853 | if ((dH == dH)) | |
852 | 854 | then { | |
853 | 855 | let dI = if ((dG > 0)) | |
854 | 856 | then invoke(U, "airDrop", nil, [AttachedPayment(fromBase58String(ah[ao]), dG)]) | |
855 | 857 | else 0 | |
856 | 858 | if ((dI == dI)) | |
857 | 859 | then $Tuple3((dx :+ dE), (dy ++ [ScriptTransfer(P, dC, fromBase58String(ah[ao])), IntegerEntry((ah[ao] + i), dD)]), (ao + 1)) | |
858 | 860 | else throw("Strict value is not equal to itself.") | |
859 | 861 | } | |
860 | 862 | else throw("Strict value is not equal to itself.") | |
861 | 863 | } | |
862 | 864 | else { | |
863 | 865 | let dH = cm(dr, ah[ao]) | |
864 | 866 | if ((dH == dH)) | |
865 | 867 | then $Tuple3((dx :+ dr), (dy :+ IntegerEntry((ah[ao] + i), dr)), (ao + 1)) | |
866 | 868 | else throw("Strict value is not equal to itself.") | |
867 | 869 | } | |
868 | 870 | } | |
869 | 871 | ||
870 | 872 | let dJ = { | |
871 | 873 | let aO = cO | |
872 | 874 | let aP = size(aO) | |
873 | 875 | let aQ = $Tuple3(nil, nil, 0) | |
874 | 876 | func bl (aS,aT) = if ((aT >= aP)) | |
875 | 877 | then aS | |
876 | 878 | else dv(aS, aO[aT]) | |
877 | 879 | ||
878 | 880 | func bm (aS,aT) = if ((aT >= aP)) | |
879 | 881 | then aS | |
880 | 882 | else throw("List size exceeds 10") | |
881 | 883 | ||
882 | 884 | bm(bl(bl(bl(bl(bl(bl(bl(bl(bl(bl(aQ, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
883 | 885 | } | |
884 | 886 | let dx = dJ._1 | |
885 | 887 | let dy = dJ._2 | |
886 | 888 | let dK = bq(dx, ba) | |
887 | 889 | let dL = if ((Z == 0)) | |
888 | 890 | then bW | |
889 | 891 | else fraction(Z, (dK - bV), bV) | |
890 | 892 | if (av((dL >= dg))) | |
891 | 893 | then throw("Slippage screwed you") | |
892 | 894 | else if (dh) | |
893 | 895 | then { | |
894 | 896 | let dM = invoke(this, "reissueShare", [dL], nil) | |
895 | 897 | if ((dM == dM)) | |
896 | 898 | then { | |
897 | 899 | let dN = invoke(T, "lockShareTokens", [toString(this), di], ([AttachedPayment(Y, dL)] ++ dk)) | |
898 | 900 | if ((dN == dN)) | |
899 | 901 | then (dy :+ IntegerEntry(m, (Z + dL))) | |
900 | 902 | else throw("Strict value is not equal to itself.") | |
901 | 903 | } | |
902 | 904 | else throw("Strict value is not equal to itself.") | |
903 | 905 | } | |
904 | 906 | else (dy ++ [Reissue(Y, dL, true), ScriptTransfer(da.caller, dL, Y), IntegerEntry(m, (Z + dL))]) | |
905 | 907 | } | |
906 | 908 | } | |
907 | 909 | } | |
908 | 910 | } | |
909 | 911 | }) | |
910 | 912 | ||
911 | 913 | ||
912 | 914 | ||
913 | 915 | @Callable(da) | |
914 | 916 | func calcMintAmount (cO,az) = { | |
915 | 917 | let ba = aF() | |
916 | 918 | let aW = aK() | |
917 | 919 | let bW = bq(cO, ba) | |
918 | 920 | if ((Z == 0)) | |
919 | 921 | then $Tuple2(nil, bW) | |
920 | 922 | else { | |
921 | 923 | let bV = bq(aW, ba) | |
922 | 924 | let bS = ax(az) | |
923 | 925 | func dO (aM,dr) = { | |
924 | 926 | let dP = aM | |
925 | 927 | let dx = dP._1 | |
926 | 928 | let ao = dP._2 | |
927 | 929 | let bT = ((fraction(ab, bS, aa, CEILING) * ai) / (4 * (ai - 1))) | |
928 | 930 | let dz = { | |
929 | 931 | let dA = fraction(bW, aW[ao], bV) | |
930 | 932 | let dB = if ((dA > dr)) | |
931 | 933 | then (dA - dr) | |
932 | 934 | else (dr - dA) | |
933 | 935 | fraction(bT, dB, aa) | |
934 | 936 | } | |
935 | 937 | let dE = (dr - dz) | |
936 | 938 | $Tuple2((dx :+ dE), (ao + 1)) | |
937 | 939 | } | |
938 | 940 | ||
939 | 941 | let dQ = { | |
940 | 942 | let aO = cO | |
941 | 943 | let aP = size(aO) | |
942 | 944 | let aQ = $Tuple2(nil, 0) | |
943 | 945 | func aR (aS,aT) = if ((aT >= aP)) | |
944 | 946 | then aS | |
945 | 947 | else dO(aS, aO[aT]) | |
946 | 948 | ||
947 | 949 | func aU (aS,aT) = if ((aT >= aP)) | |
948 | 950 | then aS | |
949 | 951 | else throw("List size exceeds 10") | |
950 | 952 | ||
951 | 953 | aU(aR(aR(aR(aR(aR(aR(aR(aR(aR(aR(aQ, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
952 | 954 | } | |
953 | 955 | let dx = dQ._1 | |
954 | 956 | let du = dQ._2 | |
955 | 957 | let dK = bq(dx, ba) | |
956 | 958 | let dR = fraction(Z, (dK - bV), bV) | |
957 | 959 | $Tuple2(nil, dR) | |
958 | 960 | } | |
959 | 961 | } | |
960 | 962 | ||
961 | 963 | ||
962 | 964 | ||
963 | 965 | @Callable(da) | |
964 | 966 | func reissueShare (co) = valueOrElse(ap(da), [Reissue(Y, co, true)]) | |
965 | 967 | ||
966 | 968 | ||
967 | 969 | ||
968 | 970 | @Callable(da) | |
969 | 971 | func getDy (dS,dT,dU,dV) = { | |
970 | 972 | let aW = aK() | |
971 | 973 | let dW = valueOrErrorMessage(indexOf(ah, dS), "unknown token in") | |
972 | 974 | let dX = valueOrErrorMessage(indexOf(ah, dT), "unknown token out") | |
973 | 975 | let bu = (aW[dW] + dU) | |
974 | 976 | let bH = br(dW, dX, bu, aW) | |
975 | 977 | let ch = ((aW[dX] - bH) - 1) | |
976 | 978 | let bS = ax(Address(fromBase58String(dV))) | |
977 | 979 | let bT = fraction(fraction(ab, bS, aa, CEILING), ch, aa) | |
978 | 980 | $Tuple2(nil, $Tuple2((ch - bT), bT)) | |
979 | 981 | } | |
980 | 982 | ||
981 | 983 | ||
982 | 984 | ||
983 | 985 | @Callable(da) | |
984 | 986 | func exchange (dY,dZ) = valueOrElse(am(), if ((size(da.payments) != 1)) | |
985 | 987 | then throw("size(payments) != 1") | |
986 | 988 | else { | |
987 | 989 | let cH = cD() | |
988 | 990 | if (cH._1) | |
989 | 991 | then (cJ(cH._2) ++ cK(da.caller, da.payments)) | |
990 | 992 | else { | |
991 | 993 | let cM = da.payments[0] | |
992 | 994 | let ea = ci(cM.assetId) | |
993 | 995 | let eb = fromBase58String(dY) | |
994 | 996 | let dU = cM.amount | |
995 | 997 | let dW = valueOrErrorMessage(indexOf(ah, ea), "unknown token in") | |
996 | 998 | let dX = valueOrErrorMessage(indexOf(ah, dY), "unknown token out") | |
997 | 999 | let aW = aK() | |
998 | 1000 | let bu = (aW[dW] + dU) | |
999 | 1001 | let bH = br(dW, dX, bu, aW) | |
1000 | 1002 | let ec = ((aW[dX] - bH) - 1) | |
1001 | 1003 | let bS = ax(da.originCaller) | |
1002 | 1004 | let bT = fraction(ec, fraction(ab, bS, aa, CEILING), aa) | |
1003 | 1005 | let ch = (ec - bT) | |
1004 | 1006 | let dC = fraction(bT, ac, aa) | |
1005 | 1007 | if (av((ch >= dZ))) | |
1006 | 1008 | then throw("Exchange resulted in fewer coins than expected") | |
1007 | 1009 | else { | |
1008 | 1010 | func ed (aM,ee) = { | |
1009 | 1011 | let ef = aM | |
1010 | 1012 | let cO = ef._1 | |
1011 | 1013 | let ao = ef._2 | |
1012 | 1014 | if ((ao == dW)) | |
1013 | 1015 | then $Tuple2((cO :+ (ee + dU)), (ao + 1)) | |
1014 | 1016 | else if ((ao == dX)) | |
1015 | 1017 | then $Tuple2((cO :+ (ee - ec)), (ao + 1)) | |
1016 | 1018 | else $Tuple2((cO :+ ee), (ao + 1)) | |
1017 | 1019 | } | |
1018 | 1020 | ||
1019 | 1021 | let eg = { | |
1020 | 1022 | let aO = aW | |
1021 | 1023 | let aP = size(aO) | |
1022 | 1024 | let aQ = $Tuple2(nil, 0) | |
1023 | 1025 | func aR (aS,aT) = if ((aT >= aP)) | |
1024 | 1026 | then aS | |
1025 | 1027 | else ed(aS, aO[aT]) | |
1026 | 1028 | ||
1027 | 1029 | func aU (aS,aT) = if ((aT >= aP)) | |
1028 | 1030 | then aS | |
1029 | 1031 | else throw("List size exceeds 10") | |
1030 | 1032 | ||
1031 | 1033 | aU(aR(aR(aR(aR(aR(aR(aR(aR(aR(aR(aQ, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
1032 | 1034 | } | |
1033 | 1035 | let cO = eg._1 | |
1034 | 1036 | let ao = eg._2 | |
1035 | 1037 | if (cN(cO)) | |
1036 | 1038 | then throw() | |
1037 | 1039 | else { | |
1038 | 1040 | let dN = cm(cM.amount, ci(cM.assetId)) | |
1039 | 1041 | if ((dN == dN)) | |
1040 | 1042 | then { | |
1041 | 1043 | let eh = cy(ec, dY) | |
1042 | 1044 | if ((eh == eh)) | |
1043 | 1045 | then { | |
1044 | 1046 | let dG = (bT - dC) | |
1045 | 1047 | let dI = if ((dG > 0)) | |
1046 | 1048 | then invoke(U, "airDrop", nil, [AttachedPayment(eb, dG)]) | |
1047 | 1049 | else 0 | |
1048 | 1050 | if ((dI == dI)) | |
1049 | 1051 | then $Tuple2([IntegerEntry((ea + i), bu), IntegerEntry((dY + i), (aW[dX] - ec)), ScriptTransfer(da.caller, ch, eb), ScriptTransfer(P, dC, eb)], [ch, eb]) | |
1050 | 1052 | else throw("Strict value is not equal to itself.") | |
1051 | 1053 | } | |
1052 | 1054 | else throw("Strict value is not equal to itself.") | |
1053 | 1055 | } | |
1054 | 1056 | else throw("Strict value is not equal to itself.") | |
1055 | 1057 | } | |
1056 | 1058 | } | |
1057 | 1059 | } | |
1058 | 1060 | }) | |
1059 | 1061 | ||
1060 | 1062 | ||
1061 | 1063 | ||
1062 | 1064 | @Callable(da) | |
1063 | 1065 | func withdraw (ei) = valueOrElse(am(), if ((size(da.payments) != 1)) | |
1064 | 1066 | then throw("size(payments) != 1") | |
1065 | 1067 | else { | |
1066 | 1068 | let ej = da.payments[0].amount | |
1067 | 1069 | let ek = da.payments[0].assetId | |
1068 | 1070 | if ((Y != ek)) | |
1069 | 1071 | then throw("unknown payment token") | |
1070 | 1072 | else { | |
1071 | 1073 | let cH = cD() | |
1072 | 1074 | if (cH._1) | |
1073 | 1075 | then (cJ(cH._2) ++ cK(da.originCaller, da.payments)) | |
1074 | 1076 | else { | |
1075 | 1077 | func dv (aM,el) = { | |
1076 | 1078 | let em = aM | |
1077 | 1079 | let dy = em._1 | |
1078 | 1080 | let ao = em._2 | |
1079 | 1081 | let en = fraction(el, ej, Z) | |
1080 | 1082 | if (av((en >= ei[ao]))) | |
1081 | 1083 | then throw("Withdrawal resulted in fewer coins than expected") | |
1082 | 1084 | else { | |
1083 | 1085 | let eh = cy(en, ah[ao]) | |
1084 | 1086 | if ((eh == eh)) | |
1085 | 1087 | then $Tuple2((dy ++ [IntegerEntry((ah[ao] + i), (el - en)), ScriptTransfer(da.originCaller, en, fromBase58String(ah[ao]))]), (ao + 1)) | |
1086 | 1088 | else throw("Strict value is not equal to itself.") | |
1087 | 1089 | } | |
1088 | 1090 | } | |
1089 | 1091 | ||
1090 | 1092 | let eo = { | |
1091 | 1093 | let aO = aK() | |
1092 | 1094 | let aP = size(aO) | |
1093 | 1095 | let aQ = $Tuple2(nil, 0) | |
1094 | 1096 | func aR (aS,aT) = if ((aT >= aP)) | |
1095 | 1097 | then aS | |
1096 | 1098 | else dv(aS, aO[aT]) | |
1097 | 1099 | ||
1098 | 1100 | func aU (aS,aT) = if ((aT >= aP)) | |
1099 | 1101 | then aS | |
1100 | 1102 | else throw("List size exceeds 10") | |
1101 | 1103 | ||
1102 | 1104 | aU(aR(aR(aR(aR(aR(aR(aR(aR(aR(aR(aQ, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
1103 | 1105 | } | |
1104 | 1106 | let dy = eo._1 | |
1105 | 1107 | let ao = eo._2 | |
1106 | 1108 | (dy ++ [Burn(Y, ej), IntegerEntry(m, (Z - ej))]) | |
1107 | 1109 | } | |
1108 | 1110 | } | |
1109 | 1111 | }) | |
1110 | 1112 | ||
1111 | 1113 | ||
1112 | 1114 | ||
1113 | 1115 | @Callable(da) | |
1114 | 1116 | func withdrawWithUnlock (ei,ep) = valueOrElse(am(), if ((0 >= ep)) | |
1115 | 1117 | then throw("Unlock amount must be positive") | |
1116 | 1118 | else { | |
1117 | 1119 | let cH = cD() | |
1118 | 1120 | if (cH._1) | |
1119 | 1121 | then (cJ(cH._2) ++ cK(da.caller, da.payments)) | |
1120 | 1122 | else { | |
1121 | 1123 | let ej = if ((size(da.payments) > 0)) | |
1122 | 1124 | then if ((size(da.payments) != 1)) | |
1123 | 1125 | then throw("size(payments) != 1") | |
1124 | 1126 | else { | |
1125 | 1127 | let ek = da.payments[0].assetId | |
1126 | 1128 | if ((Y != ek)) | |
1127 | 1129 | then throw("unknown payment token") | |
1128 | 1130 | else da.payments[0].amount | |
1129 | 1131 | } | |
1130 | 1132 | else 0 | |
1131 | 1133 | let eq = invoke(T, "withdrawShareTokens", [toString(this), ep], nil) | |
1132 | 1134 | if ((eq == eq)) | |
1133 | 1135 | then { | |
1134 | 1136 | let er = (ej + ep) | |
1135 | 1137 | let dH = invoke(this, "withdraw", [ei], [AttachedPayment(Y, er)]) | |
1136 | 1138 | if ((dH == dH)) | |
1137 | 1139 | then nil | |
1138 | 1140 | else throw("Strict value is not equal to itself.") | |
1139 | 1141 | } | |
1140 | 1142 | else throw("Strict value is not equal to itself.") | |
1141 | 1143 | } | |
1142 | 1144 | }) | |
1143 | 1145 | ||
1144 | 1146 | ||
1145 | 1147 | ||
1146 | 1148 | @Callable(da) | |
1147 | 1149 | func calcWithdrawOneCoin (es,dY,az) = if ((0 >= es)) | |
1148 | 1150 | then throw("Amount must be positive") | |
1149 | 1151 | else { | |
1150 | 1152 | let ao = valueOrErrorMessage(indexOf(ah, dY), "unknown token out") | |
1151 | 1153 | $Tuple2(nil, bP(aK(), es, ao, Address(fromBase58String(az)))._1) | |
1152 | 1154 | } | |
1153 | 1155 | ||
1154 | 1156 | ||
1155 | 1157 | ||
1156 | 1158 | @Callable(da) | |
1157 | 1159 | func withdrawOneCoin (dY,et) = valueOrElse(am(), if ((size(da.payments) != 1)) | |
1158 | 1160 | then throw("size(payments) != 1") | |
1159 | 1161 | else { | |
1160 | 1162 | let cH = cD() | |
1161 | 1163 | if (cH._1) | |
1162 | 1164 | then (cJ(cH._2) ++ cK(da.originCaller, da.payments)) | |
1163 | 1165 | else { | |
1164 | 1166 | let ej = da.payments[0].amount | |
1165 | 1167 | let ek = da.payments[0].assetId | |
1166 | 1168 | if ((ek != Y)) | |
1167 | 1169 | then throw("unknown token") | |
1168 | 1170 | else { | |
1169 | 1171 | let eu = valueOrErrorMessage(indexOf(ah, dY), "unknown token out") | |
1170 | 1172 | let eb = fromBase58String(dY) | |
1171 | 1173 | let aW = aK() | |
1172 | 1174 | let ev = bP(aW, ej, eu, da.originCaller) | |
1173 | 1175 | let ch = ev._1 | |
1174 | 1176 | let ew = ev._2 | |
1175 | 1177 | if (av((ch >= et))) | |
1176 | 1178 | then throw("Not enough coins removed") | |
1177 | 1179 | else { | |
1178 | 1180 | let dC = fraction(ew, ac, aa) | |
1179 | 1181 | let ex = (ch + ew) | |
1180 | 1182 | func ed (aM,ee) = { | |
1181 | 1183 | let ey = aM | |
1182 | 1184 | let cO = ey._1 | |
1183 | 1185 | let ao = ey._2 | |
1184 | 1186 | if ((ao == eu)) | |
1185 | 1187 | then $Tuple2((cO :+ (ee - ex)), (ao + 1)) | |
1186 | 1188 | else $Tuple2((cO :+ ee), (ao + 1)) | |
1187 | 1189 | } | |
1188 | 1190 | ||
1189 | 1191 | let ez = { | |
1190 | 1192 | let aO = aW | |
1191 | 1193 | let aP = size(aO) | |
1192 | 1194 | let aQ = $Tuple2(nil, 0) | |
1193 | 1195 | func aR (aS,aT) = if ((aT >= aP)) | |
1194 | 1196 | then aS | |
1195 | 1197 | else ed(aS, aO[aT]) | |
1196 | 1198 | ||
1197 | 1199 | func aU (aS,aT) = if ((aT >= aP)) | |
1198 | 1200 | then aS | |
1199 | 1201 | else throw("List size exceeds 10") | |
1200 | 1202 | ||
1201 | 1203 | aU(aR(aR(aR(aR(aR(aR(aR(aR(aR(aR(aQ, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
1202 | 1204 | } | |
1203 | 1205 | let cO = ez._1 | |
1204 | 1206 | let eA = ez._2 | |
1205 | 1207 | if (cN(cO)) | |
1206 | 1208 | then throw() | |
1207 | 1209 | else { | |
1208 | 1210 | let eh = cy(ex, dY) | |
1209 | 1211 | if ((eh == eh)) | |
1210 | 1212 | then { | |
1211 | 1213 | let dG = (ew - dC) | |
1212 | 1214 | let dI = if ((dG > 0)) | |
1213 | 1215 | then invoke(U, "airDrop", nil, [AttachedPayment(eb, dG)]) | |
1214 | 1216 | else 0 | |
1215 | 1217 | if ((dI == dI)) | |
1216 | 1218 | then [ScriptTransfer(da.originCaller, ch, eb), IntegerEntry((ah[eu] + i), (aW[eu] - ex)), Burn(Y, ej), ScriptTransfer(P, dC, eb), IntegerEntry(m, (Z - ej))] | |
1217 | 1219 | else throw("Strict value is not equal to itself.") | |
1218 | 1220 | } | |
1219 | 1221 | else throw("Strict value is not equal to itself.") | |
1220 | 1222 | } | |
1221 | 1223 | } | |
1222 | 1224 | } | |
1223 | 1225 | } | |
1224 | 1226 | }) | |
1225 | 1227 | ||
1226 | 1228 | ||
1227 | 1229 | ||
1228 | 1230 | @Callable(da) | |
1229 | 1231 | func withdrawOneCoinWithUnlock (dY,et,ep) = valueOrElse(am(), if ((0 >= ep)) | |
1230 | 1232 | then throw("Unlock amount must be positive") | |
1231 | 1233 | else { | |
1232 | 1234 | let cH = cD() | |
1233 | 1235 | if (cH._1) | |
1234 | 1236 | then (cJ(cH._2) ++ cK(da.caller, da.payments)) | |
1235 | 1237 | else { | |
1236 | 1238 | let ej = if ((size(da.payments) > 0)) | |
1237 | 1239 | then if ((size(da.payments) != 1)) | |
1238 | 1240 | then throw("size(payments) != 1") | |
1239 | 1241 | else { | |
1240 | 1242 | let ek = da.payments[0].assetId | |
1241 | 1243 | if ((Y != ek)) | |
1242 | 1244 | then throw("unknown payment token") | |
1243 | 1245 | else da.payments[0].amount | |
1244 | 1246 | } | |
1245 | 1247 | else 0 | |
1246 | 1248 | let eq = invoke(T, "withdrawShareTokens", [toString(this), ep], nil) | |
1247 | 1249 | if ((eq == eq)) | |
1248 | 1250 | then { | |
1249 | 1251 | let er = (ej + ep) | |
1250 | 1252 | let dH = invoke(this, "withdrawOneCoin", [dY, et], [AttachedPayment(Y, er)]) | |
1251 | 1253 | if ((dH == dH)) | |
1252 | 1254 | then nil | |
1253 | 1255 | else throw("Strict value is not equal to itself.") | |
1254 | 1256 | } | |
1255 | 1257 | else throw("Strict value is not equal to itself.") | |
1256 | 1258 | } | |
1257 | 1259 | }) | |
1258 | 1260 | ||
1259 | 1261 | ||
1260 | 1262 | ||
1261 | 1263 | @Callable(da) | |
1262 | 1264 | func A () = $Tuple2(nil, aF()) | |
1263 | 1265 | ||
1264 | 1266 | ||
1265 | 1267 | ||
1266 | 1268 | @Callable(da) | |
1267 | 1269 | func getVirtualPrice () = { | |
1268 | 1270 | let bn = aZ(aK(), aF()) | |
1269 | 1271 | $Tuple2(nil, fraction(bn, a, Z)) | |
1270 | 1272 | } | |
1271 | 1273 | ||
1272 | 1274 | ||
1273 | 1275 | ||
1274 | 1276 | @Callable(da) | |
1275 | 1277 | func calcTokenAmount (eB,eC) = { | |
1276 | 1278 | let ba = aF() | |
1277 | 1279 | let eD = aK() | |
1278 | 1280 | let bV = bq(eD, ba) | |
1279 | 1281 | func eE (aM,el) = { | |
1280 | 1282 | let eF = aM | |
1281 | 1283 | let cO = eF._1 | |
1282 | 1284 | let ao = eF._2 | |
1283 | 1285 | let dr = (el + (if (eC) | |
1284 | 1286 | then eB[ao] | |
1285 | 1287 | else -(eB[ao]))) | |
1286 | 1288 | $Tuple2((cO :+ dr), (ao + 1)) | |
1287 | 1289 | } | |
1288 | 1290 | ||
1289 | 1291 | let cO = ( let aO = eD | |
1290 | 1292 | let aP = size(aO) | |
1291 | 1293 | let aQ = $Tuple2(nil, 0) | |
1292 | 1294 | func aR (aS,aT) = if ((aT >= aP)) | |
1293 | 1295 | then aS | |
1294 | 1296 | else eE(aS, aO[aT]) | |
1295 | 1297 | ||
1296 | 1298 | func aU (aS,aT) = if ((aT >= aP)) | |
1297 | 1299 | then aS | |
1298 | 1300 | else throw("List size exceeds 10") | |
1299 | 1301 | ||
1300 | 1302 | aU(aR(aR(aR(aR(aR(aR(aR(aR(aR(aR(aQ, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10))._1 | |
1301 | 1303 | let bW = bq(cO, ba) | |
1302 | 1304 | let eG = if (eC) | |
1303 | 1305 | then (bW - bV) | |
1304 | 1306 | else (bV - bW) | |
1305 | 1307 | $Tuple2(nil, fraction(eG, Z, bV)) | |
1306 | 1308 | } | |
1307 | 1309 | ||
1308 | 1310 | ||
1309 | 1311 | ||
1310 | 1312 | @Callable(da) | |
1311 | 1313 | func rampA (eH,eI) = valueOrElse(am(), valueOrElse(an(da), if (av((au >= (af + e)))) | |
1312 | 1314 | then throw("too often") | |
1313 | 1315 | else if (av((eI >= (au + e)))) | |
1314 | 1316 | then throw("insufficient time") | |
1315 | 1317 | else { | |
1316 | 1318 | let eJ = aF() | |
1317 | 1319 | if (av(if ((eH > 0)) | |
1318 | 1320 | then (b > eH) | |
1319 | 1321 | else false)) | |
1320 | 1322 | then throw("out of base range") | |
1321 | 1323 | else if (av(if (if ((eH >= eJ)) | |
1322 | 1324 | then ((eJ * c) >= eH) | |
1323 | 1325 | else false) | |
1324 | 1326 | then true | |
1325 | 1327 | else if ((eJ > eH)) | |
1326 | 1328 | then ((eH * c) >= eJ) | |
1327 | 1329 | else false)) | |
1328 | 1330 | then throw("out of range") | |
1329 | 1331 | else [IntegerEntry("initial_A", eJ), IntegerEntry("future_A", eH), IntegerEntry("initial_A_time", au), IntegerEntry("future_A_time", eI)] | |
1330 | 1332 | })) | |
1331 | 1333 | ||
1332 | 1334 | ||
1333 | 1335 | ||
1334 | 1336 | @Callable(da) | |
1335 | 1337 | func stopRampA () = valueOrElse(am(), valueOrElse(an(da), { | |
1336 | 1338 | let eK = aF() | |
1337 | 1339 | [IntegerEntry("initial_A", eK), IntegerEntry("future_A", eK), IntegerEntry("initial_A_time", au), IntegerEntry("future_A_time", au)] | |
1338 | 1340 | })) | |
1339 | 1341 | ||
1340 | 1342 | ||
1341 | 1343 | ||
1342 | 1344 | @Callable(da) | |
1343 | 1345 | func shutdown () = valueOrElse(an(da), if (!(X)) | |
1344 | 1346 | then throw(("DApp is already suspended. Cause: " + valueOrElse(getString(this, k), "the cause wasn't specified"))) | |
1345 | 1347 | else aj("Paused by admin")) | |
1346 | 1348 | ||
1347 | 1349 | ||
1348 | 1350 | ||
1349 | 1351 | @Callable(da) | |
1350 | 1352 | func activate () = valueOrElse(an(da), if (X) | |
1351 | 1353 | then al() | |
1352 | 1354 | else [BooleanEntry(j, true), DeleteEntry(k)]) | |
1353 | 1355 | ||
1354 | 1356 | ||
1355 | 1357 | ||
1356 | 1358 | @Callable(da) | |
1357 | 1359 | func takeIntoAccountExtraFunds () = valueOrElse(am(), if ((da.caller != P)) | |
1358 | 1360 | then throw("Only the wallet can call this function") | |
1359 | 1361 | else { | |
1360 | 1362 | let eD = aK() | |
1361 | 1363 | func eL (aM,aN) = { | |
1362 | 1364 | let eM = aM | |
1363 | 1365 | let eN = eM._1 | |
1364 | 1366 | let ao = eM._2 | |
1365 | 1367 | let eO = fromBase58String(aN) | |
1366 | 1368 | let eP = (assetBalance(this, eO) + cA(eO)) | |
1367 | 1369 | let eQ = (eP - eD[ao]) | |
1368 | 1370 | if ((0 > eQ)) | |
1369 | 1371 | then aj(("Enroll amount negative for asset" + aN)) | |
1370 | 1372 | else { | |
1371 | 1373 | let dI = if ((eQ > 0)) | |
1372 | 1374 | then invoke(U, "airDrop", nil, [AttachedPayment(eO, eQ)]) | |
1373 | 1375 | else 0 | |
1374 | 1376 | if ((dI == dI)) | |
1375 | 1377 | then $Tuple2((eN + eQ), (ao + 1)) | |
1376 | 1378 | else throw("Strict value is not equal to itself.") | |
1377 | 1379 | } | |
1378 | 1380 | } | |
1379 | 1381 | ||
1380 | 1382 | let du = { | |
1381 | 1383 | let aO = ah | |
1382 | 1384 | let aP = size(aO) | |
1383 | 1385 | let aQ = $Tuple2(0, 0) | |
1384 | 1386 | func aR (aS,aT) = if ((aT >= aP)) | |
1385 | 1387 | then aS | |
1386 | 1388 | else eL(aS, aO[aT]) | |
1387 | 1389 | ||
1388 | 1390 | func aU (aS,aT) = if ((aT >= aP)) | |
1389 | 1391 | then aS | |
1390 | 1392 | else throw("List size exceeds 10") | |
1391 | 1393 | ||
1392 | 1394 | aU(aR(aR(aR(aR(aR(aR(aR(aR(aR(aR(aQ, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
1393 | 1395 | } | |
1394 | 1396 | if ((du._1 == 0)) | |
1395 | 1397 | then throw("No money to take") | |
1396 | 1398 | else nil | |
1397 | 1399 | }) | |
1398 | 1400 | ||
1399 | 1401 | ||
1400 | 1402 | @Verifier(eR) | |
1401 | 1403 | func eS () = { | |
1402 | 1404 | let eT = { | |
1403 | 1405 | let eU = if (sigVerify(eR.bodyBytes, eR.proofs[0], L)) | |
1404 | 1406 | then 1 | |
1405 | 1407 | else 0 | |
1406 | 1408 | let eV = if (sigVerify(eR.bodyBytes, eR.proofs[1], M)) | |
1407 | 1409 | then 1 | |
1408 | 1410 | else 0 | |
1409 | 1411 | let eW = if (sigVerify(eR.bodyBytes, eR.proofs[2], N)) | |
1410 | 1412 | then 1 | |
1411 | 1413 | else 0 | |
1412 | 1414 | (((eU + eV) + eW) >= 2) | |
1413 | 1415 | } | |
1414 | 1416 | let I = eR | |
1415 | 1417 | if ($isInstanceOf(I, "InvokeScriptTransaction")) | |
1416 | 1418 | then { | |
1417 | 1419 | let dH = I | |
1418 | 1420 | let eX = if ((dH.dApp == this)) | |
1419 | 1421 | then (dH.function == "takeIntoAccountExtraFunds") | |
1420 | 1422 | else false | |
1421 | 1423 | let eY = if (if (if (sigVerify(eR.bodyBytes, eR.proofs[0], L)) | |
1422 | 1424 | then true | |
1423 | 1425 | else sigVerify(eR.bodyBytes, eR.proofs[0], M)) | |
1424 | 1426 | then true | |
1425 | 1427 | else sigVerify(eR.bodyBytes, eR.proofs[0], N)) | |
1426 | 1428 | then true | |
1427 | 1429 | else sigVerify(eR.bodyBytes, eR.proofs[0], O) | |
1428 | 1430 | if (if (eX) | |
1429 | 1431 | then eY | |
1430 | 1432 | else false) | |
1431 | 1433 | then true | |
1432 | 1434 | else eT | |
1433 | 1435 | } | |
1434 | 1436 | else eT | |
1435 | 1437 | } | |
1436 | 1438 |
github/deemru/w8io/026f985 143.11 ms ◑