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