tx · 82FDeRevXxKDHHaBfixvgMcjX2TtM2tTWZ7LKfU2Pndw

3N3DnVffnUyZtz2MRbk5U7giN112WempMNd:  -0.02900000 Waves

2023.03.21 11:29 [2499542] smart account 3N3DnVffnUyZtz2MRbk5U7giN112WempMNd > SELF 0.00000000 Waves

{ "type": 13, "id": "82FDeRevXxKDHHaBfixvgMcjX2TtM2tTWZ7LKfU2Pndw", "fee": 2900000, "feeAssetId": null, "timestamp": 1679387371522, "version": 2, "chainId": 84, "sender": "3N3DnVffnUyZtz2MRbk5U7giN112WempMNd", "senderPublicKey": "3c1wAgvTRCNXCGMidVnB1j4gTYUqtwHR9tNNu2v4ZUNk", "proofs": [ "4La4BmyLsPSV9fEf3oVy2vhGSRkssEhFa7adxvoYZ3mLckgDPaRdNznGm1e7t4tbskf5Nfs3YsvzsVMddTDXuLfy" ], "script": "base64:BgKCAQgCEgASBAoCCAESBAoCCAESABIDCgEIEgQKAggBEgQKAggBEgQKAggBEgASBgoECAgICBIECgIICBIECgIICBIDCgEEEgMKAQgSAwoBBBIICgYECAEICAgSBQoDBAgIEgYKBAQIBAgSAwoBBBIECgIIBBIECgIIBBIDCgEEEgMKAQQeABJyZXNlcnZlRnVuZEFkZHJlc3MJAQdBZGRyZXNzAQEaAVR5kbUvJUKjlFFOUXUmV1bpUpTF5flA7NkAC3Jlc2VydmVGdW5kABQAEWFnZ3JlZ2F0b3JBZGRyZXNzCQEHQWRkcmVzcwEBGgFUeZG1LyVCo5RRTlF1JldW6VKUxeX5QOzZAAlvcmFjbGVTdHICIzNONEtiTW5KSDhGYU05NGpxeE5GZTJveVo4R0I3Wjh5VkJQABFzaHV0ZG93bldoaXRlbGlzdAkAzAgCARoBV9fhI1GOfKuIWtXXKJd12Ih104+uIwWm4QkAzAgCARoBV2MNA4Gmf1tU0hy55Cgq86eANPDYtY3VZQkAzAgCARoBV7PVklRJCZoqEPvG+J8QdqvvPw9ypYkVjAkAzAgCARoBV/j6+gImwFGL7Go7RjNJ0hxxs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9keUJ5dGVzCQCRAwIIBQJ0eAZwcm9vZnMAAAgFAnR4D3NlbmRlclB1YmxpY0tleesHjrc=", "height": 2499542, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 8NcsJ8Pf63RnE8RTxhmSRM6s5MMrtPuX4mAHzUWejj8K Next: FpUqhCxdVrAckQS3XYrssKBtFUMMbERUEh11x89LsiYz Diff:
OldNewDifferences
77
88 let c = Address(base58'3Mzzt65puEs2W9M1m9iFBvMEdfM5bASE1hJ')
99
10-let d = "3PPXVKjN6nRMzXeegcYhfiic96pd2c98Ekm"
10+let d = "3N4KbMnJH8FaM94jqxNFe2oyZ8GB7Z8yVBP"
1111
1212 let e = [base58'3PMcMiMEs6w56NRGacksXtFG5zS7doE9fpL', base58'3PAxdDSmN758L5SHSGRC5apEtQE2aApZotG', base58'3PJKmXoHJvVeQXjSJdhtkUcFDtdiQqMbUTD', base58'3PQdNxynJy5mche2kxMVc5shXWzK8Gstq3o', base58'3PHbdpaKzz8EiAngGHaFu2hVuNCdsC67qh3', base58'3P6Ksahs71SiKQgQ4qaZuFAVhqncdi2nvJQ']
1313
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let a = Address(base58'3Mzzt65puEs2W9M1m9iFBvMEdfM5bASE1hJ')
55
66 let b = 20
77
88 let c = Address(base58'3Mzzt65puEs2W9M1m9iFBvMEdfM5bASE1hJ')
99
10-let d = "3PPXVKjN6nRMzXeegcYhfiic96pd2c98Ekm"
10+let d = "3N4KbMnJH8FaM94jqxNFe2oyZ8GB7Z8yVBP"
1111
1212 let e = [base58'3PMcMiMEs6w56NRGacksXtFG5zS7doE9fpL', base58'3PAxdDSmN758L5SHSGRC5apEtQE2aApZotG', base58'3PJKmXoHJvVeQXjSJdhtkUcFDtdiQqMbUTD', base58'3PQdNxynJy5mche2kxMVc5shXWzK8Gstq3o', base58'3PHbdpaKzz8EiAngGHaFu2hVuNCdsC67qh3', base58'3P6Ksahs71SiKQgQ4qaZuFAVhqncdi2nvJQ']
1313
1414 func f (g) = !((g != Address(base58'3Mzzt65puEs2W9M1m9iFBvMEdfM5bASE1hJ')))
1515
1616
1717 func h (i) = {
1818 let j = i
1919 if (("FLdC14nUVRyiSYjVrMo3X4g8rXQjLbNRaGAyQAm8V68V" == j))
2020 then $Tuple4(2000000, 25000000, 80000000, 100000000)
2121 else if (("25FEqEjRkqK6yCkiT7Lz6SAYz7gUFCtxfCChnrVFD5AT" == j))
2222 then $Tuple4(2000000, 25000000, 80000000, 100000000)
2323 else if (("WAVES" == j))
2424 then $Tuple4(2000000, 30000000, 80000000, 50000000)
2525 else $Tuple4(0, 20000000, 80000000, 80000000)
2626 }
2727
2828
2929 let k = 100000000
3030
3131 let l = 10000000000
3232
3333 let m = (k * k)
3434
3535 let n = 1440
3636
3737 func o (p) = {
3838 func q (r,s) = ((r + toString(s)) + ",")
3939
4040 let t = p
4141 let u = size(t)
4242 let v = ""
4343 func w (x,y) = if ((y >= u))
4444 then x
4545 else q(x, t[y])
4646
4747 func z (x,y) = if ((y >= u))
4848 then x
4949 else throw("List size exceeds 6")
5050
5151 z(w(w(w(w(w(w(v, 0), 1), 2), 3), 4), 5), 6)
5252 }
5353
5454
5555 func A (B) = {
5656 let j = getInteger(this, B)
5757 if ($isInstanceOf(j, "Int"))
5858 then {
5959 let C = j
6060 C
6161 }
6262 else 0
6363 }
6464
6565
6666 func D (B) = {
6767 let j = getBoolean(this, B)
6868 if ($isInstanceOf(j, "Boolean"))
6969 then {
7070 let C = j
7171 C
7272 }
7373 else false
7474 }
7575
7676
7777 func E (B) = {
7878 let j = getString(this, B)
7979 if ($isInstanceOf(j, "String"))
8080 then {
8181 let C = j
8282 C
8383 }
8484 else ""
8585 }
8686
8787
8888 func F (B) = {
8989 let j = getBinary(this, B)
9090 if ($isInstanceOf(j, "ByteVector"))
9191 then {
9292 let C = j
9393 C
9494 }
9595 else base58''
9696 }
9797
9898
9999 func G (H) = {
100100 let j = H
101101 if ($isInstanceOf(j, "ByteVector"))
102102 then {
103103 let C = j
104104 toBase58String(C)
105105 }
106106 else "WAVES"
107107 }
108108
109109
110110 func I (i) = if ((i == "WAVES"))
111111 then unit
112112 else fromBase58String(i)
113113
114114
115115 func J (i) = if ((i == "WAVES"))
116116 then wavesBalance(this).available
117117 else assetBalance(this, fromBase58String(i))
118118
119119
120120 func K () = split(E("setup_tokens"), ",")
121121
122122
123123 func L () = {
124124 let M = E("setup_maxsupply")
125125 if ((M == ""))
126126 then [-1, -1, -1, -1, -1, -1, -1]
127127 else split(M, ",")
128128 }
129129
130130
131131 func N (i) = {
132132 let O = fraction(A(("total_supplied_" + i)), A((i + "_sRate")), m)
133133 if ((O == 0))
134134 then 0
135135 else fraction(k, fraction(A(("total_borrowed_" + i)), A((i + "_bRate")), m), O)
136136 }
137137
138138
139139 func P (i) = {
140140 let Q = N(i)
141141 let R = h(i)
142142 let S = (R._1 + (if ((R._3 >= Q))
143143 then fraction(Q, R._2, R._3)
144144 else (R._2 + fraction((Q - R._3), R._4, (100000000 - R._3)))))
145145 max([fraction(S, k, (n * 365)), 1])
146146 }
147147
148148
149149 func T (i) = {
150150 let U = P(i)
151151 let Q = N(i)
152152 let V = A("lastRateHeight")
153153 let W = max([A((i + "_bRate")), m])
154154 let X = (W + ((height - V) * U))
155155 let Y = max([A((i + "_sRate")), m])
156156 let Z = (Y + ((((height - V) * fraction(U, Q, k)) * (100 - b)) / 100))
157157 [IntegerEntry((i + "_sRate"), Z), IntegerEntry((i + "_bRate"), X), IntegerEntry("lastRateHeight", height)]
158158 }
159159
160160
161161 func aa (i,ab) = {
162162 func q (r,ac) = {
163163 let ad = T(ac)
164164 $Tuple2(if ((ac != i))
165165 then r._1
166166 else if ((ab == "sRate"))
167167 then ad[0].value
168168 else ad[1].value, (r._2 ++ ad))
169169 }
170170
171171 let t = K()
172172 let u = size(t)
173173 let v = $Tuple2(0, nil)
174174 func w (x,y) = if ((y >= u))
175175 then x
176176 else q(x, t[y])
177177
178178 func z (x,y) = if ((y >= u))
179179 then x
180180 else throw("List size exceeds 6")
181181
182182 z(w(w(w(w(w(w(v, 0), 1), 2), 3), 4), 5), 6)
183183 }
184184
185185
186186 func ae (i) = {
187187 let af = T(i)
188188 let O = fraction(A(("total_supplied_" + i)), af[0].value, m)
189189 fraction(k, fraction(A(("total_borrowed_" + i)), af[1].value, m), O)
190190 }
191191
192192
193193 func ag () = {
194194 func q (r,ac) = (r ++ T(ac))
195195
196196 let t = K()
197197 let u = size(t)
198198 let v = nil
199199 func w (x,y) = if ((y >= u))
200200 then x
201201 else q(x, t[y])
202202
203203 func z (x,y) = if ((y >= u))
204204 then x
205205 else throw("List size exceeds 6")
206206
207207 z(w(w(w(w(w(w(v, 0), 1), 2), 3), 4), 5), 6)
208208 }
209209
210210
211211 func ah (i) = {
212212 let ai = invoke(addressFromStringValue(d), "getTWAP60", [i, false], nil)
213213 if ((ai == ai))
214214 then {
215215 let aj = {
216216 let j = ai
217217 if ($isInstanceOf(j, "(Int, Int)"))
218218 then {
219219 let ak = j
220220 ak
221221 }
222222 else throw("error of price oracle")
223223 }
224224 if ((aj == aj))
225225 then aj
226226 else throw("Strict value is not equal to itself.")
227227 }
228228 else throw("Strict value is not equal to itself.")
229229 }
230230
231231
232232 func al (i) = {
233233 let am = if ((i == "WAVES"))
234234 then 8
235235 else value(assetInfo(fromBase58String(i))).decimals
236236 pow(10, 0, am, 0, 0, DOWN)
237237 }
238238
239239
240240 func an (g) = {
241241 let ao = invoke(this, "getUserCollateral", [false, g, true, ""], nil)
242242 if ((ao == ao))
243243 then {
244244 let ap = {
245245 let j = ao
246246 if ($isInstanceOf(j, "Int"))
247247 then {
248248 let ak = j
249249 ak
250250 }
251251 else throw("issue while doing in-dapp invocation")
252252 }
253253 if ((ap == ap))
254254 then ap
255255 else throw("Strict value is not equal to itself.")
256256 }
257257 else throw("Strict value is not equal to itself.")
258258 }
259259
260260
261261 @Callable(aq)
262262 func supply () = if (!(D("setup_active")))
263263 then throw("market is stopped")
264264 else if (if ((size(aq.payments) != 1))
265265 then true
266266 else (aq.payments[0].amount == 0))
267267 then throw("1 payment has to be attached")
268268 else {
269269 let i = G(aq.payments[0].assetId)
270270 let ar = aq.payments[0].amount
271271 let as = aa(i, "sRate")
272272 let at = as._1
273273 let au = as._2
274274 let av = fraction(ar, m, at, DOWN)
275275 let g = toString(aq.caller)
276276 let aw = {
277277 let j = getString(("setup_maxSupply_" + i))
278278 if ($isInstanceOf(j, "String"))
279279 then {
280280 let ak = j
281281 parseIntValue(ak)
282282 }
283283 else 0
284284 }
285285 let ax = ah(i)
286286 let ay = (A(((g + "_supplied_") + i)) + av)
287287 let S = aa(i, "sRate")._1
288288 let az = al(i)
289289 let aA = fraction(fraction(ay, S, m), ax._1, az)
290290 if ((indexOf(E("setup_tokens"), i) == unit))
291291 then throw("this asset is not supported by the market")
292292 else if (if ((aw != 0))
293293 then (aA > aw)
294294 else false)
295295 then throw("max total supply for this token reached in the pool")
296296 else ([IntegerEntry(((g + "_supplied_") + i), ay), IntegerEntry(("total_supplied_" + i), (A(("total_supplied_" + i)) + av))] ++ au)
297297 }
298298
299299
300300
301301 @Callable(aq)
302302 func withdraw (i,ar) = {
303303 let aB = aa(i, "sRate")
304304 let at = aB._1
305305 let au = aB._2
306306 let av = fraction(ar, m, at, CEILING)
307307 let g = toString(aq.caller)
308308 let aC = A(("total_supplied_" + i))
309309 let aD = A(("total_borrowed_" + i))
310310 let aE = A(((g + "_supplied_") + i))
311311 let aF = A(((g + "_borrowed_") + i))
312312 let aG = invoke(this, "getUserCollateral", [false, g, true, ((i + ",supplied,") + toString(-(av)))], nil)
313313 if ((aG == aG))
314314 then {
315315 let aH = {
316316 let j = aG
317317 if ($isInstanceOf(j, "Int"))
318318 then {
319319 let ak = j
320320 ak
321321 }
322322 else throw("can't get user collateral value")
323323 }
324324 if (!(D("setup_active")))
325325 then throw("market is stopped")
326326 else if ((0 > aH))
327327 then throw("you dont have enough collateral for this operation")
328328 else if ((av > (aC - aD)))
329329 then throw("this amount is not available on the market")
330330 else if ((av > (aE - aF)))
331331 then throw("this amount is not available for this user")
332332 else ([IntegerEntry(((g + "_supplied_") + i), (A(((g + "_supplied_") + i)) - av)), IntegerEntry(("total_supplied_" + i), (A(("total_supplied_" + i)) - av)), ScriptTransfer(aq.caller, ar, I(i))] ++ au)
333333 }
334334 else throw("Strict value is not equal to itself.")
335335 }
336336
337337
338338
339339 @Callable(aq)
340340 func borrow (i,ar) = {
341341 let g = toString(aq.caller)
342342 let aI = aa(i, "bRate")
343343 let aJ = aI._1
344344 let au = aI._2
345345 let av = fraction(ar, m, aJ, CEILING)
346346 let aG = invoke(this, "getUserCollateral", [false, g, true, ((i + ",borrowed,") + toString(av))], nil)
347347 if ((aG == aG))
348348 then {
349349 let aH = {
350350 let j = aG
351351 if ($isInstanceOf(j, "Int"))
352352 then {
353353 let ak = j
354354 ak
355355 }
356356 else throw("can't get user collateral value")
357357 }
358358 if (!(D("setup_active")))
359359 then throw("market is stopped")
360360 else if ((0 > aH))
361361 then throw("you have to supply more to borrow")
362362 else {
363363 let aC = A(("total_supplied_" + i))
364364 let aD = A(("total_borrowed_" + i))
365365 let aF = A(((g + "_borrowed_") + i))
366366 if ((av > (aC - aD)))
367367 then throw("this amount is not available")
368368 else ([IntegerEntry(((g + "_borrowed_") + i), (aF + av)), IntegerEntry(("total_borrowed_" + i), (aD + av)), ScriptTransfer(aq.caller, ar, I(i))] ++ au)
369369 }
370370 }
371371 else throw("Strict value is not equal to itself.")
372372 }
373373
374374
375375
376376 @Callable(aq)
377377 func repay () = if (!(D("setup_active")))
378378 then throw("market is stopped")
379379 else if (if ((size(aq.payments) != 1))
380380 then true
381381 else (aq.payments[0].amount == 0))
382382 then throw("1 payment has to be attached")
383383 else {
384384 let i = G(aq.payments[0].assetId)
385385 let ar = aq.payments[0].amount
386386 let aK = aa(i, "bRate")
387387 let aJ = aK._1
388388 let au = aK._2
389389 let av = fraction(ar, m, aJ, CEILING)
390390 let g = toString(aq.caller)
391391 let aC = A(("total_supplied_" + i))
392392 let aD = A(("total_borrowed_" + i))
393393 let aF = A(((g + "_borrowed_") + i))
394394 let aL = (aF - av)
395395 let aM = if ((aL >= 0))
396396 then av
397397 else aF
398398 if ((indexOf(E("setup_tokens"), i) == unit))
399399 then throw("this asset is not supported by the market")
400400 else (([IntegerEntry(((g + "_borrowed_") + i), (aF - aM)), IntegerEntry(("total_borrowed_" + i), (aD - aM))] ++ au) ++ (if ((aL >= 0))
401401 then nil
402402 else [ScriptTransfer(aq.caller, -(aL), aq.payments[0].assetId)]))
403403 }
404404
405405
406406
407407 @Callable(aq)
408408 func stakeTokenAll (i) = if ((aq.caller != this))
409409 then throw("only for internal smart contract invocations")
410410 else {
411411 let av = J(i)
412412 let aN = invoke(this, "stakeToken", [i, av], nil)
413413 if ((aN == aN))
414414 then nil
415415 else throw("Strict value is not equal to itself.")
416416 }
417417
418418
419419
420420 @Callable(aq)
421421 func stakeToken (i,av) = if ((aq.caller != this))
422422 then throw("only for internal smart contract invocations")
423423 else if ((i == "DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p"))
424424 then {
425425 let aO = A("autostake_amount_DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p")
426426 let aN = invoke(Address(base58'3PNikM6yp4NqcSU8guxQtmR5onr2D4e8yTJ'), "stake", nil, [AttachedPayment(base58'DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p', av)])
427427 if ((aN == aN))
428428 then [IntegerEntry("autostake_amount_DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p", (aO + av))]
429429 else throw("Strict value is not equal to itself.")
430430 }
431431 else if ((i == "8t4DPWTwPzpatHA9AkTxWAB47THnYzBsDnoY7fQqbG91"))
432432 then {
433433 let aO = A("autostake_amount_8t4DPWTwPzpatHA9AkTxWAB47THnYzBsDnoY7fQqbG91")
434434 let aN = invoke(Address(base58'3PQTM38wDmAY9vWonK6ha7QL3PAycLz5oPP'), "stake", nil, [AttachedPayment(base58'8t4DPWTwPzpatHA9AkTxWAB47THnYzBsDnoY7fQqbG91', av)])
435435 if ((aN == aN))
436436 then [IntegerEntry("autostake_amount_8t4DPWTwPzpatHA9AkTxWAB47THnYzBsDnoY7fQqbG91", (aO + av))]
437437 else throw("Strict value is not equal to itself.")
438438 }
439439 else if ((i == "At8D6NFFpheCbvKVnjVoeLL84Eo8NZn6ovManxfLaFWL"))
440440 then {
441441 let aO = A("autostake_amount_At8D6NFFpheCbvKVnjVoeLL84Eo8NZn6ovManxfLaFWL")
442442 let aN = invoke(Address(base58'3PBiotFpqjRMkkeFBccnQNUXUopy7KFez5C'), "stake", nil, [AttachedPayment(base58'At8D6NFFpheCbvKVnjVoeLL84Eo8NZn6ovManxfLaFWL', av)])
443443 if ((aN == aN))
444444 then [IntegerEntry("autostake_amount_At8D6NFFpheCbvKVnjVoeLL84Eo8NZn6ovManxfLaFWL", (aO + av))]
445445 else throw("Strict value is not equal to itself.")
446446 }
447447 else nil
448448
449449
450450
451451 @Callable(aq)
452452 func unstakeToken (i,av) = if ((aq.caller != this))
453453 then throw("only for internal smart contract invocations")
454454 else if ((i == "8t4DPWTwPzpatHA9AkTxWAB47THnYzBsDnoY7fQqbG91"))
455455 then {
456456 let aO = A("autostake_amount_8t4DPWTwPzpatHA9AkTxWAB47THnYzBsDnoY7fQqbG91")
457457 let aN = invoke(Address(base58'3PQTM38wDmAY9vWonK6ha7QL3PAycLz5oPP'), "unStake", [av], nil)
458458 if ((aN == aN))
459459 then [IntegerEntry("autostake_amount_8t4DPWTwPzpatHA9AkTxWAB47THnYzBsDnoY7fQqbG91", (aO - av))]
460460 else throw("Strict value is not equal to itself.")
461461 }
462462 else if ((i == "At8D6NFFpheCbvKVnjVoeLL84Eo8NZn6ovManxfLaFWL"))
463463 then {
464464 let aO = A("autostake_amount_At8D6NFFpheCbvKVnjVoeLL84Eo8NZn6ovManxfLaFWL")
465465 let aN = invoke(Address(base58'3PBiotFpqjRMkkeFBccnQNUXUopy7KFez5C'), "unstake", [av], nil)
466466 if ((aN == aN))
467467 then {
468468 let aP = J("At8D6NFFpheCbvKVnjVoeLL84Eo8NZn6ovManxfLaFWL")
469469 if ((aP == aP))
470470 then {
471471 let aQ = invoke(Address(base58'3PQrVbTVpqXHqpVKftkNdjy3zZAh4dsRzN6'), "gnsbtRewardsSYSREADONLY", [toString(this)], nil)
472472 if ((aQ == aQ))
473473 then {
474474 let aR = {
475475 let j = aQ
476476 if ($isInstanceOf(j, "List[Any]"))
477477 then {
478478 let ak = j
479479 let aS = ak[1]
480480 let aT = aS
481481 if ($isInstanceOf(aT, "String"))
482482 then {
483483 let aS = aT
484484 let aU = parseIntValue(split(split(aS, "_")[1], ":")[1])
485485 let aV = parseIntValue(split(split(aS, "_")[0], ":")[1])
486486 if (if ((aU != 0))
487487 then true
488488 else (aV != 0))
489489 then {
490490 let aW = J("DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p")
491491 if ((aW == aW))
492492 then {
493493 let aX = J("WAVES")
494494 if ((aX == aX))
495495 then {
496496 let ai = invoke(Address(base58'3PBiotFpqjRMkkeFBccnQNUXUopy7KFez5C'), "claimRewards", nil, nil)
497497 if ((ai == ai))
498498 then {
499499 let aY = J("WAVES")
500500 if ((aY == aY))
501501 then {
502502 let aZ = invoke(Address(base58'3PLiXyywNThdvf3vVEUxwc7TJTucjZvuegh'), "swap", ["DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p", 0], [AttachedPayment(unit, (aY - aX))])
503503 if ((aZ == aZ))
504504 then {
505505 let ba = J("DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p")
506506 if ((ba == ba))
507507 then {
508508 let bb = invoke(Address(base58'3P7r93vXHuusageNJVGwzqaz3WMotAu49Yz'), "swap", ["At8D6NFFpheCbvKVnjVoeLL84Eo8NZn6ovManxfLaFWL", 0], [AttachedPayment(base58'DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p', (ba - aW))])
509509 if ((bb == bb))
510510 then {
511511 let bc = invoke(this, "addInterest", ["At8D6NFFpheCbvKVnjVoeLL84Eo8NZn6ovManxfLaFWL", (J("At8D6NFFpheCbvKVnjVoeLL84Eo8NZn6ovManxfLaFWL") - aP)], nil)
512512 if ((bc == bc))
513513 then 2
514514 else throw("Strict value is not equal to itself.")
515515 }
516516 else throw("Strict value is not equal to itself.")
517517 }
518518 else throw("Strict value is not equal to itself.")
519519 }
520520 else throw("Strict value is not equal to itself.")
521521 }
522522 else throw("Strict value is not equal to itself.")
523523 }
524524 else throw("Strict value is not equal to itself.")
525525 }
526526 else throw("Strict value is not equal to itself.")
527527 }
528528 else throw("Strict value is not equal to itself.")
529529 }
530530 else 1
531531 }
532532 else 1
533533 }
534534 else 0
535535 }
536536 if ((aR == aR))
537537 then [IntegerEntry("autostake_amount_At8D6NFFpheCbvKVnjVoeLL84Eo8NZn6ovManxfLaFWL", (aO - av))]
538538 else throw("Strict value is not equal to itself.")
539539 }
540540 else throw("Strict value is not equal to itself.")
541541 }
542542 else throw("Strict value is not equal to itself.")
543543 }
544544 else throw("Strict value is not equal to itself.")
545545 }
546546 else nil
547547
548548
549549
550550 @Callable(aq)
551551 func addInterest (i,av) = if ((aq.caller != this))
552552 then throw("only for self invocation")
553553 else {
554554 let bd = A(("autostake_lastEarned_" + i))
555555 let be = A(("autostake_lastBlock_" + i))
556556 let bf = fraction(av, 80, 100)
557557 let bg = if (if ((be == height))
558558 then true
559559 else (av == 0))
560560 then nil
561561 else [IntegerEntry(("autostake_preLastEarned_" + i), bd), IntegerEntry(("autostake_preLastBlock_" + i), be), IntegerEntry(("autostake_lastEarned_" + i), (bd + bf)), IntegerEntry(("autostake_lastBlock_" + i), height)]
562562 (bg ++ [IntegerEntry((i + "_sRate"), (A((i + "_sRate")) + fraction(m, bf, A(("total_supplied_" + i)))))])
563563 }
564564
565565
566566
567567 @Callable(aq)
568568 func addInterestEXTERNAL () = {
569569 let av = fraction(aq.payments[0].amount, 80, 100)
570570 let H = aq.payments[0].assetId
571571 let i = G(H)
572572 let bd = A(("autostake_lastEarned_" + i))
573573 let be = A(("autostake_lastBlock_" + i))
574574 let bg = if (if ((be == height))
575575 then true
576576 else (av == 0))
577577 then nil
578578 else [IntegerEntry(("autostake_preLastEarned_" + i), bd), IntegerEntry(("autostake_preLastBlock_" + i), be), IntegerEntry(("autostake_lastEarned_" + i), (bd + av)), IntegerEntry(("autostake_lastBlock_" + i), height)]
579579 (bg ++ [IntegerEntry((i + "_sRate"), (A((i + "_sRate")) + fraction(m, av, A(("total_supplied_" + i)))))])
580580 }
581581
582582
583583
584584 @Callable(aq)
585585 func preInit (bh,bi,bj,bk) = {
586586 func q (r,ac) = (r ++ [IntegerEntry((ac + "_bRate"), m), IntegerEntry((ac + "_sRate"), m)])
587587
588588 if ((aq.caller != this))
589589 then throw("admin only")
590590 else {
591591 let af = {
592592 let t = split(bh, ",")
593593 let u = size(t)
594594 let v = nil
595595 func w (x,y) = if ((y >= u))
596596 then x
597597 else q(x, t[y])
598598
599599 func z (x,y) = if ((y >= u))
600600 then x
601601 else throw("List size exceeds 6")
602602
603603 z(w(w(w(w(w(w(v, 0), 1), 2), 3), 4), 5), 6)
604604 }
605605 ([StringEntry("setup_tokens", bh), StringEntry("setup_ltvs", bi), StringEntry("setup_lts", bj), StringEntry("setup_penalties", bk), BooleanEntry("setup_active", true)] ++ af)
606606 }
607607 }
608608
609609
610610
611611 @Callable(aq)
612612 func updateParameter (B,bl) = if (if ((aq.caller != this))
613613 then (aq.caller != Address(base58'3P3o9cLTV2u9N4nYNKRYL6gy6cUEU9DwXW8'))
614614 else false)
615615 then throw("admin only")
616616 else [IntegerEntry(B, parseIntValue(bl))]
617617
618618
619619
620620 @Callable(aq)
621621 func updateString (B,bl) = if (if ((aq.caller != this))
622622 then (aq.caller != Address(base58'3P3o9cLTV2u9N4nYNKRYL6gy6cUEU9DwXW8'))
623623 else false)
624624 then throw("admin only")
625625 else [StringEntry(B, bl)]
626626
627627
628628
629629 @Callable(aq)
630630 func claimToReserveFund (bm) = {
631631 let bn = K()
632632 let af = aa(bn[0], "sRate")._2
633633 let p = [0, 1, 2, 3, 4, 5]
634634 func q (r,bo) = if ((bo >= size(bn)))
635635 then r
636636 else {
637637 let i = bn[bo]
638638 let bp = E(("autostake_amount_" + i))
639639 let av = ((((J(i) + A(("autostake_amount_" + i))) + (if ((bp != ""))
640640 then parseIntValue(bp)
641641 else 0)) + fraction(A(("total_borrowed_" + i)), af[((bo * 3) + 1)].value, m)) - fraction(A(("total_supplied_" + i)), af[(bo * 3)].value, m))
642642 let aN = if ((A(("autostake_amount_" + i)) > 0))
643643 then invoke(this, "unstakeToken", [i, max([av, 0])], nil)
644644 else 0
645645 if ((aN == aN))
646646 then (r ++ [av])
647647 else throw("Strict value is not equal to itself.")
648648 }
649649
650650 let bq = {
651651 let t = p
652652 let u = size(t)
653653 let v = nil
654654 func w (x,y) = if ((y >= u))
655655 then x
656656 else q(x, t[y])
657657
658658 func z (x,y) = if ((y >= u))
659659 then x
660660 else throw("List size exceeds 6")
661661
662662 z(w(w(w(w(w(w(v, 0), 1), 2), 3), 4), 5), 6)
663663 }
664664 func br (r,bo) = if ((bo >= size(bn)))
665665 then r
666666 else {
667667 let i = bn[bo]
668668 (r ++ [ScriptTransfer(a, max([bq[bo], 0]), I(i))])
669669 }
670670
671671 if (bm)
672672 then throw(o(bq))
673673 else $Tuple2({
674674 let t = p
675675 let u = size(t)
676676 let v = nil
677677 func bs (x,y) = if ((y >= u))
678678 then x
679679 else br(x, t[y])
680680
681681 func bt (x,y) = if ((y >= u))
682682 then x
683683 else throw("List size exceeds 6")
684684
685685 bt(bs(bs(bs(bs(bs(bs(v, 0), 1), 2), 3), 4), 5), 6)
686686 }, bq)
687687 }
688688
689689
690690
691691 @Callable(aq)
692692 func reSetup (i) = {
693693 let bu = A("resetup_lastUpdate")
694694 if ((n > (height - bu)))
695695 then throw("can be updated only once per day")
696696 else {
697697 let bj = split(E("setup_lts"), ",")
698698 let bn = K()
699699 let Q = ae(i)
700700 let bv = A((("setup_" + i) + "_tempLT"))
701701 let bw = parseIntValue(bn[value(indexOf(bn, i))])
702702 if ((Q > 90000000))
703703 then [IntegerEntry((("setup_" + i) + "_tempLT"), fraction(bv, 9975, 10000))]
704704 else if (if ((bw > bv))
705705 then (90000000 > Q)
706706 else false)
707707 then [IntegerEntry((("setup_" + i) + "_tempLT"), fraction(bv, 10025, 10000))]
708708 else nil
709709 }
710710 }
711711
712712
713713
714714 @Callable(aq)
715715 func shutdown (bx) = if ((indexOf(e, aq.caller.bytes) == unit))
716716 then throw("user not in a whitelist")
717717 else [BooleanEntry("setup_active", !(bx))]
718718
719719
720720
721721 @Callable(aq)
722722 func liquidate (bm,g,ar,by,bz,bA) = if (!(f(aq.caller)))
723723 then throw("temporarily available for whitelist only")
724724 else if (!(D("setup_active")))
725725 then throw("market is stopped")
726726 else {
727727 let bB = an(g)
728728 if ((bB == bB))
729729 then {
730730 let bC = aa(by, "sRate")
731731 let at = bC._1
732732 let bD = bC._2
733733 let bE = aa(bz, "bRate")
734734 let aJ = bE._1
735735 let bF = bE._2
736736 let bG = fraction(ar, m, at)
737737 let bH = A(((g + "_supplied_") + by))
738738 let bI = A(((g + "_borrowed_") + bz))
739739 let bJ = if ((bI > 0))
740740 then bI
741741 else throw("user has no borrow in this token")
742742 if ((bB > 0))
743743 then throw("user can't be liquidated")
744744 else if ((bG > bH))
745745 then throw("position to liquidate is bigger than user's supply")
746746 else {
747747 let bK = J(by)
748748 if ((bK == bK))
749749 then {
750750 let bL = J(bz)
751751 if ((bL == bL))
752752 then {
753753 let bM = invoke(c, "swap", [bA, 0], [AttachedPayment(I(by), ar)])
754754 if ((bM == bM))
755755 then {
756756 let bN = (bK - J(by))
757757 if ((bN == bN))
758758 then {
759759 let bO = (J(bz) - bL)
760760 if ((bO == bO))
761761 then {
762762 let bP = ah(by)._1
763763 let bQ = al(by)
764764 let bR = fraction(bN, bP, bQ)
765765 let bS = ah(bz)._2
766766 let bT = al(bz)
767767 let bU = fraction(bO, bS, bT)
768768 let bV = parseIntValue(split(E("setup_penalties"), ",")[value(indexOf(K(), bz))])
769769 let bW = (bU - fraction(bR, (k - bV), k))
770770 let bX = fraction(bN, m, at)
771771 let bY = fraction(fraction(bO, m, aJ), (k - fraction(bW, k, bU)), k)
772772 if ((bN > ar))
773773 then throw("more assets exchanged than expected")
774774 else if ((0 > bW))
775775 then throw("price impact is bigger than liquidation penalty")
776776 else [IntegerEntry(((g + "_supplied_") + by), (bH - bX)), IntegerEntry(((g + "_borrowed_") + bz), (bJ - bY)), IntegerEntry(("total_supplied_" + by), (A(("total_supplied_" + by)) - bX)), IntegerEntry(("total_borrowed_" + bz), (A(("total_borrowed_" + bz)) - bY))]
777777 }
778778 else throw("Strict value is not equal to itself.")
779779 }
780780 else throw("Strict value is not equal to itself.")
781781 }
782782 else throw("Strict value is not equal to itself.")
783783 }
784784 else throw("Strict value is not equal to itself.")
785785 }
786786 else throw("Strict value is not equal to itself.")
787787 }
788788 }
789789 else throw("Strict value is not equal to itself.")
790790 }
791791
792792
793793
794794 @Callable(aq)
795795 func liquidateV2 (bm,g,by) = if (!(f(aq.caller)))
796796 then throw("temporarily available for whitelist only")
797797 else if (!(D("setup_active")))
798798 then throw("market is stopped")
799799 else {
800800 let bZ = aq.payments[0].assetId
801801 let bz = G(bZ)
802802 let ca = aq.payments[0].amount
803803 let bB = an(g)
804804 if ((bB == bB))
805805 then if ((bB > 0))
806806 then throw("user can't be liquidated")
807807 else {
808808 let cb = K()
809809 let cc = value(indexOf(cb, bz))
810810 let cd = value(indexOf(cb, by))
811811 let ce = aa(bz, "bRate")
812812 let aJ = ce._1
813813 let bD = ce._2
814814 let bS = ah(bz)._2
815815 let bT = al(bz)
816816 let cf = fraction(ca, bS, bT)
817817 let bV = parseIntValue(value(split(E("setup_penalties"), ",")[cc]))
818818 let bP = ah(by)._1
819819 let bQ = al(by)
820820 let cg = fraction(cf, (k + bV), k)
821821 let bG = fraction(cg, bQ, bP)
822822 let ch = fraction(ca, m, aJ)
823823 let ci = fraction(bG, m, bD[((cd * 3) + 1)].value)
824824 let bH = A(((g + "_supplied_") + by))
825825 let bI = A(((g + "_borrowed_") + bz))
826826 let bJ = if ((bI > 0))
827827 then bI
828828 else throw("user has no borrow in this token")
829829 if ((ci > bH))
830830 then throw("position to liquidate is bigger than user's supply")
831831 else if (bm)
832832 then throw("liquidation will pass")
833833 else ([ScriptTransfer(aq.caller, bG, I(by)), IntegerEntry(((g + "_supplied_") + by), (bH - ci)), IntegerEntry(((g + "_borrowed_") + bz), (bJ - ch)), IntegerEntry(("total_supplied_" + by), (A(("total_supplied_" + by)) - ci)), IntegerEntry(("total_borrowed_" + bz), (A(("total_borrowed_" + bz)) - ch))] ++ bD)
834834 }
835835 else throw("Strict value is not equal to itself.")
836836 }
837837
838838
839839
840840 @Callable(aq)
841841 func getUserCollateral (bm,g,cj,ck) = {
842842 let bn = K()
843843 let bi = split(E("setup_ltvs"), ",")
844844 let bj = split(E("setup_lts"), ",")
845845 let af = aa(bn[0], "sRate")._2
846846 let cl = split(ck, ",")
847847 func q (r,s) = if ((s >= size(bn)))
848848 then r
849849 else {
850850 let cm = A(((g + "_supplied_") + bn[s]))
851851 let cn = A(((g + "_borrowed_") + bn[s]))
852852 let co = if ((ck == ""))
853853 then if (if ((cn != 0))
854854 then true
855855 else (cm != 0))
856856 then true
857857 else false
858858 else true
859859 if (co)
860860 then {
861861 let az = al(bn[s])
862862 let ax = ah(bn[s])
863863 ((r + fraction(fraction(fraction((cm + (if (if (if ((ck != ""))
864864 then (cl[0] == bn[s])
865865 else false)
866866 then (cl[1] == "supplied")
867867 else false)
868868 then parseIntValue(cl[2])
869869 else 0)), af[(s * 3)].value, m), parseIntValue(bi[s]), k), ax._1, az)) - (if (cj)
870870 then fraction(fraction(fraction((cn + (if (if (if ((ck != ""))
871871 then (cl[0] == bn[s])
872872 else false)
873873 then (cl[1] == "borrowed")
874874 else false)
875875 then parseIntValue(cl[2])
876876 else 0)), af[((s * 3) + 1)].value, m), k, parseIntValue(bj[s])), ax._2, az)
877877 else 0))
878878 }
879879 else r
880880 }
881881
882882 let cp = {
883883 let t = [0, 1, 2, 3, 4, 5]
884884 let u = size(t)
885885 let v = 0
886886 func w (x,y) = if ((y >= u))
887887 then x
888888 else q(x, t[y])
889889
890890 func z (x,y) = if ((y >= u))
891891 then x
892892 else throw("List size exceeds 6")
893893
894894 z(w(w(w(w(w(w(v, 0), 1), 2), 3), 4), 5), 6)
895895 }
896896 if (bm)
897897 then throw(toString(cp))
898898 else $Tuple2(af, cp)
899899 }
900900
901901
902902
903903 @Callable(aq)
904904 func getPrices (bm) = {
905905 let bn = K()
906906 func q (r,s) = if ((s >= size(bn)))
907907 then r
908908 else {
909909 let ax = ah(bn[s])
910910 ((((r + toString(ax._1)) + ",") + toString(ax._2)) + "|")
911911 }
912912
913913 let cp = {
914914 let t = [0, 1, 2, 3, 4, 5]
915915 let u = size(t)
916916 let v = ""
917917 func w (x,y) = if ((y >= u))
918918 then x
919919 else q(x, t[y])
920920
921921 func z (x,y) = if ((y >= u))
922922 then x
923923 else throw("List size exceeds 6")
924924
925925 z(w(w(w(w(w(w(v, 0), 1), 2), 3), 4), 5), 6)
926926 }
927927 if (bm)
928928 then throw(cp)
929929 else $Tuple2(nil, cp)
930930 }
931931
932932
933933
934934 @Callable(aq)
935935 func calculateUtilizationRatio (i,bm) = if (bm)
936936 then throw(toString(ae(i)))
937937 else $Tuple2(nil, ae(i))
938938
939939
940940
941941 @Callable(aq)
942942 func calculateOutdatedUR (i,bm) = if (bm)
943943 then throw(toString(N(i)))
944944 else $Tuple2(nil, N(i))
945945
946946
947947
948948 @Callable(aq)
949949 func calculateTokenRates (bm) = {
950950 func q (r,i) = {
951951 let af = T(i)
952952 $Tuple2(((((r._1 + toString(af[1].value)) + "|") + toString(af[0].value)) + ","), (r._2 ++ af))
953953 }
954954
955955 let bq = {
956956 let t = K()
957957 let u = size(t)
958958 let v = $Tuple2("", nil)
959959 func w (x,y) = if ((y >= u))
960960 then x
961961 else q(x, t[y])
962962
963963 func z (x,y) = if ((y >= u))
964964 then x
965965 else throw("List size exceeds 6")
966966
967967 z(w(w(w(w(w(w(v, 0), 1), 2), 3), 4), 5), 6)
968968 }
969969 if (bm)
970970 then throw(bq._1)
971971 else $Tuple2(bq._2, bq._1)
972972 }
973973
974974
975975
976976 @Callable(aq)
977977 func calculateTokensInterest (bm) = {
978978 func q (r,i) = {
979979 let S = fraction(P(i), n, k)
980980 ((r + toString(S)) + ",")
981981 }
982982
983983 let bq = {
984984 let t = K()
985985 let u = size(t)
986986 let v = ""
987987 func w (x,y) = if ((y >= u))
988988 then x
989989 else q(x, t[y])
990990
991991 func z (x,y) = if ((y >= u))
992992 then x
993993 else throw("List size exceeds 6")
994994
995995 z(w(w(w(w(w(w(v, 0), 1), 2), 3), 4), 5), 6)
996996 }
997997 if (bm)
998998 then throw(bq)
999999 else $Tuple2(nil, bq)
10001000 }
10011001
10021002
10031003 @Verifier(cq)
10041004 func cr () = sigVerify(cq.bodyBytes, cq.proofs[0], cq.senderPublicKey)
10051005

github/deemru/w8io/169f3d6 
101.38 ms