Skip to main content

IConsolidationsChecker

Git Source

Inherits: IERC5267

Author: StakeWise

Defines the interface for the ConsolidationsChecker contract

Functions

verifySignatures

Verifies the signatures of oracles for validators consolidations. Reverts if the signatures are invalid.

function verifySignatures(address vault, bytes calldata validators, bytes calldata signatures) external;

Parameters

NameTypeDescription
vaultaddressThe address of the vault
validatorsbytesThe concatenation of the validators' data
signaturesbytesThe concatenation of the oracles' signatures

isValidSignatures

Function for checking signatures of oracles for validators consolidations

function isValidSignatures(address vault, bytes calldata validators, bytes calldata signatures)
external
returns (bool);

Parameters

NameTypeDescription
vaultaddressThe address of the vault
validatorsbytesThe concatenation of the validators' data
signaturesbytesThe concatenation of the oracles' signatures

Returns

NameTypeDescription
<none>booltrue if the signatures are valid, false otherwise