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