Aave.

Допис

Діліться своїми знаннями.

Aaveator.
Jan 29, 2023
Питання та відповіді експертів

Aave v3 code base - Learning

Hi,
I am trying to learn Aave v3 code base.
So as a learning practice, I am trying to deploy a new lending pool on testnet of any custom ERC20 tokens. Can anyone suggest me which contract should I interact with?
I was looking at IPool.sol interface but I couldn't see any function which will let me define a new pool. Any help would be highly appericiated.
Thanks

  • Aave Pool
  • Aave v3
0
1
Поділитися
Коментарі
.

Відповіді

1
Aaveator.
Feb 2 2023, 16:37

There is only one pool per market. To add another erc20 asset, initReserve / batchInitReserve method in pool configurator is called by admin. For testing/dev purpose you can use hardhat fork, impersonate admin accout and the reserve.

More info.

0
Коментарі
.

Ви знаєте відповідь?

Будь ласка, увійдіть та поділіться нею.

Ми використовуємо файли cookie, щоб гарантувати вам найкращий досвід на нашому сайті.
Детальніше