SignatureAggregator

Aggregator for chains with high fees (deployed to gas-efficient chains) (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

isSubmissionConfirmed

function isSubmissionConfirmed(bytes32 _submissionId)
external;

Returns submission confirmation details.

Parameter

Type

Description

_submissionId

bytes32

Submission identifier

getSubmissionInfo

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

Returns whether transfer request is confirmed.

Parameter

Type

Description

_submissionId

bytes32

Submission identifier

State-Changing Functions

submitMany

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

Confirms few transfer requests.

Parameter

Type

Description

_submissionIds

bytes32[] memory

Submission identifiers

_signatures

bytes[] memory

Oracles signatures.

submit

function submit(bytes32 _submissionId, bytes memory _signature)
external onlyOracle;

Confirms the transfer request.

Parameter

Type

Description

_submissionId

bytes32

Submission identifier

_signature

bytes memory

Oracles signature