tx · CNBgizaFL5JEBKhkCkpo22hPiEqDbKEPxBTu7nUGXxfa 3N3DnVffnUyZtz2MRbk5U7giN112WempMNd: -0.03500000 Waves 2023.04.19 12:12 [2541244] smart account 3N3DnVffnUyZtz2MRbk5U7giN112WempMNd > SELF 0.00000000 Waves
{ "type": 13, "id": "CNBgizaFL5JEBKhkCkpo22hPiEqDbKEPxBTu7nUGXxfa", "fee": 3500000, "feeAssetId": null, "timestamp": 1681895532218, "version": 2, "chainId": 84, "sender": "3N3DnVffnUyZtz2MRbk5U7giN112WempMNd", "senderPublicKey": "3c1wAgvTRCNXCGMidVnB1j4gTYUqtwHR9tNNu2v4ZUNk", "proofs": [ "47J49mdy6Tk1srYg27qhrFsdG5884kbgssdVWJjQdkG1uYDSu31PA2yJdciTtBfXo112KezDLS4yKzxhfoM1vok7" ], "script": "base64:BgKZAQgCEgkKBwgICAEICAgSABIECgIIARIECgIIARIAEgMKAQgSAwoBCBIECgIIARIECgIIARIECgIIARIAEgYKBAgICAgSBAoCCAgSBAoCCAgSAwoBBBIDCgEIEgMKAQQSCAoGBAgBCAgIEgUKAwQICBIGCgQECAQIEgUKAwQICBIDCgEEEgQKAggEEgQKAggEEgMKAQQSAwoBBCEAEnJlc2VydmVGdW5kQWRkcmVzcwkBB0FkZHJlc3MBARoBVHmRtS8lQqOUUU5RdSZXVulSlMXl+UDs2QALcmVzZXJ2ZUZ1bmQAFAAMZmxhc2hMb2FuRmVlAMCEPQARYWdncmVnYXRvckFkZHJlc3MJAQdBZGRyZXNzAQEaAVR5kbUvJUKjlFFOUXUmV1bpUpTF5flA7NkACW9yYWNsZVN0cgIjM040S2JNbkpIOEZhTTk0anF4TkZlMm95WjhHQjdaOHlWQlAAEXNodXRkb3duV2hpdGVsaXN0CQDMCAIBGgFX1+EjUY58q4ha1dcol3XYiHXTj64jBabhCQDMCAIBGgFXYw0DgaZ/W1TSHLnkKCrzp4A08Ni1jdVlCQDMCAIBGgFXs9WSVEkJmioQ+8b4nxB2q+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AFAAYDBQVkZWJ1ZwkAAgEIBQlwYXJhbWV0ZXICXzEJAJQKAggFCXBhcmFtZXRlcgJfMggFCXBhcmFtZXRlcgJfMQFpARdjYWxjdWxhdGVUb2tlbnNJbnRlcmVzdAEFZGVidWcKAQFmAgVhY2N1bQphc3NldElkU3RyBARyYXRlCQBrAwkBC2dldEludGVyZXN0AQUKYXNzZXRJZFN0cgUJZGF5QmxvY2tzBQZTY2FsZTgJAKwCAgkArAICBQVhY2N1bQkApAMBBQRyYXRlAgEsBAlwYXJhbWV0ZXIKAAIkbAkBD2dldE1hcmtldEFzc2V0cwAKAAIkcwkAkAMBBQIkbAoABSRhY2MwAgAKAQUkZjBfMQICJGECJGkDCQBnAgUCJGkFAiRzBQIkYQkBAWYCBQIkYQkAkQMCBQIkbAUCJGkKAQUkZjBfMgICJGECJGkDCQBnAgUCJGkFAiRzBQIkYQkAAgECE0xpc3Qgc2l6ZSBleGNlZWRzIDYJAQUkZjBfMgIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIFBSRhY2MwAAAAAQACAAMABAAFAAYDBQVkZWJ1ZwkAAgEFCXBhcmFtZXRlcgkAlAoCBQNuaWwFCXBhcmFtZXRlcgECdHgBBnZlcmlmeQAJAPQDAwgFAnR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAAIBQJ0eA9zZW5kZXJQdWJsaWNLZXk+Cg+7", "height": 2541244, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: HwYBcakQpBd7RegB8bZNGsTpr4ySph3dKbhHAGMdiZtw Next: L2UPHXnuVo3LCR4DpQ6zRRatLUoQDXyaArzzreynmi1 Diff:
Old | New | Differences | |
---|---|---|---|
310 | 310 | } | |
311 | 311 | if (!(E("setup_active"))) | |
312 | 312 | then throw("market is stopped") | |
313 | - | else if ((0 > aG)) | |
314 | - | then throw("you have to supply more to borrow") | |
315 | - | else { | |
316 | - | let aH = B(("total_supplied_" + j)) | |
317 | - | let aI = B(("total_borrowed_" + j)) | |
318 | - | let aJ = B(((h + "_borrowed_") + j)) | |
319 | - | if ((aw > (aH - aI))) | |
320 | - | then throw("this amount is not available") | |
321 | - | else $Tuple2(([IntegerEntry(((h + "_borrowed_") + j), (aJ + aw)), IntegerEntry(("total_borrowed_" + j), (aI + aw))] ++ av), as) | |
322 | - | } | |
313 | + | else { | |
314 | + | let aH = B(("total_supplied_" + j)) | |
315 | + | let aI = B(("total_borrowed_" + j)) | |
316 | + | let aJ = B(((h + "_borrowed_") + j)) | |
317 | + | if ((aw > (aH - aI))) | |
318 | + | then throw("this amount is not available") | |
319 | + | else $Tuple2(([IntegerEntry(((h + "_borrowed_") + j), (aJ + aw)), IntegerEntry(("total_borrowed_" + j), (aI + aw))] ++ av), as) | |
320 | + | } | |
323 | 321 | } | |
324 | 322 | else throw("Strict value is not equal to itself.") | |
325 | 323 | } |
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 | - | else if ((0 > aG)) | |
314 | - | then throw("you have to supply more to borrow") | |
315 | - | else { | |
316 | - | let aH = B(("total_supplied_" + j)) | |
317 | - | let aI = B(("total_borrowed_" + j)) | |
318 | - | let aJ = B(((h + "_borrowed_") + j)) | |
319 | - | if ((aw > (aH - aI))) | |
320 | - | then throw("this amount is not available") | |
321 | - | else $Tuple2(([IntegerEntry(((h + "_borrowed_") + j), (aJ + aw)), IntegerEntry(("total_borrowed_" + j), (aI + aw))] ++ av), as) | |
322 | - | } | |
313 | + | else { | |
314 | + | let aH = B(("total_supplied_" + j)) | |
315 | + | let aI = B(("total_borrowed_" + j)) | |
316 | + | let aJ = B(((h + "_borrowed_") + j)) | |
317 | + | if ((aw > (aH - aI))) | |
318 | + | then throw("this amount is not available") | |
319 | + | else $Tuple2(([IntegerEntry(((h + "_borrowed_") + j), (aJ + aw)), IntegerEntry(("total_borrowed_" + j), (aI + aw))] ++ av), as) | |
320 | + | } | |
323 | 321 | } | |
324 | 322 | else throw("Strict value is not equal to itself.") | |
325 | 323 | } | |
326 | 324 | ||
327 | 325 | ||
328 | 326 | @Callable(aK) | |
329 | 327 | func flashPosition (aL,aM,aN,aO,aP,aQ,aR) = { | |
330 | 328 | let aS = aC(aN, aO, aL) | |
331 | 329 | let aT = J(aN) | |
332 | 330 | let aU = reentrantInvoke(addressFromStringValue(aP), aQ, split(aR, ","), [AttachedPayment(aT, aO)]) | |
333 | 331 | if ((aU == aU)) | |
334 | 332 | then { | |
335 | 333 | let aV = { | |
336 | 334 | let aW = aU | |
337 | 335 | if ($isInstanceOf(aW, "Int")) | |
338 | 336 | then aW | |
339 | 337 | else throw(($getType(aW) + " couldn't be cast to Int")) | |
340 | 338 | } | |
341 | 339 | if ((aV == aV)) | |
342 | 340 | then { | |
343 | 341 | let aX = ar(aM, aV, aL) | |
344 | 342 | let aG = { | |
345 | 343 | let aW = invoke(this, "getUserCollateral", [false, aL, true, ((aM + ",supplied,") + toString(aV))], nil) | |
346 | 344 | if ($isInstanceOf(aW, "Int")) | |
347 | 345 | then aW | |
348 | 346 | else throw(($getType(aW) + " couldn't be cast to Int")) | |
349 | 347 | } | |
350 | 348 | if ((aG == aG)) | |
351 | 349 | then { | |
352 | 350 | let aY = { | |
353 | 351 | let aW = invoke(this, "getUserCollateral", [false, aL, true, ((aN + ",borrowed,") + toString(aO))], nil) | |
354 | 352 | if ($isInstanceOf(aW, "Int")) | |
355 | 353 | then aW | |
356 | 354 | else throw(($getType(aW) + " couldn't be cast to Int")) | |
357 | 355 | } | |
358 | 356 | if ((aY == aY)) | |
359 | 357 | then if ((aY > aG)) | |
360 | 358 | then throw("not enough collateral provided") | |
361 | 359 | else (aS._1 ++ aX._1) | |
362 | 360 | else throw("Strict value is not equal to itself.") | |
363 | 361 | } | |
364 | 362 | else throw("Strict value is not equal to itself.") | |
365 | 363 | } | |
366 | 364 | else throw("Strict value is not equal to itself.") | |
367 | 365 | } | |
368 | 366 | else throw("Strict value is not equal to itself.") | |
369 | 367 | } | |
370 | 368 | ||
371 | 369 | ||
372 | 370 | ||
373 | 371 | @Callable(aK) | |
374 | 372 | func supply () = if (if ((size(aK.payments) != 1)) | |
375 | 373 | then true | |
376 | 374 | else (aK.payments[0].amount == 0)) | |
377 | 375 | then throw("1 payment has to be attached") | |
378 | 376 | else { | |
379 | 377 | let j = H(aK.payments[0].assetId) | |
380 | 378 | let as = aK.payments[0].amount | |
381 | 379 | ar(j, as, toString(aK.caller)) | |
382 | 380 | } | |
383 | 381 | ||
384 | 382 | ||
385 | 383 | ||
386 | 384 | @Callable(aK) | |
387 | 385 | func withdraw (j,as) = { | |
388 | 386 | let aZ = ab(j, "sRate") | |
389 | 387 | let au = aZ._1 | |
390 | 388 | let av = aZ._2 | |
391 | 389 | let aw = fraction(as, n, au, CEILING) | |
392 | 390 | let h = toString(aK.caller) | |
393 | 391 | let aH = B(("total_supplied_" + j)) | |
394 | 392 | let aI = B(("total_borrowed_" + j)) | |
395 | 393 | let ba = B(((h + "_supplied_") + j)) | |
396 | 394 | let aJ = B(((h + "_borrowed_") + j)) | |
397 | 395 | let aF = invoke(this, "getUserCollateral", [false, h, true, ((j + ",supplied,") + toString(-(aw)))], nil) | |
398 | 396 | if ((aF == aF)) | |
399 | 397 | then { | |
400 | 398 | let aG = { | |
401 | 399 | let k = aF | |
402 | 400 | if ($isInstanceOf(k, "Int")) | |
403 | 401 | then { | |
404 | 402 | let al = k | |
405 | 403 | al | |
406 | 404 | } | |
407 | 405 | else throw("can't get user collateral value") | |
408 | 406 | } | |
409 | 407 | if (!(E("setup_active"))) | |
410 | 408 | then throw("market is stopped") | |
411 | 409 | else if ((0 > aG)) | |
412 | 410 | then throw("you dont have enough collateral for this operation") | |
413 | 411 | else if ((aw > (aH - aI))) | |
414 | 412 | then throw("this amount is not available on the market") | |
415 | 413 | else if ((aw > (ba - aJ))) | |
416 | 414 | then throw("this amount is not available for this user") | |
417 | 415 | 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 | 416 | } | |
419 | 417 | else throw("Strict value is not equal to itself.") | |
420 | 418 | } | |
421 | 419 | ||
422 | 420 | ||
423 | 421 | ||
424 | 422 | @Callable(aK) | |
425 | 423 | func borrow (j,as) = { | |
426 | 424 | let h = toString(aK.caller) | |
427 | 425 | let bb = aC(j, as, h) | |
428 | 426 | let aw = bb._2 | |
429 | 427 | (bb._1 ++ [ScriptTransfer(aK.caller, aw, J(j))]) | |
430 | 428 | } | |
431 | 429 | ||
432 | 430 | ||
433 | 431 | ||
434 | 432 | @Callable(aK) | |
435 | 433 | func repay () = if (!(E("setup_active"))) | |
436 | 434 | then throw("market is stopped") | |
437 | 435 | else if (if ((size(aK.payments) != 1)) | |
438 | 436 | then true | |
439 | 437 | else (aK.payments[0].amount == 0)) | |
440 | 438 | then throw("1 payment has to be attached") | |
441 | 439 | else { | |
442 | 440 | let j = H(aK.payments[0].assetId) | |
443 | 441 | let as = aK.payments[0].amount | |
444 | 442 | let bc = ab(j, "bRate") | |
445 | 443 | let aE = bc._1 | |
446 | 444 | let av = bc._2 | |
447 | 445 | let aw = fraction(as, n, aE, CEILING) | |
448 | 446 | let h = toString(aK.caller) | |
449 | 447 | let aH = B(("total_supplied_" + j)) | |
450 | 448 | let aI = B(("total_borrowed_" + j)) | |
451 | 449 | let aJ = B(((h + "_borrowed_") + j)) | |
452 | 450 | let bd = (aJ - aw) | |
453 | 451 | let be = if ((bd >= 0)) | |
454 | 452 | then aw | |
455 | 453 | else aJ | |
456 | 454 | if ((indexOf(F("setup_tokens"), j) == unit)) | |
457 | 455 | then throw("this asset is not supported by the market") | |
458 | 456 | else (([IntegerEntry(((h + "_borrowed_") + j), (aJ - be)), IntegerEntry(("total_borrowed_" + j), (aI - be))] ++ av) ++ (if ((bd >= 0)) | |
459 | 457 | then nil | |
460 | 458 | else [ScriptTransfer(aK.caller, -(bd), aK.payments[0].assetId)])) | |
461 | 459 | } | |
462 | 460 | ||
463 | 461 | ||
464 | 462 | ||
465 | 463 | @Callable(aK) | |
466 | 464 | func repayFor (h) = if (!(E("setup_active"))) | |
467 | 465 | then throw("market is stopped") | |
468 | 466 | else if (if ((size(aK.payments) != 1)) | |
469 | 467 | then true | |
470 | 468 | else (aK.payments[0].amount == 0)) | |
471 | 469 | then throw("1 payment has to be attached") | |
472 | 470 | else { | |
473 | 471 | let j = H(aK.payments[0].assetId) | |
474 | 472 | let as = aK.payments[0].amount | |
475 | 473 | let bf = ab(j, "bRate") | |
476 | 474 | let aE = bf._1 | |
477 | 475 | let av = bf._2 | |
478 | 476 | let aw = fraction(as, n, aE, CEILING) | |
479 | 477 | let aH = B(("total_supplied_" + j)) | |
480 | 478 | let aI = B(("total_borrowed_" + j)) | |
481 | 479 | let aJ = B(((h + "_borrowed_") + j)) | |
482 | 480 | let bd = (aJ - aw) | |
483 | 481 | let be = if ((bd >= 0)) | |
484 | 482 | then aw | |
485 | 483 | else aJ | |
486 | 484 | if ((indexOf(F("setup_tokens"), j) == unit)) | |
487 | 485 | then throw("this asset is not supported by the market") | |
488 | 486 | else (([IntegerEntry(((h + "_borrowed_") + j), (aJ - be)), IntegerEntry(("total_borrowed_" + j), (aI - be))] ++ av) ++ (if ((bd >= 0)) | |
489 | 487 | then nil | |
490 | 488 | else [ScriptTransfer(aK.caller, -(bd), aK.payments[0].assetId)])) | |
491 | 489 | } | |
492 | 490 | ||
493 | 491 | ||
494 | 492 | ||
495 | 493 | @Callable(aK) | |
496 | 494 | func stakeTokenAll (j) = if ((aK.caller != this)) | |
497 | 495 | then throw("only for internal smart contract invocations") | |
498 | 496 | else { | |
499 | 497 | let aw = K(j) | |
500 | 498 | let bg = invoke(this, "stakeToken", [j, aw], nil) | |
501 | 499 | if ((bg == bg)) | |
502 | 500 | then nil | |
503 | 501 | else throw("Strict value is not equal to itself.") | |
504 | 502 | } | |
505 | 503 | ||
506 | 504 | ||
507 | 505 | ||
508 | 506 | @Callable(aK) | |
509 | 507 | func stakeToken (j,aw) = if ((aK.caller != this)) | |
510 | 508 | then throw("only for internal smart contract invocations") | |
511 | 509 | else if ((j == "DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p")) | |
512 | 510 | then { | |
513 | 511 | let bh = B("autostake_amount_DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p") | |
514 | 512 | let bg = invoke(Address(base58'3PNikM6yp4NqcSU8guxQtmR5onr2D4e8yTJ'), "stake", nil, [AttachedPayment(base58'DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p', aw)]) | |
515 | 513 | if ((bg == bg)) | |
516 | 514 | then [IntegerEntry("autostake_amount_DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p", (bh + aw))] | |
517 | 515 | else throw("Strict value is not equal to itself.") | |
518 | 516 | } | |
519 | 517 | else if ((j == "8t4DPWTwPzpatHA9AkTxWAB47THnYzBsDnoY7fQqbG91")) | |
520 | 518 | then { | |
521 | 519 | let bh = B("autostake_amount_8t4DPWTwPzpatHA9AkTxWAB47THnYzBsDnoY7fQqbG91") | |
522 | 520 | let bg = invoke(Address(base58'3PQTM38wDmAY9vWonK6ha7QL3PAycLz5oPP'), "stake", nil, [AttachedPayment(base58'8t4DPWTwPzpatHA9AkTxWAB47THnYzBsDnoY7fQqbG91', aw)]) | |
523 | 521 | if ((bg == bg)) | |
524 | 522 | then [IntegerEntry("autostake_amount_8t4DPWTwPzpatHA9AkTxWAB47THnYzBsDnoY7fQqbG91", (bh + aw))] | |
525 | 523 | else throw("Strict value is not equal to itself.") | |
526 | 524 | } | |
527 | 525 | else if ((j == "At8D6NFFpheCbvKVnjVoeLL84Eo8NZn6ovManxfLaFWL")) | |
528 | 526 | then { | |
529 | 527 | let bh = B("autostake_amount_At8D6NFFpheCbvKVnjVoeLL84Eo8NZn6ovManxfLaFWL") | |
530 | 528 | let bg = invoke(Address(base58'3PBiotFpqjRMkkeFBccnQNUXUopy7KFez5C'), "stake", nil, [AttachedPayment(base58'At8D6NFFpheCbvKVnjVoeLL84Eo8NZn6ovManxfLaFWL', aw)]) | |
531 | 529 | if ((bg == bg)) | |
532 | 530 | then [IntegerEntry("autostake_amount_At8D6NFFpheCbvKVnjVoeLL84Eo8NZn6ovManxfLaFWL", (bh + aw))] | |
533 | 531 | else throw("Strict value is not equal to itself.") | |
534 | 532 | } | |
535 | 533 | else nil | |
536 | 534 | ||
537 | 535 | ||
538 | 536 | ||
539 | 537 | @Callable(aK) | |
540 | 538 | func unstakeToken (j,aw) = if ((aK.caller != this)) | |
541 | 539 | then throw("only for internal smart contract invocations") | |
542 | 540 | else if ((j == "8t4DPWTwPzpatHA9AkTxWAB47THnYzBsDnoY7fQqbG91")) | |
543 | 541 | then { | |
544 | 542 | let bh = B("autostake_amount_8t4DPWTwPzpatHA9AkTxWAB47THnYzBsDnoY7fQqbG91") | |
545 | 543 | let bg = invoke(Address(base58'3PQTM38wDmAY9vWonK6ha7QL3PAycLz5oPP'), "unStake", [aw], nil) | |
546 | 544 | if ((bg == bg)) | |
547 | 545 | then [IntegerEntry("autostake_amount_8t4DPWTwPzpatHA9AkTxWAB47THnYzBsDnoY7fQqbG91", (bh - aw))] | |
548 | 546 | else throw("Strict value is not equal to itself.") | |
549 | 547 | } | |
550 | 548 | else if ((j == "At8D6NFFpheCbvKVnjVoeLL84Eo8NZn6ovManxfLaFWL")) | |
551 | 549 | then { | |
552 | 550 | let bh = B("autostake_amount_At8D6NFFpheCbvKVnjVoeLL84Eo8NZn6ovManxfLaFWL") | |
553 | 551 | let bg = invoke(Address(base58'3PBiotFpqjRMkkeFBccnQNUXUopy7KFez5C'), "unstake", [aw], nil) | |
554 | 552 | if ((bg == bg)) | |
555 | 553 | then { | |
556 | 554 | let bi = K("At8D6NFFpheCbvKVnjVoeLL84Eo8NZn6ovManxfLaFWL") | |
557 | 555 | if ((bi == bi)) | |
558 | 556 | then { | |
559 | 557 | let bj = invoke(Address(base58'3PQrVbTVpqXHqpVKftkNdjy3zZAh4dsRzN6'), "gnsbtRewardsSYSREADONLY", [toString(this)], nil) | |
560 | 558 | if ((bj == bj)) | |
561 | 559 | then { | |
562 | 560 | let bk = { | |
563 | 561 | let k = bj | |
564 | 562 | if ($isInstanceOf(k, "List[Any]")) | |
565 | 563 | then { | |
566 | 564 | let al = k | |
567 | 565 | let bl = al[1] | |
568 | 566 | let bm = bl | |
569 | 567 | if ($isInstanceOf(bm, "String")) | |
570 | 568 | then { | |
571 | 569 | let bl = bm | |
572 | 570 | let bn = parseIntValue(split(split(bl, "_")[1], ":")[1]) | |
573 | 571 | let bo = parseIntValue(split(split(bl, "_")[0], ":")[1]) | |
574 | 572 | if (if ((bn != 0)) | |
575 | 573 | then true | |
576 | 574 | else (bo != 0)) | |
577 | 575 | then { | |
578 | 576 | let bp = K("DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p") | |
579 | 577 | if ((bp == bp)) | |
580 | 578 | then { | |
581 | 579 | let bq = K("WAVES") | |
582 | 580 | if ((bq == bq)) | |
583 | 581 | then { | |
584 | 582 | let aj = invoke(Address(base58'3PBiotFpqjRMkkeFBccnQNUXUopy7KFez5C'), "claimRewards", nil, nil) | |
585 | 583 | if ((aj == aj)) | |
586 | 584 | then { | |
587 | 585 | let br = K("WAVES") | |
588 | 586 | if ((br == br)) | |
589 | 587 | then { | |
590 | 588 | let bs = invoke(Address(base58'3PLiXyywNThdvf3vVEUxwc7TJTucjZvuegh'), "swap", ["DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p", 0], [AttachedPayment(unit, (br - bq))]) | |
591 | 589 | if ((bs == bs)) | |
592 | 590 | then { | |
593 | 591 | let bt = K("DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p") | |
594 | 592 | if ((bt == bt)) | |
595 | 593 | then { | |
596 | 594 | let bu = invoke(Address(base58'3P7r93vXHuusageNJVGwzqaz3WMotAu49Yz'), "swap", ["At8D6NFFpheCbvKVnjVoeLL84Eo8NZn6ovManxfLaFWL", 0], [AttachedPayment(base58'DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p', (bt - bp))]) | |
597 | 595 | if ((bu == bu)) | |
598 | 596 | then { | |
599 | 597 | let bv = invoke(this, "addInterest", ["At8D6NFFpheCbvKVnjVoeLL84Eo8NZn6ovManxfLaFWL", (K("At8D6NFFpheCbvKVnjVoeLL84Eo8NZn6ovManxfLaFWL") - bi)], nil) | |
600 | 598 | if ((bv == bv)) | |
601 | 599 | then 2 | |
602 | 600 | else throw("Strict value is not equal to itself.") | |
603 | 601 | } | |
604 | 602 | else throw("Strict value is not equal to itself.") | |
605 | 603 | } | |
606 | 604 | else throw("Strict value is not equal to itself.") | |
607 | 605 | } | |
608 | 606 | else throw("Strict value is not equal to itself.") | |
609 | 607 | } | |
610 | 608 | else throw("Strict value is not equal to itself.") | |
611 | 609 | } | |
612 | 610 | else throw("Strict value is not equal to itself.") | |
613 | 611 | } | |
614 | 612 | else throw("Strict value is not equal to itself.") | |
615 | 613 | } | |
616 | 614 | else throw("Strict value is not equal to itself.") | |
617 | 615 | } | |
618 | 616 | else 1 | |
619 | 617 | } | |
620 | 618 | else 1 | |
621 | 619 | } | |
622 | 620 | else 0 | |
623 | 621 | } | |
624 | 622 | if ((bk == bk)) | |
625 | 623 | then [IntegerEntry("autostake_amount_At8D6NFFpheCbvKVnjVoeLL84Eo8NZn6ovManxfLaFWL", (bh - aw))] | |
626 | 624 | else throw("Strict value is not equal to itself.") | |
627 | 625 | } | |
628 | 626 | else throw("Strict value is not equal to itself.") | |
629 | 627 | } | |
630 | 628 | else throw("Strict value is not equal to itself.") | |
631 | 629 | } | |
632 | 630 | else throw("Strict value is not equal to itself.") | |
633 | 631 | } | |
634 | 632 | else nil | |
635 | 633 | ||
636 | 634 | ||
637 | 635 | ||
638 | 636 | @Callable(aK) | |
639 | 637 | func addInterest (j,aw) = if ((aK.caller != this)) | |
640 | 638 | then throw("only for self invocation") | |
641 | 639 | else { | |
642 | 640 | let bw = B(("autostake_lastEarned_" + j)) | |
643 | 641 | let bx = B(("autostake_lastBlock_" + j)) | |
644 | 642 | let by = fraction(aw, 80, 100) | |
645 | 643 | let bz = if (if ((bx == height)) | |
646 | 644 | then true | |
647 | 645 | else (aw == 0)) | |
648 | 646 | then nil | |
649 | 647 | else [IntegerEntry(("autostake_preLastEarned_" + j), bw), IntegerEntry(("autostake_preLastBlock_" + j), bx), IntegerEntry(("autostake_lastEarned_" + j), (bw + by)), IntegerEntry(("autostake_lastBlock_" + j), height)] | |
650 | 648 | (bz ++ [IntegerEntry((j + "_sRate"), (B((j + "_sRate")) + fraction(n, by, B(("total_supplied_" + j)))))]) | |
651 | 649 | } | |
652 | 650 | ||
653 | 651 | ||
654 | 652 | ||
655 | 653 | @Callable(aK) | |
656 | 654 | func addInterestEXTERNAL () = { | |
657 | 655 | let aw = fraction(aK.payments[0].amount, 80, 100) | |
658 | 656 | let I = aK.payments[0].assetId | |
659 | 657 | let j = H(I) | |
660 | 658 | let bw = B(("autostake_lastEarned_" + j)) | |
661 | 659 | let bx = B(("autostake_lastBlock_" + j)) | |
662 | 660 | let bz = if (if ((bx == height)) | |
663 | 661 | then true | |
664 | 662 | else (aw == 0)) | |
665 | 663 | then nil | |
666 | 664 | else [IntegerEntry(("autostake_preLastEarned_" + j), bw), IntegerEntry(("autostake_preLastBlock_" + j), bx), IntegerEntry(("autostake_lastEarned_" + j), (bw + aw)), IntegerEntry(("autostake_lastBlock_" + j), height)] | |
667 | 665 | (bz ++ [IntegerEntry((j + "_sRate"), (B((j + "_sRate")) + fraction(n, aw, B(("total_supplied_" + j)))))]) | |
668 | 666 | } | |
669 | 667 | ||
670 | 668 | ||
671 | 669 | ||
672 | 670 | @Callable(aK) | |
673 | 671 | func preInit (bA,bB,bC,bD) = { | |
674 | 672 | func r (s,ad) = (s ++ [IntegerEntry((ad + "_bRate"), n), IntegerEntry((ad + "_sRate"), n)]) | |
675 | 673 | ||
676 | 674 | if ((aK.caller != this)) | |
677 | 675 | then throw("admin only") | |
678 | 676 | else { | |
679 | 677 | let ag = { | |
680 | 678 | let u = split(bA, ",") | |
681 | 679 | let v = size(u) | |
682 | 680 | let w = nil | |
683 | 681 | func x (y,z) = if ((z >= v)) | |
684 | 682 | then y | |
685 | 683 | else r(y, u[z]) | |
686 | 684 | ||
687 | 685 | func A (y,z) = if ((z >= v)) | |
688 | 686 | then y | |
689 | 687 | else throw("List size exceeds 6") | |
690 | 688 | ||
691 | 689 | A(x(x(x(x(x(x(w, 0), 1), 2), 3), 4), 5), 6) | |
692 | 690 | } | |
693 | 691 | ([StringEntry("setup_tokens", bA), StringEntry("setup_ltvs", bB), StringEntry("setup_lts", bC), StringEntry("setup_penalties", bD), BooleanEntry("setup_active", true)] ++ ag) | |
694 | 692 | } | |
695 | 693 | } | |
696 | 694 | ||
697 | 695 | ||
698 | 696 | ||
699 | 697 | @Callable(aK) | |
700 | 698 | func updateParameter (C,bE) = if (if ((aK.caller != this)) | |
701 | 699 | then (aK.caller != Address(base58'3P3o9cLTV2u9N4nYNKRYL6gy6cUEU9DwXW8')) | |
702 | 700 | else false) | |
703 | 701 | then throw("admin only") | |
704 | 702 | else [IntegerEntry(C, parseIntValue(bE))] | |
705 | 703 | ||
706 | 704 | ||
707 | 705 | ||
708 | 706 | @Callable(aK) | |
709 | 707 | func updateString (C,bE) = if (if ((aK.caller != this)) | |
710 | 708 | then (aK.caller != Address(base58'3P3o9cLTV2u9N4nYNKRYL6gy6cUEU9DwXW8')) | |
711 | 709 | else false) | |
712 | 710 | then throw("admin only") | |
713 | 711 | else [StringEntry(C, bE)] | |
714 | 712 | ||
715 | 713 | ||
716 | 714 | ||
717 | 715 | @Callable(aK) | |
718 | 716 | func claimToReserveFund (bF) = { | |
719 | 717 | let bG = L() | |
720 | 718 | let ag = ab(bG[0], "sRate")._2 | |
721 | 719 | let q = [0, 1, 2, 3, 4, 5] | |
722 | 720 | func r (s,bH) = if ((bH >= size(bG))) | |
723 | 721 | then s | |
724 | 722 | else { | |
725 | 723 | let j = bG[bH] | |
726 | 724 | let bI = F(("autostake_amount_" + j)) | |
727 | 725 | let aw = ((((K(j) + B(("autostake_amount_" + j))) + (if ((bI != "")) | |
728 | 726 | then parseIntValue(bI) | |
729 | 727 | else 0)) + fraction(B(("total_borrowed_" + j)), ag[((bH * 3) + 1)].value, n)) - fraction(B(("total_supplied_" + j)), ag[(bH * 3)].value, n)) | |
730 | 728 | let bg = if ((B(("autostake_amount_" + j)) > 0)) | |
731 | 729 | then invoke(this, "unstakeToken", [j, max([aw, 0])], nil) | |
732 | 730 | else 0 | |
733 | 731 | if ((bg == bg)) | |
734 | 732 | then (s ++ [aw]) | |
735 | 733 | else throw("Strict value is not equal to itself.") | |
736 | 734 | } | |
737 | 735 | ||
738 | 736 | let bJ = { | |
739 | 737 | let u = q | |
740 | 738 | let v = size(u) | |
741 | 739 | let w = nil | |
742 | 740 | func x (y,z) = if ((z >= v)) | |
743 | 741 | then y | |
744 | 742 | else r(y, u[z]) | |
745 | 743 | ||
746 | 744 | func A (y,z) = if ((z >= v)) | |
747 | 745 | then y | |
748 | 746 | else throw("List size exceeds 6") | |
749 | 747 | ||
750 | 748 | A(x(x(x(x(x(x(w, 0), 1), 2), 3), 4), 5), 6) | |
751 | 749 | } | |
752 | 750 | func bK (s,bH) = if ((bH >= size(bG))) | |
753 | 751 | then s | |
754 | 752 | else { | |
755 | 753 | let j = bG[bH] | |
756 | 754 | (s ++ [ScriptTransfer(a, max([bJ[bH], 0]), J(j))]) | |
757 | 755 | } | |
758 | 756 | ||
759 | 757 | if (bF) | |
760 | 758 | then throw(p(bJ)) | |
761 | 759 | else $Tuple2({ | |
762 | 760 | let u = q | |
763 | 761 | let v = size(u) | |
764 | 762 | let w = nil | |
765 | 763 | func bL (y,z) = if ((z >= v)) | |
766 | 764 | then y | |
767 | 765 | else bK(y, u[z]) | |
768 | 766 | ||
769 | 767 | func bM (y,z) = if ((z >= v)) | |
770 | 768 | then y | |
771 | 769 | else throw("List size exceeds 6") | |
772 | 770 | ||
773 | 771 | bM(bL(bL(bL(bL(bL(bL(w, 0), 1), 2), 3), 4), 5), 6) | |
774 | 772 | }, bJ) | |
775 | 773 | } | |
776 | 774 | ||
777 | 775 | ||
778 | 776 | ||
779 | 777 | @Callable(aK) | |
780 | 778 | func reSetup (j) = { | |
781 | 779 | let bN = B("resetup_lastUpdate") | |
782 | 780 | if ((o > (height - bN))) | |
783 | 781 | then throw("can be updated only once per day") | |
784 | 782 | else { | |
785 | 783 | let bC = split(F("setup_lts"), ",") | |
786 | 784 | let bG = L() | |
787 | 785 | let R = af(j) | |
788 | 786 | let bO = B((("setup_" + j) + "_tempLT")) | |
789 | 787 | let bP = parseIntValue(bG[value(indexOf(bG, j))]) | |
790 | 788 | if ((R > 90000000)) | |
791 | 789 | then [IntegerEntry((("setup_" + j) + "_tempLT"), fraction(bO, 9975, 10000))] | |
792 | 790 | else if (if ((bP > bO)) | |
793 | 791 | then (90000000 > R) | |
794 | 792 | else false) | |
795 | 793 | then [IntegerEntry((("setup_" + j) + "_tempLT"), fraction(bO, 10025, 10000))] | |
796 | 794 | else nil | |
797 | 795 | } | |
798 | 796 | } | |
799 | 797 | ||
800 | 798 | ||
801 | 799 | ||
802 | 800 | @Callable(aK) | |
803 | 801 | func shutdown (bQ) = if ((indexOf(f, aK.caller.bytes) == unit)) | |
804 | 802 | then throw("user not in a whitelist") | |
805 | 803 | else [BooleanEntry("setup_active", !(bQ))] | |
806 | 804 | ||
807 | 805 | ||
808 | 806 | ||
809 | 807 | @Callable(aK) | |
810 | 808 | func liquidate (bF,h,as,aM,aN,bR) = if (!(g(aK.caller))) | |
811 | 809 | then throw("temporarily available for whitelist only") | |
812 | 810 | else if (!(E("setup_active"))) | |
813 | 811 | then throw("market is stopped") | |
814 | 812 | else { | |
815 | 813 | let bS = ao(h) | |
816 | 814 | if ((bS == bS)) | |
817 | 815 | then { | |
818 | 816 | let bT = ab(aM, "sRate") | |
819 | 817 | let au = bT._1 | |
820 | 818 | let bU = bT._2 | |
821 | 819 | let bV = ab(aN, "bRate") | |
822 | 820 | let aE = bV._1 | |
823 | 821 | let bW = bV._2 | |
824 | 822 | let bX = fraction(as, n, au) | |
825 | 823 | let bY = B(((h + "_supplied_") + aM)) | |
826 | 824 | let bZ = B(((h + "_borrowed_") + aN)) | |
827 | 825 | let ca = if ((bZ > 0)) | |
828 | 826 | then bZ | |
829 | 827 | else throw("user has no borrow in this token") | |
830 | 828 | if ((bS > 0)) | |
831 | 829 | then throw("user can't be liquidated") | |
832 | 830 | else if ((bX > bY)) | |
833 | 831 | then throw("position to liquidate is bigger than user's supply") | |
834 | 832 | else { | |
835 | 833 | let cb = K(aM) | |
836 | 834 | if ((cb == cb)) | |
837 | 835 | then { | |
838 | 836 | let cc = K(aN) | |
839 | 837 | if ((cc == cc)) | |
840 | 838 | then { | |
841 | 839 | let cd = invoke(d, "swap", [bR, 0], [AttachedPayment(J(aM), as)]) | |
842 | 840 | if ((cd == cd)) | |
843 | 841 | then { | |
844 | 842 | let ce = (cb - K(aM)) | |
845 | 843 | if ((ce == ce)) | |
846 | 844 | then { | |
847 | 845 | let cf = (K(aN) - cc) | |
848 | 846 | if ((cf == cf)) | |
849 | 847 | then { | |
850 | 848 | let cg = ai(aM)._1 | |
851 | 849 | let ch = am(aM) | |
852 | 850 | let ci = fraction(ce, cg, ch) | |
853 | 851 | let cj = ai(aN)._2 | |
854 | 852 | let ck = am(aN) | |
855 | 853 | let cl = fraction(cf, cj, ck) | |
856 | 854 | let cm = parseIntValue(split(F("setup_penalties"), ",")[value(indexOf(L(), aN))]) | |
857 | 855 | let cn = (cl - fraction(ci, (l - cm), l)) | |
858 | 856 | let co = fraction(ce, n, au) | |
859 | 857 | let cp = fraction(fraction(cf, n, aE), (l - fraction(cn, l, cl)), l) | |
860 | 858 | if ((ce > as)) | |
861 | 859 | then throw("more assets exchanged than expected") | |
862 | 860 | else if ((0 > cn)) | |
863 | 861 | then throw("price impact is bigger than liquidation penalty") | |
864 | 862 | else [IntegerEntry(((h + "_supplied_") + aM), (bY - co)), IntegerEntry(((h + "_borrowed_") + aN), (ca - cp)), IntegerEntry(("total_supplied_" + aM), (B(("total_supplied_" + aM)) - co)), IntegerEntry(("total_borrowed_" + aN), (B(("total_borrowed_" + aN)) - cp))] | |
865 | 863 | } | |
866 | 864 | else throw("Strict value is not equal to itself.") | |
867 | 865 | } | |
868 | 866 | else throw("Strict value is not equal to itself.") | |
869 | 867 | } | |
870 | 868 | else throw("Strict value is not equal to itself.") | |
871 | 869 | } | |
872 | 870 | else throw("Strict value is not equal to itself.") | |
873 | 871 | } | |
874 | 872 | else throw("Strict value is not equal to itself.") | |
875 | 873 | } | |
876 | 874 | } | |
877 | 875 | else throw("Strict value is not equal to itself.") | |
878 | 876 | } | |
879 | 877 | ||
880 | 878 | ||
881 | 879 | ||
882 | 880 | @Callable(aK) | |
883 | 881 | func liquidateV2 (bF,h,aM) = if (!(g(aK.caller))) | |
884 | 882 | then throw("temporarily available for whitelist only") | |
885 | 883 | else if (!(E("setup_active"))) | |
886 | 884 | then throw("market is stopped") | |
887 | 885 | else { | |
888 | 886 | let aT = aK.payments[0].assetId | |
889 | 887 | let aN = H(aT) | |
890 | 888 | let cq = aK.payments[0].amount | |
891 | 889 | let bS = ao(h) | |
892 | 890 | if ((bS == bS)) | |
893 | 891 | then if ((bS > 0)) | |
894 | 892 | then throw("user can't be liquidated") | |
895 | 893 | else { | |
896 | 894 | let cr = L() | |
897 | 895 | let cs = value(indexOf(cr, aN)) | |
898 | 896 | let ct = value(indexOf(cr, aM)) | |
899 | 897 | let cu = ab(aN, "bRate") | |
900 | 898 | let aE = cu._1 | |
901 | 899 | let bU = cu._2 | |
902 | 900 | let cj = ai(aN)._2 | |
903 | 901 | let ck = am(aN) | |
904 | 902 | let cv = fraction(cq, cj, ck) | |
905 | 903 | let cm = parseIntValue(value(split(F("setup_penalties"), ",")[cs])) | |
906 | 904 | let cg = ai(aM)._1 | |
907 | 905 | let ch = am(aM) | |
908 | 906 | let cw = fraction(cv, (l + cm), l) | |
909 | 907 | let bX = fraction(cw, ch, cg) | |
910 | 908 | let aO = fraction(cq, n, aE) | |
911 | 909 | let aV = fraction(bX, n, bU[((ct * 3) + 1)].value) | |
912 | 910 | let bY = B(((h + "_supplied_") + aM)) | |
913 | 911 | let bZ = B(((h + "_borrowed_") + aN)) | |
914 | 912 | let ca = if ((bZ > 0)) | |
915 | 913 | then bZ | |
916 | 914 | else throw("user has no borrow in this token") | |
917 | 915 | if ((aV > bY)) | |
918 | 916 | then throw("position to liquidate is bigger than user's supply") | |
919 | 917 | else if (bF) | |
920 | 918 | then throw("liquidation will pass") | |
921 | 919 | else ([ScriptTransfer(aK.caller, bX, J(aM)), IntegerEntry(((h + "_supplied_") + aM), (bY - aV)), IntegerEntry(((h + "_borrowed_") + aN), (ca - aO)), IntegerEntry(("total_supplied_" + aM), (B(("total_supplied_" + aM)) - aV)), IntegerEntry(("total_borrowed_" + aN), (B(("total_borrowed_" + aN)) - aO))] ++ bU) | |
922 | 920 | } | |
923 | 921 | else throw("Strict value is not equal to itself.") | |
924 | 922 | } | |
925 | 923 | ||
926 | 924 | ||
927 | 925 | ||
928 | 926 | @Callable(aK) | |
929 | 927 | func getUserCollateral (bF,h,cx,cy) = { | |
930 | 928 | let bG = L() | |
931 | 929 | let bB = split(F("setup_ltvs"), ",") | |
932 | 930 | let bC = split(F("setup_lts"), ",") | |
933 | 931 | let ag = ab(bG[0], "sRate")._2 | |
934 | 932 | let cz = split(cy, ",") | |
935 | 933 | func r (s,t) = if ((t >= size(bG))) | |
936 | 934 | then s | |
937 | 935 | else { | |
938 | 936 | let cA = B(((h + "_supplied_") + bG[t])) | |
939 | 937 | let cB = B(((h + "_borrowed_") + bG[t])) | |
940 | 938 | let cC = if ((cy == "")) | |
941 | 939 | then if (if ((cB != 0)) | |
942 | 940 | then true | |
943 | 941 | else (cA != 0)) | |
944 | 942 | then true | |
945 | 943 | else false | |
946 | 944 | else true | |
947 | 945 | if (cC) | |
948 | 946 | then { | |
949 | 947 | let aA = am(bG[t]) | |
950 | 948 | let ay = ai(bG[t]) | |
951 | 949 | ((s + fraction(fraction(fraction((cA + (if (if (if ((cy != "")) | |
952 | 950 | then (cz[0] == bG[t]) | |
953 | 951 | else false) | |
954 | 952 | then (cz[1] == "supplied") | |
955 | 953 | else false) | |
956 | 954 | then parseIntValue(cz[2]) | |
957 | 955 | else 0)), ag[(t * 3)].value, n), parseIntValue(bB[t]), l), ay._1, aA)) - (if (cx) | |
958 | 956 | then fraction(fraction(fraction((cB + (if (if (if ((cy != "")) | |
959 | 957 | then (cz[0] == bG[t]) | |
960 | 958 | else false) | |
961 | 959 | then (cz[1] == "borrowed") | |
962 | 960 | else false) | |
963 | 961 | then parseIntValue(cz[2]) | |
964 | 962 | else 0)), ag[((t * 3) + 1)].value, n), l, parseIntValue(bC[t])), ay._2, aA) | |
965 | 963 | else 0)) | |
966 | 964 | } | |
967 | 965 | else s | |
968 | 966 | } | |
969 | 967 | ||
970 | 968 | let cD = { | |
971 | 969 | let u = [0, 1, 2, 3, 4, 5] | |
972 | 970 | let v = size(u) | |
973 | 971 | let w = 0 | |
974 | 972 | func x (y,z) = if ((z >= v)) | |
975 | 973 | then y | |
976 | 974 | else r(y, u[z]) | |
977 | 975 | ||
978 | 976 | func A (y,z) = if ((z >= v)) | |
979 | 977 | then y | |
980 | 978 | else throw("List size exceeds 6") | |
981 | 979 | ||
982 | 980 | A(x(x(x(x(x(x(w, 0), 1), 2), 3), 4), 5), 6) | |
983 | 981 | } | |
984 | 982 | if (bF) | |
985 | 983 | then throw(toString(cD)) | |
986 | 984 | else $Tuple2(ag, cD) | |
987 | 985 | } | |
988 | 986 | ||
989 | 987 | ||
990 | 988 | ||
991 | 989 | @Callable(aK) | |
992 | 990 | func getAssetDebt (bF,h,j) = { | |
993 | 991 | let cB = B(((h + "_borrowed_") + j)) | |
994 | 992 | let aA = am(j) | |
995 | 993 | let T = ab(j, "bRate")._1 | |
996 | 994 | let cD = fraction(cB, T, n) | |
997 | 995 | if (bF) | |
998 | 996 | then throw(toString(cD)) | |
999 | 997 | else $Tuple2(nil, cD) | |
1000 | 998 | } | |
1001 | 999 | ||
1002 | 1000 | ||
1003 | 1001 | ||
1004 | 1002 | @Callable(aK) | |
1005 | 1003 | func getPrices (bF) = { | |
1006 | 1004 | let bG = L() | |
1007 | 1005 | func r (s,t) = if ((t >= size(bG))) | |
1008 | 1006 | then s | |
1009 | 1007 | else { | |
1010 | 1008 | let ay = ai(bG[t]) | |
1011 | 1009 | ((((s + toString(ay._1)) + ",") + toString(ay._2)) + "|") | |
1012 | 1010 | } | |
1013 | 1011 | ||
1014 | 1012 | let cD = { | |
1015 | 1013 | let u = [0, 1, 2, 3, 4, 5] | |
1016 | 1014 | let v = size(u) | |
1017 | 1015 | let w = "" | |
1018 | 1016 | func x (y,z) = if ((z >= v)) | |
1019 | 1017 | then y | |
1020 | 1018 | else r(y, u[z]) | |
1021 | 1019 | ||
1022 | 1020 | func A (y,z) = if ((z >= v)) | |
1023 | 1021 | then y | |
1024 | 1022 | else throw("List size exceeds 6") | |
1025 | 1023 | ||
1026 | 1024 | A(x(x(x(x(x(x(w, 0), 1), 2), 3), 4), 5), 6) | |
1027 | 1025 | } | |
1028 | 1026 | if (bF) | |
1029 | 1027 | then throw(cD) | |
1030 | 1028 | else $Tuple2(nil, cD) | |
1031 | 1029 | } | |
1032 | 1030 | ||
1033 | 1031 | ||
1034 | 1032 | ||
1035 | 1033 | @Callable(aK) | |
1036 | 1034 | func calculateUtilizationRatio (j,bF) = if (bF) | |
1037 | 1035 | then throw(toString(af(j))) | |
1038 | 1036 | else $Tuple2(nil, af(j)) | |
1039 | 1037 | ||
1040 | 1038 | ||
1041 | 1039 | ||
1042 | 1040 | @Callable(aK) | |
1043 | 1041 | func calculateOutdatedUR (j,bF) = if (bF) | |
1044 | 1042 | then throw(toString(O(j))) | |
1045 | 1043 | else $Tuple2(nil, O(j)) | |
1046 | 1044 | ||
1047 | 1045 | ||
1048 | 1046 | ||
1049 | 1047 | @Callable(aK) | |
1050 | 1048 | func calculateTokenRates (bF) = { | |
1051 | 1049 | func r (s,j) = { | |
1052 | 1050 | let ag = U(j) | |
1053 | 1051 | $Tuple2(((((s._1 + toString(ag[1].value)) + "|") + toString(ag[0].value)) + ","), (s._2 ++ ag)) | |
1054 | 1052 | } | |
1055 | 1053 | ||
1056 | 1054 | let bJ = { | |
1057 | 1055 | let u = L() | |
1058 | 1056 | let v = size(u) | |
1059 | 1057 | let w = $Tuple2("", nil) | |
1060 | 1058 | func x (y,z) = if ((z >= v)) | |
1061 | 1059 | then y | |
1062 | 1060 | else r(y, u[z]) | |
1063 | 1061 | ||
1064 | 1062 | func A (y,z) = if ((z >= v)) | |
1065 | 1063 | then y | |
1066 | 1064 | else throw("List size exceeds 6") | |
1067 | 1065 | ||
1068 | 1066 | A(x(x(x(x(x(x(w, 0), 1), 2), 3), 4), 5), 6) | |
1069 | 1067 | } | |
1070 | 1068 | if (bF) | |
1071 | 1069 | then throw(bJ._1) | |
1072 | 1070 | else $Tuple2(bJ._2, bJ._1) | |
1073 | 1071 | } | |
1074 | 1072 | ||
1075 | 1073 | ||
1076 | 1074 | ||
1077 | 1075 | @Callable(aK) | |
1078 | 1076 | func calculateTokensInterest (bF) = { | |
1079 | 1077 | func r (s,j) = { | |
1080 | 1078 | let T = fraction(Q(j), o, l) | |
1081 | 1079 | ((s + toString(T)) + ",") | |
1082 | 1080 | } | |
1083 | 1081 | ||
1084 | 1082 | let bJ = { | |
1085 | 1083 | let u = L() | |
1086 | 1084 | let v = size(u) | |
1087 | 1085 | let w = "" | |
1088 | 1086 | func x (y,z) = if ((z >= v)) | |
1089 | 1087 | then y | |
1090 | 1088 | else r(y, u[z]) | |
1091 | 1089 | ||
1092 | 1090 | func A (y,z) = if ((z >= v)) | |
1093 | 1091 | then y | |
1094 | 1092 | else throw("List size exceeds 6") | |
1095 | 1093 | ||
1096 | 1094 | A(x(x(x(x(x(x(w, 0), 1), 2), 3), 4), 5), 6) | |
1097 | 1095 | } | |
1098 | 1096 | if (bF) | |
1099 | 1097 | then throw(bJ) | |
1100 | 1098 | else $Tuple2(nil, bJ) | |
1101 | 1099 | } | |
1102 | 1100 | ||
1103 | 1101 | ||
1104 | 1102 | @Verifier(cE) | |
1105 | 1103 | func cF () = sigVerify(cE.bodyBytes, cE.proofs[0], cE.senderPublicKey) | |
1106 | 1104 |
github/deemru/w8io/169f3d6 159.16 ms ◑