balanceOf()
for the associated debt token of that user.LendingPoolCore
contract that holds all the protocol's assets. Asset's are held directly in the associated aToken contracts, with the LendingPool
being the 'core' contract of the protocol.reserve
value as was done in v1). Therefore to call a function using the ETH as an asset, use the WETH address.LendingPool
contract. This is different from v1, where a redeem/withdraw of an aTokens needed to be called on the aToken contract. approveDelegation()
on the relevant debt token. AddressesProviders
. The AddressesProviderRegistry
will maintain a registry of all the Aave market addresses providers.LendingPoolCore
is no longer used. Only LendingPool
is used, which simplifies integrations and building on Aave v2.