Registry
Registry keeps track of the contracts currently being used in the Opium protocol.
All its user-facing functions are read-only and can be used to fetch the addresses of the contracts currently in use in the Opium Protocol rather than hardcoding them.
changeOpiumAddress() external view returns (address)
It allows to change the address of the recipient of the settlement fees within the Opium Protocol. It can only be called by the current account being the recipient of the settlement fees.
getMinter() external view returns (address)
It returns the current
TokenMinter
addressgetTokenSpender() external view returns (address)
It returns the current
TokenSpender
addressgetOpiumAddress() external view returns (address)
It returns the account that is currently set to receive settlement fees in the Opium Protocol.
getCore() external view returns (address)
It returns the current
Core
addressgetOracleAggregator() external view returns (address)
It returns the current
OracleAggregator
addressgetSyntheticAggregator() external view returns (address)
It returns the current
SyntheticAggregator
addressLast modified 1yr ago