diff --git a/helpers/types.ts b/helpers/types.ts index d4619ddf8..6b08bbf78 100644 --- a/helpers/types.ts +++ b/helpers/types.ts @@ -257,6 +257,7 @@ export interface iAssetBase { STAKE: T; xSUSHI: T; WAVAX: T; + KAT: T; } export type iAssetsWithoutETH = Omit, 'ETH'>; @@ -286,6 +287,8 @@ export type iAavePoolAssets = Pick< | 'REN' | 'ENJ' | 'xSUSHI' + | 'KAT' + >; export type iLpPoolAssets = Pick< @@ -376,6 +379,7 @@ export enum TokenContractId { STAKE = 'STAKE', xSUSHI = 'xSUSHI', WAVAX = 'WAVAX', + KAT = 'KAT', } export interface IReserveParams extends IReserveBorrowParams, IReserveCollateralParams { diff --git a/markets/aave/commons.ts b/markets/aave/commons.ts index 5931e3057..bf87334d0 100644 --- a/markets/aave/commons.ts +++ b/markets/aave/commons.ts @@ -99,6 +99,10 @@ export const CommonsConfig: ICommonConfiguration = { BUSD: { borrowRate: oneRay.multipliedBy(0.05).toFixed(), }, + KAT: { + borrowRate: oneRay.multipliedBy(0.03).toFixed(), + }, + }, // ---------------- // COMMON PROTOCOL ADDRESSES ACROSS POOLS diff --git a/markets/aave/index.ts b/markets/aave/index.ts index 5313ef397..426cb6758 100644 --- a/markets/aave/index.ts +++ b/markets/aave/index.ts @@ -24,6 +24,7 @@ import { strategyYFI, strategyXSUSHI, strategyENJ, + strategyKAT, } from './reservesConfigs'; // ---------------- @@ -56,9 +57,13 @@ export const AaveConfig: IAaveConfiguration = { YFI: strategyYFI, ZRX: strategyZRX, xSUSHI: strategyXSUSHI, + KAT: strategyKAT, }, ReserveAssets: { - [eEthereumNetwork.goerli]: {}, + [eEthereumNetwork.goerli]: { + KAT: '0x357B99FcE34d2eD9962bC90266a477053498065E' + }, + [eEthereumNetwork.buidlerevm]: {}, [eEthereumNetwork.hardhat]: {}, [eEthereumNetwork.coverage]: {}, @@ -83,6 +88,7 @@ export const AaveConfig: IAaveConfiguration = { WETH: '0xd0a1e359811322d97991e03f863a0c30c2cf029c', YFI: '0xb7c325266ec274fEb1354021D27FA3E3379D840d', ZRX: '0xD0d76886cF8D952ca26177EB7CfDf83bad08C00C', + }, [eEthereumNetwork.ropsten]: { AAVE: '', @@ -105,6 +111,7 @@ export const AaveConfig: IAaveConfiguration = { WETH: '0xc778417e063141139fce010982780140aa0cd5ab', YFI: ZERO_ADDRESS, ZRX: '0x02d7055704EfF050323A2E5ee4ba05DB2A588959', + }, [eEthereumNetwork.main]: { AAVE: '0x7Fc66500c84A76Ad7e9c93437bFc5Ac33E2DDaE9', @@ -128,6 +135,7 @@ export const AaveConfig: IAaveConfiguration = { YFI: '0x0bc529c00C6401aEF6D220BE8C6Ea1667F6Ad93e', ZRX: '0xE41d2489571d322189246DaFA5ebDe1F4699F498', xSUSHI: '0x8798249c2E607446EfB7Ad49eC89dD1865Ff4272', + }, [eEthereumNetwork.tenderly]: { AAVE: '0x7Fc66500c84A76Ad7e9c93437bFc5Ac33E2DDaE9', diff --git a/markets/aave/reservesConfigs.ts b/markets/aave/reservesConfigs.ts index 06a3bf9de..9450edb4c 100644 --- a/markets/aave/reservesConfigs.ts +++ b/markets/aave/reservesConfigs.ts @@ -264,3 +264,16 @@ export const strategyXSUSHI: IReserveParams = { aTokenImpl: eContractid.AToken, reserveFactor: '3500', }; + +export const strategyKAT: IReserveParams = { + strategy: rateStrategyStableThree, + baseLTVAsCollateral: '7500', + liquidationThreshold: '8000', + liquidationBonus: '11000', + borrowingEnabled: true, + stableBorrowRateEnabled: true, + reserveDecimals: '18', + aTokenImpl: eContractid.AToken, + reserveFactor: '1000', + +}; \ No newline at end of file