FluidBalancerCappedRate ​
Inherits:IBalancerRateProvider, FluidCappedRate
Stores gas optimized and safety up and/or down capped exchange rate for a BalancerRateProvider, e.g. ezETH / ETH rate.
e.g. EZETH BalancerRateProvider contract; 0x387dbc0fb00b26fb085aa658527d5be98302c84c
Functions ​
constructor ​
solidity
constructor(FluidCappedRate.CappedRateConstructorParams memory params_) FluidCappedRate(params_);
_getNewRateRaw ​
solidity
function _getNewRateRaw() internal view virtual override returns (uint256 exchangeRate_);
getRate ​
Returns the current rate of e.g. ezETH in ETH
solidity
function getRate() external view override returns (uint256);