tx · EE9b1Xk5Ur9XqkbzszGLoiak6ySJy9KFEy6pkgEo5Dd8

3N3DnVffnUyZtz2MRbk5U7giN112WempMNd:  -0.04000000 Waves

2023.06.23 15:41 [2635259] smart account 3N3DnVffnUyZtz2MRbk5U7giN112WempMNd > SELF 0.00000000 Waves

{ "type": 13, "id": "EE9b1Xk5Ur9XqkbzszGLoiak6ySJy9KFEy6pkgEo5Dd8", "fee": 4000000, "feeAssetId": null, "timestamp": 1687524181115, "version": 2, "chainId": 84, "sender": "3N3DnVffnUyZtz2MRbk5U7giN112WempMNd", "senderPublicKey": "3c1wAgvTRCNXCGMidVnB1j4gTYUqtwHR9tNNu2v4ZUNk", "proofs": [ "VLKGaRF9rk1EXxkefkfQQKSrwNuRwhZZJMjeqSJbvBKizDg6KVasZq1zrcjKNnXRouYt5a8wbF1ShKFVmtPWf77" ], "script": "base64:BgKhAQgCEgkKBwgICAEICAgSABIECgIIARIECgIIARIAEgMKAQgSAwoBCBIECgIIARIECgIIARIECgIIARIAEgYKBAgICAgSBgoECAgICBIECgIICBIECgIICBIDCgEEEgMKAQgSAwoBBBIICgYECAEICAgSBQoDBAgIEgYKBAQIBAgSBQoDBAgIEgMKAQQSBAoCCAQSBAoCCAQSAwoBBBIDCgEEIwAScmVzZXJ2ZUZ1bmRBZGRyZXNzCQEHQWRkcmVzcwEBGgFUeZG1LyVCo5RRTlF1JldW6VKUxeX5QOzZAAtyZXNlcnZlRnVuZAAUAAxmbGFzaExvYW5GZWUAwIQ9AAtheGx5QWRkcmVzcwkBB0FkZHJlc3MBARoBVEdh0UpNzn/72+6l9L3Wwi2aSOpC0rlhmwAHYXhseUxQcwkAzAgCAiw4RHRNdHBWd1ZxNjJzZGNWRlZ6aDZudXByZ3pHN0xTanBMZEhuUW5yQUZnWQkAzAgCAixGTGRDMTRuVVZSeWlTWWpWck1vM1g0ZzhyWFFqTGJOUmFHQXlRQW04VjY4VgUDbmlsABFhZ2dyZWdhdG9yQWRkcmVzcwkBB0FkZH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UkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIFBSRhY2MwAAAAAQACAAMABAAFAAYABwAIAwUFZGVidWcJAAIBBQlwYXJhbWV0ZXIJAJQKAgUDbmlsBQlwYXJhbWV0ZXIBAnR4AQZ2ZXJpZnkACQD0AwMIBQJ0eAlib2R5Qnl0ZXMJAJEDAggFAnR4BnByb29mcwAACAUCdHgPc2VuZGVyUHVibGljS2V5d/TYmw==", "height": 2635259, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: E7YveZjkJmeVR5KRgmxoLPtRmktQe4p4eKK5YzumQGvY Next: EDGgwmeiUTLyMeeEGdknoejyuRPnKv9GP3qQLfWp7Eak Diff:
OldNewDifferences
5454
5555 func $f0_2 ($a,$i) = if (($i >= $s))
5656 then $a
57- else throw("List size exceeds 6")
57+ else throw("List size exceeds 8")
5858
59- $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
59+ $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8)
6060 }
6161
6262
170170
171171 func $f0_2 ($a,$i) = if (($i >= $s))
172172 then $a
173- else throw("List size exceeds 6")
173+ else throw("List size exceeds 8")
174174
175- $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
175+ $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8)
176176 }
177177
178178
195195
196196 func $f0_2 ($a,$i) = if (($i >= $s))
197197 then $a
198- else throw("List size exceeds 6")
198+ else throw("List size exceeds 8")
199199
200- $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
200+ $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8)
201201 }
202202
203203
656656
657657 func $f0_2 ($a,$i) = if (($i >= $s))
658658 then $a
659- else throw("List size exceeds 6")
659+ else throw("List size exceeds 8")
660660
661- $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
661+ $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8)
662662 }
663663 ([StringEntry("setup_tokens", tokens), StringEntry("setup_ltvs", ltvs), StringEntry("setup_lts", lts), StringEntry("setup_penalties", penalties), BooleanEntry("setup_active", true)] ++ rates)
664664 }
726726
727727 func $f0_2 ($a,$i) = if (($i >= $s))
728728 then $a
729- else throw("List size exceeds 6")
729+ else throw("List size exceeds 8")
730730
731- $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
731+ $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8)
732732 }
733733 func f2 (accum,n) = if ((n >= size(assets)))
734734 then accum
749749
750750 func $f1_2 ($a,$i) = if (($i >= $s))
751751 then $a
752- else throw("List size exceeds 6")
752+ else throw("List size exceeds 8")
753753
754- $f1_2($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($acc0, 0), 1), 2), 3), 4), 5), 6)
754+ $f1_2($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8)
755755 }, parameter)
756756 }
757757
969969
970970 func $f0_2 ($a,$i) = if (($i >= $s))
971971 then $a
972- else throw("List size exceeds 6")
972+ else throw("List size exceeds 8")
973973
974- $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
974+ $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8)
975975 }
976976 if (debug)
977977 then throw(toString(result))
10131013
10141014 func $f0_2 ($a,$i) = if (($i >= $s))
10151015 then $a
1016- else throw("List size exceeds 6")
1016+ else throw("List size exceeds 8")
10171017
1018- $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
1018+ $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8)
10191019 }
10201020 if (debug)
10211021 then throw(result)
10551055
10561056 func $f0_2 ($a,$i) = if (($i >= $s))
10571057 then $a
1058- else throw("List size exceeds 6")
1058+ else throw("List size exceeds 8")
10591059
1060- $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
1060+ $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8)
10611061 }
10621062 if (debug)
10631063 then throw(parameter._1)
10831083
10841084 func $f0_2 ($a,$i) = if (($i >= $s))
10851085 then $a
1086- else throw("List size exceeds 6")
1086+ else throw("List size exceeds 8")
10871087
1088- $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
1088+ $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8)
10891089 }
10901090 if (debug)
10911091 then throw(parameter)
Full:
OldNewDifferences
11 {-# STDLIB_VERSION 6 #-}
22 {-# SCRIPT_TYPE ACCOUNT #-}
33 {-# CONTENT_TYPE DAPP #-}
44 let reserveFundAddress = Address(base58'3Mzzt65puEs2W9M1m9iFBvMEdfM5bASE1hJ')
55
66 let reserveFund = 20
77
88 let flashLoanFee = 1000000
99
1010 let axlyAddress = Address(base58'3MvRWw2FPEimFCTGtK7qY9uAJbM7XJ4ZfJS')
1111
1212 let axlyLPs = ["8DtMtpVwVq62sdcVFVzh6nuprgzG7LSjpLdHnQnrAFgY", "FLdC14nUVRyiSYjVrMo3X4g8rXQjLbNRaGAyQAm8V68V"]
1313
1414 let aggregatorAddress = Address(base58'3Mzzt65puEs2W9M1m9iFBvMEdfM5bASE1hJ')
1515
1616 let oracleStr = "3N4KbMnJH8FaM94jqxNFe2oyZ8GB7Z8yVBP"
1717
1818 let shutdownWhitelist = [base58'3Mzzt65puEs2W9M1m9iFBvMEdfM5bASE1hJ']
1919
2020 func verifyLiquidatorRights (address) = !((address != Address(base58'3Mzzt65puEs2W9M1m9iFBvMEdfM5bASE1hJ')))
2121
2222
2323 func getRateCurve (assetIdStr) = match assetIdStr {
2424 case _ =>
2525 if (("8DtMtpVwVq62sdcVFVzh6nuprgzG7LSjpLdHnQnrAFgY" == $match0))
2626 then $Tuple4(2000000, 25000000, 80000000, 100000000)
2727 else if (("FLdC14nUVRyiSYjVrMo3X4g8rXQjLbNRaGAyQAm8V68V" == $match0))
2828 then $Tuple4(2000000, 25000000, 80000000, 100000000)
2929 else if (("25FEqEjRkqK6yCkiT7Lz6SAYz7gUFCtxfCChnrVFD5AT" == $match0))
3030 then $Tuple4(2000000, 25000000, 80000000, 100000000)
3131 else if (("WAVES" == $match0))
3232 then $Tuple4(2000000, 30000000, 80000000, 50000000)
3333 else $Tuple4(0, 20000000, 80000000, 80000000)
3434 }
3535
3636
3737 let Scale8 = 100000000
3838
3939 let Scale10 = 10000000000
4040
4141 let Scale16 = (Scale8 * Scale8)
4242
4343 let dayBlocks = 1440
4444
4545 func liIntToStr (li) = {
4646 func f (accum,next) = ((accum + toString(next)) + ",")
4747
4848 let $l = li
4949 let $s = size($l)
5050 let $acc0 = ""
5151 func $f0_1 ($a,$i) = if (($i >= $s))
5252 then $a
5353 else f($a, $l[$i])
5454
5555 func $f0_2 ($a,$i) = if (($i >= $s))
5656 then $a
57- else throw("List size exceeds 6")
57+ else throw("List size exceeds 8")
5858
59- $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
59+ $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8)
6060 }
6161
6262
6363 func tryGetInteger (key) = match getInteger(this, key) {
6464 case b: Int =>
6565 b
6666 case _ =>
6767 0
6868 }
6969
7070
7171 func tryGetBoolean (key) = match getBoolean(this, key) {
7272 case b: Boolean =>
7373 b
7474 case _ =>
7575 false
7676 }
7777
7878
7979 func tryGetString (key) = match getString(this, key) {
8080 case b: String =>
8181 b
8282 case _ =>
8383 ""
8484 }
8585
8686
8787 func tryGetBinary (key) = match getBinary(this, key) {
8888 case b: ByteVector =>
8989 b
9090 case _ =>
9191 base58''
9292 }
9393
9494
9595 func getAssetString (assetId) = match assetId {
9696 case b: ByteVector =>
9797 toBase58String(b)
9898 case _ =>
9999 "WAVES"
100100 }
101101
102102
103103 func getAssetBytes (assetIdStr) = if ((assetIdStr == "WAVES"))
104104 then unit
105105 else fromBase58String(assetIdStr)
106106
107107
108108 func getBalance (assetIdStr) = if ((assetIdStr == "WAVES"))
109109 then wavesBalance(this).available
110110 else assetBalance(this, fromBase58String(assetIdStr))
111111
112112
113113 func getMarketAssets () = split(tryGetString("setup_tokens"), ",")
114114
115115
116116 func getAssetsMaxSupply () = {
117117 let s = tryGetString("setup_maxsupply")
118118 if ((s == ""))
119119 then [-1, -1, -1, -1, -1, -1, -1]
120120 else split(s, ",")
121121 }
122122
123123
124124 func getOutdatedUr (assetIdStr) = {
125125 let down = fraction(tryGetInteger(("total_supplied_" + assetIdStr)), tryGetInteger((assetIdStr + "_sRate")), Scale16)
126126 if ((down == 0))
127127 then 0
128128 else fraction(Scale8, fraction(tryGetInteger(("total_borrowed_" + assetIdStr)), tryGetInteger((assetIdStr + "_bRate")), Scale16), down)
129129 }
130130
131131
132132 func getInterest (assetIdStr) = {
133133 let ur = getOutdatedUr(assetIdStr)
134134 let curve = getRateCurve(assetIdStr)
135135 let rate = (curve._1 + (if ((curve._3 >= ur))
136136 then fraction(ur, curve._2, curve._3)
137137 else (curve._2 + fraction((ur - curve._3), curve._4, (100000000 - curve._3)))))
138138 max([fraction(rate, Scale8, (dayBlocks * 365)), 1])
139139 }
140140
141141
142142 func tokenRatesRecalc (assetIdStr) = {
143143 let interest = getInterest(assetIdStr)
144144 let ur = getOutdatedUr(assetIdStr)
145145 let lastRecalcHeight = tryGetInteger("lastRateHeight")
146146 let lastBRate = max([tryGetInteger((assetIdStr + "_bRate")), Scale16])
147147 let newBRate = (lastBRate + ((height - lastRecalcHeight) * interest))
148148 let lastSRate = max([tryGetInteger((assetIdStr + "_sRate")), Scale16])
149149 let newSRate = (lastSRate + ((((height - lastRecalcHeight) * fraction(interest, ur, Scale8)) * (100 - reserveFund)) / 100))
150150 [IntegerEntry((assetIdStr + "_sRate"), newSRate), IntegerEntry((assetIdStr + "_bRate"), newBRate), IntegerEntry("lastRateHeight", height)]
151151 }
152152
153153
154154 func getActualRate (assetIdStr,rateType) = {
155155 func f (accum,token) = {
156156 let recalc = tokenRatesRecalc(token)
157157 $Tuple2(if ((token != assetIdStr))
158158 then accum._1
159159 else if ((rateType == "sRate"))
160160 then recalc[0].value
161161 else recalc[1].value, (accum._2 ++ recalc))
162162 }
163163
164164 let $l = getMarketAssets()
165165 let $s = size($l)
166166 let $acc0 = $Tuple2(0, nil)
167167 func $f0_1 ($a,$i) = if (($i >= $s))
168168 then $a
169169 else f($a, $l[$i])
170170
171171 func $f0_2 ($a,$i) = if (($i >= $s))
172172 then $a
173- else throw("List size exceeds 6")
173+ else throw("List size exceeds 8")
174174
175- $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
175+ $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8)
176176 }
177177
178178
179179 func getUr (assetIdStr) = {
180180 let rates = tokenRatesRecalc(assetIdStr)
181181 let down = fraction(tryGetInteger(("total_supplied_" + assetIdStr)), rates[0].value, Scale16)
182182 fraction(Scale8, fraction(tryGetInteger(("total_borrowed_" + assetIdStr)), rates[1].value, Scale16), down)
183183 }
184184
185185
186186 func ratesRecalc () = {
187187 func f (accum,token) = (accum ++ tokenRatesRecalc(token))
188188
189189 let $l = getMarketAssets()
190190 let $s = size($l)
191191 let $acc0 = nil
192192 func $f0_1 ($a,$i) = if (($i >= $s))
193193 then $a
194194 else f($a, $l[$i])
195195
196196 func $f0_2 ($a,$i) = if (($i >= $s))
197197 then $a
198- else throw("List size exceeds 6")
198+ else throw("List size exceeds 8")
199199
200- $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
200+ $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8)
201201 }
202202
203203
204204 func getTokenPrice (assetIdStr) = {
205205 let inv3 = invoke(addressFromStringValue(oracleStr), "getTWAP60", [assetIdStr, false], nil)
206206 if ((inv3 == inv3))
207207 then {
208208 let data3 = match inv3 {
209209 case x: (Int, Int) =>
210210 x
211211 case _ =>
212212 throw("error of price oracle")
213213 }
214214 if ((data3 == data3))
215215 then data3
216216 else throw("Strict value is not equal to itself.")
217217 }
218218 else throw("Strict value is not equal to itself.")
219219 }
220220
221221
222222 func calcAssetScale (assetIdStr) = {
223223 let decimals = if ((assetIdStr == "WAVES"))
224224 then 8
225225 else value(assetInfo(fromBase58String(assetIdStr))).decimals
226226 pow(10, 0, decimals, 0, 0, DOWN)
227227 }
228228
229229
230230 func calcUserCollateral (address) = {
231231 let userCollateralInvoke = invoke(this, "getUserCollateral", [false, address, true, ""], nil)
232232 if ((userCollateralInvoke == userCollateralInvoke))
233233 then {
234234 let userCollateralValue = match userCollateralInvoke {
235235 case x: Int =>
236236 x
237237 case _ =>
238238 throw("issue while doing in-dapp invocation")
239239 }
240240 if ((userCollateralValue == userCollateralValue))
241241 then userCollateralValue
242242 else throw("Strict value is not equal to itself.")
243243 }
244244 else throw("Strict value is not equal to itself.")
245245 }
246246
247247
248248 func supplyInternal (assetIdStr,assetAmount,address) = if (!(tryGetBoolean("setup_active")))
249249 then throw("market is stopped")
250250 else {
251251 let $t062356302 = getActualRate(assetIdStr, "sRate")
252252 let sRate = $t062356302._1
253253 let ratesRecalcResult = $t062356302._2
254254 let amount = fraction(assetAmount, Scale16, sRate, DOWN)
255255 let maxSupply = match getString(("setup_maxSupply_" + assetIdStr)) {
256256 case x: String =>
257257 parseIntValue(x)
258258 case _ =>
259259 0
260260 }
261261 let assetPrice = getTokenPrice(assetIdStr)
262262 let newTotalSupplied = (tryGetInteger(((address + "_supplied_") + assetIdStr)) + amount)
263263 let rate = getActualRate(assetIdStr, "sRate")._1
264264 let assetScale = calcAssetScale(assetIdStr)
265265 let newTotalSuppliedUsd = fraction(fraction(newTotalSupplied, rate, Scale16), assetPrice._1, assetScale)
266266 if ((indexOf(tryGetString("setup_tokens"), assetIdStr) == unit))
267267 then throw("this asset is not supported by the market")
268268 else if (if ((maxSupply != 0))
269269 then (newTotalSuppliedUsd > maxSupply)
270270 else false)
271271 then throw("max total supply for this token reached in the pool")
272272 else $Tuple2(([IntegerEntry(((address + "_supplied_") + assetIdStr), newTotalSupplied), IntegerEntry(("total_supplied_" + assetIdStr), (tryGetInteger(("total_supplied_" + assetIdStr)) + amount))] ++ ratesRecalcResult), assetAmount)
273273 }
274274
275275
276276 func borrowInternal (assetIdStr,assetAmount,address) = {
277277 let $t075817648 = getActualRate(assetIdStr, "bRate")
278278 let bRate = $t075817648._1
279279 let ratesRecalcResult = $t075817648._2
280280 let amount = fraction(assetAmount, Scale16, bRate, CEILING)
281281 let collateralValueInv = invoke(this, "getUserCollateral", [false, address, true, ((assetIdStr + ",borrowed,") + toString(amount))], nil)
282282 if ((collateralValueInv == collateralValueInv))
283283 then {
284284 let collateralValue = match collateralValueInv {
285285 case x: Int =>
286286 x
287287 case _ =>
288288 throw("can't get user collateral value")
289289 }
290290 if (!(tryGetBoolean("setup_active")))
291291 then throw("market is stopped")
292292 else {
293293 let assetSupplied = tryGetInteger(("total_supplied_" + assetIdStr))
294294 let assetBorrowed = tryGetInteger(("total_borrowed_" + assetIdStr))
295295 let userAssetBorrowed = tryGetInteger(((address + "_borrowed_") + assetIdStr))
296296 if ((amount > (assetSupplied - assetBorrowed)))
297297 then throw("this amount is not available")
298298 else $Tuple2(([IntegerEntry(((address + "_borrowed_") + assetIdStr), (userAssetBorrowed + amount)), IntegerEntry(("total_borrowed_" + assetIdStr), (assetBorrowed + amount))] ++ ratesRecalcResult), assetAmount)
299299 }
300300 }
301301 else throw("Strict value is not equal to itself.")
302302 }
303303
304304
305305 @Callable(i)
306306 func flashPosition (user,sAssetIdStr,bAssetIdStr,bAmount,callbackAddress,callbackFunction,callbackArgs) = {
307307 let borrowRes = borrowInternal(bAssetIdStr, bAmount, user)
308308 let bAssetId = getAssetBytes(bAssetIdStr)
309309 let callback = reentrantInvoke(addressFromStringValue(callbackAddress), callbackFunction, split(callbackArgs, ","), [AttachedPayment(bAssetId, bAmount)])
310310 if ((callback == callback))
311311 then {
312312 let sAmount = {
313313 let @ = callback
314314 if ($isInstanceOf(@, "Int"))
315315 then @
316316 else throw(($getType(@) + " couldn't be cast to Int"))
317317 }
318318 if ((sAmount == sAmount))
319319 then {
320320 let supplyRes = supplyInternal(sAssetIdStr, sAmount, user)
321321 let collateralValue = {
322322 let @ = invoke(this, "getUserCollateral", [false, user, true, ((sAssetIdStr + ",supplied,") + toString(sAmount))], nil)
323323 if ($isInstanceOf(@, "Int"))
324324 then @
325325 else throw(($getType(@) + " couldn't be cast to Int"))
326326 }
327327 if ((collateralValue == collateralValue))
328328 then {
329329 let borrowValue = {
330330 let @ = invoke(this, "getUserCollateral", [false, user, true, ((bAssetIdStr + ",borrowed,") + toString(bAmount))], nil)
331331 if ($isInstanceOf(@, "Int"))
332332 then @
333333 else throw(($getType(@) + " couldn't be cast to Int"))
334334 }
335335 if ((borrowValue == borrowValue))
336336 then if ((borrowValue > collateralValue))
337337 then throw("not enough collateral provided")
338338 else (borrowRes._1 ++ supplyRes._1)
339339 else throw("Strict value is not equal to itself.")
340340 }
341341 else throw("Strict value is not equal to itself.")
342342 }
343343 else throw("Strict value is not equal to itself.")
344344 }
345345 else throw("Strict value is not equal to itself.")
346346 }
347347
348348
349349
350350 @Callable(i)
351351 func supply () = if (if ((size(i.payments) != 1))
352352 then true
353353 else (i.payments[0].amount == 0))
354354 then throw("1 payment has to be attached")
355355 else {
356356 let assetIdStr = getAssetString(i.payments[0].assetId)
357357 let assetAmount = i.payments[0].amount
358358 supplyInternal(assetIdStr, assetAmount, toString(i.caller))
359359 }
360360
361361
362362
363363 @Callable(i)
364364 func withdraw (assetIdStr,assetAmount) = {
365365 let $t01119311260 = getActualRate(assetIdStr, "sRate")
366366 let sRate = $t01119311260._1
367367 let ratesRecalcResult = $t01119311260._2
368368 let amount = fraction(assetAmount, Scale16, sRate, CEILING)
369369 let address = toString(i.caller)
370370 let assetSupplied = tryGetInteger(("total_supplied_" + assetIdStr))
371371 let assetBorrowed = tryGetInteger(("total_borrowed_" + assetIdStr))
372372 let userAssetSupplied = tryGetInteger(((address + "_supplied_") + assetIdStr))
373373 let userAssetBorrowed = tryGetInteger(((address + "_borrowed_") + assetIdStr))
374374 let collateralValueInv = invoke(this, "getUserCollateral", [false, address, true, ((assetIdStr + ",supplied,") + toString(-(amount)))], nil)
375375 if ((collateralValueInv == collateralValueInv))
376376 then {
377377 let collateralValue = match collateralValueInv {
378378 case x: Int =>
379379 x
380380 case _ =>
381381 throw("can't get user collateral value")
382382 }
383383 if (!(tryGetBoolean("setup_active")))
384384 then throw("market is stopped")
385385 else if ((0 > collateralValue))
386386 then throw("you dont have enough collateral for this operation")
387387 else if ((amount > (assetSupplied - assetBorrowed)))
388388 then throw("this amount is not available on the market")
389389 else if ((amount > (userAssetSupplied - userAssetBorrowed)))
390390 then throw("this amount is not available for this user")
391391 else ([IntegerEntry(((address + "_supplied_") + assetIdStr), (tryGetInteger(((address + "_supplied_") + assetIdStr)) - amount)), IntegerEntry(("total_supplied_" + assetIdStr), (tryGetInteger(("total_supplied_" + assetIdStr)) - amount)), ScriptTransfer(i.caller, assetAmount, getAssetBytes(assetIdStr))] ++ ratesRecalcResult)
392392 }
393393 else throw("Strict value is not equal to itself.")
394394 }
395395
396396
397397
398398 @Callable(i)
399399 func borrow (assetIdStr,assetAmount) = {
400400 let address = toString(i.caller)
401401 let res = borrowInternal(assetIdStr, assetAmount, address)
402402 let amount = res._2
403403 (res._1 ++ [ScriptTransfer(i.caller, amount, getAssetBytes(assetIdStr))])
404404 }
405405
406406
407407
408408 @Callable(i)
409409 func repay () = if (!(tryGetBoolean("setup_active")))
410410 then throw("market is stopped")
411411 else if (if ((size(i.payments) != 1))
412412 then true
413413 else (i.payments[0].amount == 0))
414414 then throw("1 payment has to be attached")
415415 else {
416416 let assetIdStr = getAssetString(i.payments[0].assetId)
417417 let assetAmount = i.payments[0].amount
418418 let $t01332713394 = getActualRate(assetIdStr, "bRate")
419419 let bRate = $t01332713394._1
420420 let ratesRecalcResult = $t01332713394._2
421421 let amount = fraction(assetAmount, Scale16, bRate, CEILING)
422422 let address = toString(i.caller)
423423 let assetSupplied = tryGetInteger(("total_supplied_" + assetIdStr))
424424 let assetBorrowed = tryGetInteger(("total_borrowed_" + assetIdStr))
425425 let userAssetBorrowed = tryGetInteger(((address + "_borrowed_") + assetIdStr))
426426 let amountLeft = (userAssetBorrowed - amount)
427427 let repayAmount = if ((amountLeft >= 0))
428428 then amount
429429 else userAssetBorrowed
430430 if ((indexOf(tryGetString("setup_tokens"), assetIdStr) == unit))
431431 then throw("this asset is not supported by the market")
432432 else (([IntegerEntry(((address + "_borrowed_") + assetIdStr), (userAssetBorrowed - repayAmount)), IntegerEntry(("total_borrowed_" + assetIdStr), (assetBorrowed - repayAmount))] ++ ratesRecalcResult) ++ (if ((amountLeft >= 0))
433433 then nil
434434 else [ScriptTransfer(i.caller, -(amountLeft), i.payments[0].assetId)]))
435435 }
436436
437437
438438
439439 @Callable(i)
440440 func repayFor (address) = if (!(tryGetBoolean("setup_active")))
441441 then throw("market is stopped")
442442 else if (if ((size(i.payments) != 1))
443443 then true
444444 else (i.payments[0].amount == 0))
445445 then throw("1 payment has to be attached")
446446 else {
447447 let assetIdStr = getAssetString(i.payments[0].assetId)
448448 let assetAmount = i.payments[0].amount
449449 let $t01481214879 = getActualRate(assetIdStr, "bRate")
450450 let bRate = $t01481214879._1
451451 let ratesRecalcResult = $t01481214879._2
452452 let amount = fraction(assetAmount, Scale16, bRate, CEILING)
453453 let assetSupplied = tryGetInteger(("total_supplied_" + assetIdStr))
454454 let assetBorrowed = tryGetInteger(("total_borrowed_" + assetIdStr))
455455 let userAssetBorrowed = tryGetInteger(((address + "_borrowed_") + assetIdStr))
456456 let amountLeft = (userAssetBorrowed - amount)
457457 let repayAmount = if ((amountLeft >= 0))
458458 then amount
459459 else userAssetBorrowed
460460 if ((indexOf(tryGetString("setup_tokens"), assetIdStr) == unit))
461461 then throw("this asset is not supported by the market")
462462 else (([IntegerEntry(((address + "_borrowed_") + assetIdStr), (userAssetBorrowed - repayAmount)), IntegerEntry(("total_borrowed_" + assetIdStr), (assetBorrowed - repayAmount))] ++ ratesRecalcResult) ++ (if ((amountLeft >= 0))
463463 then nil
464464 else [ScriptTransfer(i.caller, -(amountLeft), i.payments[0].assetId)]))
465465 }
466466
467467
468468
469469 @Callable(i)
470470 func stakeTokenAll (assetIdStr) = if ((i.caller != this))
471471 then throw("only for internal smart contract invocations")
472472 else {
473473 let amount = getBalance(assetIdStr)
474474 let inv = invoke(this, "stakeToken", [assetIdStr, amount], nil)
475475 if ((inv == inv))
476476 then nil
477477 else throw("Strict value is not equal to itself.")
478478 }
479479
480480
481481
482482 @Callable(i)
483483 func stakeToken (assetIdStr,amount) = if ((i.caller != this))
484484 then throw("only for internal smart contract invocations")
485485 else if ((assetIdStr == "DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p"))
486486 then {
487487 let amountStaked = tryGetInteger("autostake_amount_DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p")
488488 let inv = invoke(Address(base58'3PNikM6yp4NqcSU8guxQtmR5onr2D4e8yTJ'), "stake", nil, [AttachedPayment(base58'DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p', amount)])
489489 if ((inv == inv))
490490 then [IntegerEntry("autostake_amount_DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p", (amountStaked + amount))]
491491 else throw("Strict value is not equal to itself.")
492492 }
493493 else if ((assetIdStr == "8t4DPWTwPzpatHA9AkTxWAB47THnYzBsDnoY7fQqbG91"))
494494 then {
495495 let amountStaked = tryGetInteger("autostake_amount_8t4DPWTwPzpatHA9AkTxWAB47THnYzBsDnoY7fQqbG91")
496496 let inv = invoke(Address(base58'3PQTM38wDmAY9vWonK6ha7QL3PAycLz5oPP'), "stake", nil, [AttachedPayment(base58'8t4DPWTwPzpatHA9AkTxWAB47THnYzBsDnoY7fQqbG91', amount)])
497497 if ((inv == inv))
498498 then [IntegerEntry("autostake_amount_8t4DPWTwPzpatHA9AkTxWAB47THnYzBsDnoY7fQqbG91", (amountStaked + amount))]
499499 else throw("Strict value is not equal to itself.")
500500 }
501501 else if ((assetIdStr == "At8D6NFFpheCbvKVnjVoeLL84Eo8NZn6ovManxfLaFWL"))
502502 then {
503503 let amountStaked = tryGetInteger("autostake_amount_At8D6NFFpheCbvKVnjVoeLL84Eo8NZn6ovManxfLaFWL")
504504 let inv = invoke(Address(base58'3PBiotFpqjRMkkeFBccnQNUXUopy7KFez5C'), "stake", nil, [AttachedPayment(base58'At8D6NFFpheCbvKVnjVoeLL84Eo8NZn6ovManxfLaFWL', amount)])
505505 if ((inv == inv))
506506 then [IntegerEntry("autostake_amount_At8D6NFFpheCbvKVnjVoeLL84Eo8NZn6ovManxfLaFWL", (amountStaked + amount))]
507507 else throw("Strict value is not equal to itself.")
508508 }
509509 else nil
510510
511511
512512
513513 @Callable(i)
514514 func unstakeToken (assetIdStr,amount) = if ((i.caller != this))
515515 then throw("only for internal smart contract invocations")
516516 else if ((assetIdStr == "8t4DPWTwPzpatHA9AkTxWAB47THnYzBsDnoY7fQqbG91"))
517517 then {
518518 let amountStaked = tryGetInteger("autostake_amount_8t4DPWTwPzpatHA9AkTxWAB47THnYzBsDnoY7fQqbG91")
519519 let inv = invoke(Address(base58'3PQTM38wDmAY9vWonK6ha7QL3PAycLz5oPP'), "unStake", [amount], nil)
520520 if ((inv == inv))
521521 then [IntegerEntry("autostake_amount_8t4DPWTwPzpatHA9AkTxWAB47THnYzBsDnoY7fQqbG91", (amountStaked - amount))]
522522 else throw("Strict value is not equal to itself.")
523523 }
524524 else if ((assetIdStr == "At8D6NFFpheCbvKVnjVoeLL84Eo8NZn6ovManxfLaFWL"))
525525 then {
526526 let amountStaked = tryGetInteger("autostake_amount_At8D6NFFpheCbvKVnjVoeLL84Eo8NZn6ovManxfLaFWL")
527527 let inv = invoke(Address(base58'3PBiotFpqjRMkkeFBccnQNUXUopy7KFez5C'), "unstake", [amount], nil)
528528 if ((inv == inv))
529529 then {
530530 let bal0 = getBalance("At8D6NFFpheCbvKVnjVoeLL84Eo8NZn6ovManxfLaFWL")
531531 if ((bal0 == bal0))
532532 then {
533533 let inv2 = invoke(Address(base58'3PQrVbTVpqXHqpVKftkNdjy3zZAh4dsRzN6'), "gnsbtRewardsSYSREADONLY", [toString(this)], nil)
534534 if ((inv2 == inv2))
535535 then {
536536 let topupRewards = match inv2 {
537537 case x: List[Any] =>
538538 let secondEl = x[1]
539539 match secondEl {
540540 case secondEl: String =>
541541 let usdnValue = parseIntValue(split(split(secondEl, "_")[1], ":")[1])
542542 let wavesValue = parseIntValue(split(split(secondEl, "_")[0], ":")[1])
543543 if (if ((usdnValue != 0))
544544 then true
545545 else (wavesValue != 0))
546546 then {
547547 let usdnBal0 = getBalance("DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p")
548548 if ((usdnBal0 == usdnBal0))
549549 then {
550550 let wavesBal0 = getBalance("WAVES")
551551 if ((wavesBal0 == wavesBal0))
552552 then {
553553 let inv3 = invoke(Address(base58'3PBiotFpqjRMkkeFBccnQNUXUopy7KFez5C'), "claimRewards", nil, nil)
554554 if ((inv3 == inv3))
555555 then {
556556 let wavesBal1 = getBalance("WAVES")
557557 if ((wavesBal1 == wavesBal1))
558558 then {
559559 let inv4 = invoke(Address(base58'3PLiXyywNThdvf3vVEUxwc7TJTucjZvuegh'), "swap", ["DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p", 0], [AttachedPayment(unit, (wavesBal1 - wavesBal0))])
560560 if ((inv4 == inv4))
561561 then {
562562 let usdnBal1 = getBalance("DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p")
563563 if ((usdnBal1 == usdnBal1))
564564 then {
565565 let inv5 = invoke(Address(base58'3P7r93vXHuusageNJVGwzqaz3WMotAu49Yz'), "swap", ["At8D6NFFpheCbvKVnjVoeLL84Eo8NZn6ovManxfLaFWL", 0], [AttachedPayment(base58'DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p', (usdnBal1 - usdnBal0))])
566566 if ((inv5 == inv5))
567567 then {
568568 let inv6 = invoke(this, "addInterest", ["At8D6NFFpheCbvKVnjVoeLL84Eo8NZn6ovManxfLaFWL", (getBalance("At8D6NFFpheCbvKVnjVoeLL84Eo8NZn6ovManxfLaFWL") - bal0)], nil)
569569 if ((inv6 == inv6))
570570 then 2
571571 else throw("Strict value is not equal to itself.")
572572 }
573573 else throw("Strict value is not equal to itself.")
574574 }
575575 else throw("Strict value is not equal to itself.")
576576 }
577577 else throw("Strict value is not equal to itself.")
578578 }
579579 else throw("Strict value is not equal to itself.")
580580 }
581581 else throw("Strict value is not equal to itself.")
582582 }
583583 else throw("Strict value is not equal to itself.")
584584 }
585585 else throw("Strict value is not equal to itself.")
586586 }
587587 else 1
588588 case _ =>
589589 1
590590 }
591591 case _ =>
592592 0
593593 }
594594 if ((topupRewards == topupRewards))
595595 then [IntegerEntry("autostake_amount_At8D6NFFpheCbvKVnjVoeLL84Eo8NZn6ovManxfLaFWL", (amountStaked - amount))]
596596 else throw("Strict value is not equal to itself.")
597597 }
598598 else throw("Strict value is not equal to itself.")
599599 }
600600 else throw("Strict value is not equal to itself.")
601601 }
602602 else throw("Strict value is not equal to itself.")
603603 }
604604 else nil
605605
606606
607607
608608 @Callable(i)
609609 func addInterest (assetIdStr,amount) = if ((i.caller != this))
610610 then throw("only for self invocation")
611611 else {
612612 let earned = tryGetInteger(("autostake_lastEarned_" + assetIdStr))
613613 let lastHeight = tryGetInteger(("autostake_lastBlock_" + assetIdStr))
614614 let cleanAmount = fraction(amount, 80, 100)
615615 let stateChanges = if (if ((lastHeight == height))
616616 then true
617617 else (amount == 0))
618618 then nil
619619 else [IntegerEntry(("autostake_preLastEarned_" + assetIdStr), earned), IntegerEntry(("autostake_preLastBlock_" + assetIdStr), lastHeight), IntegerEntry(("autostake_lastEarned_" + assetIdStr), (earned + cleanAmount)), IntegerEntry(("autostake_lastBlock_" + assetIdStr), height)]
620620 (stateChanges ++ [IntegerEntry((assetIdStr + "_sRate"), (tryGetInteger((assetIdStr + "_sRate")) + fraction(Scale16, cleanAmount, tryGetInteger(("total_supplied_" + assetIdStr)))))])
621621 }
622622
623623
624624
625625 @Callable(i)
626626 func addInterestEXTERNAL () = {
627627 let amount = fraction(i.payments[0].amount, 80, 100)
628628 let assetId = i.payments[0].assetId
629629 let assetIdStr = getAssetString(assetId)
630630 let earned = tryGetInteger(("autostake_lastEarned_" + assetIdStr))
631631 let lastHeight = tryGetInteger(("autostake_lastBlock_" + assetIdStr))
632632 let stateChanges = if (if ((lastHeight == height))
633633 then true
634634 else (amount == 0))
635635 then nil
636636 else [IntegerEntry(("autostake_preLastEarned_" + assetIdStr), earned), IntegerEntry(("autostake_preLastBlock_" + assetIdStr), lastHeight), IntegerEntry(("autostake_lastEarned_" + assetIdStr), (earned + amount)), IntegerEntry(("autostake_lastBlock_" + assetIdStr), height)]
637637 (stateChanges ++ [IntegerEntry((assetIdStr + "_sRate"), (tryGetInteger((assetIdStr + "_sRate")) + fraction(Scale16, amount, tryGetInteger(("total_supplied_" + assetIdStr)))))])
638638 }
639639
640640
641641
642642 @Callable(i)
643643 func preInit (tokens,ltvs,lts,penalties) = {
644644 func f (accum,token) = (accum ++ [IntegerEntry((token + "_bRate"), Scale16), IntegerEntry((token + "_sRate"), Scale16)])
645645
646646 if ((i.caller != this))
647647 then throw("admin only")
648648 else {
649649 let rates = {
650650 let $l = split(tokens, ",")
651651 let $s = size($l)
652652 let $acc0 = nil
653653 func $f0_1 ($a,$i) = if (($i >= $s))
654654 then $a
655655 else f($a, $l[$i])
656656
657657 func $f0_2 ($a,$i) = if (($i >= $s))
658658 then $a
659- else throw("List size exceeds 6")
659+ else throw("List size exceeds 8")
660660
661- $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
661+ $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8)
662662 }
663663 ([StringEntry("setup_tokens", tokens), StringEntry("setup_ltvs", ltvs), StringEntry("setup_lts", lts), StringEntry("setup_penalties", penalties), BooleanEntry("setup_active", true)] ++ rates)
664664 }
665665 }
666666
667667
668668
669669 @Callable(i)
670670 func initNewToken (token,ltv,lt,penalty) = if ((i.caller != this))
671671 then throw("admin only")
672672 else [StringEntry("setup_tokens", ((tryGetString("setup_tokens") + ",") + token)), StringEntry("setup_ltvs", ((tryGetString("setup_ltvs") + ",") + ltv)), StringEntry("setup_lts", ((tryGetString("setup_lts") + ",") + lt)), StringEntry("setup_penalties", ((tryGetString("setup_penalties") + ",") + penalty)), IntegerEntry((token + "_bRate"), Scale16), IntegerEntry((token + "_sRate"), Scale16)]
673673
674674
675675
676676 @Callable(i)
677677 func updateParameter (key,val) = if (if (if ((i.caller != this))
678678 then (i.caller != Address(base58'3P3o9cLTV2u9N4nYNKRYL6gy6cUEU9DwXW8'))
679679 else false)
680680 then (i.caller != Address(base58'3N8ZpuFLVKwxbpVFe1Pcs14hLCrujizpQsa'))
681681 else false)
682682 then throw("admin only")
683683 else [IntegerEntry(key, parseIntValue(val))]
684684
685685
686686
687687 @Callable(i)
688688 func updateString (key,val) = if (if (if ((i.caller != this))
689689 then (i.caller != Address(base58'3P3o9cLTV2u9N4nYNKRYL6gy6cUEU9DwXW8'))
690690 else false)
691691 then (i.caller != Address(base58'3N8ZpuFLVKwxbpVFe1Pcs14hLCrujizpQsa'))
692692 else false)
693693 then throw("admin only")
694694 else [StringEntry(key, val)]
695695
696696
697697
698698 @Callable(i)
699699 func claimToReserveFund (debug) = {
700700 let assets = getMarketAssets()
701701 let rates = getActualRate(assets[0], "sRate")._2
702702 let li = [0, 1, 2, 3, 4, 5]
703703 func f (accum,n) = if ((n >= size(assets)))
704704 then accum
705705 else {
706706 let assetIdStr = assets[n]
707707 let autostakeAmount = tryGetString(("autostake_amount_" + assetIdStr))
708708 let amount = ((((getBalance(assetIdStr) + tryGetInteger(("autostake_amount_" + assetIdStr))) + (if ((autostakeAmount != ""))
709709 then parseIntValue(autostakeAmount)
710710 else 0)) + fraction(tryGetInteger(("total_borrowed_" + assetIdStr)), rates[((n * 3) + 1)].value, Scale16)) - fraction(tryGetInteger(("total_supplied_" + assetIdStr)), rates[(n * 3)].value, Scale16))
711711 let inv = if ((tryGetInteger(("autostake_amount_" + assetIdStr)) > 0))
712712 then invoke(this, "unstakeToken", [assetIdStr, max([amount, 0])], nil)
713713 else 0
714714 if ((inv == inv))
715715 then (accum ++ [amount])
716716 else throw("Strict value is not equal to itself.")
717717 }
718718
719719 let parameter = {
720720 let $l = li
721721 let $s = size($l)
722722 let $acc0 = nil
723723 func $f0_1 ($a,$i) = if (($i >= $s))
724724 then $a
725725 else f($a, $l[$i])
726726
727727 func $f0_2 ($a,$i) = if (($i >= $s))
728728 then $a
729- else throw("List size exceeds 6")
729+ else throw("List size exceeds 8")
730730
731- $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
731+ $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8)
732732 }
733733 func f2 (accum,n) = if ((n >= size(assets)))
734734 then accum
735735 else {
736736 let assetIdStr = assets[n]
737737 (accum ++ [ScriptTransfer(reserveFundAddress, max([parameter[n], 0]), getAssetBytes(assetIdStr))])
738738 }
739739
740740 if (debug)
741741 then throw(liIntToStr(parameter))
742742 else $Tuple2({
743743 let $l = li
744744 let $s = size($l)
745745 let $acc0 = nil
746746 func $f1_1 ($a,$i) = if (($i >= $s))
747747 then $a
748748 else f2($a, $l[$i])
749749
750750 func $f1_2 ($a,$i) = if (($i >= $s))
751751 then $a
752- else throw("List size exceeds 6")
752+ else throw("List size exceeds 8")
753753
754- $f1_2($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($acc0, 0), 1), 2), 3), 4), 5), 6)
754+ $f1_2($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8)
755755 }, parameter)
756756 }
757757
758758
759759
760760 @Callable(i)
761761 func reSetup (assetIdStr) = {
762762 let lastResetup = tryGetInteger("resetup_lastUpdate")
763763 if ((dayBlocks > (height - lastResetup)))
764764 then throw("can be updated only once per day")
765765 else {
766766 let lts = split(tryGetString("setup_lts"), ",")
767767 let assets = getMarketAssets()
768768 let ur = getUr(assetIdStr)
769769 let tempLT = tryGetInteger((("setup_" + assetIdStr) + "_tempLT"))
770770 let lt = parseIntValue(assets[value(indexOf(assets, assetIdStr))])
771771 if ((ur > 90000000))
772772 then [IntegerEntry((("setup_" + assetIdStr) + "_tempLT"), fraction(tempLT, 9975, 10000))]
773773 else if (if ((lt > tempLT))
774774 then (90000000 > ur)
775775 else false)
776776 then [IntegerEntry((("setup_" + assetIdStr) + "_tempLT"), fraction(tempLT, 10025, 10000))]
777777 else nil
778778 }
779779 }
780780
781781
782782
783783 @Callable(i)
784784 func shutdown (shutdown) = if ((indexOf(shutdownWhitelist, i.caller.bytes) == unit))
785785 then throw("user not in a whitelist")
786786 else [BooleanEntry("setup_active", !(shutdown))]
787787
788788
789789
790790 @Callable(i)
791791 func liquidate (debug,address,assetAmount,sAssetIdStr,bAssetIdStr,routeStr) = if (!(verifyLiquidatorRights(i.caller)))
792792 then throw("temporarily available for whitelist only")
793793 else if (!(tryGetBoolean("setup_active")))
794794 then throw("market is stopped")
795795 else {
796796 let userCollateral = calcUserCollateral(address)
797797 if ((userCollateral == userCollateral))
798798 then {
799799 let $t02845128513 = getActualRate(sAssetIdStr, "sRate")
800800 let sRate = $t02845128513._1
801801 let ratesResult = $t02845128513._2
802802 let $t02851828587 = getActualRate(bAssetIdStr, "bRate")
803803 let bRate = $t02851828587._1
804804 let ratesRecalcResult2 = $t02851828587._2
805805 let sAssetAmount = fraction(assetAmount, Scale16, sRate)
806806 let currentSPosition = tryGetInteger(((address + "_supplied_") + sAssetIdStr))
807807 let currentBPositionVal = tryGetInteger(((address + "_borrowed_") + bAssetIdStr))
808808 let currentBPosition = if ((currentBPositionVal > 0))
809809 then currentBPositionVal
810810 else throw("user has no borrow in this token")
811811 if ((userCollateral > 0))
812812 then throw("user can't be liquidated")
813813 else if ((sAssetAmount > currentSPosition))
814814 then throw("position to liquidate is bigger than user's supply")
815815 else {
816816 let balance0Before = getBalance(sAssetIdStr)
817817 if ((balance0Before == balance0Before))
818818 then {
819819 let balance1Before = getBalance(bAssetIdStr)
820820 if ((balance1Before == balance1Before))
821821 then {
822822 let exchangeInvoke = invoke(aggregatorAddress, "swap", [routeStr, 0], [AttachedPayment(getAssetBytes(sAssetIdStr), assetAmount)])
823823 if ((exchangeInvoke == exchangeInvoke))
824824 then {
825825 let asset0Sold = (balance0Before - getBalance(sAssetIdStr))
826826 if ((asset0Sold == asset0Sold))
827827 then {
828828 let asset1Bought = (getBalance(bAssetIdStr) - balance1Before)
829829 if ((asset1Bought == asset1Bought))
830830 then {
831831 let asset0Price = getTokenPrice(sAssetIdStr)._1
832832 let asset0Scale = calcAssetScale(sAssetIdStr)
833833 let asset0Usd = fraction(asset0Sold, asset0Price, asset0Scale)
834834 let asset1Price = getTokenPrice(bAssetIdStr)._2
835835 let asset1Scale = calcAssetScale(bAssetIdStr)
836836 let asset1Usd = fraction(asset1Bought, asset1Price, asset1Scale)
837837 let penalty = parseIntValue(split(tryGetString("setup_penalties"), ",")[value(indexOf(getMarketAssets(), bAssetIdStr))])
838838 let liquidationProfit = (asset1Usd - fraction(asset0Usd, (Scale8 - penalty), Scale8))
839839 let sAssetChange = fraction(asset0Sold, Scale16, sRate)
840840 let bAssetChange = fraction(fraction(asset1Bought, Scale16, bRate), (Scale8 - fraction(liquidationProfit, Scale8, asset1Usd)), Scale8)
841841 if ((asset0Sold > assetAmount))
842842 then throw("more assets exchanged than expected")
843843 else if ((0 > liquidationProfit))
844844 then throw("price impact is bigger than liquidation penalty")
845845 else [IntegerEntry(((address + "_supplied_") + sAssetIdStr), (currentSPosition - sAssetChange)), IntegerEntry(((address + "_borrowed_") + bAssetIdStr), (currentBPosition - bAssetChange)), IntegerEntry(("total_supplied_" + sAssetIdStr), (tryGetInteger(("total_supplied_" + sAssetIdStr)) - sAssetChange)), IntegerEntry(("total_borrowed_" + bAssetIdStr), (tryGetInteger(("total_borrowed_" + bAssetIdStr)) - bAssetChange))]
846846 }
847847 else throw("Strict value is not equal to itself.")
848848 }
849849 else throw("Strict value is not equal to itself.")
850850 }
851851 else throw("Strict value is not equal to itself.")
852852 }
853853 else throw("Strict value is not equal to itself.")
854854 }
855855 else throw("Strict value is not equal to itself.")
856856 }
857857 }
858858 else throw("Strict value is not equal to itself.")
859859 }
860860
861861
862862
863863 @Callable(i)
864864 func liquidateV2 (debug,address,sAssetIdStr) = if (!(verifyLiquidatorRights(i.caller)))
865865 then throw("temporarily available for whitelist only")
866866 else if (!(tryGetBoolean("setup_active")))
867867 then throw("market is stopped")
868868 else {
869869 let bAssetId = i.payments[0].assetId
870870 let bAssetIdStr = getAssetString(bAssetId)
871871 let bAssetAmount = i.payments[0].amount
872872 let userCollateral = calcUserCollateral(address)
873873 if ((userCollateral == userCollateral))
874874 then if ((userCollateral > 0))
875875 then throw("user can't be liquidated")
876876 else {
877877 let marketAssets = getMarketAssets()
878878 let asset1Num = value(indexOf(marketAssets, bAssetIdStr))
879879 let asset0Num = value(indexOf(marketAssets, sAssetIdStr))
880880 let $t03174231804 = getActualRate(bAssetIdStr, "bRate")
881881 let bRate = $t03174231804._1
882882 let ratesResult = $t03174231804._2
883883 let asset1Price = getTokenPrice(bAssetIdStr)._2
884884 let asset1Scale = calcAssetScale(bAssetIdStr)
885885 let bAmountUsd = fraction(bAssetAmount, asset1Price, asset1Scale)
886886 let penalty = parseIntValue(value(split(tryGetString("setup_penalties"), ",")[asset1Num]))
887887 let asset0Price = getTokenPrice(sAssetIdStr)._1
888888 let asset0Scale = calcAssetScale(sAssetIdStr)
889889 let sAmountUsd = fraction(bAmountUsd, (Scale8 + penalty), Scale8)
890890 let sAssetAmount = fraction(sAmountUsd, asset0Scale, asset0Price)
891891 let bAmount = fraction(bAssetAmount, Scale16, bRate)
892892 let sAmount = fraction(sAssetAmount, Scale16, ratesResult[((asset0Num * 3) + 1)].value)
893893 let inv = if ((indexOf(axlyLPs, sAssetIdStr) != unit))
894894 then {
895895 let posId = split(address, "_")[1]
896896 let addressId = split(address, "_")[0]
897897 reentrantInvoke(axlyAddress, "liquidate", [addressId, posId, sAmount], nil)
898898 }
899899 else nil
900900 if ((inv == inv))
901901 then {
902902 let currentSPosition = tryGetInteger(((address + "_supplied_") + sAssetIdStr))
903903 let currentBPositionVal = tryGetInteger(((address + "_borrowed_") + bAssetIdStr))
904904 let currentBPosition = if ((currentBPositionVal > 0))
905905 then currentBPositionVal
906906 else throw("user has no borrow in this token")
907907 if ((sAmount > currentSPosition))
908908 then throw("position to liquidate is bigger than user's supply")
909909 else if (debug)
910910 then throw("liquidation will pass")
911911 else ([ScriptTransfer(i.caller, sAssetAmount, getAssetBytes(sAssetIdStr)), IntegerEntry(((address + "_supplied_") + sAssetIdStr), (currentSPosition - sAmount)), IntegerEntry(((address + "_borrowed_") + bAssetIdStr), (currentBPosition - bAmount)), IntegerEntry(("total_supplied_" + sAssetIdStr), (tryGetInteger(("total_supplied_" + sAssetIdStr)) - sAmount)), IntegerEntry(("total_borrowed_" + bAssetIdStr), (tryGetInteger(("total_borrowed_" + bAssetIdStr)) - bAmount))] ++ ratesResult)
912912 }
913913 else throw("Strict value is not equal to itself.")
914914 }
915915 else throw("Strict value is not equal to itself.")
916916 }
917917
918918
919919
920920 @Callable(i)
921921 func getUserCollateral (debug,address,minusBorrowed,afterChange) = {
922922 let assets = getMarketAssets()
923923 let ltvs = split(tryGetString("setup_ltvs"), ",")
924924 let lts = split(tryGetString("setup_lts"), ",")
925925 let rates = getActualRate(assets[0], "sRate")._2
926926 let changeHandler = split(afterChange, ",")
927927 func f (accum,next) = if ((next >= size(assets)))
928928 then accum
929929 else {
930930 let userSupplied = tryGetInteger(((address + "_supplied_") + assets[next]))
931931 let userBorrowed = tryGetInteger(((address + "_borrowed_") + assets[next]))
932932 let needTokenAccounting = if ((afterChange == ""))
933933 then if (if ((userBorrowed != 0))
934934 then true
935935 else (userSupplied != 0))
936936 then true
937937 else false
938938 else true
939939 if (needTokenAccounting)
940940 then {
941941 let assetScale = calcAssetScale(assets[next])
942942 let assetPrice = getTokenPrice(assets[next])
943943 ((accum + fraction(fraction(fraction((userSupplied + (if (if (if ((afterChange != ""))
944944 then (changeHandler[0] == assets[next])
945945 else false)
946946 then (changeHandler[1] == "supplied")
947947 else false)
948948 then parseIntValue(changeHandler[2])
949949 else 0)), rates[(next * 3)].value, Scale16), parseIntValue(ltvs[next]), Scale8), assetPrice._1, assetScale)) - (if (minusBorrowed)
950950 then fraction(fraction(fraction((userBorrowed + (if (if (if ((afterChange != ""))
951951 then (changeHandler[0] == assets[next])
952952 else false)
953953 then (changeHandler[1] == "borrowed")
954954 else false)
955955 then parseIntValue(changeHandler[2])
956956 else 0)), rates[((next * 3) + 1)].value, Scale16), Scale8, parseIntValue(lts[next])), assetPrice._2, assetScale)
957957 else 0))
958958 }
959959 else accum
960960 }
961961
962962 let result = {
963963 let $l = [0, 1, 2, 3, 4, 5]
964964 let $s = size($l)
965965 let $acc0 = 0
966966 func $f0_1 ($a,$i) = if (($i >= $s))
967967 then $a
968968 else f($a, $l[$i])
969969
970970 func $f0_2 ($a,$i) = if (($i >= $s))
971971 then $a
972- else throw("List size exceeds 6")
972+ else throw("List size exceeds 8")
973973
974- $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
974+ $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8)
975975 }
976976 if (debug)
977977 then throw(toString(result))
978978 else $Tuple2(nil, result)
979979 }
980980
981981
982982
983983 @Callable(i)
984984 func getAssetDebt (debug,address,assetIdStr) = {
985985 let userBorrowed = tryGetInteger(((address + "_borrowed_") + assetIdStr))
986986 let assetScale = calcAssetScale(assetIdStr)
987987 let rate = getActualRate(assetIdStr, "bRate")._1
988988 let result = fraction(userBorrowed, rate, Scale16)
989989 if (debug)
990990 then throw(toString(result))
991991 else $Tuple2(nil, result)
992992 }
993993
994994
995995
996996 @Callable(i)
997997 func getPrices (debug) = {
998998 let assets = getMarketAssets()
999999 func f (accum,next) = if ((next >= size(assets)))
10001000 then accum
10011001 else {
10021002 let assetPrice = getTokenPrice(assets[next])
10031003 ((((accum + toString(assetPrice._1)) + ",") + toString(assetPrice._2)) + "|")
10041004 }
10051005
10061006 let result = {
10071007 let $l = [0, 1, 2, 3, 4, 5]
10081008 let $s = size($l)
10091009 let $acc0 = ""
10101010 func $f0_1 ($a,$i) = if (($i >= $s))
10111011 then $a
10121012 else f($a, $l[$i])
10131013
10141014 func $f0_2 ($a,$i) = if (($i >= $s))
10151015 then $a
1016- else throw("List size exceeds 6")
1016+ else throw("List size exceeds 8")
10171017
1018- $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
1018+ $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8)
10191019 }
10201020 if (debug)
10211021 then throw(result)
10221022 else $Tuple2(nil, result)
10231023 }
10241024
10251025
10261026
10271027 @Callable(i)
10281028 func calculateUtilizationRatio (assetIdStr,debug) = if (debug)
10291029 then throw(toString(getUr(assetIdStr)))
10301030 else $Tuple2(nil, getUr(assetIdStr))
10311031
10321032
10331033
10341034 @Callable(i)
10351035 func calculateOutdatedUR (assetIdStr,debug) = if (debug)
10361036 then throw(toString(getOutdatedUr(assetIdStr)))
10371037 else $Tuple2(nil, getOutdatedUr(assetIdStr))
10381038
10391039
10401040
10411041 @Callable(i)
10421042 func calculateTokenRates (debug) = {
10431043 func f (accum,assetIdStr) = {
10441044 let rates = tokenRatesRecalc(assetIdStr)
10451045 $Tuple2(((((accum._1 + toString(rates[1].value)) + "|") + toString(rates[0].value)) + ","), (accum._2 ++ rates))
10461046 }
10471047
10481048 let parameter = {
10491049 let $l = getMarketAssets()
10501050 let $s = size($l)
10511051 let $acc0 = $Tuple2("", nil)
10521052 func $f0_1 ($a,$i) = if (($i >= $s))
10531053 then $a
10541054 else f($a, $l[$i])
10551055
10561056 func $f0_2 ($a,$i) = if (($i >= $s))
10571057 then $a
1058- else throw("List size exceeds 6")
1058+ else throw("List size exceeds 8")
10591059
1060- $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
1060+ $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8)
10611061 }
10621062 if (debug)
10631063 then throw(parameter._1)
10641064 else $Tuple2(parameter._2, parameter._1)
10651065 }
10661066
10671067
10681068
10691069 @Callable(i)
10701070 func calculateTokensInterest (debug) = {
10711071 func f (accum,assetIdStr) = {
10721072 let rate = fraction(getInterest(assetIdStr), dayBlocks, Scale8)
10731073 ((accum + toString(rate)) + ",")
10741074 }
10751075
10761076 let parameter = {
10771077 let $l = getMarketAssets()
10781078 let $s = size($l)
10791079 let $acc0 = ""
10801080 func $f0_1 ($a,$i) = if (($i >= $s))
10811081 then $a
10821082 else f($a, $l[$i])
10831083
10841084 func $f0_2 ($a,$i) = if (($i >= $s))
10851085 then $a
1086- else throw("List size exceeds 6")
1086+ else throw("List size exceeds 8")
10871087
1088- $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
1088+ $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8)
10891089 }
10901090 if (debug)
10911091 then throw(parameter)
10921092 else $Tuple2(nil, parameter)
10931093 }
10941094
10951095
10961096 @Verifier(tx)
10971097 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
10981098

github/deemru/w8io/169f3d6 
117.27 ms