Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

ERC7913P256Verifier

Inherits: IERC7913SignatureVerifier

ERC-7913 signature verifier that support P256 (secp256r1) keys.

Note: stateless:

Functions

verify

Verifies signature as a valid signature of hash by key. MUST return the bytes4 magic value IERC7913SignatureVerifier.verify.selector if the signature is valid. SHOULD return 0xffffffff or revert if the signature is not valid. SHOULD return 0xffffffff or revert if the key is empty

function verify(bytes calldata key, bytes32 hash, bytes calldata signature) public view virtual returns (bytes4);