Aave V3

AaveV3-v1.0 resolver triggers methods like getPosition, getPositionAll, getConfiguration, getReservesList. You can view details like source code, ABIs on snowtrace.

getPosition

Returns the position of user on aave v3.

function getPosition(        address user,         address[] memory tokens        )         public         view         returns (                AaveV3UserData memory,                AaveV3UserTokenData[] memory,                 AaveV3TokenData[] memory,                 ReserveIncentiveData[] memory        );
paramstypeDescription
useraddressThe address of the user whose tokens data you want.
tokensaddressString array of tokens whose data you want.

getPositionAll

Returns the position of user on aave v3 for all reserves of the market.

function getPositionAll(address user)         public         view         returns (                AaveV3UserData memory,                AaveV3UserTokenData[] memory,                 AaveV3TokenData[] memory,                 ReserveIncentiveData[] memory        );
paramstypeDescription
useraddressThe address of the user whose tokens data you want.

getConfiguration

Returns the user's configuration across all the reserves, which tokens the user-supplied as collateral and which user borrowed.

function getConfiguration(address user) public view returns (uint256[] memory collateral, uint256[] memory borrowed);
paramstypeDescription
useraddressThe address of the user whose tokens data you want.

getReservesList

Returns the list of initialized reserves.

 function getReservesList() public view returns (address[] memory data);


If you still can't find something you're looking for or have any questions, ask them at our developers community on Discord or simply send an Email.


Our team is excited about assisting you to build an application using Instadapp Developer Platform. Your questions and feedback help us make a better development environment for future developers.