interface IERC1271 {

//    bytes4 internal constant _ERC1271MAGICVALUE = 0x1626ba7e;
//    bytes4 internal constant _ERC1271FAILVALUE = 0xffffffff;

    /**
     * @dev Should return whether the signature provided is valid for the provided data
     * @param _hash hash of the data signed//Arbitrary length data signed on the behalf of address(this)
     * @param _signature Signature byte array associated with _data
     *
     * @return magicValue either 0x1626ba7e on success or 0xffffffff failure
     */
    function isValidSignature(
        bytes32 _hash, //bytes memory _data,
        bytes calldata _signature
    )
    external
    view
    returns (bytes4 magicValue);
}
/**
 * @notice ERC-1271: Standard Signature Validation Method for Contracts
 */
function isValidSignature(
        bytes32 _hash, //bytes memory _data,
        bytes calldata _signature
    )
    external
    view
    returns (bytes4 magicValue);
/**
 * @dev Should return whether the signature provided is valid for the provided data
 * @param _hash hash of the data signed//Arbitrary length data signed on the behalf of address(this)
 * @param _signature Signature byte array associated with _data
 *
 * @return magicValue either 0x1626ba7e on success or 0xffffffff failure
 */