Variables
minConfirmations
excessConfirmations
requiredOraclesCount
oracleAddresses
getOracleInfo
Functions
initialize
Parameters:
Name | Type | Description |
---|---|---|
_minConfirmations | uint8 | Minimal required confirmations. |
_excessConfirmations | uint8 | Minimal confirmations in case of too many confirmations |
setMinConfirmations
Parameters:
Name | Type | Description |
---|---|---|
_minConfirmations | uint8 | Minimal required confirmations. |
setExcessConfirmations
Parameters:
Name | Type | Description |
---|---|---|
_excessConfirmations | uint8 | Minimal confirmations in case of too many confirmations |
addOracles
Parameters:
Name | Type | Description |
---|---|---|
_oracles | address[] | Oracles’ addresses. |
_required | bool[] | A transfer will not be confirmed without oracles having required set true |
updateOracle
Parameters:
Name | Type | Description |
---|---|---|
_oracle | address | An oracle address. |
_isValid | bool | Is this oracle valid (i.e. should it be treated as an oracle)? |
_required | bool | If true, a transfer will not be confirmed without this oracle. |