Publication
Partagez vos connaissances.
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
Réponses
1There 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.
Connaissez-vous la réponse ?
Veuillez vous connecter et la partager.
Aave is a decentralized non-custodial liquidity protocol where users can participate as depositors or borrowers.
Gagne ta part de 1000 Sui
Gagne des points de réputation et obtiens des récompenses pour avoir aidé la communauté Sui à se développer.
- Error "No matching key" when trying to unstake USDC on BNB chain32
- How to tell the code to, rather than "deposit 1 eth worth of WBTC" deposit "500$ worth of WBTC"?22
- How to interpret configuration field in a response from the getReserveData view function in Aave v2?21
- Getting a return value of '25 - INVALID BURN AMOUNT'21
- Is there any way to stake in the security module on Görli?23