ETH Price: $2,039.96 (+0.64%)

Contract

0xB2df5bdE8432C83A8a1919cC610Fa9AEf5e53348
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

More Info

Private Name Tags

TokenTracker

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Approval For...246199562026-03-09 12:36:112 days ago1773059771IN
Meep: MEEPS Token
0 ETH0.000004250.17580121
Set Approval For...245650742026-03-01 20:46:1110 days ago1772397971IN
Meep: MEEPS Token
0 ETH0.000008160.33728403
Safe Transfer Fr...243442292026-01-30 0:54:5941 days ago1769734499IN
Meep: MEEPS Token
0 ETH0.000008340.12
Set Approval For...242978312026-01-23 13:37:5947 days ago1769175479IN
Meep: MEEPS Token
0 ETH0.000096672.09648616
Set Approval For...242210822026-01-12 20:40:5958 days ago1768250459IN
Meep: MEEPS Token
0 ETH0.000025331.04682778
Approve242183182026-01-12 11:25:1158 days ago1768217111IN
Meep: MEEPS Token
0 ETH0.000001760.06043487
Approve242183172026-01-12 11:24:5958 days ago1768217099IN
Meep: MEEPS Token
0 ETH0.000001810.06235473
Set Approval For...242182982026-01-12 11:21:1158 days ago1768216871IN
Meep: MEEPS Token
0 ETH0.00000180.0742646
Set Approval For...241637132026-01-04 20:33:1166 days ago1767558791IN
Meep: MEEPS Token
0 ETH0.000049232.03436032
Set Approval For...241590592026-01-04 4:59:1166 days ago1767502751IN
Meep: MEEPS Token
0 ETH0.000001340.05548115
Set Approval For...241590262026-01-04 4:52:3566 days ago1767502355IN
Meep: MEEPS Token
0 ETH0.000001120.04645209
Set Approval For...241549562026-01-03 15:15:5967 days ago1767453359IN
Meep: MEEPS Token
0 ETH0.000001770.0732079
Set Approval For...241284442025-12-30 22:31:3571 days ago1767133895IN
Meep: MEEPS Token
0 ETH0.000002010.04369265
Set Approval For...240795962025-12-24 2:49:2377 days ago1766544563IN
Meep: MEEPS Token
0 ETH0.000000920.03824771
Set Approval For...240266382025-12-16 17:23:3585 days ago1765905815IN
Meep: MEEPS Token
0 ETH0.00000840.34605913
Set Approval For...240266372025-12-16 17:23:2385 days ago1765905803IN
Meep: MEEPS Token
0 ETH0.000008420.34707194
Set Approval For...239908932025-12-11 17:21:1190 days ago1765473671IN
Meep: MEEPS Token
0 ETH0.000029791.22688565
Set Approval For...239908922025-12-11 17:20:5990 days ago1765473659IN
Meep: MEEPS Token
0 ETH0.000027071.11876911
Set Approval For...239742902025-12-09 9:21:1192 days ago1765272071IN
Meep: MEEPS Token
0 ETH0.000013840.57211296
Safe Transfer Fr...239697922025-12-08 18:12:1193 days ago1765217531IN
Meep: MEEPS Token
0 ETH0.000069231.3260723
Safe Transfer Fr...239697902025-12-08 18:11:4793 days ago1765217507IN
Meep: MEEPS Token
0 ETH0.000068181.3060521
Safe Transfer Fr...239697512025-12-08 18:03:5993 days ago1765217039IN
Meep: MEEPS Token
0 ETH0.000040520.77617393
Set Approval For...239494302025-12-05 21:34:1196 days ago1764970451IN
Meep: MEEPS Token
0 ETH0.000000970.0211363
Set Approval For...239399002025-12-04 13:11:3597 days ago1764853895IN
Meep: MEEPS Token
0 ETH0.000000870.03600426
Set Approval For...238994402025-11-28 20:05:35103 days ago1764360335IN
Meep: MEEPS Token
0 ETH0.000049462.04409749
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Meeps

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
// SPDX-License-Identifier: MIT
/*
███╗   ███╗███████╗███████╗██████╗ ███████╗
████╗ ████║██╔════╝██╔════╝██╔══██╗██╔════╝
██╔████╔██║█████╗  █████╗  ██████╔╝███████╗
██║╚██╔╝██║██╔══╝  ██╔══╝  ██╔═══╝ ╚════██║
██║ ╚═╝ ██║███████╗███████╗██║     ███████║
╚═╝     ╚═╝╚══════╝╚══════╝╚═╝     ╚══════╝
Contract by Novem - https://novem.dev
*/
pragma solidity >=0.8.9 <0.9.0;

import "./ERC721A.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";

contract Meeps is ERC721A, Ownable, ReentrancyGuard {

  using Strings for uint256;

  bytes32 public merkleRootWl1;
  bytes32 public merkleRootWl2;
  mapping(address => uint256) public whitelistClaimed;

  string public uriPrefix = "";
  string public uriSuffix = ".json";

  uint256 public cost;
  uint256 public maxSupply;
  uint256 public maxMintAmountPerTx;

  bool public publicSaleEnabled = false;
  bool public whitelistMintEnabled = false;

  constructor(
    string memory _tokenName,
    string memory _tokenSymbol,
    uint256 _cost,
    uint256 _maxSupply,
    uint256 _maxMintAmountPerTx,
    string memory _hiddenMetadataUri,
    address[] memory _teamWallets,
    address _devTeamWallet
  ) ERC721A(_tokenName, _tokenSymbol) {
    cost = _cost;
    maxSupply = _maxSupply;
    maxMintAmountPerTx = _maxMintAmountPerTx;
    setUriPrefix(_hiddenMetadataUri);
    _safeMint(msg.sender, 132);
    for (uint256 i=0; i< _teamWallets.length; i++) {
      _safeMint(_teamWallets[i], 15);
    }
    _safeMint(_devTeamWallet, 10);
  }

  // Makes sure the mint amount is valid and not greater than the max supply.
  modifier mintCompliance(uint256 _mintAmount) {
    require(_mintAmount <= maxMintAmountPerTx, "That amount is too high my fren.");
    require(totalSupply() + _mintAmount <= maxSupply, "Wow, think we sold out already.");
    _;
  }


  modifier mintPriceCompliance(uint256 _mintAmount) {
    require(msg.value >= cost * _mintAmount, "Meep Meep, you don't have enough money.");
    _;
  }

  /*
              _       __ 
   ____ ___  (_)___  / /_
  / __ `__ \/ / __ \/ __/
 / / / / / / / / / / /_  
/_/ /_/ /_/_/_/ /_/\__/  
  */

  // Guaranteed list for 1 or 2 allowed mints
  function whitelistMint(uint256 _mintAmount, bytes32[] calldata _merkleProof) public payable mintCompliance(_mintAmount) mintPriceCompliance(_mintAmount) {
    // Verify whitelist requirements
    require(whitelistMintEnabled, "Meep! You've got to wait for the whitelist sale to be open!");

    // Make sure that the merkle proof is valid and that we first verify that a wallet is in the wl2 list before wl1.
    // If a wallet is in both lists, it will only be considered as wl2.
    uint256 mintLimit;
    bytes32 leaf = keccak256(abi.encodePacked(msg.sender));

    if(MerkleProof.verify(_merkleProof, merkleRootWl2, leaf)) mintLimit = 2;
    else if(MerkleProof.verify(_merkleProof, merkleRootWl1, leaf)) mintLimit = 1;
    else revert("Wait!? You are not in the whitelist! You can't mint!");

    // Make sure the user does not mint more than what he is allowed to
    require((whitelistClaimed[msg.sender]+_mintAmount)<=mintLimit, "Uh oh! You have already claimed what you are allowed to!");

    // Update the number of claimed tokens for the whitelist sale
    whitelistClaimed[msg.sender] = whitelistClaimed[msg.sender] + _mintAmount;
    _safeMint(msg.sender, _mintAmount);
  }

  // Public sale - Max 2 per transaction and NOT per wallet
  function mint(uint256 _mintAmount) public payable mintCompliance(_mintAmount) mintPriceCompliance(_mintAmount) {
    require(publicSaleEnabled, "Sale currently closed.");
    _safeMint(msg.sender, _mintAmount);
  }

  // Internal function to airdrop multiple tokens to multiple wallets.
  // This function is used to airdrop all the Meeps Genesis Pass holders their 5 allowed mints.
  function mintForAddresses(uint256 _mintAmount, address[] memory _receivers) public onlyOwner {
    require(_mintAmount > 0, "You've got to mint at least 1 Meep...");
    for(uint256 i = 0; i<_receivers.length; i++){
      _safeMint(_receivers[i], _mintAmount);
    }
  }

  /*
                __  __                
   ________  / /_/ /____  __________
  / ___/ _ \/ __/ __/ _ \/ ___/ ___/
 (__  )  __/ /_/ /_/  __/ /  (__  ) 
/____/\___/\__/\__/\___/_/  /____/        
  */

  function setCost(uint256 _cost) public onlyOwner {
    cost = _cost;
  }

  function setMaxMintAmountPerTx(uint256 _maxMintAmountPerTx) public onlyOwner {
    maxMintAmountPerTx = _maxMintAmountPerTx;
  }

  function setUriPrefix(string memory _uriPrefix) public onlyOwner {
    uriPrefix = _uriPrefix;
  }

  function setUriSuffix(string memory _uriSuffix) public onlyOwner {
    uriSuffix = _uriSuffix;
  }

  function setPublicSaleEnabled(bool _state) public onlyOwner {
    publicSaleEnabled = _state;
  }

  function setMerkleRootWl1(bytes32 _merkleRoot) public onlyOwner {
    merkleRootWl1 = _merkleRoot;
  }

  function setMerkleRootWl2(bytes32 _merkleRoot) public onlyOwner {
    merkleRootWl2 = _merkleRoot;
  }

  function setWhitelistMintEnabled(bool _state) public onlyOwner {
    whitelistMintEnabled = _state;
  }

  /*
           _ __  __        __                   
 _      __(_) /_/ /_  ____/ /________ __      __
| | /| / / / __/ __ \/ __  / ___/ __ `/ | /| / /
| |/ |/ / / /_/ / / / /_/ / /  / /_/ /| |/ |/ / 
|__/|__/_/\__/_/ /_/\__,_/_/   \__,_/ |__/|__/  
  */

  // Used in case the contract receives funds.
  function withdraw() public onlyOwner nonReentrant {
    // This will transfer the remaining contract balance to the owner.
    // =============================================================================
    (bool os, ) = payable(owner()).call{value: address(this).balance}("");
    require(os);
    // =============================================================================
  }

  /*
                               _     __         
  ____ _   _____  __________(_)___/ /__  _____
 / __ \ | / / _ \/ ___/ ___/ / __  / _ \/ ___/
/ /_/ / |/ /  __/ /  / /  / / /_/ /  __(__  ) 
\____/|___/\___/_/  /_/  /_/\__,_/\___/____/  
  */

  function tokenURI(uint256 _tokenId) public view virtual override returns (string memory) {
    require(_exists(_tokenId), "ERC721Metadata: URI query for nonexistent token");

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

  // ERC721A baseURI override
  function _baseURI() internal view virtual override returns (string memory) {
    return uriPrefix;
  }
}

// SPDX-License-Identifier: MIT
// Creators: locationtba.eth, 2pmflow.eth

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/introspection/ERC165.sol";

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata and Enumerable extension. Built to optimize for lower gas during batch mints.
 *
 * Assumes serials are sequentially minted starting at 0 (e.g. 0, 1, 2, 3..).
 *
 */
contract ERC721A is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable {
    using Address for address;
    using Strings for uint256;

    // Compiler will pack this into a single 256bit word.
    struct TokenOwnership {
        // The address of the owner.
        address addr;
        // Keeps track of the start time of ownership with minimal overhead for tokenomics.
        uint64 startTimestamp;
        // Whether the token has been burned.
        bool burned;
    }

    // Compiler will pack this into a single 256bit word.
    struct AddressData {
        // Realistically, 2**64-1 is more than enough.
        uint64 balance;
        // Keeps track of mint count with minimal overhead for tokenomics.
        uint64 numberMinted;
        // Keeps track of burn count with minimal overhead for tokenomics.
        uint64 numberBurned;
        // For miscellaneous variables (e.g. number preSale minted). 
        // Please pack into 64 bits.
        uint64 aux;
    }

    uint256 internal currentIndex = 0;

    uint256 internal totalBurned = 0;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to ownership details
    // An empty struct value does not necessarily mean the token is unowned. See ownershipOf implementation for details.
    mapping(uint256 => TokenOwnership) internal _ownerships;

    // Mapping owner address to address data
    mapping(address => AddressData) private _addressData;

    // 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;

    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev Skips the zero index.
     * This method must be called before any mints (e.g. in the consturctor).
     */
    function _initOneIndexed() internal {
        require(!_exists(0), "ERC721A: 0 index already occupied.");
        currentIndex = 1;
        totalBurned = 1;
        _ownerships[0].burned = true;
    }

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

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     * This read function is O(totalSupply). If calling from a separate contract, be sure to test gas first.
     * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case.
     */
    function tokenByIndex(uint256 index) public view override returns (uint256) {
        uint256 numMintedSoFar = currentIndex;
        uint256 tokenIdsIdx = 0;
        for (uint256 i = 0; i < numMintedSoFar; i++) {
            TokenOwnership memory ownership = _ownerships[i];
            if (!ownership.burned) {
                if (tokenIdsIdx == index) {
                    return i;
                }
                tokenIdsIdx++;
            }
        }
        require(false, 'ERC721A: global index out of bounds');
        return 0;
    }

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     * This read function is O(totalSupply). If calling from a separate contract, be sure to test gas first.
     * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view override returns (uint256) {
        require(index < balanceOf(owner), 'ERC721A: owner index out of bounds');
        uint256 numMintedSoFar = currentIndex;
        uint256 tokenIdsIdx = 0;
        address currOwnershipAddr = address(0);
        for (uint256 i = 0; i < numMintedSoFar; i++) {
            TokenOwnership memory ownership = _ownerships[i];
            if (ownership.addr != address(0)) {
                currOwnershipAddr = ownership.addr;
            }
            if (ownership.burned) {
                currOwnershipAddr = address(0);
            }
            if (currOwnershipAddr == owner) {
                if (tokenIdsIdx == index) {
                    return i;
                }
                tokenIdsIdx++;
            }
        }
        revert('ERC721A: unable to get token of owner by index');
    }

    /**
     * @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 ||
            interfaceId == type(IERC721Enumerable).interfaceId ||
            super.supportsInterface(interfaceId);
    }

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

    function _numberMinted(address owner) internal view returns (uint256) {
        require(owner != address(0), 'ERC721A: number minted query for the zero address');
        return uint256(_addressData[owner].numberMinted);
    }

    function _numberBurned(address owner) internal view returns (uint256) {
        require(owner != address(0), 'ERC721A: number burned query for the zero address');
        return uint256(_addressData[owner].numberBurned);
    }

    function _getAux(address owner) internal view returns (uint64) {
        require(owner != address(0), 'ERC721A: aux query for the zero address');
        return _addressData[owner].aux;
    }

    function _setAux(address owner, uint64 aux) internal {
        require(owner != address(0), 'ERC721A: aux query for the zero address');
        _addressData[owner].aux = aux;
    }

    /**
     * Gas spent here starts off proportional to the maximum mint batch size.
     * It gradually moves to O(1) as tokens get transferred around in the collection over time.
     */
    function ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) {
        require(_exists(tokenId), 'ERC721A: owner query for nonexistent token');

        for (uint256 curr = tokenId; ; curr--) {
            TokenOwnership memory ownership = _ownerships[curr];
            if (ownership.addr != address(0) && !ownership.burned) {
                return ownership;
            }
        }

        revert('ERC721A: unable to determine the owner of token');
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view override returns (address) {
        return ownershipOf(tokenId).addr;
    }

    /**
     * @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 override {
        address owner = ERC721A.ownerOf(tokenId);
        require(to != owner, 'ERC721A: approval to current owner');

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

        _approve(to, tokenId, owner);
    }

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

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public override {
        require(operator != _msgSender(), 'ERC721A: 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 {
        _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 {
        _transfer(from, to, tokenId);
        require(
            _checkOnERC721Received(from, to, tokenId, _data),
            'ERC721A: 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`),
     */
    function _exists(uint256 tokenId) internal view returns (bool) {
        return tokenId < currentIndex && !_ownerships[tokenId].burned;
    }

    function _safeMint(address to, uint256 quantity) internal {
        _safeMint(to, quantity, '');
    }

    /**
     * @dev Safely mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called for each safe transfer.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(
        address to,
        uint256 quantity,
        bytes memory _data
    ) internal {
        _mint(to, quantity, _data, true);
    }

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event.
     */
    function _mint(
        address to,
        uint256 quantity,
        bytes memory _data,
        bool safe
    ) internal {
        uint256 startTokenId = currentIndex;
        require(to != address(0), 'ERC721A: mint to the zero address');
        // We know if the first token in the batch doesn't exist, the other ones don't as well, because of serial ordering.
        require(!_exists(startTokenId), 'ERC721A: token already minted');
        require(quantity > 0, 'ERC721A: quantity must be greater than 0');

        _beforeTokenTransfers(address(0), to, startTokenId, quantity);

        _addressData[to].balance += uint64(quantity);
        _addressData[to].numberMinted += uint64(quantity);

        _ownerships[startTokenId].addr = to;
        _ownerships[startTokenId].startTimestamp = uint64(block.timestamp);

        uint256 updatedIndex = startTokenId;

        for (uint256 i = 0; i < quantity; i++) {
            emit Transfer(address(0), to, updatedIndex);
            if (safe) {
                require(
                    _checkOnERC721Received(address(0), to, updatedIndex, _data),
                    'ERC721A: transfer to non ERC721Receiver implementer'
                );
            }
            updatedIndex++;
        }

        currentIndex = updatedIndex;
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * 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
    ) private {
        TokenOwnership memory prevOwnership = ownershipOf(tokenId);

        bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr ||
            getApproved(tokenId) == _msgSender() ||
            isApprovedForAll(prevOwnership.addr, _msgSender()));

        require(isApprovedOrOwner, 'ERC721A: transfer caller is not owner nor approved');

        require(prevOwnership.addr == from, 'ERC721A: transfer from incorrect owner');
        require(to != address(0), 'ERC721A: transfer to the zero address');

        _beforeTokenTransfers(from, to, tokenId, 1);

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

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        unchecked {
            _addressData[from].balance -= 1;
            _addressData[to].balance += 1;
        }

        _ownerships[tokenId].addr = to;
        _ownerships[tokenId].startTimestamp = uint64(block.timestamp);

        // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it.
        // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
        uint256 nextTokenId = tokenId + 1;
        if (_ownerships[nextTokenId].addr == address(0)) {
            if (_exists(nextTokenId)) {
                _ownerships[nextTokenId].addr = prevOwnership.addr;
                _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp;
            }
        }

        emit Transfer(from, to, tokenId);
        _afterTokenTransfers(from, to, tokenId, 1);
    }

    /**
     * @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 {
        TokenOwnership memory prevOwnership = ownershipOf(tokenId);

        _beforeTokenTransfers(prevOwnership.addr, address(0), tokenId, 1);

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

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        unchecked {
            _addressData[prevOwnership.addr].balance -= 1;
            _addressData[prevOwnership.addr].numberBurned += 1;
        }

        // Keep track of who burnt the token, and when is it burned.
        _ownerships[tokenId].addr = prevOwnership.addr;
        _ownerships[tokenId].startTimestamp = uint64(block.timestamp);
        _ownerships[tokenId].burned = true; 

        // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it.
        // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
        uint256 nextTokenId = tokenId + 1;
        if (_ownerships[nextTokenId].addr == address(0)) {
            if (_exists(nextTokenId)) {
                _ownerships[nextTokenId].addr = prevOwnership.addr;
                _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp;
            }
        }

        emit Transfer(prevOwnership.addr, address(0), tokenId);
        _afterTokenTransfers(prevOwnership.addr, address(0), tokenId, 1);

        totalBurned++;
    }

    /**
     * @dev Burns `tokenId`. See {ERC721A-_burn}.
     *
     * Requirements:
     *
     * - The caller must own `tokenId` or be an approved operator.
     */
    function burn(uint256 tokenId) public virtual {
        TokenOwnership memory prevOwnership = ownershipOf(tokenId);

        bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr ||
            getApproved(tokenId) == _msgSender() ||
            isApprovedForAll(prevOwnership.addr, _msgSender()));

        require(isApprovedOrOwner, 'ERC721A: caller is not owner nor approved');

        _burn(tokenId);
    }

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits a {Approval} event.
     */
    function _approve(
        address to,
        uint256 tokenId,
        address owner
    ) private {
        _tokenApprovals[tokenId] = to;
        emit Approval(owner, 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('ERC721A: transfer to non ERC721Receiver implementer');
                } else {
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

    /**
     * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting.
     *
     * startTokenId - the first token id to be transferred
     * quantity - the amount to be transferred
     *
     * 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`.
     */
    function _beforeTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}

    /**
     * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes
     * minting.
     *
     * startTokenId - the first token id to be transferred
     * quantity - the amount to be transferred
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero.
     * - `from` and `to` are never both zero.
     */
    function _afterTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Counters.sol)

pragma solidity ^0.8.0;

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

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

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

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

    function reset(Counter storage counter) internal {
        counter._value = 0;
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

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() {
        _transferOwnership(_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 {
        _transferOwnership(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");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Trees proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 *
 * WARNING: You should avoid using leaf values that are 64 bytes long prior to
 * hashing, or use a hash function other than keccak256 for hashing leaves.
 * This is because the concatenation of a sorted pair of internal nodes in
 * the merkle tree could be reinterpreted as a leaf value.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up
     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
     * hash matches the root of the tree. When processing the proof, the pairs
     * of leafs & pre-images are assumed to be sorted.
     *
     * _Available since v4.4._
     */
    function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            bytes32 proofElement = proof[i];
            if (computedHash <= proofElement) {
                // Hash(current computed hash + current element of the proof)
                computedHash = _efficientHash(computedHash, proofElement);
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = _efficientHash(proofElement, computedHash);
            }
        }
        return computedHash;
    }

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}

File 6 of 15 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721.sol)

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`.
     *
     * 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;

    /**
     * @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 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 the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @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);
}

File 8 of 15 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)

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 `IERC721Receiver.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

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);
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)

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

    /**
     * @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);
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @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
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 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);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal 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);
            }
        }
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

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;
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

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);
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

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;
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"string","name":"_tokenName","type":"string"},{"internalType":"string","name":"_tokenSymbol","type":"string"},{"internalType":"uint256","name":"_cost","type":"uint256"},{"internalType":"uint256","name":"_maxSupply","type":"uint256"},{"internalType":"uint256","name":"_maxMintAmountPerTx","type":"uint256"},{"internalType":"string","name":"_hiddenMetadataUri","type":"string"},{"internalType":"address[]","name":"_teamWallets","type":"address[]"},{"internalType":"address","name":"_devTeamWallet","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":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"},{"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":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"maxMintAmountPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRootWl1","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRootWl2","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"address[]","name":"_receivers","type":"address[]"}],"name":"mintForAddresses","outputs":[],"stateMutability":"nonpayable","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":"publicSaleEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"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":"uint256","name":"_cost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxMintAmountPerTx","type":"uint256"}],"name":"setMaxMintAmountPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRootWl1","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRootWl2","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setPublicSaleEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriPrefix","type":"string"}],"name":"setUriPrefix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriSuffix","type":"string"}],"name":"setUriSuffix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setWhitelistMintEnabled","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":[{"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":"uriPrefix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uriSuffix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelistClaimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"whitelistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"whitelistMintEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6000808055600181905560a0604081905260808290526200002491600d919062000717565b5060408051808201909152600580825264173539b7b760d91b60209092019182526200005391600e9162000717565b506012805461ffff191690553480156200006c57600080fd5b50604051620039c5380380620039c58339810160408190526200008f916200094f565b875188908890620000a890600290602085019062000717565b508051620000be90600390602084019062000717565b505050620000db620000d56200017460201b60201c565b62000178565b6001600955600f86905560108590556011849055620000fa83620001ca565b6200010733608462000243565b60005b82518110156200015857620001438382815181106200012d576200012d62000a38565b6020026020010151600f6200024360201b60201c565b806200014f8162000a64565b9150506200010a565b506200016681600a62000243565b505050505050505062000b76565b3390565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6008546001600160a01b031633146200022a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b80516200023f90600d90602084019062000717565b5050565b6200023f8282604051806020016040528060008152506200026560201b60201c565b62000274838383600162000279565b505050565b6000546001600160a01b038516620002de5760405162461bcd60e51b815260206004820152602160248201527f455243373231413a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b606482015260840162000221565b620002e98162000569565b15620003385760405162461bcd60e51b815260206004820152601d60248201527f455243373231413a20746f6b656e20616c7265616479206d696e746564000000604482015260640162000221565b600084116200039b5760405162461bcd60e51b815260206004820152602860248201527f455243373231413a207175616e74697479206d75737420626520677265617465604482015267072207468616e20360c41b606482015260840162000221565b6001600160a01b03851660009081526005602052604081208054869290620003ce9084906001600160401b031662000a82565b82546101009290920a6001600160401b038181021990931691831602179091556001600160a01b0387166000908152600560205260409020805487935090916008916200042a9185916801000000000000000090041662000a82565b82546001600160401b039182166101009390930a9283029282021916919091179091556000838152600460205260408120805442909316600160a01b026001600160e01b03199093166001600160a01b038a1617929092179091558291505b858110156200055e5760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a483156200053957620004e060008884886200059e565b620005395760405162461bcd60e51b81526020600482015260336024820152600080516020620039a583398151915260448201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b606482015260840162000221565b81620005458162000a64565b9250508080620005559062000a64565b91505062000489565b506000555050505050565b6000805482108015620005925750600082815260046020526040902054600160e01b900460ff16155b92915050565b50505050565b6000620005bf846001600160a01b03166200070860201b620019a51760201c565b15620006fc57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290620005f990339089908890889060040162000ab0565b602060405180830381600087803b1580156200061457600080fd5b505af192505050801562000647575060408051601f3d908101601f19168201909252620006449181019062000b06565b60015b620006e1573d80801562000678576040519150601f19603f3d011682016040523d82523d6000602084013e6200067d565b606091505b508051620006d95760405162461bcd60e51b81526020600482015260336024820152600080516020620039a583398151915260448201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b606482015260840162000221565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905062000700565b5060015b949350505050565b6001600160a01b03163b151590565b828054620007259062000b39565b90600052602060002090601f01602090048101928262000749576000855562000794565b82601f106200076457805160ff191683800117855562000794565b8280016001018555821562000794579182015b828111156200079457825182559160200191906001019062000777565b50620007a2929150620007a6565b5090565b5b80821115620007a25760008155600101620007a7565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715620007fe57620007fe620007bd565b604052919050565b60005b838110156200082357818101518382015260200162000809565b83811115620005985750506000910152565b600082601f8301126200084757600080fd5b81516001600160401b03811115620008635762000863620007bd565b62000878601f8201601f1916602001620007d3565b8181528460208386010111156200088e57600080fd5b6200070082602083016020870162000806565b80516001600160a01b0381168114620008b957600080fd5b919050565b600082601f830112620008d057600080fd5b815160206001600160401b03821115620008ee57620008ee620007bd565b8160051b620008ff828201620007d3565b92835284810182019282810190878511156200091a57600080fd5b83870192505b8483101562000944576200093483620008a1565b8252918301919083019062000920565b979650505050505050565b600080600080600080600080610100898b0312156200096d57600080fd5b88516001600160401b03808211156200098557600080fd5b620009938c838d0162000835565b995060208b0151915080821115620009aa57600080fd5b620009b88c838d0162000835565b985060408b0151975060608b0151965060808b0151955060a08b0151915080821115620009e457600080fd5b620009f28c838d0162000835565b945060c08b015191508082111562000a0957600080fd5b5062000a188b828c01620008be565b92505062000a2960e08a01620008a1565b90509295985092959890939650565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060001982141562000a7b5762000a7b62000a4e565b5060010190565b60006001600160401b0382811684821680830382111562000aa75762000aa762000a4e565b01949350505050565b600060018060a01b03808716835280861660208401525083604083015260806060830152825180608084015262000aef8160a085016020870162000806565b601f01601f19169190910160a00195945050505050565b60006020828403121562000b1957600080fd5b81516001600160e01b03198116811462000b3257600080fd5b9392505050565b600181811c9082168062000b4e57607f821691505b6020821081141562000b7057634e487b7160e01b600052602260045260246000fd5b50919050565b612e1f8062000b866000396000f3fe6080604052600436106102515760003560e01c80636352211e11610139578063a0712d68116100b6578063c87b56dd1161007a578063c87b56dd14610695578063d2cab056146106b5578063d5abeb01146106c8578063db4bec44146106de578063e985e9c51461070b578063f2fde38b1461075457600080fd5b8063a0712d6814610602578063a22cb46514610615578063b071401b14610635578063b767a09814610655578063b88d4fde1461067557600080fd5b80638720fbef116100fd5780638720fbef146105835780638da5cb5b146105a357806392318be6146105c157806394354fd0146105d757806395d89b41146105ed57600080fd5b80636352211e146104ef5780636caede3d1461050f57806370a082311461052e578063715018a61461054e5780637ec4a6591461056357600080fd5b80632ab91bba116101d257806342966c681161019657806342966c681461044557806344a0d68a146104655780634f6ccce714610485578063545c03d4146104a55780635503a0e8146104c557806362b99ad4146104da57600080fd5b80632ab91bba146103b65780632f745c59146103d05780633b6714f8146103f05780633ccfd60b1461041057806342842e0e1461042557600080fd5b806312f6d8721161021957806312f6d8721461032757806313faede61461034b57806316ba10e01461036157806318160ddd1461038157806323b872dd1461039657600080fd5b806301ffc9a71461025657806306fdde031461028b578063081812fc146102ad578063095ea7b3146102e55780630e6fd56514610307575b600080fd5b34801561026257600080fd5b50610276610271366004612650565b610774565b60405190151581526020015b60405180910390f35b34801561029757600080fd5b506102a06107e1565b60405161028291906126c5565b3480156102b957600080fd5b506102cd6102c83660046126d8565b610873565b6040516001600160a01b039091168152602001610282565b3480156102f157600080fd5b5061030561030036600461270d565b610901565b005b34801561031357600080fd5b506103056103223660046126d8565b610a19565b34801561033357600080fd5b5061033d600a5481565b604051908152602001610282565b34801561035757600080fd5b5061033d600f5481565b34801561036d57600080fd5b5061030561037c3660046127d4565b610a48565b34801561038d57600080fd5b5061033d610a89565b3480156103a257600080fd5b506103056103b136600461281c565b610aa0565b3480156103c257600080fd5b506012546102769060ff1681565b3480156103dc57600080fd5b5061033d6103eb36600461270d565b610aab565b3480156103fc57600080fd5b5061030561040b366004612858565b610c3a565b34801561041c57600080fd5b50610305610d03565b34801561043157600080fd5b5061030561044036600461281c565b610dfe565b34801561045157600080fd5b506103056104603660046126d8565b610e19565b34801561047157600080fd5b506103056104803660046126d8565b610ed7565b34801561049157600080fd5b5061033d6104a03660046126d8565b610f06565b3480156104b157600080fd5b506103056104c03660046126d8565b610ff3565b3480156104d157600080fd5b506102a0611022565b3480156104e657600080fd5b506102a06110b0565b3480156104fb57600080fd5b506102cd61050a3660046126d8565b6110bd565b34801561051b57600080fd5b5060125461027690610100900460ff1681565b34801561053a57600080fd5b5061033d610549366004612910565b6110cf565b34801561055a57600080fd5b50610305611160565b34801561056f57600080fd5b5061030561057e3660046127d4565b611196565b34801561058f57600080fd5b5061030561059e36600461293b565b6111d3565b3480156105af57600080fd5b506008546001600160a01b03166102cd565b3480156105cd57600080fd5b5061033d600b5481565b3480156105e357600080fd5b5061033d60115481565b3480156105f957600080fd5b506102a0611210565b6103056106103660046126d8565b61121f565b34801561062157600080fd5b50610305610630366004612956565b611359565b34801561064157600080fd5b506103056106503660046126d8565b61141e565b34801561066157600080fd5b5061030561067036600461293b565b61144d565b34801561068157600080fd5b50610305610690366004612989565b611491565b3480156106a157600080fd5b506102a06106b03660046126d8565b6114ca565b6103056106c3366004612a04565b611598565b3480156106d457600080fd5b5061033d60105481565b3480156106ea57600080fd5b5061033d6106f9366004612910565b600c6020526000908152604090205481565b34801561071757600080fd5b50610276610726366004612a82565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561076057600080fd5b5061030561076f366004612910565b61190a565b60006001600160e01b031982166380ac58cd60e01b14806107a557506001600160e01b03198216635b5e139f60e01b145b806107c057506001600160e01b0319821663780e9d6360e01b145b806107db57506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600280546107f090612aac565b80601f016020809104026020016040519081016040528092919081815260200182805461081c90612aac565b80156108695780601f1061083e57610100808354040283529160200191610869565b820191906000526020600020905b81548152906001019060200180831161084c57829003601f168201915b5050505050905090565b600061087e826119b4565b6108e55760405162461bcd60e51b815260206004820152602d60248201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560448201526c3c34b9ba32b73a103a37b5b2b760991b60648201526084015b60405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061090c826110bd565b9050806001600160a01b0316836001600160a01b0316141561097b5760405162461bcd60e51b815260206004820152602260248201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60448201526132b960f11b60648201526084016108dc565b336001600160a01b038216148061099757506109978133610726565b610a095760405162461bcd60e51b815260206004820152603960248201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656420666f7220616c6c0000000000000060648201526084016108dc565b610a148383836119df565b505050565b6008546001600160a01b03163314610a435760405162461bcd60e51b81526004016108dc90612ae7565b600b55565b6008546001600160a01b03163314610a725760405162461bcd60e51b81526004016108dc90612ae7565b8051610a8590600e9060208401906125a1565b5050565b6000600154600054610a9b9190612b32565b905090565b610a14838383611a3b565b6000610ab6836110cf565b8210610b0f5760405162461bcd60e51b815260206004820152602260248201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e604482015261647360f01b60648201526084016108dc565b600080549080805b83811015610bda57600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff1615159281019290925215610b7c57805192505b806040015115610b8b57600092505b876001600160a01b0316836001600160a01b03161415610bc75786841415610bb9575093506107db92505050565b83610bc381612b49565b9450505b5080610bd281612b49565b915050610b17565b5060405162461bcd60e51b815260206004820152602e60248201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060448201526d0deeedccae440c4f240d2dcc8caf60931b60648201526084016108dc565b6008546001600160a01b03163314610c645760405162461bcd60e51b81526004016108dc90612ae7565b60008211610cc25760405162461bcd60e51b815260206004820152602560248201527f596f7527766520676f7420746f206d696e74206174206c656173742031204d6560448201526432b817171760d91b60648201526084016108dc565b60005b8151811015610a1457610cf1828281518110610ce357610ce3612b64565b602002602001015184611d33565b80610cfb81612b49565b915050610cc5565b6008546001600160a01b03163314610d2d5760405162461bcd60e51b81526004016108dc90612ae7565b60026009541415610d805760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016108dc565b60026009556000610d996008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610de3576040519150601f19603f3d011682016040523d82523d6000602084013e610de8565b606091505b5050905080610df657600080fd5b506001600955565b610a1483838360405180602001604052806000815250611491565b6000610e2482611d4d565b80519091506000906001600160a01b0316336001600160a01b03161480610e5b575033610e5084610873565b6001600160a01b0316145b80610e6d57508151610e6d9033610726565b905080610ece5760405162461bcd60e51b815260206004820152602960248201527f455243373231413a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201526808185c1c1c9bdd995960ba1b60648201526084016108dc565b610a1483611e56565b6008546001600160a01b03163314610f015760405162461bcd60e51b81526004016108dc90612ae7565b600f55565b6000805481805b82811015610f9e57600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff16151591810182905290610f8b5785831415610f7d5750949350505050565b82610f8781612b49565b9350505b5080610f9681612b49565b915050610f0d565b5060405162461bcd60e51b815260206004820152602360248201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f756044820152626e647360e81b60648201526084016108dc565b6008546001600160a01b0316331461101d5760405162461bcd60e51b81526004016108dc90612ae7565b600a55565b600e805461102f90612aac565b80601f016020809104026020016040519081016040528092919081815260200182805461105b90612aac565b80156110a85780601f1061107d576101008083540402835291602001916110a8565b820191906000526020600020905b81548152906001019060200180831161108b57829003601f168201915b505050505081565b600d805461102f90612aac565b60006110c882611d4d565b5192915050565b60006001600160a01b03821661113b5760405162461bcd60e51b815260206004820152602b60248201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b60648201526084016108dc565b506001600160a01b03166000908152600560205260409020546001600160401b031690565b6008546001600160a01b0316331461118a5760405162461bcd60e51b81526004016108dc90612ae7565b6111946000612000565b565b6008546001600160a01b031633146111c05760405162461bcd60e51b81526004016108dc90612ae7565b8051610a8590600d9060208401906125a1565b6008546001600160a01b031633146111fd5760405162461bcd60e51b81526004016108dc90612ae7565b6012805460ff1916911515919091179055565b6060600380546107f090612aac565b806011548111156112725760405162461bcd60e51b815260206004820181905260248201527f5468617420616d6f756e7420697320746f6f2068696768206d79206672656e2e60448201526064016108dc565b6010548161127e610a89565b6112889190612b7a565b11156112d65760405162461bcd60e51b815260206004820152601f60248201527f576f772c207468696e6b20776520736f6c64206f757420616c72656164792e0060448201526064016108dc565b8180600f546112e59190612b92565b3410156113045760405162461bcd60e51b81526004016108dc90612bb1565b60125460ff1661134f5760405162461bcd60e51b815260206004820152601660248201527529b0b6329031bab93932b73a363c9031b637b9b2b21760511b60448201526064016108dc565b610a143384611d33565b6001600160a01b0382163314156113b25760405162461bcd60e51b815260206004820152601a60248201527f455243373231413a20617070726f766520746f2063616c6c657200000000000060448201526064016108dc565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6008546001600160a01b031633146114485760405162461bcd60e51b81526004016108dc90612ae7565b601155565b6008546001600160a01b031633146114775760405162461bcd60e51b81526004016108dc90612ae7565b601280549115156101000261ff0019909216919091179055565b61149c848484611a3b565b6114a884848484612052565b6114c45760405162461bcd60e51b81526004016108dc90612bf8565b50505050565b60606114d5826119b4565b6115395760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016108dc565b6000611543612160565b905060008151116115635760405180602001604052806000815250611591565b8061156d8461216f565b600e60405160200161158193929190612c4b565b6040516020818303038152906040525b9392505050565b826011548111156115eb5760405162461bcd60e51b815260206004820181905260248201527f5468617420616d6f756e7420697320746f6f2068696768206d79206672656e2e60448201526064016108dc565b601054816115f7610a89565b6116019190612b7a565b111561164f5760405162461bcd60e51b815260206004820152601f60248201527f576f772c207468696e6b20776520736f6c64206f757420616c72656164792e0060448201526064016108dc565b8380600f5461165e9190612b92565b34101561167d5760405162461bcd60e51b81526004016108dc90612bb1565b601254610100900460ff166116fa5760405162461bcd60e51b815260206004820152603b60248201527f4d6565702120596f7527766520676f7420746f207761697420666f722074686560448201527f2077686974656c6973742073616c6520746f206265206f70656e21000000000060648201526084016108dc565b6040516bffffffffffffffffffffffff193360601b166020820152600090819060340160405160208183030381529060405280519060200120905061177686868080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600b54915084905061226c565b156117845760029150611838565b6117c586868080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600a54915084905061226c565b156117d35760019150611838565b60405162461bcd60e51b815260206004820152603460248201527f57616974213f20596f7520617265206e6f7420696e207468652077686974656c6044820152736973742120596f752063616e2774206d696e742160601b60648201526084016108dc565b336000908152600c60205260409020548290611855908990612b7a565b11156118c95760405162461bcd60e51b815260206004820152603860248201527f5568206f682120596f75206861766520616c726561647920636c61696d65642060448201527f7768617420796f752061726520616c6c6f77656420746f21000000000000000060648201526084016108dc565b336000908152600c60205260409020546118e4908890612b7a565b336000818152600c60205260409020919091556119019088611d33565b50505050505050565b6008546001600160a01b031633146119345760405162461bcd60e51b81526004016108dc90612ae7565b6001600160a01b0381166119995760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108dc565b6119a281612000565b50565b6001600160a01b03163b151590565b60008054821080156107db575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000611a4682611d4d565b80519091506000906001600160a01b0316336001600160a01b03161480611a7d575033611a7284610873565b6001600160a01b0316145b80611a8f57508151611a8f9033610726565b905080611af95760405162461bcd60e51b815260206004820152603260248201527f455243373231413a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b60648201526084016108dc565b846001600160a01b031682600001516001600160a01b031614611b6d5760405162461bcd60e51b815260206004820152602660248201527f455243373231413a207472616e736665722066726f6d20696e636f72726563746044820152651037bbb732b960d11b60648201526084016108dc565b6001600160a01b038416611bd15760405162461bcd60e51b815260206004820152602560248201527f455243373231413a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b60648201526084016108dc565b611be160008484600001516119df565b6001600160a01b03808616600090815260056020908152604080832080546000196001600160401b0380831691909101811667ffffffffffffffff1992831617909255948916808552828520805480841660019081018516919098161790558885526004909352908320805442909216600160a01b026001600160e01b031990921690921717905590611c75908590612b7a565b6000818152600460205260409020549091506001600160a01b0316611ce957611c9d816119b4565b15611ce957825160008281526004602090815260409091208054918601516001600160401b0316600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b610a85828260405180602001604052806000815250612282565b6040805160608101825260008082526020820181905291810191909152611d73826119b4565b611dd25760405162461bcd60e51b815260206004820152602a60248201527f455243373231413a206f776e657220717565727920666f72206e6f6e657869736044820152693a32b73a103a37b5b2b760b11b60648201526084016108dc565b815b600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff1615159281019290925215801590611e3757508060400151155b15611e43579392505050565b5080611e4e81612d0f565b915050611dd4565b6000611e6182611d4d565b9050611e7360008383600001516119df565b80516001600160a01b039081166000908152600560209081526040808320805467ffffffffffffffff1981166001600160401b0391821660001901821617909155855185168452818420805467ffffffffffffffff60801b198116600160801b9182900484166001908101851690920217909155865188865260049094529184208054600160e01b949096166001600160e01b031990961695909517600160a01b42909216919091021760ff60e01b19169190911790925590611f37908490612b7a565b6000818152600460205260409020549091506001600160a01b0316611fab57611f5f816119b4565b15611fab57815160008281526004602090815260409091208054918501516001600160401b0316600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b815160405184916000916001600160a01b03909116907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a460018054906000611ff683612b49565b9190505550505050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60006001600160a01b0384163b1561215457604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612096903390899088908890600401612d26565b602060405180830381600087803b1580156120b057600080fd5b505af19250505080156120e0575060408051601f3d908101601f191682019092526120dd91810190612d63565b60015b61213a573d80801561210e576040519150601f19603f3d011682016040523d82523d6000602084013e612113565b606091505b5080516121325760405162461bcd60e51b81526004016108dc90612bf8565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050612158565b5060015b949350505050565b6060600d80546107f090612aac565b6060816121935750506040805180820190915260018152600360fc1b602082015290565b8160005b81156121bd57806121a781612b49565b91506121b69050600a83612d96565b9150612197565b6000816001600160401b038111156121d7576121d7612737565b6040519080825280601f01601f191660200182016040528015612201576020820181803683370190505b5090505b841561215857612216600183612b32565b9150612223600a86612daa565b61222e906030612b7a565b60f81b81838151811061224357612243612b64565b60200101906001600160f81b031916908160001a905350612265600a86612d96565b9450612205565b600082612279858461228f565b14949350505050565b610a148383836001612303565b600081815b84518110156122fb5760008582815181106122b1576122b1612b64565b602002602001015190508083116122d757600083815260208290526040902092506122e8565b600081815260208490526040902092505b50806122f381612b49565b915050612294565b509392505050565b6000546001600160a01b0385166123665760405162461bcd60e51b815260206004820152602160248201527f455243373231413a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b60648201526084016108dc565b61236f816119b4565b156123bc5760405162461bcd60e51b815260206004820152601d60248201527f455243373231413a20746f6b656e20616c7265616479206d696e74656400000060448201526064016108dc565b6000841161241d5760405162461bcd60e51b815260206004820152602860248201527f455243373231413a207175616e74697479206d75737420626520677265617465604482015267072207468616e20360c41b60648201526084016108dc565b6001600160a01b0385166000908152600560205260408120805486929061244e9084906001600160401b0316612dbe565b82546101009290920a6001600160401b038181021990931691831602179091556001600160a01b0387166000908152600560205260409020805487935090916008916124a891859168010000000000000000900416612dbe565b82546001600160401b039182166101009390930a9283029282021916919091179091556000838152600460205260408120805442909316600160a01b026001600160e01b03199093166001600160a01b038a1617929092179091558291505b858110156125965760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a483156125765761255a6000888488612052565b6125765760405162461bcd60e51b81526004016108dc90612bf8565b8161258081612b49565b925050808061258e90612b49565b915050612507565b506000819055611d2b565b8280546125ad90612aac565b90600052602060002090601f0160209004810192826125cf5760008555612615565b82601f106125e857805160ff1916838001178555612615565b82800160010185558215612615579182015b828111156126155782518255916020019190600101906125fa565b50612621929150612625565b5090565b5b808211156126215760008155600101612626565b6001600160e01b0319811681146119a257600080fd5b60006020828403121561266257600080fd5b81356115918161263a565b60005b83811015612688578181015183820152602001612670565b838111156114c45750506000910152565b600081518084526126b181602086016020860161266d565b601f01601f19169290920160200192915050565b6020815260006115916020830184612699565b6000602082840312156126ea57600080fd5b5035919050565b80356001600160a01b038116811461270857600080fd5b919050565b6000806040838503121561272057600080fd5b612729836126f1565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b038111828210171561277557612775612737565b604052919050565b60006001600160401b0383111561279657612796612737565b6127a9601f8401601f191660200161274d565b90508281528383830111156127bd57600080fd5b828260208301376000602084830101529392505050565b6000602082840312156127e657600080fd5b81356001600160401b038111156127fc57600080fd5b8201601f8101841361280d57600080fd5b6121588482356020840161277d565b60008060006060848603121561283157600080fd5b61283a846126f1565b9250612848602085016126f1565b9150604084013590509250925092565b6000806040838503121561286b57600080fd5b823591506020808401356001600160401b038082111561288a57600080fd5b818601915086601f83011261289e57600080fd5b8135818111156128b0576128b0612737565b8060051b91506128c184830161274d565b81815291830184019184810190898411156128db57600080fd5b938501935b83851015612900576128f1856126f1565b825293850193908501906128e0565b8096505050505050509250929050565b60006020828403121561292257600080fd5b611591826126f1565b8035801515811461270857600080fd5b60006020828403121561294d57600080fd5b6115918261292b565b6000806040838503121561296957600080fd5b612972836126f1565b91506129806020840161292b565b90509250929050565b6000806000806080858703121561299f57600080fd5b6129a8856126f1565b93506129b6602086016126f1565b92506040850135915060608501356001600160401b038111156129d857600080fd5b8501601f810187136129e957600080fd5b6129f88782356020840161277d565b91505092959194509250565b600080600060408486031215612a1957600080fd5b8335925060208401356001600160401b0380821115612a3757600080fd5b818601915086601f830112612a4b57600080fd5b813581811115612a5a57600080fd5b8760208260051b8501011115612a6f57600080fd5b6020830194508093505050509250925092565b60008060408385031215612a9557600080fd5b612a9e836126f1565b9150612980602084016126f1565b600181811c90821680612ac057607f821691505b60208210811415612ae157634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600082821015612b4457612b44612b1c565b500390565b6000600019821415612b5d57612b5d612b1c565b5060010190565b634e487b7160e01b600052603260045260246000fd5b60008219821115612b8d57612b8d612b1c565b500190565b6000816000190483118215151615612bac57612bac612b1c565b500290565b60208082526027908201527f4d656570204d6565702c20796f7520646f6e2774206861766520656e6f7567686040820152661036b7b732bc9760c91b606082015260800190565b60208082526033908201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260408201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b606082015260800190565b600084516020612c5e8285838a0161266d565b855191840191612c718184848a0161266d565b8554920191600090600181811c9080831680612c8e57607f831692505b858310811415612cac57634e487b7160e01b85526022600452602485fd5b808015612cc05760018114612cd157612cfe565b60ff19851688528388019550612cfe565b60008b81526020902060005b85811015612cf65781548a820152908401908801612cdd565b505083880195505b50939b9a5050505050505050505050565b600081612d1e57612d1e612b1c565b506000190190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612d5990830184612699565b9695505050505050565b600060208284031215612d7557600080fd5b81516115918161263a565b634e487b7160e01b600052601260045260246000fd5b600082612da557612da5612d80565b500490565b600082612db957612db9612d80565b500690565b60006001600160401b03808316818516808303821115612de057612de0612b1c565b0194935050505056fea2646970667358221220b003dbba56101f786ec9104262531944d312971f7d942bda40878ccd392a897864736f6c63430008090033455243373231413a207472616e7366657220746f206e6f6e204552433732315200000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000015b30000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000002000000000000000000000000004a96da6306c15e03db518264bfd8b529223e662200000000000000000000000000000000000000000000000000000000000000044d6565700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000054d454550530000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000042697066733a2f2f516d61484d5077696a543436366457666a4364536e4c4d5057704a67354d63396567384d4c4132594646696148542f68696464656e2e6a736f6e3f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000df2169a2d7386b375835981a2d24d8d658f827e5000000000000000000000000a091881bd8ec3fde46d3bce1ac05de783ae431f8000000000000000000000000da5810cccf030f41052c211b0c15667833cd8631000000000000000000000000cb44e9963db1534d483fbaf0bb72755bc169fd7f

Deployed Bytecode

0x6080604052600436106102515760003560e01c80636352211e11610139578063a0712d68116100b6578063c87b56dd1161007a578063c87b56dd14610695578063d2cab056146106b5578063d5abeb01146106c8578063db4bec44146106de578063e985e9c51461070b578063f2fde38b1461075457600080fd5b8063a0712d6814610602578063a22cb46514610615578063b071401b14610635578063b767a09814610655578063b88d4fde1461067557600080fd5b80638720fbef116100fd5780638720fbef146105835780638da5cb5b146105a357806392318be6146105c157806394354fd0146105d757806395d89b41146105ed57600080fd5b80636352211e146104ef5780636caede3d1461050f57806370a082311461052e578063715018a61461054e5780637ec4a6591461056357600080fd5b80632ab91bba116101d257806342966c681161019657806342966c681461044557806344a0d68a146104655780634f6ccce714610485578063545c03d4146104a55780635503a0e8146104c557806362b99ad4146104da57600080fd5b80632ab91bba146103b65780632f745c59146103d05780633b6714f8146103f05780633ccfd60b1461041057806342842e0e1461042557600080fd5b806312f6d8721161021957806312f6d8721461032757806313faede61461034b57806316ba10e01461036157806318160ddd1461038157806323b872dd1461039657600080fd5b806301ffc9a71461025657806306fdde031461028b578063081812fc146102ad578063095ea7b3146102e55780630e6fd56514610307575b600080fd5b34801561026257600080fd5b50610276610271366004612650565b610774565b60405190151581526020015b60405180910390f35b34801561029757600080fd5b506102a06107e1565b60405161028291906126c5565b3480156102b957600080fd5b506102cd6102c83660046126d8565b610873565b6040516001600160a01b039091168152602001610282565b3480156102f157600080fd5b5061030561030036600461270d565b610901565b005b34801561031357600080fd5b506103056103223660046126d8565b610a19565b34801561033357600080fd5b5061033d600a5481565b604051908152602001610282565b34801561035757600080fd5b5061033d600f5481565b34801561036d57600080fd5b5061030561037c3660046127d4565b610a48565b34801561038d57600080fd5b5061033d610a89565b3480156103a257600080fd5b506103056103b136600461281c565b610aa0565b3480156103c257600080fd5b506012546102769060ff1681565b3480156103dc57600080fd5b5061033d6103eb36600461270d565b610aab565b3480156103fc57600080fd5b5061030561040b366004612858565b610c3a565b34801561041c57600080fd5b50610305610d03565b34801561043157600080fd5b5061030561044036600461281c565b610dfe565b34801561045157600080fd5b506103056104603660046126d8565b610e19565b34801561047157600080fd5b506103056104803660046126d8565b610ed7565b34801561049157600080fd5b5061033d6104a03660046126d8565b610f06565b3480156104b157600080fd5b506103056104c03660046126d8565b610ff3565b3480156104d157600080fd5b506102a0611022565b3480156104e657600080fd5b506102a06110b0565b3480156104fb57600080fd5b506102cd61050a3660046126d8565b6110bd565b34801561051b57600080fd5b5060125461027690610100900460ff1681565b34801561053a57600080fd5b5061033d610549366004612910565b6110cf565b34801561055a57600080fd5b50610305611160565b34801561056f57600080fd5b5061030561057e3660046127d4565b611196565b34801561058f57600080fd5b5061030561059e36600461293b565b6111d3565b3480156105af57600080fd5b506008546001600160a01b03166102cd565b3480156105cd57600080fd5b5061033d600b5481565b3480156105e357600080fd5b5061033d60115481565b3480156105f957600080fd5b506102a0611210565b6103056106103660046126d8565b61121f565b34801561062157600080fd5b50610305610630366004612956565b611359565b34801561064157600080fd5b506103056106503660046126d8565b61141e565b34801561066157600080fd5b5061030561067036600461293b565b61144d565b34801561068157600080fd5b50610305610690366004612989565b611491565b3480156106a157600080fd5b506102a06106b03660046126d8565b6114ca565b6103056106c3366004612a04565b611598565b3480156106d457600080fd5b5061033d60105481565b3480156106ea57600080fd5b5061033d6106f9366004612910565b600c6020526000908152604090205481565b34801561071757600080fd5b50610276610726366004612a82565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561076057600080fd5b5061030561076f366004612910565b61190a565b60006001600160e01b031982166380ac58cd60e01b14806107a557506001600160e01b03198216635b5e139f60e01b145b806107c057506001600160e01b0319821663780e9d6360e01b145b806107db57506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600280546107f090612aac565b80601f016020809104026020016040519081016040528092919081815260200182805461081c90612aac565b80156108695780601f1061083e57610100808354040283529160200191610869565b820191906000526020600020905b81548152906001019060200180831161084c57829003601f168201915b5050505050905090565b600061087e826119b4565b6108e55760405162461bcd60e51b815260206004820152602d60248201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560448201526c3c34b9ba32b73a103a37b5b2b760991b60648201526084015b60405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061090c826110bd565b9050806001600160a01b0316836001600160a01b0316141561097b5760405162461bcd60e51b815260206004820152602260248201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60448201526132b960f11b60648201526084016108dc565b336001600160a01b038216148061099757506109978133610726565b610a095760405162461bcd60e51b815260206004820152603960248201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656420666f7220616c6c0000000000000060648201526084016108dc565b610a148383836119df565b505050565b6008546001600160a01b03163314610a435760405162461bcd60e51b81526004016108dc90612ae7565b600b55565b6008546001600160a01b03163314610a725760405162461bcd60e51b81526004016108dc90612ae7565b8051610a8590600e9060208401906125a1565b5050565b6000600154600054610a9b9190612b32565b905090565b610a14838383611a3b565b6000610ab6836110cf565b8210610b0f5760405162461bcd60e51b815260206004820152602260248201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e604482015261647360f01b60648201526084016108dc565b600080549080805b83811015610bda57600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff1615159281019290925215610b7c57805192505b806040015115610b8b57600092505b876001600160a01b0316836001600160a01b03161415610bc75786841415610bb9575093506107db92505050565b83610bc381612b49565b9450505b5080610bd281612b49565b915050610b17565b5060405162461bcd60e51b815260206004820152602e60248201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060448201526d0deeedccae440c4f240d2dcc8caf60931b60648201526084016108dc565b6008546001600160a01b03163314610c645760405162461bcd60e51b81526004016108dc90612ae7565b60008211610cc25760405162461bcd60e51b815260206004820152602560248201527f596f7527766520676f7420746f206d696e74206174206c656173742031204d6560448201526432b817171760d91b60648201526084016108dc565b60005b8151811015610a1457610cf1828281518110610ce357610ce3612b64565b602002602001015184611d33565b80610cfb81612b49565b915050610cc5565b6008546001600160a01b03163314610d2d5760405162461bcd60e51b81526004016108dc90612ae7565b60026009541415610d805760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016108dc565b60026009556000610d996008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610de3576040519150601f19603f3d011682016040523d82523d6000602084013e610de8565b606091505b5050905080610df657600080fd5b506001600955565b610a1483838360405180602001604052806000815250611491565b6000610e2482611d4d565b80519091506000906001600160a01b0316336001600160a01b03161480610e5b575033610e5084610873565b6001600160a01b0316145b80610e6d57508151610e6d9033610726565b905080610ece5760405162461bcd60e51b815260206004820152602960248201527f455243373231413a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201526808185c1c1c9bdd995960ba1b60648201526084016108dc565b610a1483611e56565b6008546001600160a01b03163314610f015760405162461bcd60e51b81526004016108dc90612ae7565b600f55565b6000805481805b82811015610f9e57600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff16151591810182905290610f8b5785831415610f7d5750949350505050565b82610f8781612b49565b9350505b5080610f9681612b49565b915050610f0d565b5060405162461bcd60e51b815260206004820152602360248201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f756044820152626e647360e81b60648201526084016108dc565b6008546001600160a01b0316331461101d5760405162461bcd60e51b81526004016108dc90612ae7565b600a55565b600e805461102f90612aac565b80601f016020809104026020016040519081016040528092919081815260200182805461105b90612aac565b80156110a85780601f1061107d576101008083540402835291602001916110a8565b820191906000526020600020905b81548152906001019060200180831161108b57829003601f168201915b505050505081565b600d805461102f90612aac565b60006110c882611d4d565b5192915050565b60006001600160a01b03821661113b5760405162461bcd60e51b815260206004820152602b60248201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b60648201526084016108dc565b506001600160a01b03166000908152600560205260409020546001600160401b031690565b6008546001600160a01b0316331461118a5760405162461bcd60e51b81526004016108dc90612ae7565b6111946000612000565b565b6008546001600160a01b031633146111c05760405162461bcd60e51b81526004016108dc90612ae7565b8051610a8590600d9060208401906125a1565b6008546001600160a01b031633146111fd5760405162461bcd60e51b81526004016108dc90612ae7565b6012805460ff1916911515919091179055565b6060600380546107f090612aac565b806011548111156112725760405162461bcd60e51b815260206004820181905260248201527f5468617420616d6f756e7420697320746f6f2068696768206d79206672656e2e60448201526064016108dc565b6010548161127e610a89565b6112889190612b7a565b11156112d65760405162461bcd60e51b815260206004820152601f60248201527f576f772c207468696e6b20776520736f6c64206f757420616c72656164792e0060448201526064016108dc565b8180600f546112e59190612b92565b3410156113045760405162461bcd60e51b81526004016108dc90612bb1565b60125460ff1661134f5760405162461bcd60e51b815260206004820152601660248201527529b0b6329031bab93932b73a363c9031b637b9b2b21760511b60448201526064016108dc565b610a143384611d33565b6001600160a01b0382163314156113b25760405162461bcd60e51b815260206004820152601a60248201527f455243373231413a20617070726f766520746f2063616c6c657200000000000060448201526064016108dc565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6008546001600160a01b031633146114485760405162461bcd60e51b81526004016108dc90612ae7565b601155565b6008546001600160a01b031633146114775760405162461bcd60e51b81526004016108dc90612ae7565b601280549115156101000261ff0019909216919091179055565b61149c848484611a3b565b6114a884848484612052565b6114c45760405162461bcd60e51b81526004016108dc90612bf8565b50505050565b60606114d5826119b4565b6115395760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016108dc565b6000611543612160565b905060008151116115635760405180602001604052806000815250611591565b8061156d8461216f565b600e60405160200161158193929190612c4b565b6040516020818303038152906040525b9392505050565b826011548111156115eb5760405162461bcd60e51b815260206004820181905260248201527f5468617420616d6f756e7420697320746f6f2068696768206d79206672656e2e60448201526064016108dc565b601054816115f7610a89565b6116019190612b7a565b111561164f5760405162461bcd60e51b815260206004820152601f60248201527f576f772c207468696e6b20776520736f6c64206f757420616c72656164792e0060448201526064016108dc565b8380600f5461165e9190612b92565b34101561167d5760405162461bcd60e51b81526004016108dc90612bb1565b601254610100900460ff166116fa5760405162461bcd60e51b815260206004820152603b60248201527f4d6565702120596f7527766520676f7420746f207761697420666f722074686560448201527f2077686974656c6973742073616c6520746f206265206f70656e21000000000060648201526084016108dc565b6040516bffffffffffffffffffffffff193360601b166020820152600090819060340160405160208183030381529060405280519060200120905061177686868080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600b54915084905061226c565b156117845760029150611838565b6117c586868080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600a54915084905061226c565b156117d35760019150611838565b60405162461bcd60e51b815260206004820152603460248201527f57616974213f20596f7520617265206e6f7420696e207468652077686974656c6044820152736973742120596f752063616e2774206d696e742160601b60648201526084016108dc565b336000908152600c60205260409020548290611855908990612b7a565b11156118c95760405162461bcd60e51b815260206004820152603860248201527f5568206f682120596f75206861766520616c726561647920636c61696d65642060448201527f7768617420796f752061726520616c6c6f77656420746f21000000000000000060648201526084016108dc565b336000908152600c60205260409020546118e4908890612b7a565b336000818152600c60205260409020919091556119019088611d33565b50505050505050565b6008546001600160a01b031633146119345760405162461bcd60e51b81526004016108dc90612ae7565b6001600160a01b0381166119995760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108dc565b6119a281612000565b50565b6001600160a01b03163b151590565b60008054821080156107db575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000611a4682611d4d565b80519091506000906001600160a01b0316336001600160a01b03161480611a7d575033611a7284610873565b6001600160a01b0316145b80611a8f57508151611a8f9033610726565b905080611af95760405162461bcd60e51b815260206004820152603260248201527f455243373231413a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b60648201526084016108dc565b846001600160a01b031682600001516001600160a01b031614611b6d5760405162461bcd60e51b815260206004820152602660248201527f455243373231413a207472616e736665722066726f6d20696e636f72726563746044820152651037bbb732b960d11b60648201526084016108dc565b6001600160a01b038416611bd15760405162461bcd60e51b815260206004820152602560248201527f455243373231413a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b60648201526084016108dc565b611be160008484600001516119df565b6001600160a01b03808616600090815260056020908152604080832080546000196001600160401b0380831691909101811667ffffffffffffffff1992831617909255948916808552828520805480841660019081018516919098161790558885526004909352908320805442909216600160a01b026001600160e01b031990921690921717905590611c75908590612b7a565b6000818152600460205260409020549091506001600160a01b0316611ce957611c9d816119b4565b15611ce957825160008281526004602090815260409091208054918601516001600160401b0316600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b610a85828260405180602001604052806000815250612282565b6040805160608101825260008082526020820181905291810191909152611d73826119b4565b611dd25760405162461bcd60e51b815260206004820152602a60248201527f455243373231413a206f776e657220717565727920666f72206e6f6e657869736044820152693a32b73a103a37b5b2b760b11b60648201526084016108dc565b815b600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff1615159281019290925215801590611e3757508060400151155b15611e43579392505050565b5080611e4e81612d0f565b915050611dd4565b6000611e6182611d4d565b9050611e7360008383600001516119df565b80516001600160a01b039081166000908152600560209081526040808320805467ffffffffffffffff1981166001600160401b0391821660001901821617909155855185168452818420805467ffffffffffffffff60801b198116600160801b9182900484166001908101851690920217909155865188865260049094529184208054600160e01b949096166001600160e01b031990961695909517600160a01b42909216919091021760ff60e01b19169190911790925590611f37908490612b7a565b6000818152600460205260409020549091506001600160a01b0316611fab57611f5f816119b4565b15611fab57815160008281526004602090815260409091208054918501516001600160401b0316600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b815160405184916000916001600160a01b03909116907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a460018054906000611ff683612b49565b9190505550505050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60006001600160a01b0384163b1561215457604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612096903390899088908890600401612d26565b602060405180830381600087803b1580156120b057600080fd5b505af19250505080156120e0575060408051601f3d908101601f191682019092526120dd91810190612d63565b60015b61213a573d80801561210e576040519150601f19603f3d011682016040523d82523d6000602084013e612113565b606091505b5080516121325760405162461bcd60e51b81526004016108dc90612bf8565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050612158565b5060015b949350505050565b6060600d80546107f090612aac565b6060816121935750506040805180820190915260018152600360fc1b602082015290565b8160005b81156121bd57806121a781612b49565b91506121b69050600a83612d96565b9150612197565b6000816001600160401b038111156121d7576121d7612737565b6040519080825280601f01601f191660200182016040528015612201576020820181803683370190505b5090505b841561215857612216600183612b32565b9150612223600a86612daa565b61222e906030612b7a565b60f81b81838151811061224357612243612b64565b60200101906001600160f81b031916908160001a905350612265600a86612d96565b9450612205565b600082612279858461228f565b14949350505050565b610a148383836001612303565b600081815b84518110156122fb5760008582815181106122b1576122b1612b64565b602002602001015190508083116122d757600083815260208290526040902092506122e8565b600081815260208490526040902092505b50806122f381612b49565b915050612294565b509392505050565b6000546001600160a01b0385166123665760405162461bcd60e51b815260206004820152602160248201527f455243373231413a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b60648201526084016108dc565b61236f816119b4565b156123bc5760405162461bcd60e51b815260206004820152601d60248201527f455243373231413a20746f6b656e20616c7265616479206d696e74656400000060448201526064016108dc565b6000841161241d5760405162461bcd60e51b815260206004820152602860248201527f455243373231413a207175616e74697479206d75737420626520677265617465604482015267072207468616e20360c41b60648201526084016108dc565b6001600160a01b0385166000908152600560205260408120805486929061244e9084906001600160401b0316612dbe565b82546101009290920a6001600160401b038181021990931691831602179091556001600160a01b0387166000908152600560205260409020805487935090916008916124a891859168010000000000000000900416612dbe565b82546001600160401b039182166101009390930a9283029282021916919091179091556000838152600460205260408120805442909316600160a01b026001600160e01b03199093166001600160a01b038a1617929092179091558291505b858110156125965760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a483156125765761255a6000888488612052565b6125765760405162461bcd60e51b81526004016108dc90612bf8565b8161258081612b49565b925050808061258e90612b49565b915050612507565b506000819055611d2b565b8280546125ad90612aac565b90600052602060002090601f0160209004810192826125cf5760008555612615565b82601f106125e857805160ff1916838001178555612615565b82800160010185558215612615579182015b828111156126155782518255916020019190600101906125fa565b50612621929150612625565b5090565b5b808211156126215760008155600101612626565b6001600160e01b0319811681146119a257600080fd5b60006020828403121561266257600080fd5b81356115918161263a565b60005b83811015612688578181015183820152602001612670565b838111156114c45750506000910152565b600081518084526126b181602086016020860161266d565b601f01601f19169290920160200192915050565b6020815260006115916020830184612699565b6000602082840312156126ea57600080fd5b5035919050565b80356001600160a01b038116811461270857600080fd5b919050565b6000806040838503121561272057600080fd5b612729836126f1565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b038111828210171561277557612775612737565b604052919050565b60006001600160401b0383111561279657612796612737565b6127a9601f8401601f191660200161274d565b90508281528383830111156127bd57600080fd5b828260208301376000602084830101529392505050565b6000602082840312156127e657600080fd5b81356001600160401b038111156127fc57600080fd5b8201601f8101841361280d57600080fd5b6121588482356020840161277d565b60008060006060848603121561283157600080fd5b61283a846126f1565b9250612848602085016126f1565b9150604084013590509250925092565b6000806040838503121561286b57600080fd5b823591506020808401356001600160401b038082111561288a57600080fd5b818601915086601f83011261289e57600080fd5b8135818111156128b0576128b0612737565b8060051b91506128c184830161274d565b81815291830184019184810190898411156128db57600080fd5b938501935b83851015612900576128f1856126f1565b825293850193908501906128e0565b8096505050505050509250929050565b60006020828403121561292257600080fd5b611591826126f1565b8035801515811461270857600080fd5b60006020828403121561294d57600080fd5b6115918261292b565b6000806040838503121561296957600080fd5b612972836126f1565b91506129806020840161292b565b90509250929050565b6000806000806080858703121561299f57600080fd5b6129a8856126f1565b93506129b6602086016126f1565b92506040850135915060608501356001600160401b038111156129d857600080fd5b8501601f810187136129e957600080fd5b6129f88782356020840161277d565b91505092959194509250565b600080600060408486031215612a1957600080fd5b8335925060208401356001600160401b0380821115612a3757600080fd5b818601915086601f830112612a4b57600080fd5b813581811115612a5a57600080fd5b8760208260051b8501011115612a6f57600080fd5b6020830194508093505050509250925092565b60008060408385031215612a9557600080fd5b612a9e836126f1565b9150612980602084016126f1565b600181811c90821680612ac057607f821691505b60208210811415612ae157634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600082821015612b4457612b44612b1c565b500390565b6000600019821415612b5d57612b5d612b1c565b5060010190565b634e487b7160e01b600052603260045260246000fd5b60008219821115612b8d57612b8d612b1c565b500190565b6000816000190483118215151615612bac57612bac612b1c565b500290565b60208082526027908201527f4d656570204d6565702c20796f7520646f6e2774206861766520656e6f7567686040820152661036b7b732bc9760c91b606082015260800190565b60208082526033908201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260408201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b606082015260800190565b600084516020612c5e8285838a0161266d565b855191840191612c718184848a0161266d565b8554920191600090600181811c9080831680612c8e57607f831692505b858310811415612cac57634e487b7160e01b85526022600452602485fd5b808015612cc05760018114612cd157612cfe565b60ff19851688528388019550612cfe565b60008b81526020902060005b85811015612cf65781548a820152908401908801612cdd565b505083880195505b50939b9a5050505050505050505050565b600081612d1e57612d1e612b1c565b506000190190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612d5990830184612699565b9695505050505050565b600060208284031215612d7557600080fd5b81516115918161263a565b634e487b7160e01b600052601260045260246000fd5b600082612da557612da5612d80565b500490565b600082612db957612db9612d80565b500690565b60006001600160401b03808316818516808303821115612de057612de0612b1c565b0194935050505056fea2646970667358221220b003dbba56101f786ec9104262531944d312971f7d942bda40878ccd392a897864736f6c63430008090033

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

00000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000015b30000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000002000000000000000000000000004a96da6306c15e03db518264bfd8b529223e662200000000000000000000000000000000000000000000000000000000000000044d6565700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000054d454550530000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000042697066733a2f2f516d61484d5077696a543436366457666a4364536e4c4d5057704a67354d63396567384d4c4132594646696148542f68696464656e2e6a736f6e3f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000df2169a2d7386b375835981a2d24d8d658f827e5000000000000000000000000a091881bd8ec3fde46d3bce1ac05de783ae431f8000000000000000000000000da5810cccf030f41052c211b0c15667833cd8631000000000000000000000000cb44e9963db1534d483fbaf0bb72755bc169fd7f

-----Decoded View---------------
Arg [0] : _tokenName (string): Meep
Arg [1] : _tokenSymbol (string): MEEPS
Arg [2] : _cost (uint256): 0
Arg [3] : _maxSupply (uint256): 5555
Arg [4] : _maxMintAmountPerTx (uint256): 2
Arg [5] : _hiddenMetadataUri (string): ipfs://QmaHMPwijT466dWfjCdSnLMPWpJg5Mc9eg8MLA2YFFiaHT/hidden.json?
Arg [6] : _teamWallets (address[]): 0xDF2169a2D7386b375835981A2d24D8D658F827e5,0xA091881BD8ec3Fde46d3bce1Ac05DE783Ae431f8,0xda5810cCcF030F41052C211b0C15667833CD8631,0xcb44e9963DB1534d483fBAF0bB72755bc169Fd7f
Arg [7] : _devTeamWallet (address): 0x4A96dA6306C15e03db518264bfD8b529223E6622

-----Encoded View---------------
21 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [3] : 00000000000000000000000000000000000000000000000000000000000015b3
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000180
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000200
Arg [7] : 0000000000000000000000004a96da6306c15e03db518264bfd8b529223e6622
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [9] : 4d65657000000000000000000000000000000000000000000000000000000000
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [11] : 4d45455053000000000000000000000000000000000000000000000000000000
Arg [12] : 0000000000000000000000000000000000000000000000000000000000000042
Arg [13] : 697066733a2f2f516d61484d5077696a543436366457666a4364536e4c4d5057
Arg [14] : 704a67354d63396567384d4c4132594646696148542f68696464656e2e6a736f
Arg [15] : 6e3f000000000000000000000000000000000000000000000000000000000000
Arg [16] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [17] : 000000000000000000000000df2169a2d7386b375835981a2d24d8d658f827e5
Arg [18] : 000000000000000000000000a091881bd8ec3fde46d3bce1ac05de783ae431f8
Arg [19] : 000000000000000000000000da5810cccf030f41052c211b0c15667833cd8631
Arg [20] : 000000000000000000000000cb44e9963db1534d483fbaf0bb72755bc169fd7f


Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

OVERVIEW

Moe, Eve, Eik, Pip and Syd are five little friends exploring a mystic world... They have just opened the gate to Etheria and have welcomed the rest of the MEEPS into this new magical world. Let's see where the story goes...

Loading...
Loading
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.