OraclesManager
The base contract for oracles management. Allows adding/removing oracles, managing the minimal required amount of confirmations.
Variables
minConfirmations
Minimal required confirmations
excessConfirmations
Minimal required confirmations in case of too many confirmations
requiredOraclesCount
Count of required oracles
oracleAddresses
Oracle addresses
getOracleInfo
Maps an oracle address to the oracle details
Functions
initialize
Constructor that initializes the most important configurations.
Parameters:
setMinConfirmations
Sets minimal required confirmations.
Parameters:
setExcessConfirmations
Sets minimal required confirmations in case of too many confirmations.
Parameters:
addOracles
Add oracles.
Parameters:
updateOracle
Update an oracle.
Parameters:
Last updated