InfraredBERARateProvider
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
| Name | Type | Description |
|---|---|---|
<none> | uint256 | amount the value of iBERA in terms of BERA |