mirror of
				https://github.com/Instadapp/aave-protocol-v2.git
				synced 2024-07-29 21:47:30 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			189 lines
		
	
	
		
			5.0 KiB
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			189 lines
		
	
	
		
			5.0 KiB
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
import { eContractid, IReserveParams } from '../../helpers/types';
 | 
						|
 | 
						|
import {
 | 
						|
  rateStrategyProperty,
 | 
						|
  rateStrategyStableOne,
 | 
						|
  rateStrategyStableTwo,
 | 
						|
  rateStrategyWBTC,
 | 
						|
  rateStrategyWETH,
 | 
						|
} from './rateStrategies';
 | 
						|
 | 
						|
export const strategy13895Saratoga: IReserveParams = {
 | 
						|
  strategy: rateStrategyProperty,
 | 
						|
  baseLTVAsCollateral: '5000',
 | 
						|
  liquidationThreshold: '7000',
 | 
						|
  liquidationBonus: '11000',
 | 
						|
  borrowingEnabled: false,
 | 
						|
  stableBorrowRateEnabled: false,
 | 
						|
  reserveDecimals: '18',
 | 
						|
  aTokenImpl: eContractid.AToken,
 | 
						|
  reserveFactor: '1000',
 | 
						|
};
 | 
						|
 | 
						|
export const strategy4380Beaconsfield: IReserveParams = {
 | 
						|
  strategy: rateStrategyProperty,
 | 
						|
  baseLTVAsCollateral: '5000',
 | 
						|
  liquidationThreshold: '7000',
 | 
						|
  liquidationBonus: '11000',
 | 
						|
  borrowingEnabled: false,
 | 
						|
  stableBorrowRateEnabled: false,
 | 
						|
  reserveDecimals: '18',
 | 
						|
  aTokenImpl: eContractid.AToken,
 | 
						|
  reserveFactor: '1000',
 | 
						|
};
 | 
						|
 | 
						|
export const strategy17813Bradford: IReserveParams = {
 | 
						|
  strategy: rateStrategyProperty,
 | 
						|
  baseLTVAsCollateral: '5000',
 | 
						|
  liquidationThreshold: '7000',
 | 
						|
  liquidationBonus: '11000',
 | 
						|
  borrowingEnabled: false,
 | 
						|
  stableBorrowRateEnabled: false,
 | 
						|
  reserveDecimals: '18',
 | 
						|
  aTokenImpl: eContractid.AToken,
 | 
						|
  reserveFactor: '1000',
 | 
						|
};
 | 
						|
 | 
						|
export const strategy15796Hartwell: IReserveParams = {
 | 
						|
  strategy: rateStrategyProperty,
 | 
						|
  baseLTVAsCollateral: '5000',
 | 
						|
  liquidationThreshold: '7000',
 | 
						|
  liquidationBonus: '11000',
 | 
						|
  borrowingEnabled: false,
 | 
						|
  stableBorrowRateEnabled: false,
 | 
						|
  reserveDecimals: '18',
 | 
						|
  aTokenImpl: eContractid.AToken,
 | 
						|
  reserveFactor: '1000',
 | 
						|
};
 | 
						|
 | 
						|
export const strategy9717Everts: IReserveParams = {
 | 
						|
  strategy: rateStrategyProperty,
 | 
						|
  baseLTVAsCollateral: '5000',
 | 
						|
  liquidationThreshold: '7000',
 | 
						|
  liquidationBonus: '11000',
 | 
						|
  borrowingEnabled: false,
 | 
						|
  stableBorrowRateEnabled: false,
 | 
						|
  reserveDecimals: '18',
 | 
						|
  aTokenImpl: eContractid.AToken,
 | 
						|
  reserveFactor: '1000',
 | 
						|
};
 | 
						|
 | 
						|
export const strategy19201Westphalia: IReserveParams = {
 | 
						|
  strategy: rateStrategyProperty,
 | 
						|
  baseLTVAsCollateral: '5000',
 | 
						|
  liquidationThreshold: '7000',
 | 
						|
  liquidationBonus: '11000',
 | 
						|
  borrowingEnabled: false,
 | 
						|
  stableBorrowRateEnabled: false,
 | 
						|
  reserveDecimals: '18',
 | 
						|
  aTokenImpl: eContractid.AToken,
 | 
						|
  reserveFactor: '1000',
 | 
						|
};
 | 
						|
 | 
						|
export const strategy19163Mitchell: IReserveParams = {
 | 
						|
  strategy: rateStrategyProperty,
 | 
						|
  baseLTVAsCollateral: '5000',
 | 
						|
  liquidationThreshold: '7000',
 | 
						|
  liquidationBonus: '11000',
 | 
						|
  borrowingEnabled: false,
 | 
						|
  stableBorrowRateEnabled: false,
 | 
						|
  reserveDecimals: '18',
 | 
						|
  aTokenImpl: eContractid.AToken,
 | 
						|
  reserveFactor: '1000',
 | 
						|
};
 | 
						|
 | 
						|
export const strategy4061Grnd: IReserveParams = {
 | 
						|
  strategy: rateStrategyProperty,
 | 
						|
  baseLTVAsCollateral: '5000',
 | 
						|
  liquidationThreshold: '7000',
 | 
						|
  liquidationBonus: '11000',
 | 
						|
  borrowingEnabled: false,
 | 
						|
  stableBorrowRateEnabled: false,
 | 
						|
  reserveDecimals: '18',
 | 
						|
  aTokenImpl: eContractid.AToken,
 | 
						|
  reserveFactor: '1000',
 | 
						|
};
 | 
						|
 | 
						|
export const strategy4680Buckingham: IReserveParams = {
 | 
						|
  strategy: rateStrategyProperty,
 | 
						|
  baseLTVAsCollateral: '5000',
 | 
						|
  liquidationThreshold: '7000',
 | 
						|
  liquidationBonus: '11000',
 | 
						|
  borrowingEnabled: false,
 | 
						|
  stableBorrowRateEnabled: false,
 | 
						|
  reserveDecimals: '18',
 | 
						|
  aTokenImpl: eContractid.AToken,
 | 
						|
  reserveFactor: '1000',
 | 
						|
};
 | 
						|
 | 
						|
export const strategy19311Keystone: IReserveParams = {
 | 
						|
  strategy: rateStrategyProperty,
 | 
						|
  baseLTVAsCollateral: '5000',
 | 
						|
  liquidationThreshold: '7000',
 | 
						|
  liquidationBonus: '11000',
 | 
						|
  borrowingEnabled: false,
 | 
						|
  stableBorrowRateEnabled: false,
 | 
						|
  reserveDecimals: '18',
 | 
						|
  aTokenImpl: eContractid.AToken,
 | 
						|
  reserveFactor: '1000',
 | 
						|
};
 | 
						|
 | 
						|
export const strategyUSDC: IReserveParams = {
 | 
						|
  strategy: rateStrategyStableTwo,
 | 
						|
  baseLTVAsCollateral: '8000',
 | 
						|
  liquidationThreshold: '8500',
 | 
						|
  liquidationBonus: '10500',
 | 
						|
  borrowingEnabled: true,
 | 
						|
  stableBorrowRateEnabled: true,
 | 
						|
  reserveDecimals: '6',
 | 
						|
  aTokenImpl: eContractid.AToken,
 | 
						|
  reserveFactor: '1000',
 | 
						|
};
 | 
						|
 | 
						|
export const strategyDAI: IReserveParams = {
 | 
						|
  strategy: rateStrategyStableOne,
 | 
						|
  baseLTVAsCollateral: '7500',
 | 
						|
  liquidationThreshold: '8000',
 | 
						|
  liquidationBonus: '10500',
 | 
						|
  borrowingEnabled: true,
 | 
						|
  stableBorrowRateEnabled: true,
 | 
						|
  reserveDecimals: '18',
 | 
						|
  aTokenImpl: eContractid.AToken,
 | 
						|
  reserveFactor: '1000',
 | 
						|
};
 | 
						|
 | 
						|
export const strategyUSDT: IReserveParams = {
 | 
						|
  strategy: rateStrategyStableTwo,
 | 
						|
  baseLTVAsCollateral: '0',
 | 
						|
  liquidationThreshold: '0',
 | 
						|
  liquidationBonus: '0',
 | 
						|
  borrowingEnabled: true,
 | 
						|
  stableBorrowRateEnabled: true,
 | 
						|
  reserveDecimals: '6',
 | 
						|
  aTokenImpl: eContractid.AToken,
 | 
						|
  reserveFactor: '1000',
 | 
						|
};
 | 
						|
 | 
						|
export const strategyWETH: IReserveParams = {
 | 
						|
  strategy: rateStrategyWETH,
 | 
						|
  baseLTVAsCollateral: '8000',
 | 
						|
  liquidationThreshold: '8250',
 | 
						|
  liquidationBonus: '10500',
 | 
						|
  borrowingEnabled: true,
 | 
						|
  stableBorrowRateEnabled: true,
 | 
						|
  reserveDecimals: '18',
 | 
						|
  aTokenImpl: eContractid.AToken,
 | 
						|
  reserveFactor: '1000',
 | 
						|
};
 | 
						|
 | 
						|
export const strategyWBTC: IReserveParams = {
 | 
						|
  strategy: rateStrategyWBTC,
 | 
						|
  baseLTVAsCollateral: '7000',
 | 
						|
  liquidationThreshold: '7500',
 | 
						|
  liquidationBonus: '11000',
 | 
						|
  borrowingEnabled: true,
 | 
						|
  stableBorrowRateEnabled: true,
 | 
						|
  reserveDecimals: '8',
 | 
						|
  aTokenImpl: eContractid.AToken,
 | 
						|
  reserveFactor: '2000',
 | 
						|
}; |