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