mirror of
https://github.com/Instadapp/aave-protocol-v2.git
synced 2024-07-29 21:47:30 +00:00
Brought branch up to speed with light deployment update
This commit is contained in:
commit
e4f4bb0cdb
|
@ -60,7 +60,7 @@ contract LendingPoolConfigurator is VersionedInitializable, ILendingPoolConfigur
|
||||||
/**
|
/**
|
||||||
* @dev Initializes reserves in batch
|
* @dev Initializes reserves in batch
|
||||||
**/
|
**/
|
||||||
function batchInitReserve(InitReserveInput[] calldata inputParams) public onlyPoolAdmin {
|
function batchInitReserve(InitReserveInput[] calldata inputParams) external onlyPoolAdmin {
|
||||||
ILendingPool cachedPool = pool;
|
ILendingPool cachedPool = pool;
|
||||||
for (uint256 i = 0; i < inputParams.length; i++) {
|
for (uint256 i = 0; i < inputParams.length; i++) {
|
||||||
_initReserve(cachedPool, inputParams[i]);
|
_initReserve(cachedPool, inputParams[i]);
|
||||||
|
|
|
@ -528,6 +528,7 @@ export const initTokenReservesByHelper = async (
|
||||||
deployedStableTokens.push(stableTokenImpl);
|
deployedStableTokens.push(stableTokenImpl);
|
||||||
deployedVariableTokens.push(variableTokenImpl);
|
deployedVariableTokens.push(variableTokenImpl);
|
||||||
deployedATokens.push(aTokenImplementation);
|
deployedATokens.push(aTokenImplementation);
|
||||||
|
//reserveTokens.push();
|
||||||
deployedRates.push(strategyImpl);
|
deployedRates.push(strategyImpl);
|
||||||
reserveInitDecimals.push(decimals.toString());
|
reserveInitDecimals.push(decimals.toString());
|
||||||
reserveSymbols.push(symbol);
|
reserveSymbols.push(symbol);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user