ConfirmationAggregator

Aggregator for chains with low fees (base class is AggregatorBase)

Events

Confirmed

event Confirmed(bytes32 submissionId, address operator);

Emits once the submission is confirmed by one oracle.

Parameter

Type

Description

submissionId

bytes32

Submission identifier

operator

address

Oracle address

SubmissionApproved

event SubmissionApproved(bytes32 submissionId);

Emits once the submission is confirmed by min required amount of oracles.

Parameter

Type

Description

_submissionId

bytes32

Submission identifier

Read-Only Functions

getSubmissionInfo

function getSubmissionInfo(bytes32 _submissionId)
external view returns (SubmissionInfo);

Returns whether transfer request is confirmed.

Parameter

Type

Description

block

uint256

Confirmation block

confirmations

uint256

received confirmations count

requiredConfirmations

uint256

required oracles (DSRM) received confirmations count

isConfirmed

bool

is confirmed submission (user can claim)

State-Changing Functions

submitMany

function submitMany(bytes32[] memory _submissionIds)
external onlyOracle;

Confirms few transfer requests.

Parameter

Type

Description

_submissionIds

bytes32[] memory

Submission identifiers

submit

function submit(bytes32 _submissionId) external onlyOracle;

Confirms the transfer request.

Parameter

Type

Description

_submissionId

bytes32

Submission identifier