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