IERC 1271 Upgradeable

Interface of the ERC1271 standard signature validation method for contracts as defined in https://eips.ethereum.org/EIPS/eip-1271[ERC-1271]. Available since v4.1.

Methods

isValidSignature

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

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

Parameters

NameTypeDescription

hash

bytes32

Hash of the data to be signed

signature

bytes

Signature byte array associated with _data

Returns

NameTypeDescription

magicValue

bytes4

undefined

Last updated