2021-04-23 18:30:07 +00:00
|
|
|
import { eContractid, IReserveParams } from '../../helpers/types';
|
|
|
|
|
2021-05-18 10:38:17 +00:00
|
|
|
import { rateStrategyStable, rateStrategyWETH, rateStrategyWBTC, rateStrategyAAVE } from './rateStrategies';
|
2021-04-23 18:30:07 +00:00
|
|
|
|
|
|
|
export const strategyUSDC: IReserveParams = {
|
|
|
|
strategy: rateStrategyStable,
|
|
|
|
baseLTVAsCollateral: '8000',
|
|
|
|
liquidationThreshold: '8500',
|
|
|
|
liquidationBonus: '10500',
|
|
|
|
borrowingEnabled: true,
|
|
|
|
stableBorrowRateEnabled: true,
|
|
|
|
reserveDecimals: '6',
|
|
|
|
aTokenImpl: eContractid.AToken,
|
|
|
|
stableDebtTokenImpl: eContractid.PermissionedStableDebtToken,
|
|
|
|
variableDebtTokenImpl: eContractid.PermissionedVariableDebtToken,
|
|
|
|
reserveFactor: '1000',
|
|
|
|
};
|
|
|
|
|
2021-05-18 10:38:17 +00:00
|
|
|
export const strategyAAVE: IReserveParams = {
|
|
|
|
strategy: rateStrategyAAVE,
|
|
|
|
baseLTVAsCollateral: '5000',
|
|
|
|
liquidationThreshold: '6500',
|
|
|
|
liquidationBonus: '11000',
|
|
|
|
borrowingEnabled: false,
|
|
|
|
stableBorrowRateEnabled: false,
|
|
|
|
reserveDecimals: '18',
|
2021-04-23 18:30:07 +00:00
|
|
|
aTokenImpl: eContractid.AToken,
|
|
|
|
stableDebtTokenImpl: eContractid.PermissionedStableDebtToken,
|
|
|
|
variableDebtTokenImpl: eContractid.PermissionedVariableDebtToken,
|
2021-05-18 10:38:17 +00:00
|
|
|
reserveFactor: '0'
|
2021-04-23 18:30:07 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
export const strategyWETH: IReserveParams = {
|
|
|
|
strategy: rateStrategyWETH,
|
|
|
|
baseLTVAsCollateral: '8000',
|
|
|
|
liquidationThreshold: '8250',
|
|
|
|
liquidationBonus: '10500',
|
|
|
|
borrowingEnabled: true,
|
|
|
|
stableBorrowRateEnabled: true,
|
|
|
|
reserveDecimals: '18',
|
|
|
|
aTokenImpl: eContractid.AToken,
|
|
|
|
stableDebtTokenImpl: eContractid.PermissionedStableDebtToken,
|
|
|
|
variableDebtTokenImpl: eContractid.PermissionedVariableDebtToken,
|
|
|
|
reserveFactor: '1000',
|
|
|
|
};
|
|
|
|
|
|
|
|
export const strategyWBTC: IReserveParams = {
|
|
|
|
strategy: rateStrategyWBTC,
|
|
|
|
baseLTVAsCollateral: '7000',
|
|
|
|
liquidationThreshold: '7500',
|
|
|
|
liquidationBonus: '11000',
|
|
|
|
borrowingEnabled: true,
|
|
|
|
stableBorrowRateEnabled: true,
|
|
|
|
reserveDecimals: '8',
|
|
|
|
aTokenImpl: eContractid.AToken,
|
|
|
|
stableDebtTokenImpl: eContractid.PermissionedStableDebtToken,
|
|
|
|
variableDebtTokenImpl: eContractid.PermissionedVariableDebtToken,
|
|
|
|
reserveFactor: '2000',
|
|
|
|
};
|