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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AAFAAYDBQVkZWJ1ZwkAAgEIBQlwYXJhbWV0ZXICXzEJAJQKAggFCXBhcmFtZXRlcgJfMggFCXBhcmFtZXRlcgJfMQFpARdjYWxjdWxhdGVUb2tlbnNJbnRlcmVzdAEFZGVidWcKAQFmAgVhY2N1bQphc3NldElkU3RyBARyYXRlCQBrAwkBC2dldEludGVyZXN0AQUKYXNzZXRJZFN0cgUJZGF5QmxvY2tzBQZTY2FsZTgJAKwCAgkArAICBQVhY2N1bQkApAMBBQRyYXRlAgEsBAlwYXJhbWV0ZXIKAAIkbAkBD2dldE1hcmtldEFzc2V0cwAKAAIkcwkAkAMBBQIkbAoABSRhY2MwAgAKAQUkZjBfMQICJGECJGkDCQBnAgUCJGkFAiRzBQIkYQkBAWYCBQIkYQkAkQMCBQIkbAUCJGkKAQUkZjBfMgICJGECJGkDCQBnAgUCJGkFAiRzBQIkYQkAAgECE0xpc3Qgc2l6ZSBleGNlZWRzIDYJAQUkZjBfMgIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIJAQUkZjBfMQIFBSRhY2MwAAAAAQACAAMABAAFAAYDBQVkZWJ1ZwkAAgEFCXBhcmFtZXRlcgkAlAoCBQNuaWwFCXBhcmFtZXRlcgECdHgBBnZlcmlmeQAJAPQDAwgFAnR4CWJvZHlCeXRlcwkAkQMCCAUCdHgGcHJvb2ZzAAAIBQJ0eA9zZW5kZXJQdWJsaWNLZXk+Cg+7", "height": 2541244, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: HwYBcakQpBd7RegB8bZNGsTpr4ySph3dKbhHAGMdiZtw Next: L2UPHXnuVo3LCR4DpQ6zRRatLUoQDXyaArzzreynmi1 Diff:
OldNewDifferences
283283 }
284284 if (!(tryGetBoolean("setup_active")))
285285 then throw("market is stopped")
286- else if ((0 > collateralValue))
287- then throw("you have to supply more to borrow")
288- else {
289- let assetSupplied = tryGetInteger(("total_supplied_" + assetIdStr))
290- let assetBorrowed = tryGetInteger(("total_borrowed_" + assetIdStr))
291- let userAssetBorrowed = tryGetInteger(((address + "_borrowed_") + assetIdStr))
292- if ((amount > (assetSupplied - assetBorrowed)))
293- then throw("this amount is not available")
294- else $Tuple2(([IntegerEntry(((address + "_borrowed_") + assetIdStr), (userAssetBorrowed + amount)), IntegerEntry(("total_borrowed_" + assetIdStr), (assetBorrowed + amount))] ++ ratesRecalcResult), assetAmount)
295- }
286+ else {
287+ let assetSupplied = tryGetInteger(("total_supplied_" + assetIdStr))
288+ let assetBorrowed = tryGetInteger(("total_borrowed_" + assetIdStr))
289+ let userAssetBorrowed = tryGetInteger(((address + "_borrowed_") + assetIdStr))
290+ if ((amount > (assetSupplied - assetBorrowed)))
291+ then throw("this amount is not available")
292+ else $Tuple2(([IntegerEntry(((address + "_borrowed_") + assetIdStr), (userAssetBorrowed + amount)), IntegerEntry(("total_borrowed_" + assetIdStr), (assetBorrowed + amount))] ++ ratesRecalcResult), assetAmount)
293+ }
296294 }
297295 else throw("Strict value is not equal to itself.")
298296 }
358356
359357 @Callable(i)
360358 func withdraw (assetIdStr,assetAmount) = {
361- let $t01082610893 = getActualRate(assetIdStr, "sRate")
362- let sRate = $t01082610893._1
363- let ratesRecalcResult = $t01082610893._2
359+ let $t01082810895 = getActualRate(assetIdStr, "sRate")
360+ let sRate = $t01082810895._1
361+ let ratesRecalcResult = $t01082810895._2
364362 let amount = fraction(assetAmount, Scale16, sRate, CEILING)
365363 let address = toString(i.caller)
366364 let assetSupplied = tryGetInteger(("total_supplied_" + assetIdStr))
411409 else {
412410 let assetIdStr = getAssetString(i.payments[0].assetId)
413411 let assetAmount = i.payments[0].amount
414- let $t01296013027 = getActualRate(assetIdStr, "bRate")
415- let bRate = $t01296013027._1
416- let ratesRecalcResult = $t01296013027._2
412+ let $t01296213029 = getActualRate(assetIdStr, "bRate")
413+ let bRate = $t01296213029._1
414+ let ratesRecalcResult = $t01296213029._2
417415 let amount = fraction(assetAmount, Scale16, bRate, CEILING)
418416 let address = toString(i.caller)
419417 let assetSupplied = tryGetInteger(("total_supplied_" + assetIdStr))
442440 else {
443441 let assetIdStr = getAssetString(i.payments[0].assetId)
444442 let assetAmount = i.payments[0].amount
445- let $t01444514512 = getActualRate(assetIdStr, "bRate")
446- let bRate = $t01444514512._1
447- let ratesRecalcResult = $t01444514512._2
443+ let $t01444714514 = getActualRate(assetIdStr, "bRate")
444+ let bRate = $t01444714514._1
445+ let ratesRecalcResult = $t01444714514._2
448446 let amount = fraction(assetAmount, Scale16, bRate, CEILING)
449447 let assetSupplied = tryGetInteger(("total_supplied_" + assetIdStr))
450448 let assetBorrowed = tryGetInteger(("total_borrowed_" + assetIdStr))
781779 let userCollateral = calcUserCollateral(address)
782780 if ((userCollateral == userCollateral))
783781 then {
784- let $t02739427456 = getActualRate(sAssetIdStr, "sRate")
785- let sRate = $t02739427456._1
786- let ratesResult = $t02739427456._2
787- let $t02746127530 = getActualRate(bAssetIdStr, "bRate")
788- let bRate = $t02746127530._1
789- let ratesRecalcResult2 = $t02746127530._2
782+ let $t02739627458 = getActualRate(sAssetIdStr, "sRate")
783+ let sRate = $t02739627458._1
784+ let ratesResult = $t02739627458._2
785+ let $t02746327532 = getActualRate(bAssetIdStr, "bRate")
786+ let bRate = $t02746327532._1
787+ let ratesRecalcResult2 = $t02746327532._2
790788 let sAssetAmount = fraction(assetAmount, Scale16, sRate)
791789 let currentSPosition = tryGetInteger(((address + "_supplied_") + sAssetIdStr))
792790 let currentBPositionVal = tryGetInteger(((address + "_borrowed_") + bAssetIdStr))
862860 let marketAssets = getMarketAssets()
863861 let asset1Num = value(indexOf(marketAssets, bAssetIdStr))
864862 let asset0Num = value(indexOf(marketAssets, sAssetIdStr))
865- let $t03068530747 = getActualRate(bAssetIdStr, "bRate")
866- let bRate = $t03068530747._1
867- let ratesResult = $t03068530747._2
863+ let $t03068730749 = getActualRate(bAssetIdStr, "bRate")
864+ let bRate = $t03068730749._1
865+ let ratesResult = $t03068730749._2
868866 let asset1Price = getTokenPrice(bAssetIdStr)._2
869867 let asset1Scale = calcAssetScale(bAssetIdStr)
870868 let bAmountUsd = fraction(bAssetAmount, asset1Price, asset1Scale)
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 aggregatorAddress = Address(base58'3Mzzt65puEs2W9M1m9iFBvMEdfM5bASE1hJ')
1111
1212 let oracleStr = "3N4KbMnJH8FaM94jqxNFe2oyZ8GB7Z8yVBP"
1313
1414 let shutdownWhitelist = [base58'3PMcMiMEs6w56NRGacksXtFG5zS7doE9fpL', base58'3PAxdDSmN758L5SHSGRC5apEtQE2aApZotG', base58'3PJKmXoHJvVeQXjSJdhtkUcFDtdiQqMbUTD', base58'3PQdNxynJy5mche2kxMVc5shXWzK8Gstq3o', base58'3PHbdpaKzz8EiAngGHaFu2hVuNCdsC67qh3', base58'3P6Ksahs71SiKQgQ4qaZuFAVhqncdi2nvJQ']
1515
1616 func verifyLiquidatorRights (address) = !((address != Address(base58'3Mzzt65puEs2W9M1m9iFBvMEdfM5bASE1hJ')))
1717
1818
1919 func getRateCurve (assetIdStr) = match assetIdStr {
2020 case _ =>
2121 if (("8DtMtpVwVq62sdcVFVzh6nuprgzG7LSjpLdHnQnrAFgY" == $match0))
2222 then $Tuple4(2000000, 25000000, 80000000, 100000000)
2323 else if (("25FEqEjRkqK6yCkiT7Lz6SAYz7gUFCtxfCChnrVFD5AT" == $match0))
2424 then $Tuple4(2000000, 25000000, 80000000, 100000000)
2525 else if (("WAVES" == $match0))
2626 then $Tuple4(2000000, 30000000, 80000000, 50000000)
2727 else $Tuple4(0, 20000000, 80000000, 80000000)
2828 }
2929
3030
3131 let Scale8 = 100000000
3232
3333 let Scale10 = 10000000000
3434
3535 let Scale16 = (Scale8 * Scale8)
3636
3737 let dayBlocks = 1440
3838
3939 func liIntToStr (li) = {
4040 func f (accum,next) = ((accum + toString(next)) + ",")
4141
4242 let $l = li
4343 let $s = size($l)
4444 let $acc0 = ""
4545 func $f0_1 ($a,$i) = if (($i >= $s))
4646 then $a
4747 else f($a, $l[$i])
4848
4949 func $f0_2 ($a,$i) = if (($i >= $s))
5050 then $a
5151 else throw("List size exceeds 6")
5252
5353 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
5454 }
5555
5656
5757 func tryGetInteger (key) = match getInteger(this, key) {
5858 case b: Int =>
5959 b
6060 case _ =>
6161 0
6262 }
6363
6464
6565 func tryGetBoolean (key) = match getBoolean(this, key) {
6666 case b: Boolean =>
6767 b
6868 case _ =>
6969 false
7070 }
7171
7272
7373 func tryGetString (key) = match getString(this, key) {
7474 case b: String =>
7575 b
7676 case _ =>
7777 ""
7878 }
7979
8080
8181 func tryGetBinary (key) = match getBinary(this, key) {
8282 case b: ByteVector =>
8383 b
8484 case _ =>
8585 base58''
8686 }
8787
8888
8989 func getAssetString (assetId) = match assetId {
9090 case b: ByteVector =>
9191 toBase58String(b)
9292 case _ =>
9393 "WAVES"
9494 }
9595
9696
9797 func getAssetBytes (assetIdStr) = if ((assetIdStr == "WAVES"))
9898 then unit
9999 else fromBase58String(assetIdStr)
100100
101101
102102 func getBalance (assetIdStr) = if ((assetIdStr == "WAVES"))
103103 then wavesBalance(this).available
104104 else assetBalance(this, fromBase58String(assetIdStr))
105105
106106
107107 func getMarketAssets () = split(tryGetString("setup_tokens"), ",")
108108
109109
110110 func getAssetsMaxSupply () = {
111111 let s = tryGetString("setup_maxsupply")
112112 if ((s == ""))
113113 then [-1, -1, -1, -1, -1, -1, -1]
114114 else split(s, ",")
115115 }
116116
117117
118118 func getOutdatedUr (assetIdStr) = {
119119 let down = fraction(tryGetInteger(("total_supplied_" + assetIdStr)), tryGetInteger((assetIdStr + "_sRate")), Scale16)
120120 if ((down == 0))
121121 then 0
122122 else fraction(Scale8, fraction(tryGetInteger(("total_borrowed_" + assetIdStr)), tryGetInteger((assetIdStr + "_bRate")), Scale16), down)
123123 }
124124
125125
126126 func getInterest (assetIdStr) = {
127127 let ur = getOutdatedUr(assetIdStr)
128128 let curve = getRateCurve(assetIdStr)
129129 let rate = (curve._1 + (if ((curve._3 >= ur))
130130 then fraction(ur, curve._2, curve._3)
131131 else (curve._2 + fraction((ur - curve._3), curve._4, (100000000 - curve._3)))))
132132 max([fraction(rate, Scale8, (dayBlocks * 365)), 1])
133133 }
134134
135135
136136 func tokenRatesRecalc (assetIdStr) = {
137137 let interest = getInterest(assetIdStr)
138138 let ur = getOutdatedUr(assetIdStr)
139139 let lastRecalcHeight = tryGetInteger("lastRateHeight")
140140 let lastBRate = max([tryGetInteger((assetIdStr + "_bRate")), Scale16])
141141 let newBRate = (lastBRate + ((height - lastRecalcHeight) * interest))
142142 let lastSRate = max([tryGetInteger((assetIdStr + "_sRate")), Scale16])
143143 let newSRate = (lastSRate + ((((height - lastRecalcHeight) * fraction(interest, ur, Scale8)) * (100 - reserveFund)) / 100))
144144 [IntegerEntry((assetIdStr + "_sRate"), newSRate), IntegerEntry((assetIdStr + "_bRate"), newBRate), IntegerEntry("lastRateHeight", height)]
145145 }
146146
147147
148148 func getActualRate (assetIdStr,rateType) = {
149149 func f (accum,token) = {
150150 let recalc = tokenRatesRecalc(token)
151151 $Tuple2(if ((token != assetIdStr))
152152 then accum._1
153153 else if ((rateType == "sRate"))
154154 then recalc[0].value
155155 else recalc[1].value, (accum._2 ++ recalc))
156156 }
157157
158158 let $l = getMarketAssets()
159159 let $s = size($l)
160160 let $acc0 = $Tuple2(0, nil)
161161 func $f0_1 ($a,$i) = if (($i >= $s))
162162 then $a
163163 else f($a, $l[$i])
164164
165165 func $f0_2 ($a,$i) = if (($i >= $s))
166166 then $a
167167 else throw("List size exceeds 6")
168168
169169 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
170170 }
171171
172172
173173 func getUr (assetIdStr) = {
174174 let rates = tokenRatesRecalc(assetIdStr)
175175 let down = fraction(tryGetInteger(("total_supplied_" + assetIdStr)), rates[0].value, Scale16)
176176 fraction(Scale8, fraction(tryGetInteger(("total_borrowed_" + assetIdStr)), rates[1].value, Scale16), down)
177177 }
178178
179179
180180 func ratesRecalc () = {
181181 func f (accum,token) = (accum ++ tokenRatesRecalc(token))
182182
183183 let $l = getMarketAssets()
184184 let $s = size($l)
185185 let $acc0 = nil
186186 func $f0_1 ($a,$i) = if (($i >= $s))
187187 then $a
188188 else f($a, $l[$i])
189189
190190 func $f0_2 ($a,$i) = if (($i >= $s))
191191 then $a
192192 else throw("List size exceeds 6")
193193
194194 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
195195 }
196196
197197
198198 func getTokenPrice (assetIdStr) = {
199199 let inv3 = invoke(addressFromStringValue(oracleStr), "getTWAP60", [assetIdStr, false], nil)
200200 if ((inv3 == inv3))
201201 then {
202202 let data3 = match inv3 {
203203 case x: (Int, Int) =>
204204 x
205205 case _ =>
206206 throw("error of price oracle")
207207 }
208208 if ((data3 == data3))
209209 then data3
210210 else throw("Strict value is not equal to itself.")
211211 }
212212 else throw("Strict value is not equal to itself.")
213213 }
214214
215215
216216 func calcAssetScale (assetIdStr) = {
217217 let decimals = if ((assetIdStr == "WAVES"))
218218 then 8
219219 else value(assetInfo(fromBase58String(assetIdStr))).decimals
220220 pow(10, 0, decimals, 0, 0, DOWN)
221221 }
222222
223223
224224 func calcUserCollateral (address) = {
225225 let userCollateralInvoke = invoke(this, "getUserCollateral", [false, address, true, ""], nil)
226226 if ((userCollateralInvoke == userCollateralInvoke))
227227 then {
228228 let userCollateralValue = match userCollateralInvoke {
229229 case x: Int =>
230230 x
231231 case _ =>
232232 throw("issue while doing in-dapp invocation")
233233 }
234234 if ((userCollateralValue == userCollateralValue))
235235 then userCollateralValue
236236 else throw("Strict value is not equal to itself.")
237237 }
238238 else throw("Strict value is not equal to itself.")
239239 }
240240
241241
242242 func supplyInternal (assetIdStr,assetAmount,address) = if (!(tryGetBoolean("setup_active")))
243243 then throw("market is stopped")
244244 else {
245245 let $t058705937 = getActualRate(assetIdStr, "sRate")
246246 let sRate = $t058705937._1
247247 let ratesRecalcResult = $t058705937._2
248248 let amount = fraction(assetAmount, Scale16, sRate, DOWN)
249249 let maxSupply = match getString(("setup_maxSupply_" + assetIdStr)) {
250250 case x: String =>
251251 parseIntValue(x)
252252 case _ =>
253253 0
254254 }
255255 let assetPrice = getTokenPrice(assetIdStr)
256256 let newTotalSupplied = (tryGetInteger(((address + "_supplied_") + assetIdStr)) + amount)
257257 let rate = getActualRate(assetIdStr, "sRate")._1
258258 let assetScale = calcAssetScale(assetIdStr)
259259 let newTotalSuppliedUsd = fraction(fraction(newTotalSupplied, rate, Scale16), assetPrice._1, assetScale)
260260 if ((indexOf(tryGetString("setup_tokens"), assetIdStr) == unit))
261261 then throw("this asset is not supported by the market")
262262 else if (if ((maxSupply != 0))
263263 then (newTotalSuppliedUsd > maxSupply)
264264 else false)
265265 then throw("max total supply for this token reached in the pool")
266266 else $Tuple2(([IntegerEntry(((address + "_supplied_") + assetIdStr), newTotalSupplied), IntegerEntry(("total_supplied_" + assetIdStr), (tryGetInteger(("total_supplied_" + assetIdStr)) + amount))] ++ ratesRecalcResult), assetAmount)
267267 }
268268
269269
270270 func borrowInternal (assetIdStr,assetAmount,address) = {
271271 let $t072167283 = getActualRate(assetIdStr, "bRate")
272272 let bRate = $t072167283._1
273273 let ratesRecalcResult = $t072167283._2
274274 let amount = fraction(assetAmount, Scale16, bRate, CEILING)
275275 let collateralValueInv = invoke(this, "getUserCollateral", [false, address, true, ((assetIdStr + ",borrowed,") + toString(amount))], nil)
276276 if ((collateralValueInv == collateralValueInv))
277277 then {
278278 let collateralValue = match collateralValueInv {
279279 case x: Int =>
280280 x
281281 case _ =>
282282 throw("can't get user collateral value")
283283 }
284284 if (!(tryGetBoolean("setup_active")))
285285 then throw("market is stopped")
286- else if ((0 > collateralValue))
287- then throw("you have to supply more to borrow")
288- else {
289- let assetSupplied = tryGetInteger(("total_supplied_" + assetIdStr))
290- let assetBorrowed = tryGetInteger(("total_borrowed_" + assetIdStr))
291- let userAssetBorrowed = tryGetInteger(((address + "_borrowed_") + assetIdStr))
292- if ((amount > (assetSupplied - assetBorrowed)))
293- then throw("this amount is not available")
294- else $Tuple2(([IntegerEntry(((address + "_borrowed_") + assetIdStr), (userAssetBorrowed + amount)), IntegerEntry(("total_borrowed_" + assetIdStr), (assetBorrowed + amount))] ++ ratesRecalcResult), assetAmount)
295- }
286+ else {
287+ let assetSupplied = tryGetInteger(("total_supplied_" + assetIdStr))
288+ let assetBorrowed = tryGetInteger(("total_borrowed_" + assetIdStr))
289+ let userAssetBorrowed = tryGetInteger(((address + "_borrowed_") + assetIdStr))
290+ if ((amount > (assetSupplied - assetBorrowed)))
291+ then throw("this amount is not available")
292+ else $Tuple2(([IntegerEntry(((address + "_borrowed_") + assetIdStr), (userAssetBorrowed + amount)), IntegerEntry(("total_borrowed_" + assetIdStr), (assetBorrowed + amount))] ++ ratesRecalcResult), assetAmount)
293+ }
296294 }
297295 else throw("Strict value is not equal to itself.")
298296 }
299297
300298
301299 @Callable(i)
302300 func flashPosition (user,sAssetIdStr,bAssetIdStr,bAmount,callbackAddress,callbackFunction,callbackArgs) = {
303301 let borrowRes = borrowInternal(bAssetIdStr, bAmount, user)
304302 let bAssetId = getAssetBytes(bAssetIdStr)
305303 let callback = reentrantInvoke(addressFromStringValue(callbackAddress), callbackFunction, split(callbackArgs, ","), [AttachedPayment(bAssetId, bAmount)])
306304 if ((callback == callback))
307305 then {
308306 let sAmount = {
309307 let @ = callback
310308 if ($isInstanceOf(@, "Int"))
311309 then @
312310 else throw(($getType(@) + " couldn't be cast to Int"))
313311 }
314312 if ((sAmount == sAmount))
315313 then {
316314 let supplyRes = supplyInternal(sAssetIdStr, sAmount, user)
317315 let collateralValue = {
318316 let @ = invoke(this, "getUserCollateral", [false, user, true, ((sAssetIdStr + ",supplied,") + toString(sAmount))], nil)
319317 if ($isInstanceOf(@, "Int"))
320318 then @
321319 else throw(($getType(@) + " couldn't be cast to Int"))
322320 }
323321 if ((collateralValue == collateralValue))
324322 then {
325323 let borrowValue = {
326324 let @ = invoke(this, "getUserCollateral", [false, user, true, ((bAssetIdStr + ",borrowed,") + toString(bAmount))], nil)
327325 if ($isInstanceOf(@, "Int"))
328326 then @
329327 else throw(($getType(@) + " couldn't be cast to Int"))
330328 }
331329 if ((borrowValue == borrowValue))
332330 then if ((borrowValue > collateralValue))
333331 then throw("not enough collateral provided")
334332 else (borrowRes._1 ++ supplyRes._1)
335333 else throw("Strict value is not equal to itself.")
336334 }
337335 else throw("Strict value is not equal to itself.")
338336 }
339337 else throw("Strict value is not equal to itself.")
340338 }
341339 else throw("Strict value is not equal to itself.")
342340 }
343341
344342
345343
346344 @Callable(i)
347345 func supply () = if (if ((size(i.payments) != 1))
348346 then true
349347 else (i.payments[0].amount == 0))
350348 then throw("1 payment has to be attached")
351349 else {
352350 let assetIdStr = getAssetString(i.payments[0].assetId)
353351 let assetAmount = i.payments[0].amount
354352 supplyInternal(assetIdStr, assetAmount, toString(i.caller))
355353 }
356354
357355
358356
359357 @Callable(i)
360358 func withdraw (assetIdStr,assetAmount) = {
361- let $t01082610893 = getActualRate(assetIdStr, "sRate")
362- let sRate = $t01082610893._1
363- let ratesRecalcResult = $t01082610893._2
359+ let $t01082810895 = getActualRate(assetIdStr, "sRate")
360+ let sRate = $t01082810895._1
361+ let ratesRecalcResult = $t01082810895._2
364362 let amount = fraction(assetAmount, Scale16, sRate, CEILING)
365363 let address = toString(i.caller)
366364 let assetSupplied = tryGetInteger(("total_supplied_" + assetIdStr))
367365 let assetBorrowed = tryGetInteger(("total_borrowed_" + assetIdStr))
368366 let userAssetSupplied = tryGetInteger(((address + "_supplied_") + assetIdStr))
369367 let userAssetBorrowed = tryGetInteger(((address + "_borrowed_") + assetIdStr))
370368 let collateralValueInv = invoke(this, "getUserCollateral", [false, address, true, ((assetIdStr + ",supplied,") + toString(-(amount)))], nil)
371369 if ((collateralValueInv == collateralValueInv))
372370 then {
373371 let collateralValue = match collateralValueInv {
374372 case x: Int =>
375373 x
376374 case _ =>
377375 throw("can't get user collateral value")
378376 }
379377 if (!(tryGetBoolean("setup_active")))
380378 then throw("market is stopped")
381379 else if ((0 > collateralValue))
382380 then throw("you dont have enough collateral for this operation")
383381 else if ((amount > (assetSupplied - assetBorrowed)))
384382 then throw("this amount is not available on the market")
385383 else if ((amount > (userAssetSupplied - userAssetBorrowed)))
386384 then throw("this amount is not available for this user")
387385 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)
388386 }
389387 else throw("Strict value is not equal to itself.")
390388 }
391389
392390
393391
394392 @Callable(i)
395393 func borrow (assetIdStr,assetAmount) = {
396394 let address = toString(i.caller)
397395 let res = borrowInternal(assetIdStr, assetAmount, address)
398396 let amount = res._2
399397 (res._1 ++ [ScriptTransfer(i.caller, amount, getAssetBytes(assetIdStr))])
400398 }
401399
402400
403401
404402 @Callable(i)
405403 func repay () = if (!(tryGetBoolean("setup_active")))
406404 then throw("market is stopped")
407405 else if (if ((size(i.payments) != 1))
408406 then true
409407 else (i.payments[0].amount == 0))
410408 then throw("1 payment has to be attached")
411409 else {
412410 let assetIdStr = getAssetString(i.payments[0].assetId)
413411 let assetAmount = i.payments[0].amount
414- let $t01296013027 = getActualRate(assetIdStr, "bRate")
415- let bRate = $t01296013027._1
416- let ratesRecalcResult = $t01296013027._2
412+ let $t01296213029 = getActualRate(assetIdStr, "bRate")
413+ let bRate = $t01296213029._1
414+ let ratesRecalcResult = $t01296213029._2
417415 let amount = fraction(assetAmount, Scale16, bRate, CEILING)
418416 let address = toString(i.caller)
419417 let assetSupplied = tryGetInteger(("total_supplied_" + assetIdStr))
420418 let assetBorrowed = tryGetInteger(("total_borrowed_" + assetIdStr))
421419 let userAssetBorrowed = tryGetInteger(((address + "_borrowed_") + assetIdStr))
422420 let amountLeft = (userAssetBorrowed - amount)
423421 let repayAmount = if ((amountLeft >= 0))
424422 then amount
425423 else userAssetBorrowed
426424 if ((indexOf(tryGetString("setup_tokens"), assetIdStr) == unit))
427425 then throw("this asset is not supported by the market")
428426 else (([IntegerEntry(((address + "_borrowed_") + assetIdStr), (userAssetBorrowed - repayAmount)), IntegerEntry(("total_borrowed_" + assetIdStr), (assetBorrowed - repayAmount))] ++ ratesRecalcResult) ++ (if ((amountLeft >= 0))
429427 then nil
430428 else [ScriptTransfer(i.caller, -(amountLeft), i.payments[0].assetId)]))
431429 }
432430
433431
434432
435433 @Callable(i)
436434 func repayFor (address) = if (!(tryGetBoolean("setup_active")))
437435 then throw("market is stopped")
438436 else if (if ((size(i.payments) != 1))
439437 then true
440438 else (i.payments[0].amount == 0))
441439 then throw("1 payment has to be attached")
442440 else {
443441 let assetIdStr = getAssetString(i.payments[0].assetId)
444442 let assetAmount = i.payments[0].amount
445- let $t01444514512 = getActualRate(assetIdStr, "bRate")
446- let bRate = $t01444514512._1
447- let ratesRecalcResult = $t01444514512._2
443+ let $t01444714514 = getActualRate(assetIdStr, "bRate")
444+ let bRate = $t01444714514._1
445+ let ratesRecalcResult = $t01444714514._2
448446 let amount = fraction(assetAmount, Scale16, bRate, CEILING)
449447 let assetSupplied = tryGetInteger(("total_supplied_" + assetIdStr))
450448 let assetBorrowed = tryGetInteger(("total_borrowed_" + assetIdStr))
451449 let userAssetBorrowed = tryGetInteger(((address + "_borrowed_") + assetIdStr))
452450 let amountLeft = (userAssetBorrowed - amount)
453451 let repayAmount = if ((amountLeft >= 0))
454452 then amount
455453 else userAssetBorrowed
456454 if ((indexOf(tryGetString("setup_tokens"), assetIdStr) == unit))
457455 then throw("this asset is not supported by the market")
458456 else (([IntegerEntry(((address + "_borrowed_") + assetIdStr), (userAssetBorrowed - repayAmount)), IntegerEntry(("total_borrowed_" + assetIdStr), (assetBorrowed - repayAmount))] ++ ratesRecalcResult) ++ (if ((amountLeft >= 0))
459457 then nil
460458 else [ScriptTransfer(i.caller, -(amountLeft), i.payments[0].assetId)]))
461459 }
462460
463461
464462
465463 @Callable(i)
466464 func stakeTokenAll (assetIdStr) = if ((i.caller != this))
467465 then throw("only for internal smart contract invocations")
468466 else {
469467 let amount = getBalance(assetIdStr)
470468 let inv = invoke(this, "stakeToken", [assetIdStr, amount], nil)
471469 if ((inv == inv))
472470 then nil
473471 else throw("Strict value is not equal to itself.")
474472 }
475473
476474
477475
478476 @Callable(i)
479477 func stakeToken (assetIdStr,amount) = if ((i.caller != this))
480478 then throw("only for internal smart contract invocations")
481479 else if ((assetIdStr == "DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p"))
482480 then {
483481 let amountStaked = tryGetInteger("autostake_amount_DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p")
484482 let inv = invoke(Address(base58'3PNikM6yp4NqcSU8guxQtmR5onr2D4e8yTJ'), "stake", nil, [AttachedPayment(base58'DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p', amount)])
485483 if ((inv == inv))
486484 then [IntegerEntry("autostake_amount_DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p", (amountStaked + amount))]
487485 else throw("Strict value is not equal to itself.")
488486 }
489487 else if ((assetIdStr == "8t4DPWTwPzpatHA9AkTxWAB47THnYzBsDnoY7fQqbG91"))
490488 then {
491489 let amountStaked = tryGetInteger("autostake_amount_8t4DPWTwPzpatHA9AkTxWAB47THnYzBsDnoY7fQqbG91")
492490 let inv = invoke(Address(base58'3PQTM38wDmAY9vWonK6ha7QL3PAycLz5oPP'), "stake", nil, [AttachedPayment(base58'8t4DPWTwPzpatHA9AkTxWAB47THnYzBsDnoY7fQqbG91', amount)])
493491 if ((inv == inv))
494492 then [IntegerEntry("autostake_amount_8t4DPWTwPzpatHA9AkTxWAB47THnYzBsDnoY7fQqbG91", (amountStaked + amount))]
495493 else throw("Strict value is not equal to itself.")
496494 }
497495 else if ((assetIdStr == "At8D6NFFpheCbvKVnjVoeLL84Eo8NZn6ovManxfLaFWL"))
498496 then {
499497 let amountStaked = tryGetInteger("autostake_amount_At8D6NFFpheCbvKVnjVoeLL84Eo8NZn6ovManxfLaFWL")
500498 let inv = invoke(Address(base58'3PBiotFpqjRMkkeFBccnQNUXUopy7KFez5C'), "stake", nil, [AttachedPayment(base58'At8D6NFFpheCbvKVnjVoeLL84Eo8NZn6ovManxfLaFWL', amount)])
501499 if ((inv == inv))
502500 then [IntegerEntry("autostake_amount_At8D6NFFpheCbvKVnjVoeLL84Eo8NZn6ovManxfLaFWL", (amountStaked + amount))]
503501 else throw("Strict value is not equal to itself.")
504502 }
505503 else nil
506504
507505
508506
509507 @Callable(i)
510508 func unstakeToken (assetIdStr,amount) = if ((i.caller != this))
511509 then throw("only for internal smart contract invocations")
512510 else if ((assetIdStr == "8t4DPWTwPzpatHA9AkTxWAB47THnYzBsDnoY7fQqbG91"))
513511 then {
514512 let amountStaked = tryGetInteger("autostake_amount_8t4DPWTwPzpatHA9AkTxWAB47THnYzBsDnoY7fQqbG91")
515513 let inv = invoke(Address(base58'3PQTM38wDmAY9vWonK6ha7QL3PAycLz5oPP'), "unStake", [amount], nil)
516514 if ((inv == inv))
517515 then [IntegerEntry("autostake_amount_8t4DPWTwPzpatHA9AkTxWAB47THnYzBsDnoY7fQqbG91", (amountStaked - amount))]
518516 else throw("Strict value is not equal to itself.")
519517 }
520518 else if ((assetIdStr == "At8D6NFFpheCbvKVnjVoeLL84Eo8NZn6ovManxfLaFWL"))
521519 then {
522520 let amountStaked = tryGetInteger("autostake_amount_At8D6NFFpheCbvKVnjVoeLL84Eo8NZn6ovManxfLaFWL")
523521 let inv = invoke(Address(base58'3PBiotFpqjRMkkeFBccnQNUXUopy7KFez5C'), "unstake", [amount], nil)
524522 if ((inv == inv))
525523 then {
526524 let bal0 = getBalance("At8D6NFFpheCbvKVnjVoeLL84Eo8NZn6ovManxfLaFWL")
527525 if ((bal0 == bal0))
528526 then {
529527 let inv2 = invoke(Address(base58'3PQrVbTVpqXHqpVKftkNdjy3zZAh4dsRzN6'), "gnsbtRewardsSYSREADONLY", [toString(this)], nil)
530528 if ((inv2 == inv2))
531529 then {
532530 let topupRewards = match inv2 {
533531 case x: List[Any] =>
534532 let secondEl = x[1]
535533 match secondEl {
536534 case secondEl: String =>
537535 let usdnValue = parseIntValue(split(split(secondEl, "_")[1], ":")[1])
538536 let wavesValue = parseIntValue(split(split(secondEl, "_")[0], ":")[1])
539537 if (if ((usdnValue != 0))
540538 then true
541539 else (wavesValue != 0))
542540 then {
543541 let usdnBal0 = getBalance("DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p")
544542 if ((usdnBal0 == usdnBal0))
545543 then {
546544 let wavesBal0 = getBalance("WAVES")
547545 if ((wavesBal0 == wavesBal0))
548546 then {
549547 let inv3 = invoke(Address(base58'3PBiotFpqjRMkkeFBccnQNUXUopy7KFez5C'), "claimRewards", nil, nil)
550548 if ((inv3 == inv3))
551549 then {
552550 let wavesBal1 = getBalance("WAVES")
553551 if ((wavesBal1 == wavesBal1))
554552 then {
555553 let inv4 = invoke(Address(base58'3PLiXyywNThdvf3vVEUxwc7TJTucjZvuegh'), "swap", ["DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p", 0], [AttachedPayment(unit, (wavesBal1 - wavesBal0))])
556554 if ((inv4 == inv4))
557555 then {
558556 let usdnBal1 = getBalance("DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p")
559557 if ((usdnBal1 == usdnBal1))
560558 then {
561559 let inv5 = invoke(Address(base58'3P7r93vXHuusageNJVGwzqaz3WMotAu49Yz'), "swap", ["At8D6NFFpheCbvKVnjVoeLL84Eo8NZn6ovManxfLaFWL", 0], [AttachedPayment(base58'DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p', (usdnBal1 - usdnBal0))])
562560 if ((inv5 == inv5))
563561 then {
564562 let inv6 = invoke(this, "addInterest", ["At8D6NFFpheCbvKVnjVoeLL84Eo8NZn6ovManxfLaFWL", (getBalance("At8D6NFFpheCbvKVnjVoeLL84Eo8NZn6ovManxfLaFWL") - bal0)], nil)
565563 if ((inv6 == inv6))
566564 then 2
567565 else throw("Strict value is not equal to itself.")
568566 }
569567 else throw("Strict value is not equal to itself.")
570568 }
571569 else throw("Strict value is not equal to itself.")
572570 }
573571 else throw("Strict value is not equal to itself.")
574572 }
575573 else throw("Strict value is not equal to itself.")
576574 }
577575 else throw("Strict value is not equal to itself.")
578576 }
579577 else throw("Strict value is not equal to itself.")
580578 }
581579 else throw("Strict value is not equal to itself.")
582580 }
583581 else 1
584582 case _ =>
585583 1
586584 }
587585 case _ =>
588586 0
589587 }
590588 if ((topupRewards == topupRewards))
591589 then [IntegerEntry("autostake_amount_At8D6NFFpheCbvKVnjVoeLL84Eo8NZn6ovManxfLaFWL", (amountStaked - amount))]
592590 else throw("Strict value is not equal to itself.")
593591 }
594592 else throw("Strict value is not equal to itself.")
595593 }
596594 else throw("Strict value is not equal to itself.")
597595 }
598596 else throw("Strict value is not equal to itself.")
599597 }
600598 else nil
601599
602600
603601
604602 @Callable(i)
605603 func addInterest (assetIdStr,amount) = if ((i.caller != this))
606604 then throw("only for self invocation")
607605 else {
608606 let earned = tryGetInteger(("autostake_lastEarned_" + assetIdStr))
609607 let lastHeight = tryGetInteger(("autostake_lastBlock_" + assetIdStr))
610608 let cleanAmount = fraction(amount, 80, 100)
611609 let stateChanges = if (if ((lastHeight == height))
612610 then true
613611 else (amount == 0))
614612 then nil
615613 else [IntegerEntry(("autostake_preLastEarned_" + assetIdStr), earned), IntegerEntry(("autostake_preLastBlock_" + assetIdStr), lastHeight), IntegerEntry(("autostake_lastEarned_" + assetIdStr), (earned + cleanAmount)), IntegerEntry(("autostake_lastBlock_" + assetIdStr), height)]
616614 (stateChanges ++ [IntegerEntry((assetIdStr + "_sRate"), (tryGetInteger((assetIdStr + "_sRate")) + fraction(Scale16, cleanAmount, tryGetInteger(("total_supplied_" + assetIdStr)))))])
617615 }
618616
619617
620618
621619 @Callable(i)
622620 func addInterestEXTERNAL () = {
623621 let amount = fraction(i.payments[0].amount, 80, 100)
624622 let assetId = i.payments[0].assetId
625623 let assetIdStr = getAssetString(assetId)
626624 let earned = tryGetInteger(("autostake_lastEarned_" + assetIdStr))
627625 let lastHeight = tryGetInteger(("autostake_lastBlock_" + assetIdStr))
628626 let stateChanges = if (if ((lastHeight == height))
629627 then true
630628 else (amount == 0))
631629 then nil
632630 else [IntegerEntry(("autostake_preLastEarned_" + assetIdStr), earned), IntegerEntry(("autostake_preLastBlock_" + assetIdStr), lastHeight), IntegerEntry(("autostake_lastEarned_" + assetIdStr), (earned + amount)), IntegerEntry(("autostake_lastBlock_" + assetIdStr), height)]
633631 (stateChanges ++ [IntegerEntry((assetIdStr + "_sRate"), (tryGetInteger((assetIdStr + "_sRate")) + fraction(Scale16, amount, tryGetInteger(("total_supplied_" + assetIdStr)))))])
634632 }
635633
636634
637635
638636 @Callable(i)
639637 func preInit (tokens,ltvs,lts,penalties) = {
640638 func f (accum,token) = (accum ++ [IntegerEntry((token + "_bRate"), Scale16), IntegerEntry((token + "_sRate"), Scale16)])
641639
642640 if ((i.caller != this))
643641 then throw("admin only")
644642 else {
645643 let rates = {
646644 let $l = split(tokens, ",")
647645 let $s = size($l)
648646 let $acc0 = nil
649647 func $f0_1 ($a,$i) = if (($i >= $s))
650648 then $a
651649 else f($a, $l[$i])
652650
653651 func $f0_2 ($a,$i) = if (($i >= $s))
654652 then $a
655653 else throw("List size exceeds 6")
656654
657655 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
658656 }
659657 ([StringEntry("setup_tokens", tokens), StringEntry("setup_ltvs", ltvs), StringEntry("setup_lts", lts), StringEntry("setup_penalties", penalties), BooleanEntry("setup_active", true)] ++ rates)
660658 }
661659 }
662660
663661
664662
665663 @Callable(i)
666664 func updateParameter (key,val) = if (if ((i.caller != this))
667665 then (i.caller != Address(base58'3P3o9cLTV2u9N4nYNKRYL6gy6cUEU9DwXW8'))
668666 else false)
669667 then throw("admin only")
670668 else [IntegerEntry(key, parseIntValue(val))]
671669
672670
673671
674672 @Callable(i)
675673 func updateString (key,val) = if (if ((i.caller != this))
676674 then (i.caller != Address(base58'3P3o9cLTV2u9N4nYNKRYL6gy6cUEU9DwXW8'))
677675 else false)
678676 then throw("admin only")
679677 else [StringEntry(key, val)]
680678
681679
682680
683681 @Callable(i)
684682 func claimToReserveFund (debug) = {
685683 let assets = getMarketAssets()
686684 let rates = getActualRate(assets[0], "sRate")._2
687685 let li = [0, 1, 2, 3, 4, 5]
688686 func f (accum,n) = if ((n >= size(assets)))
689687 then accum
690688 else {
691689 let assetIdStr = assets[n]
692690 let autostakeAmount = tryGetString(("autostake_amount_" + assetIdStr))
693691 let amount = ((((getBalance(assetIdStr) + tryGetInteger(("autostake_amount_" + assetIdStr))) + (if ((autostakeAmount != ""))
694692 then parseIntValue(autostakeAmount)
695693 else 0)) + fraction(tryGetInteger(("total_borrowed_" + assetIdStr)), rates[((n * 3) + 1)].value, Scale16)) - fraction(tryGetInteger(("total_supplied_" + assetIdStr)), rates[(n * 3)].value, Scale16))
696694 let inv = if ((tryGetInteger(("autostake_amount_" + assetIdStr)) > 0))
697695 then invoke(this, "unstakeToken", [assetIdStr, max([amount, 0])], nil)
698696 else 0
699697 if ((inv == inv))
700698 then (accum ++ [amount])
701699 else throw("Strict value is not equal to itself.")
702700 }
703701
704702 let parameter = {
705703 let $l = li
706704 let $s = size($l)
707705 let $acc0 = nil
708706 func $f0_1 ($a,$i) = if (($i >= $s))
709707 then $a
710708 else f($a, $l[$i])
711709
712710 func $f0_2 ($a,$i) = if (($i >= $s))
713711 then $a
714712 else throw("List size exceeds 6")
715713
716714 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
717715 }
718716 func f2 (accum,n) = if ((n >= size(assets)))
719717 then accum
720718 else {
721719 let assetIdStr = assets[n]
722720 (accum ++ [ScriptTransfer(reserveFundAddress, max([parameter[n], 0]), getAssetBytes(assetIdStr))])
723721 }
724722
725723 if (debug)
726724 then throw(liIntToStr(parameter))
727725 else $Tuple2({
728726 let $l = li
729727 let $s = size($l)
730728 let $acc0 = nil
731729 func $f1_1 ($a,$i) = if (($i >= $s))
732730 then $a
733731 else f2($a, $l[$i])
734732
735733 func $f1_2 ($a,$i) = if (($i >= $s))
736734 then $a
737735 else throw("List size exceeds 6")
738736
739737 $f1_2($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($acc0, 0), 1), 2), 3), 4), 5), 6)
740738 }, parameter)
741739 }
742740
743741
744742
745743 @Callable(i)
746744 func reSetup (assetIdStr) = {
747745 let lastResetup = tryGetInteger("resetup_lastUpdate")
748746 if ((dayBlocks > (height - lastResetup)))
749747 then throw("can be updated only once per day")
750748 else {
751749 let lts = split(tryGetString("setup_lts"), ",")
752750 let assets = getMarketAssets()
753751 let ur = getUr(assetIdStr)
754752 let tempLT = tryGetInteger((("setup_" + assetIdStr) + "_tempLT"))
755753 let lt = parseIntValue(assets[value(indexOf(assets, assetIdStr))])
756754 if ((ur > 90000000))
757755 then [IntegerEntry((("setup_" + assetIdStr) + "_tempLT"), fraction(tempLT, 9975, 10000))]
758756 else if (if ((lt > tempLT))
759757 then (90000000 > ur)
760758 else false)
761759 then [IntegerEntry((("setup_" + assetIdStr) + "_tempLT"), fraction(tempLT, 10025, 10000))]
762760 else nil
763761 }
764762 }
765763
766764
767765
768766 @Callable(i)
769767 func shutdown (shutdown) = if ((indexOf(shutdownWhitelist, i.caller.bytes) == unit))
770768 then throw("user not in a whitelist")
771769 else [BooleanEntry("setup_active", !(shutdown))]
772770
773771
774772
775773 @Callable(i)
776774 func liquidate (debug,address,assetAmount,sAssetIdStr,bAssetIdStr,routeStr) = if (!(verifyLiquidatorRights(i.caller)))
777775 then throw("temporarily available for whitelist only")
778776 else if (!(tryGetBoolean("setup_active")))
779777 then throw("market is stopped")
780778 else {
781779 let userCollateral = calcUserCollateral(address)
782780 if ((userCollateral == userCollateral))
783781 then {
784- let $t02739427456 = getActualRate(sAssetIdStr, "sRate")
785- let sRate = $t02739427456._1
786- let ratesResult = $t02739427456._2
787- let $t02746127530 = getActualRate(bAssetIdStr, "bRate")
788- let bRate = $t02746127530._1
789- let ratesRecalcResult2 = $t02746127530._2
782+ let $t02739627458 = getActualRate(sAssetIdStr, "sRate")
783+ let sRate = $t02739627458._1
784+ let ratesResult = $t02739627458._2
785+ let $t02746327532 = getActualRate(bAssetIdStr, "bRate")
786+ let bRate = $t02746327532._1
787+ let ratesRecalcResult2 = $t02746327532._2
790788 let sAssetAmount = fraction(assetAmount, Scale16, sRate)
791789 let currentSPosition = tryGetInteger(((address + "_supplied_") + sAssetIdStr))
792790 let currentBPositionVal = tryGetInteger(((address + "_borrowed_") + bAssetIdStr))
793791 let currentBPosition = if ((currentBPositionVal > 0))
794792 then currentBPositionVal
795793 else throw("user has no borrow in this token")
796794 if ((userCollateral > 0))
797795 then throw("user can't be liquidated")
798796 else if ((sAssetAmount > currentSPosition))
799797 then throw("position to liquidate is bigger than user's supply")
800798 else {
801799 let balance0Before = getBalance(sAssetIdStr)
802800 if ((balance0Before == balance0Before))
803801 then {
804802 let balance1Before = getBalance(bAssetIdStr)
805803 if ((balance1Before == balance1Before))
806804 then {
807805 let exchangeInvoke = invoke(aggregatorAddress, "swap", [routeStr, 0], [AttachedPayment(getAssetBytes(sAssetIdStr), assetAmount)])
808806 if ((exchangeInvoke == exchangeInvoke))
809807 then {
810808 let asset0Sold = (balance0Before - getBalance(sAssetIdStr))
811809 if ((asset0Sold == asset0Sold))
812810 then {
813811 let asset1Bought = (getBalance(bAssetIdStr) - balance1Before)
814812 if ((asset1Bought == asset1Bought))
815813 then {
816814 let asset0Price = getTokenPrice(sAssetIdStr)._1
817815 let asset0Scale = calcAssetScale(sAssetIdStr)
818816 let asset0Usd = fraction(asset0Sold, asset0Price, asset0Scale)
819817 let asset1Price = getTokenPrice(bAssetIdStr)._2
820818 let asset1Scale = calcAssetScale(bAssetIdStr)
821819 let asset1Usd = fraction(asset1Bought, asset1Price, asset1Scale)
822820 let penalty = parseIntValue(split(tryGetString("setup_penalties"), ",")[value(indexOf(getMarketAssets(), bAssetIdStr))])
823821 let liquidationProfit = (asset1Usd - fraction(asset0Usd, (Scale8 - penalty), Scale8))
824822 let sAssetChange = fraction(asset0Sold, Scale16, sRate)
825823 let bAssetChange = fraction(fraction(asset1Bought, Scale16, bRate), (Scale8 - fraction(liquidationProfit, Scale8, asset1Usd)), Scale8)
826824 if ((asset0Sold > assetAmount))
827825 then throw("more assets exchanged than expected")
828826 else if ((0 > liquidationProfit))
829827 then throw("price impact is bigger than liquidation penalty")
830828 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))]
831829 }
832830 else throw("Strict value is not equal to itself.")
833831 }
834832 else throw("Strict value is not equal to itself.")
835833 }
836834 else throw("Strict value is not equal to itself.")
837835 }
838836 else throw("Strict value is not equal to itself.")
839837 }
840838 else throw("Strict value is not equal to itself.")
841839 }
842840 }
843841 else throw("Strict value is not equal to itself.")
844842 }
845843
846844
847845
848846 @Callable(i)
849847 func liquidateV2 (debug,address,sAssetIdStr) = if (!(verifyLiquidatorRights(i.caller)))
850848 then throw("temporarily available for whitelist only")
851849 else if (!(tryGetBoolean("setup_active")))
852850 then throw("market is stopped")
853851 else {
854852 let bAssetId = i.payments[0].assetId
855853 let bAssetIdStr = getAssetString(bAssetId)
856854 let bAssetAmount = i.payments[0].amount
857855 let userCollateral = calcUserCollateral(address)
858856 if ((userCollateral == userCollateral))
859857 then if ((userCollateral > 0))
860858 then throw("user can't be liquidated")
861859 else {
862860 let marketAssets = getMarketAssets()
863861 let asset1Num = value(indexOf(marketAssets, bAssetIdStr))
864862 let asset0Num = value(indexOf(marketAssets, sAssetIdStr))
865- let $t03068530747 = getActualRate(bAssetIdStr, "bRate")
866- let bRate = $t03068530747._1
867- let ratesResult = $t03068530747._2
863+ let $t03068730749 = getActualRate(bAssetIdStr, "bRate")
864+ let bRate = $t03068730749._1
865+ let ratesResult = $t03068730749._2
868866 let asset1Price = getTokenPrice(bAssetIdStr)._2
869867 let asset1Scale = calcAssetScale(bAssetIdStr)
870868 let bAmountUsd = fraction(bAssetAmount, asset1Price, asset1Scale)
871869 let penalty = parseIntValue(value(split(tryGetString("setup_penalties"), ",")[asset1Num]))
872870 let asset0Price = getTokenPrice(sAssetIdStr)._1
873871 let asset0Scale = calcAssetScale(sAssetIdStr)
874872 let sAmountUsd = fraction(bAmountUsd, (Scale8 + penalty), Scale8)
875873 let sAssetAmount = fraction(sAmountUsd, asset0Scale, asset0Price)
876874 let bAmount = fraction(bAssetAmount, Scale16, bRate)
877875 let sAmount = fraction(sAssetAmount, Scale16, ratesResult[((asset0Num * 3) + 1)].value)
878876 let currentSPosition = tryGetInteger(((address + "_supplied_") + sAssetIdStr))
879877 let currentBPositionVal = tryGetInteger(((address + "_borrowed_") + bAssetIdStr))
880878 let currentBPosition = if ((currentBPositionVal > 0))
881879 then currentBPositionVal
882880 else throw("user has no borrow in this token")
883881 if ((sAmount > currentSPosition))
884882 then throw("position to liquidate is bigger than user's supply")
885883 else if (debug)
886884 then throw("liquidation will pass")
887885 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)
888886 }
889887 else throw("Strict value is not equal to itself.")
890888 }
891889
892890
893891
894892 @Callable(i)
895893 func getUserCollateral (debug,address,minusBorrowed,afterChange) = {
896894 let assets = getMarketAssets()
897895 let ltvs = split(tryGetString("setup_ltvs"), ",")
898896 let lts = split(tryGetString("setup_lts"), ",")
899897 let rates = getActualRate(assets[0], "sRate")._2
900898 let changeHandler = split(afterChange, ",")
901899 func f (accum,next) = if ((next >= size(assets)))
902900 then accum
903901 else {
904902 let userSupplied = tryGetInteger(((address + "_supplied_") + assets[next]))
905903 let userBorrowed = tryGetInteger(((address + "_borrowed_") + assets[next]))
906904 let needTokenAccounting = if ((afterChange == ""))
907905 then if (if ((userBorrowed != 0))
908906 then true
909907 else (userSupplied != 0))
910908 then true
911909 else false
912910 else true
913911 if (needTokenAccounting)
914912 then {
915913 let assetScale = calcAssetScale(assets[next])
916914 let assetPrice = getTokenPrice(assets[next])
917915 ((accum + fraction(fraction(fraction((userSupplied + (if (if (if ((afterChange != ""))
918916 then (changeHandler[0] == assets[next])
919917 else false)
920918 then (changeHandler[1] == "supplied")
921919 else false)
922920 then parseIntValue(changeHandler[2])
923921 else 0)), rates[(next * 3)].value, Scale16), parseIntValue(ltvs[next]), Scale8), assetPrice._1, assetScale)) - (if (minusBorrowed)
924922 then fraction(fraction(fraction((userBorrowed + (if (if (if ((afterChange != ""))
925923 then (changeHandler[0] == assets[next])
926924 else false)
927925 then (changeHandler[1] == "borrowed")
928926 else false)
929927 then parseIntValue(changeHandler[2])
930928 else 0)), rates[((next * 3) + 1)].value, Scale16), Scale8, parseIntValue(lts[next])), assetPrice._2, assetScale)
931929 else 0))
932930 }
933931 else accum
934932 }
935933
936934 let result = {
937935 let $l = [0, 1, 2, 3, 4, 5]
938936 let $s = size($l)
939937 let $acc0 = 0
940938 func $f0_1 ($a,$i) = if (($i >= $s))
941939 then $a
942940 else f($a, $l[$i])
943941
944942 func $f0_2 ($a,$i) = if (($i >= $s))
945943 then $a
946944 else throw("List size exceeds 6")
947945
948946 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
949947 }
950948 if (debug)
951949 then throw(toString(result))
952950 else $Tuple2(rates, result)
953951 }
954952
955953
956954
957955 @Callable(i)
958956 func getAssetDebt (debug,address,assetIdStr) = {
959957 let userBorrowed = tryGetInteger(((address + "_borrowed_") + assetIdStr))
960958 let assetScale = calcAssetScale(assetIdStr)
961959 let rate = getActualRate(assetIdStr, "bRate")._1
962960 let result = fraction(userBorrowed, rate, Scale16)
963961 if (debug)
964962 then throw(toString(result))
965963 else $Tuple2(nil, result)
966964 }
967965
968966
969967
970968 @Callable(i)
971969 func getPrices (debug) = {
972970 let assets = getMarketAssets()
973971 func f (accum,next) = if ((next >= size(assets)))
974972 then accum
975973 else {
976974 let assetPrice = getTokenPrice(assets[next])
977975 ((((accum + toString(assetPrice._1)) + ",") + toString(assetPrice._2)) + "|")
978976 }
979977
980978 let result = {
981979 let $l = [0, 1, 2, 3, 4, 5]
982980 let $s = size($l)
983981 let $acc0 = ""
984982 func $f0_1 ($a,$i) = if (($i >= $s))
985983 then $a
986984 else f($a, $l[$i])
987985
988986 func $f0_2 ($a,$i) = if (($i >= $s))
989987 then $a
990988 else throw("List size exceeds 6")
991989
992990 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
993991 }
994992 if (debug)
995993 then throw(result)
996994 else $Tuple2(nil, result)
997995 }
998996
999997
1000998
1001999 @Callable(i)
10021000 func calculateUtilizationRatio (assetIdStr,debug) = if (debug)
10031001 then throw(toString(getUr(assetIdStr)))
10041002 else $Tuple2(nil, getUr(assetIdStr))
10051003
10061004
10071005
10081006 @Callable(i)
10091007 func calculateOutdatedUR (assetIdStr,debug) = if (debug)
10101008 then throw(toString(getOutdatedUr(assetIdStr)))
10111009 else $Tuple2(nil, getOutdatedUr(assetIdStr))
10121010
10131011
10141012
10151013 @Callable(i)
10161014 func calculateTokenRates (debug) = {
10171015 func f (accum,assetIdStr) = {
10181016 let rates = tokenRatesRecalc(assetIdStr)
10191017 $Tuple2(((((accum._1 + toString(rates[1].value)) + "|") + toString(rates[0].value)) + ","), (accum._2 ++ rates))
10201018 }
10211019
10221020 let parameter = {
10231021 let $l = getMarketAssets()
10241022 let $s = size($l)
10251023 let $acc0 = $Tuple2("", nil)
10261024 func $f0_1 ($a,$i) = if (($i >= $s))
10271025 then $a
10281026 else f($a, $l[$i])
10291027
10301028 func $f0_2 ($a,$i) = if (($i >= $s))
10311029 then $a
10321030 else throw("List size exceeds 6")
10331031
10341032 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
10351033 }
10361034 if (debug)
10371035 then throw(parameter._1)
10381036 else $Tuple2(parameter._2, parameter._1)
10391037 }
10401038
10411039
10421040
10431041 @Callable(i)
10441042 func calculateTokensInterest (debug) = {
10451043 func f (accum,assetIdStr) = {
10461044 let rate = fraction(getInterest(assetIdStr), dayBlocks, Scale8)
10471045 ((accum + toString(rate)) + ",")
10481046 }
10491047
10501048 let parameter = {
10511049 let $l = getMarketAssets()
10521050 let $s = size($l)
10531051 let $acc0 = ""
10541052 func $f0_1 ($a,$i) = if (($i >= $s))
10551053 then $a
10561054 else f($a, $l[$i])
10571055
10581056 func $f0_2 ($a,$i) = if (($i >= $s))
10591057 then $a
10601058 else throw("List size exceeds 6")
10611059
10621060 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
10631061 }
10641062 if (debug)
10651063 then throw(parameter)
10661064 else $Tuple2(nil, parameter)
10671065 }
10681066
10691067
10701068 @Verifier(tx)
10711069 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
10721070

github/deemru/w8io/169f3d6 
162.16 ms