RenzoOracle

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0x2b8b012e at 19084217
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 48 additional slots

No balances found for "RenzoOracle"

No transactions found for "RenzoOracle"


Functions
Getter at block 20888525
roleManager(view returns (address)
0x0000000000000000000000000000000000000000
Read-only
calculateMintAmount(uint256 _currentValueInProtocoluint256 _newValueAddeduint256 _existingEzETHSupplypure returns (uint256)
calculateRedeemAmount(uint256 _ezETHBeingBurneduint256 _existingEzETHSupplyuint256 _currentValueInProtocolpure returns (uint256)
lookupTokenAmountFromValue(address _tokenuint256 _valueview returns (uint256)
lookupTokenValue(address _tokenuint256 _balanceview returns (uint256)
lookupTokenValues(address[] _tokensuint256[] _balancesview returns (uint256)
tokenOracleLookup(addressview returns (address)
State-modifying
initialize(address _roleManager
setOracleAddress(address _tokenaddress _oracleAddress
Events
Initialized(uint8 version
OracleAddressUpdated(address tokenaddress oracleAddress
Constructor
constructor(
Fallback and receive

This contract contains no fallback and receive objects.

Errors
InvalidOraclePrice(
InvalidTokenAmount(
InvalidTokenDecimals(uint8 expecteduint8 actual
InvalidZeroInput(
MismatchedArrayLengths(
NotOracleAdmin(
OracleNotFound(
OraclePriceExpired(