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

NameTypeDescription
hashbytes32Hash of the data to be signed
signaturebytesSignature byte array associated with _data

Returns

NameTypeDescription
magicValuebytes4The bytes4 magic value 0x1626ba7e