Skip to main content

SigManager

Git Source

SigManager

Abstract contract for verifying signatures against operator keys

Provides signature verification functionality for operator keys

Methods

_verifyKeySignature

function _verifyKeySignature(
address operator,
bytes memory key_,
bytes memory signature
) internal virtual returns (bool)

Verifies that a signature was created by the owner of a key

Parameters

NameTypeDescription
operatoraddressThe address of the operator that owns the key
key_bytes memoryThe public key to verify against
signaturebytes memoryThe signature to verify

Returns

NameTypeDescription
boolTrue if the signature was created by the key owner, false otherwise