mirror of
https://github.com/Instadapp/aave-protocol-v2.git
synced 2024-07-29 21:47:30 +00:00
Updated config
This commit is contained in:
parent
59d5c3a6a9
commit
4bb7d0c5db
|
@ -78,7 +78,7 @@ export const strategyUSDC: IReserveParams = {
|
||||||
stableRateSlope1: new BigNumber(0.02).multipliedBy(oneRay).toFixed(),
|
stableRateSlope1: new BigNumber(0.02).multipliedBy(oneRay).toFixed(),
|
||||||
stableRateSlope2: new BigNumber(0.60).multipliedBy(oneRay).toFixed(),
|
stableRateSlope2: new BigNumber(0.60).multipliedBy(oneRay).toFixed(),
|
||||||
baseLTVAsCollateral: '8000',
|
baseLTVAsCollateral: '8000',
|
||||||
liquidationThreshold: '8000',
|
liquidationThreshold: '8500',
|
||||||
liquidationBonus: '10500',
|
liquidationBonus: '10500',
|
||||||
borrowingEnabled: true,
|
borrowingEnabled: true,
|
||||||
stableBorrowRateEnabled: true,
|
stableBorrowRateEnabled: true,
|
||||||
|
@ -95,7 +95,7 @@ export const strategyUSDT: IReserveParams = {
|
||||||
stableRateSlope1: new BigNumber(0.02).multipliedBy(oneRay).toFixed(),
|
stableRateSlope1: new BigNumber(0.02).multipliedBy(oneRay).toFixed(),
|
||||||
stableRateSlope2: new BigNumber(0.60).multipliedBy(oneRay).toFixed(),
|
stableRateSlope2: new BigNumber(0.60).multipliedBy(oneRay).toFixed(),
|
||||||
baseLTVAsCollateral: '8000',
|
baseLTVAsCollateral: '8000',
|
||||||
liquidationThreshold: '8000',
|
liquidationThreshold: '8500',
|
||||||
liquidationBonus: '10500',
|
liquidationBonus: '10500',
|
||||||
borrowingEnabled: true,
|
borrowingEnabled: true,
|
||||||
stableBorrowRateEnabled: true,
|
stableBorrowRateEnabled: true,
|
||||||
|
|
|
@ -109,7 +109,7 @@ makeSuite('LendingPool liquidation - liquidator receiving the underlying asset',
|
||||||
|
|
||||||
await oracle.setAssetPrice(
|
await oracle.setAssetPrice(
|
||||||
dai.address,
|
dai.address,
|
||||||
new BigNumber(daiPrice.toString()).multipliedBy(1.25).toFixed(0)
|
new BigNumber(daiPrice.toString()).multipliedBy(1.18).toFixed(0)
|
||||||
);
|
);
|
||||||
|
|
||||||
const userGlobalData = await pool.getUserAccountData(borrower.address);
|
const userGlobalData = await pool.getUserAccountData(borrower.address);
|
||||||
|
@ -280,7 +280,7 @@ makeSuite('LendingPool liquidation - liquidator receiving the underlying asset',
|
||||||
//drops HF below 1
|
//drops HF below 1
|
||||||
await oracle.setAssetPrice(
|
await oracle.setAssetPrice(
|
||||||
usdc.address,
|
usdc.address,
|
||||||
new BigNumber(usdcPrice.toString()).multipliedBy(1.2).toFixed(0)
|
new BigNumber(usdcPrice.toString()).multipliedBy(1.12).toFixed(0)
|
||||||
);
|
);
|
||||||
|
|
||||||
//mints dai to the liquidator
|
//mints dai to the liquidator
|
||||||
|
@ -402,7 +402,7 @@ makeSuite('LendingPool liquidation - liquidator receiving the underlying asset',
|
||||||
//drops HF below 1
|
//drops HF below 1
|
||||||
await oracle.setAssetPrice(
|
await oracle.setAssetPrice(
|
||||||
usdc.address,
|
usdc.address,
|
||||||
new BigNumber(usdcPrice.toString()).multipliedBy(1.12).toFixed(0)
|
new BigNumber(usdcPrice.toString()).multipliedBy(1.08).toFixed(0)
|
||||||
);
|
);
|
||||||
|
|
||||||
//mints usdc to the liquidator
|
//mints usdc to the liquidator
|
||||||
|
|
Loading…
Reference in New Issue
Block a user