tx · 3gvvR1SPMCwsiHAjAJHRRptgZCShuyjJ2gpgZaVf71Y5 3MvRWw2FPEimFCTGtK7qY9uAJbM7XJ4ZfJS: -0.22000000 Waves 2023.04.18 11:31 [2539756] smart account 3MvRWw2FPEimFCTGtK7qY9uAJbM7XJ4ZfJS > SELF 0.00000000 Waves
{ "type": 13, "id": "3gvvR1SPMCwsiHAjAJHRRptgZCShuyjJ2gpgZaVf71Y5", "fee": 22000000, "feeAssetId": null, "timestamp": 1681806725728, "version": 2, "chainId": 84, "sender": "3MvRWw2FPEimFCTGtK7qY9uAJbM7XJ4ZfJS", "senderPublicKey": "HP8sssVq1866F7CaPQJwgFrt6fsqhQjKwM84cL1wjD2a", "proofs": [ "2DEkhHL4jeS5DND4SvGeWR4fLcNhkANtcgtCgWN7K4Cb2xF1RRm1v7CAoDfiAxCacC7NXg4whAexJmdEzMKhWpMR" ], "script": "base64:BgJXCAISBwoFCAEBAQgSBQoDCAEIEgMKAQgSBAoCCAESAwoBCBIOCgwICAgBBBEYGBEBARgSCgoICAgIAQQIARgSDgoMCAgIAQQYGBgYGAEYEgcKBQgIAQEBQQAHU0ZfUE9PTAICU0YAB1dYX1BPT0wCAldYAAdDQVBfRkVFAgNjYXAACExPQU5fRkVFAgRsb2FuAAtOT19MT0FOX0ZFRQIGbm9Mb2FuAAZTQ0FMRTgAgMLXLwAHU0NBTEUxMACAyK+gJQAKRkVFX1NDQUxFNgDAhD0AFGtTRlBvb2xBQXNzZXRCYWxhbmNlAg9BX2Fzc2V0X2JhbGFuY2UAFGtTRlBvb2xCQXNzZXRCYWxhbmNlAg9CX2Fzc2V0X2JhbGFuY2UAD2tTRlBvb2xBQXNzZXRJZAIKQV9hc3NldF9pZAAPa1NGUG9vbEJBc3NldElkAgpCX2Fzc2V0X2lkAA5rU0ZQb29sU2hhcmVJZAIOc2hhcmVfYXNzZXRfaWQACmtTRlBvb2xGZWUCCmNvbW1pc3Npb24ADWtVc2VyUG9zaXRpb24CDl91c2VyX3B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UEcG9vbAUOa1Bvb2xDYXBDaGFuZ2UAAAUDbmlsBQNuaWwJAM4IAgkBCmNhcGl0YWxpemUEBQRwb29sBQR0eXBlBQl0b2tlblRvSWQFD2V4Y2hhbmdlZEFtb3VudAULY2hhbmdlRW50cnkBaQELaW5pdE5ld1Bvb2wFBHR5cGUIcG9vbEFkZHILaW5GZWVOb0xvYW4JaW5GZWVMb2FuBmNhcEZlZQMDCQECIT0CBQR0eXBlBQdTRl9QT09MCQECIT0CBQR0eXBlBQdXWF9QT09MBwkAAgECCldyb25nIHR5cGUJAMwIAgkBDEludGVnZXJFbnRyeQIJAKwCAgUIcG9vbEFkZHIFFWtBeGx5SW5GZWVXaXRob3V0TG9hbgULaW5GZWVOb0xvYW4JAMwIAgkBDEludGVnZXJFbnRyeQIJAKwCAgUIcG9vbEFkZHIFEmtBeGx5SW5GZWVXaXRoTG9hbgUJaW5GZWVMb2FuCQDMCAIJAQxJbnRlZ2VyRW50cnkCCQCsAgIFCHBvb2xBZGRyBQtrQXhseUNhcEZlZQUGY2FwRmVlCQDMCAIJAQxJbnRlZ2VyRW50cnkCCQCsAgIFCHBvb2xBZGRyBQ1rUG9vbEludGVyZXN0AAAJAMwIAgkBC1N0cmluZ0VudHJ5AgkArAICBQVrUG9vbAUIcG9vbEFkZHIFBHR5cGUFA25pbAECdHgBBnZlcmlmeQAJAPQDAwgFAnR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAAIBQJ0eA9zZW5kZXJQdWJsaWNLZXnlQIgU", "height": 2539756, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: GYdffmNVVoYBErKVNcB3yS4uoSchwfGouQ9cwuaPd5QD Next: 5DC9irA7VoBt7GYocYGE9q6omzp6KrEAKDU6yYu2wYr5 Diff:
Old | New | Differences | |
---|---|---|---|
502 | 502 | ||
503 | 503 | ||
504 | 504 | @Callable(P) | |
505 | - | func replenishREADONLY ( | |
505 | + | func replenishREADONLY (ad,as,au,ch,ci) = if (if ((100 > ch)) | |
506 | 506 | then true | |
507 | 507 | else (ch > 300)) | |
508 | 508 | then throw("Leverage can't be <100 and >300") | |
533 | 533 | else $Tuple3(as, au, e) | |
534 | 534 | let cp = ck._1 | |
535 | 535 | let cq = ck._2 | |
536 | - | let | |
536 | + | let ah = ck._3 | |
537 | 537 | let cr = if ((ab == a)) | |
538 | - | then ar(ad, | |
539 | - | else aR(ad, | |
538 | + | then ar(ad, ah, cp, bI, cq, bJ, aw, ax, ay) | |
539 | + | else aR(ad, ah, as, bI, au, bJ, ay) | |
540 | 540 | let cs = cr._1 | |
541 | 541 | let bM = cr._2 | |
542 | 542 | $Tuple2(nil, cs) |
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 = "cap" | |
9 | 9 | ||
10 | 10 | let d = "loan" | |
11 | 11 | ||
12 | 12 | let e = "noLoan" | |
13 | 13 | ||
14 | 14 | let f = 100000000 | |
15 | 15 | ||
16 | 16 | let g = 10000000000 | |
17 | 17 | ||
18 | 18 | let h = 1000000 | |
19 | 19 | ||
20 | 20 | let i = "A_asset_balance" | |
21 | 21 | ||
22 | 22 | let j = "B_asset_balance" | |
23 | 23 | ||
24 | 24 | let k = "A_asset_id" | |
25 | 25 | ||
26 | 26 | let l = "B_asset_id" | |
27 | 27 | ||
28 | 28 | let m = "share_asset_id" | |
29 | 29 | ||
30 | 30 | let n = "commission" | |
31 | 31 | ||
32 | 32 | let o = "_user_position" | |
33 | 33 | ||
34 | 34 | let p = "_user_position_borrow_amount" | |
35 | 35 | ||
36 | 36 | let q = "_user_position_borrow_asset_id" | |
37 | 37 | ||
38 | 38 | let r = "_user_position_number" | |
39 | 39 | ||
40 | 40 | let s = "_user_position_interest" | |
41 | 41 | ||
42 | 42 | let t = "_pool_total" | |
43 | 43 | ||
44 | 44 | let u = "_pool_interest" | |
45 | 45 | ||
46 | 46 | let v = "_axly_fee_without_loan" | |
47 | 47 | ||
48 | 48 | let w = "_axly_fee_with_loan" | |
49 | 49 | ||
50 | 50 | let x = "_axly_fee_cap" | |
51 | 51 | ||
52 | 52 | let y = "_request_id" | |
53 | 53 | ||
54 | 54 | let z = "requests_iter" | |
55 | 55 | ||
56 | 56 | let A = "pool_" | |
57 | 57 | ||
58 | 58 | let B = "_pool_cap_change" | |
59 | 59 | ||
60 | 60 | let C = "axly_money_box" | |
61 | 61 | ||
62 | 62 | let D = "swopfi_farming_addr" | |
63 | 63 | ||
64 | 64 | let E = "lend_service_addr" | |
65 | 65 | ||
66 | 66 | let F = "price_oracle" | |
67 | 67 | ||
68 | 68 | let G = "exchange_contract" | |
69 | 69 | ||
70 | 70 | let H = "wx_swap_contract" | |
71 | 71 | ||
72 | 72 | let I = Address(fromBase58String(valueOrErrorMessage(getString(this, C), "No axly moneyBox address"))) | |
73 | 73 | ||
74 | 74 | let J = Address(fromBase58String(valueOrErrorMessage(getString(this, G), "No exchange contract address"))) | |
75 | 75 | ||
76 | 76 | let K = Address(fromBase58String(valueOrErrorMessage(getString(this, F), "No price oracle address"))) | |
77 | 77 | ||
78 | 78 | let L = Address(fromBase58String(valueOrErrorMessage(getString(this, H), "No wx swap address"))) | |
79 | 79 | ||
80 | 80 | let M = base58'4W19ndijcc2CsQa9HGW2dfXKTVXhnneWWttxXrtjPmEp' | |
81 | 81 | ||
82 | 82 | let N = base58'EMAMLxDnv3xiz8RXg8Btj33jcEw3wLczL3JKYYmuubpc' | |
83 | 83 | ||
84 | 84 | func O (P) = if ((P.caller == this)) | |
85 | 85 | then unit | |
86 | 86 | else throw("Only contract itself can call this function") | |
87 | 87 | ||
88 | 88 | ||
89 | 89 | func Q (R) = { | |
90 | 90 | let S = R | |
91 | 91 | if ($isInstanceOf(S, "ByteVector")) | |
92 | 92 | then { | |
93 | 93 | let T = S | |
94 | 94 | assetBalance(this, T) | |
95 | 95 | } | |
96 | 96 | else if ($isInstanceOf(S, "Unit")) | |
97 | 97 | then { | |
98 | 98 | let U = S | |
99 | 99 | wavesBalance(this).available | |
100 | 100 | } | |
101 | 101 | else throw("Match error") | |
102 | 102 | } | |
103 | 103 | ||
104 | 104 | ||
105 | 105 | func V (W) = $Tuple5(valueOrErrorMessage(getString(W, k), "Can't get pool A asset id"), valueOrErrorMessage(getString(W, l), "Can't get pool B asset id"), valueOrErrorMessage(getInteger(W, i), "Can't get pool A asset balance"), valueOrErrorMessage(getInteger(W, j), "Can't get pool B asset balance"), valueOrErrorMessage(getString(W, m), "Can't get share asset id")) | |
106 | 106 | ||
107 | 107 | ||
108 | 108 | func X (W) = { | |
109 | 109 | let Y = { | |
110 | 110 | let Z = invoke(W, "getPoolConfigWrapperREADONLY", nil, nil) | |
111 | 111 | if ($isInstanceOf(Z, "List[Any]")) | |
112 | 112 | then Z | |
113 | 113 | else throw(($getType(Z) + " couldn't be cast to List[Any]")) | |
114 | 114 | } | |
115 | 115 | if ((Y == Y)) | |
116 | 116 | then $Tuple5(valueOrErrorMessage({ | |
117 | 117 | let Z = Y[4] | |
118 | 118 | if ($isInstanceOf(Z, "String")) | |
119 | 119 | then Z | |
120 | 120 | else unit | |
121 | 121 | }, "Can't get pool A asset id"), valueOrErrorMessage({ | |
122 | 122 | let Z = Y[5] | |
123 | 123 | if ($isInstanceOf(Z, "String")) | |
124 | 124 | then Z | |
125 | 125 | else unit | |
126 | 126 | }, "Can't get pool B asset id"), 0, 0, valueOrErrorMessage({ | |
127 | 127 | let Z = Y[3] | |
128 | 128 | if ($isInstanceOf(Z, "String")) | |
129 | 129 | then Z | |
130 | 130 | else unit | |
131 | 131 | }, "Can't get pool LP asset id")) | |
132 | 132 | else throw("Strict value is not equal to itself.") | |
133 | 133 | } | |
134 | 134 | ||
135 | 135 | ||
136 | 136 | func aa (W,ab) = if ((ab == a)) | |
137 | 137 | then V(W) | |
138 | 138 | else if ((ab == b)) | |
139 | 139 | then X(W) | |
140 | 140 | else throw("Wrong pool type") | |
141 | 141 | ||
142 | 142 | ||
143 | 143 | func ac (ad) = valueOrElse(getInteger(this, (ad + t)), 0) | |
144 | 144 | ||
145 | 145 | ||
146 | 146 | func ae (ad,af) = (valueOrElse(getInteger(this, (((ad + "_") + af) + r)), 0) + 1) | |
147 | 147 | ||
148 | 148 | ||
149 | 149 | func ag (ad,ah) = if ((ah == "cap")) | |
150 | 150 | then getIntegerValue(this, (ad + x)) | |
151 | 151 | else if ((ah == "loan")) | |
152 | 152 | then getIntegerValue(this, (ad + w)) | |
153 | 153 | else if ((ah == "noLoan")) | |
154 | 154 | then getIntegerValue(this, (ad + v)) | |
155 | 155 | else throw("Wrong fee type") | |
156 | 156 | ||
157 | 157 | ||
158 | 158 | func ai () = Address(fromBase58String(valueOrErrorMessage(getString(this, D), "Can't get swopfi farming addr"))) | |
159 | 159 | ||
160 | 160 | ||
161 | 161 | func aj (W) = { | |
162 | 162 | let ak = Address(fromBase58String(valueOrErrorMessage(getString(W, "%s__factoryContract"), "Can't get WX factory contract addr"))) | |
163 | 163 | let al = split(valueOrErrorMessage(getString(ak, "%s__factoryConfig"), "Can't get WX factory cfg"), "__") | |
164 | 164 | Address(fromBase58String(al[1])) | |
165 | 165 | } | |
166 | 166 | ||
167 | 167 | ||
168 | 168 | func am () = Address(fromBase58String(valueOrErrorMessage(getString(this, E), "Can't get lend service addr"))) | |
169 | 169 | ||
170 | 170 | ||
171 | 171 | func an (R) = { | |
172 | 172 | let S = R | |
173 | 173 | if ($isInstanceOf(S, "ByteVector")) | |
174 | 174 | then { | |
175 | 175 | let T = S | |
176 | 176 | toBase58String(T) | |
177 | 177 | } | |
178 | 178 | else if ($isInstanceOf(S, "Unit")) | |
179 | 179 | then { | |
180 | 180 | let U = S | |
181 | 181 | "WAVES" | |
182 | 182 | } | |
183 | 183 | else throw("Match error") | |
184 | 184 | } | |
185 | 185 | ||
186 | 186 | ||
187 | 187 | func ao (R) = if ((R == "WAVES")) | |
188 | 188 | then unit | |
189 | 189 | else fromBase58String(R) | |
190 | 190 | ||
191 | 191 | ||
192 | 192 | func ap (R) = if ((R == "WAVES")) | |
193 | 193 | then 8 | |
194 | 194 | else { | |
195 | 195 | let S = assetInfo(fromBase58String(R)) | |
196 | 196 | if ($isInstanceOf(S, "Asset")) | |
197 | 197 | then { | |
198 | 198 | let aq = S | |
199 | 199 | aq.decimals | |
200 | 200 | } | |
201 | 201 | else throw("Can't find asset") | |
202 | 202 | } | |
203 | 203 | ||
204 | 204 | ||
205 | 205 | func ar (ad,ah,as,at,au,av,aw,ax,ay) = { | |
206 | 206 | let az = Q(fromBase58String(ay)) | |
207 | 207 | if ((az == az)) | |
208 | 208 | then { | |
209 | 209 | let W = Address(fromBase58String(ad)) | |
210 | 210 | let aA = fraction(f, as, aw) | |
211 | 211 | let aB = fraction(f, au, ax) | |
212 | 212 | let aC = if ((aB > aA)) | |
213 | 213 | then { | |
214 | 214 | let aD = fraction(ax, aA, f, CEILING) | |
215 | 215 | $Tuple4(as, aD, (au - aD), av) | |
216 | 216 | } | |
217 | 217 | else { | |
218 | 218 | let aD = fraction(aw, aB, f, CEILING) | |
219 | 219 | $Tuple4(aD, au, (as - aD), at) | |
220 | 220 | } | |
221 | 221 | let aE = aC._1 | |
222 | 222 | let aF = aC._2 | |
223 | 223 | let aG = aC._3 | |
224 | 224 | let aH = aC._4 | |
225 | 225 | let aI = if (if ((aE > 0)) | |
226 | 226 | then (aF > 0) | |
227 | 227 | else false) | |
228 | 228 | then { | |
229 | 229 | let aJ = [AttachedPayment(ao(at), aE), AttachedPayment(ao(av), aF)] | |
230 | 230 | invoke(W, "callFunction", ["replenishWithTwoTokens", ["false", "0"]], aJ) | |
231 | 231 | } | |
232 | 232 | else 0 | |
233 | 233 | if ((aI == aI)) | |
234 | 234 | then { | |
235 | 235 | let aK = if ((aG > 0)) | |
236 | 236 | then { | |
237 | 237 | let aJ = [AttachedPayment(ao(aH), aG)] | |
238 | 238 | let aL = ["0", "false", "0"] | |
239 | 239 | invoke(W, "callFunction", ["replenishWithOneToken", aL], aJ) | |
240 | 240 | } | |
241 | 241 | else 0 | |
242 | 242 | if ((aK == aK)) | |
243 | 243 | then { | |
244 | 244 | let aM = Q(fromBase58String(ay)) | |
245 | 245 | let aN = (aM - az) | |
246 | 246 | let aO = fraction(aN, ag(ad, ah), h) | |
247 | 247 | let aP = (aN - aO) | |
248 | 248 | if ((0 >= aP)) | |
249 | 249 | then throw("amount of staked sharetokens must be > 0") | |
250 | 250 | else { | |
251 | 251 | let aQ = invoke(ai(), "lockShareTokens", [ad, 0], [AttachedPayment(fromBase58String(ay), aP)]) | |
252 | 252 | if ((aQ == aQ)) | |
253 | 253 | then $Tuple2(aP, aO) | |
254 | 254 | else throw("Strict value is not equal to itself.") | |
255 | 255 | } | |
256 | 256 | } | |
257 | 257 | else throw("Strict value is not equal to itself.") | |
258 | 258 | } | |
259 | 259 | else throw("Strict value is not equal to itself.") | |
260 | 260 | } | |
261 | 261 | else throw("Strict value is not equal to itself.") | |
262 | 262 | } | |
263 | 263 | ||
264 | 264 | ||
265 | 265 | func aR (ad,ah,as,at,au,av,ay) = { | |
266 | 266 | let W = Address(fromBase58String(ad)) | |
267 | 267 | let aS = if (if ((as > 0)) | |
268 | 268 | then (au > 0) | |
269 | 269 | else false) | |
270 | 270 | then { | |
271 | 271 | let aT = split({ | |
272 | 272 | let Z = invoke(W, "evaluatePutByAmountAssetREADONLY", [as], nil) | |
273 | 273 | if ($isInstanceOf(Z, "String")) | |
274 | 274 | then Z | |
275 | 275 | else throw(($getType(Z) + " couldn't be cast to String")) | |
276 | 276 | }, "__") | |
277 | 277 | if ((aT == aT)) | |
278 | 278 | then { | |
279 | 279 | let aU = split({ | |
280 | 280 | let Z = invoke(W, "evaluatePutByPriceAssetREADONLY", [au], nil) | |
281 | 281 | if ($isInstanceOf(Z, "String")) | |
282 | 282 | then Z | |
283 | 283 | else throw(($getType(Z) + " couldn't be cast to String")) | |
284 | 284 | }, "__") | |
285 | 285 | if ((aU == aU)) | |
286 | 286 | then { | |
287 | 287 | let aV = parseIntValue(aT[1]) | |
288 | 288 | let aW = parseIntValue(aU[1]) | |
289 | 289 | if ((aW > aV)) | |
290 | 290 | then { | |
291 | 291 | let aX = parseIntValue(aT[8]) | |
292 | 292 | $Tuple4(as, aX, (au - aX), av) | |
293 | 293 | } | |
294 | 294 | else { | |
295 | 295 | let aY = parseIntValue(aU[7]) | |
296 | 296 | $Tuple4(aY, au, (as - aY), at) | |
297 | 297 | } | |
298 | 298 | } | |
299 | 299 | else throw("Strict value is not equal to itself.") | |
300 | 300 | } | |
301 | 301 | else throw("Strict value is not equal to itself.") | |
302 | 302 | } | |
303 | 303 | else if ((as > 0)) | |
304 | 304 | then $Tuple4(as, au, as, at) | |
305 | 305 | else if ((au > 0)) | |
306 | 306 | then $Tuple4(as, au, au, av) | |
307 | 307 | else throw("pmts must be > 0") | |
308 | 308 | let aE = aS._1 | |
309 | 309 | let aF = aS._2 | |
310 | 310 | let aG = aS._3 | |
311 | 311 | let aH = aS._4 | |
312 | 312 | let az = Q(fromBase58String(ay)) | |
313 | 313 | if ((az == az)) | |
314 | 314 | then { | |
315 | 315 | let aI = if (if ((aE > 0)) | |
316 | 316 | then (aF > 0) | |
317 | 317 | else false) | |
318 | 318 | then { | |
319 | 319 | let aJ = [AttachedPayment(ao(at), aE), AttachedPayment(ao(av), aF)] | |
320 | 320 | invoke(W, "put", [1000000, false], aJ) | |
321 | 321 | } | |
322 | 322 | else 0 | |
323 | 323 | if ((aI == aI)) | |
324 | 324 | then { | |
325 | 325 | let aK = if ((aG > 0)) | |
326 | 326 | then { | |
327 | 327 | let aJ = [AttachedPayment(ao(aH), aG)] | |
328 | 328 | invoke(W, "putOneTkn", [0, false], aJ) | |
329 | 329 | } | |
330 | 330 | else 0 | |
331 | 331 | if ((aK == aK)) | |
332 | 332 | then { | |
333 | 333 | let aM = Q(fromBase58String(ay)) | |
334 | 334 | let aN = (aM - az) | |
335 | 335 | let aO = fraction(aN, ag(ad, ah), h) | |
336 | 336 | let aP = (aN - aO) | |
337 | 337 | if ((0 >= aP)) | |
338 | 338 | then throw("amount of staked sharetokens must be > 0") | |
339 | 339 | else { | |
340 | 340 | let aQ = invoke(aj(W), "stake", nil, [AttachedPayment(fromBase58String(ay), aP)]) | |
341 | 341 | if ((aQ == aQ)) | |
342 | 342 | then $Tuple2(aP, aO) | |
343 | 343 | else throw("Strict value is not equal to itself.") | |
344 | 344 | } | |
345 | 345 | } | |
346 | 346 | else throw("Strict value is not equal to itself.") | |
347 | 347 | } | |
348 | 348 | else throw("Strict value is not equal to itself.") | |
349 | 349 | } | |
350 | 350 | else throw("Strict value is not equal to itself.") | |
351 | 351 | } | |
352 | 352 | ||
353 | 353 | ||
354 | 354 | func aZ (ad,af,ba,aO,bb,ay,ab) = { | |
355 | 355 | let bc = ac(ad) | |
356 | 356 | let bd = getIntegerValue(this, (ad + u)) | |
357 | 357 | [IntegerEntry((ad + t), (bc + ba)), IntegerEntry((((((ad + "_") + af) + "_") + toString(bb)) + o), ba), IntegerEntry((((((ad + "_") + af) + "_") + toString(bb)) + s), bd), IntegerEntry((((ad + "_") + af) + r), bb), ScriptTransfer(I, aO, fromBase58String(ay))] | |
358 | 358 | } | |
359 | 359 | ||
360 | 360 | ||
361 | 361 | func be (ab,ad) = if ((ab == a)) | |
362 | 362 | then { | |
363 | 363 | let bf = Q(M) | |
364 | 364 | if ((bf == bf)) | |
365 | 365 | then { | |
366 | 366 | let bg = invoke(ai(), "claim", [ad], nil) | |
367 | 367 | if ((bg == bg)) | |
368 | 368 | then { | |
369 | 369 | let bh = Q(M) | |
370 | 370 | $Tuple2((bh - bf), M) | |
371 | 371 | } | |
372 | 372 | else throw("Strict value is not equal to itself.") | |
373 | 373 | } | |
374 | 374 | else throw("Strict value is not equal to itself.") | |
375 | 375 | } | |
376 | 376 | else if ((ab == b)) | |
377 | 377 | then { | |
378 | 378 | let bf = Q(N) | |
379 | 379 | if ((bf == bf)) | |
380 | 380 | then { | |
381 | 381 | let bg = invoke(aj(Address(fromBase58String(ad))), "claimWX", [ad], nil) | |
382 | 382 | if ((bg == bg)) | |
383 | 383 | then { | |
384 | 384 | let bh = Q(N) | |
385 | 385 | $Tuple2((bh - bf), N) | |
386 | 386 | } | |
387 | 387 | else throw("Strict value is not equal to itself.") | |
388 | 388 | } | |
389 | 389 | else throw("Strict value is not equal to itself.") | |
390 | 390 | } | |
391 | 391 | else throw("Wrong pool type") | |
392 | 392 | ||
393 | 393 | ||
394 | 394 | func bi (bj,bk,bl,bm,bn,bo,bp,bq,br,bs) = { | |
395 | 395 | let bt = Q(ao(bj)) | |
396 | 396 | if ((bt == bt)) | |
397 | 397 | then { | |
398 | 398 | let bg = invoke(J, "swap", [bm, bn, bo, bp, bq, br, bs], [AttachedPayment(bl, bk)]) | |
399 | 399 | if ((bg == bg)) | |
400 | 400 | then (Q(ao(bj)) - bt) | |
401 | 401 | else throw("Strict value is not equal to itself.") | |
402 | 402 | } | |
403 | 403 | else throw("Strict value is not equal to itself.") | |
404 | 404 | } | |
405 | 405 | ||
406 | 406 | ||
407 | 407 | func bu (bj,bk,bl,bv,bw,bs) = { | |
408 | 408 | let bt = Q(ao(bj)) | |
409 | 409 | if ((bt == bt)) | |
410 | 410 | then { | |
411 | 411 | let bg = invoke(J, "puzzleSwap", [bv, bw, bs], [AttachedPayment(bl, bk)]) | |
412 | 412 | if ((bg == bg)) | |
413 | 413 | then (Q(ao(bj)) - bt) | |
414 | 414 | else throw("Strict value is not equal to itself.") | |
415 | 415 | } | |
416 | 416 | else throw("Strict value is not equal to itself.") | |
417 | 417 | } | |
418 | 418 | ||
419 | 419 | ||
420 | 420 | func bx (bj,bk,bl,by,bz,bA,bB,bC,bD,bs) = { | |
421 | 421 | let bt = Q(ao(bj)) | |
422 | 422 | if ((bt == bt)) | |
423 | 423 | then { | |
424 | 424 | let bg = invoke(J, "swopfiSwap", [by, bz, bA, bB, bC, bD, bs], [AttachedPayment(bl, bk)]) | |
425 | 425 | if ((bg == bg)) | |
426 | 426 | then (Q(ao(bj)) - bt) | |
427 | 427 | else throw("Strict value is not equal to itself.") | |
428 | 428 | } | |
429 | 429 | else throw("Strict value is not equal to itself.") | |
430 | 430 | } | |
431 | 431 | ||
432 | 432 | ||
433 | 433 | func bE (ad,ab,bF,bG) = { | |
434 | 434 | let W = Address(fromBase58String(ad)) | |
435 | 435 | let bH = aa(W, ab) | |
436 | 436 | let bI = bH._1 | |
437 | 437 | let bJ = bH._2 | |
438 | 438 | let aw = bH._3 | |
439 | 439 | let ax = bH._4 | |
440 | 440 | let ay = bH._5 | |
441 | 441 | let bK = if ((bF == bI)) | |
442 | 442 | then $Tuple2(bG, 0) | |
443 | 443 | else $Tuple2(0, bG) | |
444 | 444 | let as = bK._1 | |
445 | 445 | let au = bK._2 | |
446 | 446 | let bL = if ((ab == a)) | |
447 | 447 | then ar(ad, c, as, bI, au, bJ, aw, ax, ay) | |
448 | 448 | else aR(ad, c, as, bI, au, bJ, ay) | |
449 | 449 | let ba = bL._1 | |
450 | 450 | let bM = bL._2 | |
451 | 451 | let bd = valueOrElse(getInteger(this, (ad + u)), 0) | |
452 | 452 | let bN = ac(ad) | |
453 | 453 | let bO = (bd + fraction(ba, g, bN)) | |
454 | 454 | [IntegerEntry((ad + u), bO), ScriptTransfer(I, bM, fromBase58String(ay))] | |
455 | 455 | } | |
456 | 456 | ||
457 | 457 | ||
458 | 458 | func bP (ad,bQ,bR,aw,ax,bS,bT) = { | |
459 | 459 | let W = Address(fromBase58String(ad)) | |
460 | 460 | let bU = 1000000 | |
461 | 461 | let bV = getIntegerValue(W, n) | |
462 | 462 | let bW = fraction(bS, bU, (bU - bV)) | |
463 | 463 | let bX = if ((bT == bQ)) | |
464 | 464 | then { | |
465 | 465 | let bY = fraction(aw, bW, (ax - bW)) | |
466 | 466 | $Tuple2(bY, bR) | |
467 | 467 | } | |
468 | 468 | else { | |
469 | 469 | let bY = fraction(ax, bW, (aw - bW)) | |
470 | 470 | $Tuple2(bY, bQ) | |
471 | 471 | } | |
472 | 472 | let bY = bX._1 | |
473 | 473 | let bZ = bX._2 | |
474 | 474 | invoke(W, "callFunction", ["exchange", "1"], [AttachedPayment(ao(bZ), bY)]) | |
475 | 475 | } | |
476 | 476 | ||
477 | 477 | ||
478 | 478 | func ca (ad,bQ,bR,aw,ax,bS,bT) = { | |
479 | 479 | let W = Address(fromBase58String(ad)) | |
480 | 480 | let cb = getIntegerValue(L, "%s__protocolFee") | |
481 | 481 | let cc = getIntegerValue(L, "%s__poolFee") | |
482 | 482 | let cd = toBigInt(100000000) | |
483 | 483 | let ce = if ((bT == bQ)) | |
484 | 484 | then { | |
485 | 485 | let bY = fraction(aw, bS, (ax - bS)) | |
486 | 486 | $Tuple2(bY, bR) | |
487 | 487 | } | |
488 | 488 | else { | |
489 | 489 | let bY = fraction(ax, bS, (aw - bS)) | |
490 | 490 | $Tuple2(bY, bQ) | |
491 | 491 | } | |
492 | 492 | let bY = ce._1 | |
493 | 493 | let bZ = ce._2 | |
494 | 494 | let cf = toInt(fraction(toBigInt(bY), cd, (cd - toBigInt((cb + cc))))) | |
495 | 495 | invoke(L, "swap", [1, bT, toString(this)], [AttachedPayment(ao(bZ), cf)]) | |
496 | 496 | } | |
497 | 497 | ||
498 | 498 | ||
499 | 499 | func cg (ab,ad,bQ,bR,aw,ax,bS,bT) = if ((ab == a)) | |
500 | 500 | then bP(ad, bQ, bR, aw, ax, bS, bT) | |
501 | 501 | else ca(ad, bQ, bR, aw, ax, bS, bT) | |
502 | 502 | ||
503 | 503 | ||
504 | 504 | @Callable(P) | |
505 | - | func replenishREADONLY ( | |
505 | + | func replenishREADONLY (ad,as,au,ch,ci) = if (if ((100 > ch)) | |
506 | 506 | then true | |
507 | 507 | else (ch > 300)) | |
508 | 508 | then throw("Leverage can't be <100 and >300") | |
509 | 509 | else { | |
510 | 510 | let ab = valueOrErrorMessage(getString(this, (A + ad)), "Pool is not inited") | |
511 | 511 | let cj = aa(Address(fromBase58String(ad)), ab) | |
512 | 512 | let bI = cj._1 | |
513 | 513 | let bJ = cj._2 | |
514 | 514 | let aw = cj._3 | |
515 | 515 | let ax = cj._4 | |
516 | 516 | let ay = cj._5 | |
517 | 517 | let ck = if ((ch > 100)) | |
518 | 518 | then { | |
519 | 519 | let cl = ( let Z = invoke(K, "getTWAP60", [bI, false], nil) | |
520 | 520 | if ($isInstanceOf(Z, "(Int, Int)")) | |
521 | 521 | then Z | |
522 | 522 | else throw(($getType(Z) + " couldn't be cast to (Int, Int)")))._1 | |
523 | 523 | let cm = ( let Z = invoke(K, "getTWAP60", [bJ, false], nil) | |
524 | 524 | if ($isInstanceOf(Z, "(Int, Int)")) | |
525 | 525 | then Z | |
526 | 526 | else throw(($getType(Z) + " couldn't be cast to (Int, Int)")))._1 | |
527 | 527 | let cn = (fraction(cl, as, pow(10, 0, ap(bI), 0, 0, DOWN)) + fraction(cm, au, pow(10, 0, ap(bJ), 0, 0, DOWN))) | |
528 | 528 | let co = fraction(cn, (ch - 100), 100) | |
529 | 529 | if ((ci == bI)) | |
530 | 530 | then $Tuple3((as + co), au, d) | |
531 | 531 | else $Tuple3(as, (au + co), d) | |
532 | 532 | } | |
533 | 533 | else $Tuple3(as, au, e) | |
534 | 534 | let cp = ck._1 | |
535 | 535 | let cq = ck._2 | |
536 | - | let | |
536 | + | let ah = ck._3 | |
537 | 537 | let cr = if ((ab == a)) | |
538 | - | then ar(ad, | |
539 | - | else aR(ad, | |
538 | + | then ar(ad, ah, cp, bI, cq, bJ, aw, ax, ay) | |
539 | + | else aR(ad, ah, as, bI, au, bJ, ay) | |
540 | 540 | let cs = cr._1 | |
541 | 541 | let bM = cr._2 | |
542 | 542 | $Tuple2(nil, cs) | |
543 | 543 | } | |
544 | 544 | ||
545 | 545 | ||
546 | 546 | ||
547 | 547 | @Callable(P) | |
548 | 548 | func replenish (ad,ch,ci) = if (if ((100 > ch)) | |
549 | 549 | then true | |
550 | 550 | else (ch > 300)) | |
551 | 551 | then throw("Leverage can't be <100 and >300") | |
552 | 552 | else { | |
553 | 553 | let ab = valueOrErrorMessage(getString(this, (A + ad)), "Pool is not inited") | |
554 | 554 | let ct = aa(Address(fromBase58String(ad)), ab) | |
555 | 555 | let bI = ct._1 | |
556 | 556 | let bJ = ct._2 | |
557 | 557 | let aw = ct._3 | |
558 | 558 | let ax = ct._4 | |
559 | 559 | let ay = ct._5 | |
560 | 560 | let cu = if ((size(P.payments) == 2)) | |
561 | 561 | then if ((an(P.payments[0].assetId) != bI)) | |
562 | 562 | then throw("Wrong payment asset A") | |
563 | 563 | else if ((an(P.payments[1].assetId) != bJ)) | |
564 | 564 | then throw("Wrong payment asset B") | |
565 | 565 | else $Tuple4(P.payments[0].amount, bI, P.payments[1].amount, bJ) | |
566 | 566 | else if ((size(P.payments) == 1)) | |
567 | 567 | then if ((an(P.payments[0].assetId) == bI)) | |
568 | 568 | then $Tuple4(P.payments[0].amount, bI, 0, bJ) | |
569 | 569 | else if ((an(P.payments[0].assetId) == bJ)) | |
570 | 570 | then $Tuple4(0, bI, P.payments[0].amount, bJ) | |
571 | 571 | else throw("Wrong payment") | |
572 | 572 | else throw("One or two payments expected") | |
573 | 573 | let as = cu._1 | |
574 | 574 | let at = cu._2 | |
575 | 575 | let au = cu._3 | |
576 | 576 | let av = cu._4 | |
577 | 577 | let cv = ae(ad, toString(P.caller)) | |
578 | 578 | if ((ch > 100)) | |
579 | 579 | then { | |
580 | 580 | let cl = ( let Z = invoke(K, "getTWAP60", [at, false], nil) | |
581 | 581 | if ($isInstanceOf(Z, "(Int, Int)")) | |
582 | 582 | then Z | |
583 | 583 | else throw(($getType(Z) + " couldn't be cast to (Int, Int)")))._1 | |
584 | 584 | let cm = ( let Z = invoke(K, "getTWAP60", [av, false], nil) | |
585 | 585 | if ($isInstanceOf(Z, "(Int, Int)")) | |
586 | 586 | then Z | |
587 | 587 | else throw(($getType(Z) + " couldn't be cast to (Int, Int)")))._1 | |
588 | 588 | let cn = (fraction(cl, as, pow(10, 0, ap(at), 0, 0, DOWN)) + fraction(cm, au, pow(10, 0, ap(av), 0, 0, DOWN))) | |
589 | 589 | let co = fraction(cn, (ch - 100), 100) | |
590 | 590 | let cw = makeString([ab, toString(P.caller), ad, toString(as), at, toString(au), av, toString(aw), toString(ax), ay, ci, toString(co), toString(cv)], ",") | |
591 | 591 | let cx = { | |
592 | 592 | let Z = invoke(this, "createNewRequest", [cw], nil) | |
593 | 593 | if ($isInstanceOf(Z, "Int")) | |
594 | 594 | then Z | |
595 | 595 | else throw(($getType(Z) + " couldn't be cast to Int")) | |
596 | 596 | } | |
597 | 597 | if ((cx == cx)) | |
598 | 598 | then { | |
599 | 599 | let cy = [((toString(P.caller) + "_") + toString(cv)), ay, ci, co, toString(this), "replenishFromLand", toString(valueOrErrorMessage(cx, "Can't create new request"))] | |
600 | 600 | let bg = reentrantInvoke(am(), "flashPosition", cy, nil) | |
601 | 601 | if ((bg == bg)) | |
602 | 602 | then nil | |
603 | 603 | else throw("Strict value is not equal to itself.") | |
604 | 604 | } | |
605 | 605 | else throw("Strict value is not equal to itself.") | |
606 | 606 | } | |
607 | 607 | else { | |
608 | 608 | let cz = if ((ab == a)) | |
609 | 609 | then ar(ad, e, as, at, au, av, aw, ax, ay) | |
610 | 610 | else aR(ad, e, as, at, au, av, ay) | |
611 | 611 | let cs = cz._1 | |
612 | 612 | let bM = cz._2 | |
613 | 613 | aZ(ad, toString(P.caller), cs, bM, cv, ay, ab) | |
614 | 614 | } | |
615 | 615 | } | |
616 | 616 | ||
617 | 617 | ||
618 | 618 | ||
619 | 619 | @Callable(P) | |
620 | 620 | func replenishFromLand (cA) = { | |
621 | 621 | let cw = split(valueOrErrorMessage(getString(this, (cA + y)), ("No request with id " + cA)), ",") | |
622 | 622 | if ((size(P.payments) != 1)) | |
623 | 623 | then throw("Wrong payment size") | |
624 | 624 | else if (if ((an(P.payments[0].assetId) != cw[10])) | |
625 | 625 | then true | |
626 | 626 | else (P.payments[0].amount != parseIntValue(cw[11]))) | |
627 | 627 | then throw("Wrong payment") | |
628 | 628 | else { | |
629 | 629 | let as = if ((cw[4] == an(P.payments[0].assetId))) | |
630 | 630 | then (parseIntValue(cw[3]) + P.payments[0].amount) | |
631 | 631 | else parseIntValue(cw[3]) | |
632 | 632 | let au = if ((cw[6] == an(P.payments[0].assetId))) | |
633 | 633 | then (parseIntValue(cw[5]) + P.payments[0].amount) | |
634 | 634 | else parseIntValue(cw[3]) | |
635 | 635 | let ad = cw[2] | |
636 | 636 | let af = cw[1] | |
637 | 637 | let ay = cw[9] | |
638 | 638 | let bb = parseIntValue(cw[12]) | |
639 | 639 | let cB = if ((cw[0] == a)) | |
640 | 640 | then ar(ad, d, as, cw[4], au, cw[6], parseIntValue(cw[7]), parseIntValue(cw[8]), ay) | |
641 | 641 | else if ((cw[0] == b)) | |
642 | 642 | then aR(ad, d, as, cw[4], au, cw[6], ay) | |
643 | 643 | else throw("Wrong request type") | |
644 | 644 | let cs = cB._1 | |
645 | 645 | let bM = cB._2 | |
646 | 646 | let cC = [IntegerEntry((((((cw[2] + "_") + cw[1]) + "_") + cw[12]) + p), P.payments[0].amount), StringEntry((((((cw[2] + "_") + cw[1]) + "_") + cw[12]) + q), cw[10])] | |
647 | 647 | let cD = aZ(ad, af, cs, bM, bb, ay, cw[0]) | |
648 | 648 | $Tuple2(((cD ++ cC) :+ DeleteEntry((cA + y))), cs) | |
649 | 649 | } | |
650 | 650 | } | |
651 | 651 | ||
652 | 652 | ||
653 | 653 | ||
654 | 654 | @Callable(P) | |
655 | 655 | func withdraw (ad,cE) = { | |
656 | 656 | let af = toString(P.caller) | |
657 | 657 | let cF = valueOrErrorMessage(getString(this, (A + ad)), "Unknown pool") | |
658 | 658 | let cG = valueOrErrorMessage(getInteger(this, (((((ad + "_") + af) + "_") + toString(cE)) + o)), "Unknown position") | |
659 | 659 | let cH = getIntegerValue(this, (((((ad + "_") + af) + "_") + toString(cE)) + s)) | |
660 | 660 | let cI = getIntegerValue(this, (ad + u)) | |
661 | 661 | let cJ = ac(ad) | |
662 | 662 | let cK = (cG + fraction(cG, (cI - cH), g)) | |
663 | 663 | let W = Address(fromBase58String(ad)) | |
664 | 664 | let cL = Address(fromBase58String(af)) | |
665 | 665 | let co = getIntegerValue(this, (((((ad + "_") + af) + "_") + toString(cE)) + p)) | |
666 | 666 | let cM = getStringValue(this, (((((ad + "_") + af) + "_") + toString(cE)) + q)) | |
667 | 667 | let cN = aa(Address(fromBase58String(ad)), cF) | |
668 | 668 | let bQ = cN._1 | |
669 | 669 | let bR = cN._2 | |
670 | 670 | let aw = cN._3 | |
671 | 671 | let ax = cN._4 | |
672 | 672 | let ay = cN._5 | |
673 | 673 | let cO = Q(ao(bQ)) | |
674 | 674 | if ((cO == cO)) | |
675 | 675 | then { | |
676 | 676 | let cP = Q(ao(bR)) | |
677 | 677 | if ((cP == cP)) | |
678 | 678 | then { | |
679 | 679 | let bg = if ((cF == a)) | |
680 | 680 | then invoke(W, "callFunction", ["withdraw", [toString(cK)]], nil) | |
681 | 681 | else if ((cF == b)) | |
682 | 682 | then invoke(W, "unstakeAndGet", [cK], nil) | |
683 | 683 | else throw("Wrong position type") | |
684 | 684 | if ((bg == bg)) | |
685 | 685 | then { | |
686 | 686 | let cQ = Q(ao(bQ)) | |
687 | 687 | let cR = Q(ao(bR)) | |
688 | 688 | let cS = $Tuple2((cQ - cO), (cR - cP)) | |
689 | 689 | let cT = cS._1 | |
690 | 690 | let cU = cS._2 | |
691 | 691 | let cV = if ((co > 0)) | |
692 | 692 | then { | |
693 | 693 | let cW = { | |
694 | 694 | let Z = invoke(am(), "getAssetDebt", [false, ((((ad + "_") + af) + "_") + toString(cE)), cM], nil) | |
695 | 695 | if ($isInstanceOf(Z, "Int")) | |
696 | 696 | then Z | |
697 | 697 | else throw(($getType(Z) + " couldn't be cast to Int")) | |
698 | 698 | } | |
699 | 699 | let cX = if (if ((cM == bQ)) | |
700 | 700 | then (cW > cT) | |
701 | 701 | else false) | |
702 | 702 | then (cW - cT) | |
703 | 703 | else if (if ((cM == bR)) | |
704 | 704 | then (cW > cU) | |
705 | 705 | else false) | |
706 | 706 | then (cW - cU) | |
707 | 707 | else 0 | |
708 | 708 | let cY = if ((cX > 0)) | |
709 | 709 | then cg(cF, ad, bQ, bR, aw, ax, cX, cM) | |
710 | 710 | else 0 | |
711 | 711 | if ((cY == cY)) | |
712 | 712 | then { | |
713 | 713 | let cZ = invoke(am(), "repayFor", [((af + "_") + toString(cE))], [AttachedPayment(ao(cM), cW)]) | |
714 | 714 | if ((cZ == cZ)) | |
715 | 715 | then { | |
716 | 716 | let da = Q(ao(bQ)) | |
717 | 717 | let db = Q(ao(bR)) | |
718 | 718 | $Tuple2((da - cO), (db - cP)) | |
719 | 719 | } | |
720 | 720 | else throw("Strict value is not equal to itself.") | |
721 | 721 | } | |
722 | 722 | else throw("Strict value is not equal to itself.") | |
723 | 723 | } | |
724 | 724 | else $Tuple2(cT, cU) | |
725 | 725 | let dc = cV._1 | |
726 | 726 | let dd = cV._2 | |
727 | 727 | [DeleteEntry((((((ad + "_") + af) + "_") + toString(cE)) + o)), DeleteEntry((((((ad + "_") + af) + "_") + toString(cE)) + s)), IntegerEntry((ad + t), (cJ - cK)), ScriptTransfer(cL, cT, ao(bQ)), ScriptTransfer(cL, cU, ao(bR))] | |
728 | 728 | } | |
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 | else throw("Strict value is not equal to itself.") | |
734 | 734 | } | |
735 | 735 | ||
736 | 736 | ||
737 | 737 | ||
738 | 738 | @Callable(P) | |
739 | 739 | func createNewRequest (de) = valueOrElse(O(P), { | |
740 | 740 | let cx = (valueOrElse(getInteger(this, z), 0) + 1) | |
741 | 741 | $Tuple2([StringEntry((toString(cx) + y), de), IntegerEntry(z, cx)], cx) | |
742 | 742 | }) | |
743 | 743 | ||
744 | 744 | ||
745 | 745 | ||
746 | 746 | @Callable(P) | |
747 | 747 | func capitalizeExKeeper (ad,ab,df,dg,dh,bm,bn,bo,bp,bq,br,bs) = { | |
748 | 748 | let di = if (dh) | |
749 | 749 | then be(ab, ad) | |
750 | 750 | else { | |
751 | 751 | let dj = if ((ab == a)) | |
752 | 752 | then M | |
753 | 753 | else N | |
754 | 754 | $Tuple2(dg, dj) | |
755 | 755 | } | |
756 | 756 | let dk = di._1 | |
757 | 757 | let dj = di._2 | |
758 | 758 | let dl = bi(df, dg, dj, bm, bn, bo, bp, bq, br, bs) | |
759 | 759 | let aG = (dk - dg) | |
760 | 760 | let dm = if ((aG > 0)) | |
761 | 761 | then [IntegerEntry((ad + B), (aG + valueOrElse(getInteger(this, (ad + B)), 0)))] | |
762 | 762 | else nil | |
763 | 763 | (bE(ad, ab, df, dl) ++ dm) | |
764 | 764 | } | |
765 | 765 | ||
766 | 766 | ||
767 | 767 | ||
768 | 768 | @Callable(P) | |
769 | 769 | func capitalizeExPazzle (ad,ab,df,dg,dh,bv,bw,bs) = { | |
770 | 770 | let dn = if (dh) | |
771 | 771 | then be(ab, ad) | |
772 | 772 | else { | |
773 | 773 | let dj = if ((ab == a)) | |
774 | 774 | then M | |
775 | 775 | else N | |
776 | 776 | $Tuple2(dg, dj) | |
777 | 777 | } | |
778 | 778 | let dk = dn._1 | |
779 | 779 | let dj = dn._2 | |
780 | 780 | let dl = bu(df, dg, dj, bv, bw, bs) | |
781 | 781 | let aG = (dk - dg) | |
782 | 782 | let dm = if ((aG > 0)) | |
783 | 783 | then [IntegerEntry((ad + B), (aG + valueOrElse(getInteger(this, (ad + B)), 0)))] | |
784 | 784 | else nil | |
785 | 785 | (bE(ad, ab, df, dl) ++ dm) | |
786 | 786 | } | |
787 | 787 | ||
788 | 788 | ||
789 | 789 | ||
790 | 790 | @Callable(P) | |
791 | 791 | func capitalizeExSwopFi (ad,ab,df,dg,dh,by,bz,bA,bB,bC,bD,bs) = { | |
792 | 792 | let do = if (dh) | |
793 | 793 | then be(ab, ad) | |
794 | 794 | else { | |
795 | 795 | let dj = if ((ab == a)) | |
796 | 796 | then M | |
797 | 797 | else N | |
798 | 798 | $Tuple2(dg, dj) | |
799 | 799 | } | |
800 | 800 | let dk = do._1 | |
801 | 801 | let dj = do._2 | |
802 | 802 | let dl = bx(df, dg, dj, by, bz, bA, bB, bC, bD, bs) | |
803 | 803 | let aG = (dk - dg) | |
804 | 804 | let dm = if ((aG > 0)) | |
805 | 805 | then [IntegerEntry((ad + B), (aG + valueOrElse(getInteger(this, (ad + B)), 0)))] | |
806 | 806 | else nil | |
807 | 807 | (bE(ad, ab, df, dl) ++ dm) | |
808 | 808 | } | |
809 | 809 | ||
810 | 810 | ||
811 | 811 | ||
812 | 812 | @Callable(P) | |
813 | 813 | func initNewPool (ab,W,dp,dq,dr) = if (if ((ab != a)) | |
814 | 814 | then (ab != b) | |
815 | 815 | else false) | |
816 | 816 | then throw("Wrong type") | |
817 | 817 | else [IntegerEntry((W + v), dp), IntegerEntry((W + w), dq), IntegerEntry((W + x), dr), IntegerEntry((W + u), 0), StringEntry((A + W), ab)] | |
818 | 818 | ||
819 | 819 | ||
820 | 820 | @Verifier(ds) | |
821 | 821 | func dt () = sigVerify(ds.bodyBytes, ds.proofs[0], ds.senderPublicKey) | |
822 | 822 |
github/deemru/w8io/169f3d6 78.00 ms ◑