Skip to main content

UiGhoDataProvider

Data provider of GHO token as a reserve within the Aave Protocol

The UiGhoDataProvider contract inherits the IUiGhoDataProvider interface.

This page shows the public immutable state variables and external view methods within the UiGhoDataProvider contract. The source code is available on GitHub.

Immutable State Variables

POOL

IPool public immutable POOL

The address of the Pool contract.

GHO

IGhoToken public immutable GHO

The address of the Gho Token.

View Methods

getGhoReserveData

function getGhoReserveData() public view override returns (GhoReserveData memory) 

Returns data of the GHO reserve and the Aave Facilitator.

Return Values:

TypeDescription
GhoReserveDataAn object with information related to the GHO reserve and the Aave Facilitator

getGhoUserData

function getGhoUserData(address user) public view override returns (GhoUserData memory) 

Returns data of the user's position on GHO.

Input Parameters:

NameTypeDescription
useraddressThe address the user

Return Values:

TypeDescription
GhoUserDataAn object with information related to the user's position with regard to GHO