InfraredBERARateProvider

Git Source

Inherits: IRateProvider

Returns the value of iBERA in terms of BERA

State Variables

ibera

The address of the ibera contract

IInfraredBERA public immutable ibera;

Functions

constructor

Constructs the MevETHRateProvider contract, setting the mevETH address

constructor(IInfraredBERA _ibera);

getRate

Returns the value of iBERA in terms of BERA

function getRate() external view override returns (uint256);

Returns

NameTypeDescription
<none>uint256amount the value of iBERA in terms of BERA