Contract 0x58B4fa024c4214a9EA7e5568A12e021033DC7566

Txn Hash Method
Block
From
To
Value [Txn Fee]
0x28a93776a026ef5c6596e6437dd89c5a1e25f18505c7ec7416f49b4ca77c7c580x60806040282579182022-01-17 16:34:09128 days 21 hrs agoPaintSwap Finance: Deployer IN  Create: PaintSwapUserNFT0 FTM1.236437989164
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x3279c20a10af5eac557a4476781a412c19b3909a3fe64209b0652cd8ef2b6e33390020312022-05-25 4:31:091 day 9 hrs ago PaintSwap: Swap User NFT0x3b99636439fba6314c0f52d35fed2ff4421914070.1 FTM
0x1b95aeb5838e71c429b37cd566d4b1cd0af023ffb639f83431a2b7c6a6f5de98389214962022-05-24 2:14:592 days 12 hrs ago PaintSwap: Swap User NFT0x3b99636439fba6314c0f52d35fed2ff4421914070.1 FTM
0x26f219c94843c5ef569e30db511a127b38761ab1a8b3e8385942e6fb1d8fe016387546802022-05-21 20:09:514 days 18 hrs ago PaintSwap: Swap User NFT0x3b99636439fba6314c0f52d35fed2ff4421914070.1 FTM
0x4b269d88bdd64058e9d352d0a13c44d584da416d128bcf8e6cb5193f5f1cc28d387472192022-05-21 17:39:014 days 20 hrs ago PaintSwap: Swap User NFT0x3b99636439fba6314c0f52d35fed2ff4421914070.1 FTM
0xc29596e9a932b97a2e16efb62e8c3889c1b93f81b18c7406ed29add463467cdd387471102022-05-21 17:36:084 days 20 hrs ago PaintSwap: Swap User NFT0x3b99636439fba6314c0f52d35fed2ff4421914070.1 FTM
0x4f27c61b831fcc13edb1273eeaf1229c430b0a6c26c30e03d942417731a00060386838152022-05-20 20:42:345 days 17 hrs ago PaintSwap: Swap User NFT0x3b99636439fba6314c0f52d35fed2ff4421914070.1 FTM
0x511534b3ca94d4ee5eaa02d693756000c7e5a8d52816fdcab83888b96a47167d386821352022-05-20 20:08:025 days 18 hrs ago PaintSwap: Swap User NFT0x3b99636439fba6314c0f52d35fed2ff4421914070.1 FTM
0x3e97adcfa63e1206da2f184cf347f0713223cf83cb745f0eb04bdf3f07cd87bd386813962022-05-20 19:54:195 days 18 hrs ago PaintSwap: Swap User NFT0x3b99636439fba6314c0f52d35fed2ff4421914070.1 FTM
0xc87d3c7ed3be9f92310a977457af405f5b0da4cf9c006a255e5bf5d81a7bbdbb386802732022-05-20 19:34:025 days 18 hrs ago PaintSwap: Swap User NFT0x3b99636439fba6314c0f52d35fed2ff4421914070.1 FTM
0x2edab4a8073bcd0be5e5a91d9fc21cc48800d92e178cb68f8c91c9037415ef56386796592022-05-20 19:22:405 days 19 hrs ago PaintSwap: Swap User NFT0x3b99636439fba6314c0f52d35fed2ff4421914070.1 FTM
0xcb2ab37469219e3392a18c273cc919e9fc4d5e2df8a1a8d02d8e51c4698218ed386788212022-05-20 19:07:385 days 19 hrs ago PaintSwap: Swap User NFT0x3b99636439fba6314c0f52d35fed2ff4421914070.1 FTM
0x5fb111613407511891718ef9069950fd4c58a0d5a0399bcadeaf8218f182c3ef386779022022-05-20 18:50:165 days 19 hrs ago PaintSwap: Swap User NFT0x3b99636439fba6314c0f52d35fed2ff4421914070.1 FTM
0xeb7d19bc094f297cbfbbee91a8ba2f5e1c97e08a99dff8ba167491f8cb07d1af386767852022-05-20 18:29:545 days 19 hrs ago PaintSwap: Swap User NFT0x3b99636439fba6314c0f52d35fed2ff4421914070.1 FTM
0xc64e1dd9685762e5401012e1ecd02119e0199c354929666122ec8d026ff14365386715722022-05-20 16:52:515 days 21 hrs ago PaintSwap: Swap User NFT0x3b99636439fba6314c0f52d35fed2ff4421914070.1 FTM
0x718d265f8af643392733e3f9a4fe76352bb2c130394da8d7ab18c7e9cd2d2d8e386479772022-05-20 8:55:566 days 5 hrs ago PaintSwap: Swap User NFT0x3b99636439fba6314c0f52d35fed2ff4421914070.1 FTM
0x7175266889eab298c281f3436549470efb784ee4de22345d60a5b4398b472283385453012022-05-18 23:36:057 days 14 hrs ago PaintSwap: Swap User NFT0x3b99636439fba6314c0f52d35fed2ff4421914070.1 FTM
0x862d1b66ef4268ca0b7eea0246382a7e6a78e64d395e8fd34d17419aa02edb40385134132022-05-18 12:58:438 days 1 hr ago PaintSwap: Swap User NFT0x3b99636439fba6314c0f52d35fed2ff4421914070.1 FTM
0x0c42a7a13a275495d0b7f8cfa3bee67aab2c449864b2505eccac5fcd12ddb4f8385122792022-05-18 12:38:198 days 1 hr ago PaintSwap: Swap User NFT0x3b99636439fba6314c0f52d35fed2ff4421914070.1 FTM
0xfaadfb2d1e19ae33be670b18b34ed94b746106573d140739e31752232842e9f2385036822022-05-18 9:41:358 days 4 hrs ago PaintSwap: Swap User NFT0x3b99636439fba6314c0f52d35fed2ff4421914070.1 FTM
0xe49689dfc1b4c65945c312503468fb610f3a1e53070cc738b25c02b6d2466b00384899842022-05-18 5:11:338 days 9 hrs ago PaintSwap: Swap User NFT0x3b99636439fba6314c0f52d35fed2ff4421914070.1 FTM
0x2b55ccb718688a0b0aed0cc836bfffa632076a09f46d1d86c42bb6e86cb1efcd384838802022-05-18 3:11:518 days 11 hrs ago PaintSwap: Swap User NFT0x3b99636439fba6314c0f52d35fed2ff4421914070.1 FTM
0xa4eccd6259d8e8cd5da7004fda3bb485b0ceeabef893349605c70d97acc292c1384738082022-05-17 23:39:348 days 14 hrs ago PaintSwap: Swap User NFT0x3b99636439fba6314c0f52d35fed2ff4421914070.1 FTM
0x01066f5b466cfea5df04a18f391c97987d7506353b87eff754e295ef8e8c0bb1384499202022-05-17 15:16:408 days 23 hrs ago PaintSwap: Swap User NFT0x3b99636439fba6314c0f52d35fed2ff4421914070.1 FTM
0xd15798b5620890a9622a3a22f107816872fdb9c1663836046229374dfe873d5d384184942022-05-17 5:14:209 days 9 hrs ago PaintSwap: Swap User NFT0x3b99636439fba6314c0f52d35fed2ff4421914070.1 FTM
0xea33e402c7349486b8961000f53a1c405fa76d0d758c36625689299ef05f448e384088862022-05-17 2:15:059 days 12 hrs ago PaintSwap: Swap User NFT0x3b99636439fba6314c0f52d35fed2ff4421914070.1 FTM
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
PaintSwapUserNFT

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 15 : PaintSwapUserNFT.sol
//SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "./PaintSwapUserNFTBase.sol";

contract PaintSwapUserNFT is PaintSwapUserNFTBase {}

File 2 of 15 : 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 15 : 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 4 of 15 : 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 5 of 15 : 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 6 of 15 : 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 7 of 15 : 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 8 of 15 : 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 9 of 15 : 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 10 of 15 : 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 11 of 15 : 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 12 of 15 : 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 13 of 15 : 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 14 of 15 : 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 15 of 15 : 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":"","type":"address"},{"internalType":"uint128","name":"","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":[{"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":"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"}]

60806040523480156200001157600080fd5b506040805160208101909152600081526200002c8162000033565b506200012f565b8051620000489060029060208401906200004c565b5050565b8280546200005a90620000f2565b90600052602060002090601f0160209004810192826200007e5760008555620000c9565b82601f106200009957805160ff1916838001178555620000c9565b82800160010185558215620000c9579182015b82811115620000c9578251825591602001919060010190620000ac565b50620000d7929150620000db565b5090565b5b80821115620000d75760008155600101620000dc565b600181811c908216806200010757607f821691505b602082108114156200012957634e487b7160e01b600052602260045260246000fd5b50919050565b61387f806200013f6000396000f3fe6080604052600436106101745760003560e01c80638da5cb5b116100cb578063b6b6f0c31161007f578063e985e9c511610059578063e985e9c514610470578063f242432a14610490578063f2fde38b146104b057600080fd5b8063b6b6f0c3146103e6578063d3fc986414610430578063da09c72c1461044357600080fd5b80639caea80a116100b05780639caea80a14610393578063a22cb465146103a6578063b390c0ab146103c657600080fd5b80638da5cb5b146102f85780639abc83201461034a57600080fd5b8063159beb561161012d5780634e1273f4116101075780634e1273f414610296578063715018a6146102c357806384da92a7146102d857600080fd5b8063159beb56146102345780632eb2c2d6146102565780633614f7141461027657600080fd5b806306fdde031161015e57806306fdde03146101dc5780630e89341c146101fe57806313966db51461021e57600080fd5b8062fdd58e1461017957806301ffc9a7146101ac575b600080fd5b34801561018557600080fd5b50610199610194366004612fe0565b6104d0565b6040519081526020015b60405180910390f35b3480156101b857600080fd5b506101cc6101c736600461314d565b6105b0565b60405190151581526020016101a3565b3480156101e857600080fd5b506101f1610693565b6040516101a39190613479565b34801561020a57600080fd5b506101f16102193660046131c9565b610721565b34801561022a57600080fd5b5061019960065481565b34801561024057600080fd5b5061025461024f366004612da1565b610884565b005b34801561026257600080fd5b50610254610271366004612cf7565b610b46565b34801561028257600080fd5b50610254610291366004613132565b610fa7565b3480156102a257600080fd5b506102b66102b1366004613061565b611060565b6040516101a391906133eb565b3480156102cf57600080fd5b506102546111b8565b3480156102e457600080fd5b506102546102f3366004613187565b6112a8565b34801561030457600080fd5b506008546103259073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101a3565b34801561035657600080fd5b506101f16040518060400160405280600781526020017f697066733a2f2f0000000000000000000000000000000000000000000000000081525081565b6102546103a1366004612ebe565b611372565b3480156103b257600080fd5b506102546103c1366004612fb6565b6116c3565b3480156103d257600080fd5b506102546103e13660046131e2565b611800565b3480156103f257600080fd5b5060095461040f906fffffffffffffffffffffffffffffffff1681565b6040516fffffffffffffffffffffffffffffffff90911681526020016101a3565b61025461043e36600461300a565b611825565b34801561044f57600080fd5b506007546103259073ffffffffffffffffffffffffffffffffffffffff1681565b34801561047c57600080fd5b506101cc61048b366004612cc4565b611a04565b34801561049c57600080fd5b506102546104ab366004612e59565b611a70565b3480156104bc57600080fd5b506102546104cb366004612ca9565b611d68565b600073ffffffffffffffffffffffffffffffffffffffff831661057a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f455243313135353a2062616c616e636520717565727920666f7220746865207a60448201527f65726f206164647265737300000000000000000000000000000000000000000060648201526084015b60405180910390fd5b5060008181526020818152604080832073ffffffffffffffffffffffffffffffffffffffff861684529091529020545b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167fd9b67a2600000000000000000000000000000000000000000000000000000000148061064357507fffffffff0000000000000000000000000000000000000000000000000000000082167f0e89341c00000000000000000000000000000000000000000000000000000000145b806105aa57507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316146105aa565b600b80546106a0906135ef565b80601f01602080910402602001604051908101604052809291908181526020018280546106cc906135ef565b80156107195780601f106106ee57610100808354040283529160200191610719565b820191906000526020600020905b8154815290600101906020018083116106fc57829003601f168201915b505050505081565b606061072c82611f1a565b61073557600080fd5b60408051808201909152600781527f697066733a2f2f000000000000000000000000000000000000000000000000006020909101526107f4565b80601f016020809104026020016040519081016040528092919081815260200182805461079b906135ef565b80156107e85780601f106107bd576101008083540402835291602001916107e8565b820191906000526020600020905b8154815290600101906020018083116107cb57829003601f168201915b50505050509050919050565b6000828152600a60205260408120805461080d906135ef565b9050111561087b57604080518082018252600781527f697066733a2f2f000000000000000000000000000000000000000000000000006020808301919091526000858152600a82528390209251610865939101613289565b6040516020818303038152906040529050919050565b6105aa82611f3c565b600354610100900460ff168061089d575060035460ff16155b610929576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a65640000000000000000000000000000000000006064820152608401610571565b600354610100900460ff1615801561096857600380547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000166101011790555b6005805473ffffffffffffffffffffffffffffffffffffffff808d167fffffffffffffffffffffffff0000000000000000000000000000000000000000928316179092556fffffffffffffffffffffffffffffffff80891660065560078054938b16939092169290921790558516156109e157846109f3565b6fffffffffffffffffffffffffffffffff5b600980547fffffffffffffffffffffffffffffffff00000000000000000000000000000000166fffffffffffffffffffffffffffffffff92909216919091179055600880547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8416179055610a80600b85856129d3565b506020831115610a8f57600080fd5b7f7bc2a48a4a566e237a12186f19d985b0f76afc9d5290601edac19876253670c28484604051610ac092919061342c565b60405180910390a160405173ffffffffffffffffffffffffffffffffffffffff8316906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a38015610b3a57600380547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff1690555b50505050505050505050565b8151835114610bd7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060448201527f6d69736d617463680000000000000000000000000000000000000000000000006064820152608401610571565b73ffffffffffffffffffffffffffffffffffffffff8416610c7a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610571565b73ffffffffffffffffffffffffffffffffffffffff8516331480610ca35750610ca38533611a04565b610d2f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f455243313135353a207472616e736665722063616c6c6572206973206e6f742060448201527f6f776e6572206e6f7220617070726f76656400000000000000000000000000006064820152608401610571565b3360005b8451811015610f12576000858281518110610d5057610d506136f6565b602002602001015190506000858381518110610d6e57610d6e6136f6565b6020908102919091018101516000848152808352604080822073ffffffffffffffffffffffffffffffffffffffff8e168352909352919091205490915081811015610e3b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201527f72207472616e73666572000000000000000000000000000000000000000000006064820152608401610571565b610e4582826135a8565b60008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610ef79190613553565b9250508190555050505080610f0b9061368e565b9050610d33565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051610f899291906133fe565b60405180910390a4610f9f818787878787611f4b565b505050505050565b60085473ffffffffffffffffffffffffffffffffffffffff163314611028576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610571565b60405181151581527f135aad355ed06d7ae726d29fac1e6869cca9a556b7253b9d01ff540c2cbf1e089060200160405180910390a150565b606081518351146110f3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e67746860448201527f206d69736d6174636800000000000000000000000000000000000000000000006064820152608401610571565b6000835167ffffffffffffffff81111561110f5761110f613725565b604051908082528060200260200182016040528015611138578160200160208202803683370190505b50905060005b84518110156111b05761118385828151811061115c5761115c6136f6565b6020026020010151858381518110611176576111766136f6565b60200260200101516104d0565b828281518110611195576111956136f6565b60209081029190910101526111a98161368e565b905061113e565b509392505050565b60085473ffffffffffffffffffffffffffffffffffffffff163314611239576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610571565b60085460405160009173ffffffffffffffffffffffffffffffffffffffff16907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600880547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b60085473ffffffffffffffffffffffffffffffffffffffff163314611329576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610571565b611335600b83836129d3565b507fed41a19b397d8e610d8f9e6e52ab2bef7e51c9977a12cb779c7cd86747f8d509600b604051611366919061348c565b60405180910390a15050565b60085473ffffffffffffffffffffffffffffffffffffffff1633146113f3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610571565b805182511461140157600080fd5b8151600654611410919061356b565b3414611478576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f4e6f7420656e6f7567682066746d0000000000000000000000000000000000006044820152606401610571565b6000825167ffffffffffffffff81111561149457611494613725565b6040519080825280602002602001820160405280156114bd578160200160208202803683370190505b50905060005b8351811015611559576114da600480546001019055565b60006114e560045490565b9050808383815181106114fa576114fa6136f6565b602002602001018181525050838281518110611518576115186136f6565b6020026020010151600a60008381526020019081526020016000209080519060200190611546929190612a75565b5050806115529061368e565b90506114c3565b506009546fffffffffffffffffffffffffffffffff1661157860045490565b111561158357600080fd5b6009546fffffffffffffffffffffffffffffffff166115a160045490565b14156115d1576040517f635a2d9b85d549672d43f702d3866789dd31d1c9213be937f4f3ce21e9051f7190600090a15b6115ec848285604051806020016040528060008152506121e5565b60075460405160009173ffffffffffffffffffffffffffffffffffffffff169034905b60006040518083038185875af1925050503d806000811461164c576040519150601f19603f3d011682016040523d82523d6000602084013e611651565b606091505b50509050806116bc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f5472616e73666572206661696c656400000000000000000000000000000000006044820152606401610571565b5050505050565b3373ffffffffffffffffffffffffffffffffffffffff83161415611769576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c2073746174757360448201527f20666f722073656c6600000000000000000000000000000000000000000000006064820152608401610571565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168085529083529281902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b8061180b33846104d0565b101561181657600080fd5b61182133838361245e565b5050565b60085473ffffffffffffffffffffffffffffffffffffffff1633146118a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610571565b6006543414611911576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f4e6f7420656e6f7567682066746d0000000000000000000000000000000000006044820152606401610571565b61191f600480546001019055565b600061192a60045490565b90506119478482856040518060200160405280600081525061266e565b6000818152600a60209081526040909120835161196692850190612a75565b506009546fffffffffffffffffffffffffffffffff1661198560045490565b111561199057600080fd5b6009546fffffffffffffffffffffffffffffffff166119ae60045490565b14156115ec576040517f635a2d9b85d549672d43f702d3866789dd31d1c9213be937f4f3ce21e9051f7190600090a160075460405160009173ffffffffffffffffffffffffffffffffffffffff1690349061160f565b60055460009073ffffffffffffffffffffffffffffffffffffffff83811691161415611a32575060016105aa565b73ffffffffffffffffffffffffffffffffffffffff80841660009081526001602090815260408083209386168352929052205460ff165b9392505050565b73ffffffffffffffffffffffffffffffffffffffff8416611b13576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610571565b73ffffffffffffffffffffffffffffffffffffffff8516331480611b3c5750611b3c8533611a04565b611bc8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201527f20617070726f76656400000000000000000000000000000000000000000000006064820152608401610571565b33611be1818787611bd8886127cc565b6116bc886127cc565b60008481526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8a16845290915290205483811015611c9f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201527f72207472616e73666572000000000000000000000000000000000000000000006064820152608401610571565b611ca984826135a8565b60008681526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8c81168552925280832093909355881681529081208054869290611cf2908490613553565b9091555050604080518681526020810186905273ffffffffffffffffffffffffffffffffffffffff808916928a821692918616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4611d5f828888888888612817565b50505050505050565b60085473ffffffffffffffffffffffffffffffffffffffff163314611de9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610571565b73ffffffffffffffffffffffffffffffffffffffff8116611e8c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610571565b60085460405173ffffffffffffffffffffffffffffffffffffffff8084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600880547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b6000818152600a602052604081208054611f33906135ef565b15159392505050565b60606002805461076f906135ef565b73ffffffffffffffffffffffffffffffffffffffff84163b15610f9f576040517fbc197c8100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85169063bc197c8190611fc29089908990889088908890600401613330565b602060405180830381600087803b158015611fdc57600080fd5b505af192505050801561202a575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682019092526120279181019061316a565b60015b61211457612036613754565b806308c379a0141561208a575061204b613770565b80612056575061208c565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105719190613479565b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e204552433131353560448201527f526563656976657220696d706c656d656e7465720000000000000000000000006064820152608401610571565b7fffffffff0000000000000000000000000000000000000000000000000000000081167fbc197c810000000000000000000000000000000000000000000000000000000014611d5f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a6563746560448201527f6420746f6b656e730000000000000000000000000000000000000000000000006064820152608401610571565b73ffffffffffffffffffffffffffffffffffffffff8416612288576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610571565b8151835114612319576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060448201527f6d69736d617463680000000000000000000000000000000000000000000000006064820152608401610571565b3360005b84518110156123cf57838181518110612338576123386136f6565b6020026020010151600080878481518110612355576123556136f6565b6020026020010151815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546123b79190613553565b909155508190506123c78161368e565b91505061231d565b508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516124479291906133fe565b60405180910390a46116bc81600087878787611f4b565b73ffffffffffffffffffffffffffffffffffffffff8316612501576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610571565b3361253181856000612512876127cc565b61251b876127cc565b5050604080516020810190915260009052505050565b60008381526020818152604080832073ffffffffffffffffffffffffffffffffffffffff88168452909152902054828110156125ee576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c60448201527f616e6365000000000000000000000000000000000000000000000000000000006064820152608401610571565b6125f883826135a8565b60008581526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8a811680865291845282852095909555815189815292830188905292938616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a45050505050565b73ffffffffffffffffffffffffffffffffffffffff8416612711576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610571565b3361272281600087611bd8886127cc565b60008481526020818152604080832073ffffffffffffffffffffffffffffffffffffffff891684529091528120805485929061275f908490613553565b9091555050604080518581526020810185905273ffffffffffffffffffffffffffffffffffffffff80881692600092918516917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a46116bc81600087878787612817565b60408051600180825281830190925260609160009190602080830190803683370190505090508281600081518110612806576128066136f6565b602090810291909101015292915050565b73ffffffffffffffffffffffffffffffffffffffff84163b15610f9f576040517ff23a6e6100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85169063f23a6e619061288e908990899088908890889060040161339b565b602060405180830381600087803b1580156128a857600080fd5b505af19250505080156128f6575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682019092526128f39181019061316a565b60015b61290257612036613754565b7fffffffff0000000000000000000000000000000000000000000000000000000081167ff23a6e610000000000000000000000000000000000000000000000000000000014611d5f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a6563746560448201527f6420746f6b656e730000000000000000000000000000000000000000000000006064820152608401610571565b8280546129df906135ef565b90600052602060002090601f016020900481019282612a015760008555612a65565b82601f10612a38578280017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00823516178555612a65565b82800160010185558215612a65579182015b82811115612a65578235825591602001919060010190612a4a565b50612a71929150612ae9565b5090565b828054612a81906135ef565b90600052602060002090601f016020900481019282612aa35760008555612a65565b82601f10612abc57805160ff1916838001178555612a65565b82800160010185558215612a65579182015b82811115612a65578251825591602001919060010190612ace565b5b80821115612a715760008155600101612aea565b803573ffffffffffffffffffffffffffffffffffffffff81168114612b2257600080fd5b919050565b600082601f830112612b3857600080fd5b81356020612b458261352f565b604051612b528282613643565b8381528281019150858301600585901b87018401881015612b7257600080fd5b60005b85811015612b9157813584529284019290840190600101612b75565b5090979650505050505050565b80358015158114612b2257600080fd5b600082601f830112612bbf57600080fd5b813567ffffffffffffffff811115612bd957612bd9613725565b604051612c0e60207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8501160182613643565b818152846020838601011115612c2357600080fd5b816020850160208301376000918101602001919091529392505050565b60008083601f840112612c5257600080fd5b50813567ffffffffffffffff811115612c6a57600080fd5b602083019150836020828501011115612c8257600080fd5b9250929050565b80356fffffffffffffffffffffffffffffffff81168114612b2257600080fd5b600060208284031215612cbb57600080fd5b611a6982612afe565b60008060408385031215612cd757600080fd5b612ce083612afe565b9150612cee60208401612afe565b90509250929050565b600080600080600060a08688031215612d0f57600080fd5b612d1886612afe565b9450612d2660208701612afe565b9350604086013567ffffffffffffffff80821115612d4357600080fd5b612d4f89838a01612b27565b94506060880135915080821115612d6557600080fd5b612d7189838a01612b27565b93506080880135915080821115612d8757600080fd5b50612d9488828901612bae565b9150509295509295909350565b60008060008060008060008060006101008a8c031215612dc057600080fd5b612dc98a612afe565b9850612dd760208b01612afe565b9750612de560408b01612c89565b9650612df360608b01612afe565b9550612e0160808b01612c89565b9450612e0f60a08b01612c89565b935060c08a013567ffffffffffffffff811115612e2b57600080fd5b612e378c828d01612c40565b9094509250612e4a905060e08b01612afe565b90509295985092959850929598565b600080600080600060a08688031215612e7157600080fd5b612e7a86612afe565b9450612e8860208701612afe565b93506040860135925060608601359150608086013567ffffffffffffffff811115612eb257600080fd5b612d9488828901612bae565b600080600060608486031215612ed357600080fd5b612edc84612afe565b925060208085013567ffffffffffffffff80821115612efa57600080fd5b612f0688838901612b27565b94506040870135915080821115612f1c57600080fd5b818701915087601f830112612f3057600080fd5b8135612f3b8161352f565b604051612f488282613643565b8281528581019150848601600584901b860187018c1015612f6857600080fd5b6000805b85811015612fa357823587811115612f82578283fd5b612f908f8b838c0101612bae565b8652509388019391880191600101612f6c565b5050508096505050505050509250925092565b60008060408385031215612fc957600080fd5b612fd283612afe565b9150612cee60208401612b9e565b60008060408385031215612ff357600080fd5b612ffc83612afe565b946020939093013593505050565b60008060006060848603121561301f57600080fd5b61302884612afe565b925060208401359150604084013567ffffffffffffffff81111561304b57600080fd5b61305786828701612bae565b9150509250925092565b6000806040838503121561307457600080fd5b823567ffffffffffffffff8082111561308c57600080fd5b818501915085601f8301126130a057600080fd5b813560206130ad8261352f565b6040516130ba8282613643565b8381528281019150858301600585901b870184018b10156130da57600080fd5b600096505b84871015613104576130f081612afe565b8352600196909601959183019183016130df565b509650508601359250508082111561311b57600080fd5b5061312885828601612b27565b9150509250929050565b60006020828403121561314457600080fd5b611a6982612b9e565b60006020828403121561315f57600080fd5b8135611a6981613818565b60006020828403121561317c57600080fd5b8151611a6981613818565b6000806020838503121561319a57600080fd5b823567ffffffffffffffff8111156131b157600080fd5b6131bd85828601612c40565b90969095509350505050565b6000602082840312156131db57600080fd5b5035919050565b600080604083850312156131f557600080fd5b50508035926020909101359150565b600081518084526020808501945080840160005b8381101561323457815187529582019590820190600101613218565b509495945050505050565b600081518084526132578160208601602086016135bf565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60008351602061329c82858389016135bf565b8184019150600085546132ae816135ef565b600182811680156132c657600181146132f557613321565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00841687528287019450613321565b896000528560002060005b8481101561331957815489820152908301908701613300565b505082870194505b50929998505050505050505050565b600073ffffffffffffffffffffffffffffffffffffffff808816835280871660208401525060a0604083015261336960a0830186613204565b828103606084015261337b8186613204565b9050828103608084015261338f818561323f565b98975050505050505050565b600073ffffffffffffffffffffffffffffffffffffffff808816835280871660208401525084604083015283606083015260a060808301526133e060a083018461323f565b979650505050505050565b602081526000611a696020830184613204565b6040815260006134116040830185613204565b82810360208401526134238185613204565b95945050505050565b60208152816020820152818360408301376000818301604090810191909152601f9092017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0160101919050565b602081526000611a69602083018461323f565b60006020808352600084546134a0816135ef565b808487015260406001808416600081146134c157600181146134f357613521565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff008516838a0152606089019550613521565b896000528660002060005b858110156135195781548b82018601529083019088016134fe565b8a0184019650505b509398975050505050505050565b600067ffffffffffffffff82111561354957613549613725565b5060051b60200190565b60008219821115613566576135666136c7565b500190565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156135a3576135a36136c7565b500290565b6000828210156135ba576135ba6136c7565b500390565b60005b838110156135da5781810151838201526020016135c2565b838111156135e9576000848401525b50505050565b600181811c9082168061360357607f821691505b6020821081141561363d577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f830116810181811067ffffffffffffffff8211171561368757613687613725565b6040525050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156136c0576136c06136c7565b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060033d111561376d5760046000803e5060005160e01c5b90565b600060443d101561377e5790565b6040517ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc803d016004833e81513d67ffffffffffffffff81602484011181841117156137cc57505050505090565b82850191508151818111156137e45750505050505090565b843d87010160208285010111156137fe5750505050505090565b61380d60208286010187613643565b509095945050505050565b7fffffffff000000000000000000000000000000000000000000000000000000008116811461384657600080fd5b5056fea2646970667358221220deac29d028acf8719a97b40f037467837fa5ba5599ebc12e9ed14194c629deaf64736f6c63430008060033

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.