return realT config

This commit is contained in:
shivani 2021-11-29 15:42:11 +05:30
parent 41758cd6b0
commit f1dd3c65be
2 changed files with 8 additions and 1 deletions

View File

@ -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<IRes
},
[AavePools.avalanche]: {
...AvalancheConfig.ReservesConfig,
}
},
[AavePools.realT]: {
...RealTConfig.ReservesConfig,
},
},
pool
);

View File

@ -479,6 +479,7 @@ export interface iParamsPerPool<T> {
[AavePools.matic]: T;
[AavePools.amm]: T;
[AavePools.avalanche]: T;
[AavePools.realT]: T;
}
export interface iBasicDistributionParams {