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