aave-protocol-v2/markets/avalanche/reservesConfigs.ts

88 lines
2.3 KiB
TypeScript
Raw Normal View History

2021-07-16 08:47:16 +00:00
import { eContractid, IReserveParams } from '../../helpers/types';
2021-08-27 11:22:07 +00:00
import { rateStrategyStableOne, rateStrategyVolatileOne } from './rateStrategies';
2021-07-16 08:47:16 +00:00
2021-08-27 11:22:07 +00:00
export const strategyWAVAX: IReserveParams = {
strategy: rateStrategyVolatileOne,
baseLTVAsCollateral: '5000',
liquidationThreshold: '6500',
liquidationBonus: '11000',
2021-07-16 08:47:16 +00:00
borrowingEnabled: true,
2021-08-27 11:22:07 +00:00
stableBorrowRateEnabled: false,
2021-07-16 08:47:16 +00:00
reserveDecimals: '18',
aTokenImpl: eContractid.AToken,
2021-08-27 11:22:07 +00:00
reserveFactor: '2000',
2021-07-16 08:47:16 +00:00
};
2021-08-27 11:22:07 +00:00
export const strategyWETH: IReserveParams = {
strategy: rateStrategyVolatileOne,
2021-07-16 08:47:16 +00:00
baseLTVAsCollateral: '8000',
2021-08-27 11:22:07 +00:00
liquidationThreshold: '8250',
2021-07-16 08:47:16 +00:00
liquidationBonus: '10500',
borrowingEnabled: true,
2021-08-27 11:22:07 +00:00
stableBorrowRateEnabled: false,
reserveDecimals: '18',
2021-07-16 08:47:16 +00:00
aTokenImpl: eContractid.AToken,
2021-08-27 11:22:07 +00:00
reserveFactor: '1000',
2021-07-16 08:47:16 +00:00
};
2021-08-27 11:22:07 +00:00
export const strategyWBTC: IReserveParams = {
strategy: rateStrategyVolatileOne,
2021-08-17 11:19:29 +00:00
baseLTVAsCollateral: '0',
liquidationThreshold: '0',
liquidationBonus: '0',
2021-07-16 08:47:16 +00:00
borrowingEnabled: true,
2021-08-27 11:22:07 +00:00
stableBorrowRateEnabled: false,
reserveDecimals: '8',
2021-07-16 08:47:16 +00:00
aTokenImpl: eContractid.AToken,
reserveFactor: '2000',
2021-07-16 08:47:16 +00:00
};
export const strategyAAVE: IReserveParams = {
2021-08-27 11:22:07 +00:00
strategy: rateStrategyVolatileOne,
2021-07-16 08:47:16 +00:00
baseLTVAsCollateral: '5000',
liquidationThreshold: '6500',
liquidationBonus: '10800',
2021-07-16 08:47:16 +00:00
borrowingEnabled: false,
stableBorrowRateEnabled: false,
reserveDecimals: '18',
aTokenImpl: eContractid.AToken,
reserveFactor: '2000',
2021-07-16 08:47:16 +00:00
};
2021-08-27 11:22:07 +00:00
export const strategyDAI: IReserveParams = {
strategy: rateStrategyStableOne,
baseLTVAsCollateral: '7500',
liquidationThreshold: '8000',
liquidationBonus: '10500',
2021-07-16 08:47:16 +00:00
borrowingEnabled: true,
2021-08-27 11:22:07 +00:00
stableBorrowRateEnabled: false,
2021-07-16 08:47:16 +00:00
reserveDecimals: '18',
aTokenImpl: eContractid.AToken,
reserveFactor: '1000',
2021-07-16 08:47:16 +00:00
};
2021-08-27 11:22:07 +00:00
export const strategyUSDT: IReserveParams = {
strategy: rateStrategyStableOne,
baseLTVAsCollateral: '0',
liquidationThreshold: '0',
liquidationBonus: '0',
2021-07-16 08:47:16 +00:00
borrowingEnabled: true,
2021-08-27 11:22:07 +00:00
stableBorrowRateEnabled: false,
reserveDecimals: '6',
2021-07-16 08:47:16 +00:00
aTokenImpl: eContractid.AToken,
reserveFactor: '1000',
2021-07-16 08:47:16 +00:00
};
2021-08-27 11:22:07 +00:00
export const strategyUSDC: IReserveParams = {
strategy: rateStrategyStableOne,
baseLTVAsCollateral: '7500',
liquidationThreshold: '8000',
liquidationBonus: '10500',
2021-07-16 08:47:16 +00:00
borrowingEnabled: true,
stableBorrowRateEnabled: false,
2021-08-27 11:22:07 +00:00
reserveDecimals: '6',
2021-07-16 08:47:16 +00:00
aTokenImpl: eContractid.AToken,
reserveFactor: '1000',
2021-07-16 08:47:16 +00:00
};