Aave V2

AaveV2-v1.6 resolver triggers methods like getPosition, getConfiguration, getReservesList. You can view details like source code, ABIs on polygonscan.

getPosition

Returns the position of user on aave v2.

function getPosition(        address user,         address[] memory tokens        ) public view returns (AaveUserTokenData[] memory, AaveUserData memory);
paramstypeDescription
useraddressThe address of the user whose tokens data you want.
tokensaddressString array of tokens whose 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.