2020-11-20 11:11:57 +00:00
|
|
|
import { eContractid, IReserveParams } from '../../helpers/types';
|
2020-11-04 10:47:06 +00:00
|
|
|
|
2021-02-10 23:23:05 +00:00
|
|
|
import {
|
|
|
|
rateStrategyStableOne,
|
|
|
|
rateStrategyStableTwo,
|
|
|
|
rateStrategyStableThree,
|
|
|
|
rateStrategyWETH,
|
|
|
|
rateStrategyAAVE,
|
|
|
|
rateStrategyVolatileOne,
|
|
|
|
rateStrategyVolatileTwo,
|
|
|
|
rateStrategyVolatileThree,
|
2021-03-05 12:46:11 +00:00
|
|
|
rateStrategyVolatileFour,
|
2021-02-10 23:23:05 +00:00
|
|
|
} from './rateStrategies';
|
2020-11-04 10:47:06 +00:00
|
|
|
|
2020-11-30 10:26:14 +00:00
|
|
|
export const strategyBUSD: IReserveParams = {
|
2021-02-10 23:23:05 +00:00
|
|
|
strategy: rateStrategyStableOne,
|
2020-11-30 10:26:14 +00:00
|
|
|
baseLTVAsCollateral: '0',
|
|
|
|
liquidationThreshold: '0',
|
|
|
|
liquidationBonus: '0',
|
2020-11-04 10:47:06 +00:00
|
|
|
borrowingEnabled: true,
|
2020-11-30 10:26:14 +00:00
|
|
|
stableBorrowRateEnabled: false,
|
2020-11-04 10:47:06 +00:00
|
|
|
reserveDecimals: '18',
|
2020-11-20 11:11:57 +00:00
|
|
|
aTokenImpl: eContractid.AToken,
|
2020-11-28 11:54:54 +00:00
|
|
|
reserveFactor: '1000'
|
2020-11-04 10:47:06 +00:00
|
|
|
};
|
|
|
|
|
2020-11-30 10:26:14 +00:00
|
|
|
export const strategyDAI: IReserveParams = {
|
2021-02-10 23:23:05 +00:00
|
|
|
strategy: rateStrategyStableTwo,
|
2020-11-04 10:47:06 +00:00
|
|
|
baseLTVAsCollateral: '7500',
|
|
|
|
liquidationThreshold: '8000',
|
|
|
|
liquidationBonus: '10500',
|
|
|
|
borrowingEnabled: true,
|
|
|
|
stableBorrowRateEnabled: true,
|
2020-11-09 09:05:03 +00:00
|
|
|
reserveDecimals: '18',
|
2020-11-20 11:11:57 +00:00
|
|
|
aTokenImpl: eContractid.AToken,
|
2020-11-28 11:54:54 +00:00
|
|
|
reserveFactor: '1000'
|
2020-11-04 10:47:06 +00:00
|
|
|
};
|
|
|
|
|
2020-11-30 10:26:14 +00:00
|
|
|
export const strategySUSD: IReserveParams = {
|
2021-02-10 23:23:05 +00:00
|
|
|
strategy: rateStrategyStableOne,
|
2020-11-30 10:26:14 +00:00
|
|
|
baseLTVAsCollateral: '0',
|
|
|
|
liquidationThreshold: '0',
|
|
|
|
liquidationBonus: '0',
|
|
|
|
borrowingEnabled: true,
|
|
|
|
stableBorrowRateEnabled: false,
|
|
|
|
reserveDecimals: '18',
|
|
|
|
aTokenImpl: eContractid.AToken,
|
|
|
|
reserveFactor: '2000'
|
|
|
|
};
|
|
|
|
|
|
|
|
export const strategyTUSD: IReserveParams = {
|
2021-02-10 23:23:05 +00:00
|
|
|
strategy: rateStrategyStableTwo,
|
2020-11-04 10:47:06 +00:00
|
|
|
baseLTVAsCollateral: '7500',
|
|
|
|
liquidationThreshold: '8000',
|
|
|
|
liquidationBonus: '10500',
|
|
|
|
borrowingEnabled: true,
|
|
|
|
stableBorrowRateEnabled: true,
|
2020-11-30 10:26:14 +00:00
|
|
|
reserveDecimals: '18',
|
2020-11-20 11:11:57 +00:00
|
|
|
aTokenImpl: eContractid.AToken,
|
2020-11-28 11:54:54 +00:00
|
|
|
reserveFactor: '1000'
|
2020-11-04 10:47:06 +00:00
|
|
|
};
|
|
|
|
|
2020-11-30 10:26:14 +00:00
|
|
|
export const strategyUSDC: IReserveParams = {
|
2021-02-10 23:23:05 +00:00
|
|
|
strategy: rateStrategyStableThree,
|
2020-11-30 10:26:14 +00:00
|
|
|
baseLTVAsCollateral: '8000',
|
2020-11-30 11:53:33 +00:00
|
|
|
liquidationThreshold: '8500',
|
2020-11-30 10:26:14 +00:00
|
|
|
liquidationBonus: '10500',
|
|
|
|
borrowingEnabled: true,
|
|
|
|
stableBorrowRateEnabled: true,
|
|
|
|
reserveDecimals: '6',
|
|
|
|
aTokenImpl: eContractid.AToken,
|
|
|
|
reserveFactor: '1000'
|
2020-11-04 10:47:06 +00:00
|
|
|
};
|
|
|
|
|
2020-11-30 10:26:14 +00:00
|
|
|
export const strategyUSDT: IReserveParams = {
|
2021-02-10 23:23:05 +00:00
|
|
|
strategy: rateStrategyStableThree,
|
2020-11-30 10:26:14 +00:00
|
|
|
baseLTVAsCollateral: '8000',
|
2020-11-30 11:53:33 +00:00
|
|
|
liquidationThreshold: '8500',
|
2020-11-30 10:26:14 +00:00
|
|
|
liquidationBonus: '10500',
|
|
|
|
borrowingEnabled: true,
|
|
|
|
stableBorrowRateEnabled: true,
|
|
|
|
reserveDecimals: '6',
|
|
|
|
aTokenImpl: eContractid.AToken,
|
|
|
|
reserveFactor: '1000'
|
2020-11-04 10:47:06 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
export const strategyAAVE: IReserveParams = {
|
2021-02-10 23:23:05 +00:00
|
|
|
strategy: rateStrategyAAVE,
|
2020-11-04 10:47:06 +00:00
|
|
|
baseLTVAsCollateral: '5000',
|
|
|
|
liquidationThreshold: '6500',
|
|
|
|
liquidationBonus: '11000',
|
|
|
|
borrowingEnabled: false,
|
|
|
|
stableBorrowRateEnabled: false,
|
|
|
|
reserveDecimals: '18',
|
2020-11-30 10:26:14 +00:00
|
|
|
aTokenImpl: eContractid.AToken,
|
|
|
|
reserveFactor: '0'
|
2020-11-04 10:47:06 +00:00
|
|
|
};
|
|
|
|
|
2020-11-30 10:26:14 +00:00
|
|
|
export const strategyBAT: IReserveParams = {
|
2021-02-10 23:23:05 +00:00
|
|
|
strategy: rateStrategyVolatileOne,
|
2020-11-30 10:26:14 +00:00
|
|
|
baseLTVAsCollateral: '7000',
|
|
|
|
liquidationThreshold: '7500',
|
|
|
|
liquidationBonus: '11000',
|
|
|
|
borrowingEnabled: true,
|
|
|
|
stableBorrowRateEnabled: true,
|
|
|
|
reserveDecimals: '18',
|
|
|
|
aTokenImpl: eContractid.AToken,
|
|
|
|
reserveFactor: '2000'
|
2020-11-09 09:05:03 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
export const strategyENJ: IReserveParams = {
|
2021-02-10 23:23:05 +00:00
|
|
|
strategy: rateStrategyVolatileOne,
|
2020-11-09 09:05:03 +00:00
|
|
|
baseLTVAsCollateral: '5500',
|
2020-11-30 10:26:14 +00:00
|
|
|
liquidationThreshold: '6000',
|
|
|
|
liquidationBonus: '11000',
|
|
|
|
borrowingEnabled: true,
|
|
|
|
stableBorrowRateEnabled: true,
|
|
|
|
reserveDecimals: '18',
|
|
|
|
aTokenImpl: eContractid.AToken,
|
|
|
|
reserveFactor: '2000'
|
|
|
|
};
|
|
|
|
|
|
|
|
export const strategyWETH: IReserveParams = {
|
2021-02-10 23:23:05 +00:00
|
|
|
strategy: rateStrategyWETH,
|
2020-11-30 10:26:14 +00:00
|
|
|
baseLTVAsCollateral: '8000',
|
|
|
|
liquidationThreshold: '8250',
|
|
|
|
liquidationBonus: '10500',
|
|
|
|
borrowingEnabled: true,
|
|
|
|
stableBorrowRateEnabled: true,
|
|
|
|
reserveDecimals: '18',
|
|
|
|
aTokenImpl: eContractid.AToken,
|
2020-11-30 11:01:26 +00:00
|
|
|
reserveFactor: '1000'
|
2020-11-09 09:05:03 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
export const strategyKNC: IReserveParams = {
|
2021-02-10 23:23:05 +00:00
|
|
|
strategy: rateStrategyVolatileTwo,
|
2020-11-30 10:26:14 +00:00
|
|
|
baseLTVAsCollateral: '6000',
|
|
|
|
liquidationThreshold: '6500',
|
|
|
|
liquidationBonus: '11000',
|
|
|
|
borrowingEnabled: true,
|
|
|
|
stableBorrowRateEnabled: true,
|
|
|
|
reserveDecimals: '18',
|
|
|
|
aTokenImpl: eContractid.AToken,
|
|
|
|
reserveFactor: '2000'
|
2020-11-04 10:47:06 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
export const strategyLINK: IReserveParams = {
|
2021-02-10 23:23:05 +00:00
|
|
|
strategy: rateStrategyVolatileOne,
|
2020-11-30 10:26:14 +00:00
|
|
|
baseLTVAsCollateral: '7000',
|
|
|
|
liquidationThreshold: '7500',
|
|
|
|
liquidationBonus: '11000',
|
|
|
|
borrowingEnabled: true,
|
|
|
|
stableBorrowRateEnabled: true,
|
|
|
|
reserveDecimals: '18',
|
|
|
|
aTokenImpl: eContractid.AToken,
|
|
|
|
reserveFactor: '2000'
|
2020-11-04 10:47:06 +00:00
|
|
|
};
|
|
|
|
|
2020-11-09 09:05:03 +00:00
|
|
|
export const strategyMANA: IReserveParams = {
|
2021-02-10 23:23:05 +00:00
|
|
|
strategy: rateStrategyVolatileOne,
|
2020-11-30 10:26:14 +00:00
|
|
|
baseLTVAsCollateral: '6000',
|
|
|
|
liquidationThreshold: '6500',
|
|
|
|
liquidationBonus: '11000',
|
|
|
|
borrowingEnabled: true,
|
|
|
|
stableBorrowRateEnabled: true,
|
|
|
|
reserveDecimals: '18',
|
|
|
|
aTokenImpl: eContractid.AToken,
|
|
|
|
reserveFactor: '3500'
|
2020-11-04 10:47:06 +00:00
|
|
|
};
|
|
|
|
|
2020-11-09 09:05:03 +00:00
|
|
|
export const strategyMKR: IReserveParams = {
|
2021-02-10 23:23:05 +00:00
|
|
|
strategy: rateStrategyVolatileOne,
|
2020-11-30 10:26:14 +00:00
|
|
|
baseLTVAsCollateral: '6000',
|
2020-11-09 09:05:03 +00:00
|
|
|
liquidationThreshold: '6500',
|
|
|
|
liquidationBonus: '11000',
|
|
|
|
borrowingEnabled: true,
|
2020-11-30 10:26:14 +00:00
|
|
|
stableBorrowRateEnabled: true,
|
|
|
|
reserveDecimals: '18',
|
|
|
|
aTokenImpl: eContractid.AToken,
|
|
|
|
reserveFactor: '2000'
|
2020-11-04 10:47:06 +00:00
|
|
|
};
|
|
|
|
|
2020-11-30 10:26:14 +00:00
|
|
|
export const strategyREN: IReserveParams = {
|
2021-02-10 23:23:05 +00:00
|
|
|
strategy: rateStrategyVolatileOne,
|
2020-11-30 10:26:14 +00:00
|
|
|
baseLTVAsCollateral: '5500',
|
|
|
|
liquidationThreshold: '6000',
|
|
|
|
liquidationBonus: '11000',
|
2020-11-11 15:00:12 +00:00
|
|
|
borrowingEnabled: true,
|
2020-11-30 10:26:14 +00:00
|
|
|
stableBorrowRateEnabled: true,
|
2020-11-11 11:01:15 +00:00
|
|
|
reserveDecimals: '18',
|
2020-11-20 11:11:57 +00:00
|
|
|
aTokenImpl: eContractid.AToken,
|
2020-11-30 10:26:14 +00:00
|
|
|
reserveFactor: '2000'
|
2020-11-04 10:47:06 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
export const strategySNX: IReserveParams = {
|
2021-02-10 23:23:05 +00:00
|
|
|
strategy: rateStrategyVolatileThree,
|
2020-11-30 10:26:14 +00:00
|
|
|
baseLTVAsCollateral: '1500',
|
|
|
|
liquidationThreshold: '4000',
|
|
|
|
liquidationBonus: '11000',
|
2020-11-09 09:05:03 +00:00
|
|
|
borrowingEnabled: true,
|
2020-11-04 10:47:06 +00:00
|
|
|
stableBorrowRateEnabled: false,
|
2020-11-09 09:05:03 +00:00
|
|
|
reserveDecimals: '18',
|
2020-11-30 10:26:14 +00:00
|
|
|
aTokenImpl: eContractid.AToken,
|
|
|
|
reserveFactor: '3500'
|
2020-11-04 10:47:06 +00:00
|
|
|
};
|
|
|
|
|
2021-02-10 23:23:05 +00:00
|
|
|
// Invalid borrow rates in params currently, replaced with snx params
|
2020-11-09 09:05:03 +00:00
|
|
|
export const strategyUNI: IReserveParams = {
|
2021-02-10 23:23:05 +00:00
|
|
|
strategy: rateStrategyVolatileThree,
|
2020-11-30 10:26:14 +00:00
|
|
|
baseLTVAsCollateral: '6000',
|
|
|
|
liquidationThreshold: '6500',
|
|
|
|
liquidationBonus: '11000',
|
|
|
|
borrowingEnabled: false,
|
2020-11-04 10:47:06 +00:00
|
|
|
stableBorrowRateEnabled: false,
|
2020-11-30 10:26:14 +00:00
|
|
|
reserveDecimals: '18',
|
2020-11-20 11:11:57 +00:00
|
|
|
aTokenImpl: eContractid.DelegationAwareAToken,
|
2020-11-30 10:26:14 +00:00
|
|
|
reserveFactor: '2000'
|
2020-11-09 09:05:03 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
export const strategyWBTC: IReserveParams = {
|
2021-02-10 23:23:05 +00:00
|
|
|
strategy: rateStrategyVolatileTwo,
|
2020-11-30 10:26:14 +00:00
|
|
|
baseLTVAsCollateral: '7000',
|
|
|
|
liquidationThreshold: '7500',
|
|
|
|
liquidationBonus: '11000',
|
2020-11-09 09:05:03 +00:00
|
|
|
borrowingEnabled: true,
|
|
|
|
stableBorrowRateEnabled: true,
|
|
|
|
reserveDecimals: '8',
|
2020-11-20 11:11:57 +00:00
|
|
|
aTokenImpl: eContractid.AToken,
|
2020-11-30 10:26:14 +00:00
|
|
|
reserveFactor: '2000'
|
2020-11-04 10:47:06 +00:00
|
|
|
};
|
2020-11-09 09:05:03 +00:00
|
|
|
|
2020-11-30 10:26:14 +00:00
|
|
|
export const strategyYFI: IReserveParams = {
|
2021-02-10 23:23:05 +00:00
|
|
|
strategy: rateStrategyVolatileOne,
|
2020-11-30 10:26:14 +00:00
|
|
|
baseLTVAsCollateral: '4000',
|
2020-11-30 11:49:31 +00:00
|
|
|
liquidationThreshold: '5500',
|
2020-11-30 10:26:14 +00:00
|
|
|
liquidationBonus: '11500',
|
2020-11-09 09:05:03 +00:00
|
|
|
borrowingEnabled: true,
|
|
|
|
stableBorrowRateEnabled: true,
|
|
|
|
reserveDecimals: '18',
|
2020-11-20 11:11:57 +00:00
|
|
|
aTokenImpl: eContractid.AToken,
|
2020-11-30 10:26:14 +00:00
|
|
|
reserveFactor: '2000'
|
2020-11-04 10:47:06 +00:00
|
|
|
};
|
|
|
|
|
2020-11-30 10:26:14 +00:00
|
|
|
export const strategyZRX: IReserveParams = {
|
2021-02-10 23:23:05 +00:00
|
|
|
strategy: rateStrategyVolatileOne,
|
2020-11-30 10:26:14 +00:00
|
|
|
baseLTVAsCollateral: '6000',
|
|
|
|
liquidationThreshold: '6500',
|
|
|
|
liquidationBonus: '11000',
|
|
|
|
borrowingEnabled: true,
|
|
|
|
stableBorrowRateEnabled: true,
|
|
|
|
reserveDecimals: '18',
|
|
|
|
aTokenImpl: eContractid.AToken,
|
|
|
|
reserveFactor: '2000'
|
2021-02-02 22:06:01 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
export const strategyXSUSHI: IReserveParams = {
|
2021-03-05 12:46:11 +00:00
|
|
|
strategy: rateStrategyVolatileFour,
|
2021-02-02 22:06:01 +00:00
|
|
|
baseLTVAsCollateral: '2500',
|
|
|
|
liquidationThreshold: '4500',
|
|
|
|
liquidationBonus: '11500',
|
|
|
|
borrowingEnabled: true,
|
|
|
|
stableBorrowRateEnabled: false,
|
|
|
|
reserveDecimals: '18',
|
|
|
|
aTokenImpl: eContractid.AToken,
|
|
|
|
reserveFactor: '3500',
|
2020-11-30 10:26:14 +00:00
|
|
|
};
|