Skip to main content

IGhoAToken

Defines the basic interface of the GhoAToken.

The IGhoAToken interface inherits the IAToken and IGhoFacilitator interface.

This page shows the events, write and view methods within the IGhoAToken interface. The source code is available on GitHub.

Events

VariableDebtTokenSet

event VariableDebtTokenSet(address indexed variableDebtToken)

Emitted when a reference to the GHO variable debt token is set.

Input Parameters:

NameTypeDescription
variableDebtTokenaddressThe address of the GhoVariableDebtToken contract

Write Methods

setVariableDebtToken

function setVariableDebtToken(address GhoVariableDebtToken) external

Sets a reference to the GHO variable debt token.

Input Parameters:

NameTypeDescription
GhoVariableDebtTokenaddressThe address of the GhoVariableDebtToken contract

View Methods

getVariableDebtToken

function getVariableDebtToken() external view returns (address)

Returns the address of the GHO variable debt token.

Return Values:

TypeDescription
addressThe address of the GhoVariableDebtToken contract