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