🫐Ferc721

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.18;
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";

interface IFERC721 is IERC721 {
    function factoryContract() external view returns(address);
    function swapContract() external view returns(address);
    function wethContract() external view returns(address);
    function name() external view returns(string memory);
    function symbol() external view returns(string memory);
    function totalSupply() external view returns(uint);
    function max() external view returns(uint);
    function limit() external view returns(uint);
    function needFerc() external view returns(bool);
    function inscriptionId() external view returns(uint);
    function ordinals() external view returns(uint);
    function lastMintTimestamp(address addr) external view returns (uint);
}

Ferc721 extends ERC721, and we added the folowing interfaces:

  • factoryContract

  • swapContract

  • wethContract

  • name

  • symbol

  • inscriptionId: Each Ferc721 NFT has unique id from 1.

  • ordinals: A global ordinal number increased by each deploy and mint.

  • totalSupply: Total minted Ferc721 NFTs. TotalSupply must be less or equal int(max/limit).

  • max: max Ferc20 tokens can mint.

  • limit: Quantity of Ferc20 tokens in each Ferc721 NFT

  • needFerc: If is belong to Ferc family.

  • lastMintTimestamp(address)

Last updated