RenzoOracle
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
5
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 48 additional slots
0x0000…0000
Balances ($0.00)
No balances found for "RenzoOracle"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "RenzoOracle"
ABI
ABI objects
Getter at block 20888525
roleManager() view returns (address)
0x0000000000000000000000000000000000000000
Read-only
calculateMintAmount(uint256 _currentValueInProtocol, uint256 _newValueAdded, uint256 _existingEzETHSupply) pure returns (uint256)
calculateRedeemAmount(uint256 _ezETHBeingBurned, uint256 _existingEzETHSupply, uint256 _currentValueInProtocol) pure returns (uint256)
lookupTokenAmountFromValue(address _token, uint256 _value) view returns (uint256)
lookupTokenValue(address _token, uint256 _balance) view returns (uint256)
lookupTokenValues(address[] _tokens, uint256[] _balances) view returns (uint256)
tokenOracleLookup(address) view returns (address)
State-modifying
Events initialize(address _roleManager)
setOracleAddress(address _token, address _oracleAddress)
Initialized(uint8 version)
OracleAddressUpdated(address token, address oracleAddress)
constructor()
This contract contains no fallback and receive objects.
InvalidOraclePrice()
InvalidTokenAmount()
InvalidTokenDecimals(uint8 expected, uint8 actual)
InvalidZeroInput()
MismatchedArrayLengths()
NotOracleAdmin()
OracleNotFound()
OraclePriceExpired()