tx · 6nCkg3KWZnwtjP2GRvYp18f9ZZaw6RUmcphaXGeT8SG7 3N8PGkzXhbtTvEwEQTtE2xiTJmsDEQ9XfoZ: -0.01400000 Waves 2021.12.27 19:40 [1852912] smart account 3N8PGkzXhbtTvEwEQTtE2xiTJmsDEQ9XfoZ > SELF 0.00000000 Waves
{ "type": 13, "id": "6nCkg3KWZnwtjP2GRvYp18f9ZZaw6RUmcphaXGeT8SG7", "fee": 1400000, "feeAssetId": null, "timestamp": 1640623289015, "version": 2, "chainId": 84, "sender": "3N8PGkzXhbtTvEwEQTtE2xiTJmsDEQ9XfoZ", "senderPublicKey": "7WzEEH5cUmDkngGNfobqryxPJytYHPRdsTeFuZYSiSdk", "proofs": [ "3ZCr1cbzo8sdiTBZygdQvPKRZbuwzUaDm74jW56K7SLmpK68GXY2jco491sftBBXx3VyRRBSQhtLsNrGdUfPZvd5", "to2V3bNWJYBJFeuFNUXF8mzBCZabA11XpNP8J9LMM1Qnp6f4H1uj8RMBzzt9up38Lg4dRxpUvNo5AA2ZqHXhYGc" ], "script": "base64:AAIFAAAAAAAAACoIAhIDCgEEEgcKBQEBCAgEEgMKAQESAwoBARIAEgMKAQESABIAEgMKAQEAAABUAAAAAAd2ZXJzaW9uAgAAAAUxLjAuMAAAAAAKa2V5VmVyc2lvbgIAAAAHdmVyc2lvbgAAAAAJa2V5QWN0aXZlAgAAAAZhY3RpdmUAAAAAC2tleUFzc2V0SWRBAgAAAApBX2Fzc2V0X2lkAAAAAAtrZXlBc3NldElkQgIAAAAKQl9hc3NldF9pZAAAAAALa2V5QmFsYW5jZUECAAAAD0FfYXNzZXRfYmFsYW5jZQAAAAALa2V5QmFsYW5jZUICAAAAD0JfYXNzZXRfYmFsYW5jZQAAAAAPa2V5QmFsYW5jZUluaXRBAgAAAAxBX2Fzc2V0X2luaXQAAAAAD2tleUJhbGFuY2VJbml0QgIAAAAMQl9hc3NldF9pbml0AAAAAA9rZXlTaGFyZUFzc2V0SWQCAAAADnNoYXJl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2V4Y2hhbmdlVG9XYXZlcwYFAAAAD2V4Y2hhbmdlVG9OU0JUcwUAAAANc2lnbmVkQnlBZG1pbgcGBQAAABNtdWx0aVNpZ25lZEJ5QWRtaW5zBQAAABNtdWx0aVNpZ25lZEJ5QWRtaW5zYbjx+w==", "height": 1852912, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 3kymVs35c5rqYNo1AGRKf4ygmyBD65FZfVHYu3AXg2bQ Next: 7bBoTecBoP8eATYadPNi3rFWz7REMwxfBA5TgHNWtybQ Diff:
Old | New | Differences | |
---|---|---|---|
645 | 645 | let ct = if (if (if ((cq.dApp == R)) | |
646 | 646 | then (cq.function == "exchange") | |
647 | 647 | else false) | |
648 | - | then ( | |
648 | + | then (ac == L) | |
649 | 649 | else false) | |
650 | - | then if ((cq.payments[0].assetId == L)) | |
651 | - | then true | |
652 | - | else (cq.payments[0].assetId == unit) | |
653 | - | else false | |
650 | + | then true | |
651 | + | else if (if ((ad == L)) | |
652 | + | then (size(cq.payments) == 1) | |
653 | + | else false) | |
654 | + | then (cq.payments[0].assetId == L) | |
655 | + | else false | |
654 | 656 | let cu = if (if (if ((cq.dApp == S)) | |
655 | 657 | then (cq.function == "exchange") | |
656 | 658 | else false) |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 5 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = "1.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 = "A_asset_init" | |
19 | 19 | ||
20 | 20 | let i = "B_asset_init" | |
21 | 21 | ||
22 | 22 | let j = "share_asset_id" | |
23 | 23 | ||
24 | 24 | let k = "share_asset_supply" | |
25 | 25 | ||
26 | 26 | let l = "commission" | |
27 | 27 | ||
28 | 28 | let m = "commission_scale_delimiter" | |
29 | 29 | ||
30 | 30 | let n = "shutdown_cause" | |
31 | 31 | ||
32 | 32 | let o = "first_harvest" | |
33 | 33 | ||
34 | 34 | let p = "first_harvest_height" | |
35 | 35 | ||
36 | 36 | let q = "share_limit_on_first_harvest" | |
37 | 37 | ||
38 | 38 | let r = "base_period" | |
39 | 39 | ||
40 | 40 | let s = "period_length" | |
41 | 41 | ||
42 | 42 | let t = "start_height" | |
43 | 43 | ||
44 | 44 | let u = "first_harvest_height" | |
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 = Address(base58'3NBBWfzZtZtszaXbitTKnrB2xXwv26Bn7H9') | |
53 | 53 | ||
54 | 54 | func z (A) = { | |
55 | 55 | let B = getString(y, A) | |
56 | 56 | if ($isInstanceOf(B, "String")) | |
57 | 57 | then { | |
58 | 58 | let C = B | |
59 | 59 | fromBase58String(C) | |
60 | 60 | } | |
61 | 61 | else { | |
62 | 62 | let D = B | |
63 | 63 | throw("Admin public key is empty") | |
64 | 64 | } | |
65 | 65 | } | |
66 | 66 | ||
67 | 67 | ||
68 | 68 | let E = z(v) | |
69 | 69 | ||
70 | 70 | let F = z(w) | |
71 | 71 | ||
72 | 72 | let G = z(x) | |
73 | 73 | ||
74 | 74 | let H = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK' | |
75 | 75 | ||
76 | 76 | let I = base58'Kn7NpzaG12dLZgcHf2ipUftU6hbJygmrhFqQYE4B7ZK' | |
77 | 77 | ||
78 | 78 | let J = Address(base58'3NAGTtZz6WpupSN89NZD5rMZwwziZEg4Kx4') | |
79 | 79 | ||
80 | 80 | let K = Address(base58'3MrJgdL1GniipErHy44YF9idzLaUL2iX5DQ') | |
81 | 81 | ||
82 | 82 | let L = base58'8UrfDVd5GreeUwm7uPk7eYz1eMv376kzR52C6sANPkwS' | |
83 | 83 | ||
84 | 84 | let M = base58'36mg8NZTaFRDygiVwb8uBnLR51hetJruUCZcxhaVcHj9' | |
85 | 85 | ||
86 | 86 | let N = base58'2HAJrwa8q4SxBx9cHYaBTQdBjdk5wwqdof7ccpAx2uhZ' | |
87 | 87 | ||
88 | 88 | let O = base58'ECBCkHS68DckpBrzLeoRgYbFg7sCVqR176mPqbXsj9pA' | |
89 | 89 | ||
90 | 90 | let P = Address(base58'3N6q7sCGSSLBUXDdjBdYGTJbZGZfhhh8cNg') | |
91 | 91 | ||
92 | 92 | let Q = Address(base58'3MyVqAbmKWh339gF6hy8faWw1jGeTV2wnGE') | |
93 | 93 | ||
94 | 94 | let R = Address(base58'3N8PGkzXhbtTvEwEQTtE2xiTJmsDEQ9XfoZ') | |
95 | 95 | ||
96 | 96 | let S = Address(base58'3MqW1t2cxdYy2emEMk3YtZkRwQPhHaTfWRe') | |
97 | 97 | ||
98 | 98 | let T = 270000 | |
99 | 99 | ||
100 | 100 | let U = 234000 | |
101 | 101 | ||
102 | 102 | let V = valueOrErrorMessage(getInteger(K, r), "Empty kBasePeriod") | |
103 | 103 | ||
104 | 104 | let W = valueOrErrorMessage(getInteger(K, t), "Empty kStartHeight") | |
105 | 105 | ||
106 | 106 | let X = valueOrErrorMessage(getInteger(K, s), "Empty kPeriodLength") | |
107 | 107 | ||
108 | 108 | let Y = ((V + ((height - W) / X)) + 3) | |
109 | 109 | ||
110 | 110 | let Z = getBooleanValue(this, c) | |
111 | 111 | ||
112 | 112 | let aa = getStringValue(this, d) | |
113 | 113 | ||
114 | 114 | let ab = getStringValue(this, e) | |
115 | 115 | ||
116 | 116 | let ac = if ((aa == "WAVES")) | |
117 | 117 | then unit | |
118 | 118 | else fromBase58String(aa) | |
119 | 119 | ||
120 | 120 | let ad = if ((ab == "WAVES")) | |
121 | 121 | then unit | |
122 | 122 | else fromBase58String(ab) | |
123 | 123 | ||
124 | 124 | let ae = { | |
125 | 125 | let B = ac | |
126 | 126 | if ($isInstanceOf(B, "ByteVector")) | |
127 | 127 | then { | |
128 | 128 | let af = B | |
129 | 129 | value(assetInfo(af)).name | |
130 | 130 | } | |
131 | 131 | else if ($isInstanceOf(B, "Unit")) | |
132 | 132 | then { | |
133 | 133 | let ag = B | |
134 | 134 | "WAVES" | |
135 | 135 | } | |
136 | 136 | else throw("Match error") | |
137 | 137 | } | |
138 | 138 | ||
139 | 139 | let ah = { | |
140 | 140 | let B = ad | |
141 | 141 | if ($isInstanceOf(B, "ByteVector")) | |
142 | 142 | then { | |
143 | 143 | let af = B | |
144 | 144 | value(assetInfo(af)).name | |
145 | 145 | } | |
146 | 146 | else if ($isInstanceOf(B, "Unit")) | |
147 | 147 | then { | |
148 | 148 | let ag = B | |
149 | 149 | "WAVES" | |
150 | 150 | } | |
151 | 151 | else throw("Match error") | |
152 | 152 | } | |
153 | 153 | ||
154 | 154 | let ai = getIntegerValue(this, f) | |
155 | 155 | ||
156 | 156 | let aj = getIntegerValue(this, g) | |
157 | 157 | ||
158 | 158 | let ak = fromBase58String(getStringValue(this, j)) | |
159 | 159 | ||
160 | 160 | let al = getIntegerValue(this, k) | |
161 | 161 | ||
162 | 162 | let am = 3000 | |
163 | 163 | ||
164 | 164 | let an = 1200 | |
165 | 165 | ||
166 | 166 | let ao = 1000000 | |
167 | 167 | ||
168 | 168 | let ap = 1000 | |
169 | 169 | ||
170 | 170 | let aq = 100000000 | |
171 | 171 | ||
172 | 172 | let ar = 1000 | |
173 | 173 | ||
174 | 174 | let as = 8 | |
175 | 175 | ||
176 | 176 | func at (au) = { | |
177 | 177 | let B = au | |
178 | 178 | if ($isInstanceOf(B, "ByteVector")) | |
179 | 179 | then { | |
180 | 180 | let af = B | |
181 | 181 | assetBalance(this, af) | |
182 | 182 | } | |
183 | 183 | else if ($isInstanceOf(B, "Unit")) | |
184 | 184 | then { | |
185 | 185 | let ag = B | |
186 | 186 | wavesBalance(this).available | |
187 | 187 | } | |
188 | 188 | else throw("Match error") | |
189 | 189 | } | |
190 | 190 | ||
191 | 191 | ||
192 | 192 | func av (au) = { | |
193 | 193 | let aw = { | |
194 | 194 | let B = au | |
195 | 195 | if ($isInstanceOf(B, "ByteVector")) | |
196 | 196 | then { | |
197 | 197 | let ax = B | |
198 | 198 | if (if ((ax == L)) | |
199 | 199 | then true | |
200 | 200 | else (ax == M)) | |
201 | 201 | then getInteger(P, ((("rpd_balance_" + toBase58String(ax)) + "_") + toString(this))) | |
202 | 202 | else if ((ax == O)) | |
203 | 203 | then getInteger(Q, ((("%s%s%s__stakingBalance__" + toBase58String(ax)) + "__") + toString(this))) | |
204 | 204 | else 0 | |
205 | 205 | } | |
206 | 206 | else if ($isInstanceOf(B, "Unit")) | |
207 | 207 | then 0 | |
208 | 208 | else throw("Match error") | |
209 | 209 | } | |
210 | 210 | let B = aw | |
211 | 211 | if ($isInstanceOf(B, "Int")) | |
212 | 212 | then { | |
213 | 213 | let ay = B | |
214 | 214 | ay | |
215 | 215 | } | |
216 | 216 | else 0 | |
217 | 217 | } | |
218 | 218 | ||
219 | 219 | ||
220 | 220 | let az = av(ac) | |
221 | 221 | ||
222 | 222 | let aA = av(ad) | |
223 | 223 | ||
224 | 224 | let aB = getIntegerValue(this, h) | |
225 | 225 | ||
226 | 226 | let aC = getIntegerValue(this, i) | |
227 | 227 | ||
228 | 228 | let aD = (ai - az) | |
229 | 229 | ||
230 | 230 | let aE = (aj - aA) | |
231 | 231 | ||
232 | 232 | let aF = (at(ac) + az) | |
233 | 233 | ||
234 | 234 | let aG = (at(ad) + aA) | |
235 | 235 | ||
236 | 236 | let aH = if ((aF >= ai)) | |
237 | 237 | then (aG >= aj) | |
238 | 238 | else false | |
239 | 239 | ||
240 | 240 | func aI (au) = { | |
241 | 241 | let B = au | |
242 | 242 | if ($isInstanceOf(B, "ByteVector")) | |
243 | 243 | then { | |
244 | 244 | let af = B | |
245 | 245 | let aJ = toBase58String(af) | |
246 | 246 | let aK = valueOrErrorMessage(assetInfo(af), (("Asset " + aJ) + " doesn't exist")) | |
247 | 247 | $Tuple3(aJ, aK.name, aK.decimals) | |
248 | 248 | } | |
249 | 249 | else if ($isInstanceOf(B, "Unit")) | |
250 | 250 | then { | |
251 | 251 | let ag = B | |
252 | 252 | $Tuple3("WAVES", "WAVES", 8) | |
253 | 253 | } | |
254 | 254 | else throw("Match error") | |
255 | 255 | } | |
256 | 256 | ||
257 | 257 | ||
258 | 258 | func aL (aM) = if ((aM == "WAVES")) | |
259 | 259 | then $Tuple3("WAVES", "WAVES", 8) | |
260 | 260 | else { | |
261 | 261 | let aJ = aM | |
262 | 262 | let af = fromBase58String(aM) | |
263 | 263 | let aK = valueOrErrorMessage(assetInfo(af), (("Asset " + aJ) + " doesn't exist")) | |
264 | 264 | $Tuple3(aJ, aK.name, aK.decimals) | |
265 | 265 | } | |
266 | 266 | ||
267 | 267 | ||
268 | 268 | func aN (aO) = [BooleanEntry(c, false), StringEntry(n, aO)] | |
269 | 269 | ||
270 | 270 | ||
271 | 271 | func aP (aQ,au,aR) = if (if ((au == L)) | |
272 | 272 | then true | |
273 | 273 | else (au == O)) | |
274 | 274 | then { | |
275 | 275 | let aS = if ((au == L)) | |
276 | 276 | then (T * (if ((aR == M)) | |
277 | 277 | then 2 | |
278 | 278 | else 1)) | |
279 | 279 | else if ((au == O)) | |
280 | 280 | then U | |
281 | 281 | else 0 | |
282 | 282 | let aT = (aQ - aS) | |
283 | 283 | if ((0 >= aT)) | |
284 | 284 | then throw((((("Insufficient amount " + toString(aQ)) + " to deduct staking fee ") + toString(aS)) + "USDN/EURN")) | |
285 | 285 | else aT | |
286 | 286 | } | |
287 | 287 | else aQ | |
288 | 288 | ||
289 | 289 | ||
290 | 290 | func aU (au,aR) = if ((au == L)) | |
291 | 291 | then (T * (if ((aR == M)) | |
292 | 292 | then 2 | |
293 | 293 | else 1)) | |
294 | 294 | else if ((au == O)) | |
295 | 295 | then U | |
296 | 296 | else 0 | |
297 | 297 | ||
298 | 298 | ||
299 | 299 | func aV (aQ,aW,aX) = throw((((((((("Insufficient DApp balance to pay " + toString(aQ)) + " ") + aX) + " due to staking. Available: ") + toString(aW)) + " ") + aX) + ". Please contact support in Telegram: https://t.me/swopfisupport")) | |
300 | 300 | ||
301 | 301 | ||
302 | 302 | func aY (aZ,ba) = throw((((((((((((((((("Insufficient DApp balance to pay " + toString(aZ)) + " ") + ae) + " and ") + toString(ba)) + " ") + ah) + " due to staking. Available: ") + toString(aD)) + " ") + ae) + " and ") + toString(aE)) + " ") + ah) + ". Please contact support in Telegram: https://t.me/swopfisupport")) | |
303 | 303 | ||
304 | 304 | ||
305 | 305 | func bb () = aN(((((((((((((((("Suspicious state. Actual balances: " + toString(aF)) + " ") + ae) + ", ") + toString(aG)) + " ") + ah) + ". State: ") + toString(ai)) + " ") + ae) + ", ") + toString(aj)) + " ") + ah)) | |
306 | 306 | ||
307 | 307 | ||
308 | 308 | @Callable(ay) | |
309 | 309 | func init (bc) = { | |
310 | 310 | let bd = $Tuple2(ay.payments[0].amount, ay.payments[0].assetId) | |
311 | 311 | let be = bd._1 | |
312 | 312 | let bf = bd._2 | |
313 | 313 | let bg = $Tuple2(ay.payments[1].amount, ay.payments[1].assetId) | |
314 | 314 | let bh = bg._1 | |
315 | 315 | let bi = bg._2 | |
316 | 316 | let bj = aI(bf) | |
317 | 317 | let bk = bj._1 | |
318 | 318 | let bl = bj._2 | |
319 | 319 | let bm = bj._3 | |
320 | 320 | let bn = aI(bi) | |
321 | 321 | let bo = bn._1 | |
322 | 322 | let bp = bn._2 | |
323 | 323 | let bq = bn._3 | |
324 | 324 | if (!(containsElement([E, F, G, I], ay.callerPublicKey))) | |
325 | 325 | then throw("Only admin can call this function") | |
326 | 326 | else if (isDefined(getBoolean(this, c))) | |
327 | 327 | then throw("DApp is already active") | |
328 | 328 | else if ((bf == bi)) | |
329 | 329 | then throw("Assets must be different") | |
330 | 330 | else { | |
331 | 331 | let br = ((("s" + take(bl, 7)) + "_") + take(bp, 7)) | |
332 | 332 | let bs = ((((("ShareToken of SwopFi protocol for " + bl) + " and ") + bp) + " at address ") + toString(this)) | |
333 | 333 | let bt = ((bm + bq) / 2) | |
334 | 334 | let bu = pow(be, bm, 5, 1, bm, DOWN) | |
335 | 335 | let bv = pow(bh, bq, 5, 1, bq, DOWN) | |
336 | 336 | let bw = pow(10, 0, bt, 0, 0, DOWN) | |
337 | 337 | let bx = fraction(bu, bv, bw) | |
338 | 338 | let by = Issue(br, bs, bx, bt, true) | |
339 | 339 | let bz = calculateAssetId(by) | |
340 | 340 | let bA = [StringEntry(b, a), BooleanEntry(c, true), StringEntry(d, bk), StringEntry(e, bo), IntegerEntry(f, be), IntegerEntry(g, bh), IntegerEntry(l, am), IntegerEntry(m, ao), by, StringEntry(j, toBase58String(bz)), IntegerEntry(k, bx), ScriptTransfer(ay.caller, bx, bz)] | |
341 | 341 | if (bc) | |
342 | 342 | then (bA ++ [BooleanEntry(o, bc), IntegerEntry(p, (W + (Y * X)))]) | |
343 | 343 | else bA | |
344 | 344 | } | |
345 | 345 | } | |
346 | 346 | ||
347 | 347 | ||
348 | 348 | ||
349 | 349 | @Callable(ay) | |
350 | 350 | func initWithInitRatio (bB,bC,aa,ab,bc) = { | |
351 | 351 | let bD = aL(aa) | |
352 | 352 | let bk = bD._1 | |
353 | 353 | let bl = bD._2 | |
354 | 354 | let bm = bD._3 | |
355 | 355 | let bE = aL(ab) | |
356 | 356 | let bo = bE._1 | |
357 | 357 | let bp = bE._2 | |
358 | 358 | let bq = bE._3 | |
359 | 359 | if (!(containsElement([E, F, G, I], ay.callerPublicKey))) | |
360 | 360 | then throw("Only admin can call this function") | |
361 | 361 | else if (isDefined(getBoolean(this, c))) | |
362 | 362 | then throw("DApp is already active") | |
363 | 363 | else if ((aa == ab)) | |
364 | 364 | then throw("Assets must be different") | |
365 | 365 | else { | |
366 | 366 | let br = ((("s" + take(bl, 7)) + "_") + take(bp, 7)) | |
367 | 367 | let bs = ((((("ShareToken of SwopFi protocol for " + bl) + " and ") + bp) + " at address ") + toString(this)) | |
368 | 368 | let bt = ((bm + bq) / 2) | |
369 | 369 | let bx = 0 | |
370 | 370 | let by = Issue(br, bs, bx, bt, true) | |
371 | 371 | let bz = calculateAssetId(by) | |
372 | 372 | let bA = [StringEntry(b, a), BooleanEntry(c, true), StringEntry(d, bk), StringEntry(e, bo), IntegerEntry(h, bB), IntegerEntry(i, bC), IntegerEntry(f, 0), IntegerEntry(g, 0), IntegerEntry(l, am), IntegerEntry(m, ao), by, StringEntry(j, toBase58String(bz)), IntegerEntry(k, bx)] | |
373 | 373 | if (bc) | |
374 | 374 | then (bA ++ [BooleanEntry(o, bc), IntegerEntry(p, (W + (Y * X)))]) | |
375 | 375 | else bA | |
376 | 376 | } | |
377 | 377 | } | |
378 | 378 | ||
379 | 379 | ||
380 | 380 | ||
381 | 381 | @Callable(ay) | |
382 | 382 | func keepLimitForFirstHarvest (bF) = if (!(Z)) | |
383 | 383 | then throw("DApp is inactive at this moment") | |
384 | 384 | else if (!(containsElement([E, F, G, I], ay.callerPublicKey))) | |
385 | 385 | then throw("Only admin can call this function") | |
386 | 386 | else [IntegerEntry(q, bF)] | |
387 | 387 | ||
388 | 388 | ||
389 | 389 | ||
390 | 390 | @Callable(ay) | |
391 | 391 | func replenishWithTwoTokens (bG) = { | |
392 | 392 | let bf = ay.payments[0].assetId | |
393 | 393 | let bi = ay.payments[1].assetId | |
394 | 394 | let be = aP(ay.payments[0].amount, bf, bi) | |
395 | 395 | let bh = aP(ay.payments[1].amount, bi, bf) | |
396 | 396 | if (if ((ai == 0)) | |
397 | 397 | then (aj == 0) | |
398 | 398 | else false) | |
399 | 399 | then { | |
400 | 400 | let bH = aI(bf) | |
401 | 401 | let bk = bH._1 | |
402 | 402 | let bl = bH._2 | |
403 | 403 | let bm = bH._3 | |
404 | 404 | let bI = aI(bi) | |
405 | 405 | let bo = bI._1 | |
406 | 406 | let bp = bI._2 | |
407 | 407 | let bq = bI._3 | |
408 | 408 | let bJ = fraction(fraction(aB, aq, be), ap, fraction(aC, aq, bh)) | |
409 | 409 | if ((bf == bi)) | |
410 | 410 | then throw("Assets must be different") | |
411 | 411 | else { | |
412 | 412 | let bt = ((bm + bq) / 2) | |
413 | 413 | let bx = fraction(pow(be, bm, 5, 1, bm, DOWN), pow(bh, bq, 5, 1, bq, DOWN), pow(10, 0, bt, 0, 0, DOWN)) | |
414 | 414 | if (!(Z)) | |
415 | 415 | then throw("DApp is inactive at this moment") | |
416 | 416 | else if (if ((0 > bG)) | |
417 | 417 | then true | |
418 | 418 | else (bG > ar)) | |
419 | 419 | then throw(((("Slippage tolerance must be between 0 and " + toString(ar)) + " inclusively. Actual: ") + toString(bG))) | |
420 | 420 | else if ((size(ay.payments) != 2)) | |
421 | 421 | then throw("Two attached assets expected") | |
422 | 422 | else if (if ((((ap * (ar - bG)) / ar) > bJ)) | |
423 | 423 | then true | |
424 | 424 | else (bJ > ((ap * (ar + bG)) / ar))) | |
425 | 425 | then throw("Incorrect assets amount: amounts must have the contract ratio") | |
426 | 426 | else if (if ((bf != ac)) | |
427 | 427 | then true | |
428 | 428 | else (bi != ad)) | |
429 | 429 | then throw(((("Incorrect assets attached. Expected: " + aa) + " and ") + ab)) | |
430 | 430 | else if ((bx == 0)) | |
431 | 431 | then throw("Too small amount to replenish") | |
432 | 432 | else if (!(aH)) | |
433 | 433 | then ([ScriptTransfer(ay.caller, be, bf), ScriptTransfer(ay.caller, bh, bi)] ++ bb()) | |
434 | 434 | else [Reissue(ak, bx, true), IntegerEntry(f, be), IntegerEntry(g, bh), IntegerEntry(k, bx), ScriptTransfer(ay.caller, bx, ak)] | |
435 | 435 | } | |
436 | 436 | } | |
437 | 437 | else { | |
438 | 438 | let bJ = fraction(fraction(ai, aq, be), ap, fraction(aj, aq, bh)) | |
439 | 439 | let bK = fraction(be, aq, ai) | |
440 | 440 | let bL = fraction(bh, aq, aj) | |
441 | 441 | let bM = fraction(min([bK, bL]), al, aq) | |
442 | 442 | if (!(Z)) | |
443 | 443 | then throw("DApp is inactive at this moment") | |
444 | 444 | else if (if ((0 > bG)) | |
445 | 445 | then true | |
446 | 446 | else (bG > ar)) | |
447 | 447 | then throw(((("Slippage tolerance must be between 0 and " + toString(ar)) + " inclusively. Actual: ") + toString(bG))) | |
448 | 448 | else if ((size(ay.payments) != 2)) | |
449 | 449 | then throw("Two attached assets expected") | |
450 | 450 | else if (if ((bf != ac)) | |
451 | 451 | then true | |
452 | 452 | else (bi != ad)) | |
453 | 453 | then throw(((("Incorrect assets attached. Expected: " + aa) + " and ") + ab)) | |
454 | 454 | else if (if ((((ap * (ar - bG)) / ar) > bJ)) | |
455 | 455 | then true | |
456 | 456 | else (bJ > ((ap * (ar + bG)) / ar))) | |
457 | 457 | then throw("Incorrect assets amount: amounts must have the contract ratio") | |
458 | 458 | else if ((bM == 0)) | |
459 | 459 | then throw("Too small amount to replenish") | |
460 | 460 | else if (!(aH)) | |
461 | 461 | then ([ScriptTransfer(ay.caller, be, bf), ScriptTransfer(ay.caller, bh, bi)] ++ bb()) | |
462 | 462 | else [IntegerEntry(f, (ai + be)), IntegerEntry(g, (aj + bh)), IntegerEntry(k, (al + bM)), Reissue(ak, bM, true), ScriptTransfer(ay.caller, bM, ak)] | |
463 | 463 | } | |
464 | 464 | } | |
465 | 465 | ||
466 | 466 | ||
467 | 467 | ||
468 | 468 | @Callable(ay) | |
469 | 469 | func withdraw () = { | |
470 | 470 | let bN = $Tuple2(ay.payments[0].amount, ay.payments[0].assetId) | |
471 | 471 | let bO = bN._1 | |
472 | 472 | let bP = bN._2 | |
473 | 473 | let bQ = aP(fraction(bO, ai, al), ac, ad) | |
474 | 474 | let bR = aP(fraction(bO, aj, al), ad, ac) | |
475 | 475 | if (!(Z)) | |
476 | 476 | then throw("DApp is inactive at this moment") | |
477 | 477 | else if ((size(ay.payments) != 1)) | |
478 | 478 | then throw("One attached payment expected") | |
479 | 479 | else if ((bP != ak)) | |
480 | 480 | then throw(("Incorrect asset attached. Expected: " + toBase58String(ak))) | |
481 | 481 | else if (!(aH)) | |
482 | 482 | then ([ScriptTransfer(ay.caller, bO, bP)] ++ bb()) | |
483 | 483 | else if (if ((bQ > aD)) | |
484 | 484 | then true | |
485 | 485 | else (bR > aE)) | |
486 | 486 | then aY(bQ, bR) | |
487 | 487 | else [IntegerEntry(f, (ai - bQ)), IntegerEntry(g, (aj - bR)), IntegerEntry(k, (al - bO)), Burn(ak, bO), ScriptTransfer(ay.caller, bQ, ac), ScriptTransfer(ay.caller, bR, ad)] | |
488 | 488 | } | |
489 | 489 | ||
490 | 490 | ||
491 | 491 | ||
492 | 492 | @Callable(ay) | |
493 | 493 | func exchange (bS) = { | |
494 | 494 | let bT = $Tuple2(ay.payments[0].amount, ay.payments[0].assetId) | |
495 | 495 | let bO = bT._1 | |
496 | 496 | let bP = bT._2 | |
497 | 497 | func bU (bV,bW) = { | |
498 | 498 | let bX = fraction(bW, bO, (bO + bV)) | |
499 | 499 | let bY = fraction(bX, (ao - am), ao) | |
500 | 500 | let bZ = fraction(bX, an, ao) | |
501 | 501 | if ((bS > bY)) | |
502 | 502 | then throw(((("Calculated amount to receive " + toString(bY)) + " is less than specified minimum ") + toString(bS))) | |
503 | 503 | else $Tuple3(bX, bY, bZ) | |
504 | 504 | } | |
505 | 505 | ||
506 | 506 | if (!(Z)) | |
507 | 507 | then throw("DApp is inactive at this moment") | |
508 | 508 | else if (if ((ai == 0)) | |
509 | 509 | then true | |
510 | 510 | else (aj == 0)) | |
511 | 511 | then throw("Can't exchange with zero balance") | |
512 | 512 | else if ((0 >= bS)) | |
513 | 513 | then throw(("Minimal amount to receive must be positive. Actual: " + toString(bS))) | |
514 | 514 | else if ((size(ay.payments) != 1)) | |
515 | 515 | then throw("One attached payment expected") | |
516 | 516 | else if (!(aH)) | |
517 | 517 | then ([ScriptTransfer(ay.caller, bO, bP)] ++ bb()) | |
518 | 518 | else if ((bP == ac)) | |
519 | 519 | then { | |
520 | 520 | let ca = ad | |
521 | 521 | let cb = bU(ai, aj) | |
522 | 522 | let bX = cb._1 | |
523 | 523 | let bY = cb._2 | |
524 | 524 | let bZ = cb._3 | |
525 | 525 | let cc = (ai + bO) | |
526 | 526 | let cd = ((aj - bY) - bZ) | |
527 | 527 | if (if ((az >= cc)) | |
528 | 528 | then true | |
529 | 529 | else (aA >= cd)) | |
530 | 530 | then aV(bY, aE, ah) | |
531 | 531 | else [IntegerEntry(f, cc), IntegerEntry(g, cd), ScriptTransfer(ay.caller, bY, ca), ScriptTransfer(J, bZ, ca)] | |
532 | 532 | } | |
533 | 533 | else if ((bP == ad)) | |
534 | 534 | then { | |
535 | 535 | let ca = ac | |
536 | 536 | let ce = bU(aj, ai) | |
537 | 537 | let bX = ce._1 | |
538 | 538 | let bY = ce._2 | |
539 | 539 | let bZ = ce._3 | |
540 | 540 | let cc = ((ai - bY) - bZ) | |
541 | 541 | let cd = (aj + bO) | |
542 | 542 | if (if ((az >= cc)) | |
543 | 543 | then true | |
544 | 544 | else (aA >= cd)) | |
545 | 545 | then aV(bY, aD, ae) | |
546 | 546 | else [IntegerEntry(f, cc), IntegerEntry(g, cd), ScriptTransfer(ay.caller, bY, ca), ScriptTransfer(J, bZ, ca)] | |
547 | 547 | } | |
548 | 548 | else throw(((("Incorrect asset attached. Expected: " + aa) + " or ") + ab)) | |
549 | 549 | } | |
550 | 550 | ||
551 | 551 | ||
552 | 552 | ||
553 | 553 | @Callable(ay) | |
554 | 554 | func shutdown () = if (!(Z)) | |
555 | 555 | then throw(("DApp is already suspended. Cause: " + valueOrElse(getString(this, n), "the cause wasn't specified"))) | |
556 | 556 | else if (!(containsElement([E, F, G, H], ay.callerPublicKey))) | |
557 | 557 | then throw("Only admin can call this function") | |
558 | 558 | else aN("Paused by admin") | |
559 | 559 | ||
560 | 560 | ||
561 | 561 | ||
562 | 562 | @Callable(ay) | |
563 | 563 | func activate () = if (Z) | |
564 | 564 | then throw("DApp is already active") | |
565 | 565 | else if (!(containsElement([E, F, G, H], ay.callerPublicKey))) | |
566 | 566 | then throw("Only admin can call this function") | |
567 | 567 | else [BooleanEntry(c, true), DeleteEntry(n)] | |
568 | 568 | ||
569 | 569 | ||
570 | 570 | ||
571 | 571 | @Callable(ay) | |
572 | 572 | func takeIntoAccountExtraFunds (cf) = { | |
573 | 573 | let cg = (aF - ai) | |
574 | 574 | let ch = (aG - aj) | |
575 | 575 | let ci = (cg - (if ((ac == unit)) | |
576 | 576 | then cf | |
577 | 577 | else 0)) | |
578 | 578 | let cj = (ch - (if ((ad == unit)) | |
579 | 579 | then cf | |
580 | 580 | else 0)) | |
581 | 581 | if (!(Z)) | |
582 | 582 | then throw("DApp is inactive at this moment") | |
583 | 583 | else if ((ay.caller != this)) | |
584 | 584 | then throw("Only the DApp itself can call this function") | |
585 | 585 | else if ((0 > cf)) | |
586 | 586 | then throw(("Argument 'amountLeave' cannot be negative. Actual: " + toString(cf))) | |
587 | 587 | else if (if ((0 > cg)) | |
588 | 588 | then true | |
589 | 589 | else (0 > ch)) | |
590 | 590 | then aN("Enroll amount negative") | |
591 | 591 | else if (if ((0 > ci)) | |
592 | 592 | then true | |
593 | 593 | else (0 > cj)) | |
594 | 594 | then throw("Too large amountLeave") | |
595 | 595 | else [IntegerEntry(f, (ai + ci)), IntegerEntry(g, (aj + cj)), IntegerEntry(("last_income_" + aa), ci), IntegerEntry(("last_income_" + ab), cj)] | |
596 | 596 | } | |
597 | 597 | ||
598 | 598 | ||
599 | 599 | @Verifier(ck) | |
600 | 600 | func cl () = { | |
601 | 601 | let cm = { | |
602 | 602 | let cn = if (sigVerify(ck.bodyBytes, ck.proofs[0], E)) | |
603 | 603 | then 1 | |
604 | 604 | else 0 | |
605 | 605 | let co = if (sigVerify(ck.bodyBytes, ck.proofs[1], F)) | |
606 | 606 | then 1 | |
607 | 607 | else 0 | |
608 | 608 | let cp = if (sigVerify(ck.bodyBytes, ck.proofs[2], G)) | |
609 | 609 | then 1 | |
610 | 610 | else 0 | |
611 | 611 | (((cn + co) + cp) >= 2) | |
612 | 612 | } | |
613 | 613 | let B = ck | |
614 | 614 | if ($isInstanceOf(B, "InvokeScriptTransaction")) | |
615 | 615 | then { | |
616 | 616 | let cq = B | |
617 | 617 | let cr = if ((cq.dApp == this)) | |
618 | 618 | then (cq.function == "takeIntoAccountExtraFunds") | |
619 | 619 | else false | |
620 | 620 | let cs = if (if ((cq.dApp == P)) | |
621 | 621 | then if (if (if (containsElement(["lockNeutrino", "lockNsbt"], cq.function)) | |
622 | 622 | then (size(cq.payments) == 1) | |
623 | 623 | else false) | |
624 | 624 | then if ((cq.payments[0].assetId == L)) | |
625 | 625 | then true | |
626 | 626 | else (cq.payments[0].assetId == M) | |
627 | 627 | else false) | |
628 | 628 | then true | |
629 | 629 | else if (containsElement(["unlockNeutrino", "unlockNsbt"], cq.function)) | |
630 | 630 | then (size(cq.payments) == 0) | |
631 | 631 | else false | |
632 | 632 | else false) | |
633 | 633 | then true | |
634 | 634 | else if ((cq.dApp == Q)) | |
635 | 635 | then if (if (if ((cq.function == "startStaking")) | |
636 | 636 | then (size(cq.payments) == 1) | |
637 | 637 | else false) | |
638 | 638 | then (cq.payments[0].assetId == O) | |
639 | 639 | else false) | |
640 | 640 | then true | |
641 | 641 | else if ((cq.function == "stopStaking")) | |
642 | 642 | then (size(cq.payments) == 0) | |
643 | 643 | else false | |
644 | 644 | else false | |
645 | 645 | let ct = if (if (if ((cq.dApp == R)) | |
646 | 646 | then (cq.function == "exchange") | |
647 | 647 | else false) | |
648 | - | then ( | |
648 | + | then (ac == L) | |
649 | 649 | else false) | |
650 | - | then if ((cq.payments[0].assetId == L)) | |
651 | - | then true | |
652 | - | else (cq.payments[0].assetId == unit) | |
653 | - | else false | |
650 | + | then true | |
651 | + | else if (if ((ad == L)) | |
652 | + | then (size(cq.payments) == 1) | |
653 | + | else false) | |
654 | + | then (cq.payments[0].assetId == L) | |
655 | + | else false | |
654 | 656 | let cu = if (if (if ((cq.dApp == S)) | |
655 | 657 | then (cq.function == "exchange") | |
656 | 658 | else false) | |
657 | 659 | then (ac == M) | |
658 | 660 | else false) | |
659 | 661 | then true | |
660 | 662 | else if (if ((ad == M)) | |
661 | 663 | then (size(cq.payments) == 1) | |
662 | 664 | else false) | |
663 | 665 | then (cq.payments[0].assetId == L) | |
664 | 666 | else false | |
665 | 667 | let cv = if (if (if (sigVerify(ck.bodyBytes, ck.proofs[0], E)) | |
666 | 668 | then true | |
667 | 669 | else sigVerify(ck.bodyBytes, ck.proofs[0], F)) | |
668 | 670 | then true | |
669 | 671 | else sigVerify(ck.bodyBytes, ck.proofs[0], G)) | |
670 | 672 | then true | |
671 | 673 | else sigVerify(ck.bodyBytes, ck.proofs[0], I) | |
672 | 674 | if (if (if (if (if (cr) | |
673 | 675 | then true | |
674 | 676 | else cs) | |
675 | 677 | then true | |
676 | 678 | else ct) | |
677 | 679 | then true | |
678 | 680 | else cu) | |
679 | 681 | then cv | |
680 | 682 | else false) | |
681 | 683 | then true | |
682 | 684 | else cm | |
683 | 685 | } | |
684 | 686 | else cm | |
685 | 687 | } | |
686 | 688 |
github/deemru/w8io/026f985 63.71 ms ◑