tx · 612pcctwDAZyquQcH24nmRapWHpibBnKLKUYZKpcXRnJ 3NBMCqfSo3ykq7gN5v1iaPUAow4BQZXM5Kc: -0.01000000 Waves 2021.09.09 23:28 [1695992] smart account 3NBMCqfSo3ykq7gN5v1iaPUAow4BQZXM5Kc > SELF 0.00000000 Waves
{ "type": 13, "id": "612pcctwDAZyquQcH24nmRapWHpibBnKLKUYZKpcXRnJ", "fee": 1000000, "feeAssetId": null, "timestamp": 1631219368421, "version": 2, "chainId": 84, "sender": "3NBMCqfSo3ykq7gN5v1iaPUAow4BQZXM5Kc", "senderPublicKey": "2gdy1jDu8PBY22NJUTGCiTsNsu6FMuK5CLepGFMdMr3a", "proofs": [ "2ZhBanXLrMVAxo5w8tqi4nu6VLjkMLncN7LrQZ5tUeFN32EEWLPhqd8hoJb9M84ZHJwWi38aVH3fEb9vShr4mGQE" ], "script": "base64:AAIFAAAAAAAADY4IAhIDCgEEEgcKBQEBCAgEEgMKAQESAwoBARIAEgMKAQESABIAEgMKAQEaDQoCYTESB3ZlcnNpb24aEAoCYTISCmtleVZlcnNpb24aDwoCYTMSCWtleUFjdGl2ZRoRCgJhNBILa2V5QXNzZXRJZEEaEQoCYTUSC2tleUFzc2V0SWRCGhEKAmE2EgtrZXlCYWxhbmNlQRoRCgJhNxILa2V5QmFsYW5jZUIaFQoCYTgSD2tleUJhbGFuY2VJbml0QRoVCgJhORIPa2V5QmFsYW5jZUluaXRCGhUKAmIxEg9rZXlTaGFyZUFzc2V0SWQaGQoCYjISE2tleVNoYXJlQXNzZXRTdXBwbHkaEwoCYjMSDWtleUNvbW1pc3Npb24aIQoCYjQSG2tleUNvbW1pc3Npb25TY2FsZURlbGltaXRlchoOCgJiNRIIa2V5Q2F1c2UaFQoCYjYSD2tleUZpcnN0SGFydmVzdBobCgJiNxIVa2V5Rmlyc3RIYXJ2ZXN0SGVpZ2h0GhEKAmI4EgtrU2hhcmVMaW1pdBoRCgJiORILa0Jhc2VQZXJpb2QaEwoCYzESDWt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JAABmAAAAAgAAAAAAAAAAAAUAAAACcjkJAAACAAAAAQkAASwAAAACAgAAADNBcmd1bWVudCAnYW1vdW50TGVhdmUnIGNhbm5vdCBiZSBuZWdhdGl2ZS4gQWN0dWFsOiAJAAGkAAAAAQUAAAACcjkDAwkAAGYAAAACAAAAAAAAAAAABQAAAAJzMQYJAABmAAAAAgAAAAAAAAAAAAUAAAACczIJAQAAAAJrMgAAAAECAAAAFkVucm9sbCBhbW91bnQgbmVnYXRpdmUDAwkAAGYAAAACAAAAAAAAAAAABQAAAAJzMwYJAABmAAAAAgAAAAAAAAAAAAUAAAACczQJAAACAAAAAQIAAAAVVG9vIGxhcmdlIGFtb3VudExlYXZlCQAETAAAAAIJAQAAAAxJbnRlZ2VyRW50cnkAAAACBQAAAAJhNgkAAGQAAAACBQAAAAJnNwUAAAACczMJAARMAAAAAgkBAAAADEludGVnZXJFbnRyeQAAAAIFAAAAAmE3CQAAZAAAAAIFAAAAAmc4BQAAAAJzNAkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgkAASwAAAACAgAAAAxsYXN0X2luY29tZV8FAAAAAmY4BQAAAAJzMwkABEwAAAACCQEAAAAMSW50ZWdlckVudHJ5AAAAAgkAASwAAAACAgAAAAxsYXN0X2luY29tZV8FAAAAAmY5BQAAAAJzNAUAAAADbmlsAAAAAEM7IsM=", "height": 1695992, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 9kvvDkapjJQdK2zFTX9Yjg926xdCB3KG3amoRerGoef3 Next: none Full:
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'3PEbqViERCoKnmcSULh6n2aiMvUdSQdCsom') | |
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'EtVkT6ed8GtbUiVVEqdmEqsp2J4qbb3rre2HFgxeVYdg' | |
75 | 75 | ||
76 | 76 | let I = base58'Czn4yoAuUZCVCLJDRfskn8URfkwpknwBTZDbs1wFrY7h' | |
77 | 77 | ||
78 | 78 | let J = Address(base58'3N7cz2aJBxu3DpGVZnaHj8J479JBiEhdqsw') | |
79 | 79 | ||
80 | 80 | let K = Address(base58'3N7cz2aJBxu3DpGVZnaHj8J479JBiEhdqsw') | |
81 | 81 | ||
82 | 82 | let L = base58'DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p' | |
83 | 83 | ||
84 | 84 | let M = base58'6nSpVyNH7yM69eg446wrQR94ipbbcmZMU1ENPwanC97g' | |
85 | 85 | ||
86 | 86 | let N = base58'Ehie5xYpeN8op1Cctc6aGUrqx8jq3jtf1DSjXDbfm7aT' | |
87 | 87 | ||
88 | 88 | let O = base58'DUk2YTxhRoAqMJLus4G2b3fR8hMHVh6eiyFx5r29VR6t' | |
89 | 89 | ||
90 | 90 | let P = Address(base58'3PNikM6yp4NqcSU8guxQtmR5onr2D4e8yTJ') | |
91 | 91 | ||
92 | 92 | let Q = Address(base58'3PFhcMmEZoQTQ6ohA844c7C9M8ZJ18P8dDj') | |
93 | 93 | ||
94 | 94 | let R = Address(base58'3PHaNgomBkrvEL2QnuJarQVJa71wjw9qiqG') | |
95 | 95 | ||
96 | 96 | let S = Address(base58'3P2V63Xd6BviDkeMzxhUw2SJyojByRz8a8m') | |
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 (isDefined(getBoolean(this, c))) | |
325 | 325 | then throw("DApp is already active") | |
326 | 326 | else if ((bf == bi)) | |
327 | 327 | then throw("Assets must be different") | |
328 | 328 | else { | |
329 | 329 | let br = ((("s" + take(bl, 7)) + "_") + take(bp, 7)) | |
330 | 330 | let bs = ((((("ShareToken of SwopFi protocol for " + bl) + " and ") + bp) + " at address ") + toString(this)) | |
331 | 331 | let bt = ((bm + bq) / 2) | |
332 | 332 | let bu = pow(be, bm, 5, 1, bm, DOWN) | |
333 | 333 | let bv = pow(bh, bq, 5, 1, bq, DOWN) | |
334 | 334 | let bw = pow(10, 0, bt, 0, 0, DOWN) | |
335 | 335 | let bx = fraction(bu, bv, bw) | |
336 | 336 | let by = Issue(br, bs, bx, bt, true) | |
337 | 337 | let bz = calculateAssetId(by) | |
338 | 338 | 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)] | |
339 | 339 | if (bc) | |
340 | 340 | then (bA ++ [BooleanEntry(o, bc), IntegerEntry(p, (W + (Y * X)))]) | |
341 | 341 | else bA | |
342 | 342 | } | |
343 | 343 | } | |
344 | 344 | ||
345 | 345 | ||
346 | 346 | ||
347 | 347 | @Callable(ay) | |
348 | 348 | func initWithInitRatio (bB,bC,aa,ab,bc) = { | |
349 | 349 | let bD = aL(aa) | |
350 | 350 | let bk = bD._1 | |
351 | 351 | let bl = bD._2 | |
352 | 352 | let bm = bD._3 | |
353 | 353 | let bE = aL(ab) | |
354 | 354 | let bo = bE._1 | |
355 | 355 | let bp = bE._2 | |
356 | 356 | let bq = bE._3 | |
357 | 357 | if (!(containsElement([E, F, G, I], ay.callerPublicKey))) | |
358 | 358 | then throw("Only admin can call this function") | |
359 | 359 | else if (isDefined(getBoolean(this, c))) | |
360 | 360 | then throw("DApp is already active") | |
361 | 361 | else if ((aa == ab)) | |
362 | 362 | then throw("Assets must be different") | |
363 | 363 | else { | |
364 | 364 | let br = ((("s" + take(bl, 7)) + "_") + take(bp, 7)) | |
365 | 365 | let bs = ((((("ShareToken of SwopFi protocol for " + bl) + " and ") + bp) + " at address ") + toString(this)) | |
366 | 366 | let bt = ((bm + bq) / 2) | |
367 | 367 | let bx = 0 | |
368 | 368 | let by = Issue(br, bs, bx, bt, true) | |
369 | 369 | let bz = calculateAssetId(by) | |
370 | 370 | 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)] | |
371 | 371 | if (bc) | |
372 | 372 | then (bA ++ [BooleanEntry(o, bc), IntegerEntry(p, (W + (Y * X)))]) | |
373 | 373 | else bA | |
374 | 374 | } | |
375 | 375 | } | |
376 | 376 | ||
377 | 377 | ||
378 | 378 | ||
379 | 379 | @Callable(ay) | |
380 | 380 | func keepLimitForFirstHarvest (bF) = if (!(Z)) | |
381 | 381 | then throw("DApp is inactive at this moment") | |
382 | 382 | else if (!(containsElement([E, F, G, I], ay.callerPublicKey))) | |
383 | 383 | then throw("Only admin can call this function") | |
384 | 384 | else [IntegerEntry(q, bF)] | |
385 | 385 | ||
386 | 386 | ||
387 | 387 | ||
388 | 388 | @Callable(ay) | |
389 | 389 | func replenishWithTwoTokens (bG) = { | |
390 | 390 | let bf = ay.payments[0].assetId | |
391 | 391 | let bi = ay.payments[1].assetId | |
392 | 392 | let be = aP(ay.payments[0].amount, bf, bi) | |
393 | 393 | let bh = aP(ay.payments[1].amount, bi, bf) | |
394 | 394 | if (if ((ai == 0)) | |
395 | 395 | then (aj == 0) | |
396 | 396 | else false) | |
397 | 397 | then { | |
398 | 398 | let bH = aI(bf) | |
399 | 399 | let bk = bH._1 | |
400 | 400 | let bl = bH._2 | |
401 | 401 | let bm = bH._3 | |
402 | 402 | let bI = aI(bi) | |
403 | 403 | let bo = bI._1 | |
404 | 404 | let bp = bI._2 | |
405 | 405 | let bq = bI._3 | |
406 | 406 | let bJ = fraction(fraction(aB, aq, be), ap, fraction(aC, aq, bh)) | |
407 | 407 | if ((bf == bi)) | |
408 | 408 | then throw("Assets must be different") | |
409 | 409 | else { | |
410 | 410 | let bt = ((bm + bq) / 2) | |
411 | 411 | let bx = fraction(pow(be, bm, 5, 1, bm, DOWN), pow(bh, bq, 5, 1, bq, DOWN), pow(10, 0, bt, 0, 0, DOWN)) | |
412 | 412 | if (!(Z)) | |
413 | 413 | then throw("DApp is inactive at this moment") | |
414 | 414 | else if (if ((0 > bG)) | |
415 | 415 | then true | |
416 | 416 | else (bG > ar)) | |
417 | 417 | then throw(((("Slippage tolerance must be between 0 and " + toString(ar)) + " inclusively. Actual: ") + toString(bG))) | |
418 | 418 | else if ((size(ay.payments) != 2)) | |
419 | 419 | then throw("Two attached assets expected") | |
420 | 420 | else if (if ((((ap * (ar - bG)) / ar) > bJ)) | |
421 | 421 | then true | |
422 | 422 | else (bJ > ((ap * (ar + bG)) / ar))) | |
423 | 423 | then throw("Incorrect assets amount: amounts must have the contract ratio") | |
424 | 424 | else if (if ((bf != ac)) | |
425 | 425 | then true | |
426 | 426 | else (bi != ad)) | |
427 | 427 | then throw(((("Incorrect assets attached. Expected: " + aa) + " and ") + ab)) | |
428 | 428 | else if ((bx == 0)) | |
429 | 429 | then throw("Too small amount to replenish") | |
430 | 430 | else if (!(aH)) | |
431 | 431 | then ([ScriptTransfer(ay.caller, be, bf), ScriptTransfer(ay.caller, bh, bi)] ++ bb()) | |
432 | 432 | else [Reissue(ak, bx, true), IntegerEntry(f, be), IntegerEntry(g, bh), IntegerEntry(k, bx), ScriptTransfer(ay.caller, bx, ak)] | |
433 | 433 | } | |
434 | 434 | } | |
435 | 435 | else { | |
436 | 436 | let bJ = fraction(fraction(ai, aq, be), ap, fraction(aj, aq, bh)) | |
437 | 437 | let bK = fraction(be, aq, ai) | |
438 | 438 | let bL = fraction(bh, aq, aj) | |
439 | 439 | let bM = fraction(min([bK, bL]), al, aq) | |
440 | 440 | if (!(Z)) | |
441 | 441 | then throw("DApp is inactive at this moment") | |
442 | 442 | else if (if ((0 > bG)) | |
443 | 443 | then true | |
444 | 444 | else (bG > ar)) | |
445 | 445 | then throw(((("Slippage tolerance must be between 0 and " + toString(ar)) + " inclusively. Actual: ") + toString(bG))) | |
446 | 446 | else if ((size(ay.payments) != 2)) | |
447 | 447 | then throw("Two attached assets expected") | |
448 | 448 | else if (if ((bf != ac)) | |
449 | 449 | then true | |
450 | 450 | else (bi != ad)) | |
451 | 451 | then throw(((("Incorrect assets attached. Expected: " + aa) + " and ") + ab)) | |
452 | 452 | else if (if ((((ap * (ar - bG)) / ar) > bJ)) | |
453 | 453 | then true | |
454 | 454 | else (bJ > ((ap * (ar + bG)) / ar))) | |
455 | 455 | then throw("Incorrect assets amount: amounts must have the contract ratio") | |
456 | 456 | else if ((bM == 0)) | |
457 | 457 | then throw("Too small amount to replenish") | |
458 | 458 | else if (!(aH)) | |
459 | 459 | then ([ScriptTransfer(ay.caller, be, bf), ScriptTransfer(ay.caller, bh, bi)] ++ bb()) | |
460 | 460 | else [IntegerEntry(f, (ai + be)), IntegerEntry(g, (aj + bh)), IntegerEntry(k, (al + bM)), Reissue(ak, bM, true), ScriptTransfer(ay.caller, bM, ak)] | |
461 | 461 | } | |
462 | 462 | } | |
463 | 463 | ||
464 | 464 | ||
465 | 465 | ||
466 | 466 | @Callable(ay) | |
467 | 467 | func withdraw () = { | |
468 | 468 | let bN = $Tuple2(ay.payments[0].amount, ay.payments[0].assetId) | |
469 | 469 | let bO = bN._1 | |
470 | 470 | let bP = bN._2 | |
471 | 471 | let bQ = aP(fraction(bO, ai, al), ac, ad) | |
472 | 472 | let bR = aP(fraction(bO, aj, al), ad, ac) | |
473 | 473 | if (!(Z)) | |
474 | 474 | then throw("DApp is inactive at this moment") | |
475 | 475 | else if ((size(ay.payments) != 1)) | |
476 | 476 | then throw("One attached payment expected") | |
477 | 477 | else if ((bP != ak)) | |
478 | 478 | then throw(("Incorrect asset attached. Expected: " + toBase58String(ak))) | |
479 | 479 | else if (!(aH)) | |
480 | 480 | then ([ScriptTransfer(ay.caller, bO, bP)] ++ bb()) | |
481 | 481 | else if (if ((bQ > aD)) | |
482 | 482 | then true | |
483 | 483 | else (bR > aE)) | |
484 | 484 | then aY(bQ, bR) | |
485 | 485 | 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)] | |
486 | 486 | } | |
487 | 487 | ||
488 | 488 | ||
489 | 489 | ||
490 | 490 | @Callable(ay) | |
491 | 491 | func exchange (bS) = { | |
492 | 492 | let bT = $Tuple2(ay.payments[0].amount, ay.payments[0].assetId) | |
493 | 493 | let bO = bT._1 | |
494 | 494 | let bP = bT._2 | |
495 | 495 | func bU (bV,bW) = { | |
496 | 496 | let bX = fraction(bW, bO, (bO + bV)) | |
497 | 497 | let bY = fraction(bX, (ao - am), ao) | |
498 | 498 | let bZ = fraction(bX, an, ao) | |
499 | 499 | if ((bS > bY)) | |
500 | 500 | then throw(((("Calculated amount to receive " + toString(bY)) + " is less than specified minimum ") + toString(bS))) | |
501 | 501 | else $Tuple3(bX, bY, bZ) | |
502 | 502 | } | |
503 | 503 | ||
504 | 504 | if (!(Z)) | |
505 | 505 | then throw("DApp is inactive at this moment") | |
506 | 506 | else if (if ((ai == 0)) | |
507 | 507 | then true | |
508 | 508 | else (aj == 0)) | |
509 | 509 | then throw("Can't exchange with zero balance") | |
510 | 510 | else if ((0 >= bS)) | |
511 | 511 | then throw(("Minimal amount to receive must be positive. Actual: " + toString(bS))) | |
512 | 512 | else if ((size(ay.payments) != 1)) | |
513 | 513 | then throw("One attached payment expected") | |
514 | 514 | else if (!(aH)) | |
515 | 515 | then ([ScriptTransfer(ay.caller, bO, bP)] ++ bb()) | |
516 | 516 | else if ((bP == ac)) | |
517 | 517 | then { | |
518 | 518 | let ca = ad | |
519 | 519 | let cb = bU(ai, aj) | |
520 | 520 | let bX = cb._1 | |
521 | 521 | let bY = cb._2 | |
522 | 522 | let bZ = cb._3 | |
523 | 523 | let cc = (ai + bO) | |
524 | 524 | let cd = ((aj - bY) - bZ) | |
525 | 525 | if (if ((az >= cc)) | |
526 | 526 | then true | |
527 | 527 | else (aA >= cd)) | |
528 | 528 | then aV(bY, aE, ah) | |
529 | 529 | else $Tuple2([IntegerEntry(f, cc), IntegerEntry(g, cd), ScriptTransfer(ay.caller, bY, ca), ScriptTransfer(J, bZ, ca)], $Tuple2(bY, ca)) | |
530 | 530 | } | |
531 | 531 | else if ((bP == ad)) | |
532 | 532 | then { | |
533 | 533 | let ca = ac | |
534 | 534 | let ce = bU(aj, ai) | |
535 | 535 | let bX = ce._1 | |
536 | 536 | let bY = ce._2 | |
537 | 537 | let bZ = ce._3 | |
538 | 538 | let cc = ((ai - bY) - bZ) | |
539 | 539 | let cd = (aj + bO) | |
540 | 540 | if (if ((az >= cc)) | |
541 | 541 | then true | |
542 | 542 | else (aA >= cd)) | |
543 | 543 | then aV(bY, aD, ae) | |
544 | 544 | else $Tuple2([IntegerEntry(f, cc), IntegerEntry(g, cd), ScriptTransfer(ay.caller, bY, ca), ScriptTransfer(J, bZ, ca)], $Tuple2(bY, ca)) | |
545 | 545 | } | |
546 | 546 | else throw(((("Incorrect asset attached. Expected: " + aa) + " or ") + ab)) | |
547 | 547 | } | |
548 | 548 | ||
549 | 549 | ||
550 | 550 | ||
551 | 551 | @Callable(ay) | |
552 | 552 | func shutdown () = if (!(Z)) | |
553 | 553 | then throw(("DApp is already suspended. Cause: " + valueOrElse(getString(this, n), "the cause wasn't specified"))) | |
554 | 554 | else if (!(containsElement([E, F, G, H], ay.callerPublicKey))) | |
555 | 555 | then throw("Only admin can call this function") | |
556 | 556 | else aN("Paused by admin") | |
557 | 557 | ||
558 | 558 | ||
559 | 559 | ||
560 | 560 | @Callable(ay) | |
561 | 561 | func activate () = if (Z) | |
562 | 562 | then throw("DApp is already active") | |
563 | 563 | else if (!(containsElement([E, F, G, H], ay.callerPublicKey))) | |
564 | 564 | then throw("Only admin can call this function") | |
565 | 565 | else [BooleanEntry(c, true), DeleteEntry(n)] | |
566 | 566 | ||
567 | 567 | ||
568 | 568 | ||
569 | 569 | @Callable(ay) | |
570 | 570 | func takeIntoAccountExtraFunds (cf) = { | |
571 | 571 | let cg = (aF - ai) | |
572 | 572 | let ch = (aG - aj) | |
573 | 573 | let ci = (cg - (if ((ac == unit)) | |
574 | 574 | then cf | |
575 | 575 | else 0)) | |
576 | 576 | let cj = (ch - (if ((ad == unit)) | |
577 | 577 | then cf | |
578 | 578 | else 0)) | |
579 | 579 | if (!(Z)) | |
580 | 580 | then throw("DApp is inactive at this moment") | |
581 | 581 | else if ((ay.caller != this)) | |
582 | 582 | then throw("Only the DApp itself can call this function") | |
583 | 583 | else if ((0 > cf)) | |
584 | 584 | then throw(("Argument 'amountLeave' cannot be negative. Actual: " + toString(cf))) | |
585 | 585 | else if (if ((0 > cg)) | |
586 | 586 | then true | |
587 | 587 | else (0 > ch)) | |
588 | 588 | then aN("Enroll amount negative") | |
589 | 589 | else if (if ((0 > ci)) | |
590 | 590 | then true | |
591 | 591 | else (0 > cj)) | |
592 | 592 | then throw("Too large amountLeave") | |
593 | 593 | else [IntegerEntry(f, (ai + ci)), IntegerEntry(g, (aj + cj)), IntegerEntry(("last_income_" + aa), ci), IntegerEntry(("last_income_" + ab), cj)] | |
594 | 594 | } | |
595 | 595 | ||
596 | 596 |
github/deemru/w8io/026f985 74.74 ms ◑