Contract 0xE6A5e460F6A4c5dcD50d558B50362473b250505b

Txn Hash Method
Block
From
To
Value [Txn Fee]
0x79ea759f9ad2cea6c0b80cf44ecda81a15a0a54733c74823249c6e58768ff6130x60806040282579362022-01-17 16:34:23128 days 22 hrs agoPaintSwap Finance: Deployer IN  Create: PaintSwapUserNFTERC29810 FTM1.340784337001
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x2c7e6acecb796dc0d6b6d9af4c261b4c9a608cdc7fc7fcb6e230e10072aff50f391057602022-05-26 14:35:5512 mins ago PaintSwap: User NFT ERC 29810x3b99636439fba6314c0f52d35fed2ff4421914070.1 FTM
0x6741878acc8a9998013f1b75057fde0cf49958b455dd9511e1089748ce37e2c8391047212022-05-26 14:17:0031 mins ago PaintSwap: User NFT ERC 29810x3b99636439fba6314c0f52d35fed2ff4421914070.1 FTM
0xaa989c0b121a1beac04f4beb265402702503231616b75fe0d874e3c0a65b9f40390871622022-05-26 8:19:396 hrs 29 mins ago PaintSwap: User NFT ERC 29810x3b99636439fba6314c0f52d35fed2ff4421914070.1 FTM
0x6e9f43c0faf297bf0dce33f2c06b6538e770657c6ed8edd73bf8422f0e9c64cd390600752022-05-25 23:24:1515 hrs 24 mins ago PaintSwap: User NFT ERC 29810x3b99636439fba6314c0f52d35fed2ff4421914070.1 FTM
0xe21521491b6bf2ba63787587543c96ac7c179817d1d26b43c54bb417fe3f0ddf390593582022-05-25 23:10:1315 hrs 38 mins ago PaintSwap: User NFT ERC 29810x3b99636439fba6314c0f52d35fed2ff4421914070.1 FTM
0x1e4c7630398a0273ab0d29beb541b132f46a6476a2b62958cac4aa844405a974390485972022-05-25 19:40:4419 hrs 8 mins ago PaintSwap: User NFT ERC 29810x3b99636439fba6314c0f52d35fed2ff4421914070.1 FTM
0xb7fc68f263bb8c03540c201d8324e7da18e03d7b265a50722401e423f2a37c96390446642022-05-25 18:26:1820 hrs 22 mins ago PaintSwap: User NFT ERC 29810x3b99636439fba6314c0f52d35fed2ff4421914070.1 FTM
0xcd113bb657bdab2a741b50c28713490633b830877194c51d0b442b5cefe6912c390441482022-05-25 18:17:0820 hrs 31 mins ago PaintSwap: User NFT ERC 29810x3b99636439fba6314c0f52d35fed2ff4421914070.1 FTM
0xaef082b7d28c6aa316c10286dcd72889553acf179349c3e136713a9940baf355390439702022-05-25 18:14:0720 hrs 34 mins ago PaintSwap: User NFT ERC 29810x3b99636439fba6314c0f52d35fed2ff4421914070.1 FTM
0xf4136fbc9149ac8dd472278e7bca91494bd7d3f9d6dd951f3769bfd5076aa806390439002022-05-25 18:12:5220 hrs 36 mins ago PaintSwap: User NFT ERC 29810x3b99636439fba6314c0f52d35fed2ff4421914070.1 FTM
0x736996872e6665f385dad5dadd48a03d473c1c5728b04e29e3c02569baa0354c390400482022-05-25 16:57:2921 hrs 51 mins ago PaintSwap: User NFT ERC 29810x3b99636439fba6314c0f52d35fed2ff4421914070.1 FTM
0x663a67c99d1fb993b5de332837e955b54326ca6b977bc386d1a2721aef56940f390368872022-05-25 15:58:4222 hrs 50 mins ago PaintSwap: User NFT ERC 29810x3b99636439fba6314c0f52d35fed2ff4421914070.1 FTM
0x4cedd67c64b5388ec51d0479a4fd60884d1a80617feb1ddffdae41fd933f7879390352812022-05-25 15:28:3023 hrs 20 mins ago PaintSwap: User NFT ERC 29810x3b99636439fba6314c0f52d35fed2ff4421914070.1 FTM
0x836cda8cf2097c39618dab9168efcfafc22fd9550145f99b82242d5218c232bb390351662022-05-25 15:26:0623 hrs 22 mins ago PaintSwap: User NFT ERC 29810x3b99636439fba6314c0f52d35fed2ff4421914070.1 FTM
0x98c62eb123b783f2ae185a2e429f5b39703a502ccdfdab4ad86b7bc03a9b174d390349862022-05-25 15:22:4823 hrs 26 mins ago PaintSwap: User NFT ERC 29810x3b99636439fba6314c0f52d35fed2ff4421914070.1 FTM
0x64ff54e75f17f8757c2a7452d4c9d10742b15803f590a540354a4f68ae68667e390339202022-05-25 15:02:0523 hrs 46 mins ago PaintSwap: User NFT ERC 29810x3b99636439fba6314c0f52d35fed2ff4421914070.1 FTM
0x1ee4f280f5ac09c93073ba3c6e0894af185b826e38480957c3d4664b3b3550d6390338212022-05-25 15:00:0723 hrs 48 mins ago PaintSwap: User NFT ERC 29810x3b99636439fba6314c0f52d35fed2ff4421914070.1 FTM
0x46d18dd75a409afdf9a280c4ffdf953e1add0c9c15e6080a1dabc54fcee90f06390336572022-05-25 14:57:1823 hrs 51 mins ago PaintSwap: User NFT ERC 29810x3b99636439fba6314c0f52d35fed2ff4421914070.1 FTM
0x23e6b7d53ba7368982fa095c650869fc4cdd49797ebf1ae54e464fcfdfbdf147390253172022-05-25 12:15:351 day 2 hrs ago PaintSwap: User NFT ERC 29810x3b99636439fba6314c0f52d35fed2ff4421914070.1 FTM
0x51ff8a5c9ecbff67270080d4d8353c51058d4ca39d9e4bc33218989b67a73786390226662022-05-25 11:21:481 day 3 hrs ago PaintSwap: User NFT ERC 29810x3b99636439fba6314c0f52d35fed2ff4421914070.1 FTM
0x932965aac5b804587bb547e9e68008e06644c34b9a9dcb77ddeebd3dabb1b7f7390225552022-05-25 11:17:551 day 3 hrs ago PaintSwap: User NFT ERC 29810x3b99636439fba6314c0f52d35fed2ff4421914070.1 FTM
0xa9f7fa914c537bd3fe6c16541dfa19ccf20208c75ebc6980870dc650294a22ab390222292022-05-25 11:07:251 day 3 hrs ago PaintSwap: User NFT ERC 29810x3b99636439fba6314c0f52d35fed2ff4421914070.1 FTM
0xa39075e2636cbe6aa7e1eb3d9d4ad221479760239691df09c5cf9bc9d9eb1bb8389911592022-05-25 1:07:421 day 13 hrs ago PaintSwap: User NFT ERC 29810x3b99636439fba6314c0f52d35fed2ff4421914070.1 FTM
0x394f0f2d9df163fce3d47d3b243e4f11f1efbe78d7cea458ae5716b16563041f389903252022-05-25 0:48:321 day 14 hrs ago PaintSwap: User NFT ERC 29810x3b99636439fba6314c0f52d35fed2ff4421914070.1 FTM
0xb1fdeb6ee417b110da251c778fa386c5ecb216165388535168249268ed04996d389901302022-05-25 0:45:111 day 14 hrs ago PaintSwap: User NFT ERC 29810x3b99636439fba6314c0f52d35fed2ff4421914070.1 FTM
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
PaintSwapUserNFTERC2981

Compiler Version
v0.8.6+commit.11564f7e

Optimization Enabled:
Yes with 1000000 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 16 : PaintSwapUserNFTERC2981.sol
//SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "./PaintSwapUserNFTBase.sol";
import "../interfaces/IERC2981.sol";

contract PaintSwapUserNFTERC2981 is PaintSwapUserNFTBase, IERC2981 {
  uint public royalty; // base 10000
  address public royaltyRecipient;

  function initialize(
    address _marketplace,
    address _royaltyRecipient,
    uint128 _royalty,
    address _devAddr,
    uint128 _mintFee,
    uint128 _maxMints,
    string calldata _name,
    address _owner
  ) public override initializer {
    super.initialize(_marketplace, _royaltyRecipient, _royalty, _devAddr, _mintFee, _maxMints, _name, _owner);
    require(royalty <= 2000); // 20%
    require(_royaltyRecipient != address(0));
    royalty = _royalty;
    royaltyRecipient = _royaltyRecipient;
  }

  function royaltyInfo(uint256, uint256 _salePrice)
    external
    view
    override
    returns (address receiver, uint256 royaltyAmount)
  {
    uint256 amount = (_salePrice * royalty) / 10000;
    return (royaltyRecipient, amount);
  }

  function supportsInterface(bytes4 interfaceId) public view override(IERC165, ERC1155) returns (bool) {
    if (royalty == 0) {
      return super.supportsInterface(interfaceId);
    }
    return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId);
  }

  function setRoyaltyRecipient(address _royaltyRecipient) external onlyOwner {
    require(_royaltyRecipient != address(0), "royalty cannot be sent to zero address");
    royaltyRecipient = _royaltyRecipient;
  }
}

File 2 of 16 : PaintSwapUserNFTBase.sol
//SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/proxy/utils/Initializable.sol";
import "./interfaces/InitializeUserNFT.sol";

abstract contract PaintSwapUserNFTBase is ERC1155, Initializable, InitializeUserNFT {
  event Initialized(string name);
  event MaxMintsReached();
  event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
  event UpdateName(string name);
  event Ignore(bool ignore);

  string public constant baseUri = "ipfs://";
  using Counters for Counters.Counter;
  Counters.Counter private tokenIds;
  using Strings for uint256;

  // PaintSwap Marketplace V2 contract address to allow skipping approval process when selling nfts
  address internal marketplace;
  // The fee for minting
  uint public mintFee;
  // The destination adddress
  address public devAddr;
  // The owner of the contract
  address public owner;
  // Maximum number of individual nft tokenIds that can be created
  uint128 public maxMints;
  mapping(uint256 => string) internal tokenURIs;
  string public name;

  constructor() ERC1155("") {}

  function initialize(
    address _marketplace,
    address, /* _royaltyRecipient */
    uint128, /* _royalty */
    address _devAddr,
    uint128 _mintFee,
    uint128 _maxMints,
    string calldata _name,
    address _owner
  ) public virtual override initializer {
    marketplace = _marketplace;
    mintFee = _mintFee;
    devAddr = _devAddr;
    maxMints = _maxMints == 0 ? type(uint128).max : _maxMints;
    owner = _owner;
    name = _name;
    require(bytes(_name).length <= 32);
    emit Initialized(_name);
    emit OwnershipTransferred(address(0), _owner);
  }

  function uri(uint256 _tokenId) public view virtual override returns (string memory) {
    require(_exists(_tokenId));

    // If there is no base URI, return the token URI.
    if (bytes(baseUri).length == 0) {
      return tokenURIs[_tokenId];
    }
    // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked).
    if (bytes(tokenURIs[_tokenId]).length > 0) {
      return string(abi.encodePacked(baseUri, tokenURIs[_tokenId]));
    }

    return super.uri(_tokenId);
  }

  function batchMint(
    address _to,
    uint256[] memory _amounts,
    string[] memory _uris
  ) external payable onlyOwner {
    require(_amounts.length == _uris.length);
    require(msg.value == mintFee * _amounts.length, "Not enough ftm");

    uint[] memory ids = new uint[](_amounts.length);
    for (uint i = 0; i < _amounts.length; ++i) {
      tokenIds.increment();
      uint256 id = tokenIds.current();
      ids[i] = id;
      tokenURIs[id] = _uris[i];
    }

    require(tokenIds.current() <= maxMints);
    if (tokenIds.current() == maxMints) {
      emit MaxMintsReached();
    }

    _mintBatch(_to, ids, _amounts, "");

    // Send FTM fee to fee recipient
    (bool success, ) = devAddr.call{value: msg.value}("");
    require(success, "Transfer failed");
  }

  // The uri must be in the form of ipfs:// where the ipfs:// prefix has been stripped
  function mint(
    address _to,
    uint _amount,
    string memory _uri
  ) external payable onlyOwner {
    require(msg.value == mintFee, "Not enough ftm");

    tokenIds.increment();
    uint256 id = tokenIds.current();
    _mint(_to, id, _amount, "");
    tokenURIs[id] = _uri;

    require(tokenIds.current() <= maxMints);
    if (tokenIds.current() == maxMints) {
      emit MaxMintsReached();
    }

    // Send FTM fee to recipient
    (bool success, ) = devAddr.call{value: msg.value}("");
    require(success, "Transfer failed");
  }

  // Anyone can burn their NFT if they have sufficient balance
  function burn(uint _id, uint _amount) external {
    require(balanceOf(msg.sender, _id) >= _amount);
    _burn(msg.sender, _id, _amount);
  }

  function updateName(string calldata _name) external onlyOwner {
    name = _name;
    emit UpdateName(name);
  }

  function ignore(bool _ignore) external onlyOwner {
    emit Ignore(_ignore);
  }

  /**
   * Override isApprovedForAll to whitelist the PaintSwap marketplace to enable listings without needing approval.
   * Just makes it easier for users
   */
  function isApprovedForAll(address _owner, address _operator) public view override returns (bool isOperator) {
    if (_operator == marketplace) {
      return true;
    }

    return ERC1155.isApprovedForAll(_owner, _operator);
  }

  function _exists(uint256 tokenId) private view returns (bool) {
    return bytes(tokenURIs[tokenId]).length != 0;
  }

  /**
   * @dev Throws if called by any account other than the owner.
   */
  modifier onlyOwner() {
    require(owner == msg.sender, "Ownable: caller is not the owner");
    _;
  }

  /**
   * @dev Leaves the contract without owner. It will not be possible to call
   * `onlyOwner` functions anymore. Can only be called by the current owner.
   *
   * NOTE: Renouncing ownership will leave the contract without an owner,
   * thereby removing any functionality that is only available to the owner.
   */
  function renounceOwnership() public virtual onlyOwner {
    emit OwnershipTransferred(owner, address(0));
    owner = address(0);
  }

  /**
   * @dev Transfers ownership of the contract to a new account (`newOwner`).
   * Can only be called by the current owner.
   */
  function transferOwnership(address newOwner) public virtual onlyOwner {
    require(newOwner != address(0), "Ownable: new owner is the zero address");
    emit OwnershipTransferred(owner, newOwner);
    owner = newOwner;
  }
}

File 3 of 16 : IERC2981.sol
//SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/utils/introspection/IERC165.sol";

interface IERC2981 is IERC165 {
  /// @notice Called with the sale price to determine how much royalty
  //          is owed and to whom.
  /// @param _tokenId - the NFT asset queried for royalty information
  /// @param _salePrice - the sale price of the NFT asset specified by _tokenId
  /// @return receiver - address of who should be sent the royalty payment
  /// @return royaltyAmount - the royalty payment amount for _salePrice
  function royaltyInfo(uint256 _tokenId, uint256 _salePrice)
    external
    view
    returns (address receiver, uint256 royaltyAmount);
}

File 4 of 16 : ERC1155.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC1155.sol";
import "./IERC1155Receiver.sol";
import "./extensions/IERC1155MetadataURI.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of the basic standard multi-token.
 * See https://eips.ethereum.org/EIPS/eip-1155
 * Originally based on code by Enjin: https://github.com/enjin/erc-1155
 *
 * _Available since v3.1._
 */
contract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI {
    using Address for address;

    // Mapping from token ID to account balances
    mapping (uint256 => mapping(address => uint256)) private _balances;

    // Mapping from account to operator approvals
    mapping (address => mapping(address => bool)) private _operatorApprovals;

    // Used as the URI for all token types by relying on ID substitution, e.g. https://token-cdn-domain/{id}.json
    string private _uri;

    /**
     * @dev See {_setURI}.
     */
    constructor (string memory uri_) {
        _setURI(uri_);
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
        return interfaceId == type(IERC1155).interfaceId
            || interfaceId == type(IERC1155MetadataURI).interfaceId
            || super.supportsInterface(interfaceId);
    }

    /**
     * @dev See {IERC1155MetadataURI-uri}.
     *
     * This implementation returns the same URI for *all* token types. It relies
     * on the token type ID substitution mechanism
     * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].
     *
     * Clients calling this function must replace the `\{id\}` substring with the
     * actual token type ID.
     */
    function uri(uint256) public view virtual override returns (string memory) {
        return _uri;
    }

    /**
     * @dev See {IERC1155-balanceOf}.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) public view virtual override returns (uint256) {
        require(account != address(0), "ERC1155: balance query for the zero address");
        return _balances[id][account];
    }

    /**
     * @dev See {IERC1155-balanceOfBatch}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(
        address[] memory accounts,
        uint256[] memory ids
    )
        public
        view
        virtual
        override
        returns (uint256[] memory)
    {
        require(accounts.length == ids.length, "ERC1155: accounts and ids length mismatch");

        uint256[] memory batchBalances = new uint256[](accounts.length);

        for (uint256 i = 0; i < accounts.length; ++i) {
            batchBalances[i] = balanceOf(accounts[i], ids[i]);
        }

        return batchBalances;
    }

    /**
     * @dev See {IERC1155-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        require(_msgSender() != operator, "ERC1155: setting approval status for self");

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_msgSender(), operator, approved);
    }

    /**
     * @dev See {IERC1155-isApprovedForAll}.
     */
    function isApprovedForAll(address account, address operator) public view virtual override returns (bool) {
        return _operatorApprovals[account][operator];
    }

    /**
     * @dev See {IERC1155-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    )
        public
        virtual
        override
    {
        require(to != address(0), "ERC1155: transfer to the zero address");
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: caller is not owner nor approved"
        );

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, to, _asSingletonArray(id), _asSingletonArray(amount), data);

        uint256 fromBalance = _balances[id][from];
        require(fromBalance >= amount, "ERC1155: insufficient balance for transfer");
        _balances[id][from] = fromBalance - amount;
        _balances[id][to] += amount;

        emit TransferSingle(operator, from, to, id, amount);

        _doSafeTransferAcceptanceCheck(operator, from, to, id, amount, data);
    }

    /**
     * @dev See {IERC1155-safeBatchTransferFrom}.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    )
        public
        virtual
        override
    {
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");
        require(to != address(0), "ERC1155: transfer to the zero address");
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: transfer caller is not owner nor approved"
        );

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, to, ids, amounts, data);

        for (uint256 i = 0; i < ids.length; ++i) {
            uint256 id = ids[i];
            uint256 amount = amounts[i];

            uint256 fromBalance = _balances[id][from];
            require(fromBalance >= amount, "ERC1155: insufficient balance for transfer");
            _balances[id][from] = fromBalance - amount;
            _balances[id][to] += amount;
        }

        emit TransferBatch(operator, from, to, ids, amounts);

        _doSafeBatchTransferAcceptanceCheck(operator, from, to, ids, amounts, data);
    }

    /**
     * @dev Sets a new URI for all token types, by relying on the token type ID
     * substitution mechanism
     * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].
     *
     * By this mechanism, any occurrence of the `\{id\}` substring in either the
     * URI or any of the amounts in the JSON file at said URI will be replaced by
     * clients with the token type ID.
     *
     * For example, the `https://token-cdn-domain/\{id\}.json` URI would be
     * interpreted by clients as
     * `https://token-cdn-domain/000000000000000000000000000000000000000000000000000000000004cce0.json`
     * for token type ID 0x4cce0.
     *
     * See {uri}.
     *
     * Because these URIs cannot be meaningfully represented by the {URI} event,
     * this function emits no events.
     */
    function _setURI(string memory newuri) internal virtual {
        _uri = newuri;
    }

    /**
     * @dev Creates `amount` tokens of token type `id`, and assigns them to `account`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - If `account` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function _mint(address account, uint256 id, uint256 amount, bytes memory data) internal virtual {
        require(account != address(0), "ERC1155: mint to the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, address(0), account, _asSingletonArray(id), _asSingletonArray(amount), data);

        _balances[id][account] += amount;
        emit TransferSingle(operator, address(0), account, id, amount);

        _doSafeTransferAcceptanceCheck(operator, address(0), account, id, amount, data);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function _mintBatch(address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data) internal virtual {
        require(to != address(0), "ERC1155: mint to the zero address");
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, address(0), to, ids, amounts, data);

        for (uint i = 0; i < ids.length; i++) {
            _balances[ids[i]][to] += amounts[i];
        }

        emit TransferBatch(operator, address(0), to, ids, amounts);

        _doSafeBatchTransferAcceptanceCheck(operator, address(0), to, ids, amounts, data);
    }

    /**
     * @dev Destroys `amount` tokens of token type `id` from `account`
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens of token type `id`.
     */
    function _burn(address account, uint256 id, uint256 amount) internal virtual {
        require(account != address(0), "ERC1155: burn from the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, account, address(0), _asSingletonArray(id), _asSingletonArray(amount), "");

        uint256 accountBalance = _balances[id][account];
        require(accountBalance >= amount, "ERC1155: burn amount exceeds balance");
        _balances[id][account] = accountBalance - amount;

        emit TransferSingle(operator, account, address(0), id, amount);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     */
    function _burnBatch(address account, uint256[] memory ids, uint256[] memory amounts) internal virtual {
        require(account != address(0), "ERC1155: burn from the zero address");
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, account, address(0), ids, amounts, "");

        for (uint i = 0; i < ids.length; i++) {
            uint256 id = ids[i];
            uint256 amount = amounts[i];

            uint256 accountBalance = _balances[id][account];
            require(accountBalance >= amount, "ERC1155: burn amount exceeds balance");
            _balances[id][account] = accountBalance - amount;
        }

        emit TransferBatch(operator, account, address(0), ids, amounts);
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning, as well as batched variants.
     *
     * The same hook is called on both single and batched variants. For single
     * transfers, the length of the `id` and `amount` arrays will be 1.
     *
     * Calling conditions (for each `id` and `amount` pair):
     *
     * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * of token type `id` will be  transferred to `to`.
     * - When `from` is zero, `amount` tokens of token type `id` will be minted
     * for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens of token type `id`
     * will be burned.
     * - `from` and `to` are never both zero.
     * - `ids` and `amounts` have the same, non-zero length.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    )
        internal
        virtual
    { }

    function _doSafeTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    )
        private
    {
        if (to.isContract()) {
            try IERC1155Receiver(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) {
                if (response != IERC1155Receiver(to).onERC1155Received.selector) {
                    revert("ERC1155: ERC1155Receiver rejected tokens");
                }
            } catch Error(string memory reason) {
                revert(reason);
            } catch {
                revert("ERC1155: transfer to non ERC1155Receiver implementer");
            }
        }
    }

    function _doSafeBatchTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    )
        private
    {
        if (to.isContract()) {
            try IERC1155Receiver(to).onERC1155BatchReceived(operator, from, ids, amounts, data) returns (bytes4 response) {
                if (response != IERC1155Receiver(to).onERC1155BatchReceived.selector) {
                    revert("ERC1155: ERC1155Receiver rejected tokens");
                }
            } catch Error(string memory reason) {
                revert(reason);
            } catch {
                revert("ERC1155: transfer to non ERC1155Receiver implementer");
            }
        }
    }

    function _asSingletonArray(uint256 element) private pure returns (uint256[] memory) {
        uint256[] memory array = new uint256[](1);
        array[0] = element;

        return array;
    }
}

File 5 of 16 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant alphabet = "0123456789abcdef";

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = alphabet[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }

}

File 6 of 16 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../utils/Context.sol";
/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = address(0);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

File 7 of 16 : Counters.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented or decremented by one. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(Counter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }
}

File 8 of 16 : Initializable.sol
// SPDX-License-Identifier: MIT

// solhint-disable-next-line compiler-version
pragma solidity ^0.8.0;

/**
 * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed
 * behind a proxy. Since a proxied contract can't have a constructor, it's common to move constructor logic to an
 * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer
 * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.
 *
 * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as
 * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}.
 *
 * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure
 * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.
 */
abstract contract Initializable {

    /**
     * @dev Indicates that the contract has been initialized.
     */
    bool private _initialized;

    /**
     * @dev Indicates that the contract is in the process of being initialized.
     */
    bool private _initializing;

    /**
     * @dev Modifier to protect an initializer function from being invoked twice.
     */
    modifier initializer() {
        require(_initializing || !_initialized, "Initializable: contract is already initialized");

        bool isTopLevelCall = !_initializing;
        if (isTopLevelCall) {
            _initializing = true;
            _initialized = true;
        }

        _;

        if (isTopLevelCall) {
            _initializing = false;
        }
    }
}

File 9 of 16 : InitializeUserNFT.sol
//SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

interface InitializeUserNFT {
  function initialize(
    address _marketplace,
    address _royaltyRecipient,
    uint128 _royalty,
    address _devAddr,
    uint128 _mintFee,
    uint128 _maxMints,
    string calldata _name,
    address _owner
  ) external;
}

File 10 of 16 : IERC1155.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../../utils/introspection/IERC165.sol";

/**
 * @dev Required interface of an ERC1155 compliant contract, as defined in the
 * https://eips.ethereum.org/EIPS/eip-1155[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155 is IERC165 {
    /**
     * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`.
     */
    event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value);

    /**
     * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all
     * transfers.
     */
    event TransferBatch(address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values);

    /**
     * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to
     * `approved`.
     */
    event ApprovalForAll(address indexed account, address indexed operator, bool approved);

    /**
     * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI.
     *
     * If an {URI} event was emitted for `id`, the standard
     * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value
     * returned by {IERC1155MetadataURI-uri}.
     */
    event URI(string value, uint256 indexed id);

    /**
     * @dev Returns the amount of tokens of token type `id` owned by `account`.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) external view returns (uint256);

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids) external view returns (uint256[] memory);

    /**
     * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`,
     *
     * Emits an {ApprovalForAll} event.
     *
     * Requirements:
     *
     * - `operator` cannot be the caller.
     */
    function setApprovalForAll(address operator, bool approved) external;

    /**
     * @dev Returns true if `operator` is approved to transfer ``account``'s tokens.
     *
     * See {setApprovalForAll}.
     */
    function isApprovedForAll(address account, address operator) external view returns (bool);

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If the caller is not `from`, it must be have been approved to spend ``from``'s tokens via {setApprovalForAll}.
     * - `from` must have a balance of tokens of type `id` of at least `amount`.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function safeTransferFrom(address from, address to, uint256 id, uint256 amount, bytes calldata data) external;

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function safeBatchTransferFrom(address from, address to, uint256[] calldata ids, uint256[] calldata amounts, bytes calldata data) external;
}

File 11 of 16 : IERC1155Receiver.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../../utils/introspection/IERC165.sol";

/**
 * @dev _Available since v3.1._
 */
interface IERC1155Receiver is IERC165 {

    /**
        @dev Handles the receipt of a single ERC1155 token type. This function is
        called at the end of a `safeTransferFrom` after the balance has been updated.
        To accept the transfer, this must return
        `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))`
        (i.e. 0xf23a6e61, or its own function selector).
        @param operator The address which initiated the transfer (i.e. msg.sender)
        @param from The address which previously owned the token
        @param id The ID of the token being transferred
        @param value The amount of tokens being transferred
        @param data Additional data with no specified format
        @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed
    */
    function onERC1155Received(
        address operator,
        address from,
        uint256 id,
        uint256 value,
        bytes calldata data
    )
        external
        returns(bytes4);

    /**
        @dev Handles the receipt of a multiple ERC1155 token types. This function
        is called at the end of a `safeBatchTransferFrom` after the balances have
        been updated. To accept the transfer(s), this must return
        `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))`
        (i.e. 0xbc197c81, or its own function selector).
        @param operator The address which initiated the batch transfer (i.e. msg.sender)
        @param from The address which previously owned the token
        @param ids An array containing ids of each token being transferred (order and length must match values array)
        @param values An array containing amounts of each token being transferred (order and length must match ids array)
        @param data Additional data with no specified format
        @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed
    */
    function onERC1155BatchReceived(
        address operator,
        address from,
        uint256[] calldata ids,
        uint256[] calldata values,
        bytes calldata data
    )
        external
        returns(bytes4);
}

File 12 of 16 : IERC1155MetadataURI.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC1155.sol";

/**
 * @dev Interface of the optional ERC1155MetadataExtension interface, as defined
 * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155MetadataURI is IERC1155 {
    /**
     * @dev Returns the URI for token type `id`.
     *
     * If the `\{id\}` substring is present in the URI, it must be replaced by
     * clients with the actual token type ID.
     */
    function uri(uint256 id) external view returns (string memory);
}

File 13 of 16 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        // solhint-disable-next-line no-inline-assembly
        assembly { size := extcodesize(account) }
        return size > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (bool success, ) = recipient.call{ value: amount }("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain`call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
      return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: value }(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.staticcall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 14 of 16 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/*
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

File 15 of 16 : ERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

File 16 of 16 : IERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 1000000
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"ignore","type":"bool"}],"name":"Ignore","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"name","type":"string"}],"name":"Initialized","type":"event"},{"anonymous":false,"inputs":[],"name":"MaxMintsReached","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"name","type":"string"}],"name":"UpdateName","type":"event"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256[]","name":"_amounts","type":"uint256[]"},{"internalType":"string[]","name":"_uris","type":"string[]"}],"name":"batchMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"devAddr","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_ignore","type":"bool"}],"name":"ignore","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_marketplace","type":"address"},{"internalType":"address","name":"_royaltyRecipient","type":"address"},{"internalType":"uint128","name":"_royalty","type":"uint128"},{"internalType":"address","name":"_devAddr","type":"address"},{"internalType":"uint128","name":"_mintFee","type":"uint128"},{"internalType":"uint128","name":"_maxMints","type":"uint128"},{"internalType":"string","name":"_name","type":"string"},{"internalType":"address","name":"_owner","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"address","name":"_operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"isOperator","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMints","outputs":[{"internalType":"uint128","name":"","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"string","name":"_uri","type":"string"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"royalty","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"royaltyRecipient","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_royaltyRecipient","type":"address"}],"name":"setRoyaltyRecipient","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_name","type":"string"}],"name":"updateName","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}]

60806040523480156200001157600080fd5b506040805160208101909152600081526200002c8162000033565b506200012f565b8051620000489060029060208401906200004c565b5050565b8280546200005a90620000f2565b90600052602060002090601f0160209004810192826200007e5760008555620000c9565b82601f106200009957805160ff1916838001178555620000c9565b82800160010185558215620000c9579182015b82811115620000c9578251825591602001919060010190620000ac565b50620000d7929150620000db565b5090565b5b80821115620000d75760008155600101620000dc565b600181811c908216806200010757607f821691505b602082108114156200012957634e487b7160e01b600052602260045260246000fd5b50919050565b613d5f806200013f6000396000f3fe6080604052600436106101a05760003560e01c8063715018a6116100e1578063b390c0ab1161008a578063da09c72c11610064578063da09c72c1461051e578063e985e9c51461054b578063f242432a1461056b578063f2fde38b1461058b57600080fd5b8063b390c0ab146104a1578063b6b6f0c3146104c1578063d3fc98641461050b57600080fd5b80639abc8320116100bb5780639abc8320146104255780639caea80a1461046e578063a22cb4651461048157600080fd5b8063715018a6146103c357806384da92a7146103d85780638da5cb5b146103f857600080fd5b806329ee566c1161014e5780633614f714116101285780633614f7141461030457806341e42f30146103245780634c00de82146103445780634e1273f41461039657600080fd5b806329ee566c146102825780632a55205a146102985780632eb2c2d6146102e457600080fd5b80630e89341c1161017f5780630e89341c1461022a57806313966db51461024a578063159beb561461026057600080fd5b8062fdd58e146101a557806301ffc9a7146101d857806306fdde0314610208575b600080fd5b3480156101b157600080fd5b506101c56101c0366004613485565b6105ab565b6040519081526020015b60405180910390f35b3480156101e457600080fd5b506101f86101f33660046135f2565b61068b565b60405190151581526020016101cf565b34801561021457600080fd5b5061021d6106f5565b6040516101cf919061391e565b34801561023657600080fd5b5061021d61024536600461366e565b610783565b34801561025657600080fd5b506101c560065481565b34801561026c57600080fd5b5061028061027b366004613246565b6108e6565b005b34801561028e57600080fd5b506101c5600c5481565b3480156102a457600080fd5b506102b86102b3366004613687565b610a9d565b6040805173ffffffffffffffffffffffffffffffffffffffff90931683526020830191909152016101cf565b3480156102f057600080fd5b506102806102ff36600461319c565b610ae3565b34801561031057600080fd5b5061028061031f3660046135d7565b610f44565b34801561033057600080fd5b5061028061033f36600461314e565b610ffd565b34801561035057600080fd5b50600d546103719073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101cf565b3480156103a257600080fd5b506103b66103b1366004613506565b611168565b6040516101cf9190613890565b3480156103cf57600080fd5b506102806112c0565b3480156103e457600080fd5b506102806103f336600461362c565b6113b0565b34801561040457600080fd5b506008546103719073ffffffffffffffffffffffffffffffffffffffff1681565b34801561043157600080fd5b5061021d6040518060400160405280600781526020017f697066733a2f2f0000000000000000000000000000000000000000000000000081525081565b61028061047c366004613363565b61147a565b34801561048d57600080fd5b5061028061049c36600461345b565b6117cb565b3480156104ad57600080fd5b506102806104bc366004613687565b611908565b3480156104cd57600080fd5b506009546104ea906fffffffffffffffffffffffffffffffff1681565b6040516fffffffffffffffffffffffffffffffff90911681526020016101cf565b6102806105193660046134af565b61192d565b34801561052a57600080fd5b506007546103719073ffffffffffffffffffffffffffffffffffffffff1681565b34801561055757600080fd5b506101f8610566366004613169565b611b0c565b34801561057757600080fd5b506102806105863660046132fe565b611b78565b34801561059757600080fd5b506102806105a636600461314e565b611e70565b600073ffffffffffffffffffffffffffffffffffffffff8316610655576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f455243313135353a2062616c616e636520717565727920666f7220746865207a60448201527f65726f206164647265737300000000000000000000000000000000000000000060648201526084015b60405180910390fd5b5060008181526020818152604080832073ffffffffffffffffffffffffffffffffffffffff861684529091529020545b92915050565b6000600c54600014156106a15761068582612022565b7fffffffff0000000000000000000000000000000000000000000000000000000082167f2a55205a000000000000000000000000000000000000000000000000000000001480610685575061068582612022565b600b805461070290613acf565b80601f016020809104026020016040519081016040528092919081815260200182805461072e90613acf565b801561077b5780601f106107505761010080835404028352916020019161077b565b820191906000526020600020905b81548152906001019060200180831161075e57829003601f168201915b505050505081565b606061078e82612105565b61079757600080fd5b60408051808201909152600781527f697066733a2f2f00000000000000000000000000000000000000000000000000602090910152610856565b80601f01602080910402602001604051908101604052809291908181526020018280546107fd90613acf565b801561084a5780601f1061081f5761010080835404028352916020019161084a565b820191906000526020600020905b81548152906001019060200180831161082d57829003601f168201915b50505050509050919050565b6000828152600a60205260408120805461086f90613acf565b905011156108dd57604080518082018252600781527f697066733a2f2f000000000000000000000000000000000000000000000000006020808301919091526000858152600a825283902092516108c793910161372e565b6040516020818303038152906040529050919050565b61068582612127565b600354610100900460ff16806108ff575060035460ff16155b61098b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a6564000000000000000000000000000000000000606482015260840161064c565b600354610100900460ff161580156109ca57600380547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000166101011790555b6109db8a8a8a8a8a8a8a8a8a612136565b6107d0600c5411156109ec57600080fd5b73ffffffffffffffffffffffffffffffffffffffff8916610a0c57600080fd5b6fffffffffffffffffffffffffffffffff8816600c55600d80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8b161790558015610a9157600380547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff1690555b50505050505050505050565b6000806000612710600c5485610ab39190613a4b565b610abd9190613a10565b600d5473ffffffffffffffffffffffffffffffffffffffff1693509150505b9250929050565b8151835114610b74576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060448201527f6d69736d61746368000000000000000000000000000000000000000000000000606482015260840161064c565b73ffffffffffffffffffffffffffffffffffffffff8416610c17576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f20616460448201527f6472657373000000000000000000000000000000000000000000000000000000606482015260840161064c565b73ffffffffffffffffffffffffffffffffffffffff8516331480610c405750610c408533611b0c565b610ccc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f455243313135353a207472616e736665722063616c6c6572206973206e6f742060448201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000606482015260840161064c565b3360005b8451811015610eaf576000858281518110610ced57610ced613bd6565b602002602001015190506000858381518110610d0b57610d0b613bd6565b6020908102919091018101516000848152808352604080822073ffffffffffffffffffffffffffffffffffffffff8e168352909352919091205490915081811015610dd8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201527f72207472616e7366657200000000000000000000000000000000000000000000606482015260840161064c565b610de28282613a88565b60008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610e9491906139f8565b9250508190555050505080610ea890613b6e565b9050610cd0565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051610f269291906138a3565b60405180910390a4610f3c8187878787876123f7565b505050505050565b60085473ffffffffffffffffffffffffffffffffffffffff163314610fc5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161064c565b60405181151581527f135aad355ed06d7ae726d29fac1e6869cca9a556b7253b9d01ff540c2cbf1e089060200160405180910390a150565b60085473ffffffffffffffffffffffffffffffffffffffff16331461107e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161064c565b73ffffffffffffffffffffffffffffffffffffffff8116611121576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f726f79616c74792063616e6e6f742062652073656e7420746f207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161064c565b600d80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b606081518351146111fb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e67746860448201527f206d69736d617463680000000000000000000000000000000000000000000000606482015260840161064c565b6000835167ffffffffffffffff81111561121757611217613c05565b604051908082528060200260200182016040528015611240578160200160208202803683370190505b50905060005b84518110156112b85761128b85828151811061126457611264613bd6565b602002602001015185838151811061127e5761127e613bd6565b60200260200101516105ab565b82828151811061129d5761129d613bd6565b60209081029190910101526112b181613b6e565b9050611246565b509392505050565b60085473ffffffffffffffffffffffffffffffffffffffff163314611341576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161064c565b60085460405160009173ffffffffffffffffffffffffffffffffffffffff16907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600880547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b60085473ffffffffffffffffffffffffffffffffffffffff163314611431576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161064c565b61143d600b8383612e7f565b507fed41a19b397d8e610d8f9e6e52ab2bef7e51c9977a12cb779c7cd86747f8d509600b60405161146e9190613931565b60405180910390a15050565b60085473ffffffffffffffffffffffffffffffffffffffff1633146114fb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161064c565b805182511461150957600080fd5b81516006546115189190613a4b565b3414611580576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f4e6f7420656e6f7567682066746d000000000000000000000000000000000000604482015260640161064c565b6000825167ffffffffffffffff81111561159c5761159c613c05565b6040519080825280602002602001820160405280156115c5578160200160208202803683370190505b50905060005b8351811015611661576115e2600480546001019055565b60006115ed60045490565b90508083838151811061160257611602613bd6565b60200260200101818152505083828151811061162057611620613bd6565b6020026020010151600a6000838152602001908152602001600020908051906020019061164e929190612f21565b50508061165a90613b6e565b90506115cb565b506009546fffffffffffffffffffffffffffffffff1661168060045490565b111561168b57600080fd5b6009546fffffffffffffffffffffffffffffffff166116a960045490565b14156116d9576040517f635a2d9b85d549672d43f702d3866789dd31d1c9213be937f4f3ce21e9051f7190600090a15b6116f484828560405180602001604052806000815250612691565b60075460405160009173ffffffffffffffffffffffffffffffffffffffff169034905b60006040518083038185875af1925050503d8060008114611754576040519150601f19603f3d011682016040523d82523d6000602084013e611759565b606091505b50509050806117c4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f5472616e73666572206661696c65640000000000000000000000000000000000604482015260640161064c565b5050505050565b3373ffffffffffffffffffffffffffffffffffffffff83161415611871576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c2073746174757360448201527f20666f722073656c660000000000000000000000000000000000000000000000606482015260840161064c565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168085529083529281902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b8061191333846105ab565b101561191e57600080fd5b61192933838361290a565b5050565b60085473ffffffffffffffffffffffffffffffffffffffff1633146119ae576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161064c565b6006543414611a19576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f4e6f7420656e6f7567682066746d000000000000000000000000000000000000604482015260640161064c565b611a27600480546001019055565b6000611a3260045490565b9050611a4f84828560405180602001604052806000815250612b1a565b6000818152600a602090815260409091208351611a6e92850190612f21565b506009546fffffffffffffffffffffffffffffffff16611a8d60045490565b1115611a9857600080fd5b6009546fffffffffffffffffffffffffffffffff16611ab660045490565b14156116f4576040517f635a2d9b85d549672d43f702d3866789dd31d1c9213be937f4f3ce21e9051f7190600090a160075460405160009173ffffffffffffffffffffffffffffffffffffffff16903490611717565b60055460009073ffffffffffffffffffffffffffffffffffffffff83811691161415611b3a57506001610685565b73ffffffffffffffffffffffffffffffffffffffff80841660009081526001602090815260408083209386168352929052205460ff165b9392505050565b73ffffffffffffffffffffffffffffffffffffffff8416611c1b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f20616460448201527f6472657373000000000000000000000000000000000000000000000000000000606482015260840161064c565b73ffffffffffffffffffffffffffffffffffffffff8516331480611c445750611c448533611b0c565b611cd0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201527f20617070726f7665640000000000000000000000000000000000000000000000606482015260840161064c565b33611ce9818787611ce088612c78565b6117c488612c78565b60008481526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8a16845290915290205483811015611da7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201527f72207472616e7366657200000000000000000000000000000000000000000000606482015260840161064c565b611db18482613a88565b60008681526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8c81168552925280832093909355881681529081208054869290611dfa9084906139f8565b9091555050604080518681526020810186905273ffffffffffffffffffffffffffffffffffffffff808916928a821692918616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4611e67828888888888612cc3565b50505050505050565b60085473ffffffffffffffffffffffffffffffffffffffff163314611ef1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161064c565b73ffffffffffffffffffffffffffffffffffffffff8116611f94576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161064c565b60085460405173ffffffffffffffffffffffffffffffffffffffff8084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600880547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167fd9b67a260000000000000000000000000000000000000000000000000000000014806120b557507fffffffff0000000000000000000000000000000000000000000000000000000082167f0e89341c00000000000000000000000000000000000000000000000000000000145b8061068557507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff00000000000000000000000000000000000000000000000000000000831614610685565b6000818152600a60205260408120805461211e90613acf565b15159392505050565b6060600280546107d190613acf565b600354610100900460ff168061214f575060035460ff16155b6121db576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a6564000000000000000000000000000000000000606482015260840161064c565b600354610100900460ff1615801561221a57600380547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000166101011790555b6005805473ffffffffffffffffffffffffffffffffffffffff808d167fffffffffffffffffffffffff0000000000000000000000000000000000000000928316179092556fffffffffffffffffffffffffffffffff80891660065560078054938b169390921692909217905585161561229357846122a5565b6fffffffffffffffffffffffffffffffff5b600980547fffffffffffffffffffffffffffffffff00000000000000000000000000000000166fffffffffffffffffffffffffffffffff92909216919091179055600880547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8416179055612332600b8585612e7f565b50602083111561234157600080fd5b7f7bc2a48a4a566e237a12186f19d985b0f76afc9d5290601edac19876253670c284846040516123729291906138d1565b60405180910390a160405173ffffffffffffffffffffffffffffffffffffffff8316906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a38015610a9157600380547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff16905550505050505050505050565b73ffffffffffffffffffffffffffffffffffffffff84163b15610f3c576040517fbc197c8100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85169063bc197c819061246e90899089908890889088906004016137d5565b602060405180830381600087803b15801561248857600080fd5b505af19250505080156124d6575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682019092526124d39181019061360f565b60015b6125c0576124e2613c34565b806308c379a0141561253657506124f7613c50565b806125025750612538565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161064c919061391e565b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e204552433131353560448201527f526563656976657220696d706c656d656e746572000000000000000000000000606482015260840161064c565b7fffffffff0000000000000000000000000000000000000000000000000000000081167fbc197c810000000000000000000000000000000000000000000000000000000014611e67576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a6563746560448201527f6420746f6b656e73000000000000000000000000000000000000000000000000606482015260840161064c565b73ffffffffffffffffffffffffffffffffffffffff8416612734576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f2061646472657360448201527f7300000000000000000000000000000000000000000000000000000000000000606482015260840161064c565b81518351146127c5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060448201527f6d69736d61746368000000000000000000000000000000000000000000000000606482015260840161064c565b3360005b845181101561287b578381815181106127e4576127e4613bd6565b602002602001015160008087848151811061280157612801613bd6565b6020026020010151815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461286391906139f8565b9091555081905061287381613b6e565b9150506127c9565b508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516128f39291906138a3565b60405180910390a46117c4816000878787876123f7565b73ffffffffffffffffffffffffffffffffffffffff83166129ad576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260448201527f6573730000000000000000000000000000000000000000000000000000000000606482015260840161064c565b336129dd818560006129be87612c78565b6129c787612c78565b5050604080516020810190915260009052505050565b60008381526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8816845290915290205482811015612a9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c60448201527f616e636500000000000000000000000000000000000000000000000000000000606482015260840161064c565b612aa48382613a88565b60008581526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8a811680865291845282852095909555815189815292830188905292938616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a45050505050565b73ffffffffffffffffffffffffffffffffffffffff8416612bbd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f2061646472657360448201527f7300000000000000000000000000000000000000000000000000000000000000606482015260840161064c565b33612bce81600087611ce088612c78565b60008481526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8916845290915281208054859290612c0b9084906139f8565b9091555050604080518581526020810185905273ffffffffffffffffffffffffffffffffffffffff80881692600092918516917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a46117c481600087878787612cc3565b60408051600180825281830190925260609160009190602080830190803683370190505090508281600081518110612cb257612cb2613bd6565b602090810291909101015292915050565b73ffffffffffffffffffffffffffffffffffffffff84163b15610f3c576040517ff23a6e6100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85169063f23a6e6190612d3a9089908990889088908890600401613840565b602060405180830381600087803b158015612d5457600080fd5b505af1925050508015612da2575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0168201909252612d9f9181019061360f565b60015b612dae576124e2613c34565b7fffffffff0000000000000000000000000000000000000000000000000000000081167ff23a6e610000000000000000000000000000000000000000000000000000000014611e67576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a6563746560448201527f6420746f6b656e73000000000000000000000000000000000000000000000000606482015260840161064c565b828054612e8b90613acf565b90600052602060002090601f016020900481019282612ead5760008555612f11565b82601f10612ee4578280017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00823516178555612f11565b82800160010185558215612f11579182015b82811115612f11578235825591602001919060010190612ef6565b50612f1d929150612f95565b5090565b828054612f2d90613acf565b90600052602060002090601f016020900481019282612f4f5760008555612f11565b82601f10612f6857805160ff1916838001178555612f11565b82800160010185558215612f11579182015b82811115612f11578251825591602001919060010190612f7a565b5b80821115612f1d5760008155600101612f96565b803573ffffffffffffffffffffffffffffffffffffffff81168114612fce57600080fd5b919050565b600082601f830112612fe457600080fd5b81356020612ff1826139d4565b604051612ffe8282613b23565b8381528281019150858301600585901b8701840188101561301e57600080fd5b60005b8581101561303d57813584529284019290840190600101613021565b5090979650505050505050565b80358015158114612fce57600080fd5b600082601f83011261306b57600080fd5b813567ffffffffffffffff81111561308557613085613c05565b6040516130ba60207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8501160182613b23565b8181528460208386010111156130cf57600080fd5b816020850160208301376000918101602001919091529392505050565b60008083601f8401126130fe57600080fd5b50813567ffffffffffffffff81111561311657600080fd5b602083019150836020828501011115610adc57600080fd5b80356fffffffffffffffffffffffffffffffff81168114612fce57600080fd5b60006020828403121561316057600080fd5b611b7182612faa565b6000806040838503121561317c57600080fd5b61318583612faa565b915061319360208401612faa565b90509250929050565b600080600080600060a086880312156131b457600080fd5b6131bd86612faa565b94506131cb60208701612faa565b9350604086013567ffffffffffffffff808211156131e857600080fd5b6131f489838a01612fd3565b9450606088013591508082111561320a57600080fd5b61321689838a01612fd3565b9350608088013591508082111561322c57600080fd5b506132398882890161305a565b9150509295509295909350565b60008060008060008060008060006101008a8c03121561326557600080fd5b61326e8a612faa565b985061327c60208b01612faa565b975061328a60408b0161312e565b965061329860608b01612faa565b95506132a660808b0161312e565b94506132b460a08b0161312e565b935060c08a013567ffffffffffffffff8111156132d057600080fd5b6132dc8c828d016130ec565b90945092506132ef905060e08b01612faa565b90509295985092959850929598565b600080600080600060a0868803121561331657600080fd5b61331f86612faa565b945061332d60208701612faa565b93506040860135925060608601359150608086013567ffffffffffffffff81111561335757600080fd5b6132398882890161305a565b60008060006060848603121561337857600080fd5b61338184612faa565b925060208085013567ffffffffffffffff8082111561339f57600080fd5b6133ab88838901612fd3565b945060408701359150808211156133c157600080fd5b818701915087601f8301126133d557600080fd5b81356133e0816139d4565b6040516133ed8282613b23565b8281528581019150848601600584901b860187018c101561340d57600080fd5b6000805b8581101561344857823587811115613427578283fd5b6134358f8b838c010161305a565b8652509388019391880191600101613411565b5050508096505050505050509250925092565b6000806040838503121561346e57600080fd5b61347783612faa565b91506131936020840161304a565b6000806040838503121561349857600080fd5b6134a183612faa565b946020939093013593505050565b6000806000606084860312156134c457600080fd5b6134cd84612faa565b925060208401359150604084013567ffffffffffffffff8111156134f057600080fd5b6134fc8682870161305a565b9150509250925092565b6000806040838503121561351957600080fd5b823567ffffffffffffffff8082111561353157600080fd5b818501915085601f83011261354557600080fd5b81356020613552826139d4565b60405161355f8282613b23565b8381528281019150858301600585901b870184018b101561357f57600080fd5b600096505b848710156135a95761359581612faa565b835260019690960195918301918301613584565b50965050860135925050808211156135c057600080fd5b506135cd85828601612fd3565b9150509250929050565b6000602082840312156135e957600080fd5b611b718261304a565b60006020828403121561360457600080fd5b8135611b7181613cf8565b60006020828403121561362157600080fd5b8151611b7181613cf8565b6000806020838503121561363f57600080fd5b823567ffffffffffffffff81111561365657600080fd5b613662858286016130ec565b90969095509350505050565b60006020828403121561368057600080fd5b5035919050565b6000806040838503121561369a57600080fd5b50508035926020909101359150565b600081518084526020808501945080840160005b838110156136d9578151875295820195908201906001016136bd565b509495945050505050565b600081518084526136fc816020860160208601613a9f565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6000835160206137418285838901613a9f565b81840191506000855461375381613acf565b6001828116801561376b576001811461379a576137c6565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff008416875282870194506137c6565b896000528560002060005b848110156137be578154898201529083019087016137a5565b505082870194505b50929998505050505050505050565b600073ffffffffffffffffffffffffffffffffffffffff808816835280871660208401525060a0604083015261380e60a08301866136a9565b828103606084015261382081866136a9565b9050828103608084015261383481856136e4565b98975050505050505050565b600073ffffffffffffffffffffffffffffffffffffffff808816835280871660208401525084604083015283606083015260a0608083015261388560a08301846136e4565b979650505050505050565b602081526000611b7160208301846136a9565b6040815260006138b660408301856136a9565b82810360208401526138c881856136a9565b95945050505050565b60208152816020820152818360408301376000818301604090810191909152601f9092017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0160101919050565b602081526000611b7160208301846136e4565b600060208083526000845461394581613acf565b808487015260406001808416600081146139665760018114613998576139c6565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff008516838a01526060890195506139c6565b896000528660002060005b858110156139be5781548b82018601529083019088016139a3565b8a0184019650505b509398975050505050505050565b600067ffffffffffffffff8211156139ee576139ee613c05565b5060051b60200190565b60008219821115613a0b57613a0b613ba7565b500190565b600082613a46577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613a8357613a83613ba7565b500290565b600082821015613a9a57613a9a613ba7565b500390565b60005b83811015613aba578181015183820152602001613aa2565b83811115613ac9576000848401525b50505050565b600181811c90821680613ae357607f821691505b60208210811415613b1d577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f830116810181811067ffffffffffffffff82111715613b6757613b67613c05565b6040525050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613ba057613ba0613ba7565b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060033d1115613c4d5760046000803e5060005160e01c5b90565b600060443d1015613c5e5790565b6040517ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc803d016004833e81513d67ffffffffffffffff8160248401118184111715613cac57505050505090565b8285019150815181811115613cc45750505050505090565b843d8701016020828501011115613cde5750505050505090565b613ced60208286010187613b23565b509095945050505050565b7fffffffff0000000000000000000000000000000000000000000000000000000081168114613d2657600080fd5b5056fea2646970667358221220f02622a6467d969d4df47c5005d527b7247f1991552f2a7585f5fa4e9e9a1ffb64736f6c63430008060033

Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Validator ID :
0 FTM

Amount Staked
0

Amount Delegated
0

Staking Total
0

Staking Start Epoch
0

Staking Start Time
0

Proof of Importance
0

Origination Score
0

Validation Score
0

Active
0

Online
0

Downtime
0 s
Address Amount claimed Rewards Created On Epoch Created On
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.