tx · Gd9tEpzj3GAwyDaA1Jm8RhM129BXjRaCHaDNGb2DJbv6 3N3DnVffnUyZtz2MRbk5U7giN112WempMNd: -0.03100000 Waves 2023.03.30 12:51 [2512521] smart account 3N3DnVffnUyZtz2MRbk5U7giN112WempMNd > SELF 0.00000000 Waves
{ "type": 13, "id": "Gd9tEpzj3GAwyDaA1Jm8RhM129BXjRaCHaDNGb2DJbv6", "fee": 3100000, "feeAssetId": null, "timestamp": 1680169901115, "version": 2, "chainId": 84, "sender": "3N3DnVffnUyZtz2MRbk5U7giN112WempMNd", "senderPublicKey": "3c1wAgvTRCNXCGMidVnB1j4gTYUqtwHR9tNNu2v4ZUNk", "proofs": [ "5ucEAbPCY8UiWeMB2A2gFWAioc2oS5TKe8VbjNe6NmuDKmfTM8W33exPbKLGJAY27JKGf9HMnmYPiz1r8CkK6rjN" ], "script": "base64:BgKUAQgCEgkKBwgICAEICAgSABIECgIIARIECgIIARIAEgMKAQgSBAoCCAESBAoCCAESBAoCCAESABIGCgQICAgIEgQKAggIEgQKAggIEgMKAQQSAwoBCBIDCgEEEggKBgQIAQgICBIFCgMECAgSBgoEBAgECBIFCgMECAgSAwoBBBIECgIIBBIECgIIBBIDCgEEEgMKAQQhABJyZXNlcnZlRnVuZEFkZHJlc3MJAQdBZGRyZXNzAQEaAVR5kbUvJUKjlFFOUXUmV1bpUpTF5flA7NkAC3Jlc2VydmVGdW5kABQADGZsYXNoTG9hbkZlZQDAhD0AEWFnZ3JlZ2F0b3JBZGRyZXNzCQEHQWRkcmVzcwEBGgFUeZG1LyVCo5RRTlF1JldW6VKUxeX5QOzZAAlvcmFjbGVTdHICIzNONEtiTW5KSDhGYU05NGpxeE5GZTJveVo4R0I3Wjh5VkJQABFzaHV0ZG93bldoaXRlbGlzdAkAzAgCARoBV9fhI1GOfKuIWtXXKJd12Ih104+uIwWm4QkAzAgCARoBV2MNA4Gmf1tU0hy55Cgq86eANPDYtY3VZQkAzAgCARoBV7PVklRJCZoqEPvG+J8Q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FmAgUCJGEJAJEDAgUCJGwFAiRpCgEFJGYwXzICAiRhAiRpAwkAZwIFAiRpBQIkcwUCJGEJAAIBAhNMaXN0IHNpemUgZXhjZWVkcyA2CQEFJGYwXzICCQEFJGYwXzECCQEFJGYwXzECCQEFJGYwXzECCQEFJGYwXzECCQEFJGYwXzECCQEFJGYwXzECBQUkYWNjMAAAAAEAAgADAAQABQAGAwUFZGVidWcJAAIBBQlwYXJhbWV0ZXIJAJQKAgUDbmlsBQlwYXJhbWV0ZXIBAnR4AQZ2ZXJpZnkACQD0AwMIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwAACAUCdHgPc2VuZGVyUHVibGljS2V5jahD9w==", "height": 2512521, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 3gSjYHB5cDyaA8C2TpVfH5VohtjTrCFNvwYQ89jx4wHh Next: HwYBcakQpBd7RegB8bZNGsTpr4ySph3dKbhHAGMdiZtw Diff:
Old | New | Differences | |
---|---|---|---|
329 | 329 | func flashPosition (aL,aM,aN,aO,aP,aQ,aR) = { | |
330 | 330 | let aS = aC(aN, aO, aL) | |
331 | 331 | let aT = J(aN) | |
332 | - | let aU = | |
332 | + | let aU = reentrantInvoke(addressFromStringValue(aP), aQ, split(aR, ","), [AttachedPayment(aT, aO)]) | |
333 | 333 | if ((aU == aU)) | |
334 | 334 | then { | |
335 | 335 | let aV = { |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let a = Address(base58'3Mzzt65puEs2W9M1m9iFBvMEdfM5bASE1hJ') | |
5 | 5 | ||
6 | 6 | let b = 20 | |
7 | 7 | ||
8 | 8 | let c = 1000000 | |
9 | 9 | ||
10 | 10 | let d = Address(base58'3Mzzt65puEs2W9M1m9iFBvMEdfM5bASE1hJ') | |
11 | 11 | ||
12 | 12 | let e = "3N4KbMnJH8FaM94jqxNFe2oyZ8GB7Z8yVBP" | |
13 | 13 | ||
14 | 14 | let f = [base58'3PMcMiMEs6w56NRGacksXtFG5zS7doE9fpL', base58'3PAxdDSmN758L5SHSGRC5apEtQE2aApZotG', base58'3PJKmXoHJvVeQXjSJdhtkUcFDtdiQqMbUTD', base58'3PQdNxynJy5mche2kxMVc5shXWzK8Gstq3o', base58'3PHbdpaKzz8EiAngGHaFu2hVuNCdsC67qh3', base58'3P6Ksahs71SiKQgQ4qaZuFAVhqncdi2nvJQ'] | |
15 | 15 | ||
16 | 16 | func g (h) = !((h != Address(base58'3Mzzt65puEs2W9M1m9iFBvMEdfM5bASE1hJ'))) | |
17 | 17 | ||
18 | 18 | ||
19 | 19 | func i (j) = { | |
20 | 20 | let k = j | |
21 | 21 | if (("8DtMtpVwVq62sdcVFVzh6nuprgzG7LSjpLdHnQnrAFgY" == k)) | |
22 | 22 | then $Tuple4(2000000, 25000000, 80000000, 100000000) | |
23 | 23 | else if (("25FEqEjRkqK6yCkiT7Lz6SAYz7gUFCtxfCChnrVFD5AT" == k)) | |
24 | 24 | then $Tuple4(2000000, 25000000, 80000000, 100000000) | |
25 | 25 | else if (("WAVES" == k)) | |
26 | 26 | then $Tuple4(2000000, 30000000, 80000000, 50000000) | |
27 | 27 | else $Tuple4(0, 20000000, 80000000, 80000000) | |
28 | 28 | } | |
29 | 29 | ||
30 | 30 | ||
31 | 31 | let l = 100000000 | |
32 | 32 | ||
33 | 33 | let m = 10000000000 | |
34 | 34 | ||
35 | 35 | let n = (l * l) | |
36 | 36 | ||
37 | 37 | let o = 1440 | |
38 | 38 | ||
39 | 39 | func p (q) = { | |
40 | 40 | func r (s,t) = ((s + toString(t)) + ",") | |
41 | 41 | ||
42 | 42 | let u = q | |
43 | 43 | let v = size(u) | |
44 | 44 | let w = "" | |
45 | 45 | func x (y,z) = if ((z >= v)) | |
46 | 46 | then y | |
47 | 47 | else r(y, u[z]) | |
48 | 48 | ||
49 | 49 | func A (y,z) = if ((z >= v)) | |
50 | 50 | then y | |
51 | 51 | else throw("List size exceeds 6") | |
52 | 52 | ||
53 | 53 | A(x(x(x(x(x(x(w, 0), 1), 2), 3), 4), 5), 6) | |
54 | 54 | } | |
55 | 55 | ||
56 | 56 | ||
57 | 57 | func B (C) = { | |
58 | 58 | let k = getInteger(this, C) | |
59 | 59 | if ($isInstanceOf(k, "Int")) | |
60 | 60 | then { | |
61 | 61 | let D = k | |
62 | 62 | D | |
63 | 63 | } | |
64 | 64 | else 0 | |
65 | 65 | } | |
66 | 66 | ||
67 | 67 | ||
68 | 68 | func E (C) = { | |
69 | 69 | let k = getBoolean(this, C) | |
70 | 70 | if ($isInstanceOf(k, "Boolean")) | |
71 | 71 | then { | |
72 | 72 | let D = k | |
73 | 73 | D | |
74 | 74 | } | |
75 | 75 | else false | |
76 | 76 | } | |
77 | 77 | ||
78 | 78 | ||
79 | 79 | func F (C) = { | |
80 | 80 | let k = getString(this, C) | |
81 | 81 | if ($isInstanceOf(k, "String")) | |
82 | 82 | then { | |
83 | 83 | let D = k | |
84 | 84 | D | |
85 | 85 | } | |
86 | 86 | else "" | |
87 | 87 | } | |
88 | 88 | ||
89 | 89 | ||
90 | 90 | func G (C) = { | |
91 | 91 | let k = getBinary(this, C) | |
92 | 92 | if ($isInstanceOf(k, "ByteVector")) | |
93 | 93 | then { | |
94 | 94 | let D = k | |
95 | 95 | D | |
96 | 96 | } | |
97 | 97 | else base58'' | |
98 | 98 | } | |
99 | 99 | ||
100 | 100 | ||
101 | 101 | func H (I) = { | |
102 | 102 | let k = I | |
103 | 103 | if ($isInstanceOf(k, "ByteVector")) | |
104 | 104 | then { | |
105 | 105 | let D = k | |
106 | 106 | toBase58String(D) | |
107 | 107 | } | |
108 | 108 | else "WAVES" | |
109 | 109 | } | |
110 | 110 | ||
111 | 111 | ||
112 | 112 | func J (j) = if ((j == "WAVES")) | |
113 | 113 | then unit | |
114 | 114 | else fromBase58String(j) | |
115 | 115 | ||
116 | 116 | ||
117 | 117 | func K (j) = if ((j == "WAVES")) | |
118 | 118 | then wavesBalance(this).available | |
119 | 119 | else assetBalance(this, fromBase58String(j)) | |
120 | 120 | ||
121 | 121 | ||
122 | 122 | func L () = split(F("setup_tokens"), ",") | |
123 | 123 | ||
124 | 124 | ||
125 | 125 | func M () = { | |
126 | 126 | let N = F("setup_maxsupply") | |
127 | 127 | if ((N == "")) | |
128 | 128 | then [-1, -1, -1, -1, -1, -1, -1] | |
129 | 129 | else split(N, ",") | |
130 | 130 | } | |
131 | 131 | ||
132 | 132 | ||
133 | 133 | func O (j) = { | |
134 | 134 | let P = fraction(B(("total_supplied_" + j)), B((j + "_sRate")), n) | |
135 | 135 | if ((P == 0)) | |
136 | 136 | then 0 | |
137 | 137 | else fraction(l, fraction(B(("total_borrowed_" + j)), B((j + "_bRate")), n), P) | |
138 | 138 | } | |
139 | 139 | ||
140 | 140 | ||
141 | 141 | func Q (j) = { | |
142 | 142 | let R = O(j) | |
143 | 143 | let S = i(j) | |
144 | 144 | let T = (S._1 + (if ((S._3 >= R)) | |
145 | 145 | then fraction(R, S._2, S._3) | |
146 | 146 | else (S._2 + fraction((R - S._3), S._4, (100000000 - S._3))))) | |
147 | 147 | max([fraction(T, l, (o * 365)), 1]) | |
148 | 148 | } | |
149 | 149 | ||
150 | 150 | ||
151 | 151 | func U (j) = { | |
152 | 152 | let V = Q(j) | |
153 | 153 | let R = O(j) | |
154 | 154 | let W = B("lastRateHeight") | |
155 | 155 | let X = max([B((j + "_bRate")), n]) | |
156 | 156 | let Y = (X + ((height - W) * V)) | |
157 | 157 | let Z = max([B((j + "_sRate")), n]) | |
158 | 158 | let aa = (Z + ((((height - W) * fraction(V, R, l)) * (100 - b)) / 100)) | |
159 | 159 | [IntegerEntry((j + "_sRate"), aa), IntegerEntry((j + "_bRate"), Y), IntegerEntry("lastRateHeight", height)] | |
160 | 160 | } | |
161 | 161 | ||
162 | 162 | ||
163 | 163 | func ab (j,ac) = { | |
164 | 164 | func r (s,ad) = { | |
165 | 165 | let ae = U(ad) | |
166 | 166 | $Tuple2(if ((ad != j)) | |
167 | 167 | then s._1 | |
168 | 168 | else if ((ac == "sRate")) | |
169 | 169 | then ae[0].value | |
170 | 170 | else ae[1].value, (s._2 ++ ae)) | |
171 | 171 | } | |
172 | 172 | ||
173 | 173 | let u = L() | |
174 | 174 | let v = size(u) | |
175 | 175 | let w = $Tuple2(0, nil) | |
176 | 176 | func x (y,z) = if ((z >= v)) | |
177 | 177 | then y | |
178 | 178 | else r(y, u[z]) | |
179 | 179 | ||
180 | 180 | func A (y,z) = if ((z >= v)) | |
181 | 181 | then y | |
182 | 182 | else throw("List size exceeds 6") | |
183 | 183 | ||
184 | 184 | A(x(x(x(x(x(x(w, 0), 1), 2), 3), 4), 5), 6) | |
185 | 185 | } | |
186 | 186 | ||
187 | 187 | ||
188 | 188 | func af (j) = { | |
189 | 189 | let ag = U(j) | |
190 | 190 | let P = fraction(B(("total_supplied_" + j)), ag[0].value, n) | |
191 | 191 | fraction(l, fraction(B(("total_borrowed_" + j)), ag[1].value, n), P) | |
192 | 192 | } | |
193 | 193 | ||
194 | 194 | ||
195 | 195 | func ah () = { | |
196 | 196 | func r (s,ad) = (s ++ U(ad)) | |
197 | 197 | ||
198 | 198 | let u = L() | |
199 | 199 | let v = size(u) | |
200 | 200 | let w = nil | |
201 | 201 | func x (y,z) = if ((z >= v)) | |
202 | 202 | then y | |
203 | 203 | else r(y, u[z]) | |
204 | 204 | ||
205 | 205 | func A (y,z) = if ((z >= v)) | |
206 | 206 | then y | |
207 | 207 | else throw("List size exceeds 6") | |
208 | 208 | ||
209 | 209 | A(x(x(x(x(x(x(w, 0), 1), 2), 3), 4), 5), 6) | |
210 | 210 | } | |
211 | 211 | ||
212 | 212 | ||
213 | 213 | func ai (j) = { | |
214 | 214 | let aj = invoke(addressFromStringValue(e), "getTWAP60", [j, false], nil) | |
215 | 215 | if ((aj == aj)) | |
216 | 216 | then { | |
217 | 217 | let ak = { | |
218 | 218 | let k = aj | |
219 | 219 | if ($isInstanceOf(k, "(Int, Int)")) | |
220 | 220 | then { | |
221 | 221 | let al = k | |
222 | 222 | al | |
223 | 223 | } | |
224 | 224 | else throw("error of price oracle") | |
225 | 225 | } | |
226 | 226 | if ((ak == ak)) | |
227 | 227 | then ak | |
228 | 228 | else throw("Strict value is not equal to itself.") | |
229 | 229 | } | |
230 | 230 | else throw("Strict value is not equal to itself.") | |
231 | 231 | } | |
232 | 232 | ||
233 | 233 | ||
234 | 234 | func am (j) = { | |
235 | 235 | let an = if ((j == "WAVES")) | |
236 | 236 | then 8 | |
237 | 237 | else value(assetInfo(fromBase58String(j))).decimals | |
238 | 238 | pow(10, 0, an, 0, 0, DOWN) | |
239 | 239 | } | |
240 | 240 | ||
241 | 241 | ||
242 | 242 | func ao (h) = { | |
243 | 243 | let ap = invoke(this, "getUserCollateral", [false, h, true, ""], nil) | |
244 | 244 | if ((ap == ap)) | |
245 | 245 | then { | |
246 | 246 | let aq = { | |
247 | 247 | let k = ap | |
248 | 248 | if ($isInstanceOf(k, "Int")) | |
249 | 249 | then { | |
250 | 250 | let al = k | |
251 | 251 | al | |
252 | 252 | } | |
253 | 253 | else throw("issue while doing in-dapp invocation") | |
254 | 254 | } | |
255 | 255 | if ((aq == aq)) | |
256 | 256 | then aq | |
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 | ||
262 | 262 | ||
263 | 263 | func ar (j,as,h) = if (!(E("setup_active"))) | |
264 | 264 | then throw("market is stopped") | |
265 | 265 | else { | |
266 | 266 | let at = ab(j, "sRate") | |
267 | 267 | let au = at._1 | |
268 | 268 | let av = at._2 | |
269 | 269 | let aw = fraction(as, n, au, DOWN) | |
270 | 270 | let ax = { | |
271 | 271 | let k = getString(("setup_maxSupply_" + j)) | |
272 | 272 | if ($isInstanceOf(k, "String")) | |
273 | 273 | then { | |
274 | 274 | let al = k | |
275 | 275 | parseIntValue(al) | |
276 | 276 | } | |
277 | 277 | else 0 | |
278 | 278 | } | |
279 | 279 | let ay = ai(j) | |
280 | 280 | let az = (B(((h + "_supplied_") + j)) + aw) | |
281 | 281 | let T = ab(j, "sRate")._1 | |
282 | 282 | let aA = am(j) | |
283 | 283 | let aB = fraction(fraction(az, T, n), ay._1, aA) | |
284 | 284 | if ((indexOf(F("setup_tokens"), j) == unit)) | |
285 | 285 | then throw("this asset is not supported by the market") | |
286 | 286 | else if (if ((ax != 0)) | |
287 | 287 | then (aB > ax) | |
288 | 288 | else false) | |
289 | 289 | then throw("max total supply for this token reached in the pool") | |
290 | 290 | else $Tuple2(([IntegerEntry(((h + "_supplied_") + j), az), IntegerEntry(("total_supplied_" + j), (B(("total_supplied_" + j)) + aw))] ++ av), as) | |
291 | 291 | } | |
292 | 292 | ||
293 | 293 | ||
294 | 294 | func aC (j,as,h) = { | |
295 | 295 | let aD = ab(j, "bRate") | |
296 | 296 | let aE = aD._1 | |
297 | 297 | let av = aD._2 | |
298 | 298 | let aw = fraction(as, n, aE, CEILING) | |
299 | 299 | let aF = invoke(this, "getUserCollateral", [false, h, true, ((j + ",borrowed,") + toString(aw))], nil) | |
300 | 300 | if ((aF == aF)) | |
301 | 301 | then { | |
302 | 302 | let aG = { | |
303 | 303 | let k = aF | |
304 | 304 | if ($isInstanceOf(k, "Int")) | |
305 | 305 | then { | |
306 | 306 | let al = k | |
307 | 307 | al | |
308 | 308 | } | |
309 | 309 | else throw("can't get user collateral value") | |
310 | 310 | } | |
311 | 311 | if (!(E("setup_active"))) | |
312 | 312 | then throw("market is stopped") | |
313 | 313 | else if ((0 > aG)) | |
314 | 314 | then throw("you have to supply more to borrow") | |
315 | 315 | else { | |
316 | 316 | let aH = B(("total_supplied_" + j)) | |
317 | 317 | let aI = B(("total_borrowed_" + j)) | |
318 | 318 | let aJ = B(((h + "_borrowed_") + j)) | |
319 | 319 | if ((aw > (aH - aI))) | |
320 | 320 | then throw("this amount is not available") | |
321 | 321 | else $Tuple2(([IntegerEntry(((h + "_borrowed_") + j), (aJ + aw)), IntegerEntry(("total_borrowed_" + j), (aI + aw))] ++ av), as) | |
322 | 322 | } | |
323 | 323 | } | |
324 | 324 | else throw("Strict value is not equal to itself.") | |
325 | 325 | } | |
326 | 326 | ||
327 | 327 | ||
328 | 328 | @Callable(aK) | |
329 | 329 | func flashPosition (aL,aM,aN,aO,aP,aQ,aR) = { | |
330 | 330 | let aS = aC(aN, aO, aL) | |
331 | 331 | let aT = J(aN) | |
332 | - | let aU = | |
332 | + | let aU = reentrantInvoke(addressFromStringValue(aP), aQ, split(aR, ","), [AttachedPayment(aT, aO)]) | |
333 | 333 | if ((aU == aU)) | |
334 | 334 | then { | |
335 | 335 | let aV = { | |
336 | 336 | let aW = aU | |
337 | 337 | if ($isInstanceOf(aW, "Int")) | |
338 | 338 | then aW | |
339 | 339 | else throw(($getType(aW) + " couldn't be cast to Int")) | |
340 | 340 | } | |
341 | 341 | if ((aV == aV)) | |
342 | 342 | then { | |
343 | 343 | let aX = ar(aM, aV, aL) | |
344 | 344 | let aG = { | |
345 | 345 | let aW = invoke(this, "getUserCollateral", [false, aL, true, ((aM + ",supplied,") + toString(aV))], nil) | |
346 | 346 | if ($isInstanceOf(aW, "Int")) | |
347 | 347 | then aW | |
348 | 348 | else throw(($getType(aW) + " couldn't be cast to Int")) | |
349 | 349 | } | |
350 | 350 | if ((aG == aG)) | |
351 | 351 | then { | |
352 | 352 | let aY = { | |
353 | 353 | let aW = invoke(this, "getUserCollateral", [false, aL, true, ((aN + ",borrowed,") + toString(aO))], nil) | |
354 | 354 | if ($isInstanceOf(aW, "Int")) | |
355 | 355 | then aW | |
356 | 356 | else throw(($getType(aW) + " couldn't be cast to Int")) | |
357 | 357 | } | |
358 | 358 | if ((aY == aY)) | |
359 | 359 | then if ((aY > aG)) | |
360 | 360 | then throw("not enough collateral provided") | |
361 | 361 | else (aS._1 ++ aX._1) | |
362 | 362 | else throw("Strict value is not equal to itself.") | |
363 | 363 | } | |
364 | 364 | else throw("Strict value is not equal to itself.") | |
365 | 365 | } | |
366 | 366 | else throw("Strict value is not equal to itself.") | |
367 | 367 | } | |
368 | 368 | else throw("Strict value is not equal to itself.") | |
369 | 369 | } | |
370 | 370 | ||
371 | 371 | ||
372 | 372 | ||
373 | 373 | @Callable(aK) | |
374 | 374 | func supply () = if (if ((size(aK.payments) != 1)) | |
375 | 375 | then true | |
376 | 376 | else (aK.payments[0].amount == 0)) | |
377 | 377 | then throw("1 payment has to be attached") | |
378 | 378 | else { | |
379 | 379 | let j = H(aK.payments[0].assetId) | |
380 | 380 | let as = aK.payments[0].amount | |
381 | 381 | ar(j, as, toString(aK.caller)) | |
382 | 382 | } | |
383 | 383 | ||
384 | 384 | ||
385 | 385 | ||
386 | 386 | @Callable(aK) | |
387 | 387 | func withdraw (j,as) = { | |
388 | 388 | let aZ = ab(j, "sRate") | |
389 | 389 | let au = aZ._1 | |
390 | 390 | let av = aZ._2 | |
391 | 391 | let aw = fraction(as, n, au, CEILING) | |
392 | 392 | let h = toString(aK.caller) | |
393 | 393 | let aH = B(("total_supplied_" + j)) | |
394 | 394 | let aI = B(("total_borrowed_" + j)) | |
395 | 395 | let ba = B(((h + "_supplied_") + j)) | |
396 | 396 | let aJ = B(((h + "_borrowed_") + j)) | |
397 | 397 | let aF = invoke(this, "getUserCollateral", [false, h, true, ((j + ",supplied,") + toString(-(aw)))], nil) | |
398 | 398 | if ((aF == aF)) | |
399 | 399 | then { | |
400 | 400 | let aG = { | |
401 | 401 | let k = aF | |
402 | 402 | if ($isInstanceOf(k, "Int")) | |
403 | 403 | then { | |
404 | 404 | let al = k | |
405 | 405 | al | |
406 | 406 | } | |
407 | 407 | else throw("can't get user collateral value") | |
408 | 408 | } | |
409 | 409 | if (!(E("setup_active"))) | |
410 | 410 | then throw("market is stopped") | |
411 | 411 | else if ((0 > aG)) | |
412 | 412 | then throw("you dont have enough collateral for this operation") | |
413 | 413 | else if ((aw > (aH - aI))) | |
414 | 414 | then throw("this amount is not available on the market") | |
415 | 415 | else if ((aw > (ba - aJ))) | |
416 | 416 | then throw("this amount is not available for this user") | |
417 | 417 | else ([IntegerEntry(((h + "_supplied_") + j), (B(((h + "_supplied_") + j)) - aw)), IntegerEntry(("total_supplied_" + j), (B(("total_supplied_" + j)) - aw)), ScriptTransfer(aK.caller, as, J(j))] ++ av) | |
418 | 418 | } | |
419 | 419 | else throw("Strict value is not equal to itself.") | |
420 | 420 | } | |
421 | 421 | ||
422 | 422 | ||
423 | 423 | ||
424 | 424 | @Callable(aK) | |
425 | 425 | func borrow (j,as) = { | |
426 | 426 | let h = toString(aK.caller) | |
427 | 427 | let bb = aC(j, as, h) | |
428 | 428 | let aw = bb._2 | |
429 | 429 | (bb._1 ++ [ScriptTransfer(aK.caller, aw, J(j))]) | |
430 | 430 | } | |
431 | 431 | ||
432 | 432 | ||
433 | 433 | ||
434 | 434 | @Callable(aK) | |
435 | 435 | func repay () = if (!(E("setup_active"))) | |
436 | 436 | then throw("market is stopped") | |
437 | 437 | else if (if ((size(aK.payments) != 1)) | |
438 | 438 | then true | |
439 | 439 | else (aK.payments[0].amount == 0)) | |
440 | 440 | then throw("1 payment has to be attached") | |
441 | 441 | else { | |
442 | 442 | let j = H(aK.payments[0].assetId) | |
443 | 443 | let as = aK.payments[0].amount | |
444 | 444 | let bc = ab(j, "bRate") | |
445 | 445 | let aE = bc._1 | |
446 | 446 | let av = bc._2 | |
447 | 447 | let aw = fraction(as, n, aE, CEILING) | |
448 | 448 | let h = toString(aK.caller) | |
449 | 449 | let aH = B(("total_supplied_" + j)) | |
450 | 450 | let aI = B(("total_borrowed_" + j)) | |
451 | 451 | let aJ = B(((h + "_borrowed_") + j)) | |
452 | 452 | let bd = (aJ - aw) | |
453 | 453 | let be = if ((bd >= 0)) | |
454 | 454 | then aw | |
455 | 455 | else aJ | |
456 | 456 | if ((indexOf(F("setup_tokens"), j) == unit)) | |
457 | 457 | then throw("this asset is not supported by the market") | |
458 | 458 | else (([IntegerEntry(((h + "_borrowed_") + j), (aJ - be)), IntegerEntry(("total_borrowed_" + j), (aI - be))] ++ av) ++ (if ((bd >= 0)) | |
459 | 459 | then nil | |
460 | 460 | else [ScriptTransfer(aK.caller, -(bd), aK.payments[0].assetId)])) | |
461 | 461 | } | |
462 | 462 | ||
463 | 463 | ||
464 | 464 | ||
465 | 465 | @Callable(aK) | |
466 | 466 | func stakeTokenAll (j) = if ((aK.caller != this)) | |
467 | 467 | then throw("only for internal smart contract invocations") | |
468 | 468 | else { | |
469 | 469 | let aw = K(j) | |
470 | 470 | let bf = invoke(this, "stakeToken", [j, aw], nil) | |
471 | 471 | if ((bf == bf)) | |
472 | 472 | then nil | |
473 | 473 | else throw("Strict value is not equal to itself.") | |
474 | 474 | } | |
475 | 475 | ||
476 | 476 | ||
477 | 477 | ||
478 | 478 | @Callable(aK) | |
479 | 479 | func stakeToken (j,aw) = if ((aK.caller != this)) | |
480 | 480 | then throw("only for internal smart contract invocations") | |
481 | 481 | else if ((j == "DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p")) | |
482 | 482 | then { | |
483 | 483 | let bg = B("autostake_amount_DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p") | |
484 | 484 | let bf = invoke(Address(base58'3PNikM6yp4NqcSU8guxQtmR5onr2D4e8yTJ'), "stake", nil, [AttachedPayment(base58'DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p', aw)]) | |
485 | 485 | if ((bf == bf)) | |
486 | 486 | then [IntegerEntry("autostake_amount_DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p", (bg + aw))] | |
487 | 487 | else throw("Strict value is not equal to itself.") | |
488 | 488 | } | |
489 | 489 | else if ((j == "8t4DPWTwPzpatHA9AkTxWAB47THnYzBsDnoY7fQqbG91")) | |
490 | 490 | then { | |
491 | 491 | let bg = B("autostake_amount_8t4DPWTwPzpatHA9AkTxWAB47THnYzBsDnoY7fQqbG91") | |
492 | 492 | let bf = invoke(Address(base58'3PQTM38wDmAY9vWonK6ha7QL3PAycLz5oPP'), "stake", nil, [AttachedPayment(base58'8t4DPWTwPzpatHA9AkTxWAB47THnYzBsDnoY7fQqbG91', aw)]) | |
493 | 493 | if ((bf == bf)) | |
494 | 494 | then [IntegerEntry("autostake_amount_8t4DPWTwPzpatHA9AkTxWAB47THnYzBsDnoY7fQqbG91", (bg + aw))] | |
495 | 495 | else throw("Strict value is not equal to itself.") | |
496 | 496 | } | |
497 | 497 | else if ((j == "At8D6NFFpheCbvKVnjVoeLL84Eo8NZn6ovManxfLaFWL")) | |
498 | 498 | then { | |
499 | 499 | let bg = B("autostake_amount_At8D6NFFpheCbvKVnjVoeLL84Eo8NZn6ovManxfLaFWL") | |
500 | 500 | let bf = invoke(Address(base58'3PBiotFpqjRMkkeFBccnQNUXUopy7KFez5C'), "stake", nil, [AttachedPayment(base58'At8D6NFFpheCbvKVnjVoeLL84Eo8NZn6ovManxfLaFWL', aw)]) | |
501 | 501 | if ((bf == bf)) | |
502 | 502 | then [IntegerEntry("autostake_amount_At8D6NFFpheCbvKVnjVoeLL84Eo8NZn6ovManxfLaFWL", (bg + aw))] | |
503 | 503 | else throw("Strict value is not equal to itself.") | |
504 | 504 | } | |
505 | 505 | else nil | |
506 | 506 | ||
507 | 507 | ||
508 | 508 | ||
509 | 509 | @Callable(aK) | |
510 | 510 | func unstakeToken (j,aw) = if ((aK.caller != this)) | |
511 | 511 | then throw("only for internal smart contract invocations") | |
512 | 512 | else if ((j == "8t4DPWTwPzpatHA9AkTxWAB47THnYzBsDnoY7fQqbG91")) | |
513 | 513 | then { | |
514 | 514 | let bg = B("autostake_amount_8t4DPWTwPzpatHA9AkTxWAB47THnYzBsDnoY7fQqbG91") | |
515 | 515 | let bf = invoke(Address(base58'3PQTM38wDmAY9vWonK6ha7QL3PAycLz5oPP'), "unStake", [aw], nil) | |
516 | 516 | if ((bf == bf)) | |
517 | 517 | then [IntegerEntry("autostake_amount_8t4DPWTwPzpatHA9AkTxWAB47THnYzBsDnoY7fQqbG91", (bg - aw))] | |
518 | 518 | else throw("Strict value is not equal to itself.") | |
519 | 519 | } | |
520 | 520 | else if ((j == "At8D6NFFpheCbvKVnjVoeLL84Eo8NZn6ovManxfLaFWL")) | |
521 | 521 | then { | |
522 | 522 | let bg = B("autostake_amount_At8D6NFFpheCbvKVnjVoeLL84Eo8NZn6ovManxfLaFWL") | |
523 | 523 | let bf = invoke(Address(base58'3PBiotFpqjRMkkeFBccnQNUXUopy7KFez5C'), "unstake", [aw], nil) | |
524 | 524 | if ((bf == bf)) | |
525 | 525 | then { | |
526 | 526 | let bh = K("At8D6NFFpheCbvKVnjVoeLL84Eo8NZn6ovManxfLaFWL") | |
527 | 527 | if ((bh == bh)) | |
528 | 528 | then { | |
529 | 529 | let bi = invoke(Address(base58'3PQrVbTVpqXHqpVKftkNdjy3zZAh4dsRzN6'), "gnsbtRewardsSYSREADONLY", [toString(this)], nil) | |
530 | 530 | if ((bi == bi)) | |
531 | 531 | then { | |
532 | 532 | let bj = { | |
533 | 533 | let k = bi | |
534 | 534 | if ($isInstanceOf(k, "List[Any]")) | |
535 | 535 | then { | |
536 | 536 | let al = k | |
537 | 537 | let bk = al[1] | |
538 | 538 | let bl = bk | |
539 | 539 | if ($isInstanceOf(bl, "String")) | |
540 | 540 | then { | |
541 | 541 | let bk = bl | |
542 | 542 | let bm = parseIntValue(split(split(bk, "_")[1], ":")[1]) | |
543 | 543 | let bn = parseIntValue(split(split(bk, "_")[0], ":")[1]) | |
544 | 544 | if (if ((bm != 0)) | |
545 | 545 | then true | |
546 | 546 | else (bn != 0)) | |
547 | 547 | then { | |
548 | 548 | let bo = K("DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p") | |
549 | 549 | if ((bo == bo)) | |
550 | 550 | then { | |
551 | 551 | let bp = K("WAVES") | |
552 | 552 | if ((bp == bp)) | |
553 | 553 | then { | |
554 | 554 | let aj = invoke(Address(base58'3PBiotFpqjRMkkeFBccnQNUXUopy7KFez5C'), "claimRewards", nil, nil) | |
555 | 555 | if ((aj == aj)) | |
556 | 556 | then { | |
557 | 557 | let bq = K("WAVES") | |
558 | 558 | if ((bq == bq)) | |
559 | 559 | then { | |
560 | 560 | let br = invoke(Address(base58'3PLiXyywNThdvf3vVEUxwc7TJTucjZvuegh'), "swap", ["DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p", 0], [AttachedPayment(unit, (bq - bp))]) | |
561 | 561 | if ((br == br)) | |
562 | 562 | then { | |
563 | 563 | let bs = K("DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p") | |
564 | 564 | if ((bs == bs)) | |
565 | 565 | then { | |
566 | 566 | let bt = invoke(Address(base58'3P7r93vXHuusageNJVGwzqaz3WMotAu49Yz'), "swap", ["At8D6NFFpheCbvKVnjVoeLL84Eo8NZn6ovManxfLaFWL", 0], [AttachedPayment(base58'DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p', (bs - bo))]) | |
567 | 567 | if ((bt == bt)) | |
568 | 568 | then { | |
569 | 569 | let bu = invoke(this, "addInterest", ["At8D6NFFpheCbvKVnjVoeLL84Eo8NZn6ovManxfLaFWL", (K("At8D6NFFpheCbvKVnjVoeLL84Eo8NZn6ovManxfLaFWL") - bh)], nil) | |
570 | 570 | if ((bu == bu)) | |
571 | 571 | then 2 | |
572 | 572 | else throw("Strict value is not equal to itself.") | |
573 | 573 | } | |
574 | 574 | else throw("Strict value is not equal to itself.") | |
575 | 575 | } | |
576 | 576 | else throw("Strict value is not equal to itself.") | |
577 | 577 | } | |
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 | else throw("Strict value is not equal to itself.") | |
583 | 583 | } | |
584 | 584 | else throw("Strict value is not equal to itself.") | |
585 | 585 | } | |
586 | 586 | else throw("Strict value is not equal to itself.") | |
587 | 587 | } | |
588 | 588 | else 1 | |
589 | 589 | } | |
590 | 590 | else 1 | |
591 | 591 | } | |
592 | 592 | else 0 | |
593 | 593 | } | |
594 | 594 | if ((bj == bj)) | |
595 | 595 | then [IntegerEntry("autostake_amount_At8D6NFFpheCbvKVnjVoeLL84Eo8NZn6ovManxfLaFWL", (bg - aw))] | |
596 | 596 | else throw("Strict value is not equal to itself.") | |
597 | 597 | } | |
598 | 598 | else throw("Strict value is not equal to itself.") | |
599 | 599 | } | |
600 | 600 | else throw("Strict value is not equal to itself.") | |
601 | 601 | } | |
602 | 602 | else throw("Strict value is not equal to itself.") | |
603 | 603 | } | |
604 | 604 | else nil | |
605 | 605 | ||
606 | 606 | ||
607 | 607 | ||
608 | 608 | @Callable(aK) | |
609 | 609 | func addInterest (j,aw) = if ((aK.caller != this)) | |
610 | 610 | then throw("only for self invocation") | |
611 | 611 | else { | |
612 | 612 | let bv = B(("autostake_lastEarned_" + j)) | |
613 | 613 | let bw = B(("autostake_lastBlock_" + j)) | |
614 | 614 | let bx = fraction(aw, 80, 100) | |
615 | 615 | let by = if (if ((bw == height)) | |
616 | 616 | then true | |
617 | 617 | else (aw == 0)) | |
618 | 618 | then nil | |
619 | 619 | else [IntegerEntry(("autostake_preLastEarned_" + j), bv), IntegerEntry(("autostake_preLastBlock_" + j), bw), IntegerEntry(("autostake_lastEarned_" + j), (bv + bx)), IntegerEntry(("autostake_lastBlock_" + j), height)] | |
620 | 620 | (by ++ [IntegerEntry((j + "_sRate"), (B((j + "_sRate")) + fraction(n, bx, B(("total_supplied_" + j)))))]) | |
621 | 621 | } | |
622 | 622 | ||
623 | 623 | ||
624 | 624 | ||
625 | 625 | @Callable(aK) | |
626 | 626 | func addInterestEXTERNAL () = { | |
627 | 627 | let aw = fraction(aK.payments[0].amount, 80, 100) | |
628 | 628 | let I = aK.payments[0].assetId | |
629 | 629 | let j = H(I) | |
630 | 630 | let bv = B(("autostake_lastEarned_" + j)) | |
631 | 631 | let bw = B(("autostake_lastBlock_" + j)) | |
632 | 632 | let by = if (if ((bw == height)) | |
633 | 633 | then true | |
634 | 634 | else (aw == 0)) | |
635 | 635 | then nil | |
636 | 636 | else [IntegerEntry(("autostake_preLastEarned_" + j), bv), IntegerEntry(("autostake_preLastBlock_" + j), bw), IntegerEntry(("autostake_lastEarned_" + j), (bv + aw)), IntegerEntry(("autostake_lastBlock_" + j), height)] | |
637 | 637 | (by ++ [IntegerEntry((j + "_sRate"), (B((j + "_sRate")) + fraction(n, aw, B(("total_supplied_" + j)))))]) | |
638 | 638 | } | |
639 | 639 | ||
640 | 640 | ||
641 | 641 | ||
642 | 642 | @Callable(aK) | |
643 | 643 | func preInit (bz,bA,bB,bC) = { | |
644 | 644 | func r (s,ad) = (s ++ [IntegerEntry((ad + "_bRate"), n), IntegerEntry((ad + "_sRate"), n)]) | |
645 | 645 | ||
646 | 646 | if ((aK.caller != this)) | |
647 | 647 | then throw("admin only") | |
648 | 648 | else { | |
649 | 649 | let ag = { | |
650 | 650 | let u = split(bz, ",") | |
651 | 651 | let v = size(u) | |
652 | 652 | let w = nil | |
653 | 653 | func x (y,z) = if ((z >= v)) | |
654 | 654 | then y | |
655 | 655 | else r(y, u[z]) | |
656 | 656 | ||
657 | 657 | func A (y,z) = if ((z >= v)) | |
658 | 658 | then y | |
659 | 659 | else throw("List size exceeds 6") | |
660 | 660 | ||
661 | 661 | A(x(x(x(x(x(x(w, 0), 1), 2), 3), 4), 5), 6) | |
662 | 662 | } | |
663 | 663 | ([StringEntry("setup_tokens", bz), StringEntry("setup_ltvs", bA), StringEntry("setup_lts", bB), StringEntry("setup_penalties", bC), BooleanEntry("setup_active", true)] ++ ag) | |
664 | 664 | } | |
665 | 665 | } | |
666 | 666 | ||
667 | 667 | ||
668 | 668 | ||
669 | 669 | @Callable(aK) | |
670 | 670 | func updateParameter (C,bD) = if (if ((aK.caller != this)) | |
671 | 671 | then (aK.caller != Address(base58'3P3o9cLTV2u9N4nYNKRYL6gy6cUEU9DwXW8')) | |
672 | 672 | else false) | |
673 | 673 | then throw("admin only") | |
674 | 674 | else [IntegerEntry(C, parseIntValue(bD))] | |
675 | 675 | ||
676 | 676 | ||
677 | 677 | ||
678 | 678 | @Callable(aK) | |
679 | 679 | func updateString (C,bD) = if (if ((aK.caller != this)) | |
680 | 680 | then (aK.caller != Address(base58'3P3o9cLTV2u9N4nYNKRYL6gy6cUEU9DwXW8')) | |
681 | 681 | else false) | |
682 | 682 | then throw("admin only") | |
683 | 683 | else [StringEntry(C, bD)] | |
684 | 684 | ||
685 | 685 | ||
686 | 686 | ||
687 | 687 | @Callable(aK) | |
688 | 688 | func claimToReserveFund (bE) = { | |
689 | 689 | let bF = L() | |
690 | 690 | let ag = ab(bF[0], "sRate")._2 | |
691 | 691 | let q = [0, 1, 2, 3, 4, 5] | |
692 | 692 | func r (s,bG) = if ((bG >= size(bF))) | |
693 | 693 | then s | |
694 | 694 | else { | |
695 | 695 | let j = bF[bG] | |
696 | 696 | let bH = F(("autostake_amount_" + j)) | |
697 | 697 | let aw = ((((K(j) + B(("autostake_amount_" + j))) + (if ((bH != "")) | |
698 | 698 | then parseIntValue(bH) | |
699 | 699 | else 0)) + fraction(B(("total_borrowed_" + j)), ag[((bG * 3) + 1)].value, n)) - fraction(B(("total_supplied_" + j)), ag[(bG * 3)].value, n)) | |
700 | 700 | let bf = if ((B(("autostake_amount_" + j)) > 0)) | |
701 | 701 | then invoke(this, "unstakeToken", [j, max([aw, 0])], nil) | |
702 | 702 | else 0 | |
703 | 703 | if ((bf == bf)) | |
704 | 704 | then (s ++ [aw]) | |
705 | 705 | else throw("Strict value is not equal to itself.") | |
706 | 706 | } | |
707 | 707 | ||
708 | 708 | let bI = { | |
709 | 709 | let u = q | |
710 | 710 | let v = size(u) | |
711 | 711 | let w = nil | |
712 | 712 | func x (y,z) = if ((z >= v)) | |
713 | 713 | then y | |
714 | 714 | else r(y, u[z]) | |
715 | 715 | ||
716 | 716 | func A (y,z) = if ((z >= v)) | |
717 | 717 | then y | |
718 | 718 | else throw("List size exceeds 6") | |
719 | 719 | ||
720 | 720 | A(x(x(x(x(x(x(w, 0), 1), 2), 3), 4), 5), 6) | |
721 | 721 | } | |
722 | 722 | func bJ (s,bG) = if ((bG >= size(bF))) | |
723 | 723 | then s | |
724 | 724 | else { | |
725 | 725 | let j = bF[bG] | |
726 | 726 | (s ++ [ScriptTransfer(a, max([bI[bG], 0]), J(j))]) | |
727 | 727 | } | |
728 | 728 | ||
729 | 729 | if (bE) | |
730 | 730 | then throw(p(bI)) | |
731 | 731 | else $Tuple2({ | |
732 | 732 | let u = q | |
733 | 733 | let v = size(u) | |
734 | 734 | let w = nil | |
735 | 735 | func bK (y,z) = if ((z >= v)) | |
736 | 736 | then y | |
737 | 737 | else bJ(y, u[z]) | |
738 | 738 | ||
739 | 739 | func bL (y,z) = if ((z >= v)) | |
740 | 740 | then y | |
741 | 741 | else throw("List size exceeds 6") | |
742 | 742 | ||
743 | 743 | bL(bK(bK(bK(bK(bK(bK(w, 0), 1), 2), 3), 4), 5), 6) | |
744 | 744 | }, bI) | |
745 | 745 | } | |
746 | 746 | ||
747 | 747 | ||
748 | 748 | ||
749 | 749 | @Callable(aK) | |
750 | 750 | func reSetup (j) = { | |
751 | 751 | let bM = B("resetup_lastUpdate") | |
752 | 752 | if ((o > (height - bM))) | |
753 | 753 | then throw("can be updated only once per day") | |
754 | 754 | else { | |
755 | 755 | let bB = split(F("setup_lts"), ",") | |
756 | 756 | let bF = L() | |
757 | 757 | let R = af(j) | |
758 | 758 | let bN = B((("setup_" + j) + "_tempLT")) | |
759 | 759 | let bO = parseIntValue(bF[value(indexOf(bF, j))]) | |
760 | 760 | if ((R > 90000000)) | |
761 | 761 | then [IntegerEntry((("setup_" + j) + "_tempLT"), fraction(bN, 9975, 10000))] | |
762 | 762 | else if (if ((bO > bN)) | |
763 | 763 | then (90000000 > R) | |
764 | 764 | else false) | |
765 | 765 | then [IntegerEntry((("setup_" + j) + "_tempLT"), fraction(bN, 10025, 10000))] | |
766 | 766 | else nil | |
767 | 767 | } | |
768 | 768 | } | |
769 | 769 | ||
770 | 770 | ||
771 | 771 | ||
772 | 772 | @Callable(aK) | |
773 | 773 | func shutdown (bP) = if ((indexOf(f, aK.caller.bytes) == unit)) | |
774 | 774 | then throw("user not in a whitelist") | |
775 | 775 | else [BooleanEntry("setup_active", !(bP))] | |
776 | 776 | ||
777 | 777 | ||
778 | 778 | ||
779 | 779 | @Callable(aK) | |
780 | 780 | func liquidate (bE,h,as,aM,aN,bQ) = if (!(g(aK.caller))) | |
781 | 781 | then throw("temporarily available for whitelist only") | |
782 | 782 | else if (!(E("setup_active"))) | |
783 | 783 | then throw("market is stopped") | |
784 | 784 | else { | |
785 | 785 | let bR = ao(h) | |
786 | 786 | if ((bR == bR)) | |
787 | 787 | then { | |
788 | 788 | let bS = ab(aM, "sRate") | |
789 | 789 | let au = bS._1 | |
790 | 790 | let bT = bS._2 | |
791 | 791 | let bU = ab(aN, "bRate") | |
792 | 792 | let aE = bU._1 | |
793 | 793 | let bV = bU._2 | |
794 | 794 | let bW = fraction(as, n, au) | |
795 | 795 | let bX = B(((h + "_supplied_") + aM)) | |
796 | 796 | let bY = B(((h + "_borrowed_") + aN)) | |
797 | 797 | let bZ = if ((bY > 0)) | |
798 | 798 | then bY | |
799 | 799 | else throw("user has no borrow in this token") | |
800 | 800 | if ((bR > 0)) | |
801 | 801 | then throw("user can't be liquidated") | |
802 | 802 | else if ((bW > bX)) | |
803 | 803 | then throw("position to liquidate is bigger than user's supply") | |
804 | 804 | else { | |
805 | 805 | let ca = K(aM) | |
806 | 806 | if ((ca == ca)) | |
807 | 807 | then { | |
808 | 808 | let cb = K(aN) | |
809 | 809 | if ((cb == cb)) | |
810 | 810 | then { | |
811 | 811 | let cc = invoke(d, "swap", [bQ, 0], [AttachedPayment(J(aM), as)]) | |
812 | 812 | if ((cc == cc)) | |
813 | 813 | then { | |
814 | 814 | let cd = (ca - K(aM)) | |
815 | 815 | if ((cd == cd)) | |
816 | 816 | then { | |
817 | 817 | let ce = (K(aN) - cb) | |
818 | 818 | if ((ce == ce)) | |
819 | 819 | then { | |
820 | 820 | let cf = ai(aM)._1 | |
821 | 821 | let cg = am(aM) | |
822 | 822 | let ch = fraction(cd, cf, cg) | |
823 | 823 | let ci = ai(aN)._2 | |
824 | 824 | let cj = am(aN) | |
825 | 825 | let ck = fraction(ce, ci, cj) | |
826 | 826 | let cl = parseIntValue(split(F("setup_penalties"), ",")[value(indexOf(L(), aN))]) | |
827 | 827 | let cm = (ck - fraction(ch, (l - cl), l)) | |
828 | 828 | let cn = fraction(cd, n, au) | |
829 | 829 | let co = fraction(fraction(ce, n, aE), (l - fraction(cm, l, ck)), l) | |
830 | 830 | if ((cd > as)) | |
831 | 831 | then throw("more assets exchanged than expected") | |
832 | 832 | else if ((0 > cm)) | |
833 | 833 | then throw("price impact is bigger than liquidation penalty") | |
834 | 834 | else [IntegerEntry(((h + "_supplied_") + aM), (bX - cn)), IntegerEntry(((h + "_borrowed_") + aN), (bZ - co)), IntegerEntry(("total_supplied_" + aM), (B(("total_supplied_" + aM)) - cn)), IntegerEntry(("total_borrowed_" + aN), (B(("total_borrowed_" + aN)) - co))] | |
835 | 835 | } | |
836 | 836 | else throw("Strict value is not equal to itself.") | |
837 | 837 | } | |
838 | 838 | else throw("Strict value is not equal to itself.") | |
839 | 839 | } | |
840 | 840 | else throw("Strict value is not equal to itself.") | |
841 | 841 | } | |
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 | } | |
847 | 847 | else throw("Strict value is not equal to itself.") | |
848 | 848 | } | |
849 | 849 | ||
850 | 850 | ||
851 | 851 | ||
852 | 852 | @Callable(aK) | |
853 | 853 | func liquidateV2 (bE,h,aM) = if (!(g(aK.caller))) | |
854 | 854 | then throw("temporarily available for whitelist only") | |
855 | 855 | else if (!(E("setup_active"))) | |
856 | 856 | then throw("market is stopped") | |
857 | 857 | else { | |
858 | 858 | let aT = aK.payments[0].assetId | |
859 | 859 | let aN = H(aT) | |
860 | 860 | let cp = aK.payments[0].amount | |
861 | 861 | let bR = ao(h) | |
862 | 862 | if ((bR == bR)) | |
863 | 863 | then if ((bR > 0)) | |
864 | 864 | then throw("user can't be liquidated") | |
865 | 865 | else { | |
866 | 866 | let cq = L() | |
867 | 867 | let cr = value(indexOf(cq, aN)) | |
868 | 868 | let cs = value(indexOf(cq, aM)) | |
869 | 869 | let ct = ab(aN, "bRate") | |
870 | 870 | let aE = ct._1 | |
871 | 871 | let bT = ct._2 | |
872 | 872 | let ci = ai(aN)._2 | |
873 | 873 | let cj = am(aN) | |
874 | 874 | let cu = fraction(cp, ci, cj) | |
875 | 875 | let cl = parseIntValue(value(split(F("setup_penalties"), ",")[cr])) | |
876 | 876 | let cf = ai(aM)._1 | |
877 | 877 | let cg = am(aM) | |
878 | 878 | let cv = fraction(cu, (l + cl), l) | |
879 | 879 | let bW = fraction(cv, cg, cf) | |
880 | 880 | let aO = fraction(cp, n, aE) | |
881 | 881 | let aV = fraction(bW, n, bT[((cs * 3) + 1)].value) | |
882 | 882 | let bX = B(((h + "_supplied_") + aM)) | |
883 | 883 | let bY = B(((h + "_borrowed_") + aN)) | |
884 | 884 | let bZ = if ((bY > 0)) | |
885 | 885 | then bY | |
886 | 886 | else throw("user has no borrow in this token") | |
887 | 887 | if ((aV > bX)) | |
888 | 888 | then throw("position to liquidate is bigger than user's supply") | |
889 | 889 | else if (bE) | |
890 | 890 | then throw("liquidation will pass") | |
891 | 891 | else ([ScriptTransfer(aK.caller, bW, J(aM)), IntegerEntry(((h + "_supplied_") + aM), (bX - aV)), IntegerEntry(((h + "_borrowed_") + aN), (bZ - aO)), IntegerEntry(("total_supplied_" + aM), (B(("total_supplied_" + aM)) - aV)), IntegerEntry(("total_borrowed_" + aN), (B(("total_borrowed_" + aN)) - aO))] ++ bT) | |
892 | 892 | } | |
893 | 893 | else throw("Strict value is not equal to itself.") | |
894 | 894 | } | |
895 | 895 | ||
896 | 896 | ||
897 | 897 | ||
898 | 898 | @Callable(aK) | |
899 | 899 | func getUserCollateral (bE,h,cw,cx) = { | |
900 | 900 | let bF = L() | |
901 | 901 | let bA = split(F("setup_ltvs"), ",") | |
902 | 902 | let bB = split(F("setup_lts"), ",") | |
903 | 903 | let ag = ab(bF[0], "sRate")._2 | |
904 | 904 | let cy = split(cx, ",") | |
905 | 905 | func r (s,t) = if ((t >= size(bF))) | |
906 | 906 | then s | |
907 | 907 | else { | |
908 | 908 | let cz = B(((h + "_supplied_") + bF[t])) | |
909 | 909 | let cA = B(((h + "_borrowed_") + bF[t])) | |
910 | 910 | let cB = if ((cx == "")) | |
911 | 911 | then if (if ((cA != 0)) | |
912 | 912 | then true | |
913 | 913 | else (cz != 0)) | |
914 | 914 | then true | |
915 | 915 | else false | |
916 | 916 | else true | |
917 | 917 | if (cB) | |
918 | 918 | then { | |
919 | 919 | let aA = am(bF[t]) | |
920 | 920 | let ay = ai(bF[t]) | |
921 | 921 | ((s + fraction(fraction(fraction((cz + (if (if (if ((cx != "")) | |
922 | 922 | then (cy[0] == bF[t]) | |
923 | 923 | else false) | |
924 | 924 | then (cy[1] == "supplied") | |
925 | 925 | else false) | |
926 | 926 | then parseIntValue(cy[2]) | |
927 | 927 | else 0)), ag[(t * 3)].value, n), parseIntValue(bA[t]), l), ay._1, aA)) - (if (cw) | |
928 | 928 | then fraction(fraction(fraction((cA + (if (if (if ((cx != "")) | |
929 | 929 | then (cy[0] == bF[t]) | |
930 | 930 | else false) | |
931 | 931 | then (cy[1] == "borrowed") | |
932 | 932 | else false) | |
933 | 933 | then parseIntValue(cy[2]) | |
934 | 934 | else 0)), ag[((t * 3) + 1)].value, n), l, parseIntValue(bB[t])), ay._2, aA) | |
935 | 935 | else 0)) | |
936 | 936 | } | |
937 | 937 | else s | |
938 | 938 | } | |
939 | 939 | ||
940 | 940 | let cC = { | |
941 | 941 | let u = [0, 1, 2, 3, 4, 5] | |
942 | 942 | let v = size(u) | |
943 | 943 | let w = 0 | |
944 | 944 | func x (y,z) = if ((z >= v)) | |
945 | 945 | then y | |
946 | 946 | else r(y, u[z]) | |
947 | 947 | ||
948 | 948 | func A (y,z) = if ((z >= v)) | |
949 | 949 | then y | |
950 | 950 | else throw("List size exceeds 6") | |
951 | 951 | ||
952 | 952 | A(x(x(x(x(x(x(w, 0), 1), 2), 3), 4), 5), 6) | |
953 | 953 | } | |
954 | 954 | if (bE) | |
955 | 955 | then throw(toString(cC)) | |
956 | 956 | else $Tuple2(ag, cC) | |
957 | 957 | } | |
958 | 958 | ||
959 | 959 | ||
960 | 960 | ||
961 | 961 | @Callable(aK) | |
962 | 962 | func getAssetDebt (bE,h,j) = { | |
963 | 963 | let cA = B(((h + "_borrowed_") + j)) | |
964 | 964 | let aA = am(j) | |
965 | 965 | let T = ab(j, "bRate")._1 | |
966 | 966 | let cC = fraction(cA, T, n) | |
967 | 967 | if (bE) | |
968 | 968 | then throw(toString(cC)) | |
969 | 969 | else $Tuple2(nil, cC) | |
970 | 970 | } | |
971 | 971 | ||
972 | 972 | ||
973 | 973 | ||
974 | 974 | @Callable(aK) | |
975 | 975 | func getPrices (bE) = { | |
976 | 976 | let bF = L() | |
977 | 977 | func r (s,t) = if ((t >= size(bF))) | |
978 | 978 | then s | |
979 | 979 | else { | |
980 | 980 | let ay = ai(bF[t]) | |
981 | 981 | ((((s + toString(ay._1)) + ",") + toString(ay._2)) + "|") | |
982 | 982 | } | |
983 | 983 | ||
984 | 984 | let cC = { | |
985 | 985 | let u = [0, 1, 2, 3, 4, 5] | |
986 | 986 | let v = size(u) | |
987 | 987 | let w = "" | |
988 | 988 | func x (y,z) = if ((z >= v)) | |
989 | 989 | then y | |
990 | 990 | else r(y, u[z]) | |
991 | 991 | ||
992 | 992 | func A (y,z) = if ((z >= v)) | |
993 | 993 | then y | |
994 | 994 | else throw("List size exceeds 6") | |
995 | 995 | ||
996 | 996 | A(x(x(x(x(x(x(w, 0), 1), 2), 3), 4), 5), 6) | |
997 | 997 | } | |
998 | 998 | if (bE) | |
999 | 999 | then throw(cC) | |
1000 | 1000 | else $Tuple2(nil, cC) | |
1001 | 1001 | } | |
1002 | 1002 | ||
1003 | 1003 | ||
1004 | 1004 | ||
1005 | 1005 | @Callable(aK) | |
1006 | 1006 | func calculateUtilizationRatio (j,bE) = if (bE) | |
1007 | 1007 | then throw(toString(af(j))) | |
1008 | 1008 | else $Tuple2(nil, af(j)) | |
1009 | 1009 | ||
1010 | 1010 | ||
1011 | 1011 | ||
1012 | 1012 | @Callable(aK) | |
1013 | 1013 | func calculateOutdatedUR (j,bE) = if (bE) | |
1014 | 1014 | then throw(toString(O(j))) | |
1015 | 1015 | else $Tuple2(nil, O(j)) | |
1016 | 1016 | ||
1017 | 1017 | ||
1018 | 1018 | ||
1019 | 1019 | @Callable(aK) | |
1020 | 1020 | func calculateTokenRates (bE) = { | |
1021 | 1021 | func r (s,j) = { | |
1022 | 1022 | let ag = U(j) | |
1023 | 1023 | $Tuple2(((((s._1 + toString(ag[1].value)) + "|") + toString(ag[0].value)) + ","), (s._2 ++ ag)) | |
1024 | 1024 | } | |
1025 | 1025 | ||
1026 | 1026 | let bI = { | |
1027 | 1027 | let u = L() | |
1028 | 1028 | let v = size(u) | |
1029 | 1029 | let w = $Tuple2("", nil) | |
1030 | 1030 | func x (y,z) = if ((z >= v)) | |
1031 | 1031 | then y | |
1032 | 1032 | else r(y, u[z]) | |
1033 | 1033 | ||
1034 | 1034 | func A (y,z) = if ((z >= v)) | |
1035 | 1035 | then y | |
1036 | 1036 | else throw("List size exceeds 6") | |
1037 | 1037 | ||
1038 | 1038 | A(x(x(x(x(x(x(w, 0), 1), 2), 3), 4), 5), 6) | |
1039 | 1039 | } | |
1040 | 1040 | if (bE) | |
1041 | 1041 | then throw(bI._1) | |
1042 | 1042 | else $Tuple2(bI._2, bI._1) | |
1043 | 1043 | } | |
1044 | 1044 | ||
1045 | 1045 | ||
1046 | 1046 | ||
1047 | 1047 | @Callable(aK) | |
1048 | 1048 | func calculateTokensInterest (bE) = { | |
1049 | 1049 | func r (s,j) = { | |
1050 | 1050 | let T = fraction(Q(j), o, l) | |
1051 | 1051 | ((s + toString(T)) + ",") | |
1052 | 1052 | } | |
1053 | 1053 | ||
1054 | 1054 | let bI = { | |
1055 | 1055 | let u = L() | |
1056 | 1056 | let v = size(u) | |
1057 | 1057 | let w = "" | |
1058 | 1058 | func x (y,z) = if ((z >= v)) | |
1059 | 1059 | then y | |
1060 | 1060 | else r(y, u[z]) | |
1061 | 1061 | ||
1062 | 1062 | func A (y,z) = if ((z >= v)) | |
1063 | 1063 | then y | |
1064 | 1064 | else throw("List size exceeds 6") | |
1065 | 1065 | ||
1066 | 1066 | A(x(x(x(x(x(x(w, 0), 1), 2), 3), 4), 5), 6) | |
1067 | 1067 | } | |
1068 | 1068 | if (bE) | |
1069 | 1069 | then throw(bI) | |
1070 | 1070 | else $Tuple2(nil, bI) | |
1071 | 1071 | } | |
1072 | 1072 | ||
1073 | 1073 | ||
1074 | 1074 | @Verifier(cD) | |
1075 | 1075 | func cE () = sigVerify(cD.bodyBytes, cD.proofs[0], cD.senderPublicKey) | |
1076 | 1076 |
github/deemru/w8io/169f3d6 89.66 ms ◑