MockExchangeRateProvider

Git Source

Inherits: IExchangeRateProvider

Mock exchange rate.

State Variables

rate

uint256 private rate;

decimals

uint256 private decimals;

Functions

constructor

constructor(uint256 _rate, uint256 _decimals);

newRate

function newRate(uint256 _rate) external;

exchangeRate

function exchangeRate() external view returns (uint256);

exchangeRateDecimals

function exchangeRateDecimals() external view returns (uint256);