Skip to content

Commit

Permalink
Add incentive controller address
Browse files Browse the repository at this point in the history
  • Loading branch information
bingen committed Jan 26, 2022
1 parent 1e765e9 commit 3dedc46
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions tasks/helpers/deploy-new-asset.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,14 @@ import {
deployVariableDebtToken,
} from './../../helpers/contracts-deployments';
import { setDRE } from '../../helpers/misc-utils';
import { ZERO_ADDRESS } from './../../helpers/constants';

const LENDING_POOL_ADDRESS_PROVIDER = {
main: '0xb53c1a33016b2dc2ff3653530bff1848a515c8c5',
kovan: '0x652B2937Efd0B5beA1c8d54293FC1289672AFC6b',
};

const INCENTIVES_CONTROLLER_ADDRESS = '0x036cA61C1977c6EA52222Db81F725fDBd70eFBd7';

const isSymbolValid = (symbol: string, network: EthereumNetwork) =>
Object.keys(reserveConfigs).includes('strategy' + symbol) &&
marketConfigs.AaveConfig.ReserveAssets[network][symbol] &&
Expand Down Expand Up @@ -55,7 +56,7 @@ WRONG RESERVE ASSET SETUP:
treasuryAddress,
`Aave interest bearing ${symbol}`,
`a${symbol}`,
ZERO_ADDRESS,
INCENTIVES_CONTROLLER_ADDRESS,
],
verify
);
Expand All @@ -65,7 +66,7 @@ WRONG RESERVE ASSET SETUP:
reserveAssetAddress,
`Aave stable debt bearing ${symbol}`,
`stableDebt${symbol}`,
ZERO_ADDRESS,
INCENTIVES_CONTROLLER_ADDRESS,
],
verify
);
Expand All @@ -75,7 +76,7 @@ WRONG RESERVE ASSET SETUP:
reserveAssetAddress,
`Aave variable debt bearing ${symbol}`,
`variableDebt${symbol}`,
ZERO_ADDRESS,
INCENTIVES_CONTROLLER_ADDRESS,
],
verify
);
Expand Down

0 comments on commit 3dedc46

Please sign in to comment.