SignatureVerifier
It's used to verify that a transfer is signed by oracles.
Variables
confirmationThreshold
Number of required confirmations per block after the extra check is enabled
submissionsInBlock
submissions count in current block
currentBlock
Current block
debridgeAddress
Debridge gate address
Functions
initialize
Constructor that initializes the most important configurations.
Parameters:
_minConfirmations
uint8
Common confirmations count.
_confirmationThreshold
uint8
Confirmations per block after the extra check is enabled.
_excessConfirmations
uint8
Confirmations count in case of excess activity.
submit
Check confirmation (validate signatures) for the transfer request.
Parameters:
_submissionId
bytes32
Submission identifier.
_signatures
bytes
Array of signatures by oracles.
_excessConfirmations
uint8
override min confirmations count
setThreshold
Sets minimal required confirmations.
Parameters:
_confirmationThreshold
uint8
Confirmation info.
setDebridgeAddress
Sets core debridge conrtact address.
Parameters:
_debridgeAddress
address
Debridge address.
isValidSignature
Check is valid signature
Parameters:
_submissionId
bytes32
Submission identifier.
_signature
bytes
signature by oracle.
_countSignatures
version
Get this contract's version
Last updated