mirror of
https://github.com/Instadapp/aave-protocol-v2.git
synced 2024-07-29 21:47:30 +00:00
Added a few comments for clarity
This commit is contained in:
parent
9fb097e687
commit
0a3da08c9c
|
@ -230,7 +230,7 @@ export const initReservesByHelper = async (
|
||||||
|
|
||||||
// Set deployer back as admin
|
// Set deployer back as admin
|
||||||
await waitForTx(await addressProvider.setPoolAdmin(admin));
|
await waitForTx(await addressProvider.setPoolAdmin(admin));
|
||||||
return gasUsage;
|
return gasUsage; // Deprecated
|
||||||
};
|
};
|
||||||
|
|
||||||
export const getPairsTokenAggregator = (
|
export const getPairsTokenAggregator = (
|
||||||
|
@ -578,9 +578,10 @@ export const initTokenReservesByHelper = async (
|
||||||
|
|
||||||
// Set deployer back as admin
|
// Set deployer back as admin
|
||||||
await waitForTx(await addressProvider.setPoolAdmin(admin));
|
await waitForTx(await addressProvider.setPoolAdmin(admin));
|
||||||
return gasUsage;
|
return gasUsage; // No longer relevant
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// Function deprecated
|
||||||
const isErc20SymbolCorrect = async (token: tEthereumAddress, symbol: string) => {
|
const isErc20SymbolCorrect = async (token: tEthereumAddress, symbol: string) => {
|
||||||
const erc20 = await getAToken(token); // using aToken for ERC20 interface
|
const erc20 = await getAToken(token); // using aToken for ERC20 interface
|
||||||
const erc20Symbol = await erc20.symbol();
|
const erc20Symbol = await erc20.symbol();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user