Oracle Registry - Oracles added to the bZx network by decentralized governance
/contracts/oracle/OracleRegistry.sol

event

LogAddOracle 69b6de87

inputs0addressoracle
inputs1stringname
event

LogOracleNameChange 6f460b12

inputs0addressoracle
inputs1stringoldName
inputs2stringnewName
event

LogRemoveOracle f4f6ebd6

inputs0addressoracle
inputs1stringname
event

OwnershipRenounced f8df3114

inputs0addresspreviousOwner
event

OwnershipTransferred 8be0079c

inputs0addresspreviousOwner
inputs1addressnewOwner
function

addOracle 071a56df

Allows owner to add a new oracle to the registry.

inputs0address_oracle

Address of new oracle.

inputs1string_name

Name of new oracle.

function, constant

getOracleAddressByName ed36a874

Provides a registered oracle's address when given the oracle name.

inputs0string_name

Name of registered oracle.

outputs0address
function, constant

getOracleAddresses 7330aba2

Returns an array containing all oracle addresses.

outputs0address[]
function, constant

getOracleByName 7216e02d

Provides a registered oracle's metadata, looked up by name.

inputs0string_name

Name of registered oracle.

outputs0address
outputs1string
function, constant

getOracleList 510c27ad

Returns an array of oracle addresses, an array with the length of each oracle name, and a concatenated string of oracle names

outputs0address[]
outputs1uint256[]
outputs2string
function, constant

getOracleMetaData 6248d6bf

Provides a registered oracle's metadata, looked up by address.

inputs0address_oracle

Address of registered oracle.

outputs0address
outputs1string
function, constant

hasOracle 180c9309

Checks if an oracle exists in the registry

inputs0address_oracle

Address of registered oracle.

outputs0bool
function, constant

oracleAddresses dc4bfb85

inputs0uint256
function, constant

oracles addd5099

inputs0address
function, constant

owner 8da5cb5b

function

removeOracle e8d1891b

Allows owner to remove an existing oracle from the registry.

inputs0address_oracle

Address of existing oracle.

inputs1uint256_index
function

renounceOwnership 715018a6

Renouncing to ownership will leave the contract without an owner. It will not be possible to call the functions with the onlyOwner modifier anymore.

Allows the current owner to relinquish control of the contract.

function

setOracleName fac3c1f4

Allows owner to modify an existing oracle's name.

inputs0address_oracle

Address of existing oracle.

inputs1string_name

New name.

function

transferOwnership f2fde38b

Allows the current owner to transfer control of the contract to a newOwner.

inputs0address_newOwner

The address to transfer ownership to.