OracleModule
UNIT
1e18 scale
GHO_DECIMALS
Number of decimals in the GHO token
AAVE_ORACLE
Address of the Aave Price Oracle
GHO
Address of the GHO token
constructor
getCollateralAmount
Get the amount of collateral for a given amount of fees
Calculates the amount of collateral matching the given amount of fees based on current prices
Parameters
Return Values
getFeeAmount
Get the amount of fees for a given amount of collateral
Calculates the amount of fees matching the given amount of collateral based on current prices
Parameters
Return Values
Last updated