tx · 9rZ6DkKpqrFo4WTJJ7aMhY2ebB6E5CoBjDSS5mFP6Dym 3MvRWw2FPEimFCTGtK7qY9uAJbM7XJ4ZfJS: -0.04300000 Waves 2023.06.26 15:59 [2639647] smart account 3MvRWw2FPEimFCTGtK7qY9uAJbM7XJ4ZfJS > SELF 0.00000000 Waves
{ "type": 13, "id": "9rZ6DkKpqrFo4WTJJ7aMhY2ebB6E5CoBjDSS5mFP6Dym", "fee": 4300000, "feeAssetId": null, "timestamp": 1687784445825, "version": 2, "chainId": 84, "sender": "3MvRWw2FPEimFCTGtK7qY9uAJbM7XJ4ZfJS", "senderPublicKey": "HP8sssVq1866F7CaPQJwgFrt6fsqhQjKwM84cL1wjD2a", "proofs": [ "5QPHhRp1X65WmBFppbE6i2RhLd2RMk2rt8CTBcJtJ45WkcMqHq9WEKJmEKBTfjrmGEms4BHefLycUNRfG2srBppg" ], "script": "base64:BgKKAQgCEgcKBQgBCAEBEgMKAQgSBAoCCAgSBQoDCBgYEgUKAwgBCBIECgIIARIGCgQBCAgBEgUKAwEICBIDCgEIEgMKAQgSBQoDCAgBEgYKBAgBCAgSDgoMCAgIAQQRGBgRAQEYEgoKCAgICAEECAEYEg4KDAgICAEEGBgYGBgBGBIKCggICAEBAQEBAWYAB1NGX1BPT0wCAlNGAAdXWF9QT09MAgJXWAAPQ0FQX0ZFRV9OT19MT0FOAgljYXBOb0xvYW4ADENBUF9GRUVfTE9BTgIHY2FwTG9hbgAUU1RPUExPU1NfRkVFX05PX0xPQU4CDnN0b3BMb3NzTm9Mb2FuAA1TVE9QTE9TU19MT0FOAgxzdG9wTG9zc0xvYW4ACExPQU5fRkVFAgRsb2FuAAtOT19MT0FOX0ZFRQIGbm9Mb2FuAAZOT19GRUUCBW5vRmVlAAZTQ0FMRTgAgMLXLwAHU0NBTEUxMACAyK+gJQAHU0NBTEUxNgkAtgIBAICAhP6m3uERAApGRUVfU0NBTEU2AMCEPQAUa1NGUG9vbEFBc3NldEJhbGFuY2UCD0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gFAnR4D3NlbmRlclB1YmxpY0tlebnnJu4=", "height": 2639647, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: CqJL2MKpHdd9HXbnSLaRhRpStE81a1VuSDLG74hBzfmo Next: GgrQSJrEXEgpXuNQeGgWtrY8v7zmfBP57GKc3ecVZ2Kd Diff:
Old | New | Differences | |
---|---|---|---|
502 | 502 | } | |
503 | 503 | let cb = ch._1 | |
504 | 504 | let cc = ch._2 | |
505 | - | let ci = toInt(fraction(toBigInt(cb), cg, (cg - toBigInt((ce + cf))))) | |
505 | + | let ci = toInt(fraction(toBigInt(cb), cg, (cg - toBigInt((ce + cf))), CEILING)) | |
506 | 506 | $Tuple2(cc, ci) | |
507 | 507 | } | |
508 | 508 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = "SF" | |
5 | 5 | ||
6 | 6 | let b = "WX" | |
7 | 7 | ||
8 | 8 | let c = "capNoLoan" | |
9 | 9 | ||
10 | 10 | let d = "capLoan" | |
11 | 11 | ||
12 | 12 | let e = "stopLossNoLoan" | |
13 | 13 | ||
14 | 14 | let f = "stopLossLoan" | |
15 | 15 | ||
16 | 16 | let g = "loan" | |
17 | 17 | ||
18 | 18 | let h = "noLoan" | |
19 | 19 | ||
20 | 20 | let i = "noFee" | |
21 | 21 | ||
22 | 22 | let j = 100000000 | |
23 | 23 | ||
24 | 24 | let k = 10000000000 | |
25 | 25 | ||
26 | 26 | let l = toBigInt(10000000000000000) | |
27 | 27 | ||
28 | 28 | let m = 1000000 | |
29 | 29 | ||
30 | 30 | let n = "A_asset_balance" | |
31 | 31 | ||
32 | 32 | let o = "B_asset_balance" | |
33 | 33 | ||
34 | 34 | let p = "A_asset_id" | |
35 | 35 | ||
36 | 36 | let q = "B_asset_id" | |
37 | 37 | ||
38 | 38 | let r = "share_asset_id" | |
39 | 39 | ||
40 | 40 | let s = "share_asset_supply" | |
41 | 41 | ||
42 | 42 | let t = "commission" | |
43 | 43 | ||
44 | 44 | let u = "_user_position" | |
45 | 45 | ||
46 | 46 | let v = "_user_position_pool" | |
47 | 47 | ||
48 | 48 | let w = "_user_position_borrow_amount" | |
49 | 49 | ||
50 | 50 | let x = "_user_position_borrow_asset_id" | |
51 | 51 | ||
52 | 52 | let y = "_user_position_number" | |
53 | 53 | ||
54 | 54 | let z = "_user_position_interest" | |
55 | 55 | ||
56 | 56 | let A = "_pool_total" | |
57 | 57 | ||
58 | 58 | let B = "_pool_total_loan" | |
59 | 59 | ||
60 | 60 | let C = "_pool_interest_loan" | |
61 | 61 | ||
62 | 62 | let D = "_pool_interest_no_loan" | |
63 | 63 | ||
64 | 64 | let E = "_axly_fee_without_loan" | |
65 | 65 | ||
66 | 66 | let F = "_axly_fee_with_loan" | |
67 | 67 | ||
68 | 68 | let G = "_axly_fee_cap_with_loan" | |
69 | 69 | ||
70 | 70 | let H = "_axly_fee_cap_no_loan" | |
71 | 71 | ||
72 | 72 | let I = "_axly_fee_stoploss_with_loan" | |
73 | 73 | ||
74 | 74 | let J = "_axly_fee_stoploss_no_loan" | |
75 | 75 | ||
76 | 76 | let K = "_request_id" | |
77 | 77 | ||
78 | 78 | let L = "requests_iter" | |
79 | 79 | ||
80 | 80 | let M = "pool_" | |
81 | 81 | ||
82 | 82 | let N = "_pool_share_id" | |
83 | 83 | ||
84 | 84 | let O = "_pool_cap_change" | |
85 | 85 | ||
86 | 86 | let P = "last_price" | |
87 | 87 | ||
88 | 88 | let Q = "_stop_loss" | |
89 | 89 | ||
90 | 90 | let R = "axly_money_box" | |
91 | 91 | ||
92 | 92 | let S = "swopfi_farming_addr" | |
93 | 93 | ||
94 | 94 | let T = "lend_service_addr" | |
95 | 95 | ||
96 | 96 | let U = "admin_call_pub_key" | |
97 | 97 | ||
98 | 98 | let V = "price_oracle" | |
99 | 99 | ||
100 | 100 | let W = "exchange_contract" | |
101 | 101 | ||
102 | 102 | let X = "wx_swap_contract" | |
103 | 103 | ||
104 | 104 | let Y = Address(fromBase58String(valueOrErrorMessage(getString(this, R), "No axly moneyBox address"))) | |
105 | 105 | ||
106 | 106 | let Z = Address(fromBase58String(valueOrErrorMessage(getString(this, W), "No exchange contract address"))) | |
107 | 107 | ||
108 | 108 | let aa = Address(fromBase58String(valueOrErrorMessage(getString(this, V), "No price oracle address"))) | |
109 | 109 | ||
110 | 110 | let ab = Address(fromBase58String(valueOrErrorMessage(getString(this, X), "No wx swap address"))) | |
111 | 111 | ||
112 | 112 | let ac = base58'4W19ndijcc2CsQa9HGW2dfXKTVXhnneWWttxXrtjPmEp' | |
113 | 113 | ||
114 | 114 | let ad = base58'EMAMLxDnv3xiz8RXg8Btj33jcEw3wLczL3JKYYmuubpc' | |
115 | 115 | ||
116 | 116 | func ae () = Address(fromBase58String(valueOrErrorMessage(getString(this, T), "Can't get lend service addr"))) | |
117 | 117 | ||
118 | 118 | ||
119 | 119 | func af () = addressFromPublicKey(fromBase58String(valueOrErrorMessage(getString(this, U), "Can't get admin addr"))) | |
120 | 120 | ||
121 | 121 | ||
122 | 122 | func ag (ah) = if ((ah.caller == af())) | |
123 | 123 | then unit | |
124 | 124 | else throw("Only admin can call this function") | |
125 | 125 | ||
126 | 126 | ||
127 | 127 | func ai (ah) = if ((ah.caller == this)) | |
128 | 128 | then unit | |
129 | 129 | else throw("Only contract itself can call this function") | |
130 | 130 | ||
131 | 131 | ||
132 | 132 | func aj (ah) = if ((ah.caller == ae())) | |
133 | 133 | then unit | |
134 | 134 | else throw("Only land contract can call this function") | |
135 | 135 | ||
136 | 136 | ||
137 | 137 | func ak (al) = { | |
138 | 138 | let am = al | |
139 | 139 | if ($isInstanceOf(am, "ByteVector")) | |
140 | 140 | then { | |
141 | 141 | let an = am | |
142 | 142 | assetBalance(this, an) | |
143 | 143 | } | |
144 | 144 | else if ($isInstanceOf(am, "Unit")) | |
145 | 145 | then { | |
146 | 146 | let ao = am | |
147 | 147 | wavesBalance(this).available | |
148 | 148 | } | |
149 | 149 | else throw("Match error") | |
150 | 150 | } | |
151 | 151 | ||
152 | 152 | ||
153 | 153 | func ap (aq) = $Tuple5(valueOrErrorMessage(getString(aq, p), "Can't get pool A asset id"), valueOrErrorMessage(getString(aq, q), "Can't get pool B asset id"), valueOrErrorMessage(getInteger(aq, n), "Can't get pool A asset balance"), valueOrErrorMessage(getInteger(aq, o), "Can't get pool B asset balance"), valueOrErrorMessage(getString(aq, r), "Can't get share asset id")) | |
154 | 154 | ||
155 | 155 | ||
156 | 156 | func ar (aq) = { | |
157 | 157 | let as = { | |
158 | 158 | let at = invoke(aq, "getPoolConfigWrapperREADONLY", nil, nil) | |
159 | 159 | if ($isInstanceOf(at, "List[Any]")) | |
160 | 160 | then at | |
161 | 161 | else throw(($getType(at) + " couldn't be cast to List[Any]")) | |
162 | 162 | } | |
163 | 163 | if ((as == as)) | |
164 | 164 | then { | |
165 | 165 | let au = valueOrErrorMessage({ | |
166 | 166 | let at = as[4] | |
167 | 167 | if ($isInstanceOf(at, "String")) | |
168 | 168 | then at | |
169 | 169 | else unit | |
170 | 170 | }, "Can't get pool A asset id") | |
171 | 171 | let av = valueOrErrorMessage({ | |
172 | 172 | let at = as[5] | |
173 | 173 | if ($isInstanceOf(at, "String")) | |
174 | 174 | then at | |
175 | 175 | else unit | |
176 | 176 | }, "Can't get pool B asset id") | |
177 | 177 | let aw = valueOrErrorMessage({ | |
178 | 178 | let at = as[3] | |
179 | 179 | if ($isInstanceOf(at, "String")) | |
180 | 180 | then at | |
181 | 181 | else unit | |
182 | 182 | }, "Can't get pool LP asset id") | |
183 | 183 | let ax = { | |
184 | 184 | let at = invoke(aq, "getAccBalanceWrapperREADONLY", [au], nil) | |
185 | 185 | if ($isInstanceOf(at, "Int")) | |
186 | 186 | then at | |
187 | 187 | else throw(($getType(at) + " couldn't be cast to Int")) | |
188 | 188 | } | |
189 | 189 | if ((ax == ax)) | |
190 | 190 | then { | |
191 | 191 | let ay = { | |
192 | 192 | let at = invoke(aq, "getAccBalanceWrapperREADONLY", [av], nil) | |
193 | 193 | if ($isInstanceOf(at, "Int")) | |
194 | 194 | then at | |
195 | 195 | else throw(($getType(at) + " couldn't be cast to Int")) | |
196 | 196 | } | |
197 | 197 | if ((ay == ay)) | |
198 | 198 | then $Tuple5(au, av, ax, ay, aw) | |
199 | 199 | else throw("Strict value is not equal to itself.") | |
200 | 200 | } | |
201 | 201 | else throw("Strict value is not equal to itself.") | |
202 | 202 | } | |
203 | 203 | else throw("Strict value is not equal to itself.") | |
204 | 204 | } | |
205 | 205 | ||
206 | 206 | ||
207 | 207 | func az (aq,aA) = if ((aA == a)) | |
208 | 208 | then ap(aq) | |
209 | 209 | else if ((aA == b)) | |
210 | 210 | then ar(aq) | |
211 | 211 | else throw("Wrong pool type") | |
212 | 212 | ||
213 | 213 | ||
214 | 214 | func aB (aq,aA,aw) = if ((aA == a)) | |
215 | 215 | then valueOrErrorMessage(getInteger(aq, s), "Can't get share asset supply") | |
216 | 216 | else if ((aA == b)) | |
217 | 217 | then valueOrErrorMessage(assetInfo(fromBase58String(aw)), "Wrong ShareId").quantity | |
218 | 218 | else throw("Wrong pool type") | |
219 | 219 | ||
220 | 220 | ||
221 | 221 | func aC (aD) = valueOrElse(getInteger(this, (aD + A)), 0) | |
222 | 222 | ||
223 | 223 | ||
224 | 224 | func aE (aD) = valueOrElse(getInteger(this, (aD + B)), 0) | |
225 | 225 | ||
226 | 226 | ||
227 | 227 | func aF (aG) = (valueOrElse(getInteger(this, (aG + y)), 0) + 1) | |
228 | 228 | ||
229 | 229 | ||
230 | 230 | func aH (aD,aI) = if ((aI == d)) | |
231 | 231 | then getIntegerValue(this, (aD + H)) | |
232 | 232 | else if ((aI == c)) | |
233 | 233 | then getIntegerValue(this, (aD + G)) | |
234 | 234 | else if ((aI == g)) | |
235 | 235 | then getIntegerValue(this, (aD + F)) | |
236 | 236 | else if ((aI == h)) | |
237 | 237 | then getIntegerValue(this, (aD + E)) | |
238 | 238 | else if ((aI == i)) | |
239 | 239 | then 0 | |
240 | 240 | else throw("Wrong fee type") | |
241 | 241 | ||
242 | 242 | ||
243 | 243 | func aJ () = Address(fromBase58String(valueOrErrorMessage(getString(this, S), "Can't get swopfi farming addr"))) | |
244 | 244 | ||
245 | 245 | ||
246 | 246 | func aK (aq) = { | |
247 | 247 | let aL = Address(fromBase58String(valueOrErrorMessage(getString(aq, "%s__factoryContract"), "Can't get WX factory contract addr"))) | |
248 | 248 | let aM = split(valueOrErrorMessage(getString(aL, "%s__factoryConfig"), "Can't get WX factory cfg"), "__") | |
249 | 249 | Address(fromBase58String(aM[1])) | |
250 | 250 | } | |
251 | 251 | ||
252 | 252 | ||
253 | 253 | func aN (al) = { | |
254 | 254 | let am = al | |
255 | 255 | if ($isInstanceOf(am, "ByteVector")) | |
256 | 256 | then { | |
257 | 257 | let an = am | |
258 | 258 | toBase58String(an) | |
259 | 259 | } | |
260 | 260 | else if ($isInstanceOf(am, "Unit")) | |
261 | 261 | then { | |
262 | 262 | let ao = am | |
263 | 263 | "WAVES" | |
264 | 264 | } | |
265 | 265 | else throw("Not Asset id") | |
266 | 266 | } | |
267 | 267 | ||
268 | 268 | ||
269 | 269 | func aO (al) = if ((al == "WAVES")) | |
270 | 270 | then unit | |
271 | 271 | else fromBase58String(al) | |
272 | 272 | ||
273 | 273 | ||
274 | 274 | func aP (al) = if ((al == "WAVES")) | |
275 | 275 | then 8 | |
276 | 276 | else { | |
277 | 277 | let am = assetInfo(fromBase58String(al)) | |
278 | 278 | if ($isInstanceOf(am, "Asset")) | |
279 | 279 | then { | |
280 | 280 | let aQ = am | |
281 | 281 | aQ.decimals | |
282 | 282 | } | |
283 | 283 | else throw("Can't find asset") | |
284 | 284 | } | |
285 | 285 | ||
286 | 286 | ||
287 | 287 | func aR (al) = pow(10, 0, aP(al), 0, 0, DOWN) | |
288 | 288 | ||
289 | 289 | ||
290 | 290 | func aS (aT) = { | |
291 | 291 | func aU (aV,al) = { | |
292 | 292 | let aW = ( let at = invoke(aa, "getTWAP60", [al, false], nil) | |
293 | 293 | if ($isInstanceOf(at, "(Int, Int)")) | |
294 | 294 | then at | |
295 | 295 | else throw(($getType(at) + " couldn't be cast to (Int, Int)")))._2 | |
296 | 296 | (aV :+ aW) | |
297 | 297 | } | |
298 | 298 | ||
299 | 299 | let aX = aT | |
300 | 300 | let aY = size(aX) | |
301 | 301 | let aZ = nil | |
302 | 302 | func ba (bb,bc) = if ((bc >= aY)) | |
303 | 303 | then bb | |
304 | 304 | else aU(bb, aX[bc]) | |
305 | 305 | ||
306 | 306 | func bd (bb,bc) = if ((bc >= aY)) | |
307 | 307 | then bb | |
308 | 308 | else throw("List size exceeds 50") | |
309 | 309 | ||
310 | 310 | bd(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(aZ, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50) | |
311 | 311 | } | |
312 | 312 | ||
313 | 313 | ||
314 | 314 | func be (aw) = { | |
315 | 315 | let aD = valueOrErrorMessage(getString(this, (aw + N)), "Can't find pool addr by share id") | |
316 | 316 | let aq = Address(fromBase58String(aD)) | |
317 | 317 | let bf = valueOrErrorMessage(getString(this, (M + aD)), "Pool is not inited") | |
318 | 318 | let bg = az(aq, bf) | |
319 | 319 | let au = bg._1 | |
320 | 320 | let av = bg._2 | |
321 | 321 | let bh = bg._3 | |
322 | 322 | let bi = bg._4 | |
323 | 323 | let bj = ( let at = invoke(aa, "getTWAP60", [au, false], nil) | |
324 | 324 | if ($isInstanceOf(at, "(Int, Int)")) | |
325 | 325 | then at | |
326 | 326 | else throw(($getType(at) + " couldn't be cast to (Int, Int)")))._2 | |
327 | 327 | let bk = ( let at = invoke(aa, "getTWAP60", [av, false], nil) | |
328 | 328 | if ($isInstanceOf(at, "(Int, Int)")) | |
329 | 329 | then at | |
330 | 330 | else throw(($getType(at) + " couldn't be cast to (Int, Int)")))._2 | |
331 | 331 | let bl = aB(aq, bf, aw) | |
332 | 332 | let bm = pow(10, 0, aP(au), 0, 0, DOWN) | |
333 | 333 | let bn = pow(10, 0, aP(av), 0, 0, DOWN) | |
334 | 334 | let bo = pow(10, 0, aP(aw), 0, 0, DOWN) | |
335 | 335 | let bp = (fraction(bh, bj, bm) + fraction(bi, bk, bn)) | |
336 | 336 | fraction(bp, bo, bl) | |
337 | 337 | } | |
338 | 338 | ||
339 | 339 | ||
340 | 340 | func bq (br) = { | |
341 | 341 | func aU (aV,aw) = (aV :+ be(aw)) | |
342 | 342 | ||
343 | 343 | let aX = br | |
344 | 344 | let aY = size(aX) | |
345 | 345 | let aZ = nil | |
346 | 346 | func ba (bb,bc) = if ((bc >= aY)) | |
347 | 347 | then bb | |
348 | 348 | else aU(bb, aX[bc]) | |
349 | 349 | ||
350 | 350 | func bd (bb,bc) = if ((bc >= aY)) | |
351 | 351 | then bb | |
352 | 352 | else throw("List size exceeds 20") | |
353 | 353 | ||
354 | 354 | bd(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(aZ, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20) | |
355 | 355 | } | |
356 | 356 | ||
357 | 357 | ||
358 | 358 | func bs (au,av,aw) = { | |
359 | 359 | let bt = aS([au, av]) | |
360 | 360 | let bu = be(aw) | |
361 | 361 | let bv = [toString(bt[0]), toString(bt[1]), toString(bu)] | |
362 | 362 | [StringEntry(P, makeString(bv, ","))] | |
363 | 363 | } | |
364 | 364 | ||
365 | 365 | ||
366 | 366 | func bw (bf,aq,bx,au,by,av,ax,ay) = if ((bf == a)) | |
367 | 367 | then { | |
368 | 368 | let bz = { | |
369 | 369 | let at = invoke(aq, "callFunction", ["calcLPReplenishTwoTokensREADONLY", [toString(bx), toString(by)]], nil) | |
370 | 370 | if ($isInstanceOf(at, "List[Any]")) | |
371 | 371 | then at | |
372 | 372 | else throw(($getType(at) + " couldn't be cast to List[Any]")) | |
373 | 373 | } | |
374 | 374 | if ((bz == bz)) | |
375 | 375 | then $Tuple5({ | |
376 | 376 | let at = bz[3] | |
377 | 377 | if ($isInstanceOf(at, "Int")) | |
378 | 378 | then at | |
379 | 379 | else throw(($getType(at) + " couldn't be cast to Int")) | |
380 | 380 | }, { | |
381 | 381 | let at = bz[4] | |
382 | 382 | if ($isInstanceOf(at, "Int")) | |
383 | 383 | then at | |
384 | 384 | else throw(($getType(at) + " couldn't be cast to Int")) | |
385 | 385 | }, { | |
386 | 386 | let at = bz[1] | |
387 | 387 | if ($isInstanceOf(at, "Int")) | |
388 | 388 | then at | |
389 | 389 | else throw(($getType(at) + " couldn't be cast to Int")) | |
390 | 390 | }, aN(bz[2]), { | |
391 | 391 | let at = bz[0] | |
392 | 392 | if ($isInstanceOf(at, "Int")) | |
393 | 393 | then at | |
394 | 394 | else throw(($getType(at) + " couldn't be cast to Int")) | |
395 | 395 | }) | |
396 | 396 | else throw("Strict value is not equal to itself.") | |
397 | 397 | } | |
398 | 398 | else { | |
399 | 399 | let bA = $Tuple2(split({ | |
400 | 400 | let at = invoke(aq, "evaluatePutByAmountAssetREADONLY", [bx], nil) | |
401 | 401 | if ($isInstanceOf(at, "String")) | |
402 | 402 | then at | |
403 | 403 | else throw(($getType(at) + " couldn't be cast to String")) | |
404 | 404 | }, "__"), split({ | |
405 | 405 | let at = invoke(aq, "evaluatePutByPriceAssetREADONLY", [by], nil) | |
406 | 406 | if ($isInstanceOf(at, "String")) | |
407 | 407 | then at | |
408 | 408 | else throw(($getType(at) + " couldn't be cast to String")) | |
409 | 409 | }, "__")) | |
410 | 410 | if ((bA == bA)) | |
411 | 411 | then { | |
412 | 412 | let bB = bA._2 | |
413 | 413 | let bC = bA._1 | |
414 | 414 | let bD = parseIntValue(bC[1]) | |
415 | 415 | let bE = parseIntValue(bB[1]) | |
416 | 416 | if ((bE > bD)) | |
417 | 417 | then { | |
418 | 418 | let bF = parseIntValue(bC[8]) | |
419 | 419 | $Tuple5(bx, bF, (by - bF), av, bE) | |
420 | 420 | } | |
421 | 421 | else { | |
422 | 422 | let bF = parseIntValue(bC[8]) | |
423 | 423 | $Tuple5(bF, by, (bx - bF), au, bD) | |
424 | 424 | } | |
425 | 425 | } | |
426 | 426 | else throw("Strict value is not equal to itself.") | |
427 | 427 | } | |
428 | 428 | ||
429 | 429 | ||
430 | 430 | func bG (aq,bf,bx,au,by,av) = { | |
431 | 431 | let bH = [AttachedPayment(aO(au), bx), AttachedPayment(aO(av), by)] | |
432 | 432 | if ((bf == a)) | |
433 | 433 | then invoke(aq, "callFunction", ["replenishWithTwoTokens", ["false", "0"]], bH) | |
434 | 434 | else invoke(aq, "put", [1000000, false], bH) | |
435 | 435 | } | |
436 | 436 | ||
437 | 437 | ||
438 | 438 | func bI (aq,bf,bF,bJ) = { | |
439 | 439 | let bH = [AttachedPayment(aO(bJ), bF)] | |
440 | 440 | if ((bf == a)) | |
441 | 441 | then invoke(aq, "callFunction", ["replenishWithOneToken", ["0", "false", "0"]], bH) | |
442 | 442 | else invoke(aq, "putOneTkn", [0, false], bH) | |
443 | 443 | } | |
444 | 444 | ||
445 | 445 | ||
446 | 446 | func bK (aD,bf,aw,bL) = { | |
447 | 447 | let bH = [AttachedPayment(fromBase58String(aw), bL)] | |
448 | 448 | if ((bf == a)) | |
449 | 449 | then invoke(aJ(), "lockShareTokens", [aD, 0], bH) | |
450 | 450 | else invoke(aK(addressFromStringValue(aD)), "stake", nil, bH) | |
451 | 451 | } | |
452 | 452 | ||
453 | 453 | ||
454 | 454 | func bM (aD,bf,aw,bL) = { | |
455 | 455 | let bN = if ((bf == a)) | |
456 | 456 | then $Tuple3(aJ(), "withdrawShareTokens", [aD, bL]) | |
457 | 457 | else if ((bf == b)) | |
458 | 458 | then $Tuple3(aK(Address(fromBase58String(aD))), "unstake", [aw, bL]) | |
459 | 459 | else throw("Wrong pool type") | |
460 | 460 | let bO = bN._1 | |
461 | 461 | let bP = bN._2 | |
462 | 462 | let bQ = bN._3 | |
463 | 463 | let bR = invoke(bO, bP, bQ, nil) | |
464 | 464 | if ((bR == bR)) | |
465 | 465 | then bL | |
466 | 466 | else throw("Strict value is not equal to itself.") | |
467 | 467 | } | |
468 | 468 | ||
469 | 469 | ||
470 | 470 | func bS (aD,bT,bU,ax,ay,bV,bW) = { | |
471 | 471 | let aq = Address(fromBase58String(aD)) | |
472 | 472 | let bX = 1000000 | |
473 | 473 | let bY = getIntegerValue(aq, t) | |
474 | 474 | let bZ = fraction(bV, bX, (bX - bY)) | |
475 | 475 | let ca = if ((bW == bT)) | |
476 | 476 | then { | |
477 | 477 | let cb = fraction(bZ, ay, (ax - bZ)) | |
478 | 478 | $Tuple2(cb, bU) | |
479 | 479 | } | |
480 | 480 | else { | |
481 | 481 | let cb = fraction(bZ, ax, (ay - bZ)) | |
482 | 482 | $Tuple2(cb, bT) | |
483 | 483 | } | |
484 | 484 | let cb = ca._1 | |
485 | 485 | let cc = ca._2 | |
486 | 486 | $Tuple2(cc, cb) | |
487 | 487 | } | |
488 | 488 | ||
489 | 489 | ||
490 | 490 | func cd (aD,bT,bU,ax,ay,bV,bW) = { | |
491 | 491 | let ce = getIntegerValue(ab, "%s__protocolFee") | |
492 | 492 | let cf = getIntegerValue(ab, "%s__poolFee") | |
493 | 493 | let cg = toBigInt(100000000) | |
494 | 494 | let ch = if ((bW == bT)) | |
495 | 495 | then { | |
496 | 496 | let cb = fraction(bV, ay, (ax - bV)) | |
497 | 497 | $Tuple2(cb, bU) | |
498 | 498 | } | |
499 | 499 | else { | |
500 | 500 | let cb = fraction(bV, ax, (ay - bV)) | |
501 | 501 | $Tuple2(cb, bT) | |
502 | 502 | } | |
503 | 503 | let cb = ch._1 | |
504 | 504 | let cc = ch._2 | |
505 | - | let ci = toInt(fraction(toBigInt(cb), cg, (cg - toBigInt((ce + cf))))) | |
505 | + | let ci = toInt(fraction(toBigInt(cb), cg, (cg - toBigInt((ce + cf))), CEILING)) | |
506 | 506 | $Tuple2(cc, ci) | |
507 | 507 | } | |
508 | 508 | ||
509 | 509 | ||
510 | 510 | func cj (aA,aD,bT,bU,ax,ay,bV,bW) = if ((aA == a)) | |
511 | 511 | then { | |
512 | 512 | let ck = bS(aD, bT, bU, ax, ay, bV, bW) | |
513 | 513 | let cc = ck._1 | |
514 | 514 | let cb = ck._2 | |
515 | 515 | invoke(addressFromStringValue(aD), "callFunction", ["exchange", [toString(bV)]], [AttachedPayment(aO(cc), cb)]) | |
516 | 516 | } | |
517 | 517 | else { | |
518 | 518 | let cl = cd(aD, bT, bU, ax, ay, bV, bW) | |
519 | 519 | let cc = cl._1 | |
520 | 520 | let cb = cl._2 | |
521 | 521 | invoke(ab, "swap", [bV, bW, toString(this)], [AttachedPayment(aO(cc), cb)]) | |
522 | 522 | } | |
523 | 523 | ||
524 | 524 | ||
525 | 525 | func cm (bf,aD,bx,au,by,av,ax,ay) = { | |
526 | 526 | let aq = addressFromStringValue(aD) | |
527 | 527 | if ((bf == a)) | |
528 | 528 | then { | |
529 | 529 | let bR = { | |
530 | 530 | let at = invoke(aq, "callFunction", ["calcLPReplenishDiffPropREADONLY", [toString(bx), toString(by), "0"]], nil) | |
531 | 531 | if ($isInstanceOf(at, "List[Any]")) | |
532 | 532 | then at | |
533 | 533 | else throw(($getType(at) + " couldn't be cast to List[Any]")) | |
534 | 534 | } | |
535 | 535 | if ((bR == bR)) | |
536 | 536 | then $Tuple2({ | |
537 | 537 | let at = bR[0] | |
538 | 538 | if ($isInstanceOf(at, "Int")) | |
539 | 539 | then at | |
540 | 540 | else throw(($getType(at) + " couldn't be cast to Int")) | |
541 | 541 | }, { | |
542 | 542 | let at = bR[1] | |
543 | 543 | if ($isInstanceOf(at, "Int")) | |
544 | 544 | then at | |
545 | 545 | else throw(($getType(at) + " couldn't be cast to Int")) | |
546 | 546 | }) | |
547 | 547 | else throw("Strict value is not equal to itself.") | |
548 | 548 | } | |
549 | 549 | else if ((bf == b)) | |
550 | 550 | then { | |
551 | 551 | let cn = if (if ((bx > 0)) | |
552 | 552 | then (by > 0) | |
553 | 553 | else false) | |
554 | 554 | then { | |
555 | 555 | let co = bw(bf, aq, bx, au, by, av, ax, ay) | |
556 | 556 | let cp = co._1 | |
557 | 557 | let cq = co._2 | |
558 | 558 | let cr = co._3 | |
559 | 559 | let cs = co._4 | |
560 | 560 | let ct = co._5 | |
561 | 561 | $Tuple3(cr, cs, ct) | |
562 | 562 | } | |
563 | 563 | else if ((bx > 0)) | |
564 | 564 | then $Tuple3(bx, au, 0) | |
565 | 565 | else $Tuple3(by, av, 0) | |
566 | 566 | let cr = cn._1 | |
567 | 567 | let cs = cn._2 | |
568 | 568 | let cu = cn._3 | |
569 | 569 | let cv = if ((cr > 0)) | |
570 | 570 | then { | |
571 | 571 | let bR = { | |
572 | 572 | let at = invoke(aq, "putOneTknREADONLY", [cs, cr], nil) | |
573 | 573 | if ($isInstanceOf(at, "(Int, Int, Int)")) | |
574 | 574 | then at | |
575 | 575 | else throw(($getType(at) + " couldn't be cast to (Int, Int, Int)")) | |
576 | 576 | } | |
577 | 577 | if ((bR == bR)) | |
578 | 578 | then $Tuple2(bR._1, bR._3) | |
579 | 579 | else throw("Strict value is not equal to itself.") | |
580 | 580 | } | |
581 | 581 | else $Tuple2(0, 0) | |
582 | 582 | let cw = cv._1 | |
583 | 583 | let cx = cv._2 | |
584 | 584 | $Tuple2((cu + cw), cx) | |
585 | 585 | } | |
586 | 586 | else throw("Wrong pool type") | |
587 | 587 | } | |
588 | 588 | ||
589 | 589 | ||
590 | 590 | func cy (bf,aD,ct,aw,au,av,ax,ay,cz,cA) = { | |
591 | 591 | let aq = addressFromStringValue(aD) | |
592 | 592 | let cB = if ((bf == a)) | |
593 | 593 | then { | |
594 | 594 | let bR = { | |
595 | 595 | let at = invoke(aq, "callFunction", ["withdrawREADONLY", [toString(ct), toString(ax), toString(ay)]], nil) | |
596 | 596 | if ($isInstanceOf(at, "List[Any]")) | |
597 | 597 | then at | |
598 | 598 | else throw(($getType(at) + " couldn't be cast to List[Any]")) | |
599 | 599 | } | |
600 | 600 | if ((bR == bR)) | |
601 | 601 | then $Tuple2({ | |
602 | 602 | let at = bR[0] | |
603 | 603 | if ($isInstanceOf(at, "Int")) | |
604 | 604 | then at | |
605 | 605 | else throw(($getType(at) + " couldn't be cast to Int")) | |
606 | 606 | }, { | |
607 | 607 | let at = bR[1] | |
608 | 608 | if ($isInstanceOf(at, "Int")) | |
609 | 609 | then at | |
610 | 610 | else throw(($getType(at) + " couldn't be cast to Int")) | |
611 | 611 | }) | |
612 | 612 | else throw("Strict value is not equal to itself.") | |
613 | 613 | } | |
614 | 614 | else if ((bf == b)) | |
615 | 615 | then { | |
616 | 616 | let cC = split({ | |
617 | 617 | let at = invoke(aq, "evaluateGetREADONLY", [aw, ct], nil) | |
618 | 618 | if ($isInstanceOf(at, "String")) | |
619 | 619 | then at | |
620 | 620 | else throw(($getType(at) + " couldn't be cast to String")) | |
621 | 621 | }, "__") | |
622 | 622 | if ((cC == cC)) | |
623 | 623 | then $Tuple2(parseIntValue(cC[1]), parseIntValue(cC[2])) | |
624 | 624 | else throw("Strict value is not equal to itself.") | |
625 | 625 | } | |
626 | 626 | else throw("Wrong pool type") | |
627 | 627 | let cD = cB._1 | |
628 | 628 | let cE = cB._2 | |
629 | 629 | if ((cz > 0)) | |
630 | 630 | then { | |
631 | 631 | let cF = if (if ((cA == au)) | |
632 | 632 | then (cz > cD) | |
633 | 633 | else false) | |
634 | 634 | then (cz - cD) | |
635 | 635 | else if (if ((cA == av)) | |
636 | 636 | then (cz > cE) | |
637 | 637 | else false) | |
638 | 638 | then (cz - cE) | |
639 | 639 | else 0 | |
640 | 640 | let cG = if ((cF > 0)) | |
641 | 641 | then if ((bf == a)) | |
642 | 642 | then bS(aD, au, av, ax, ay, cF, cA) | |
643 | 643 | else cd(aD, au, av, ax, ay, cF, cA) | |
644 | 644 | else $Tuple2("", 0) | |
645 | 645 | let cc = cG._1 | |
646 | 646 | let cb = cG._2 | |
647 | 647 | if ((cA == au)) | |
648 | 648 | then $Tuple2(((cD + cF) - cz), (cE - cb)) | |
649 | 649 | else $Tuple2((cD - cb), ((cE + cF) - cz)) | |
650 | 650 | } | |
651 | 651 | else $Tuple2(cD, cE) | |
652 | 652 | } | |
653 | 653 | ||
654 | 654 | ||
655 | 655 | func cH (aA,aD) = if ((aA == a)) | |
656 | 656 | then { | |
657 | 657 | let cI = ak(ac) | |
658 | 658 | if ((cI == cI)) | |
659 | 659 | then { | |
660 | 660 | let bR = invoke(aJ(), "claim", [aD], nil) | |
661 | 661 | if ((bR == bR)) | |
662 | 662 | then { | |
663 | 663 | let cJ = ak(ac) | |
664 | 664 | $Tuple2((cJ - cI), ac) | |
665 | 665 | } | |
666 | 666 | else throw("Strict value is not equal to itself.") | |
667 | 667 | } | |
668 | 668 | else throw("Strict value is not equal to itself.") | |
669 | 669 | } | |
670 | 670 | else if ((aA == b)) | |
671 | 671 | then { | |
672 | 672 | let cI = ak(ad) | |
673 | 673 | if ((cI == cI)) | |
674 | 674 | then { | |
675 | 675 | let bR = invoke(aK(Address(fromBase58String(aD))), "claimWX", [aD], nil) | |
676 | 676 | if ((bR == bR)) | |
677 | 677 | then { | |
678 | 678 | let cJ = ak(ad) | |
679 | 679 | $Tuple2((cJ - cI), ad) | |
680 | 680 | } | |
681 | 681 | else throw("Strict value is not equal to itself.") | |
682 | 682 | } | |
683 | 683 | else throw("Strict value is not equal to itself.") | |
684 | 684 | } | |
685 | 685 | else throw("Wrong pool type") | |
686 | 686 | ||
687 | 687 | ||
688 | 688 | func cK (bf,aD,aI,bx,au,by,av,ax,ay,cL) = { | |
689 | 689 | let cM = ak(fromBase58String(cL)) | |
690 | 690 | if ((cM == cM)) | |
691 | 691 | then { | |
692 | 692 | let aq = addressFromStringValue(aD) | |
693 | 693 | let cN = if (if ((bx > 0)) | |
694 | 694 | then (by > 0) | |
695 | 695 | else false) | |
696 | 696 | then { | |
697 | 697 | let cO = bw(bf, aq, bx, au, by, av, ax, ay) | |
698 | 698 | let cp = cO._1 | |
699 | 699 | let cq = cO._2 | |
700 | 700 | let cr = cO._3 | |
701 | 701 | let cs = cO._4 | |
702 | 702 | let bR = bG(aq, bf, cp, au, cq, av) | |
703 | 703 | if ((bR == bR)) | |
704 | 704 | then $Tuple2(cr, cs) | |
705 | 705 | else throw("Strict value is not equal to itself.") | |
706 | 706 | } | |
707 | 707 | else if ((bx > 0)) | |
708 | 708 | then $Tuple2(bx, au) | |
709 | 709 | else if ((by > 0)) | |
710 | 710 | then $Tuple2(by, av) | |
711 | 711 | else throw("pmts must be > 0") | |
712 | 712 | let cr = cN._1 | |
713 | 713 | let cs = cN._2 | |
714 | 714 | let bR = if ((cr > 0)) | |
715 | 715 | then bI(aq, bf, cr, cs) | |
716 | 716 | else nil | |
717 | 717 | if ((bR == bR)) | |
718 | 718 | then { | |
719 | 719 | let cP = ak(fromBase58String(cL)) | |
720 | 720 | let cQ = (cP - cM) | |
721 | 721 | let cR = fraction(cQ, aH(aD, aI), m) | |
722 | 722 | let cS = (cQ - cR) | |
723 | 723 | if ((0 >= cS)) | |
724 | 724 | then throw("amount of staked sharetokens must be > 0") | |
725 | 725 | else { | |
726 | 726 | let cT = bK(aD, bf, cL, cS) | |
727 | 727 | if ((cT == cT)) | |
728 | 728 | then $Tuple2(cS, cR) | |
729 | 729 | else throw("Strict value is not equal to itself.") | |
730 | 730 | } | |
731 | 731 | } | |
732 | 732 | else throw("Strict value is not equal to itself.") | |
733 | 733 | } | |
734 | 734 | else throw("Strict value is not equal to itself.") | |
735 | 735 | } | |
736 | 736 | ||
737 | 737 | ||
738 | 738 | func cU (aD,aG,cV,cR,cW,aw,aA,cX) = { | |
739 | 739 | let cY = aC(aD) | |
740 | 740 | let cZ = aE(aD) | |
741 | 741 | let da = if (cX) | |
742 | 742 | then $Tuple2(getIntegerValue(this, (aD + C)), (cZ + cV)) | |
743 | 743 | else $Tuple2(getIntegerValue(this, (aD + D)), cZ) | |
744 | 744 | let db = da._1 | |
745 | 745 | let dc = da._2 | |
746 | 746 | [IntegerEntry((aD + A), (cY + cV)), IntegerEntry((aD + B), dc), IntegerEntry((((((aD + "_") + aG) + "_") + toString(cW)) + u), cV), IntegerEntry((((((aD + "_") + aG) + "_") + toString(cW)) + z), db), StringEntry((((aG + "_") + toString(cW)) + v), aD), IntegerEntry((aG + y), cW), ScriptTransfer(Y, cR, fromBase58String(aw))] | |
747 | 747 | } | |
748 | 748 | ||
749 | 749 | ||
750 | 750 | func dd (de,df,dg,dh,di,dj,dk,dl,dm,dn) = { | |
751 | 751 | let do = ak(aO(de)) | |
752 | 752 | if ((do == do)) | |
753 | 753 | then { | |
754 | 754 | let bR = invoke(Z, "swap", [dh, di, dj, dk, dl, dm, dn], [AttachedPayment(dg, df)]) | |
755 | 755 | if ((bR == bR)) | |
756 | 756 | then (ak(aO(de)) - do) | |
757 | 757 | else throw("Strict value is not equal to itself.") | |
758 | 758 | } | |
759 | 759 | else throw("Strict value is not equal to itself.") | |
760 | 760 | } | |
761 | 761 | ||
762 | 762 | ||
763 | 763 | func dp (de,df,dg,dq,dr,dn) = { | |
764 | 764 | let do = ak(aO(de)) | |
765 | 765 | if ((do == do)) | |
766 | 766 | then { | |
767 | 767 | let bR = invoke(Z, "puzzleSwap", [dq, dr, dn], [AttachedPayment(dg, df)]) | |
768 | 768 | if ((bR == bR)) | |
769 | 769 | then (ak(aO(de)) - do) | |
770 | 770 | else throw("Strict value is not equal to itself.") | |
771 | 771 | } | |
772 | 772 | else throw("Strict value is not equal to itself.") | |
773 | 773 | } | |
774 | 774 | ||
775 | 775 | ||
776 | 776 | func ds (de,df,dg,dt,du,dv,dw,dx,dy,dn) = { | |
777 | 777 | let do = ak(aO(de)) | |
778 | 778 | if ((do == do)) | |
779 | 779 | then { | |
780 | 780 | let bR = invoke(Z, "swopfiSwap", [dt, du, dv, dw, dx, dy, dn], [AttachedPayment(dg, df)]) | |
781 | 781 | if ((bR == bR)) | |
782 | 782 | then (ak(aO(de)) - do) | |
783 | 783 | else throw("Strict value is not equal to itself.") | |
784 | 784 | } | |
785 | 785 | else throw("Strict value is not equal to itself.") | |
786 | 786 | } | |
787 | 787 | ||
788 | 788 | ||
789 | 789 | func dz (aD,bf,dA,dB) = { | |
790 | 790 | let aq = Address(fromBase58String(aD)) | |
791 | 791 | let dC = az(aq, bf) | |
792 | 792 | let dD = dC._1 | |
793 | 793 | let dE = dC._2 | |
794 | 794 | let ax = dC._3 | |
795 | 795 | let ay = dC._4 | |
796 | 796 | let aw = dC._5 | |
797 | 797 | if (if ((dA != dD)) | |
798 | 798 | then (dA != dE) | |
799 | 799 | else false) | |
800 | 800 | then throw("Wrong asset") | |
801 | 801 | else { | |
802 | 802 | let dF = if ((dA == dD)) | |
803 | 803 | then $Tuple2(dB, 0) | |
804 | 804 | else $Tuple2(0, dB) | |
805 | 805 | let bx = dF._1 | |
806 | 806 | let by = dF._2 | |
807 | 807 | let dG = cK(bf, aD, i, bx, dD, by, dE, ax, ay, aw) | |
808 | 808 | let cV = dG._1 | |
809 | 809 | let dH = dG._2 | |
810 | 810 | let dI = valueOrElse(getInteger(this, (aD + C)), 0) | |
811 | 811 | let dJ = valueOrElse(getInteger(this, (aD + D)), 0) | |
812 | 812 | let dK = aC(aD) | |
813 | 813 | let dL = aE(aD) | |
814 | 814 | let dM = fraction(dL, j, dK) | |
815 | 815 | let dN = fraction(cV, dM, j) | |
816 | 816 | let dO = (cV - dN) | |
817 | 817 | let dP = if ((dL > 0)) | |
818 | 818 | then (dI + fraction(dN, k, dL)) | |
819 | 819 | else 0 | |
820 | 820 | let dQ = if (((dK - dL) > 0)) | |
821 | 821 | then (dJ + fraction(dO, k, (dK - dL))) | |
822 | 822 | else 0 | |
823 | 823 | let dR = fraction(dN, aH(aD, d), m) | |
824 | 824 | let dS = fraction(dO, aH(aD, c), m) | |
825 | 825 | let dT = bM(aD, bf, aw, (dR + dS)) | |
826 | 826 | if ((dT == dT)) | |
827 | 827 | then ([IntegerEntry((aD + C), dP), IntegerEntry((aD + D), dQ), IntegerEntry((aD + A), ((dK + cV) - dT)), IntegerEntry((aD + B), ((dL + dN) - dR)), ScriptTransfer(Y, (dR + dS), fromBase58String(aw))] ++ bs(dD, dE, aw)) | |
828 | 828 | else throw("Strict value is not equal to itself.") | |
829 | 829 | } | |
830 | 830 | } | |
831 | 831 | ||
832 | 832 | ||
833 | 833 | func dU (aD,dV,dW,dX) = { | |
834 | 834 | let aq = Address(fromBase58String(aD)) | |
835 | 835 | let bf = valueOrErrorMessage(getString(this, (M + aD)), "Unknown pool") | |
836 | 836 | let dY = az(aq, bf) | |
837 | 837 | let bT = dY._1 | |
838 | 838 | let bU = dY._2 | |
839 | 839 | let ax = dY._3 | |
840 | 840 | let ay = dY._4 | |
841 | 841 | let aw = dY._5 | |
842 | 842 | let dZ = ak(aO(bT)) | |
843 | 843 | if ((dZ == dZ)) | |
844 | 844 | then { | |
845 | 845 | let ea = ak(aO(bU)) | |
846 | 846 | if ((ea == ea)) | |
847 | 847 | then { | |
848 | 848 | let bR = if ((bf == a)) | |
849 | 849 | then invoke(aq, "callFunction", ["withdraw", [toString(dV)]], nil) | |
850 | 850 | else { | |
851 | 851 | let bR = bM(aD, bf, aw, dV) | |
852 | 852 | if ((bR == bR)) | |
853 | 853 | then invoke(aq, "get", nil, [AttachedPayment(aO(aw), dV)]) | |
854 | 854 | else throw("Strict value is not equal to itself.") | |
855 | 855 | } | |
856 | 856 | if ((bR == bR)) | |
857 | 857 | then { | |
858 | 858 | let eb = ak(aO(bT)) | |
859 | 859 | let ec = ak(aO(bU)) | |
860 | 860 | let ed = $Tuple2((eb - dZ), (ec - ea)) | |
861 | 861 | let ee = ed._1 | |
862 | 862 | let ef = ed._2 | |
863 | 863 | let eg = if ((dW > 0)) | |
864 | 864 | then { | |
865 | 865 | let cF = if (if ((dX == bT)) | |
866 | 866 | then (dW > ee) | |
867 | 867 | else false) | |
868 | 868 | then (dW - ee) | |
869 | 869 | else if (if ((dX == bU)) | |
870 | 870 | then (dW > ef) | |
871 | 871 | else false) | |
872 | 872 | then (dW - ef) | |
873 | 873 | else 0 | |
874 | 874 | let eh = if ((cF > 0)) | |
875 | 875 | then cj(bf, aD, bT, bU, ax, ay, cF, dX) | |
876 | 876 | else 0 | |
877 | 877 | if ((eh == eh)) | |
878 | 878 | then { | |
879 | 879 | let ei = ak(aO(bT)) | |
880 | 880 | let ej = ak(aO(bU)) | |
881 | 881 | if ((dX == bT)) | |
882 | 882 | then $Tuple2(((ei - dZ) - dW), (ej - ea)) | |
883 | 883 | else $Tuple2((ei - dZ), ((ej - ea) - dW)) | |
884 | 884 | } | |
885 | 885 | else throw("Strict value is not equal to itself.") | |
886 | 886 | } | |
887 | 887 | else $Tuple2(ee, ef) | |
888 | 888 | let ek = eg._1 | |
889 | 889 | let el = eg._2 | |
890 | 890 | $Tuple7(ek, bT, el, bU, eb, ec, aw) | |
891 | 891 | } | |
892 | 892 | else throw("Strict value is not equal to itself.") | |
893 | 893 | } | |
894 | 894 | else throw("Strict value is not equal to itself.") | |
895 | 895 | } | |
896 | 896 | else throw("Strict value is not equal to itself.") | |
897 | 897 | } | |
898 | 898 | ||
899 | 899 | ||
900 | 900 | func em (aG,aD,en,eo) = { | |
901 | 901 | let ep = valueOrErrorMessage(getInteger(this, (((((aD + "_") + aG) + "_") + en) + u)), "Unknown position") | |
902 | 902 | let eq = getIntegerValue(this, (((((aD + "_") + aG) + "_") + en) + z)) | |
903 | 903 | let er = if (eo) | |
904 | 904 | then getIntegerValue(this, (aD + C)) | |
905 | 905 | else getIntegerValue(this, (aD + D)) | |
906 | 906 | (ep + fraction(ep, (er - eq), k)) | |
907 | 907 | } | |
908 | 908 | ||
909 | 909 | ||
910 | 910 | func es (aG,aD,en,et) = { | |
911 | 911 | let ep = valueOrErrorMessage(getInteger(this, (((((aD + "_") + aG) + "_") + en) + u)), "Unknown position") | |
912 | 912 | let cz = valueOrElse(getInteger(this, (((((aD + "_") + aG) + "_") + en) + w)), 0) | |
913 | 913 | let dV = em(aG, aD, en, (cz > 0)) | |
914 | 914 | let eu = aC(aD) | |
915 | 915 | let ev = Address(fromBase58String(aG)) | |
916 | 916 | let dX = valueOrElse(getString(this, (((((aD + "_") + aG) + "_") + en) + x)), "") | |
917 | 917 | let dW = if ((cz > 0)) | |
918 | 918 | then { | |
919 | 919 | let at = invoke(ae(), "getAssetDebt", [false, ((aG + "_") + en), dX], nil) | |
920 | 920 | if ($isInstanceOf(at, "Int")) | |
921 | 921 | then at | |
922 | 922 | else throw(($getType(at) + " couldn't be cast to Int")) | |
923 | 923 | } | |
924 | 924 | else 0 | |
925 | 925 | let ew = dU(aD, dV, dW, dX) | |
926 | 926 | if ((ew == ew)) | |
927 | 927 | then { | |
928 | 928 | let aw = ew._7 | |
929 | 929 | let ec = ew._6 | |
930 | 930 | let eb = ew._5 | |
931 | 931 | let bU = ew._4 | |
932 | 932 | let ex = ew._3 | |
933 | 933 | let bT = ew._2 | |
934 | 934 | let ey = ew._1 | |
935 | 935 | let ez = if ((dW > 0)) | |
936 | 936 | then invoke(ae(), "repayFor", [((aG + "_") + en)], [AttachedPayment(aO(dX), dW)]) | |
937 | 937 | else 0 | |
938 | 938 | if ((ez == ez)) | |
939 | 939 | then ([DeleteEntry((((((aD + "_") + aG) + "_") + en) + u)), DeleteEntry((((((aD + "_") + aG) + "_") + en) + z)), IntegerEntry((aD + A), (eu - dV)), ScriptTransfer(ev, ey, aO(bT)), ScriptTransfer(ev, ex, aO(bU))] ++ bs(bT, bU, aw)) | |
940 | 940 | else throw("Strict value is not equal to itself.") | |
941 | 941 | } | |
942 | 942 | else throw("Strict value is not equal to itself.") | |
943 | 943 | } | |
944 | 944 | ||
945 | 945 | ||
946 | 946 | func eA (eB) = { | |
947 | 947 | let eC = split(valueOrErrorMessage(getString(this, (eB + K)), ("No request with id " + eB)), ",") | |
948 | 948 | let aG = eC[0] | |
949 | 949 | let aD = eC[1] | |
950 | 950 | let bx = parseIntValue(eC[2]) | |
951 | 951 | let dD = eC[3] | |
952 | 952 | let by = parseIntValue(eC[4]) | |
953 | 953 | let dE = eC[5] | |
954 | 954 | let ax = parseIntValue(eC[6]) | |
955 | 955 | let ay = parseIntValue(eC[7]) | |
956 | 956 | let aw = eC[8] | |
957 | 957 | let eD = eC[9] | |
958 | 958 | let eE = parseIntValue(eC[10]) | |
959 | 959 | $Tuple11(aG, aD, bx, dD, by, dE, ax, ay, aw, eD, eE) | |
960 | 960 | } | |
961 | 961 | ||
962 | 962 | ||
963 | 963 | func eF (bx,by,au,av,eG,eH) = { | |
964 | 964 | let bj = ( let at = invoke(aa, "getTWAP60", [au, false], nil) | |
965 | 965 | if ($isInstanceOf(at, "(Int, Int)")) | |
966 | 966 | then at | |
967 | 967 | else throw(($getType(at) + " couldn't be cast to (Int, Int)")))._2 | |
968 | 968 | let bk = ( let at = invoke(aa, "getTWAP60", [av, false], nil) | |
969 | 969 | if ($isInstanceOf(at, "(Int, Int)")) | |
970 | 970 | then at | |
971 | 971 | else throw(($getType(at) + " couldn't be cast to (Int, Int)")))._2 | |
972 | 972 | let eI = pow(10, 0, aP(au), 0, 0, DOWN) | |
973 | 973 | let eJ = pow(10, 0, aP(av), 0, 0, DOWN) | |
974 | 974 | let eK = (fraction(bj, bx, eI) + fraction(bk, by, eJ)) | |
975 | 975 | let eL = if ((eH == au)) | |
976 | 976 | then $Tuple2(bj, eI) | |
977 | 977 | else $Tuple2(bk, eJ) | |
978 | 978 | let eM = eL._1 | |
979 | 979 | let eN = eL._2 | |
980 | 980 | fraction(fraction(eK, (eG - 100), 100), eN, eM) | |
981 | 981 | } | |
982 | 982 | ||
983 | 983 | ||
984 | 984 | @Callable(ah) | |
985 | 985 | func calcPriceImpactEVALONLY (aD,eG,eH,bx,by) = if (if ((100 > eG)) | |
986 | 986 | then true | |
987 | 987 | else (eG > 300)) | |
988 | 988 | then throw("Leverage can't be <100 and >300") | |
989 | 989 | else { | |
990 | 990 | let bf = valueOrErrorMessage(getString(this, (M + aD)), "Pool is not inited") | |
991 | 991 | let eO = az(Address(fromBase58String(aD)), bf) | |
992 | 992 | let dD = eO._1 | |
993 | 993 | let dE = eO._2 | |
994 | 994 | let ax = eO._3 | |
995 | 995 | let ay = eO._4 | |
996 | 996 | let aw = eO._5 | |
997 | 997 | let cz = if ((eG > 100)) | |
998 | 998 | then eF(bx, by, dD, dE, eG, eH) | |
999 | 999 | else 0 | |
1000 | 1000 | let eP = if ((eH == dD)) | |
1001 | 1001 | then $Tuple2((bx + cz), by) | |
1002 | 1002 | else $Tuple2(bx, (by + cz)) | |
1003 | 1003 | let eQ = eP._1 | |
1004 | 1004 | let eR = eP._2 | |
1005 | 1005 | let eS = cm(bf, aD, eQ, dD, eR, dE, ax, ay) | |
1006 | 1006 | let ct = eS._1 | |
1007 | 1007 | let cx = eS._2 | |
1008 | 1008 | let eT = if ((0 > cx)) | |
1009 | 1009 | then (cx * -1) | |
1010 | 1010 | else cx | |
1011 | 1011 | $Tuple2(nil, [eT]) | |
1012 | 1012 | } | |
1013 | 1013 | ||
1014 | 1014 | ||
1015 | 1015 | ||
1016 | 1016 | @Callable(ah) | |
1017 | 1017 | func getShareAssetPriceREADONLY (aw) = { | |
1018 | 1018 | let eU = be(aw) | |
1019 | 1019 | $Tuple2(nil, eU) | |
1020 | 1020 | } | |
1021 | 1021 | ||
1022 | 1022 | ||
1023 | 1023 | ||
1024 | 1024 | @Callable(ah) | |
1025 | 1025 | func getUserPositionShareAmountREADONLY (aG,cW) = { | |
1026 | 1026 | let aD = valueOrErrorMessage(getString(this, (((aG + "_") + cW) + v)), "Unknown position") | |
1027 | 1027 | let cz = getIntegerValue(this, (((((aD + "_") + aG) + "_") + cW) + w)) | |
1028 | 1028 | let dV = em(aG, aD, cW, (cz > 0)) | |
1029 | 1029 | $Tuple2(nil, dV) | |
1030 | 1030 | } | |
1031 | 1031 | ||
1032 | 1032 | ||
1033 | 1033 | ||
1034 | 1034 | @Callable(ah) | |
1035 | 1035 | func getUserPositionInDollarsREADONLY (aG,eV,cW) = { | |
1036 | 1036 | func eW (aV,aD) = { | |
1037 | 1037 | let eX = aV | |
1038 | 1038 | let eY = eX._1 | |
1039 | 1039 | let eZ = eX._2 | |
1040 | 1040 | let fa = eX._3 | |
1041 | 1041 | let bf = valueOrErrorMessage(getString(this, (M + aD)), "Pool is not inited") | |
1042 | 1042 | let fb = az(Address(fromBase58String(aD)), bf) | |
1043 | 1043 | let dD = fb._1 | |
1044 | 1044 | let dE = fb._2 | |
1045 | 1045 | let ax = fb._3 | |
1046 | 1046 | let ay = fb._4 | |
1047 | 1047 | let aw = fb._5 | |
1048 | 1048 | let cz = valueOrElse(getInteger(this, (((((aD + "_") + aG) + "_") + cW[fa]) + w)), 0) | |
1049 | 1049 | let dV = em(aG, aD, cW[fa], (cz > 0)) | |
1050 | 1050 | let eU = be(aw) | |
1051 | 1051 | let fc = pow(10, 0, aP(aw), 0, 0, DOWN) | |
1052 | 1052 | let fd = fraction(dV, eU, fc) | |
1053 | 1053 | if ((cz == 0)) | |
1054 | 1054 | then $Tuple3((eY :+ fd), (eZ :+ 0), (fa + 1)) | |
1055 | 1055 | else { | |
1056 | 1056 | let dX = getStringValue(this, (((((aD + "_") + aG) + "_") + cW[fa]) + x)) | |
1057 | 1057 | let dW = { | |
1058 | 1058 | let at = invoke(ae(), "getAssetDebt", [false, ((aG + "_") + cW[fa]), dX], nil) | |
1059 | 1059 | if ($isInstanceOf(at, "Int")) | |
1060 | 1060 | then at | |
1061 | 1061 | else throw(($getType(at) + " couldn't be cast to Int")) | |
1062 | 1062 | } | |
1063 | 1063 | let fe = ( let at = invoke(aa, "getTWAP60", [dX, false], nil) | |
1064 | 1064 | if ($isInstanceOf(at, "(Int, Int)")) | |
1065 | 1065 | then at | |
1066 | 1066 | else throw(($getType(at) + " couldn't be cast to (Int, Int)")))._1 | |
1067 | 1067 | let ff = pow(10, 0, aP(dX), 0, 0, DOWN) | |
1068 | 1068 | let fg = fraction(dW, fe, ff) | |
1069 | 1069 | $Tuple3((eY :+ fd), (eZ :+ fg), (fa + 1)) | |
1070 | 1070 | } | |
1071 | 1071 | } | |
1072 | 1072 | ||
1073 | 1073 | let fh = { | |
1074 | 1074 | let aX = eV | |
1075 | 1075 | let aY = size(aX) | |
1076 | 1076 | let aZ = $Tuple3(nil, nil, 0) | |
1077 | 1077 | func ba (bb,bc) = if ((bc >= aY)) | |
1078 | 1078 | then bb | |
1079 | 1079 | else eW(bb, aX[bc]) | |
1080 | 1080 | ||
1081 | 1081 | func bd (bb,bc) = if ((bc >= aY)) | |
1082 | 1082 | then bb | |
1083 | 1083 | else throw("List size exceeds 20") | |
1084 | 1084 | ||
1085 | 1085 | bd(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(ba(aZ, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20) | |
1086 | 1086 | } | |
1087 | 1087 | let fi = fh._1 | |
1088 | 1088 | let dW = fh._2 | |
1089 | 1089 | $Tuple2(nil, $Tuple2(fi, dW)) | |
1090 | 1090 | } | |
1091 | 1091 | ||
1092 | 1092 | ||
1093 | 1093 | ||
1094 | 1094 | @Callable(ah) | |
1095 | 1095 | func replenish (aD,eG,eH) = if (if ((100 > eG)) | |
1096 | 1096 | then true | |
1097 | 1097 | else (eG > 300)) | |
1098 | 1098 | then throw("Leverage can't be <100 and >300") | |
1099 | 1099 | else { | |
1100 | 1100 | let bf = valueOrErrorMessage(getString(this, (M + aD)), "Pool is not inited") | |
1101 | 1101 | let fj = az(Address(fromBase58String(aD)), bf) | |
1102 | 1102 | let dD = fj._1 | |
1103 | 1103 | let dE = fj._2 | |
1104 | 1104 | let ax = fj._3 | |
1105 | 1105 | let ay = fj._4 | |
1106 | 1106 | let aw = fj._5 | |
1107 | 1107 | let fk = if ((size(ah.payments) == 2)) | |
1108 | 1108 | then if ((aN(ah.payments[0].assetId) != dD)) | |
1109 | 1109 | then throw("Wrong payment asset A") | |
1110 | 1110 | else if ((aN(ah.payments[1].assetId) != dE)) | |
1111 | 1111 | then throw("Wrong payment asset B") | |
1112 | 1112 | else $Tuple4(ah.payments[0].amount, dD, ah.payments[1].amount, dE) | |
1113 | 1113 | else if ((size(ah.payments) == 1)) | |
1114 | 1114 | then if ((aN(ah.payments[0].assetId) == dD)) | |
1115 | 1115 | then $Tuple4(ah.payments[0].amount, dD, 0, dE) | |
1116 | 1116 | else if ((aN(ah.payments[0].assetId) == dE)) | |
1117 | 1117 | then $Tuple4(0, dD, ah.payments[0].amount, dE) | |
1118 | 1118 | else throw("Wrong payment") | |
1119 | 1119 | else throw("One or two payments expected") | |
1120 | 1120 | let bx = fk._1 | |
1121 | 1121 | let fl = fk._2 | |
1122 | 1122 | let by = fk._3 | |
1123 | 1123 | let fm = fk._4 | |
1124 | 1124 | let fn = aF(toString(ah.caller)) | |
1125 | 1125 | if ((eG > 100)) | |
1126 | 1126 | then { | |
1127 | 1127 | let cz = eF(bx, by, fl, fm, eG, eH) | |
1128 | 1128 | let eC = makeString([toString(ah.caller), aD, toString(bx), fl, toString(by), fm, toString(ax), toString(ay), aw, eH, toString(cz)], ",") | |
1129 | 1129 | let fo = { | |
1130 | 1130 | let at = invoke(this, "createNewRequest", [eC], nil) | |
1131 | 1131 | if ($isInstanceOf(at, "Int")) | |
1132 | 1132 | then at | |
1133 | 1133 | else throw(($getType(at) + " couldn't be cast to Int")) | |
1134 | 1134 | } | |
1135 | 1135 | if ((fo == fo)) | |
1136 | 1136 | then { | |
1137 | 1137 | let fp = [((toString(ah.caller) + "_") + toString(fn)), aw, eH, cz, toString(this), "replenishFromLand", toString(valueOrErrorMessage(fo, "Can't create new request"))] | |
1138 | 1138 | let bR = reentrantInvoke(ae(), "flashPosition", fp, nil) | |
1139 | 1139 | if ((bR == bR)) | |
1140 | 1140 | then nil | |
1141 | 1141 | else throw("Strict value is not equal to itself.") | |
1142 | 1142 | } | |
1143 | 1143 | else throw("Strict value is not equal to itself.") | |
1144 | 1144 | } | |
1145 | 1145 | else { | |
1146 | 1146 | let fq = cK(bf, aD, h, bx, dD, by, dE, ax, ay, aw) | |
1147 | 1147 | let fr = fq._1 | |
1148 | 1148 | let dT = fq._2 | |
1149 | 1149 | (cU(aD, toString(ah.caller), fr, dT, fn, aw, bf, false) ++ bs(dD, dE, aw)) | |
1150 | 1150 | } | |
1151 | 1151 | } | |
1152 | 1152 | ||
1153 | 1153 | ||
1154 | 1154 | ||
1155 | 1155 | @Callable(ah) | |
1156 | 1156 | func withdraw (aD,en) = es(toString(ah.caller), aD, toString(en), false) | |
1157 | 1157 | ||
1158 | 1158 | ||
1159 | 1159 | ||
1160 | 1160 | @Callable(ah) | |
1161 | 1161 | func createUpdateStopLoss (en,fs,al,ft) = { | |
1162 | 1162 | let fu = ( let at = invoke(aa, "getTWAP60", [al, false], nil) | |
1163 | 1163 | if ($isInstanceOf(at, "(Int, Int)")) | |
1164 | 1164 | then at | |
1165 | 1165 | else throw(($getType(at) + " couldn't be cast to (Int, Int)")))._1 | |
1166 | 1166 | if (!(isDefined(getInteger(this, (((((fs + "_") + toString(ah.caller)) + "_") + toString(en)) + u))))) | |
1167 | 1167 | then throw("There are no user position") | |
1168 | 1168 | else if ((0 >= ft)) | |
1169 | 1169 | then throw("Price must be greater than 0") | |
1170 | 1170 | else if ((ft > fu)) | |
1171 | 1171 | then throw("Price must be less than current token price") | |
1172 | 1172 | else [IntegerEntry((((((((toString(ah.caller) + "_") + toString(en)) + "_") + fs) + "_") + al) + Q), ft)] | |
1173 | 1173 | } | |
1174 | 1174 | ||
1175 | 1175 | ||
1176 | 1176 | ||
1177 | 1177 | @Callable(ah) | |
1178 | 1178 | func deleteStopLoss (en,fs,al) = if (!(isDefined(getInteger(this, (((((((toString(ah.caller) + "_") + toString(en)) + "_") + fs) + "_") + al) + Q))))) | |
1179 | 1179 | then throw("No entry") | |
1180 | 1180 | else [DeleteEntry((((((((toString(ah.caller) + "_") + toString(en)) + "_") + fs) + "_") + al) + Q))] | |
1181 | 1181 | ||
1182 | 1182 | ||
1183 | 1183 | ||
1184 | 1184 | @Callable(ah) | |
1185 | 1185 | func createNewRequest (bQ) = valueOrElse(ai(ah), { | |
1186 | 1186 | let fo = (valueOrElse(getInteger(this, L), 0) + 1) | |
1187 | 1187 | $Tuple2([StringEntry((toString(fo) + K), bQ), IntegerEntry(L, fo)], fo) | |
1188 | 1188 | }) | |
1189 | 1189 | ||
1190 | 1190 | ||
1191 | 1191 | ||
1192 | 1192 | @Callable(ah) | |
1193 | 1193 | func replenishFromLand (eB) = valueOrElse(aj(ah), { | |
1194 | 1194 | let fv = eA(eB) | |
1195 | 1195 | let aG = fv._1 | |
1196 | 1196 | let aD = fv._2 | |
1197 | 1197 | let bx = fv._3 | |
1198 | 1198 | let dD = fv._4 | |
1199 | 1199 | let by = fv._5 | |
1200 | 1200 | let dE = fv._6 | |
1201 | 1201 | let ax = fv._7 | |
1202 | 1202 | let ay = fv._8 | |
1203 | 1203 | let aw = fv._9 | |
1204 | 1204 | let eD = fv._10 | |
1205 | 1205 | let eE = fv._11 | |
1206 | 1206 | if ((size(ah.payments) != 1)) | |
1207 | 1207 | then throw("Wrong payment size") | |
1208 | 1208 | else if (if ((aN(ah.payments[0].assetId) != eD)) | |
1209 | 1209 | then true | |
1210 | 1210 | else (ah.payments[0].amount != eE)) | |
1211 | 1211 | then throw("Wrong payment") | |
1212 | 1212 | else { | |
1213 | 1213 | let fw = if ((dD == eD)) | |
1214 | 1214 | then $Tuple2((bx + ah.payments[0].amount), by) | |
1215 | 1215 | else $Tuple2(bx, (by + ah.payments[0].amount)) | |
1216 | 1216 | let fx = fw._1 | |
1217 | 1217 | let fy = fw._2 | |
1218 | 1218 | let bf = valueOrErrorMessage(getString(this, (M + aD)), "Unknown pool") | |
1219 | 1219 | let fz = cK(bf, aD, g, fx, dD, fy, dE, ax, ay, aw) | |
1220 | 1220 | let fr = fz._1 | |
1221 | 1221 | let dT = fz._2 | |
1222 | 1222 | let cW = aF(aG) | |
1223 | 1223 | let fA = [IntegerEntry((((((aD + "_") + aG) + "_") + toString(cW)) + w), eE), StringEntry((((((aD + "_") + aG) + "_") + toString(cW)) + x), eD)] | |
1224 | 1224 | let fB = cU(aD, aG, fr, dT, cW, aw, bf, true) | |
1225 | 1225 | $Tuple2((((fB ++ bs(dD, dE, aw)) ++ fA) :+ DeleteEntry((eB + K))), fr) | |
1226 | 1226 | } | |
1227 | 1227 | }) | |
1228 | 1228 | ||
1229 | 1229 | ||
1230 | 1230 | ||
1231 | 1231 | @Callable(ah) | |
1232 | 1232 | func liquidate (aG,en,fC) = valueOrElse(aj(ah), { | |
1233 | 1233 | let aD = valueOrErrorMessage(getString(this, (((aG + "_") + en) + v)), "no position") | |
1234 | 1234 | let bf = valueOrErrorMessage(getString(this, (M + aD)), "Pool is not inited") | |
1235 | 1235 | let fD = az(Address(fromBase58String(aD)), bf) | |
1236 | 1236 | let dD = fD._1 | |
1237 | 1237 | let dE = fD._2 | |
1238 | 1238 | let ax = fD._3 | |
1239 | 1239 | let ay = fD._4 | |
1240 | 1240 | let aw = fD._5 | |
1241 | 1241 | let bL = bM(aD, bf, aw, fC) | |
1242 | 1242 | let cz = getIntegerValue(this, (((((aD + "_") + aG) + "_") + en) + w)) | |
1243 | 1243 | let dX = getStringValue(this, (((((aD + "_") + aG) + "_") + en) + x)) | |
1244 | 1244 | let dV = em(aG, aD, en, (cz > 0)) | |
1245 | 1245 | if ((cz == 0)) | |
1246 | 1246 | then throw("You can't liquidate position without borrow") | |
1247 | 1247 | else [IntegerEntry((((((aD + "_") + aG) + "_") + en) + z), getIntegerValue(this, (aD + C))), IntegerEntry((aD + B), (aE(aD) - fC)), IntegerEntry((aD + A), (aC(aD) - fC)), IntegerEntry((((((aD + "_") + aG) + "_") + en) + u), (dV - fC)), ScriptTransfer(ah.caller, bL, fromBase58String(aw))] | |
1248 | 1248 | }) | |
1249 | 1249 | ||
1250 | 1250 | ||
1251 | 1251 | ||
1252 | 1252 | @Callable(ah) | |
1253 | 1253 | func stopLoss (aG,en,aD,al) = valueOrElse(ag(ah), { | |
1254 | 1254 | let fu = ( let at = invoke(aa, "getTWAP60", [al, false], nil) | |
1255 | 1255 | if ($isInstanceOf(at, "(Int, Int)")) | |
1256 | 1256 | then at | |
1257 | 1257 | else throw(($getType(at) + " couldn't be cast to (Int, Int)")))._1 | |
1258 | 1258 | if (!(isDefined(getInteger(this, (((((((aG + "_") + toString(en)) + "_") + aD) + "_") + al) + Q))))) | |
1259 | 1259 | then throw("No entry") | |
1260 | 1260 | else (es(toString(ah.caller), aD, toString(en), true) :+ DeleteEntry((((((((aG + "_") + toString(en)) + "_") + aD) + "_") + al) + Q))) | |
1261 | 1261 | }) | |
1262 | 1262 | ||
1263 | 1263 | ||
1264 | 1264 | ||
1265 | 1265 | @Callable(ah) | |
1266 | 1266 | func capitalizeExKeeper (aD,aA,fE,fF,fG,dh,di,dj,dk,dl,dm,dn) = valueOrElse(ag(ah), { | |
1267 | 1267 | let fH = if (fG) | |
1268 | 1268 | then cH(aA, aD) | |
1269 | 1269 | else { | |
1270 | 1270 | let fI = if ((aA == a)) | |
1271 | 1271 | then ac | |
1272 | 1272 | else ad | |
1273 | 1273 | $Tuple2(fF, fI) | |
1274 | 1274 | } | |
1275 | 1275 | let fJ = fH._1 | |
1276 | 1276 | let fI = fH._2 | |
1277 | 1277 | let fK = dd(fE, fF, fI, dh, di, dj, dk, dl, dm, dn) | |
1278 | 1278 | let cr = (fJ - fF) | |
1279 | 1279 | let fL = if ((cr > 0)) | |
1280 | 1280 | then [IntegerEntry((aD + O), (cr + valueOrElse(getInteger(this, (aD + O)), 0)))] | |
1281 | 1281 | else nil | |
1282 | 1282 | (dz(aD, aA, fE, fK) ++ fL) | |
1283 | 1283 | }) | |
1284 | 1284 | ||
1285 | 1285 | ||
1286 | 1286 | ||
1287 | 1287 | @Callable(ah) | |
1288 | 1288 | func capitalizeExPuzzle (aD,aA,fE,fF,fG,dq,dr,dn) = valueOrElse(ag(ah), { | |
1289 | 1289 | let fM = if (fG) | |
1290 | 1290 | then cH(aA, aD) | |
1291 | 1291 | else { | |
1292 | 1292 | let fI = if ((aA == a)) | |
1293 | 1293 | then ac | |
1294 | 1294 | else ad | |
1295 | 1295 | $Tuple2(fF, fI) | |
1296 | 1296 | } | |
1297 | 1297 | let fJ = fM._1 | |
1298 | 1298 | let fI = fM._2 | |
1299 | 1299 | let fK = dp(fE, fF, fI, dq, dr, dn) | |
1300 | 1300 | let cr = (fJ - fF) | |
1301 | 1301 | let fL = if ((cr > 0)) | |
1302 | 1302 | then [IntegerEntry((aD + O), (cr + valueOrElse(getInteger(this, (aD + O)), 0)))] | |
1303 | 1303 | else nil | |
1304 | 1304 | (dz(aD, aA, fE, fK) ++ fL) | |
1305 | 1305 | }) | |
1306 | 1306 | ||
1307 | 1307 | ||
1308 | 1308 | ||
1309 | 1309 | @Callable(ah) | |
1310 | 1310 | func capitalizeExSwopFi (aD,aA,fE,fF,fG,dt,du,dv,dw,dx,dy,dn) = valueOrElse(ag(ah), { | |
1311 | 1311 | let fN = if (fG) | |
1312 | 1312 | then cH(aA, aD) | |
1313 | 1313 | else { | |
1314 | 1314 | let fI = if ((aA == a)) | |
1315 | 1315 | then ac | |
1316 | 1316 | else ad | |
1317 | 1317 | $Tuple2(fF, fI) | |
1318 | 1318 | } | |
1319 | 1319 | let fJ = fN._1 | |
1320 | 1320 | let fI = fN._2 | |
1321 | 1321 | let fK = ds(fE, fF, fI, dt, du, dv, dw, dx, dy, dn) | |
1322 | 1322 | let cr = (fJ - fF) | |
1323 | 1323 | let fL = if ((cr > 0)) | |
1324 | 1324 | then [IntegerEntry((aD + O), (cr + valueOrElse(getInteger(this, (aD + O)), 0)))] | |
1325 | 1325 | else nil | |
1326 | 1326 | (dz(aD, aA, fE, fK) ++ fL) | |
1327 | 1327 | }) | |
1328 | 1328 | ||
1329 | 1329 | ||
1330 | 1330 | ||
1331 | 1331 | @Callable(ah) | |
1332 | 1332 | func initNewPool (aA,aq,fO,fP,fQ,fR,fS,fT) = valueOrElse(ag(ah), if (if ((aA != a)) | |
1333 | 1333 | then (aA != b) | |
1334 | 1334 | else false) | |
1335 | 1335 | then throw("Wrong type") | |
1336 | 1336 | else { | |
1337 | 1337 | let fU = az(Address(fromBase58String(aq)), aA) | |
1338 | 1338 | let au = fU._1 | |
1339 | 1339 | let av = fU._2 | |
1340 | 1340 | let fV = fU._3 | |
1341 | 1341 | let fW = fU._4 | |
1342 | 1342 | let aw = fU._5 | |
1343 | 1343 | [IntegerEntry((aq + E), fO), IntegerEntry((aq + F), fP), IntegerEntry((aq + G), fQ), IntegerEntry((aq + H), fR), IntegerEntry((aq + I), fS), IntegerEntry((aq + J), fT), IntegerEntry((aq + C), 0), IntegerEntry((aq + D), 0), StringEntry((M + aq), aA), StringEntry((aw + N), aq)] | |
1344 | 1344 | }) | |
1345 | 1345 | ||
1346 | 1346 | ||
1347 | 1347 | @Verifier(fX) | |
1348 | 1348 | func fY () = sigVerify(fX.bodyBytes, fX.proofs[0], fX.senderPublicKey) | |
1349 | 1349 |
github/deemru/w8io/026f985 183.44 ms ◑