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