LogAddOracle
69b6de87
inputs | 0 | address | oracle | |
1 | string | name |
LogOracleNameChange
6f460b12
inputs | 0 | address | oracle | |
1 | string | oldName | ||
2 | string | newName |
LogRemoveOracle
f4f6ebd6
inputs | 0 | address | oracle | |
1 | string | name |
OwnershipRenounced
f8df3114
inputs | 0 | address | previousOwner |
OwnershipTransferred
8be0079c
inputs | 0 | address | previousOwner | |
1 | address | newOwner |
addOracle
071a56df
Allows owner to add a new oracle to the registry.
inputs | 0 | address | _oracle | Address of new oracle. |
1 | string | _name | Name of new oracle. |
getOracleAddressByName
ed36a874
Provides a registered oracle's address when given the oracle name.
inputs | 0 | string | _name | Name of registered oracle. |
outputs | 0 | address |
getOracleAddresses
7330aba2
Returns an array containing all oracle addresses.
outputs | 0 | address[] |
getOracleByName
7216e02d
Provides a registered oracle's metadata, looked up by name.
inputs | 0 | string | _name | Name of registered oracle. |
outputs | 0 | address | ||
1 | string |
getOracleList
510c27ad
Returns an array of oracle addresses, an array with the length of each oracle name, and a concatenated string of oracle names
outputs | 0 | address[] | ||
1 | uint256[] | |||
2 | string |
getOracleMetaData
6248d6bf
Provides a registered oracle's metadata, looked up by address.
inputs | 0 | address | _oracle | Address of registered oracle. |
outputs | 0 | address | ||
1 | string |
hasOracle
180c9309
Checks if an oracle exists in the registry
inputs | 0 | address | _oracle | Address of registered oracle. |
outputs | 0 | bool |
oracleAddresses
dc4bfb85
inputs | 0 | uint256 |
oracles
addd5099
inputs | 0 | address |
owner
8da5cb5b
removeOracle
e8d1891b
Allows owner to remove an existing oracle from the registry.
inputs | 0 | address | _oracle | Address of existing oracle. |
1 | uint256 | _index |
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.
setOracleName
fac3c1f4
Allows owner to modify an existing oracle's name.
inputs | 0 | address | _oracle | Address of existing oracle. |
1 | string | _name | New name. |
transferOwnership
f2fde38b
Allows the current owner to transfer control of the contract to a newOwner.
inputs | 0 | address | _newOwner | The address to transfer ownership to. |