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