Contract 0x0a0bf65248805efa926c39bf51b6dd94e3d1a7af 1

 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x76f8338f34fe41f45c3d68dfb4240ce098ae7ec0e5ff8cc7ec299206383f5e01Safe Transfer Fr...221961322021-12-06 9:04:152 hrs 51 mins ago0xb7defdbfb41db5ef96093a0063929a78f5b2a065 IN  The Visitors: VSTR Token0 MATIC0.00217656
0x050382ed99b12f05ed2f991ee937e5b401ac56f92073caecaa5151b9b1f74326Set Approval For...221917912021-12-06 6:19:245 hrs 36 mins ago0x094367d701be65bf37d84965049c374b6a2cfd60 IN  The Visitors: VSTR Token0 MATIC0.0017466922
0x539a5f0529f73e14e23d5fd2546111ea25d19eec41927d93d6d7e057363b7ef1Set Approval For...221885602021-12-06 4:19:507 hrs 35 mins ago0xee070768a98b8af9f7fc0bd9a9c78a603e5f39d9 IN  The Visitors: VSTR Token0 MATIC0.00140109
0xfdb48e5386c925a18f0033956cc16d0c4be1211b630b1e704625cc576f345de2Safe Transfer Fr...221704412021-12-05 16:39:5619 hrs 15 mins ago0x888cb10a3e088455ed76ec2e9abec565437eec55 IN  The Visitors: VSTR Token0 MATIC0.00242757
0x670eff450d6aa27663c1e45545576b6b61f25283e2aa20362c6902d68635fee4Safe Transfer Fr...221679842021-12-05 14:59:0820 hrs 56 mins ago0xb7defdbfb41db5ef96093a0063929a78f5b2a065 IN  The Visitors: VSTR Token0 MATIC0.00217656
0x67524753b4284d7e6f8233feee9701ca693cd32d3e51fdfca631e6f43b259027Set Approval For...221646732021-12-05 12:48:1823 hrs 7 mins ago0x811e6ccb85950b22c5dc360fb48666f03f9c2309 IN  The Visitors: VSTR Token0 MATIC0.00140109
0xd202784c51b5eaf8cdec79d01e0b9fc6b7a2fc7c29265f2c09e85c296948a39dSet Approval For...221642562021-12-05 12:31:4823 hrs 23 mins ago0xfde9361d61ef848fe61d8dfb2ed65ad39c3f2ae7 IN  The Visitors: VSTR Token0 MATIC0.00140109
0x049b03a9d65a905c0b111896c528c0e2d20d1f5fcc1d84df708795953cad09b1Set Approval For...221641322021-12-05 12:27:3223 hrs 28 mins ago0x7fb69eb059579d2f9b6dbdeb68b21a5ffa1f511b IN  The Visitors: VSTR Token0 MATIC0.004623597
0xac6682f260a26588dde17db1e25aca62d17857865aa4ed456cf4c217cd34c6ffSafe Transfer Fr...221609162021-12-05 10:18:301 day 1 hr ago0xb7defdbfb41db5ef96093a0063929a78f5b2a065 IN  The Visitors: VSTR Token0 MATIC0.000217656
0xa2feb4523a63f45112639bd9c0a58e795cbe29cbb6326e44e853ba3b98262ab6Set Approval For...221589522021-12-05 8:54:331 day 3 hrs ago0xe85a2a70fcdd5d06a2d2a6bd8cecfe145da3f5a5 IN  The Visitors: VSTR Token0 MATIC0.00140109
0x92d8dc1c73f3da92278fd31396cb94f2bbe885523ac689d685cbed48ce6524aeSafe Transfer Fr...221502912021-12-05 3:41:271 day 8 hrs ago0x5f9932abe036348996250c218e9b01b800819846 IN  The Visitors: VSTR Token0 MATIC0.00202956
0xfbc38feb1cf7ca9efb1de717e36e6326db0d2ef2eb292b8a6cfb10eaf8b5648cSet Approval For...221460132021-12-05 1:06:281 day 10 hrs ago0x5983bb1cccee4f6e4ff97df52057eec6be5710c4 IN  The Visitors: VSTR Token0 MATIC0.00140109
0xb7db423667dfb74a23a9c6196726d45b4f69847d108e95216293b620cd59cf9eSafe Transfer Fr...221439782021-12-04 23:56:111 day 11 hrs ago0xe716f580b05562e267a3cdb8f87b00412332f320 IN  The Visitors: VSTR Token0 MATIC0.00217656
0x8d3ce6e819f99a3f31a748a5ff31e13ac8ce72854f1485cb0a20cbd1e3d3c7e5Safe Transfer Fr...221439502021-12-04 23:55:151 day 12 hrs ago0xe716f580b05562e267a3cdb8f87b00412332f320 IN  The Visitors: VSTR Token0 MATIC0.00240621
0x06f5bacc0f1b378eaebfbc2c7470e9da8f48db1470878567516865c54d5d7a73Safe Transfer Fr...221415102021-12-04 22:28:481 day 13 hrs ago0xf2fae450695c75291647f67ac3a4d3b5d168903d IN  The Visitors: VSTR Token0 MATIC0.00217692
0xffe9062b3e3f791526d17bc71af33827b204e75d9bdf0107c53b65c5322145f6Safe Transfer Fr...221414982021-12-04 22:28:201 day 13 hrs ago0xf2fae450695c75291647f67ac3a4d3b5d168903d IN  The Visitors: VSTR Token0 MATIC0.00240657
0x53fe0a086d51bb3d4db64ec35c86c43c50a2cba91fb7291f6becfeb1be405e1cSafe Transfer Fr...221393302021-12-04 21:09:201 day 14 hrs ago0x78d6ba5786ef3539925faba10784888c411ccafc IN  The Visitors: VSTR Token0 MATIC0.00211392
0x2f7ee89d4d07508dbf78c4e2b079be1d75344707484a593c4ca283fc354c1343Safe Transfer Fr...221393182021-12-04 21:08:521 day 14 hrs ago0x78d6ba5786ef3539925faba10784888c411ccafc IN  The Visitors: VSTR Token0 MATIC0.00211392
0x58dfaa10dec158ae8acf7b6c339276c81e096702330bdf7191d5a72bf9ef0c64Safe Transfer Fr...221392522021-12-04 21:06:361 day 14 hrs ago0x71ee3d03f9e5e548c4a0ef5fb2903c7b2718a3f9 IN  The Visitors: VSTR Token0 MATIC0.00242757
0x053e2421f3db3d9b014ca5b3afa6dc1a918dee4daf436470fcc8956ea71e9b0bSet Approval For...221388712021-12-04 20:53:301 day 15 hrs ago0xcd2cbaa4ed48c24b14da368c53fd5236893c5f7f IN  The Visitors: VSTR Token0 MATIC0.00140109
0x44801a41869f0eddf034860a2c6f9c559dc4cbb034200fa25235b7b9e2fdf1c6Safe Transfer Fr...221362832021-12-04 19:22:251 day 16 hrs ago0xdef20db25523329ae9c9074bb9755cb97f560922 IN  The Visitors: VSTR Token0 MATIC0.00242757
0xd6b0c7be2f905cbdf25a263985104fe2b37d2fe4a0f345c73cc7c0fb78ff3a2dSet Approval For...221224282021-12-04 10:42:402 days 1 hr ago0xd81b1aed899036f3b2afe5981f124cfe6b15c570 IN  The Visitors: VSTR Token0 MATIC0.02288447
0x9ac338634cbb630ff9be3182243a183a63757b00d42e856ab7c90540c36afedaSafe Transfer Fr...221201872021-12-04 9:15:532 days 2 hrs ago0x673f7210d22869d8ed31fc1df6ff9a890e9091eb IN  The Visitors: VSTR Token0 MATIC0.00076794
0x173bfb2f2981cac1191fd0a2ef1f75f9678259e2bf7d0d83ff74d6719c7110ebSafe Transfer Fr...221201802021-12-04 9:15:392 days 2 hrs ago0x673f7210d22869d8ed31fc1df6ff9a890e9091eb IN  The Visitors: VSTR Token0 MATIC0.00076794
0xa88a1591a9f0aece1b5fd8b63e14c07e70e2e971e646573f27b4eeeb2e5714eaSet Approval For...221197962021-12-04 8:56:032 days 2 hrs ago0x94cd1fe24f60b04c1c4e9c51bbda8d77ac796173 IN  The Visitors: VSTR Token0 MATIC0.00140109
[ Download CSV Export 

OVERVIEW

The Visitors is a collection of 10,001 unique pieces of collectible art by Mike Mitchell.

Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Visitors

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity Standard Json-Input format)

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

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";




 //                            (@@@@@@@@@@@@@@@@@@@@@@@.
 //                      #@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@.
 //                  @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@,
 //               @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
 //            @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
 //          @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%
 //        @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*
 //      *@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
 //     @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@,
 //    @@@@@@@@@@@         @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@        @@@@@@@@@@&
 //   @@@@@@@@@@@              @@@@@@@@@@@@@@@@@@@@@@@@@              @@@@@@@@@@/
 //  %@@@@@@@@@@@                 @@@@@@@@@@@@@@@@@@@/                 @@@@@@@@@@
 //  @@@@@@@@@@@@                   @@@@@@@@@@@@@@@&                   @@@@@@@@@@@
 // #@@@@@@@@@@@@                    (@@@@@@@@@@@@                     @@@@@@@@@@@
 // @@@@@@@@@@@@@%                    %@@@@@@@@@@                     @@@@@@@@@@@@*
 // @@@@@@@@@@@@@@@                    @@@@@@@@@/                    @@@@@@@@@@@@@%
 // @@@@@@@@@@@@@@@@                   #@@@@@@@@                   %@@@@@@@@@@@@@@.
 // /@@@@@@@@@@@@@@@@@#                ,@@@@@@@@                 @@@@@@@@@@@@@@@@@
 //  @@@@@@@@@@@@@@@@@@@@@@         &@@@@@@@@@@@@@@.        *@@@@@@@@@@@@@@@@@@@@@
 //  (@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
 //   @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
 //    @@@@@@@@@@@@@@@@@@@@@@@@@@  @@@@@@@@@@@@@@@@@  @@@@@@@@@@@@@@@@@@@@@@@@@
 //     @@@@@@@@@@@@@@@@@@@@@@@@@@.  @@@@@@@@@@@@@@  @@@@@@@@@@@@@@@@@@@@@@@@@
 //       @@@@@@@@@@@@@@@@@@@@@@@@@@@   @@@@@@@@   @@@@@@@@@@@@@@@@@@@@@@@@@@
 //        @@@@@@@@@@@@@@@@@@@@@@@@@@@@@.      [email protected]@@@@@@@@@@@@@@@@@@@@@@@@@@
 //          @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
 //             @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
 //               @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
 //                   @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
 //                       @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
 //                              @@@@@@@@@@@@@@@@@@@@@

contract Visitors is ERC721, ERC721Enumerable, Ownable, Pausable {
  using SafeMath for uint256;
  using Strings for uint256;
  using SafeERC20 for IERC20;

  struct TokenBucket {
    uint256 min;
    uint256 max;
    string prefix;
  }

  address contractAddress;

  string _baseDynamicURI;   // Our API server for dynamic metadata
  string public contractURI;

  uint256 public MAX_MINTABLE = 10_001;
  uint256 public mintPrice = 0.042 ether;
  uint256 public maxPurchaseCount = 20;
  uint256 public totalVisitors = 0;
  bool public mintingComplete = false;
  bool public recyclingActive = false;
  uint256 public recycleCost = 2;
  uint256 public recycleSupply = 0;

  IERC20 public weth;

  TokenBucket[] buckets;

  constructor(string memory baseURIVal_, address weth_)
    ERC721("Visitor", "VSTR")
  {
      contractAddress = address(this);
      weth = IERC20(weth_);
      _baseDynamicURI = baseURIVal_;
      _pause();
  }

  function _mintTokens(uint256 numberOfTokens) internal {
    for (uint256 i = 0; i < numberOfTokens; i++) {
      _mint(msg.sender, totalVisitors + 1);
      totalVisitors += 1;
    }
  }

  function mintTokens(uint256 numberOfTokens)
      public
      payable
      whenNotPaused
      whenMintingNotComplete
      mintCountMeetsSupply(numberOfTokens)
      doesNotExceedMaxPurchaseCount(numberOfTokens)
  {
      uint256 amount = calculatePrice(numberOfTokens);
      uint256 balance = weth.balanceOf(msg.sender);
      require(balance >= amount, "Not enough wETH");
      weth.safeTransferFrom(msg.sender, contractAddress, amount);
      _mintTokens(numberOfTokens);
      if (totalVisitors >= MAX_MINTABLE) {
        mintingComplete = true;
      }
  }

  function recycle(uint256[] memory tokenIds)
      public
      whenNotPaused
      recyclingIsActive
      meetsRecyclingSupply
      meetsRecyclingCost(tokenIds)
      meetsOwnership(tokenIds)
  {

    for (uint256 i = 0; i < tokenIds.length; i++) {
      _burn(tokenIds[i]);
    }
    _mintTokens(1);
    recycleSupply -= 1;
  }

  /**
  * @dev Returns the total cost in WETH for numberOfTokens
  */
  function calculatePrice(uint256 numberOfTokens)
    internal
    view
    returns (uint256)
  {
      return mintPrice.mul(numberOfTokens);
  }

  /**
   * @dev The ability to create buckets of varying size
   * as for reference for the tokenURI
   */
  function addBucket(uint256 min, uint256 max, string memory prefix) public onlyOwner {
    require(min < max, "Min must be less than Max");
    require(bytes(prefix).length > 0, "Prefix can not be blank");
    for (uint256 i = 0; i < buckets.length; i++) {
      require(min > buckets[i].max, "Bucket min must start after previous bucket max");
    }
    buckets.push(TokenBucket(min, max, prefix));
  }

  /**
  * @dev Because of the recycler we will be adding new NFT's in the
  * future. We use batches of uploads to IPFS to reduce contract storage
  */
  function tokenURI(uint256 tokenId)
    public
    view
    virtual
    override returns (string memory)
  {
    require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

    string memory prefix = _baseDynamicURI;
    for (uint256 i = 0; i < buckets.length; i++) {
      if (buckets[i].min <= tokenId && buckets[i].max >= tokenId) {
        prefix = buckets[i].prefix;
        break;
      }
    }
    return bytes(prefix).length > 0 ? string(abi.encodePacked(prefix, tokenId.toString())) : "";
  }

  function setContractURI(string memory newContractURI) public onlyOwner {
    contractURI = newContractURI;
  }

  /**
  * @dev Sets the URI for our dynamic API
  */
  function setBaseURI(string memory newBase) public onlyOwner {
      _baseDynamicURI = newBase;
  }

  function setMintPrice(uint256 newPrice) public onlyOwner {
    mintPrice = newPrice;
  }

  /**
  * @dev Typically recycling will cost 2 to mint 1, but this
  * is configurable for future drops that are more expensive
  * and exclusive
  */
  function setRecycleCost(uint256 newCost) public onlyOwner {
    require(newCost > 0, "recycleCost must be greater than zero");
    recycleCost = newCost;
  }

  /**
  * @dev Each time the recycler is turned on, this is the max
  * amount that can be minted
  */
  function setRecycleSupply(uint256 newSupply) public onlyOwner {
    recycleSupply = newSupply;
  }

  function recyclingOn() public onlyOwner {
    recyclingActive = true;
  }

  function recyclingOff() public onlyOwner {
    recyclingActive = false;
  }

  function pause() public onlyOwner {
    _pause();
  }

  function unpause() public onlyOwner {
    _unpause();
  }

  function withdrawMatic() public onlyOwner {
    uint256 balance = address(this).balance;
    payable(msg.sender).transfer(balance);
  }

  function withdrawWeth() public onlyOwner {
    uint256 balance = weth.balanceOf(contractAddress);
    weth.transfer(owner(), balance);
  }

  function _beforeTokenTransfer(
    address from,
    address to,
    uint256 tokenId
  ) internal virtual override(ERC721, ERC721Enumerable) whenNotPaused {
    super._beforeTokenTransfer(from, to, tokenId);
  }

  function supportsInterface(bytes4 interfaceId)
    public
    view
    virtual
    override(ERC721, ERC721Enumerable)
    returns (bool)
  {
    return super.supportsInterface(interfaceId);
  }

  /**
  * @dev This is our check for standard minting, once
  * we surpass MAX_MINTABLE Visitors the mintTokens is
  * no longer available. From then on the only way to
  * mint a Visitor you must recycle and burn existing
  * tokens
  */
  modifier mintCountMeetsSupply(uint256 numberOfTokens) {
    require(
      totalVisitors + numberOfTokens <= MAX_MINTABLE,
      "Purchase would exceed max supply"
    );
    _;
  }

  modifier doesNotExceedMaxPurchaseCount(uint256 numberOfTokens) {
    require(
      numberOfTokens <= maxPurchaseCount,
      "Cannot mint more than 20 tokens at a time"
    );
    _;
  }

  modifier whenMintingNotComplete() {
    require(mintingComplete == false, "Normal minting is complete");
    _;
  }

  modifier recyclingIsActive() {
    require(recyclingActive == true, "Recycler is not active");
    _;
  }

  modifier meetsRecyclingSupply() {
    require(
      recycleSupply > 0,
      "There are no Visitors available via recycling"
    );
    _;
  }

  modifier meetsRecyclingCost(uint256[] memory tokenIds) {
    require(
      tokenIds.length == recycleCost,
      "Incorrect number of Visitors passed for recycling"
    );
    _;
  }

  modifier meetsOwnership(uint256[] memory tokenIds) {
    for (uint256 i = 0; i < tokenIds.length; i++) {
      require(this.ownerOf(tokenIds[i]) == msg.sender, "You may only recycle Visitors you own");
    }
    _;
  }

}

File 2 of 17 : ERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/Strings.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension, but not including the Enumerable extension, which is available separately as
 * {ERC721Enumerable}.
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to owner address
    mapping(uint256 => address) private _owners;

    // Mapping owner address to token count
    mapping(address => uint256) private _balances;

    // Mapping from token ID to approved address
    mapping(uint256 => address) private _tokenApprovals;

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

    /**
     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        require(owner != address(0), "ERC721: balance query for the zero address");
        return _balances[owner];
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _owners[tokenId];
        require(owner != address(0), "ERC721: owner query for nonexistent token");
        return owner;
    }

    /**
     * @dev See {IERC721Metadata-name}.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev See {IERC721Metadata-symbol}.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

        string memory baseURI = _baseURI();
        return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : "";
    }

    /**
     * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
     * token will be the concatenation of the `baseURI` and the `tokenId`. Empty
     * by default, can be overriden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public virtual override {
        address owner = ERC721.ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

        require(
            _msgSender() == owner || isApprovedForAll(owner, _msgSender()),
            "ERC721: approve caller is not owner nor approved for all"
        );

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        require(_exists(tokenId), "ERC721: approved query for nonexistent token");

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        require(operator != _msgSender(), "ERC721: approve to caller");

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

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

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");

        _transfer(from, to, tokenId);
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        safeTransferFrom(from, to, tokenId, "");
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
        _safeTransfer(from, to, tokenId, _data);
    }

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * `_data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
    }

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted (`_mint`),
     * and stop existing when they are burned (`_burn`).
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return _owners[tokenId] != address(0);
    }

    /**
     * @dev Returns whether `spender` is allowed to manage `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
        require(_exists(tokenId), "ERC721: operator query for nonexistent token");
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender));
    }

    /**
     * @dev Safely mints `tokenId` and transfers it to `to`.
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(address to, uint256 tokenId) internal virtual {
        _safeMint(to, tokenId, "");
    }

    /**
     * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
     */
    function _safeMint(
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _mint(to, tokenId);
        require(
            _checkOnERC721Received(address(0), to, tokenId, _data),
            "ERC721: transfer to non ERC721Receiver implementer"
        );
    }

    /**
     * @dev Mints `tokenId` and transfers it to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - `to` cannot be the zero address.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 tokenId) internal virtual {
        require(to != address(0), "ERC721: mint to the zero address");
        require(!_exists(tokenId), "ERC721: token already minted");

        _beforeTokenTransfer(address(0), to, tokenId);

        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(address(0), to, tokenId);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual {
        address owner = ERC721.ownerOf(tokenId);

        _beforeTokenTransfer(owner, address(0), tokenId);

        // Clear approvals
        _approve(address(0), tokenId);

        _balances[owner] -= 1;
        delete _owners[tokenId];

        emit Transfer(owner, address(0), tokenId);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

        // Clear approvals from the previous owner
        _approve(address(0), tokenId);

        _balances[from] -= 1;
        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);
    }

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits a {Approval} event.
     */
    function _approve(address to, uint256 tokenId) internal virtual {
        _tokenApprovals[tokenId] = to;
        emit Approval(ERC721.ownerOf(tokenId), to, tokenId);
    }

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * The call is not executed if the target address is not a contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param _data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        if (to.isContract()) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
                return retval == IERC721Receiver(to).onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, ``from``'s `tokenId` will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}
}

File 3 of 17 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../ERC721.sol";
import "./IERC721Enumerable.sol";

/**
 * @dev This implements an optional extension of {ERC721} defined in the EIP that adds
 * enumerability of all the token ids in the contract as well as all token ids owned by each
 * account.
 */
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
    // Mapping from owner to list of owned token IDs
    mapping(address => mapping(uint256 => uint256)) private _ownedTokens;

    // Mapping from token ID to index of the owner tokens list
    mapping(uint256 => uint256) private _ownedTokensIndex;

    // Array with all token ids, used for enumeration
    uint256[] private _allTokens;

    // Mapping from token id to position in the allTokens array
    mapping(uint256 => uint256) private _allTokensIndex;

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

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds");
        return _ownedTokens[owner][index];
    }

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _allTokens.length;
    }

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds");
        return _allTokens[index];
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, ``from``'s `tokenId` will be burned.
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual override {
        super._beforeTokenTransfer(from, to, tokenId);

        if (from == address(0)) {
            _addTokenToAllTokensEnumeration(tokenId);
        } else if (from != to) {
            _removeTokenFromOwnerEnumeration(from, tokenId);
        }
        if (to == address(0)) {
            _removeTokenFromAllTokensEnumeration(tokenId);
        } else if (to != from) {
            _addTokenToOwnerEnumeration(to, tokenId);
        }
    }

    /**
     * @dev Private function to add a token to this extension's ownership-tracking data structures.
     * @param to address representing the new owner of the given token ID
     * @param tokenId uint256 ID of the token to be added to the tokens list of the given address
     */
    function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {
        uint256 length = ERC721.balanceOf(to);
        _ownedTokens[to][length] = tokenId;
        _ownedTokensIndex[tokenId] = length;
    }

    /**
     * @dev Private function to add a token to this extension's token tracking data structures.
     * @param tokenId uint256 ID of the token to be added to the tokens list
     */
    function _addTokenToAllTokensEnumeration(uint256 tokenId) private {
        _allTokensIndex[tokenId] = _allTokens.length;
        _allTokens.push(tokenId);
    }

    /**
     * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that
     * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for
     * gas optimizations e.g. when performing a transfer operation (avoiding double writes).
     * This has O(1) time complexity, but alters the order of the _ownedTokens array.
     * @param from address representing the previous owner of the given token ID
     * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address
     */
    function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private {
        // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = ERC721.balanceOf(from) - 1;
        uint256 tokenIndex = _ownedTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary
        if (tokenIndex != lastTokenIndex) {
            uint256 lastTokenId = _ownedTokens[from][lastTokenIndex];

            _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
            _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
        }

        // This also deletes the contents at the last position of the array
        delete _ownedTokensIndex[tokenId];
        delete _ownedTokens[from][lastTokenIndex];
    }

    /**
     * @dev Private function to remove a token from this extension's token tracking data structures.
     * This has O(1) time complexity, but alters the order of the _allTokens array.
     * @param tokenId uint256 ID of the token to be removed from the tokens list
     */
    function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private {
        // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = _allTokens.length - 1;
        uint256 tokenIndex = _allTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so
        // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding
        // an 'if' statement (like in _removeTokenFromOwnerEnumeration)
        uint256 lastTokenId = _allTokens[lastTokenIndex];

        _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
        _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index

        // This also deletes the contents at the last position of the array
        delete _allTokensIndex[tokenId];
        _allTokens.pop();
    }
}

File 4 of 17 : SafeERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC20.sol";
import "../../../utils/Address.sol";

/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using Address for address;

    function safeTransfer(
        IERC20 token,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(
        IERC20 token,
        address from,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        require(
            (value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        uint256 newAllowance = token.allowance(address(this), spender) + value;
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        unchecked {
            uint256 oldAllowance = token.allowance(address(this), spender);
            require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
            uint256 newAllowance = oldAllowance - value;
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
        }
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        if (returndata.length > 0) {
            // Return data is optional
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

File 5 of 17 : 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() {
        _setOwner(_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 {
        _setOwner(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");
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 6 of 17 : Pausable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../utils/Context.sol";

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor() {
        _paused = false;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        require(!paused(), "Pausable: paused");
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        require(paused(), "Pausable: not paused");
        _;
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

File 7 of 17 : SafeMath.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

File 8 of 17 : IERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
     */
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
     */
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /**
     * @dev Returns the number of tokens in ``owner``'s account.
     */
    function balanceOf(address owner) external view returns (uint256 balance);

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) external view returns (address owner);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) external;

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}
     */
    function isApprovedForAll(address owner, address operator) external view returns (bool);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes calldata data
    ) external;
}

File 9 of 17 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @title ERC721 token receiver interface
 * @dev Interface for any contract that wants to support safeTransfers
 * from ERC721 asset contracts.
 */
interface IERC721Receiver {
    /**
     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
     * by `operator` from `from`, this function is called.
     *
     * It must return its Solidity selector to confirm the token transfer.
     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
     *
     * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

File 10 of 17 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {
    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) external view returns (string memory);
}

File 11 of 17 : 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;
        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");

        (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");

        (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");

        (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");

        (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

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 12 of 17 : 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) {
        return msg.data;
    }
}

File 13 of 17 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "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] = _HEX_SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }
}

File 14 of 17 : 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 17 : 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);
}

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {
    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns a token ID owned by `owner` at a given `index` of its token list.
     * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId);

    /**
     * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
     * Use along with {totalSupply} to enumerate all tokens.
     */
    function tokenByIndex(uint256 index) external view returns (uint256);
}

File 17 of 17 : IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

Settings
{
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"baseURIVal_","type":"string"},{"internalType":"address","name":"weth_","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","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":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"MAX_MINTABLE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"min","type":"uint256"},{"internalType":"uint256","name":"max","type":"uint256"},{"internalType":"string","name":"prefix","type":"string"}],"name":"addBucket","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPurchaseCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mintTokens","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintingComplete","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"recycle","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"recycleCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"recycleSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"recyclingActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"recyclingOff","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"recyclingOn","outputs":[],"stateMutability":"nonpayable","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":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","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":"string","name":"newBase","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newContractURI","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newCost","type":"uint256"}],"name":"setRecycleCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newSupply","type":"uint256"}],"name":"setRecycleSupply","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":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalVisitors","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"weth","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawMatic","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawWeth","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052612711600e55669536c708910000600f55601460105560006011556000601260006101000a81548160ff0219169083151502179055506000601260016101000a81548160ff021916908315150217905550600260135560006014553480156200006c57600080fd5b50604051620064b2380380620064b28339818101604052810190620000929190620004f6565b6040518060400160405280600781526020017f56697369746f72000000000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f5653545200000000000000000000000000000000000000000000000000000000815250816000908051906020019062000116929190620003bd565b5080600190805190602001906200012f929190620003bd565b50505062000152620001466200022060201b60201c565b6200022860201b60201c565b6000600a60146101000a81548160ff02191690831515021790555030600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080601560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081600c908051906020019062000207929190620003bd565b5062000218620002ee60201b60201c565b505062000772565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620002fe620003a660201b60201c565b1562000341576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200033890620005c0565b60405180910390fd5b6001600a60146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586200038d6200022060201b60201c565b6040516200039c9190620005a3565b60405180910390a1565b6000600a60149054906101000a900460ff16905090565b828054620003cb90620006c4565b90600052602060002090601f016020900481019282620003ef57600085556200043b565b82601f106200040a57805160ff19168380011785556200043b565b828001600101855582156200043b579182015b828111156200043a5782518255916020019190600101906200041d565b5b5090506200044a91906200044e565b5090565b5b80821115620004695760008160009055506001016200044f565b5090565b6000620004846200047e8462000616565b620005e2565b9050828152602081018484840111156200049d57600080fd5b620004aa8482856200068e565b509392505050565b600081519050620004c38162000758565b92915050565b600082601f830112620004db57600080fd5b8151620004ed8482602086016200046d565b91505092915050565b600080604083850312156200050a57600080fd5b600083015167ffffffffffffffff8111156200052557600080fd5b6200053385828601620004c9565b92505060206200054685828601620004b2565b9150509250929050565b6200055b816200065a565b82525050565b60006200057060108362000649565b91507f5061757361626c653a20706175736564000000000000000000000000000000006000830152602082019050919050565b6000602082019050620005ba600083018462000550565b92915050565b60006020820190508181036000830152620005db8162000561565b9050919050565b6000604051905081810181811067ffffffffffffffff821117156200060c576200060b62000729565b5b8060405250919050565b600067ffffffffffffffff82111562000634576200063362000729565b5b601f19601f8301169050602081019050919050565b600082825260208201905092915050565b600062000667826200066e565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60005b83811015620006ae57808201518184015260208101905062000691565b83811115620006be576000848401525b50505050565b60006002820490506001821680620006dd57607f821691505b60208210811415620006f457620006f3620006fa565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b62000763816200065a565b81146200076f57600080fd5b50565b615d3080620007826000396000f3fe6080604052600436106102675760003560e01c8063715018a611610144578063a22cb465116100b6578063d8bb3b401161007a578063d8bb3b401461089b578063e2f03c49146108c6578063e8a3d485146108f1578063e985e9c51461091c578063f2fde38b14610959578063f4a0a5281461098257610267565b8063a22cb465146107de578063a236822114610807578063b88d4fde1461081e578063bb6ff2a714610847578063c87b56dd1461085e57610267565b80638da5cb5b116101085780638da5cb5b146106ef57806390437f421461071a578063938e3d7b1461074357806395d89b411461076c57806397304ced14610797578063a1702aed146107b357610267565b8063715018a61461065657806374689fdf1461066d578063768d79f314610698578063810074c6146106c15780638456cb59146106d857610267565b80633f4ba83a116101dd57806355f804b3116101a157806355f804b3146105465780635a862dcc1461056f5780635c975abb146105865780636352211e146105b15780636817c76c146105ee57806370a082311461061957610267565b80633f4ba83a146104735780633f879faf1461048a5780633fc8cef3146104b557806342842e0e146104e05780634f6ccce71461050957610267565b80630c5e8ea71161022f5780630c5e8ea71461036557806318160ddd1461038e578063231314b6146103b957806323b872dd146103e25780632f745c591461040b5780633cf924a01461044857610267565b806301ffc9a71461026c57806302ade40d146102a957806306fdde03146102d4578063081812fc146102ff578063095ea7b31461033c575b600080fd5b34801561027857600080fd5b50610293600480360381019061028e91906143f6565b6109ab565b6040516102a09190615358565b60405180910390f35b3480156102b557600080fd5b506102be6109bd565b6040516102cb9190615358565b60405180910390f35b3480156102e057600080fd5b506102e96109d0565b6040516102f6919061538e565b60405180910390f35b34801561030b57600080fd5b5061032660048036038101906103219190614489565b610a62565b6040516103339190615291565b60405180910390f35b34801561034857600080fd5b50610363600480360381019061035e9190614350565b610ae7565b005b34801561037157600080fd5b5061038c600480360381019061038791906144db565b610bff565b005b34801561039a57600080fd5b506103a3610e30565b6040516103b09190615810565b60405180910390f35b3480156103c557600080fd5b506103e060048036038101906103db9190614489565b610e3d565b005b3480156103ee57600080fd5b506104096004803603810190610404919061424a565b610ec3565b005b34801561041757600080fd5b50610432600480360381019061042d9190614350565b610f23565b60405161043f9190615810565b60405180910390f35b34801561045457600080fd5b5061045d610fc8565b60405161046a9190615810565b60405180910390f35b34801561047f57600080fd5b50610488610fce565b005b34801561049657600080fd5b5061049f611054565b6040516104ac9190615810565b60405180910390f35b3480156104c157600080fd5b506104ca61105a565b6040516104d79190615373565b60405180910390f35b3480156104ec57600080fd5b506105076004803603810190610502919061424a565b611080565b005b34801561051557600080fd5b50610530600480360381019061052b9190614489565b6110a0565b60405161053d9190615810565b60405180910390f35b34801561055257600080fd5b5061056d60048036038101906105689190614448565b611137565b005b34801561057b57600080fd5b506105846111cd565b005b34801561059257600080fd5b5061059b6113d4565b6040516105a89190615358565b60405180910390f35b3480156105bd57600080fd5b506105d860048036038101906105d39190614489565b6113eb565b6040516105e59190615291565b60405180910390f35b3480156105fa57600080fd5b5061060361149d565b6040516106109190615810565b60405180910390f35b34801561062557600080fd5b50610640600480360381019061063b91906141bc565b6114a3565b60405161064d9190615810565b60405180910390f35b34801561066257600080fd5b5061066b61155b565b005b34801561067957600080fd5b506106826115e3565b60405161068f9190615358565b60405180910390f35b3480156106a457600080fd5b506106bf60048036038101906106ba919061438c565b6115f6565b005b3480156106cd57600080fd5b506106d6611908565b005b3480156106e457600080fd5b506106ed6119d3565b005b3480156106fb57600080fd5b50610704611a59565b6040516107119190615291565b60405180910390f35b34801561072657600080fd5b50610741600480360381019061073c9190614489565b611a83565b005b34801561074f57600080fd5b5061076a60048036038101906107659190614448565b611b4c565b005b34801561077857600080fd5b50610781611be2565b60405161078e919061538e565b60405180910390f35b6107b160048036038101906107ac9190614489565b611c74565b005b3480156107bf57600080fd5b506107c8611f52565b6040516107d59190615810565b60405180910390f35b3480156107ea57600080fd5b5061080560048036038101906108009190614314565b611f58565b005b34801561081357600080fd5b5061081c6120d9565b005b34801561082a57600080fd5b5061084560048036038101906108409190614299565b612172565b005b34801561085357600080fd5b5061085c6121d4565b005b34801561086a57600080fd5b5061088560048036038101906108809190614489565b61226d565b604051610892919061538e565b60405180910390f35b3480156108a757600080fd5b506108b0612541565b6040516108bd9190615810565b60405180910390f35b3480156108d257600080fd5b506108db612547565b6040516108e89190615810565b60405180910390f35b3480156108fd57600080fd5b5061090661254d565b604051610913919061538e565b60405180910390f35b34801561092857600080fd5b50610943600480360381019061093e919061420e565b6125db565b6040516109509190615358565b60405180910390f35b34801561096557600080fd5b50610980600480360381019061097b91906141bc565b61266f565b005b34801561098e57600080fd5b506109a960048036038101906109a49190614489565b612767565b005b60006109b6826127ed565b9050919050565b601260019054906101000a900460ff1681565b6060600080546109df90615b25565b80601f0160208091040260200160405190810160405280929190818152602001828054610a0b90615b25565b8015610a585780601f10610a2d57610100808354040283529160200191610a58565b820191906000526020600020905b815481529060010190602001808311610a3b57829003601f168201915b5050505050905090565b6000610a6d82612867565b610aac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aa3906155f0565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610af2826113eb565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b5a90615710565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b826128d3565b73ffffffffffffffffffffffffffffffffffffffff161480610bb15750610bb081610bab6128d3565b6125db565b5b610bf0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610be790615550565b60405180910390fd5b610bfa83836128db565b505050565b610c076128d3565b73ffffffffffffffffffffffffffffffffffffffff16610c25611a59565b73ffffffffffffffffffffffffffffffffffffffff1614610c7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7290615610565b60405180910390fd5b818310610cbd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cb490615730565b60405180910390fd5b6000815111610d01576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cf890615650565b60405180910390fd5b60005b601680549050811015610db15760168181548110610d4b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000209060030201600101548411610d9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d95906156d0565b60405180910390fd5b8080610da990615b57565b915050610d04565b506016604051806060016040528085815260200184815260200183815250908060018154018082558091505060019003906000526020600020906003020160009091909190915060008201518160000155602082015181600101556040820151816002019080519060200190610e28929190613f0b565b505050505050565b6000600880549050905090565b610e456128d3565b73ffffffffffffffffffffffffffffffffffffffff16610e63611a59565b73ffffffffffffffffffffffffffffffffffffffff1614610eb9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eb090615610565b60405180910390fd5b8060148190555050565b610ed4610ece6128d3565b82612994565b610f13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0a90615750565b60405180910390fd5b610f1e838383612a72565b505050565b6000610f2e836114a3565b8210610f6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f66906153f0565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b60105481565b610fd66128d3565b73ffffffffffffffffffffffffffffffffffffffff16610ff4611a59565b73ffffffffffffffffffffffffffffffffffffffff161461104a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104190615610565b60405180910390fd5b611052612cce565b565b600e5481565b601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61109b83838360405180602001604052806000815250612172565b505050565b60006110aa610e30565b82106110eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110e290615790565b60405180910390fd5b60088281548110611125577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b61113f6128d3565b73ffffffffffffffffffffffffffffffffffffffff1661115d611a59565b73ffffffffffffffffffffffffffffffffffffffff16146111b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111aa90615610565b60405180910390fd5b80600c90805190602001906111c9929190613f0b565b5050565b6111d56128d3565b73ffffffffffffffffffffffffffffffffffffffff166111f3611a59565b73ffffffffffffffffffffffffffffffffffffffff1614611249576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124090615610565b60405180910390fd5b6000601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518263ffffffff1660e01b81526004016112c89190615291565b60206040518083038186803b1580156112e057600080fd5b505afa1580156112f4573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061131891906144b2565b9050601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb611360611a59565b836040518363ffffffff1660e01b815260040161137e92919061532f565b602060405180830381600087803b15801561139857600080fd5b505af11580156113ac573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113d091906143cd565b5050565b6000600a60149054906101000a900460ff16905090565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611494576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148b90615590565b60405180910390fd5b80915050919050565b600f5481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611514576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150b90615570565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6115636128d3565b73ffffffffffffffffffffffffffffffffffffffff16611581611a59565b73ffffffffffffffffffffffffffffffffffffffff16146115d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ce90615610565b60405180910390fd5b6115e16000612d70565b565b601260009054906101000a900460ff1681565b6115fe6113d4565b1561163e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161163590615530565b60405180910390fd5b60011515601260019054906101000a900460ff16151514611694576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168b906153b0565b60405180910390fd5b6000601454116116d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116d090615450565b60405180910390fd5b8060135481511461171f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171690615670565b60405180910390fd5b8160005b8151811015611875573373ffffffffffffffffffffffffffffffffffffffff163073ffffffffffffffffffffffffffffffffffffffff16636352211e848481518110611798577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516040518263ffffffff1660e01b81526004016117bc9190615810565b60206040518083038186803b1580156117d457600080fd5b505afa1580156117e8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061180c91906141e5565b73ffffffffffffffffffffffffffffffffffffffff1614611862576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611859906156f0565b60405180910390fd5b808061186d90615b57565b915050611723565b5060005b83518110156118de576118cb8482815181106118be577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151612e36565b80806118d690615b57565b915050611879565b506118e96001612f47565b6001601460008282546118fc9190615a17565b92505081905550505050565b6119106128d3565b73ffffffffffffffffffffffffffffffffffffffff1661192e611a59565b73ffffffffffffffffffffffffffffffffffffffff1614611984576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161197b90615610565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156119cf573d6000803e3d6000fd5b5050565b6119db6128d3565b73ffffffffffffffffffffffffffffffffffffffff166119f9611a59565b73ffffffffffffffffffffffffffffffffffffffff1614611a4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a4690615610565b60405180910390fd5b611a57612f9b565b565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611a8b6128d3565b73ffffffffffffffffffffffffffffffffffffffff16611aa9611a59565b73ffffffffffffffffffffffffffffffffffffffff1614611aff576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611af690615610565b60405180910390fd5b60008111611b42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b3990615510565b60405180910390fd5b8060138190555050565b611b546128d3565b73ffffffffffffffffffffffffffffffffffffffff16611b72611a59565b73ffffffffffffffffffffffffffffffffffffffff1614611bc8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bbf90615610565b60405180910390fd5b80600d9080519060200190611bde929190613f0b565b5050565b606060018054611bf190615b25565b80601f0160208091040260200160405190810160405280929190818152602001828054611c1d90615b25565b8015611c6a5780601f10611c3f57610100808354040283529160200191611c6a565b820191906000526020600020905b815481529060010190602001808311611c4d57829003601f168201915b5050505050905090565b611c7c6113d4565b15611cbc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cb390615530565b60405180910390fd5b60001515601260009054906101000a900460ff16151514611d12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d09906157f0565b60405180910390fd5b80600e5481601154611d249190615936565b1115611d65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5c906155b0565b60405180910390fd5b81601054811115611dab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611da290615630565b60405180910390fd5b6000611db68461303e565b90506000601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b8152600401611e159190615291565b60206040518083038186803b158015611e2d57600080fd5b505afa158015611e41573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e6591906144b2565b905081811015611eaa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ea1906157d0565b60405180910390fd5b611f1b33600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1684601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661305c909392919063ffffffff16565b611f2485612f47565b600e5460115410611f4b576001601260006101000a81548160ff0219169083151502179055505b5050505050565b60115481565b611f606128d3565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611fce576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fc5906154b0565b60405180910390fd5b8060056000611fdb6128d3565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166120886128d3565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516120cd9190615358565b60405180910390a35050565b6120e16128d3565b73ffffffffffffffffffffffffffffffffffffffff166120ff611a59565b73ffffffffffffffffffffffffffffffffffffffff1614612155576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161214c90615610565b60405180910390fd5b6001601260016101000a81548160ff021916908315150217905550565b61218361217d6128d3565b83612994565b6121c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121b990615750565b60405180910390fd5b6121ce848484846130e5565b50505050565b6121dc6128d3565b73ffffffffffffffffffffffffffffffffffffffff166121fa611a59565b73ffffffffffffffffffffffffffffffffffffffff1614612250576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161224790615610565b60405180910390fd5b6000601260016101000a81548160ff021916908315150217905550565b606061227882612867565b6122b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122ae906156b0565b60405180910390fd5b6000600c80546122c690615b25565b80601f01602080910402602001604051908101604052809291908181526020018280546122f290615b25565b801561233f5780601f106123145761010080835404028352916020019161233f565b820191906000526020600020905b81548152906001019060200180831161232257829003601f168201915b5050505050905060005b6016805490508110156124ef578360168281548110612391577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020906003020160000154111580156123fc575083601682815481106123e7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002090600302016001015410155b156124dc576016818154811061243b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000209060030201600201805461245790615b25565b80601f016020809104026020016040519081016040528092919081815260200182805461248390615b25565b80156124d05780601f106124a5576101008083540402835291602001916124d0565b820191906000526020600020905b8154815290600101906020018083116124b357829003601f168201915b505050505091506124ef565b80806124e790615b57565b915050612349565b50600081511161250e5760405180602001604052806000815250612539565b8061251884613141565b60405160200161252992919061526d565b6040516020818303038152906040525b915050919050565b60135481565b60145481565b600d805461255a90615b25565b80601f016020809104026020016040519081016040528092919081815260200182805461258690615b25565b80156125d35780601f106125a8576101008083540402835291602001916125d3565b820191906000526020600020905b8154815290600101906020018083116125b657829003601f168201915b505050505081565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6126776128d3565b73ffffffffffffffffffffffffffffffffffffffff16612695611a59565b73ffffffffffffffffffffffffffffffffffffffff16146126eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126e290615610565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561275b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161275290615430565b60405180910390fd5b61276481612d70565b50565b61276f6128d3565b73ffffffffffffffffffffffffffffffffffffffff1661278d611a59565b73ffffffffffffffffffffffffffffffffffffffff16146127e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127da90615610565b60405180910390fd5b80600f8190555050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612860575061285f826132ee565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661294e836113eb565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061299f82612867565b6129de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129d5906154f0565b60405180910390fd5b60006129e9836113eb565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612a5857508373ffffffffffffffffffffffffffffffffffffffff16612a4084610a62565b73ffffffffffffffffffffffffffffffffffffffff16145b80612a695750612a6881856125db565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612a92826113eb565b73ffffffffffffffffffffffffffffffffffffffff1614612ae8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612adf90615690565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612b58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b4f90615490565b60405180910390fd5b612b638383836133d0565b612b6e6000826128db565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612bbe9190615a17565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612c159190615936565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b612cd66113d4565b612d15576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d0c906153d0565b60405180910390fd5b6000600a60146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa612d596128d3565b604051612d669190615291565b60405180910390a1565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000612e41826113eb565b9050612e4f816000846133d0565b612e5a6000836128db565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612eaa9190615a17565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b60005b81811015612f9757612f6a336001601154612f659190615936565b613428565b600160116000828254612f7d9190615936565b925050819055508080612f8f90615b57565b915050612f4a565b5050565b612fa36113d4565b15612fe3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fda90615530565b60405180910390fd5b6001600a60146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586130276128d3565b6040516130349190615291565b60405180910390a1565b600061305582600f546135f690919063ffffffff16565b9050919050565b6130df846323b872dd60e01b85858560405160240161307d939291906152ac565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505061360c565b50505050565b6130f0848484612a72565b6130fc848484846136d3565b61313b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161313290615410565b60405180910390fd5b50505050565b60606000821415613189576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506132e9565b600082905060005b600082146131bb5780806131a490615b57565b915050600a826131b4919061598c565b9150613191565b60008167ffffffffffffffff8111156131fd577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561322f5781602001600182028036833780820191505090505b5090505b600085146132e2576001826132489190615a17565b9150600a856132579190615ba0565b60306132639190615936565b60f81b81838151811061329f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856132db919061598c565b9450613233565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806133b957507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806133c957506133c88261386a565b5b9050919050565b6133d86113d4565b15613418576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161340f90615530565b60405180910390fd5b6134238383836138d4565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613498576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161348f906155d0565b60405180910390fd5b6134a181612867565b156134e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134d890615470565b60405180910390fd5b6134ed600083836133d0565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461353d9190615936565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000818361360491906159bd565b905092915050565b600061366e826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166139e89092919063ffffffff16565b90506000815111156136ce578080602001905181019061368e91906143cd565b6136cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136c4906157b0565b60405180910390fd5b5b505050565b60006136f48473ffffffffffffffffffffffffffffffffffffffff16613a00565b1561385d578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261371d6128d3565b8786866040518563ffffffff1660e01b815260040161373f94939291906152e3565b602060405180830381600087803b15801561375957600080fd5b505af192505050801561378a57506040513d601f19601f82011682018060405250810190613787919061441f565b60015b61380d573d80600081146137ba576040519150601f19603f3d011682016040523d82523d6000602084013e6137bf565b606091505b50600081511415613805576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137fc90615410565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613862565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6138df838383613a13565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156139225761391d81613a18565b613961565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146139605761395f8382613a61565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156139a45761399f81613bce565b6139e3565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146139e2576139e18282613d11565b5b5b505050565b60606139f78484600085613d90565b90509392505050565b600080823b905060008111915050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613a6e846114a3565b613a789190615a17565b9050600060076000848152602001908152602001600020549050818114613b5d576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050613be29190615a17565b9050600060096000848152602001908152602001600020549050600060088381548110613c38577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110613c80577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613cf5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000613d1c836114a3565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b606082471015613dd5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613dcc906154d0565b60405180910390fd5b613dde85613a00565b613e1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613e1490615770565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051613e469190615256565b60006040518083038185875af1925050503d8060008114613e83576040519150601f19603f3d011682016040523d82523d6000602084013e613e88565b606091505b5091509150613e98828286613ea4565b92505050949350505050565b60608315613eb457829050613f04565b600083511115613ec75782518084602001fd5b816040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613efb919061538e565b60405180910390fd5b9392505050565b828054613f1790615b25565b90600052602060002090601f016020900481019282613f395760008555613f80565b82601f10613f5257805160ff1916838001178555613f80565b82800160010185558215613f80579182015b82811115613f7f578251825591602001919060010190613f64565b5b509050613f8d9190613f91565b5090565b5b80821115613faa576000816000905550600101613f92565b5090565b6000613fc1613fbc8461585c565b61582b565b90508083825260208201905082856020860282011115613fe057600080fd5b60005b858110156140105781613ff68882614192565b845260208401935060208301925050600181019050613fe3565b5050509392505050565b600061402d61402884615888565b61582b565b90508281526020810184848401111561404557600080fd5b614050848285615ae3565b509392505050565b600061406b614066846158b8565b61582b565b90508281526020810184848401111561408357600080fd5b61408e848285615ae3565b509392505050565b6000813590506140a581615c9e565b92915050565b6000815190506140ba81615c9e565b92915050565b600082601f8301126140d157600080fd5b81356140e1848260208601613fae565b91505092915050565b6000813590506140f981615cb5565b92915050565b60008151905061410e81615cb5565b92915050565b60008135905061412381615ccc565b92915050565b60008151905061413881615ccc565b92915050565b600082601f83011261414f57600080fd5b813561415f84826020860161401a565b91505092915050565b600082601f83011261417957600080fd5b8135614189848260208601614058565b91505092915050565b6000813590506141a181615ce3565b92915050565b6000815190506141b681615ce3565b92915050565b6000602082840312156141ce57600080fd5b60006141dc84828501614096565b91505092915050565b6000602082840312156141f757600080fd5b6000614205848285016140ab565b91505092915050565b6000806040838503121561422157600080fd5b600061422f85828601614096565b925050602061424085828601614096565b9150509250929050565b60008060006060848603121561425f57600080fd5b600061426d86828701614096565b935050602061427e86828701614096565b925050604061428f86828701614192565b9150509250925092565b600080600080608085870312156142af57600080fd5b60006142bd87828801614096565b94505060206142ce87828801614096565b93505060406142df87828801614192565b925050606085013567ffffffffffffffff8111156142fc57600080fd5b6143088782880161413e565b91505092959194509250565b6000806040838503121561432757600080fd5b600061433585828601614096565b9250506020614346858286016140ea565b9150509250929050565b6000806040838503121561436357600080fd5b600061437185828601614096565b925050602061438285828601614192565b9150509250929050565b60006020828403121561439e57600080fd5b600082013567ffffffffffffffff8111156143b857600080fd5b6143c4848285016140c0565b91505092915050565b6000602082840312156143df57600080fd5b60006143ed848285016140ff565b91505092915050565b60006020828403121561440857600080fd5b600061441684828501614114565b91505092915050565b60006020828403121561443157600080fd5b600061443f84828501614129565b91505092915050565b60006020828403121561445a57600080fd5b600082013567ffffffffffffffff81111561447457600080fd5b61448084828501614168565b91505092915050565b60006020828403121561449b57600080fd5b60006144a984828501614192565b91505092915050565b6000602082840312156144c457600080fd5b60006144d2848285016141a7565b91505092915050565b6000806000606084860312156144f057600080fd5b60006144fe86828701614192565b935050602061450f86828701614192565b925050604084013567ffffffffffffffff81111561452c57600080fd5b61453886828701614168565b9150509250925092565b61454b81615a4b565b82525050565b61455a81615a5d565b82525050565b600061456b826158e8565b61457581856158fe565b9350614585818560208601615af2565b61458e81615c8d565b840191505092915050565b60006145a4826158e8565b6145ae818561590f565b93506145be818560208601615af2565b80840191505092915050565b6145d381615abf565b82525050565b60006145e4826158f3565b6145ee818561591a565b93506145fe818560208601615af2565b61460781615c8d565b840191505092915050565b600061461d826158f3565b614627818561592b565b9350614637818560208601615af2565b80840191505092915050565b600061465060168361591a565b91507f52656379636c6572206973206e6f7420616374697665000000000000000000006000830152602082019050919050565b600061469060148361591a565b91507f5061757361626c653a206e6f74207061757365640000000000000000000000006000830152602082019050919050565b60006146d0602b8361591a565b91507f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008301527f74206f6620626f756e64730000000000000000000000000000000000000000006020830152604082019050919050565b600061473660328361591a565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b600061479c60268361591a565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614802602d8361591a565b91507f546865726520617265206e6f2056697369746f727320617661696c61626c652060008301527f7669612072656379636c696e67000000000000000000000000000000000000006020830152604082019050919050565b6000614868601c8361591a565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b60006148a860248361591a565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061490e60198361591a565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b600061494e60268361591a565b91507f416464726573733a20696e73756666696369656e742062616c616e636520666f60008301527f722063616c6c00000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006149b4602c8361591a565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000614a1a60258361591a565b91507f72656379636c65436f7374206d7573742062652067726561746572207468616e60008301527f207a65726f0000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614a8060108361591a565b91507f5061757361626c653a20706175736564000000000000000000000000000000006000830152602082019050919050565b6000614ac060388361591a565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b6000614b26602a8361591a565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b6000614b8c60298361591a565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000614bf260208361591a565b91507f507572636861736520776f756c6420657863656564206d617820737570706c796000830152602082019050919050565b6000614c3260208361591a565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b6000614c72602c8361591a565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000614cd860208361591a565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b6000614d1860298361591a565b91507f43616e6e6f74206d696e74206d6f7265207468616e20323020746f6b656e732060008301527f617420612074696d6500000000000000000000000000000000000000000000006020830152604082019050919050565b6000614d7e60178361591a565b91507f5072656669782063616e206e6f7420626520626c616e6b0000000000000000006000830152602082019050919050565b6000614dbe60318361591a565b91507f496e636f7272656374206e756d626572206f662056697369746f72732070617360008301527f73656420666f722072656379636c696e670000000000000000000000000000006020830152604082019050919050565b6000614e2460298361591a565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000614e8a602f8361591a565b91507f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008301527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006020830152604082019050919050565b6000614ef0602f8361591a565b91507f4275636b6574206d696e206d757374207374617274206166746572207072657660008301527f696f7573206275636b6574206d617800000000000000000000000000000000006020830152604082019050919050565b6000614f5660258361591a565b91507f596f75206d6179206f6e6c792072656379636c652056697369746f727320796f60008301527f75206f776e0000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614fbc60218361591a565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061502260198361591a565b91507f4d696e206d757374206265206c657373207468616e204d6178000000000000006000830152602082019050919050565b600061506260318361591a565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b60006150c8601d8361591a565b91507f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006000830152602082019050919050565b6000615108602c8361591a565b91507f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008301527f7574206f6620626f756e647300000000000000000000000000000000000000006020830152604082019050919050565b600061516e602a8361591a565b91507f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008301527f6f742073756363656564000000000000000000000000000000000000000000006020830152604082019050919050565b60006151d4600f8361591a565b91507f4e6f7420656e6f756768207745544800000000000000000000000000000000006000830152602082019050919050565b6000615214601a8361591a565b91507f4e6f726d616c206d696e74696e6720697320636f6d706c6574650000000000006000830152602082019050919050565b61525081615ab5565b82525050565b60006152628284614599565b915081905092915050565b60006152798285614612565b91506152858284614612565b91508190509392505050565b60006020820190506152a66000830184614542565b92915050565b60006060820190506152c16000830186614542565b6152ce6020830185614542565b6152db6040830184615247565b949350505050565b60006080820190506152f86000830187614542565b6153056020830186614542565b6153126040830185615247565b81810360608301526153248184614560565b905095945050505050565b60006040820190506153446000830185614542565b6153516020830184615247565b9392505050565b600060208201905061536d6000830184614551565b92915050565b600060208201905061538860008301846145ca565b92915050565b600060208201905081810360008301526153a881846145d9565b905092915050565b600060208201905081810360008301526153c981614643565b9050919050565b600060208201905081810360008301526153e981614683565b9050919050565b60006020820190508181036000830152615409816146c3565b9050919050565b6000602082019050818103600083015261542981614729565b9050919050565b600060208201905081810360008301526154498161478f565b9050919050565b60006020820190508181036000830152615469816147f5565b9050919050565b600060208201905081810360008301526154898161485b565b9050919050565b600060208201905081810360008301526154a98161489b565b9050919050565b600060208201905081810360008301526154c981614901565b9050919050565b600060208201905081810360008301526154e981614941565b9050919050565b60006020820190508181036000830152615509816149a7565b9050919050565b6000602082019050818103600083015261552981614a0d565b9050919050565b6000602082019050818103600083015261554981614a73565b9050919050565b6000602082019050818103600083015261556981614ab3565b9050919050565b6000602082019050818103600083015261558981614b19565b9050919050565b600060208201905081810360008301526155a981614b7f565b9050919050565b600060208201905081810360008301526155c981614be5565b9050919050565b600060208201905081810360008301526155e981614c25565b9050919050565b6000602082019050818103600083015261560981614c65565b9050919050565b6000602082019050818103600083015261562981614ccb565b9050919050565b6000602082019050818103600083015261564981614d0b565b9050919050565b6000602082019050818103600083015261566981614d71565b9050919050565b6000602082019050818103600083015261568981614db1565b9050919050565b600060208201905081810360008301526156a981614e17565b9050919050565b600060208201905081810360008301526156c981614e7d565b9050919050565b600060208201905081810360008301526156e981614ee3565b9050919050565b6000602082019050818103600083015261570981614f49565b9050919050565b6000602082019050818103600083015261572981614faf565b9050919050565b6000602082019050818103600083015261574981615015565b9050919050565b6000602082019050818103600083015261576981615055565b9050919050565b60006020820190508181036000830152615789816150bb565b9050919050565b600060208201905081810360008301526157a9816150fb565b9050919050565b600060208201905081810360008301526157c981615161565b9050919050565b600060208201905081810360008301526157e9816151c7565b9050919050565b6000602082019050818103600083015261580981615207565b9050919050565b60006020820190506158256000830184615247565b92915050565b6000604051905081810181811067ffffffffffffffff8211171561585257615851615c5e565b5b8060405250919050565b600067ffffffffffffffff82111561587757615876615c5e565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156158a3576158a2615c5e565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff8211156158d3576158d2615c5e565b5b601f19601f8301169050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600061594182615ab5565b915061594c83615ab5565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561598157615980615bd1565b5b828201905092915050565b600061599782615ab5565b91506159a283615ab5565b9250826159b2576159b1615c00565b5b828204905092915050565b60006159c882615ab5565b91506159d383615ab5565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615615a0c57615a0b615bd1565b5b828202905092915050565b6000615a2282615ab5565b9150615a2d83615ab5565b925082821015615a4057615a3f615bd1565b5b828203905092915050565b6000615a5682615a95565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000615aca82615ad1565b9050919050565b6000615adc82615a95565b9050919050565b82818337600083830152505050565b60005b83811015615b10578082015181840152602081019050615af5565b83811115615b1f576000848401525b50505050565b60006002820490506001821680615b3d57607f821691505b60208210811415615b5157615b50615c2f565b5b50919050565b6000615b6282615ab5565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415615b9557615b94615bd1565b5b600182019050919050565b6000615bab82615ab5565b9150615bb683615ab5565b925082615bc657615bc5615c00565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b615ca781615a4b565b8114615cb257600080fd5b50565b615cbe81615a5d565b8114615cc957600080fd5b50565b615cd581615a69565b8114615ce057600080fd5b50565b615cec81615ab5565b8114615cf757600080fd5b5056fea26469706673582212201124e557443c29ef6276d5e91f97f28f88ee4c19af55436ae8eb3d904004743264736f6c6343000800003300000000000000000000000000000000000000000000000000000000000000400000000000000000000000007ceb23fd6bc0add59e62ac25578270cff1b9f619000000000000000000000000000000000000000000000000000000000000002768747470733a2f2f74686576697369746f72736e66742e636f6d2f6170692f76697369746f722f00000000000000000000000000000000000000000000000000

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

00000000000000000000000000000000000000000000000000000000000000400000000000000000000000007ceb23fd6bc0add59e62ac25578270cff1b9f619000000000000000000000000000000000000000000000000000000000000002768747470733a2f2f74686576697369746f72736e66742e636f6d2f6170692f76697369746f722f00000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : baseURIVal_ (string): https://thevisitorsnft.com/api/visitor/
Arg [1] : weth_ (address): 0x7ceb23fd6bc0add59e62ac25578270cff1b9f619

-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000007ceb23fd6bc0add59e62ac25578270cff1b9f619
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000027
Arg [3] : 68747470733a2f2f74686576697369746f72736e66742e636f6d2f6170692f76
Arg [4] : 697369746f722f00000000000000000000000000000000000000000000000000


Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
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.