Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

InfraredBERARateProvider

Git Source

Inherits: IRateProvider

Title: iBERA Rate Provider

Returns the value of iBERA in terms of BERA

State Variables

ibera

The address of the ibera contract

IInfraredBERAV2 public immutable ibera

Functions

constructor

Constructs the MevETHRateProvider contract, setting the mevETH address

constructor(IInfraredBERAV2 _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