From f1dd3c65be67583c31ce221e39d8230d48ac9dbb Mon Sep 17 00:00:00 2001 From: shivani Date: Mon, 29 Nov 2021 15:42:11 +0530 Subject: [PATCH] return realT config --- helpers/configuration.ts | 8 +++++++- helpers/types.ts | 1 + 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/helpers/configuration.ts b/helpers/configuration.ts index 47d1902a..55ae391b 100644 --- a/helpers/configuration.ts +++ b/helpers/configuration.ts @@ -11,6 +11,7 @@ import AaveConfig from '../markets/aave'; import MaticConfig from '../markets/matic'; import AvalancheConfig from '../markets/avalanche'; import AmmConfig from '../markets/amm'; +import RealTConfig from '../markets/realT'; import { CommonsConfig } from '../markets/aave/commons'; import { DRE, filterMapBy } from './misc-utils'; @@ -39,6 +40,8 @@ export const loadPoolConfig = (configName: ConfigNames): PoolConfiguration => { return AvalancheConfig; case ConfigNames.Commons: return CommonsConfig; + case ConfigNames.RealT: + return RealTConfig; default: throw new Error( `Unsupported pool configuration: ${configName} is not one of the supported configs ${Object.values( @@ -66,7 +69,10 @@ export const getReservesConfigByPool = (pool: AavePools): iMultiPoolsAssets { [AavePools.matic]: T; [AavePools.amm]: T; [AavePools.avalanche]: T; + [AavePools.realT]: T; } export interface iBasicDistributionParams {