2021-04-29 08:16:12 +00:00
|
|
|
import { MAX_BORROW_CAP } from '../../helpers/constants';
|
2021-02-10 23:23:05 +00:00
|
|
|
import { eContractid, IReserveParams} from '../../helpers/types';
|
|
|
|
import {
|
2021-02-23 15:59:02 +00:00
|
|
|
rateStrategyAmmBase,
|
2021-02-10 23:23:05 +00:00
|
|
|
rateStrategyStable,
|
|
|
|
rateStrategyBaseOne,
|
|
|
|
} from './rateStrategies';
|
|
|
|
|
2020-12-22 23:48:02 +00:00
|
|
|
|
|
|
|
export const strategyWETH: IReserveParams = {
|
2021-02-10 23:23:05 +00:00
|
|
|
strategy: rateStrategyBaseOne,
|
2020-12-22 23:48:02 +00:00
|
|
|
baseLTVAsCollateral: '8000',
|
|
|
|
liquidationThreshold: '8250',
|
|
|
|
liquidationBonus: '10500',
|
|
|
|
borrowingEnabled: true,
|
2021-02-08 22:27:02 +00:00
|
|
|
stableBorrowRateEnabled: false,
|
2020-12-22 23:48:02 +00:00
|
|
|
reserveDecimals: '18',
|
|
|
|
aTokenImpl: eContractid.AToken,
|
2021-04-29 08:16:12 +00:00
|
|
|
reserveFactor: '1000',
|
|
|
|
borrowCap: MAX_BORROW_CAP,
|
2020-12-22 23:48:02 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
export const strategyWBTC: IReserveParams = {
|
2021-02-10 23:23:05 +00:00
|
|
|
strategy: rateStrategyBaseOne,
|
2020-12-22 23:48:02 +00:00
|
|
|
baseLTVAsCollateral: '7000',
|
|
|
|
liquidationThreshold: '7500',
|
|
|
|
liquidationBonus: '11000',
|
|
|
|
borrowingEnabled: true,
|
2021-02-08 22:27:02 +00:00
|
|
|
stableBorrowRateEnabled: false,
|
2020-12-22 23:48:02 +00:00
|
|
|
reserveDecimals: '8',
|
|
|
|
aTokenImpl: eContractid.AToken,
|
2021-04-29 08:16:12 +00:00
|
|
|
reserveFactor: '2000',
|
|
|
|
borrowCap: MAX_BORROW_CAP,
|
2020-12-22 23:48:02 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
export const strategyDAI: IReserveParams = {
|
2021-02-10 23:23:05 +00:00
|
|
|
strategy: rateStrategyStable,
|
2020-12-22 23:48:02 +00:00
|
|
|
baseLTVAsCollateral: '7500',
|
|
|
|
liquidationThreshold: '8000',
|
|
|
|
liquidationBonus: '10500',
|
|
|
|
borrowingEnabled: true,
|
2021-02-08 22:27:02 +00:00
|
|
|
stableBorrowRateEnabled: false,
|
2020-12-22 23:48:02 +00:00
|
|
|
reserveDecimals: '18',
|
|
|
|
aTokenImpl: eContractid.AToken,
|
2021-04-29 08:16:12 +00:00
|
|
|
reserveFactor: '1000',
|
|
|
|
borrowCap: MAX_BORROW_CAP,
|
2020-12-22 23:48:02 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
export const strategyUSDC: IReserveParams = {
|
2021-02-10 23:23:05 +00:00
|
|
|
strategy: rateStrategyStable,
|
2020-12-22 23:48:02 +00:00
|
|
|
baseLTVAsCollateral: '8000',
|
|
|
|
liquidationThreshold: '8500',
|
|
|
|
liquidationBonus: '10500',
|
|
|
|
borrowingEnabled: true,
|
2021-02-08 22:27:02 +00:00
|
|
|
stableBorrowRateEnabled: false,
|
2020-12-22 23:48:02 +00:00
|
|
|
reserveDecimals: '6',
|
|
|
|
aTokenImpl: eContractid.AToken,
|
2021-04-29 08:16:12 +00:00
|
|
|
reserveFactor: '1000',
|
|
|
|
borrowCap: MAX_BORROW_CAP,
|
2020-12-22 23:48:02 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
export const strategyUSDT: IReserveParams = {
|
2021-02-10 23:23:05 +00:00
|
|
|
strategy: rateStrategyStable,
|
2021-01-30 03:52:12 +00:00
|
|
|
baseLTVAsCollateral: '-1',
|
2020-12-22 23:48:02 +00:00
|
|
|
liquidationThreshold: '8500',
|
|
|
|
liquidationBonus: '10500',
|
|
|
|
borrowingEnabled: true,
|
2021-02-08 22:27:02 +00:00
|
|
|
stableBorrowRateEnabled: false,
|
2020-12-22 23:48:02 +00:00
|
|
|
reserveDecimals: '6',
|
|
|
|
aTokenImpl: eContractid.AToken,
|
2021-04-29 08:16:12 +00:00
|
|
|
reserveFactor: '1000',
|
|
|
|
borrowCap: MAX_BORROW_CAP,
|
2020-12-22 23:48:02 +00:00
|
|
|
};
|
|
|
|
|
2021-01-20 01:58:21 +00:00
|
|
|
export const strategyDAIWETH: IReserveParams = {
|
2021-02-23 15:59:02 +00:00
|
|
|
strategy: rateStrategyAmmBase,
|
2021-01-20 01:58:21 +00:00
|
|
|
baseLTVAsCollateral: '6000',
|
|
|
|
liquidationThreshold: '7000',
|
|
|
|
liquidationBonus: '11500',
|
2021-01-29 03:06:09 +00:00
|
|
|
borrowingEnabled: true,
|
2021-02-08 22:27:02 +00:00
|
|
|
stableBorrowRateEnabled: false,
|
2021-01-20 01:58:21 +00:00
|
|
|
reserveDecimals: '18',
|
|
|
|
aTokenImpl: eContractid.AToken,
|
2021-04-29 08:16:12 +00:00
|
|
|
reserveFactor: '1000',
|
|
|
|
borrowCap: MAX_BORROW_CAP,
|
2021-01-20 01:58:21 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
export const strategyWBTCWETH: IReserveParams = {
|
2021-02-23 15:59:02 +00:00
|
|
|
strategy: rateStrategyAmmBase,
|
2021-01-20 01:58:21 +00:00
|
|
|
baseLTVAsCollateral: '6000',
|
|
|
|
liquidationThreshold: '7000',
|
|
|
|
liquidationBonus: '11500',
|
2021-01-29 03:06:09 +00:00
|
|
|
borrowingEnabled: true,
|
2021-02-08 22:27:02 +00:00
|
|
|
stableBorrowRateEnabled: false,
|
2021-01-20 01:58:21 +00:00
|
|
|
reserveDecimals: '18',
|
|
|
|
aTokenImpl: eContractid.AToken,
|
2021-04-29 08:16:12 +00:00
|
|
|
reserveFactor: '1500',
|
|
|
|
borrowCap: MAX_BORROW_CAP,
|
2021-01-20 01:58:21 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
export const strategyAAVEWETH: IReserveParams = {
|
2021-02-23 15:59:02 +00:00
|
|
|
strategy: rateStrategyAmmBase,
|
2021-01-20 01:58:21 +00:00
|
|
|
baseLTVAsCollateral: '6000',
|
|
|
|
liquidationThreshold: '7000',
|
|
|
|
liquidationBonus: '11500',
|
2021-01-29 03:06:09 +00:00
|
|
|
borrowingEnabled: true,
|
2021-02-08 22:27:02 +00:00
|
|
|
stableBorrowRateEnabled: false,
|
2021-01-20 01:58:21 +00:00
|
|
|
reserveDecimals: '18',
|
|
|
|
aTokenImpl: eContractid.AToken,
|
2021-04-29 08:16:12 +00:00
|
|
|
reserveFactor: '500',
|
|
|
|
borrowCap: MAX_BORROW_CAP,
|
2021-01-20 01:58:21 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
export const strategyBATWETH: IReserveParams = {
|
2021-02-23 15:59:02 +00:00
|
|
|
strategy: rateStrategyAmmBase,
|
2021-01-20 01:58:21 +00:00
|
|
|
baseLTVAsCollateral: '6000',
|
|
|
|
liquidationThreshold: '7000',
|
|
|
|
liquidationBonus: '11500',
|
2021-01-29 03:06:09 +00:00
|
|
|
borrowingEnabled: true,
|
2021-02-08 22:27:02 +00:00
|
|
|
stableBorrowRateEnabled: false,
|
2021-01-20 01:58:21 +00:00
|
|
|
reserveDecimals: '18',
|
|
|
|
aTokenImpl: eContractid.AToken,
|
2021-04-29 08:16:12 +00:00
|
|
|
reserveFactor: '1500',
|
|
|
|
borrowCap: MAX_BORROW_CAP,
|
2021-01-20 01:58:21 +00:00
|
|
|
};
|
|
|
|
|
2021-02-24 15:55:52 +00:00
|
|
|
export const strategyDAIUSDC: IReserveParams = {
|
2021-02-23 15:59:02 +00:00
|
|
|
strategy: rateStrategyAmmBase,
|
2021-01-20 01:58:21 +00:00
|
|
|
baseLTVAsCollateral: '6000',
|
|
|
|
liquidationThreshold: '7000',
|
|
|
|
liquidationBonus: '11500',
|
2021-01-29 03:06:09 +00:00
|
|
|
borrowingEnabled: true,
|
2021-02-08 22:27:02 +00:00
|
|
|
stableBorrowRateEnabled: false,
|
2021-01-20 01:58:21 +00:00
|
|
|
reserveDecimals: '18',
|
|
|
|
aTokenImpl: eContractid.AToken,
|
2021-04-29 08:16:12 +00:00
|
|
|
reserveFactor: '1000',
|
|
|
|
borrowCap: MAX_BORROW_CAP,
|
2021-01-20 01:58:21 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
export const strategyCRVWETH: IReserveParams = {
|
2021-02-23 15:59:02 +00:00
|
|
|
strategy: rateStrategyAmmBase,
|
2020-12-22 23:48:02 +00:00
|
|
|
baseLTVAsCollateral: '5000',
|
2021-01-20 01:58:21 +00:00
|
|
|
liquidationThreshold: '6000',
|
|
|
|
liquidationBonus: '11500',
|
2021-01-29 03:06:09 +00:00
|
|
|
borrowingEnabled: true,
|
2021-02-08 22:27:02 +00:00
|
|
|
stableBorrowRateEnabled: false,
|
2020-12-22 23:48:02 +00:00
|
|
|
reserveDecimals: '18',
|
|
|
|
aTokenImpl: eContractid.AToken,
|
2021-04-29 08:16:12 +00:00
|
|
|
reserveFactor: '1500',
|
|
|
|
borrowCap: MAX_BORROW_CAP,
|
2021-01-20 01:58:21 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
export const strategyLINKWETH: IReserveParams = {
|
2021-02-23 15:59:02 +00:00
|
|
|
strategy: rateStrategyAmmBase,
|
2021-01-20 01:58:21 +00:00
|
|
|
baseLTVAsCollateral: '6000',
|
|
|
|
liquidationThreshold: '7000',
|
|
|
|
liquidationBonus: '11500',
|
2021-01-29 03:06:09 +00:00
|
|
|
borrowingEnabled: true,
|
2021-02-08 22:27:02 +00:00
|
|
|
stableBorrowRateEnabled: false,
|
2021-01-20 01:58:21 +00:00
|
|
|
reserveDecimals: '18',
|
|
|
|
aTokenImpl: eContractid.AToken,
|
2021-04-29 08:16:12 +00:00
|
|
|
reserveFactor: '1500',
|
|
|
|
borrowCap: MAX_BORROW_CAP,
|
2020-12-22 23:48:02 +00:00
|
|
|
};
|
|
|
|
|
2021-01-20 01:58:21 +00:00
|
|
|
export const strategyMKRWETH: IReserveParams = {
|
2021-02-23 15:59:02 +00:00
|
|
|
strategy: rateStrategyAmmBase,
|
2021-01-20 01:58:21 +00:00
|
|
|
baseLTVAsCollateral: '6000',
|
|
|
|
liquidationThreshold: '7000',
|
|
|
|
liquidationBonus: '11500',
|
2021-01-29 03:06:09 +00:00
|
|
|
borrowingEnabled: true,
|
2021-02-08 22:27:02 +00:00
|
|
|
stableBorrowRateEnabled: false,
|
2021-01-20 01:58:21 +00:00
|
|
|
reserveDecimals: '18',
|
|
|
|
aTokenImpl: eContractid.AToken,
|
2021-04-29 08:16:12 +00:00
|
|
|
reserveFactor: '1500',
|
|
|
|
borrowCap: MAX_BORROW_CAP,
|
2021-01-20 01:58:21 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
export const strategyRENWETH: IReserveParams = {
|
2021-02-23 15:59:02 +00:00
|
|
|
strategy: rateStrategyAmmBase,
|
2021-01-20 01:58:21 +00:00
|
|
|
baseLTVAsCollateral: '6000',
|
|
|
|
liquidationThreshold: '7000',
|
|
|
|
liquidationBonus: '11500',
|
2021-01-29 03:06:09 +00:00
|
|
|
borrowingEnabled: true,
|
2021-02-08 22:27:02 +00:00
|
|
|
stableBorrowRateEnabled: false,
|
2021-01-20 01:58:21 +00:00
|
|
|
reserveDecimals: '18',
|
|
|
|
aTokenImpl: eContractid.AToken,
|
2021-04-29 08:16:12 +00:00
|
|
|
reserveFactor: '1500',
|
|
|
|
borrowCap: MAX_BORROW_CAP,
|
2021-01-20 01:58:21 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
export const strategySNXWETH: IReserveParams = {
|
2021-02-23 15:59:02 +00:00
|
|
|
strategy: rateStrategyAmmBase,
|
2021-01-20 01:58:21 +00:00
|
|
|
baseLTVAsCollateral: '4000',
|
|
|
|
liquidationThreshold: '6000',
|
|
|
|
liquidationBonus: '11500',
|
2021-01-29 03:06:09 +00:00
|
|
|
borrowingEnabled: true,
|
2021-02-08 22:27:02 +00:00
|
|
|
stableBorrowRateEnabled: false,
|
2021-01-20 01:58:21 +00:00
|
|
|
reserveDecimals: '18',
|
|
|
|
aTokenImpl: eContractid.AToken,
|
2021-04-29 08:16:12 +00:00
|
|
|
reserveFactor: '2000',
|
|
|
|
borrowCap: MAX_BORROW_CAP,
|
2021-01-20 01:58:21 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
export const strategyUNIWETH: IReserveParams = {
|
2021-02-23 15:59:02 +00:00
|
|
|
strategy: rateStrategyAmmBase,
|
2021-01-20 01:58:21 +00:00
|
|
|
baseLTVAsCollateral: '6000',
|
|
|
|
liquidationThreshold: '7000',
|
|
|
|
liquidationBonus: '11500',
|
2021-01-29 03:06:09 +00:00
|
|
|
borrowingEnabled: true,
|
2021-02-08 22:27:02 +00:00
|
|
|
stableBorrowRateEnabled: false,
|
2021-01-20 01:58:21 +00:00
|
|
|
reserveDecimals: '18',
|
|
|
|
aTokenImpl: eContractid.AToken,
|
2021-04-29 08:16:12 +00:00
|
|
|
reserveFactor: '1500',
|
|
|
|
borrowCap: MAX_BORROW_CAP,
|
2021-01-20 01:58:21 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
export const strategyUSDCWETH: IReserveParams = {
|
2021-02-23 15:59:02 +00:00
|
|
|
strategy: rateStrategyAmmBase,
|
2021-01-20 01:58:21 +00:00
|
|
|
baseLTVAsCollateral: '6000',
|
|
|
|
liquidationThreshold: '7000',
|
|
|
|
liquidationBonus: '11500',
|
2021-01-29 03:06:09 +00:00
|
|
|
borrowingEnabled: true,
|
2021-02-08 22:27:02 +00:00
|
|
|
stableBorrowRateEnabled: false,
|
2021-01-20 01:58:21 +00:00
|
|
|
reserveDecimals: '18',
|
|
|
|
aTokenImpl: eContractid.AToken,
|
2021-04-29 08:16:12 +00:00
|
|
|
reserveFactor: '1000',
|
|
|
|
borrowCap: MAX_BORROW_CAP,
|
2021-01-20 01:58:21 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
export const strategyWBTCUSDC: IReserveParams = {
|
2021-02-23 15:59:02 +00:00
|
|
|
strategy: rateStrategyAmmBase,
|
2021-01-20 01:58:21 +00:00
|
|
|
baseLTVAsCollateral: '6000',
|
|
|
|
liquidationThreshold: '7000',
|
|
|
|
liquidationBonus: '11500',
|
2021-01-29 03:06:09 +00:00
|
|
|
borrowingEnabled: true,
|
2021-02-08 22:27:02 +00:00
|
|
|
stableBorrowRateEnabled: false,
|
2021-01-20 01:58:21 +00:00
|
|
|
reserveDecimals: '18',
|
|
|
|
aTokenImpl: eContractid.AToken,
|
2021-04-29 08:16:12 +00:00
|
|
|
reserveFactor: '1500',
|
|
|
|
borrowCap: MAX_BORROW_CAP,
|
2021-01-20 01:58:21 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
export const strategyYFIWETH: IReserveParams = {
|
2021-02-23 15:59:02 +00:00
|
|
|
strategy: rateStrategyAmmBase,
|
2020-12-22 23:48:02 +00:00
|
|
|
baseLTVAsCollateral: '5000',
|
2021-01-20 01:58:21 +00:00
|
|
|
liquidationThreshold: '6000',
|
|
|
|
liquidationBonus: '11500',
|
2021-01-29 03:06:09 +00:00
|
|
|
borrowingEnabled: true,
|
2021-02-08 22:27:02 +00:00
|
|
|
stableBorrowRateEnabled: false,
|
2020-12-22 23:48:02 +00:00
|
|
|
reserveDecimals: '18',
|
|
|
|
aTokenImpl: eContractid.AToken,
|
2021-04-29 08:16:12 +00:00
|
|
|
reserveFactor: '1500',
|
|
|
|
borrowCap: MAX_BORROW_CAP,
|
2021-02-24 22:58:20 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
export const strategyBALWETH: IReserveParams = {
|
|
|
|
strategy: rateStrategyAmmBase,
|
|
|
|
baseLTVAsCollateral: '6000',
|
2021-02-26 14:41:07 +00:00
|
|
|
liquidationThreshold: '7000',
|
2021-02-24 22:58:20 +00:00
|
|
|
liquidationBonus: '11500',
|
|
|
|
borrowingEnabled: true,
|
|
|
|
stableBorrowRateEnabled: false,
|
|
|
|
reserveDecimals: '18',
|
|
|
|
aTokenImpl: eContractid.AToken,
|
2021-04-29 08:16:12 +00:00
|
|
|
reserveFactor: '1500',
|
|
|
|
borrowCap: MAX_BORROW_CAP,
|
2021-02-24 22:58:20 +00:00
|
|
|
}
|