You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
653 B
17 lines
653 B
// SPDX-License-Identifier: MIT
|
|
// OpenZeppelin Contracts (last updated v5.1.0) (interfaces/IERC1271.sol)
|
|
|
|
pragma solidity ^0.8.20;
|
|
|
|
/**
|
|
* @dev Interface of the ERC-1271 standard signature validation method for
|
|
* contracts as defined in https://eips.ethereum.org/EIPS/eip-1271[ERC-1271].
|
|
*/
|
|
interface IERC1271 {
|
|
/**
|
|
* @dev Should return whether the signature provided is valid for the provided data
|
|
* @param hash Hash of the data to be signed
|
|
* @param signature Signature byte array associated with _data
|
|
*/
|
|
function isValidSignature(bytes32 hash, bytes memory signature) external view returns (bytes4 magicValue);
|
|
}
|
|
|