For the complete documentation index, see llms.txt. This page is also available as Markdown.

IERC1271

Git Source

Functions

isValidSignature

Should return whether the signature provided is valid for the provided data

function isValidSignature(bytes32 hash, bytes memory signature) external view returns (bytes4 magicValue);

Parameters

Name
Type
Description

hash

bytes32

Hash of the data to be signed

signature

bytes

Signature byte array associated with _data

Returns

Name
Type
Description

magicValue

bytes4

The bytes4 magic value 0x1626ba7e

Last updated

Was this helpful?