Files
core/contracts/interfaces/IERC721MetaTx.sol
donosonaumczuk 18f09ad8e1 misc: Interfaces version >=0.6.0
Co-authored-by: Victor Naumik <vicnaum@gmail.com>
2023-04-07 17:32:24 +01:00

28 lines
730 B
Solidity

// SPDX-License-Identifier: MIT
pragma solidity >=0.6.0;
/**
* @title IERC721MetaTx
* @author Lens Protocol
*
* @notice Extension of ERC-721 including meta-tx signatures related functions.
*/
interface IERC721MetaTx {
/**
* @notice Returns the current signature nonce of the given signer.
*
* @param signer The address for which to query the nonce.
*
* @return uint256 The current nonce of the given signer.
*/
function nonces(address signer) external view returns (uint256);
/**
* @notice Returns the EIP-712 domain separator for this contract.
*
* @return bytes32 The domain separator.
*/
function getDomainSeparator() external view returns (bytes32);
}