tx · FtXphzed8JweocpfrLBxpbRufu3xPV62a2X6xPLj9BB3

3N3DnVffnUyZtz2MRbk5U7giN112WempMNd:  -0.03300000 Waves

2023.06.19 10:28 [2629211] smart account 3N3DnVffnUyZtz2MRbk5U7giN112WempMNd > SELF 0.00000000 Waves

{ "type": 13, "id": "FtXphzed8JweocpfrLBxpbRufu3xPV62a2X6xPLj9BB3", "fee": 3300000, "feeAssetId": null, "timestamp": 1687159783136, "version": 2, "chainId": 84, "sender": "3N3DnVffnUyZtz2MRbk5U7giN112WempMNd", "senderPublicKey": "3c1wAgvTRCNXCGMidVnB1j4gTYUqtwHR9tNNu2v4ZUNk", "proofs": [ "28PuwHD9x3QHKDc2zjANKX3oDRH2UfRzhEGjcABNC5iSb1dgpoyBGhqscoddE5ddD4wwUx5wGJwxaMmNYeVLQLHx" ], "script": "base64:BgKhAQgCEgkKBwgICAEICAgSABIECgIIARIECgIIARIAEgMKAQgSAwoBCBIECgIIARIECgIIARIECgIIARIAEgYKBAgICAgSBgoECAgICBIECgIICBIECgIICBIDCgEEEgMKAQgSAwoBBBIICgYECAEICAgSBQoDBAgIEgYKBAQIBAgSBQoDBAgIEgMKAQQSBAoCCAQSBAoCCAQSAwoBBBIDCgEEIwAScmVzZXJ2ZUZ1bmRBZGRyZXNzCQEHQWRkcmVzcwEBGgFUeZG1LyVCo5RRTlF1JldW6VKUxeX5QOzZAAtyZXNlcnZlRnVuZAAUAAxmbGFzaExvYW5GZWUAwIQ9AAtheGx5QWRkcmVzcwkBB0FkZHJlc3MBARoBVEdh0UpNzn/72+6l9L3Wwi2aSOpC0rlhmwAHYXhseUxQcwkAzAgCAiw4RHRNdHBWd1ZxNjJzZGNWRlZ6aDZudXByZ3pHN0xTanBMZEhuUW5yQUZnWQkAzAgCAixGTGRDMTRuVVZSeWlTWWpWck1vM1g0ZzhyWFFqTGJOUmFHQXlRQW04VjY4VgUDbmlsABFhZ2dyZWdhdG9yQWRkcmVzcwkBB0FkZHJlc3MBARoBVHmR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GljS2V5IraXqQ==", "height": 2629211, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: HuL3PdrDxgtddSUk5tzRx6rVgADLqfcrG5hVmegTVb7W Next: 7FEAxFuxT6ctEPpPt65SMM3T7Dr2cy2BDizMYAeiTtG2 Diff:
OldNewDifferences
66 let reserveFund = 20
77
88 let flashLoanFee = 1000000
9+
10+let axlyAddress = Address(base58'3MvRWw2FPEimFCTGtK7qY9uAJbM7XJ4ZfJS')
11+
12+let axlyLPs = ["8DtMtpVwVq62sdcVFVzh6nuprgzG7LSjpLdHnQnrAFgY", "FLdC14nUVRyiSYjVrMo3X4g8rXQjLbNRaGAyQAm8V68V"]
913
1014 let aggregatorAddress = Address(base58'3Mzzt65puEs2W9M1m9iFBvMEdfM5bASE1hJ')
1115
2024 case _ =>
2125 if (("8DtMtpVwVq62sdcVFVzh6nuprgzG7LSjpLdHnQnrAFgY" == $match0))
2226 then $Tuple4(2000000, 25000000, 80000000, 100000000)
23- else if (("25FEqEjRkqK6yCkiT7Lz6SAYz7gUFCtxfCChnrVFD5AT" == $match0))
27+ else if (("FLdC14nUVRyiSYjVrMo3X4g8rXQjLbNRaGAyQAm8V68V" == $match0))
2428 then $Tuple4(2000000, 25000000, 80000000, 100000000)
25- else if (("WAVES" == $match0))
26- then $Tuple4(2000000, 30000000, 80000000, 50000000)
27- else $Tuple4(0, 20000000, 80000000, 80000000)
29+ else if (("25FEqEjRkqK6yCkiT7Lz6SAYz7gUFCtxfCChnrVFD5AT" == $match0))
30+ then $Tuple4(2000000, 25000000, 80000000, 100000000)
31+ else if (("WAVES" == $match0))
32+ then $Tuple4(2000000, 30000000, 80000000, 50000000)
33+ else $Tuple4(0, 20000000, 80000000, 80000000)
2834 }
2935
3036
242248 func supplyInternal (assetIdStr,assetAmount,address) = if (!(tryGetBoolean("setup_active")))
243249 then throw("market is stopped")
244250 else {
245- let $t058705937 = getActualRate(assetIdStr, "sRate")
246- let sRate = $t058705937._1
247- let ratesRecalcResult = $t058705937._2
251+ let $t061876254 = getActualRate(assetIdStr, "sRate")
252+ let sRate = $t061876254._1
253+ let ratesRecalcResult = $t061876254._2
248254 let amount = fraction(assetAmount, Scale16, sRate, DOWN)
249255 let maxSupply = match getString(("setup_maxSupply_" + assetIdStr)) {
250256 case x: String =>
268274
269275
270276 func borrowInternal (assetIdStr,assetAmount,address) = {
271- let $t072167283 = getActualRate(assetIdStr, "bRate")
272- let bRate = $t072167283._1
273- let ratesRecalcResult = $t072167283._2
277+ let $t075337600 = getActualRate(assetIdStr, "bRate")
278+ let bRate = $t075337600._1
279+ let ratesRecalcResult = $t075337600._2
274280 let amount = fraction(assetAmount, Scale16, bRate, CEILING)
275281 let collateralValueInv = invoke(this, "getUserCollateral", [false, address, true, ((assetIdStr + ",borrowed,") + toString(amount))], nil)
276282 if ((collateralValueInv == collateralValueInv))
356362
357363 @Callable(i)
358364 func withdraw (assetIdStr,assetAmount) = {
359- let $t01082810895 = getActualRate(assetIdStr, "sRate")
360- let sRate = $t01082810895._1
361- let ratesRecalcResult = $t01082810895._2
365+ let $t01114511212 = getActualRate(assetIdStr, "sRate")
366+ let sRate = $t01114511212._1
367+ let ratesRecalcResult = $t01114511212._2
362368 let amount = fraction(assetAmount, Scale16, sRate, CEILING)
363369 let address = toString(i.caller)
364370 let assetSupplied = tryGetInteger(("total_supplied_" + assetIdStr))
409415 else {
410416 let assetIdStr = getAssetString(i.payments[0].assetId)
411417 let assetAmount = i.payments[0].amount
412- let $t01296213029 = getActualRate(assetIdStr, "bRate")
413- let bRate = $t01296213029._1
414- let ratesRecalcResult = $t01296213029._2
418+ let $t01327913346 = getActualRate(assetIdStr, "bRate")
419+ let bRate = $t01327913346._1
420+ let ratesRecalcResult = $t01327913346._2
415421 let amount = fraction(assetAmount, Scale16, bRate, CEILING)
416422 let address = toString(i.caller)
417423 let assetSupplied = tryGetInteger(("total_supplied_" + assetIdStr))
440446 else {
441447 let assetIdStr = getAssetString(i.payments[0].assetId)
442448 let assetAmount = i.payments[0].amount
443- let $t01444714514 = getActualRate(assetIdStr, "bRate")
444- let bRate = $t01444714514._1
445- let ratesRecalcResult = $t01444714514._2
449+ let $t01476414831 = getActualRate(assetIdStr, "bRate")
450+ let bRate = $t01476414831._1
451+ let ratesRecalcResult = $t01476414831._2
446452 let amount = fraction(assetAmount, Scale16, bRate, CEILING)
447453 let assetSupplied = tryGetInteger(("total_supplied_" + assetIdStr))
448454 let assetBorrowed = tryGetInteger(("total_borrowed_" + assetIdStr))
786792 let userCollateral = calcUserCollateral(address)
787793 if ((userCollateral == userCollateral))
788794 then {
789- let $t02795028012 = getActualRate(sAssetIdStr, "sRate")
790- let sRate = $t02795028012._1
791- let ratesResult = $t02795028012._2
792- let $t02801728086 = getActualRate(bAssetIdStr, "bRate")
793- let bRate = $t02801728086._1
794- let ratesRecalcResult2 = $t02801728086._2
795+ let $t02826728329 = getActualRate(sAssetIdStr, "sRate")
796+ let sRate = $t02826728329._1
797+ let ratesResult = $t02826728329._2
798+ let $t02833428403 = getActualRate(bAssetIdStr, "bRate")
799+ let bRate = $t02833428403._1
800+ let ratesRecalcResult2 = $t02833428403._2
795801 let sAssetAmount = fraction(assetAmount, Scale16, sRate)
796802 let currentSPosition = tryGetInteger(((address + "_supplied_") + sAssetIdStr))
797803 let currentBPositionVal = tryGetInteger(((address + "_borrowed_") + bAssetIdStr))
867873 let marketAssets = getMarketAssets()
868874 let asset1Num = value(indexOf(marketAssets, bAssetIdStr))
869875 let asset0Num = value(indexOf(marketAssets, sAssetIdStr))
870- let $t03124131303 = getActualRate(bAssetIdStr, "bRate")
871- let bRate = $t03124131303._1
872- let ratesResult = $t03124131303._2
876+ let $t03155831620 = getActualRate(bAssetIdStr, "bRate")
877+ let bRate = $t03155831620._1
878+ let ratesResult = $t03155831620._2
873879 let asset1Price = getTokenPrice(bAssetIdStr)._2
874880 let asset1Scale = calcAssetScale(bAssetIdStr)
875881 let bAmountUsd = fraction(bAssetAmount, asset1Price, asset1Scale)
880886 let sAssetAmount = fraction(sAmountUsd, asset0Scale, asset0Price)
881887 let bAmount = fraction(bAssetAmount, Scale16, bRate)
882888 let sAmount = fraction(sAssetAmount, Scale16, ratesResult[((asset0Num * 3) + 1)].value)
883- let currentSPosition = tryGetInteger(((address + "_supplied_") + sAssetIdStr))
884- let currentBPositionVal = tryGetInteger(((address + "_borrowed_") + bAssetIdStr))
885- let currentBPosition = if ((currentBPositionVal > 0))
886- then currentBPositionVal
887- else throw("user has no borrow in this token")
888- if ((sAmount > currentSPosition))
889- then throw("position to liquidate is bigger than user's supply")
890- else if (debug)
891- then throw("liquidation will pass")
892- 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)
889+ let inv = if ((indexOf(axlyLPs, sAssetIdStr) != unit))
890+ then {
891+ let posId = split(address, "_")[1]
892+ let addressId = split(address, "_")[0]
893+ reentrantInvoke(axlyAddress, "liquidate", [addressId, posId, sAmount], nil)
894+ }
895+ else nil
896+ if ((inv == inv))
897+ then {
898+ let currentSPosition = tryGetInteger(((address + "_supplied_") + sAssetIdStr))
899+ let currentBPositionVal = tryGetInteger(((address + "_borrowed_") + bAssetIdStr))
900+ let currentBPosition = if ((currentBPositionVal > 0))
901+ then currentBPositionVal
902+ else throw("user has no borrow in this token")
903+ if ((sAmount > currentSPosition))
904+ then throw("position to liquidate is bigger than user's supply")
905+ else if (debug)
906+ then throw("liquidation will pass")
907+ 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)
908+ }
909+ else throw("Strict value is not equal to itself.")
893910 }
894911 else throw("Strict value is not equal to itself.")
895912 }
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
9+
10+let axlyAddress = Address(base58'3MvRWw2FPEimFCTGtK7qY9uAJbM7XJ4ZfJS')
11+
12+let axlyLPs = ["8DtMtpVwVq62sdcVFVzh6nuprgzG7LSjpLdHnQnrAFgY", "FLdC14nUVRyiSYjVrMo3X4g8rXQjLbNRaGAyQAm8V68V"]
913
1014 let aggregatorAddress = Address(base58'3Mzzt65puEs2W9M1m9iFBvMEdfM5bASE1hJ')
1115
1216 let oracleStr = "3N4KbMnJH8FaM94jqxNFe2oyZ8GB7Z8yVBP"
1317
1418 let shutdownWhitelist = [base58'3PMcMiMEs6w56NRGacksXtFG5zS7doE9fpL', base58'3PAxdDSmN758L5SHSGRC5apEtQE2aApZotG', base58'3PJKmXoHJvVeQXjSJdhtkUcFDtdiQqMbUTD', base58'3PQdNxynJy5mche2kxMVc5shXWzK8Gstq3o', base58'3PHbdpaKzz8EiAngGHaFu2hVuNCdsC67qh3', base58'3P6Ksahs71SiKQgQ4qaZuFAVhqncdi2nvJQ']
1519
1620 func verifyLiquidatorRights (address) = !((address != Address(base58'3Mzzt65puEs2W9M1m9iFBvMEdfM5bASE1hJ')))
1721
1822
1923 func getRateCurve (assetIdStr) = match assetIdStr {
2024 case _ =>
2125 if (("8DtMtpVwVq62sdcVFVzh6nuprgzG7LSjpLdHnQnrAFgY" == $match0))
2226 then $Tuple4(2000000, 25000000, 80000000, 100000000)
23- else if (("25FEqEjRkqK6yCkiT7Lz6SAYz7gUFCtxfCChnrVFD5AT" == $match0))
27+ else if (("FLdC14nUVRyiSYjVrMo3X4g8rXQjLbNRaGAyQAm8V68V" == $match0))
2428 then $Tuple4(2000000, 25000000, 80000000, 100000000)
25- else if (("WAVES" == $match0))
26- then $Tuple4(2000000, 30000000, 80000000, 50000000)
27- else $Tuple4(0, 20000000, 80000000, 80000000)
29+ else if (("25FEqEjRkqK6yCkiT7Lz6SAYz7gUFCtxfCChnrVFD5AT" == $match0))
30+ then $Tuple4(2000000, 25000000, 80000000, 100000000)
31+ else if (("WAVES" == $match0))
32+ then $Tuple4(2000000, 30000000, 80000000, 50000000)
33+ else $Tuple4(0, 20000000, 80000000, 80000000)
2834 }
2935
3036
3137 let Scale8 = 100000000
3238
3339 let Scale10 = 10000000000
3440
3541 let Scale16 = (Scale8 * Scale8)
3642
3743 let dayBlocks = 1440
3844
3945 func liIntToStr (li) = {
4046 func f (accum,next) = ((accum + toString(next)) + ",")
4147
4248 let $l = li
4349 let $s = size($l)
4450 let $acc0 = ""
4551 func $f0_1 ($a,$i) = if (($i >= $s))
4652 then $a
4753 else f($a, $l[$i])
4854
4955 func $f0_2 ($a,$i) = if (($i >= $s))
5056 then $a
5157 else throw("List size exceeds 6")
5258
5359 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
5460 }
5561
5662
5763 func tryGetInteger (key) = match getInteger(this, key) {
5864 case b: Int =>
5965 b
6066 case _ =>
6167 0
6268 }
6369
6470
6571 func tryGetBoolean (key) = match getBoolean(this, key) {
6672 case b: Boolean =>
6773 b
6874 case _ =>
6975 false
7076 }
7177
7278
7379 func tryGetString (key) = match getString(this, key) {
7480 case b: String =>
7581 b
7682 case _ =>
7783 ""
7884 }
7985
8086
8187 func tryGetBinary (key) = match getBinary(this, key) {
8288 case b: ByteVector =>
8389 b
8490 case _ =>
8591 base58''
8692 }
8793
8894
8995 func getAssetString (assetId) = match assetId {
9096 case b: ByteVector =>
9197 toBase58String(b)
9298 case _ =>
9399 "WAVES"
94100 }
95101
96102
97103 func getAssetBytes (assetIdStr) = if ((assetIdStr == "WAVES"))
98104 then unit
99105 else fromBase58String(assetIdStr)
100106
101107
102108 func getBalance (assetIdStr) = if ((assetIdStr == "WAVES"))
103109 then wavesBalance(this).available
104110 else assetBalance(this, fromBase58String(assetIdStr))
105111
106112
107113 func getMarketAssets () = split(tryGetString("setup_tokens"), ",")
108114
109115
110116 func getAssetsMaxSupply () = {
111117 let s = tryGetString("setup_maxsupply")
112118 if ((s == ""))
113119 then [-1, -1, -1, -1, -1, -1, -1]
114120 else split(s, ",")
115121 }
116122
117123
118124 func getOutdatedUr (assetIdStr) = {
119125 let down = fraction(tryGetInteger(("total_supplied_" + assetIdStr)), tryGetInteger((assetIdStr + "_sRate")), Scale16)
120126 if ((down == 0))
121127 then 0
122128 else fraction(Scale8, fraction(tryGetInteger(("total_borrowed_" + assetIdStr)), tryGetInteger((assetIdStr + "_bRate")), Scale16), down)
123129 }
124130
125131
126132 func getInterest (assetIdStr) = {
127133 let ur = getOutdatedUr(assetIdStr)
128134 let curve = getRateCurve(assetIdStr)
129135 let rate = (curve._1 + (if ((curve._3 >= ur))
130136 then fraction(ur, curve._2, curve._3)
131137 else (curve._2 + fraction((ur - curve._3), curve._4, (100000000 - curve._3)))))
132138 max([fraction(rate, Scale8, (dayBlocks * 365)), 1])
133139 }
134140
135141
136142 func tokenRatesRecalc (assetIdStr) = {
137143 let interest = getInterest(assetIdStr)
138144 let ur = getOutdatedUr(assetIdStr)
139145 let lastRecalcHeight = tryGetInteger("lastRateHeight")
140146 let lastBRate = max([tryGetInteger((assetIdStr + "_bRate")), Scale16])
141147 let newBRate = (lastBRate + ((height - lastRecalcHeight) * interest))
142148 let lastSRate = max([tryGetInteger((assetIdStr + "_sRate")), Scale16])
143149 let newSRate = (lastSRate + ((((height - lastRecalcHeight) * fraction(interest, ur, Scale8)) * (100 - reserveFund)) / 100))
144150 [IntegerEntry((assetIdStr + "_sRate"), newSRate), IntegerEntry((assetIdStr + "_bRate"), newBRate), IntegerEntry("lastRateHeight", height)]
145151 }
146152
147153
148154 func getActualRate (assetIdStr,rateType) = {
149155 func f (accum,token) = {
150156 let recalc = tokenRatesRecalc(token)
151157 $Tuple2(if ((token != assetIdStr))
152158 then accum._1
153159 else if ((rateType == "sRate"))
154160 then recalc[0].value
155161 else recalc[1].value, (accum._2 ++ recalc))
156162 }
157163
158164 let $l = getMarketAssets()
159165 let $s = size($l)
160166 let $acc0 = $Tuple2(0, nil)
161167 func $f0_1 ($a,$i) = if (($i >= $s))
162168 then $a
163169 else f($a, $l[$i])
164170
165171 func $f0_2 ($a,$i) = if (($i >= $s))
166172 then $a
167173 else throw("List size exceeds 6")
168174
169175 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
170176 }
171177
172178
173179 func getUr (assetIdStr) = {
174180 let rates = tokenRatesRecalc(assetIdStr)
175181 let down = fraction(tryGetInteger(("total_supplied_" + assetIdStr)), rates[0].value, Scale16)
176182 fraction(Scale8, fraction(tryGetInteger(("total_borrowed_" + assetIdStr)), rates[1].value, Scale16), down)
177183 }
178184
179185
180186 func ratesRecalc () = {
181187 func f (accum,token) = (accum ++ tokenRatesRecalc(token))
182188
183189 let $l = getMarketAssets()
184190 let $s = size($l)
185191 let $acc0 = nil
186192 func $f0_1 ($a,$i) = if (($i >= $s))
187193 then $a
188194 else f($a, $l[$i])
189195
190196 func $f0_2 ($a,$i) = if (($i >= $s))
191197 then $a
192198 else throw("List size exceeds 6")
193199
194200 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
195201 }
196202
197203
198204 func getTokenPrice (assetIdStr) = {
199205 let inv3 = invoke(addressFromStringValue(oracleStr), "getTWAP60", [assetIdStr, false], nil)
200206 if ((inv3 == inv3))
201207 then {
202208 let data3 = match inv3 {
203209 case x: (Int, Int) =>
204210 x
205211 case _ =>
206212 throw("error of price oracle")
207213 }
208214 if ((data3 == data3))
209215 then data3
210216 else throw("Strict value is not equal to itself.")
211217 }
212218 else throw("Strict value is not equal to itself.")
213219 }
214220
215221
216222 func calcAssetScale (assetIdStr) = {
217223 let decimals = if ((assetIdStr == "WAVES"))
218224 then 8
219225 else value(assetInfo(fromBase58String(assetIdStr))).decimals
220226 pow(10, 0, decimals, 0, 0, DOWN)
221227 }
222228
223229
224230 func calcUserCollateral (address) = {
225231 let userCollateralInvoke = invoke(this, "getUserCollateral", [false, address, true, ""], nil)
226232 if ((userCollateralInvoke == userCollateralInvoke))
227233 then {
228234 let userCollateralValue = match userCollateralInvoke {
229235 case x: Int =>
230236 x
231237 case _ =>
232238 throw("issue while doing in-dapp invocation")
233239 }
234240 if ((userCollateralValue == userCollateralValue))
235241 then userCollateralValue
236242 else throw("Strict value is not equal to itself.")
237243 }
238244 else throw("Strict value is not equal to itself.")
239245 }
240246
241247
242248 func supplyInternal (assetIdStr,assetAmount,address) = if (!(tryGetBoolean("setup_active")))
243249 then throw("market is stopped")
244250 else {
245- let $t058705937 = getActualRate(assetIdStr, "sRate")
246- let sRate = $t058705937._1
247- let ratesRecalcResult = $t058705937._2
251+ let $t061876254 = getActualRate(assetIdStr, "sRate")
252+ let sRate = $t061876254._1
253+ let ratesRecalcResult = $t061876254._2
248254 let amount = fraction(assetAmount, Scale16, sRate, DOWN)
249255 let maxSupply = match getString(("setup_maxSupply_" + assetIdStr)) {
250256 case x: String =>
251257 parseIntValue(x)
252258 case _ =>
253259 0
254260 }
255261 let assetPrice = getTokenPrice(assetIdStr)
256262 let newTotalSupplied = (tryGetInteger(((address + "_supplied_") + assetIdStr)) + amount)
257263 let rate = getActualRate(assetIdStr, "sRate")._1
258264 let assetScale = calcAssetScale(assetIdStr)
259265 let newTotalSuppliedUsd = fraction(fraction(newTotalSupplied, rate, Scale16), assetPrice._1, assetScale)
260266 if ((indexOf(tryGetString("setup_tokens"), assetIdStr) == unit))
261267 then throw("this asset is not supported by the market")
262268 else if (if ((maxSupply != 0))
263269 then (newTotalSuppliedUsd > maxSupply)
264270 else false)
265271 then throw("max total supply for this token reached in the pool")
266272 else $Tuple2(([IntegerEntry(((address + "_supplied_") + assetIdStr), newTotalSupplied), IntegerEntry(("total_supplied_" + assetIdStr), (tryGetInteger(("total_supplied_" + assetIdStr)) + amount))] ++ ratesRecalcResult), assetAmount)
267273 }
268274
269275
270276 func borrowInternal (assetIdStr,assetAmount,address) = {
271- let $t072167283 = getActualRate(assetIdStr, "bRate")
272- let bRate = $t072167283._1
273- let ratesRecalcResult = $t072167283._2
277+ let $t075337600 = getActualRate(assetIdStr, "bRate")
278+ let bRate = $t075337600._1
279+ let ratesRecalcResult = $t075337600._2
274280 let amount = fraction(assetAmount, Scale16, bRate, CEILING)
275281 let collateralValueInv = invoke(this, "getUserCollateral", [false, address, true, ((assetIdStr + ",borrowed,") + toString(amount))], nil)
276282 if ((collateralValueInv == collateralValueInv))
277283 then {
278284 let collateralValue = match collateralValueInv {
279285 case x: Int =>
280286 x
281287 case _ =>
282288 throw("can't get user collateral value")
283289 }
284290 if (!(tryGetBoolean("setup_active")))
285291 then throw("market is stopped")
286292 else {
287293 let assetSupplied = tryGetInteger(("total_supplied_" + assetIdStr))
288294 let assetBorrowed = tryGetInteger(("total_borrowed_" + assetIdStr))
289295 let userAssetBorrowed = tryGetInteger(((address + "_borrowed_") + assetIdStr))
290296 if ((amount > (assetSupplied - assetBorrowed)))
291297 then throw("this amount is not available")
292298 else $Tuple2(([IntegerEntry(((address + "_borrowed_") + assetIdStr), (userAssetBorrowed + amount)), IntegerEntry(("total_borrowed_" + assetIdStr), (assetBorrowed + amount))] ++ ratesRecalcResult), assetAmount)
293299 }
294300 }
295301 else throw("Strict value is not equal to itself.")
296302 }
297303
298304
299305 @Callable(i)
300306 func flashPosition (user,sAssetIdStr,bAssetIdStr,bAmount,callbackAddress,callbackFunction,callbackArgs) = {
301307 let borrowRes = borrowInternal(bAssetIdStr, bAmount, user)
302308 let bAssetId = getAssetBytes(bAssetIdStr)
303309 let callback = reentrantInvoke(addressFromStringValue(callbackAddress), callbackFunction, split(callbackArgs, ","), [AttachedPayment(bAssetId, bAmount)])
304310 if ((callback == callback))
305311 then {
306312 let sAmount = {
307313 let @ = callback
308314 if ($isInstanceOf(@, "Int"))
309315 then @
310316 else throw(($getType(@) + " couldn't be cast to Int"))
311317 }
312318 if ((sAmount == sAmount))
313319 then {
314320 let supplyRes = supplyInternal(sAssetIdStr, sAmount, user)
315321 let collateralValue = {
316322 let @ = invoke(this, "getUserCollateral", [false, user, true, ((sAssetIdStr + ",supplied,") + toString(sAmount))], nil)
317323 if ($isInstanceOf(@, "Int"))
318324 then @
319325 else throw(($getType(@) + " couldn't be cast to Int"))
320326 }
321327 if ((collateralValue == collateralValue))
322328 then {
323329 let borrowValue = {
324330 let @ = invoke(this, "getUserCollateral", [false, user, true, ((bAssetIdStr + ",borrowed,") + toString(bAmount))], nil)
325331 if ($isInstanceOf(@, "Int"))
326332 then @
327333 else throw(($getType(@) + " couldn't be cast to Int"))
328334 }
329335 if ((borrowValue == borrowValue))
330336 then if ((borrowValue > collateralValue))
331337 then throw("not enough collateral provided")
332338 else (borrowRes._1 ++ supplyRes._1)
333339 else throw("Strict value is not equal to itself.")
334340 }
335341 else throw("Strict value is not equal to itself.")
336342 }
337343 else throw("Strict value is not equal to itself.")
338344 }
339345 else throw("Strict value is not equal to itself.")
340346 }
341347
342348
343349
344350 @Callable(i)
345351 func supply () = if (if ((size(i.payments) != 1))
346352 then true
347353 else (i.payments[0].amount == 0))
348354 then throw("1 payment has to be attached")
349355 else {
350356 let assetIdStr = getAssetString(i.payments[0].assetId)
351357 let assetAmount = i.payments[0].amount
352358 supplyInternal(assetIdStr, assetAmount, toString(i.caller))
353359 }
354360
355361
356362
357363 @Callable(i)
358364 func withdraw (assetIdStr,assetAmount) = {
359- let $t01082810895 = getActualRate(assetIdStr, "sRate")
360- let sRate = $t01082810895._1
361- let ratesRecalcResult = $t01082810895._2
365+ let $t01114511212 = getActualRate(assetIdStr, "sRate")
366+ let sRate = $t01114511212._1
367+ let ratesRecalcResult = $t01114511212._2
362368 let amount = fraction(assetAmount, Scale16, sRate, CEILING)
363369 let address = toString(i.caller)
364370 let assetSupplied = tryGetInteger(("total_supplied_" + assetIdStr))
365371 let assetBorrowed = tryGetInteger(("total_borrowed_" + assetIdStr))
366372 let userAssetSupplied = tryGetInteger(((address + "_supplied_") + assetIdStr))
367373 let userAssetBorrowed = tryGetInteger(((address + "_borrowed_") + assetIdStr))
368374 let collateralValueInv = invoke(this, "getUserCollateral", [false, address, true, ((assetIdStr + ",supplied,") + toString(-(amount)))], nil)
369375 if ((collateralValueInv == collateralValueInv))
370376 then {
371377 let collateralValue = match collateralValueInv {
372378 case x: Int =>
373379 x
374380 case _ =>
375381 throw("can't get user collateral value")
376382 }
377383 if (!(tryGetBoolean("setup_active")))
378384 then throw("market is stopped")
379385 else if ((0 > collateralValue))
380386 then throw("you dont have enough collateral for this operation")
381387 else if ((amount > (assetSupplied - assetBorrowed)))
382388 then throw("this amount is not available on the market")
383389 else if ((amount > (userAssetSupplied - userAssetBorrowed)))
384390 then throw("this amount is not available for this user")
385391 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)
386392 }
387393 else throw("Strict value is not equal to itself.")
388394 }
389395
390396
391397
392398 @Callable(i)
393399 func borrow (assetIdStr,assetAmount) = {
394400 let address = toString(i.caller)
395401 let res = borrowInternal(assetIdStr, assetAmount, address)
396402 let amount = res._2
397403 (res._1 ++ [ScriptTransfer(i.caller, amount, getAssetBytes(assetIdStr))])
398404 }
399405
400406
401407
402408 @Callable(i)
403409 func repay () = if (!(tryGetBoolean("setup_active")))
404410 then throw("market is stopped")
405411 else if (if ((size(i.payments) != 1))
406412 then true
407413 else (i.payments[0].amount == 0))
408414 then throw("1 payment has to be attached")
409415 else {
410416 let assetIdStr = getAssetString(i.payments[0].assetId)
411417 let assetAmount = i.payments[0].amount
412- let $t01296213029 = getActualRate(assetIdStr, "bRate")
413- let bRate = $t01296213029._1
414- let ratesRecalcResult = $t01296213029._2
418+ let $t01327913346 = getActualRate(assetIdStr, "bRate")
419+ let bRate = $t01327913346._1
420+ let ratesRecalcResult = $t01327913346._2
415421 let amount = fraction(assetAmount, Scale16, bRate, CEILING)
416422 let address = toString(i.caller)
417423 let assetSupplied = tryGetInteger(("total_supplied_" + assetIdStr))
418424 let assetBorrowed = tryGetInteger(("total_borrowed_" + assetIdStr))
419425 let userAssetBorrowed = tryGetInteger(((address + "_borrowed_") + assetIdStr))
420426 let amountLeft = (userAssetBorrowed - amount)
421427 let repayAmount = if ((amountLeft >= 0))
422428 then amount
423429 else userAssetBorrowed
424430 if ((indexOf(tryGetString("setup_tokens"), assetIdStr) == unit))
425431 then throw("this asset is not supported by the market")
426432 else (([IntegerEntry(((address + "_borrowed_") + assetIdStr), (userAssetBorrowed - repayAmount)), IntegerEntry(("total_borrowed_" + assetIdStr), (assetBorrowed - repayAmount))] ++ ratesRecalcResult) ++ (if ((amountLeft >= 0))
427433 then nil
428434 else [ScriptTransfer(i.caller, -(amountLeft), i.payments[0].assetId)]))
429435 }
430436
431437
432438
433439 @Callable(i)
434440 func repayFor (address) = if (!(tryGetBoolean("setup_active")))
435441 then throw("market is stopped")
436442 else if (if ((size(i.payments) != 1))
437443 then true
438444 else (i.payments[0].amount == 0))
439445 then throw("1 payment has to be attached")
440446 else {
441447 let assetIdStr = getAssetString(i.payments[0].assetId)
442448 let assetAmount = i.payments[0].amount
443- let $t01444714514 = getActualRate(assetIdStr, "bRate")
444- let bRate = $t01444714514._1
445- let ratesRecalcResult = $t01444714514._2
449+ let $t01476414831 = getActualRate(assetIdStr, "bRate")
450+ let bRate = $t01476414831._1
451+ let ratesRecalcResult = $t01476414831._2
446452 let amount = fraction(assetAmount, Scale16, bRate, CEILING)
447453 let assetSupplied = tryGetInteger(("total_supplied_" + assetIdStr))
448454 let assetBorrowed = tryGetInteger(("total_borrowed_" + assetIdStr))
449455 let userAssetBorrowed = tryGetInteger(((address + "_borrowed_") + assetIdStr))
450456 let amountLeft = (userAssetBorrowed - amount)
451457 let repayAmount = if ((amountLeft >= 0))
452458 then amount
453459 else userAssetBorrowed
454460 if ((indexOf(tryGetString("setup_tokens"), assetIdStr) == unit))
455461 then throw("this asset is not supported by the market")
456462 else (([IntegerEntry(((address + "_borrowed_") + assetIdStr), (userAssetBorrowed - repayAmount)), IntegerEntry(("total_borrowed_" + assetIdStr), (assetBorrowed - repayAmount))] ++ ratesRecalcResult) ++ (if ((amountLeft >= 0))
457463 then nil
458464 else [ScriptTransfer(i.caller, -(amountLeft), i.payments[0].assetId)]))
459465 }
460466
461467
462468
463469 @Callable(i)
464470 func stakeTokenAll (assetIdStr) = if ((i.caller != this))
465471 then throw("only for internal smart contract invocations")
466472 else {
467473 let amount = getBalance(assetIdStr)
468474 let inv = invoke(this, "stakeToken", [assetIdStr, amount], nil)
469475 if ((inv == inv))
470476 then nil
471477 else throw("Strict value is not equal to itself.")
472478 }
473479
474480
475481
476482 @Callable(i)
477483 func stakeToken (assetIdStr,amount) = if ((i.caller != this))
478484 then throw("only for internal smart contract invocations")
479485 else if ((assetIdStr == "DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p"))
480486 then {
481487 let amountStaked = tryGetInteger("autostake_amount_DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p")
482488 let inv = invoke(Address(base58'3PNikM6yp4NqcSU8guxQtmR5onr2D4e8yTJ'), "stake", nil, [AttachedPayment(base58'DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p', amount)])
483489 if ((inv == inv))
484490 then [IntegerEntry("autostake_amount_DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p", (amountStaked + amount))]
485491 else throw("Strict value is not equal to itself.")
486492 }
487493 else if ((assetIdStr == "8t4DPWTwPzpatHA9AkTxWAB47THnYzBsDnoY7fQqbG91"))
488494 then {
489495 let amountStaked = tryGetInteger("autostake_amount_8t4DPWTwPzpatHA9AkTxWAB47THnYzBsDnoY7fQqbG91")
490496 let inv = invoke(Address(base58'3PQTM38wDmAY9vWonK6ha7QL3PAycLz5oPP'), "stake", nil, [AttachedPayment(base58'8t4DPWTwPzpatHA9AkTxWAB47THnYzBsDnoY7fQqbG91', amount)])
491497 if ((inv == inv))
492498 then [IntegerEntry("autostake_amount_8t4DPWTwPzpatHA9AkTxWAB47THnYzBsDnoY7fQqbG91", (amountStaked + amount))]
493499 else throw("Strict value is not equal to itself.")
494500 }
495501 else if ((assetIdStr == "At8D6NFFpheCbvKVnjVoeLL84Eo8NZn6ovManxfLaFWL"))
496502 then {
497503 let amountStaked = tryGetInteger("autostake_amount_At8D6NFFpheCbvKVnjVoeLL84Eo8NZn6ovManxfLaFWL")
498504 let inv = invoke(Address(base58'3PBiotFpqjRMkkeFBccnQNUXUopy7KFez5C'), "stake", nil, [AttachedPayment(base58'At8D6NFFpheCbvKVnjVoeLL84Eo8NZn6ovManxfLaFWL', amount)])
499505 if ((inv == inv))
500506 then [IntegerEntry("autostake_amount_At8D6NFFpheCbvKVnjVoeLL84Eo8NZn6ovManxfLaFWL", (amountStaked + amount))]
501507 else throw("Strict value is not equal to itself.")
502508 }
503509 else nil
504510
505511
506512
507513 @Callable(i)
508514 func unstakeToken (assetIdStr,amount) = if ((i.caller != this))
509515 then throw("only for internal smart contract invocations")
510516 else if ((assetIdStr == "8t4DPWTwPzpatHA9AkTxWAB47THnYzBsDnoY7fQqbG91"))
511517 then {
512518 let amountStaked = tryGetInteger("autostake_amount_8t4DPWTwPzpatHA9AkTxWAB47THnYzBsDnoY7fQqbG91")
513519 let inv = invoke(Address(base58'3PQTM38wDmAY9vWonK6ha7QL3PAycLz5oPP'), "unStake", [amount], nil)
514520 if ((inv == inv))
515521 then [IntegerEntry("autostake_amount_8t4DPWTwPzpatHA9AkTxWAB47THnYzBsDnoY7fQqbG91", (amountStaked - amount))]
516522 else throw("Strict value is not equal to itself.")
517523 }
518524 else if ((assetIdStr == "At8D6NFFpheCbvKVnjVoeLL84Eo8NZn6ovManxfLaFWL"))
519525 then {
520526 let amountStaked = tryGetInteger("autostake_amount_At8D6NFFpheCbvKVnjVoeLL84Eo8NZn6ovManxfLaFWL")
521527 let inv = invoke(Address(base58'3PBiotFpqjRMkkeFBccnQNUXUopy7KFez5C'), "unstake", [amount], nil)
522528 if ((inv == inv))
523529 then {
524530 let bal0 = getBalance("At8D6NFFpheCbvKVnjVoeLL84Eo8NZn6ovManxfLaFWL")
525531 if ((bal0 == bal0))
526532 then {
527533 let inv2 = invoke(Address(base58'3PQrVbTVpqXHqpVKftkNdjy3zZAh4dsRzN6'), "gnsbtRewardsSYSREADONLY", [toString(this)], nil)
528534 if ((inv2 == inv2))
529535 then {
530536 let topupRewards = match inv2 {
531537 case x: List[Any] =>
532538 let secondEl = x[1]
533539 match secondEl {
534540 case secondEl: String =>
535541 let usdnValue = parseIntValue(split(split(secondEl, "_")[1], ":")[1])
536542 let wavesValue = parseIntValue(split(split(secondEl, "_")[0], ":")[1])
537543 if (if ((usdnValue != 0))
538544 then true
539545 else (wavesValue != 0))
540546 then {
541547 let usdnBal0 = getBalance("DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p")
542548 if ((usdnBal0 == usdnBal0))
543549 then {
544550 let wavesBal0 = getBalance("WAVES")
545551 if ((wavesBal0 == wavesBal0))
546552 then {
547553 let inv3 = invoke(Address(base58'3PBiotFpqjRMkkeFBccnQNUXUopy7KFez5C'), "claimRewards", nil, nil)
548554 if ((inv3 == inv3))
549555 then {
550556 let wavesBal1 = getBalance("WAVES")
551557 if ((wavesBal1 == wavesBal1))
552558 then {
553559 let inv4 = invoke(Address(base58'3PLiXyywNThdvf3vVEUxwc7TJTucjZvuegh'), "swap", ["DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p", 0], [AttachedPayment(unit, (wavesBal1 - wavesBal0))])
554560 if ((inv4 == inv4))
555561 then {
556562 let usdnBal1 = getBalance("DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p")
557563 if ((usdnBal1 == usdnBal1))
558564 then {
559565 let inv5 = invoke(Address(base58'3P7r93vXHuusageNJVGwzqaz3WMotAu49Yz'), "swap", ["At8D6NFFpheCbvKVnjVoeLL84Eo8NZn6ovManxfLaFWL", 0], [AttachedPayment(base58'DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p', (usdnBal1 - usdnBal0))])
560566 if ((inv5 == inv5))
561567 then {
562568 let inv6 = invoke(this, "addInterest", ["At8D6NFFpheCbvKVnjVoeLL84Eo8NZn6ovManxfLaFWL", (getBalance("At8D6NFFpheCbvKVnjVoeLL84Eo8NZn6ovManxfLaFWL") - bal0)], nil)
563569 if ((inv6 == inv6))
564570 then 2
565571 else throw("Strict value is not equal to itself.")
566572 }
567573 else throw("Strict value is not equal to itself.")
568574 }
569575 else throw("Strict value is not equal to itself.")
570576 }
571577 else throw("Strict value is not equal to itself.")
572578 }
573579 else throw("Strict value is not equal to itself.")
574580 }
575581 else throw("Strict value is not equal to itself.")
576582 }
577583 else throw("Strict value is not equal to itself.")
578584 }
579585 else throw("Strict value is not equal to itself.")
580586 }
581587 else 1
582588 case _ =>
583589 1
584590 }
585591 case _ =>
586592 0
587593 }
588594 if ((topupRewards == topupRewards))
589595 then [IntegerEntry("autostake_amount_At8D6NFFpheCbvKVnjVoeLL84Eo8NZn6ovManxfLaFWL", (amountStaked - amount))]
590596 else throw("Strict value is not equal to itself.")
591597 }
592598 else throw("Strict value is not equal to itself.")
593599 }
594600 else throw("Strict value is not equal to itself.")
595601 }
596602 else throw("Strict value is not equal to itself.")
597603 }
598604 else nil
599605
600606
601607
602608 @Callable(i)
603609 func addInterest (assetIdStr,amount) = if ((i.caller != this))
604610 then throw("only for self invocation")
605611 else {
606612 let earned = tryGetInteger(("autostake_lastEarned_" + assetIdStr))
607613 let lastHeight = tryGetInteger(("autostake_lastBlock_" + assetIdStr))
608614 let cleanAmount = fraction(amount, 80, 100)
609615 let stateChanges = if (if ((lastHeight == height))
610616 then true
611617 else (amount == 0))
612618 then nil
613619 else [IntegerEntry(("autostake_preLastEarned_" + assetIdStr), earned), IntegerEntry(("autostake_preLastBlock_" + assetIdStr), lastHeight), IntegerEntry(("autostake_lastEarned_" + assetIdStr), (earned + cleanAmount)), IntegerEntry(("autostake_lastBlock_" + assetIdStr), height)]
614620 (stateChanges ++ [IntegerEntry((assetIdStr + "_sRate"), (tryGetInteger((assetIdStr + "_sRate")) + fraction(Scale16, cleanAmount, tryGetInteger(("total_supplied_" + assetIdStr)))))])
615621 }
616622
617623
618624
619625 @Callable(i)
620626 func addInterestEXTERNAL () = {
621627 let amount = fraction(i.payments[0].amount, 80, 100)
622628 let assetId = i.payments[0].assetId
623629 let assetIdStr = getAssetString(assetId)
624630 let earned = tryGetInteger(("autostake_lastEarned_" + assetIdStr))
625631 let lastHeight = tryGetInteger(("autostake_lastBlock_" + assetIdStr))
626632 let stateChanges = if (if ((lastHeight == height))
627633 then true
628634 else (amount == 0))
629635 then nil
630636 else [IntegerEntry(("autostake_preLastEarned_" + assetIdStr), earned), IntegerEntry(("autostake_preLastBlock_" + assetIdStr), lastHeight), IntegerEntry(("autostake_lastEarned_" + assetIdStr), (earned + amount)), IntegerEntry(("autostake_lastBlock_" + assetIdStr), height)]
631637 (stateChanges ++ [IntegerEntry((assetIdStr + "_sRate"), (tryGetInteger((assetIdStr + "_sRate")) + fraction(Scale16, amount, tryGetInteger(("total_supplied_" + assetIdStr)))))])
632638 }
633639
634640
635641
636642 @Callable(i)
637643 func preInit (tokens,ltvs,lts,penalties) = {
638644 func f (accum,token) = (accum ++ [IntegerEntry((token + "_bRate"), Scale16), IntegerEntry((token + "_sRate"), Scale16)])
639645
640646 if ((i.caller != this))
641647 then throw("admin only")
642648 else {
643649 let rates = {
644650 let $l = split(tokens, ",")
645651 let $s = size($l)
646652 let $acc0 = nil
647653 func $f0_1 ($a,$i) = if (($i >= $s))
648654 then $a
649655 else f($a, $l[$i])
650656
651657 func $f0_2 ($a,$i) = if (($i >= $s))
652658 then $a
653659 else throw("List size exceeds 6")
654660
655661 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
656662 }
657663 ([StringEntry("setup_tokens", tokens), StringEntry("setup_ltvs", ltvs), StringEntry("setup_lts", lts), StringEntry("setup_penalties", penalties), BooleanEntry("setup_active", true)] ++ rates)
658664 }
659665 }
660666
661667
662668
663669 @Callable(i)
664670 func initNewToken (token,ltv,lt,penalty) = if ((i.caller != this))
665671 then throw("admin only")
666672 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)]
667673
668674
669675
670676 @Callable(i)
671677 func updateParameter (key,val) = if (if ((i.caller != this))
672678 then (i.caller != Address(base58'3P3o9cLTV2u9N4nYNKRYL6gy6cUEU9DwXW8'))
673679 else false)
674680 then throw("admin only")
675681 else [IntegerEntry(key, parseIntValue(val))]
676682
677683
678684
679685 @Callable(i)
680686 func updateString (key,val) = if (if ((i.caller != this))
681687 then (i.caller != Address(base58'3P3o9cLTV2u9N4nYNKRYL6gy6cUEU9DwXW8'))
682688 else false)
683689 then throw("admin only")
684690 else [StringEntry(key, val)]
685691
686692
687693
688694 @Callable(i)
689695 func claimToReserveFund (debug) = {
690696 let assets = getMarketAssets()
691697 let rates = getActualRate(assets[0], "sRate")._2
692698 let li = [0, 1, 2, 3, 4, 5]
693699 func f (accum,n) = if ((n >= size(assets)))
694700 then accum
695701 else {
696702 let assetIdStr = assets[n]
697703 let autostakeAmount = tryGetString(("autostake_amount_" + assetIdStr))
698704 let amount = ((((getBalance(assetIdStr) + tryGetInteger(("autostake_amount_" + assetIdStr))) + (if ((autostakeAmount != ""))
699705 then parseIntValue(autostakeAmount)
700706 else 0)) + fraction(tryGetInteger(("total_borrowed_" + assetIdStr)), rates[((n * 3) + 1)].value, Scale16)) - fraction(tryGetInteger(("total_supplied_" + assetIdStr)), rates[(n * 3)].value, Scale16))
701707 let inv = if ((tryGetInteger(("autostake_amount_" + assetIdStr)) > 0))
702708 then invoke(this, "unstakeToken", [assetIdStr, max([amount, 0])], nil)
703709 else 0
704710 if ((inv == inv))
705711 then (accum ++ [amount])
706712 else throw("Strict value is not equal to itself.")
707713 }
708714
709715 let parameter = {
710716 let $l = li
711717 let $s = size($l)
712718 let $acc0 = nil
713719 func $f0_1 ($a,$i) = if (($i >= $s))
714720 then $a
715721 else f($a, $l[$i])
716722
717723 func $f0_2 ($a,$i) = if (($i >= $s))
718724 then $a
719725 else throw("List size exceeds 6")
720726
721727 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
722728 }
723729 func f2 (accum,n) = if ((n >= size(assets)))
724730 then accum
725731 else {
726732 let assetIdStr = assets[n]
727733 (accum ++ [ScriptTransfer(reserveFundAddress, max([parameter[n], 0]), getAssetBytes(assetIdStr))])
728734 }
729735
730736 if (debug)
731737 then throw(liIntToStr(parameter))
732738 else $Tuple2({
733739 let $l = li
734740 let $s = size($l)
735741 let $acc0 = nil
736742 func $f1_1 ($a,$i) = if (($i >= $s))
737743 then $a
738744 else f2($a, $l[$i])
739745
740746 func $f1_2 ($a,$i) = if (($i >= $s))
741747 then $a
742748 else throw("List size exceeds 6")
743749
744750 $f1_2($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($acc0, 0), 1), 2), 3), 4), 5), 6)
745751 }, parameter)
746752 }
747753
748754
749755
750756 @Callable(i)
751757 func reSetup (assetIdStr) = {
752758 let lastResetup = tryGetInteger("resetup_lastUpdate")
753759 if ((dayBlocks > (height - lastResetup)))
754760 then throw("can be updated only once per day")
755761 else {
756762 let lts = split(tryGetString("setup_lts"), ",")
757763 let assets = getMarketAssets()
758764 let ur = getUr(assetIdStr)
759765 let tempLT = tryGetInteger((("setup_" + assetIdStr) + "_tempLT"))
760766 let lt = parseIntValue(assets[value(indexOf(assets, assetIdStr))])
761767 if ((ur > 90000000))
762768 then [IntegerEntry((("setup_" + assetIdStr) + "_tempLT"), fraction(tempLT, 9975, 10000))]
763769 else if (if ((lt > tempLT))
764770 then (90000000 > ur)
765771 else false)
766772 then [IntegerEntry((("setup_" + assetIdStr) + "_tempLT"), fraction(tempLT, 10025, 10000))]
767773 else nil
768774 }
769775 }
770776
771777
772778
773779 @Callable(i)
774780 func shutdown (shutdown) = if ((indexOf(shutdownWhitelist, i.caller.bytes) == unit))
775781 then throw("user not in a whitelist")
776782 else [BooleanEntry("setup_active", !(shutdown))]
777783
778784
779785
780786 @Callable(i)
781787 func liquidate (debug,address,assetAmount,sAssetIdStr,bAssetIdStr,routeStr) = if (!(verifyLiquidatorRights(i.caller)))
782788 then throw("temporarily available for whitelist only")
783789 else if (!(tryGetBoolean("setup_active")))
784790 then throw("market is stopped")
785791 else {
786792 let userCollateral = calcUserCollateral(address)
787793 if ((userCollateral == userCollateral))
788794 then {
789- let $t02795028012 = getActualRate(sAssetIdStr, "sRate")
790- let sRate = $t02795028012._1
791- let ratesResult = $t02795028012._2
792- let $t02801728086 = getActualRate(bAssetIdStr, "bRate")
793- let bRate = $t02801728086._1
794- let ratesRecalcResult2 = $t02801728086._2
795+ let $t02826728329 = getActualRate(sAssetIdStr, "sRate")
796+ let sRate = $t02826728329._1
797+ let ratesResult = $t02826728329._2
798+ let $t02833428403 = getActualRate(bAssetIdStr, "bRate")
799+ let bRate = $t02833428403._1
800+ let ratesRecalcResult2 = $t02833428403._2
795801 let sAssetAmount = fraction(assetAmount, Scale16, sRate)
796802 let currentSPosition = tryGetInteger(((address + "_supplied_") + sAssetIdStr))
797803 let currentBPositionVal = tryGetInteger(((address + "_borrowed_") + bAssetIdStr))
798804 let currentBPosition = if ((currentBPositionVal > 0))
799805 then currentBPositionVal
800806 else throw("user has no borrow in this token")
801807 if ((userCollateral > 0))
802808 then throw("user can't be liquidated")
803809 else if ((sAssetAmount > currentSPosition))
804810 then throw("position to liquidate is bigger than user's supply")
805811 else {
806812 let balance0Before = getBalance(sAssetIdStr)
807813 if ((balance0Before == balance0Before))
808814 then {
809815 let balance1Before = getBalance(bAssetIdStr)
810816 if ((balance1Before == balance1Before))
811817 then {
812818 let exchangeInvoke = invoke(aggregatorAddress, "swap", [routeStr, 0], [AttachedPayment(getAssetBytes(sAssetIdStr), assetAmount)])
813819 if ((exchangeInvoke == exchangeInvoke))
814820 then {
815821 let asset0Sold = (balance0Before - getBalance(sAssetIdStr))
816822 if ((asset0Sold == asset0Sold))
817823 then {
818824 let asset1Bought = (getBalance(bAssetIdStr) - balance1Before)
819825 if ((asset1Bought == asset1Bought))
820826 then {
821827 let asset0Price = getTokenPrice(sAssetIdStr)._1
822828 let asset0Scale = calcAssetScale(sAssetIdStr)
823829 let asset0Usd = fraction(asset0Sold, asset0Price, asset0Scale)
824830 let asset1Price = getTokenPrice(bAssetIdStr)._2
825831 let asset1Scale = calcAssetScale(bAssetIdStr)
826832 let asset1Usd = fraction(asset1Bought, asset1Price, asset1Scale)
827833 let penalty = parseIntValue(split(tryGetString("setup_penalties"), ",")[value(indexOf(getMarketAssets(), bAssetIdStr))])
828834 let liquidationProfit = (asset1Usd - fraction(asset0Usd, (Scale8 - penalty), Scale8))
829835 let sAssetChange = fraction(asset0Sold, Scale16, sRate)
830836 let bAssetChange = fraction(fraction(asset1Bought, Scale16, bRate), (Scale8 - fraction(liquidationProfit, Scale8, asset1Usd)), Scale8)
831837 if ((asset0Sold > assetAmount))
832838 then throw("more assets exchanged than expected")
833839 else if ((0 > liquidationProfit))
834840 then throw("price impact is bigger than liquidation penalty")
835841 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))]
836842 }
837843 else throw("Strict value is not equal to itself.")
838844 }
839845 else throw("Strict value is not equal to itself.")
840846 }
841847 else throw("Strict value is not equal to itself.")
842848 }
843849 else throw("Strict value is not equal to itself.")
844850 }
845851 else throw("Strict value is not equal to itself.")
846852 }
847853 }
848854 else throw("Strict value is not equal to itself.")
849855 }
850856
851857
852858
853859 @Callable(i)
854860 func liquidateV2 (debug,address,sAssetIdStr) = if (!(verifyLiquidatorRights(i.caller)))
855861 then throw("temporarily available for whitelist only")
856862 else if (!(tryGetBoolean("setup_active")))
857863 then throw("market is stopped")
858864 else {
859865 let bAssetId = i.payments[0].assetId
860866 let bAssetIdStr = getAssetString(bAssetId)
861867 let bAssetAmount = i.payments[0].amount
862868 let userCollateral = calcUserCollateral(address)
863869 if ((userCollateral == userCollateral))
864870 then if ((userCollateral > 0))
865871 then throw("user can't be liquidated")
866872 else {
867873 let marketAssets = getMarketAssets()
868874 let asset1Num = value(indexOf(marketAssets, bAssetIdStr))
869875 let asset0Num = value(indexOf(marketAssets, sAssetIdStr))
870- let $t03124131303 = getActualRate(bAssetIdStr, "bRate")
871- let bRate = $t03124131303._1
872- let ratesResult = $t03124131303._2
876+ let $t03155831620 = getActualRate(bAssetIdStr, "bRate")
877+ let bRate = $t03155831620._1
878+ let ratesResult = $t03155831620._2
873879 let asset1Price = getTokenPrice(bAssetIdStr)._2
874880 let asset1Scale = calcAssetScale(bAssetIdStr)
875881 let bAmountUsd = fraction(bAssetAmount, asset1Price, asset1Scale)
876882 let penalty = parseIntValue(value(split(tryGetString("setup_penalties"), ",")[asset1Num]))
877883 let asset0Price = getTokenPrice(sAssetIdStr)._1
878884 let asset0Scale = calcAssetScale(sAssetIdStr)
879885 let sAmountUsd = fraction(bAmountUsd, (Scale8 + penalty), Scale8)
880886 let sAssetAmount = fraction(sAmountUsd, asset0Scale, asset0Price)
881887 let bAmount = fraction(bAssetAmount, Scale16, bRate)
882888 let sAmount = fraction(sAssetAmount, Scale16, ratesResult[((asset0Num * 3) + 1)].value)
883- let currentSPosition = tryGetInteger(((address + "_supplied_") + sAssetIdStr))
884- let currentBPositionVal = tryGetInteger(((address + "_borrowed_") + bAssetIdStr))
885- let currentBPosition = if ((currentBPositionVal > 0))
886- then currentBPositionVal
887- else throw("user has no borrow in this token")
888- if ((sAmount > currentSPosition))
889- then throw("position to liquidate is bigger than user's supply")
890- else if (debug)
891- then throw("liquidation will pass")
892- 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)
889+ let inv = if ((indexOf(axlyLPs, sAssetIdStr) != unit))
890+ then {
891+ let posId = split(address, "_")[1]
892+ let addressId = split(address, "_")[0]
893+ reentrantInvoke(axlyAddress, "liquidate", [addressId, posId, sAmount], nil)
894+ }
895+ else nil
896+ if ((inv == inv))
897+ then {
898+ let currentSPosition = tryGetInteger(((address + "_supplied_") + sAssetIdStr))
899+ let currentBPositionVal = tryGetInteger(((address + "_borrowed_") + bAssetIdStr))
900+ let currentBPosition = if ((currentBPositionVal > 0))
901+ then currentBPositionVal
902+ else throw("user has no borrow in this token")
903+ if ((sAmount > currentSPosition))
904+ then throw("position to liquidate is bigger than user's supply")
905+ else if (debug)
906+ then throw("liquidation will pass")
907+ 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)
908+ }
909+ else throw("Strict value is not equal to itself.")
893910 }
894911 else throw("Strict value is not equal to itself.")
895912 }
896913
897914
898915
899916 @Callable(i)
900917 func getUserCollateral (debug,address,minusBorrowed,afterChange) = {
901918 let assets = getMarketAssets()
902919 let ltvs = split(tryGetString("setup_ltvs"), ",")
903920 let lts = split(tryGetString("setup_lts"), ",")
904921 let rates = getActualRate(assets[0], "sRate")._2
905922 let changeHandler = split(afterChange, ",")
906923 func f (accum,next) = if ((next >= size(assets)))
907924 then accum
908925 else {
909926 let userSupplied = tryGetInteger(((address + "_supplied_") + assets[next]))
910927 let userBorrowed = tryGetInteger(((address + "_borrowed_") + assets[next]))
911928 let needTokenAccounting = if ((afterChange == ""))
912929 then if (if ((userBorrowed != 0))
913930 then true
914931 else (userSupplied != 0))
915932 then true
916933 else false
917934 else true
918935 if (needTokenAccounting)
919936 then {
920937 let assetScale = calcAssetScale(assets[next])
921938 let assetPrice = getTokenPrice(assets[next])
922939 ((accum + fraction(fraction(fraction((userSupplied + (if (if (if ((afterChange != ""))
923940 then (changeHandler[0] == assets[next])
924941 else false)
925942 then (changeHandler[1] == "supplied")
926943 else false)
927944 then parseIntValue(changeHandler[2])
928945 else 0)), rates[(next * 3)].value, Scale16), parseIntValue(ltvs[next]), Scale8), assetPrice._1, assetScale)) - (if (minusBorrowed)
929946 then fraction(fraction(fraction((userBorrowed + (if (if (if ((afterChange != ""))
930947 then (changeHandler[0] == assets[next])
931948 else false)
932949 then (changeHandler[1] == "borrowed")
933950 else false)
934951 then parseIntValue(changeHandler[2])
935952 else 0)), rates[((next * 3) + 1)].value, Scale16), Scale8, parseIntValue(lts[next])), assetPrice._2, assetScale)
936953 else 0))
937954 }
938955 else accum
939956 }
940957
941958 let result = {
942959 let $l = [0, 1, 2, 3, 4, 5]
943960 let $s = size($l)
944961 let $acc0 = 0
945962 func $f0_1 ($a,$i) = if (($i >= $s))
946963 then $a
947964 else f($a, $l[$i])
948965
949966 func $f0_2 ($a,$i) = if (($i >= $s))
950967 then $a
951968 else throw("List size exceeds 6")
952969
953970 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
954971 }
955972 if (debug)
956973 then throw(toString(result))
957974 else $Tuple2(nil, result)
958975 }
959976
960977
961978
962979 @Callable(i)
963980 func getAssetDebt (debug,address,assetIdStr) = {
964981 let userBorrowed = tryGetInteger(((address + "_borrowed_") + assetIdStr))
965982 let assetScale = calcAssetScale(assetIdStr)
966983 let rate = getActualRate(assetIdStr, "bRate")._1
967984 let result = fraction(userBorrowed, rate, Scale16)
968985 if (debug)
969986 then throw(toString(result))
970987 else $Tuple2(nil, result)
971988 }
972989
973990
974991
975992 @Callable(i)
976993 func getPrices (debug) = {
977994 let assets = getMarketAssets()
978995 func f (accum,next) = if ((next >= size(assets)))
979996 then accum
980997 else {
981998 let assetPrice = getTokenPrice(assets[next])
982999 ((((accum + toString(assetPrice._1)) + ",") + toString(assetPrice._2)) + "|")
9831000 }
9841001
9851002 let result = {
9861003 let $l = [0, 1, 2, 3, 4, 5]
9871004 let $s = size($l)
9881005 let $acc0 = ""
9891006 func $f0_1 ($a,$i) = if (($i >= $s))
9901007 then $a
9911008 else f($a, $l[$i])
9921009
9931010 func $f0_2 ($a,$i) = if (($i >= $s))
9941011 then $a
9951012 else throw("List size exceeds 6")
9961013
9971014 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
9981015 }
9991016 if (debug)
10001017 then throw(result)
10011018 else $Tuple2(nil, result)
10021019 }
10031020
10041021
10051022
10061023 @Callable(i)
10071024 func calculateUtilizationRatio (assetIdStr,debug) = if (debug)
10081025 then throw(toString(getUr(assetIdStr)))
10091026 else $Tuple2(nil, getUr(assetIdStr))
10101027
10111028
10121029
10131030 @Callable(i)
10141031 func calculateOutdatedUR (assetIdStr,debug) = if (debug)
10151032 then throw(toString(getOutdatedUr(assetIdStr)))
10161033 else $Tuple2(nil, getOutdatedUr(assetIdStr))
10171034
10181035
10191036
10201037 @Callable(i)
10211038 func calculateTokenRates (debug) = {
10221039 func f (accum,assetIdStr) = {
10231040 let rates = tokenRatesRecalc(assetIdStr)
10241041 $Tuple2(((((accum._1 + toString(rates[1].value)) + "|") + toString(rates[0].value)) + ","), (accum._2 ++ rates))
10251042 }
10261043
10271044 let parameter = {
10281045 let $l = getMarketAssets()
10291046 let $s = size($l)
10301047 let $acc0 = $Tuple2("", nil)
10311048 func $f0_1 ($a,$i) = if (($i >= $s))
10321049 then $a
10331050 else f($a, $l[$i])
10341051
10351052 func $f0_2 ($a,$i) = if (($i >= $s))
10361053 then $a
10371054 else throw("List size exceeds 6")
10381055
10391056 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
10401057 }
10411058 if (debug)
10421059 then throw(parameter._1)
10431060 else $Tuple2(parameter._2, parameter._1)
10441061 }
10451062
10461063
10471064
10481065 @Callable(i)
10491066 func calculateTokensInterest (debug) = {
10501067 func f (accum,assetIdStr) = {
10511068 let rate = fraction(getInterest(assetIdStr), dayBlocks, Scale8)
10521069 ((accum + toString(rate)) + ",")
10531070 }
10541071
10551072 let parameter = {
10561073 let $l = getMarketAssets()
10571074 let $s = size($l)
10581075 let $acc0 = ""
10591076 func $f0_1 ($a,$i) = if (($i >= $s))
10601077 then $a
10611078 else f($a, $l[$i])
10621079
10631080 func $f0_2 ($a,$i) = if (($i >= $s))
10641081 then $a
10651082 else throw("List size exceeds 6")
10661083
10671084 $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6)
10681085 }
10691086 if (debug)
10701087 then throw(parameter)
10711088 else $Tuple2(nil, parameter)
10721089 }
10731090
10741091
10751092 @Verifier(tx)
10761093 func verify () = sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)
10771094

github/deemru/w8io/026f985 
113.47 ms