IExchangeRateProvider

Git Source

Author: Nuts Finance Developer

Interface for tokens with exchange rate functionality

Functions

exchangeRate

Returns the exchange rate of the token.

function exchangeRate() external view returns (uint256);

Returns

NameTypeDescription
<none>uint256The exchange rate of the token.

exchangeRateDecimals

Returns the exchange rate decimals.

function exchangeRateDecimals() external view returns (uint256);

Returns

NameTypeDescription
<none>uint256The exchange rate decimals of the token.