ETH Price: $3,891.27 (-0.63%)

Token

ConiunPass (CPASS)
 

Overview

Max Total Supply

6,303 CPASS

Holders

2,628

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Balance
1 CPASS
0xd9a5d7a0cf2c85c3c3543b5c6101bc327854b391
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

The first C-Boxes contain fragments, 465 NFTs, and 2K wl spots.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
ConiunPass

Compiler Version
v0.8.11+commit.d7f03943

Optimization Enabled:
Yes with 200 runs

Other Settings:
byzantium EvmVersion
File 1 of 13 : ConiunPass.sol
// SPDX-License-Identifier: MIT

// starting a new era but probably nothing...
//
//
//                 ..        .           .    ..
//  @@@@&        &@@@@@@@@@@@@@@@(        @@@@@.
//  @@@@&   .@@@@@@@@@@@@@@@@@@@@@@@@@.   @@@@@.
//  @@@@& @@@@@@@@               @@@@@@@@ @@@@@.
//  @@@@@@@@@@..                    ,@@@@@@@@@@.
//  @@@@@@@@                          .@@@@@@@@.
//  @@@@@@.                             %@@@@@@.
//  @@@@@.                               %@@@@@.
//  @@@@@                                 @@@@@.
// .@@@@&                                 @@@@@
//  @@@@@                                 @@@@@.
//  /@@@@,                              .&@@@@..
//   @@@@@/                             @@@@@(
//    %@@@@@..                        .@@@@@.
//     .@@@@@@,.                    #@@@@@@
//       .@@@@@@@@...         . ,@@@@@@@@
//         . @@@@@@@@@@@@@@@@@@@@@@@@&
//               .@@@@@@@@@@@@@@@..
//
//
// @creator:     ConiunIO
// @security:    [email protected]
// @author:      Batuhan KATIRCI (@batuhan_katirci)
// @website:     https://coniun.io/

pragma solidity ^0.8.11;

import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";

contract ConiunPass is ERC721A, Ownable {
  using ECDSA for bytes32;
  using Strings for uint256;

  // token and mint related variables
  uint256 public MAX_SUPPLY = 6555;
  uint256 public constant TEAM_RESERVED_SUPPLY = 150;
  uint256 public constant INVESTOR_RESERVED_SUPPLY = 100;

  uint256 public constant WL_MINT_PRICE = 0.2 ether;
  uint256 public constant MINT_PER_WALLET = 2;

  uint256 public constant PUBLIC_MINT_PRICE = 0.3 ether;

  uint256 public teamMintCount = 0;
  uint256 public investorMintCount = 0;
  int256 public mintStage = 0; // 0 - not started | 1 - wl mint | 2 - public mint

  string public tokenBaseUrl =
    "https://temp-cdn.coniun.io/coniun-pass-metadata/";
  string public tokenUrlSuffix = ".json";

  // whitelist sign address
  address private _signerAddress;

  address COMPANY_WALLET = 0x92B1DF9E40723AB7c9Ba7D9585204f514b1E1598;

  constructor(address signerAddress_) ERC721A("ConiunPass", "CPASS") {
    _signerAddress = signerAddress_;
  }

  function _baseURI() internal view virtual override returns (string memory) {
    return tokenBaseUrl;
  }

  function _suffix() internal view virtual returns (string memory) {
    return tokenUrlSuffix;
  }

  function tokenURI(uint256 tokenId)
    public
    view
    virtual
    override
    returns (string memory)
  {
    if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

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

  function wlMint(uint256 numTokens, bytes calldata signature)
    external
    payable
    onlyOrigin
    mintCompliance(numTokens)
  {
    // check mint stage
    require(mintStage == 1, "Whitelist mint not started");
    // check wl signature
    require(
      _signerAddress ==
        keccak256(
          abi.encodePacked(
            "\x19Ethereum Signed Message:\n32",
            bytes32(uint256(uint160(msg.sender)))
          )
        ).recover(signature),
      "Signer address mismatch."
    );

    // check amount payed
    require(
      msg.value == (numTokens == 2 ? PUBLIC_MINT_PRICE : WL_MINT_PRICE),
      "Value supplied is incorrect"
    );

    // _safeMint's second argument now takes in a numTokens, not a tokenId (ERC721A).
    _safeMint(msg.sender, numTokens);
  }

  function mint(uint256 numTokens)
    external
    payable
    onlyOrigin
    mintCompliance(numTokens)
  {
    // check mint stage
    require(mintStage == 2, "Public mint not started");
    require(
      msg.value == numTokens * PUBLIC_MINT_PRICE,
      "Value supplied is incorrect"
    );

    // _safeMint's second argument now takes in a numTokens, not a tokenId (ERC721A).
    _safeMint(msg.sender, numTokens);
  }

  // - management only functions

  // this function is able to CHANGE MAX_SUPPLY
  // but it can only reduce it
  // so it's fud free :P hi guys!
  function reduceSupply(uint256 burnAmount) external onlyOwner {
    uint256 requiredMaxSupply = totalSupply() +
      (TEAM_RESERVED_SUPPLY - teamMintCount) +
      (INVESTOR_RESERVED_SUPPLY - investorMintCount);

    if (burnAmount == 0) {
      burnAmount = MAX_SUPPLY - requiredMaxSupply;
    }

    require(
      totalSupply() < MAX_SUPPLY - burnAmount + 1,
      "aint_own_it_cant_burn_it"
    );

    require(
      MAX_SUPPLY - burnAmount >= requiredMaxSupply,
      "cant_burn_team_and_investor_supply"
    );
    MAX_SUPPLY -= burnAmount;
  }

  function teamMint(address receiver, uint256 numTokens) external onlyOwner {
    require(
      teamMintCount + numTokens < TEAM_RESERVED_SUPPLY + 1,
      "supply_exceeded"
    );
    require(totalSupply() + numTokens < MAX_SUPPLY + 1, "over_capacity");
    // ;)
    teamMintCount += numTokens;
    _safeMint(receiver, numTokens);
  }

  function investorMint(address receiver, uint256 numTokens)
    external
    onlyOwner
  {
    require(
      investorMintCount + numTokens < INVESTOR_RESERVED_SUPPLY + 1,
      "supply_exceeded"
    );
    require(totalSupply() + numTokens < MAX_SUPPLY + 1, "over_capacity");
    // ;)
    investorMintCount += numTokens;
    _safeMint(receiver, numTokens);
  }

  function setMintStage(int256 _mintStage) external onlyOwner {
    require(_mintStage < 3, "Unsupported mint stage");
    mintStage = _mintStage;
  }

  function setTokenBaseUrl(string memory _tokenBaseUrl) public onlyOwner {
    tokenBaseUrl = _tokenBaseUrl;
  }

  function setTokenSuffix(string memory _tokenUrlSuffix) public onlyOwner {
    tokenUrlSuffix = _tokenUrlSuffix;
  }

  function withdrawAll() external onlyOwner {
    uint256 balance = address(this).balance;
    require(balance > 0);

    _withdraw(COMPANY_WALLET, address(this).balance);
  }

  function _withdraw(address _address, uint256 _amount) private {
    (bool success, ) = _address.call{value: _amount}("");
    require(success, "Transfer failed.");
  }

  // - modifiers

  modifier onlyOrigin() {
    // disallow access from contracts
    require(msg.sender == tx.origin, "Come on!!!");
    _;
  }

  modifier mintCompliance(uint256 _numTokens) {
    require(_numTokens > 0, "You must mint at least one token.");
    require(
      totalSupply() + _numTokens <
        MAX_SUPPLY - (TEAM_RESERVED_SUPPLY + INVESTOR_RESERVED_SUPPLY + 1),
      "Max supply exceeded!"
    );
    require(
      _numberMinted(msg.sender) + _numTokens < MINT_PER_WALLET + 1,
      "You are exceeding your minting limit"
    );
    _;
  }
}

File 2 of 13 : ERC721A.sol
// SPDX-License-Identifier: MIT
// Creator: Chiru Labs

pragma solidity ^0.8.4;

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

error ApprovalCallerNotOwnerNorApproved();
error ApprovalQueryForNonexistentToken();
error ApproveToCaller();
error ApprovalToCurrentOwner();
error BalanceQueryForZeroAddress();
error MintedQueryForZeroAddress();
error BurnedQueryForZeroAddress();
error MintToZeroAddress();
error MintZeroQuantity();
error OwnerIndexOutOfBounds();
error OwnerQueryForNonexistentToken();
error TokenIndexOutOfBounds();
error TransferCallerNotOwnerNorApproved();
error TransferFromIncorrectOwner();
error TransferToNonERC721ReceiverImplementer();
error TransferToZeroAddress();
error URIQueryForNonexistentToken();

/**
 * @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..).
 *
 * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
 *
 * Assumes that the maximum token id cannot exceed 2**128 - 1 (max value of uint128).
 */
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;
    }

    // Compiler will pack the following 
    // _currentIndex and _burnCounter into a single 256bit word.
    
    // The tokenId of the next token to be minted.
    uint128 internal _currentIndex;

    // The number of tokens burned.
    uint128 internal _burnCounter;

    // 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 See {IERC721Enumerable-totalSupply}.
     */
    function totalSupply() public view override returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than _currentIndex times
        unchecked {
            return _currentIndex - _burnCounter;    
        }
    }

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

        // Counter overflow is impossible as the loop breaks when
        // uint256 i is equal to another uint256 numMintedSoFar.
        unchecked {
            for (uint256 i; i < numMintedSoFar; i++) {
                TokenOwnership memory ownership = _ownerships[i];
                if (!ownership.burned) {
                    if (tokenIdsIdx == index) {
                        return i;
                    }
                    tokenIdsIdx++;
                }
            }
        }
        revert TokenIndexOutOfBounds();
    }

    /**
     * @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) {
        if (index >= balanceOf(owner)) revert OwnerIndexOutOfBounds();
        uint256 numMintedSoFar = _currentIndex;
        uint256 tokenIdsIdx;
        address currOwnershipAddr;

        // Counter overflow is impossible as the loop breaks when
        // uint256 i is equal to another uint256 numMintedSoFar.
        unchecked {
            for (uint256 i; i < numMintedSoFar; i++) {
                TokenOwnership memory ownership = _ownerships[i];
                if (ownership.burned) {
                    continue;
                }
                if (ownership.addr != address(0)) {
                    currOwnershipAddr = ownership.addr;
                }
                if (currOwnershipAddr == owner) {
                    if (tokenIdsIdx == index) {
                        return i;
                    }
                    tokenIdsIdx++;
                }
            }
        }

        // Execution should never reach this point.
        revert();
    }

    /**
     * @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) {
        if (owner == address(0)) revert BalanceQueryForZeroAddress();
        return uint256(_addressData[owner].balance);
    }

    function _numberMinted(address owner) internal view returns (uint256) {
        if (owner == address(0)) revert MintedQueryForZeroAddress();
        return uint256(_addressData[owner].numberMinted);
    }

    function _numberBurned(address owner) internal view returns (uint256) {
        if (owner == address(0)) revert BurnedQueryForZeroAddress();
        return uint256(_addressData[owner].numberBurned);
    }

    /**
     * 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) {
        uint256 curr = tokenId;

        unchecked {
            if (curr < _currentIndex) {
                TokenOwnership memory ownership = _ownerships[curr];
                if (!ownership.burned) {
                    if (ownership.addr != address(0)) {
                        return ownership;
                    }
                    // Invariant: 
                    // There will always be an ownership that has an address and is not burned 
                    // before an ownership that does not have an address and is not burned.
                    // Hence, curr will not underflow.
                    while (true) {
                        curr--;
                        ownership = _ownerships[curr];
                        if (ownership.addr != address(0)) {
                            return ownership;
                        }
                    }
                }
            }
        }
        revert OwnerQueryForNonexistentToken();
    }

    /**
     * @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) {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

        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);
        if (to == owner) revert ApprovalToCurrentOwner();

        if (_msgSender() != owner && !isApprovedForAll(owner, _msgSender())) {
            revert ApprovalCallerNotOwnerNorApproved();
        }

        _approve(to, tokenId, owner);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view override returns (address) {
        if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public override {
        if (operator == _msgSender()) revert ApproveToCaller();

        _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);
        if (!_checkOnERC721Received(from, to, tokenId, _data)) {
            revert TransferToNonERC721ReceiverImplementer();
        }
    }

    /**
     * @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;
        if (to == address(0)) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();

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

        // Overflows are incredibly unrealistic.
        // balance or numberMinted overflow if current value of either + quantity > 3.4e38 (2**128) - 1
        // updatedIndex overflows if _currentIndex + quantity > 3.4e38 (2**128) - 1
        unchecked {
            _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; i < quantity; i++) {
                emit Transfer(address(0), to, updatedIndex);
                if (safe && !_checkOnERC721Received(address(0), to, updatedIndex, _data)) {
                    revert TransferToNonERC721ReceiverImplementer();
                }
                updatedIndex++;
            }

            _currentIndex = uint128(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 ||
            isApprovedForAll(prevOwnership.addr, _msgSender()) ||
            getApproved(tokenId) == _msgSender());

        if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        if (prevOwnership.addr != from) revert TransferFromIncorrectOwner();
        if (to == address(0)) revert TransferToZeroAddress();

        _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.
        // Counter overflow is incredibly unrealistic as tokenId would have to be 2**128.
        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)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId < _currentIndex) {
                    _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.
        // Counter overflow is incredibly unrealistic as tokenId would have to be 2**128.
        unchecked {
            _addressData[prevOwnership.addr].balance -= 1;
            _addressData[prevOwnership.addr].numberBurned += 1;

            // Keep track of who burned the token, and the timestamp of burning.
            _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 burn 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)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId < _currentIndex) {
                    _ownerships[nextTokenId].addr = prevOwnership.addr;
                    _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

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

        // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times.
        unchecked { 
            _burnCounter++;
        }
    }

    /**
     * @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 TransferToNonERC721ReceiverImplementer();
                } 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.
     * And also called before burning one token.
     *
     * 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`.
     * - When `to` is zero, `tokenId` will be burned by `from`.
     * - `from` and `to` are never both zero.
     */
    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.
     * And also called after one token has been burned.
     *
     * 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` has been
     * transferred to `to`.
     * - When `from` is zero, `tokenId` has been minted for `to`.
     * - When `to` is zero, `tokenId` has been burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _afterTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}
}

File 3 of 13 : IERC165.sol
// 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);
}

File 4 of 13 : ERC165.sol
// 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;
    }
}

File 5 of 13 : ECDSA.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/ECDSA.sol)

pragma solidity ^0.8.0;

import "../Strings.sol";

/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
    enum RecoverError {
        NoError,
        InvalidSignature,
        InvalidSignatureLength,
        InvalidSignatureS,
        InvalidSignatureV
    }

    function _throwError(RecoverError error) private pure {
        if (error == RecoverError.NoError) {
            return; // no error: do nothing
        } else if (error == RecoverError.InvalidSignature) {
            revert("ECDSA: invalid signature");
        } else if (error == RecoverError.InvalidSignatureLength) {
            revert("ECDSA: invalid signature length");
        } else if (error == RecoverError.InvalidSignatureS) {
            revert("ECDSA: invalid signature 's' value");
        } else if (error == RecoverError.InvalidSignatureV) {
            revert("ECDSA: invalid signature 'v' value");
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature` or error string. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     *
     * Documentation for signature generation:
     * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
     * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
     *
     * _Available since v4.3._
     */
    function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {
        // Check the signature length
        // - case 65: r,s,v signature (standard)
        // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._
        if (signature.length == 65) {
            bytes32 r;
            bytes32 s;
            uint8 v;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
            return tryRecover(hash, v, r, s);
        } else if (signature.length == 64) {
            bytes32 r;
            bytes32 vs;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                vs := mload(add(signature, 0x40))
            }
            return tryRecover(hash, r, vs);
        } else {
            return (address(0), RecoverError.InvalidSignatureLength);
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, signature);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
     *
     * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address, RecoverError) {
        bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);
        uint8 v = uint8((uint256(vs) >> 255) + 27);
        return tryRecover(hash, v, r, s);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.
     *
     * _Available since v4.2._
     */
    function recover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, r, vs);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `v`,
     * `r` and `s` signature fields separately.
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address, RecoverError) {
        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most
        // signatures from current libraries generate a unique signature with an s-value in the lower half order.
        //
        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
        // these malleable signatures as well.
        if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
            return (address(0), RecoverError.InvalidSignatureS);
        }
        if (v != 27 && v != 28) {
            return (address(0), RecoverError.InvalidSignatureV);
        }

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        if (signer == address(0)) {
            return (address(0), RecoverError.InvalidSignature);
        }

        return (signer, RecoverError.NoError);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function recover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, v, r, s);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from `s`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s));
    }

    /**
     * @dev Returns an Ethereum Signed Typed Data, created from a
     * `domainSeparator` and a `structHash`. This produces hash corresponding
     * to the one signed with the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
     * JSON-RPC method as part of EIP-712.
     *
     * See {recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
    }
}

File 6 of 13 : Strings.sol
// 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);
    }
}

File 7 of 13 : Context.sol
// 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;
    }
}

File 8 of 13 : Address.sol
// 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);
            }
        }
    }
}

File 9 of 13 : IERC721Metadata.sol
// 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);
}

File 10 of 13 : IERC721Enumerable.sol
// 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);
}

File 11 of 13 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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 `IERC721.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

File 12 of 13 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

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

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

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

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

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

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

File 13 of 13 : Ownable.sol
// 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);
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"signerAddress_","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"MintedQueryForZeroAddress","type":"error"},{"inputs":[],"name":"OwnerIndexOutOfBounds","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TokenIndexOutOfBounds","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"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":[],"name":"INVESTOR_RESERVED_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINT_PER_WALLET","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PUBLIC_MINT_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TEAM_RESERVED_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WL_MINT_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"numTokens","type":"uint256"}],"name":"investorMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"investorMintCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[{"internalType":"uint256","name":"numTokens","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintStage","outputs":[{"internalType":"int256","name":"","type":"int256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"burnAmount","type":"uint256"}],"name":"reduceSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"int256","name":"_mintStage","type":"int256"}],"name":"setMintStage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_tokenBaseUrl","type":"string"}],"name":"setTokenBaseUrl","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_tokenUrlSuffix","type":"string"}],"name":"setTokenSuffix","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":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"numTokens","type":"uint256"}],"name":"teamMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"teamMintCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenBaseUrl","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":"tokenUrlSuffix","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":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"numTokens","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"wlMint","outputs":[],"stateMutability":"payable","type":"function"}]

61199b60085560006009819055600a819055600b5560e06040526030608081815290620032b360a03980516200003e91600c9160209091019062000217565b506040805180820190915260058082527f2e6a736f6e00000000000000000000000000000000000000000000000000000060209092019182526200008591600d9162000217565b50600f8054600160a060020a0319167392b1df9e40723ab7c9ba7d9585204f514b1e1598179055348015620000b957600080fd5b50604051620032e3380380620032e3833981016040819052620000dc91620002bd565b604080518082018252600a81527f436f6e69756e506173730000000000000000000000000000000000000000000060208083019182528351808501909452600584527f4350415353000000000000000000000000000000000000000000000000000000908401528151919291620001569160019162000217565b5080516200016c90600290602084019062000217565b5050506200019b6200018c620001c1640100000000026401000000009004565b640100000000620001c5810204565b600e8054600160a060020a031916600160a060020a039290921691909117905562000345565b3390565b60078054600160a060020a03838116600160a060020a0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200022590620002ef565b90600052602060002090601f01602090048101928262000249576000855562000294565b82601f106200026457805160ff191683800117855562000294565b8280016001018555821562000294579182015b828111156200029457825182559160200191906001019062000277565b50620002a2929150620002a6565b5090565b5b80821115620002a25760008155600101620002a7565b600060208284031215620002d057600080fd5b8151600160a060020a0381168114620002e857600080fd5b9392505050565b6002810460018216806200030457607f821691505b602082108114156200033f577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b612f5e80620003556000396000f3fe6080604052600436106102345760003560e060020a900480636bde262711610132578063a22cb465116100af578063db23ef0211610073578063db23ef0214610628578063de0ca9c21461063d578063e985e9c514610653578063f150a0491461069c578063f2fde38b146106b257600080fd5b8063a22cb46514610588578063add5a4fa146105a8578063b88d4fde146105c8578063c5bedede146105e8578063c87b56dd1461060857600080fd5b8063853828b6116100f6578063853828b61461051157806388089f0b146105265780638da5cb5b1461054257806395d89b4114610560578063a0712d681461057557600080fd5b80636bde2627146104805780636ea0061b1461049c57806370a08231146104bc578063715018a6146104dc57806380623444146104f157600080fd5b80632f745c59116101c05780634f6ccce7116101845780634f6ccce7146104035780634fff968a146104235780635338b581146104385780636352211e1461044d57806366f08e9b1461046d57600080fd5b80632f745c591461037857806332cb6b0c1461039857806342842e0e146103ae57806346419b16146103ce5780634db5eb26146103e357600080fd5b8063088139a611610207578063088139a6146102dd578063095ea7b3146103015780630ef6a94b1461032357806318160ddd1461034357806323b872dd1461035857600080fd5b806301ffc9a714610239578063041e46801461026e57806306fdde0314610290578063081812fc146102a5575b600080fd5b34801561024557600080fd5b506102596102543660046128e6565b6106d2565b60405190151581526020015b60405180910390f35b34801561027a57600080fd5b506102836107a3565b6040516102659190612962565b34801561029c57600080fd5b50610283610831565b3480156102b157600080fd5b506102c56102c0366004612975565b6108c3565b604051600160a060020a039091168152602001610265565b3480156102e957600080fd5b506102f360095481565b604051908152602001610265565b34801561030d57600080fd5b5061032161031c3660046129aa565b610920565b005b34801561032f57600080fd5b5061032161033e366004612a63565b6109e0565b34801561034f57600080fd5b506102f3610a2d565b34801561036457600080fd5b50610321610373366004612aac565b610a62565b34801561038457600080fd5b506102f36103933660046129aa565b610a6d565b3480156103a457600080fd5b506102f360085481565b3480156103ba57600080fd5b506103216103c9366004612aac565b610b8c565b3480156103da57600080fd5b50610283610ba7565b3480156103ef57600080fd5b506103216103fe366004612975565b610bb4565b34801561040f57600080fd5b506102f361041e366004612975565b610c39565b34801561042f57600080fd5b506102f3600281565b34801561044457600080fd5b506102f3606481565b34801561045957600080fd5b506102c5610468366004612975565b610d06565b61032161047b366004612ae8565b610d18565b34801561048c57600080fd5b506102f3670429d069189e000081565b3480156104a857600080fd5b506103216104b7366004612a63565b611021565b3480156104c857600080fd5b506102f36104d7366004612b64565b611061565b3480156104e857600080fd5b506103216110c9565b3480156104fd57600080fd5b5061032161050c366004612975565b611102565b34801561051d57600080fd5b50610321611294565b34801561053257600080fd5b506102f36702c68af0bb14000081565b34801561054e57600080fd5b50600754600160a060020a03166102c5565b34801561056c57600080fd5b506102836112e7565b610321610583366004612975565b6112f6565b34801561059457600080fd5b506103216105a3366004612b7f565b6114f5565b3480156105b457600080fd5b506103216105c33660046129aa565b6115a4565b3480156105d457600080fd5b506103216105e3366004612bbb565b6116ce565b3480156105f457600080fd5b506103216106033660046129aa565b61171b565b34801561061457600080fd5b50610283610623366004612975565b611835565b34801561063457600080fd5b506102f3609681565b34801561064957600080fd5b506102f3600a5481565b34801561065f57600080fd5b5061025961066e366004612c37565b600160a060020a03918216600090815260066020908152604080832093909416825291909152205460ff1690565b3480156106a857600080fd5b506102f3600b5481565b3480156106be57600080fd5b506103216106cd366004612b64565b6118e2565b6000600160e060020a031982167f80ac58cd0000000000000000000000000000000000000000000000000000000014806107355750600160e060020a031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b806107695750600160e060020a031982167f780e9d6300000000000000000000000000000000000000000000000000000000145b8061079d57507f01ffc9a700000000000000000000000000000000000000000000000000000000600160e060020a03198316145b92915050565b600c80546107b090612c6a565b80601f01602080910402602001604051908101604052809291908181526020018280546107dc90612c6a565b80156108295780601f106107fe57610100808354040283529160200191610829565b820191906000526020600020905b81548152906001019060200180831161080c57829003601f168201915b505050505081565b60606001805461084090612c6a565b80601f016020809104026020016040519081016040528092919081815260200182805461086c90612c6a565b80156108b95780601f1061088e576101008083540402835291602001916108b9565b820191906000526020600020905b81548152906001019060200180831161089c57829003601f168201915b5050505050905090565b60006108ce82611997565b610904576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50600090815260056020526040902054600160a060020a031690565b600061092b82610d06565b905080600160a060020a031683600160a060020a03161415610979576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b33600160a060020a038216148015906109995750610997813361066e565b155b156109d0576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6109db8383836119d4565b505050565b600754600160a060020a03163314610a165760405160e560020a62461bcd028152600401610a0d90612ca8565b60405180910390fd5b8051610a2990600d906020840190612837565b5050565b6000546fffffffffffffffffffffffffffffffff70010000000000000000000000000000000082048116918116919091031690565b6109db838383611a3d565b6000610a7883611061565b8210610ab0576040517f0ddac30e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080546fffffffffffffffffffffffffffffffff169080805b83811015610b865760008181526003602090815260409182902082516060810184529054600160a060020a038116825260a060020a810467ffffffffffffffff169282019290925260e060020a90910460ff161580159282019290925290610b325750610b7e565b8051600160a060020a031615610b4757805192505b87600160a060020a031683600160a060020a03161415610b7c5786841415610b755750935061079d92505050565b6001909301925b505b600101610aca565b50600080fd5b6109db838383604051806020016040528060008152506116ce565b600d80546107b090612c6a565b600754600160a060020a03163314610be15760405160e560020a62461bcd028152600401610a0d90612ca8565b60038112610c345760405160e560020a62461bcd02815260206004820152601660248201527f556e737570706f72746564206d696e74207374616765000000000000000000006044820152606401610a0d565b600b55565b600080546fffffffffffffffffffffffffffffffff1681805b82811015610cd35760008181526003602090815260409182902082516060810184529054600160a060020a038116825260a060020a810467ffffffffffffffff169282019290925260e060020a90910460ff16151591810182905290610cca5785831415610cc35750949350505050565b6001909201915b50600101610c52565b506040517fa723001c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000610d1182611cb1565b5192915050565b333214610d6a5760405160e560020a62461bcd02815260206004820152600a60248201527f436f6d65206f6e212121000000000000000000000000000000000000000000006044820152606401610a0d565b8260008111610d8e5760405160e560020a62461bcd028152600401610a0d90612cdd565b610d9a60646096612d53565b610da5906001612d53565b600854610db29190612d6b565b81610dbb610a2d565b610dc59190612d53565b10610e155760405160e560020a62461bcd02815260206004820152601460248201527f4d617820737570706c79206578636565646564210000000000000000000000006044820152606401610a0d565b610e2160026001612d53565b81610e2b33611df7565b610e359190612d53565b10610e555760405160e560020a62461bcd028152600401610a0d90612d82565b600b54600114610eaa5760405160e560020a62461bcd02815260206004820152601a60248201527f57686974656c697374206d696e74206e6f7420737461727465640000000000006044820152606401610a0d565b610f4083838080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250506040517f19457468657265756d205369676e6564204d6573736167653a0a333200000000602082015233603c820152605c019150610f1c9050565b60405160208183030381529060405280519060200120611e6b90919063ffffffff16565b600e54600160a060020a03908116911614610fa05760405160e560020a62461bcd02815260206004820152601860248201527f5369676e65722061646472657373206d69736d617463682e00000000000000006044820152606401610a0d565b83600214610fb6576702c68af0bb140000610fc0565b670429d069189e00005b34146110115760405160e560020a62461bcd02815260206004820152601b60248201527f56616c756520737570706c69656420697320696e636f727265637400000000006044820152606401610a0d565b61101b3385611e8f565b50505050565b600754600160a060020a0316331461104e5760405160e560020a62461bcd028152600401610a0d90612ca8565b8051610a2990600c906020840190612837565b6000600160a060020a0382166110a3576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50600160a060020a031660009081526004602052604090205467ffffffffffffffff1690565b600754600160a060020a031633146110f65760405160e560020a62461bcd028152600401610a0d90612ca8565b6111006000611ea9565b565b600754600160a060020a0316331461112f5760405160e560020a62461bcd028152600401610a0d90612ca8565b6000600a5460646111409190612d6b565b60095461114e906096612d6b565b611156610a2d565b6111609190612d53565b61116a9190612d53565b905081611182578060085461117f9190612d6b565b91505b816008546111909190612d6b565b61119b906001612d53565b6111a3610a2d565b106111f35760405160e560020a62461bcd02815260206004820152601860248201527f61696e745f6f776e5f69745f63616e745f6275726e5f697400000000000000006044820152606401610a0d565b80826008546112029190612d6b565b10156112795760405160e560020a62461bcd02815260206004820152602260248201527f63616e745f6275726e5f7465616d5f616e645f696e766573746f725f7375707060448201527f6c790000000000000000000000000000000000000000000000000000000000006064820152608401610a0d565b816008600082825461128b9190612d6b565b90915550505050565b600754600160a060020a031633146112c15760405160e560020a62461bcd028152600401610a0d90612ca8565b3031806112cd57600080fd5b600f546112e490600160a060020a03163031611f08565b50565b60606002805461084090612c6a565b3332146113485760405160e560020a62461bcd02815260206004820152600a60248201527f436f6d65206f6e212121000000000000000000000000000000000000000000006044820152606401610a0d565b806000811161136c5760405160e560020a62461bcd028152600401610a0d90612cdd565b61137860646096612d53565b611383906001612d53565b6008546113909190612d6b565b81611399610a2d565b6113a39190612d53565b106113f35760405160e560020a62461bcd02815260206004820152601460248201527f4d617820737570706c79206578636565646564210000000000000000000000006044820152606401610a0d565b6113ff60026001612d53565b8161140933611df7565b6114139190612d53565b106114335760405160e560020a62461bcd028152600401610a0d90612d82565b600b546002146114885760405160e560020a62461bcd02815260206004820152601760248201527f5075626c6963206d696e74206e6f7420737461727465640000000000000000006044820152606401610a0d565b61149a670429d069189e000083612ddf565b34146114eb5760405160e560020a62461bcd02815260206004820152601b60248201527f56616c756520737570706c69656420697320696e636f727265637400000000006044820152606401610a0d565b610a293383611e8f565b600160a060020a038216331415611538576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b336000818152600660209081526040808320600160a060020a03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600754600160a060020a031633146115d15760405160e560020a62461bcd028152600401610a0d90612ca8565b6115dd60966001612d53565b816009546115eb9190612d53565b1061163b5760405160e560020a62461bcd02815260206004820152600f60248201527f737570706c795f657863656564656400000000000000000000000000000000006044820152606401610a0d565b600854611649906001612d53565b81611652610a2d565b61165c9190612d53565b106116ac5760405160e560020a62461bcd02815260206004820152600d60248201527f6f7665725f6361706163697479000000000000000000000000000000000000006044820152606401610a0d565b80600960008282546116be9190612d53565b90915550610a2990508282611e8f565b6116d9848484611a3d565b6116e584848484611fae565b61101b576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600754600160a060020a031633146117485760405160e560020a62461bcd028152600401610a0d90612ca8565b61175460646001612d53565b81600a546117629190612d53565b106117b25760405160e560020a62461bcd02815260206004820152600f60248201527f737570706c795f657863656564656400000000000000000000000000000000006044820152606401610a0d565b6008546117c0906001612d53565b816117c9610a2d565b6117d39190612d53565b106118235760405160e560020a62461bcd02815260206004820152600d60248201527f6f7665725f6361706163697479000000000000000000000000000000000000006044820152606401610a0d565b80600a60008282546116be9190612d53565b606061184082611997565b611876576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006118806120f8565b9050600061188c612107565b90508151600014156118ad57604051806020016040528060008152506118da565b816118b785612116565b826040516020016118ca93929190612dfe565b6040516020818303038152906040525b949350505050565b600754600160a060020a0316331461190f5760405160e560020a62461bcd028152600401610a0d90612ca8565b600160a060020a03811661198e5760405160e560020a62461bcd02815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610a0d565b6112e481611ea9565b600080546fffffffffffffffffffffffffffffffff168210801561079d57505060009081526003602052604090205460e060020a900460ff161590565b600082815260056020526040808220805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000611a4882611cb1565b8051909150600090600160a060020a031633600160a060020a03161480611a7657508151611a76903361066e565b80611a91575033611a86846108c3565b600160a060020a0316145b905080611aca576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b84600160a060020a03168260000151600160a060020a031614611b19576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600160a060020a038416611b59576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611b6960008484600001516119d4565b600160a060020a038581166000908152600460209081526040808320805467ffffffffffffffff1980821667ffffffffffffffff9283166000190183161790925589861680865283862080549384169383166001908101841694909417905589865260039094528285208054600160e060020a03191690941760a060020a429092169190910217909255908601808352912054909116611c67576000546fffffffffffffffffffffffffffffffff16811015611c67578251600082815260036020908152604090912080549186015167ffffffffffffffff1660a060020a02600160e060020a0319909216600160a060020a03909316929092171790555b508284600160a060020a031686600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b60408051606081018252600080825260208201819052918101829052905482906fffffffffffffffffffffffffffffffff16811015611dc55760008181526003602090815260409182902082516060810184529054600160a060020a038116825260a060020a810467ffffffffffffffff169282019290925260e060020a90910460ff16151591810182905290611dc3578051600160a060020a031615611d59579392505050565b506000190160008181526003602090815260409182902082516060810184529054600160a060020a03811680835260a060020a820467ffffffffffffffff169383019390935260e060020a900460ff1615159281019290925215611dbe579392505050565b611d59565b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000600160a060020a038216611e39576040517f35ebb31900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50600160a060020a031660009081526004602052604090205468010000000000000000900467ffffffffffffffff1690565b6000806000611e7a8585612267565b91509150611e87816122d7565b509392505050565b610a298282604051806020016040528060008152506124d4565b60078054600160a060020a0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600082600160a060020a03168260405160006040518083038185875af1925050503d8060008114611f55576040519150601f19603f3d011682016040523d82523d6000602084013e611f5a565b606091505b50509050806109db5760405160e560020a62461bcd02815260206004820152601060248201527f5472616e73666572206661696c65642e000000000000000000000000000000006044820152606401610a0d565b6000600160a060020a0384163b156120ed576040517f150b7a02000000000000000000000000000000000000000000000000000000008152600160a060020a0385169063150b7a029061200b903390899088908890600401612e41565b6020604051808303816000875af1925050508015612046575060408051601f3d908101601f1916820190925261204391810190612e7d565b60015b6120ba573d808015612074576040519150601f19603f3d011682016040523d82523d6000602084013e612079565b606091505b5080516120b2576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b600160e060020a0319167f150b7a02000000000000000000000000000000000000000000000000000000001490506118da565b506001949350505050565b6060600c805461084090612c6a565b6060600d805461084090612c6a565b60608161215657505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115612180578061216a81612e9a565b91506121799050600a83612ece565b915061215a565b60008167ffffffffffffffff81111561219b5761219b6129d4565b6040519080825280601f01601f1916602001820160405280156121c5576020820181803683370190505b5090505b84156118da576121da600183612d6b565b91506121e7600a86612ee2565b6121f2906030612d53565b7f01000000000000000000000000000000000000000000000000000000000000000281838151811061222657612226612ef6565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350612260600a86612ece565b94506121c9565b60008082516041141561229e5760208301516040840151606085015160001a612292878285856124e1565b945094505050506122d0565b8251604014156122c857602083015160408401516122bd8683836125ce565b9350935050506122d0565b506000905060025b9250929050565b60008160048111156122eb576122eb612f0f565b14156122f45750565b600181600481111561230857612308612f0f565b14156123595760405160e560020a62461bcd02815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610a0d565b600281600481111561236d5761236d612f0f565b14156123be5760405160e560020a62461bcd02815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610a0d565b60038160048111156123d2576123d2612f0f565b14156124495760405160e560020a62461bcd02815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c60448201527f75650000000000000000000000000000000000000000000000000000000000006064820152608401610a0d565b600481600481111561245d5761245d612f0f565b14156112e45760405160e560020a62461bcd02815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c60448201527f75650000000000000000000000000000000000000000000000000000000000006064820152608401610a0d565b6109db838383600161263e565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a083111561251857506000905060036125c5565b8460ff16601b1415801561253057508460ff16601c14155b1561254157506000905060046125c5565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015612595573d6000803e3d6000fd5b5050604051601f190151915050600160a060020a0381166125be576000600192509250506125c5565b9150600090505b94509492505050565b6000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8316816126227f80000000000000000000000000000000000000000000000000000000000000008604601b612d53565b9050612630878288856124e1565b935093505050935093915050565b6000546fffffffffffffffffffffffffffffffff16600160a060020a038516612693576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b836126ca576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600160a060020a038516600081815260046020908152604080832080546fffffffffffffffffffffffffffffffff19811667ffffffffffffffff8083168c0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168c01811690920217909155858452600390925282208054600160e060020a03191690931760a060020a42909216919091021790915581905b858110156127ff576040518290600160a060020a038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48380156127bc57506127ba6000888488611fae565b155b156127f3576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60019182019101612765565b50600080546fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff92909216919091179055611caa565b82805461284390612c6a565b90600052602060002090601f01602090048101928261286557600085556128ab565b82601f1061287e57805160ff19168380011785556128ab565b828001600101855582156128ab579182015b828111156128ab578251825591602001919060010190612890565b506128b79291506128bb565b5090565b5b808211156128b757600081556001016128bc565b600160e060020a0319811681146112e457600080fd5b6000602082840312156128f857600080fd5b8135612903816128d0565b9392505050565b60005b8381101561292557818101518382015260200161290d565b8381111561101b5750506000910152565b6000815180845261294e81602086016020860161290a565b601f01601f19169290920160200192915050565b6020815260006129036020830184612936565b60006020828403121561298757600080fd5b5035919050565b8035600160a060020a03811681146129a557600080fd5b919050565b600080604083850312156129bd57600080fd5b6129c68361298e565b946020939093013593505050565b60e060020a634e487b7102600052604160045260246000fd5b600067ffffffffffffffff80841115612a0857612a086129d4565b604051601f8501601f19908116603f01168101908282118183101715612a3057612a306129d4565b81604052809350858152868686011115612a4957600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215612a7557600080fd5b813567ffffffffffffffff811115612a8c57600080fd5b8201601f81018413612a9d57600080fd5b6118da848235602084016129ed565b600080600060608486031215612ac157600080fd5b612aca8461298e565b9250612ad86020850161298e565b9150604084013590509250925092565b600080600060408486031215612afd57600080fd5b83359250602084013567ffffffffffffffff80821115612b1c57600080fd5b818601915086601f830112612b3057600080fd5b813581811115612b3f57600080fd5b876020828501011115612b5157600080fd5b6020830194508093505050509250925092565b600060208284031215612b7657600080fd5b6129038261298e565b60008060408385031215612b9257600080fd5b612b9b8361298e565b915060208301358015158114612bb057600080fd5b809150509250929050565b60008060008060808587031215612bd157600080fd5b612bda8561298e565b9350612be86020860161298e565b925060408501359150606085013567ffffffffffffffff811115612c0b57600080fd5b8501601f81018713612c1c57600080fd5b612c2b878235602084016129ed565b91505092959194509250565b60008060408385031215612c4a57600080fd5b612c538361298e565b9150612c616020840161298e565b90509250929050565b600281046001821680612c7e57607f821691505b60208210811415612ca25760e060020a634e487b7102600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526021908201527f596f75206d757374206d696e74206174206c65617374206f6e6520746f6b656e60408201527f2e00000000000000000000000000000000000000000000000000000000000000606082015260800190565b60e060020a634e487b7102600052601160045260246000fd5b60008219821115612d6657612d66612d3a565b500190565b600082821015612d7d57612d7d612d3a565b500390565b60208082526024908201527f596f752061726520657863656564696e6720796f7572206d696e74696e67206c60408201527f696d697400000000000000000000000000000000000000000000000000000000606082015260800190565b6000816000190483118215151615612df957612df9612d3a565b500290565b60008451612e1081846020890161290a565b845190830190612e2481836020890161290a565b8451910190612e3781836020880161290a565b0195945050505050565b6000600160a060020a03808716835280861660208401525083604083015260806060830152612e736080830184612936565b9695505050505050565b600060208284031215612e8f57600080fd5b8151612903816128d0565b6000600019821415612eae57612eae612d3a565b5060010190565b60e060020a634e487b7102600052601260045260246000fd5b600082612edd57612edd612eb5565b500490565b600082612ef157612ef1612eb5565b500690565b60e060020a634e487b7102600052603260045260246000fd5b60e060020a634e487b7102600052602160045260246000fdfea2646970667358221220a0508efa9b70dde9319cdfa269cf0cd679dd66e32fe593d738b8510562941eae64736f6c634300080b003368747470733a2f2f74656d702d63646e2e636f6e69756e2e696f2f636f6e69756e2d706173732d6d657461646174612f00000000000000000000000086a872197044fcd9a9185e1e5fef6e2cb8f5eaca

Deployed Bytecode

0x6080604052600436106102345760003560e060020a900480636bde262711610132578063a22cb465116100af578063db23ef0211610073578063db23ef0214610628578063de0ca9c21461063d578063e985e9c514610653578063f150a0491461069c578063f2fde38b146106b257600080fd5b8063a22cb46514610588578063add5a4fa146105a8578063b88d4fde146105c8578063c5bedede146105e8578063c87b56dd1461060857600080fd5b8063853828b6116100f6578063853828b61461051157806388089f0b146105265780638da5cb5b1461054257806395d89b4114610560578063a0712d681461057557600080fd5b80636bde2627146104805780636ea0061b1461049c57806370a08231146104bc578063715018a6146104dc57806380623444146104f157600080fd5b80632f745c59116101c05780634f6ccce7116101845780634f6ccce7146104035780634fff968a146104235780635338b581146104385780636352211e1461044d57806366f08e9b1461046d57600080fd5b80632f745c591461037857806332cb6b0c1461039857806342842e0e146103ae57806346419b16146103ce5780634db5eb26146103e357600080fd5b8063088139a611610207578063088139a6146102dd578063095ea7b3146103015780630ef6a94b1461032357806318160ddd1461034357806323b872dd1461035857600080fd5b806301ffc9a714610239578063041e46801461026e57806306fdde0314610290578063081812fc146102a5575b600080fd5b34801561024557600080fd5b506102596102543660046128e6565b6106d2565b60405190151581526020015b60405180910390f35b34801561027a57600080fd5b506102836107a3565b6040516102659190612962565b34801561029c57600080fd5b50610283610831565b3480156102b157600080fd5b506102c56102c0366004612975565b6108c3565b604051600160a060020a039091168152602001610265565b3480156102e957600080fd5b506102f360095481565b604051908152602001610265565b34801561030d57600080fd5b5061032161031c3660046129aa565b610920565b005b34801561032f57600080fd5b5061032161033e366004612a63565b6109e0565b34801561034f57600080fd5b506102f3610a2d565b34801561036457600080fd5b50610321610373366004612aac565b610a62565b34801561038457600080fd5b506102f36103933660046129aa565b610a6d565b3480156103a457600080fd5b506102f360085481565b3480156103ba57600080fd5b506103216103c9366004612aac565b610b8c565b3480156103da57600080fd5b50610283610ba7565b3480156103ef57600080fd5b506103216103fe366004612975565b610bb4565b34801561040f57600080fd5b506102f361041e366004612975565b610c39565b34801561042f57600080fd5b506102f3600281565b34801561044457600080fd5b506102f3606481565b34801561045957600080fd5b506102c5610468366004612975565b610d06565b61032161047b366004612ae8565b610d18565b34801561048c57600080fd5b506102f3670429d069189e000081565b3480156104a857600080fd5b506103216104b7366004612a63565b611021565b3480156104c857600080fd5b506102f36104d7366004612b64565b611061565b3480156104e857600080fd5b506103216110c9565b3480156104fd57600080fd5b5061032161050c366004612975565b611102565b34801561051d57600080fd5b50610321611294565b34801561053257600080fd5b506102f36702c68af0bb14000081565b34801561054e57600080fd5b50600754600160a060020a03166102c5565b34801561056c57600080fd5b506102836112e7565b610321610583366004612975565b6112f6565b34801561059457600080fd5b506103216105a3366004612b7f565b6114f5565b3480156105b457600080fd5b506103216105c33660046129aa565b6115a4565b3480156105d457600080fd5b506103216105e3366004612bbb565b6116ce565b3480156105f457600080fd5b506103216106033660046129aa565b61171b565b34801561061457600080fd5b50610283610623366004612975565b611835565b34801561063457600080fd5b506102f3609681565b34801561064957600080fd5b506102f3600a5481565b34801561065f57600080fd5b5061025961066e366004612c37565b600160a060020a03918216600090815260066020908152604080832093909416825291909152205460ff1690565b3480156106a857600080fd5b506102f3600b5481565b3480156106be57600080fd5b506103216106cd366004612b64565b6118e2565b6000600160e060020a031982167f80ac58cd0000000000000000000000000000000000000000000000000000000014806107355750600160e060020a031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b806107695750600160e060020a031982167f780e9d6300000000000000000000000000000000000000000000000000000000145b8061079d57507f01ffc9a700000000000000000000000000000000000000000000000000000000600160e060020a03198316145b92915050565b600c80546107b090612c6a565b80601f01602080910402602001604051908101604052809291908181526020018280546107dc90612c6a565b80156108295780601f106107fe57610100808354040283529160200191610829565b820191906000526020600020905b81548152906001019060200180831161080c57829003601f168201915b505050505081565b60606001805461084090612c6a565b80601f016020809104026020016040519081016040528092919081815260200182805461086c90612c6a565b80156108b95780601f1061088e576101008083540402835291602001916108b9565b820191906000526020600020905b81548152906001019060200180831161089c57829003601f168201915b5050505050905090565b60006108ce82611997565b610904576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50600090815260056020526040902054600160a060020a031690565b600061092b82610d06565b905080600160a060020a031683600160a060020a03161415610979576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b33600160a060020a038216148015906109995750610997813361066e565b155b156109d0576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6109db8383836119d4565b505050565b600754600160a060020a03163314610a165760405160e560020a62461bcd028152600401610a0d90612ca8565b60405180910390fd5b8051610a2990600d906020840190612837565b5050565b6000546fffffffffffffffffffffffffffffffff70010000000000000000000000000000000082048116918116919091031690565b6109db838383611a3d565b6000610a7883611061565b8210610ab0576040517f0ddac30e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080546fffffffffffffffffffffffffffffffff169080805b83811015610b865760008181526003602090815260409182902082516060810184529054600160a060020a038116825260a060020a810467ffffffffffffffff169282019290925260e060020a90910460ff161580159282019290925290610b325750610b7e565b8051600160a060020a031615610b4757805192505b87600160a060020a031683600160a060020a03161415610b7c5786841415610b755750935061079d92505050565b6001909301925b505b600101610aca565b50600080fd5b6109db838383604051806020016040528060008152506116ce565b600d80546107b090612c6a565b600754600160a060020a03163314610be15760405160e560020a62461bcd028152600401610a0d90612ca8565b60038112610c345760405160e560020a62461bcd02815260206004820152601660248201527f556e737570706f72746564206d696e74207374616765000000000000000000006044820152606401610a0d565b600b55565b600080546fffffffffffffffffffffffffffffffff1681805b82811015610cd35760008181526003602090815260409182902082516060810184529054600160a060020a038116825260a060020a810467ffffffffffffffff169282019290925260e060020a90910460ff16151591810182905290610cca5785831415610cc35750949350505050565b6001909201915b50600101610c52565b506040517fa723001c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000610d1182611cb1565b5192915050565b333214610d6a5760405160e560020a62461bcd02815260206004820152600a60248201527f436f6d65206f6e212121000000000000000000000000000000000000000000006044820152606401610a0d565b8260008111610d8e5760405160e560020a62461bcd028152600401610a0d90612cdd565b610d9a60646096612d53565b610da5906001612d53565b600854610db29190612d6b565b81610dbb610a2d565b610dc59190612d53565b10610e155760405160e560020a62461bcd02815260206004820152601460248201527f4d617820737570706c79206578636565646564210000000000000000000000006044820152606401610a0d565b610e2160026001612d53565b81610e2b33611df7565b610e359190612d53565b10610e555760405160e560020a62461bcd028152600401610a0d90612d82565b600b54600114610eaa5760405160e560020a62461bcd02815260206004820152601a60248201527f57686974656c697374206d696e74206e6f7420737461727465640000000000006044820152606401610a0d565b610f4083838080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250506040517f19457468657265756d205369676e6564204d6573736167653a0a333200000000602082015233603c820152605c019150610f1c9050565b60405160208183030381529060405280519060200120611e6b90919063ffffffff16565b600e54600160a060020a03908116911614610fa05760405160e560020a62461bcd02815260206004820152601860248201527f5369676e65722061646472657373206d69736d617463682e00000000000000006044820152606401610a0d565b83600214610fb6576702c68af0bb140000610fc0565b670429d069189e00005b34146110115760405160e560020a62461bcd02815260206004820152601b60248201527f56616c756520737570706c69656420697320696e636f727265637400000000006044820152606401610a0d565b61101b3385611e8f565b50505050565b600754600160a060020a0316331461104e5760405160e560020a62461bcd028152600401610a0d90612ca8565b8051610a2990600c906020840190612837565b6000600160a060020a0382166110a3576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50600160a060020a031660009081526004602052604090205467ffffffffffffffff1690565b600754600160a060020a031633146110f65760405160e560020a62461bcd028152600401610a0d90612ca8565b6111006000611ea9565b565b600754600160a060020a0316331461112f5760405160e560020a62461bcd028152600401610a0d90612ca8565b6000600a5460646111409190612d6b565b60095461114e906096612d6b565b611156610a2d565b6111609190612d53565b61116a9190612d53565b905081611182578060085461117f9190612d6b565b91505b816008546111909190612d6b565b61119b906001612d53565b6111a3610a2d565b106111f35760405160e560020a62461bcd02815260206004820152601860248201527f61696e745f6f776e5f69745f63616e745f6275726e5f697400000000000000006044820152606401610a0d565b80826008546112029190612d6b565b10156112795760405160e560020a62461bcd02815260206004820152602260248201527f63616e745f6275726e5f7465616d5f616e645f696e766573746f725f7375707060448201527f6c790000000000000000000000000000000000000000000000000000000000006064820152608401610a0d565b816008600082825461128b9190612d6b565b90915550505050565b600754600160a060020a031633146112c15760405160e560020a62461bcd028152600401610a0d90612ca8565b3031806112cd57600080fd5b600f546112e490600160a060020a03163031611f08565b50565b60606002805461084090612c6a565b3332146113485760405160e560020a62461bcd02815260206004820152600a60248201527f436f6d65206f6e212121000000000000000000000000000000000000000000006044820152606401610a0d565b806000811161136c5760405160e560020a62461bcd028152600401610a0d90612cdd565b61137860646096612d53565b611383906001612d53565b6008546113909190612d6b565b81611399610a2d565b6113a39190612d53565b106113f35760405160e560020a62461bcd02815260206004820152601460248201527f4d617820737570706c79206578636565646564210000000000000000000000006044820152606401610a0d565b6113ff60026001612d53565b8161140933611df7565b6114139190612d53565b106114335760405160e560020a62461bcd028152600401610a0d90612d82565b600b546002146114885760405160e560020a62461bcd02815260206004820152601760248201527f5075626c6963206d696e74206e6f7420737461727465640000000000000000006044820152606401610a0d565b61149a670429d069189e000083612ddf565b34146114eb5760405160e560020a62461bcd02815260206004820152601b60248201527f56616c756520737570706c69656420697320696e636f727265637400000000006044820152606401610a0d565b610a293383611e8f565b600160a060020a038216331415611538576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b336000818152600660209081526040808320600160a060020a03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600754600160a060020a031633146115d15760405160e560020a62461bcd028152600401610a0d90612ca8565b6115dd60966001612d53565b816009546115eb9190612d53565b1061163b5760405160e560020a62461bcd02815260206004820152600f60248201527f737570706c795f657863656564656400000000000000000000000000000000006044820152606401610a0d565b600854611649906001612d53565b81611652610a2d565b61165c9190612d53565b106116ac5760405160e560020a62461bcd02815260206004820152600d60248201527f6f7665725f6361706163697479000000000000000000000000000000000000006044820152606401610a0d565b80600960008282546116be9190612d53565b90915550610a2990508282611e8f565b6116d9848484611a3d565b6116e584848484611fae565b61101b576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600754600160a060020a031633146117485760405160e560020a62461bcd028152600401610a0d90612ca8565b61175460646001612d53565b81600a546117629190612d53565b106117b25760405160e560020a62461bcd02815260206004820152600f60248201527f737570706c795f657863656564656400000000000000000000000000000000006044820152606401610a0d565b6008546117c0906001612d53565b816117c9610a2d565b6117d39190612d53565b106118235760405160e560020a62461bcd02815260206004820152600d60248201527f6f7665725f6361706163697479000000000000000000000000000000000000006044820152606401610a0d565b80600a60008282546116be9190612d53565b606061184082611997565b611876576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006118806120f8565b9050600061188c612107565b90508151600014156118ad57604051806020016040528060008152506118da565b816118b785612116565b826040516020016118ca93929190612dfe565b6040516020818303038152906040525b949350505050565b600754600160a060020a0316331461190f5760405160e560020a62461bcd028152600401610a0d90612ca8565b600160a060020a03811661198e5760405160e560020a62461bcd02815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610a0d565b6112e481611ea9565b600080546fffffffffffffffffffffffffffffffff168210801561079d57505060009081526003602052604090205460e060020a900460ff161590565b600082815260056020526040808220805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000611a4882611cb1565b8051909150600090600160a060020a031633600160a060020a03161480611a7657508151611a76903361066e565b80611a91575033611a86846108c3565b600160a060020a0316145b905080611aca576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b84600160a060020a03168260000151600160a060020a031614611b19576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600160a060020a038416611b59576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611b6960008484600001516119d4565b600160a060020a038581166000908152600460209081526040808320805467ffffffffffffffff1980821667ffffffffffffffff9283166000190183161790925589861680865283862080549384169383166001908101841694909417905589865260039094528285208054600160e060020a03191690941760a060020a429092169190910217909255908601808352912054909116611c67576000546fffffffffffffffffffffffffffffffff16811015611c67578251600082815260036020908152604090912080549186015167ffffffffffffffff1660a060020a02600160e060020a0319909216600160a060020a03909316929092171790555b508284600160a060020a031686600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b60408051606081018252600080825260208201819052918101829052905482906fffffffffffffffffffffffffffffffff16811015611dc55760008181526003602090815260409182902082516060810184529054600160a060020a038116825260a060020a810467ffffffffffffffff169282019290925260e060020a90910460ff16151591810182905290611dc3578051600160a060020a031615611d59579392505050565b506000190160008181526003602090815260409182902082516060810184529054600160a060020a03811680835260a060020a820467ffffffffffffffff169383019390935260e060020a900460ff1615159281019290925215611dbe579392505050565b611d59565b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000600160a060020a038216611e39576040517f35ebb31900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50600160a060020a031660009081526004602052604090205468010000000000000000900467ffffffffffffffff1690565b6000806000611e7a8585612267565b91509150611e87816122d7565b509392505050565b610a298282604051806020016040528060008152506124d4565b60078054600160a060020a0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600082600160a060020a03168260405160006040518083038185875af1925050503d8060008114611f55576040519150601f19603f3d011682016040523d82523d6000602084013e611f5a565b606091505b50509050806109db5760405160e560020a62461bcd02815260206004820152601060248201527f5472616e73666572206661696c65642e000000000000000000000000000000006044820152606401610a0d565b6000600160a060020a0384163b156120ed576040517f150b7a02000000000000000000000000000000000000000000000000000000008152600160a060020a0385169063150b7a029061200b903390899088908890600401612e41565b6020604051808303816000875af1925050508015612046575060408051601f3d908101601f1916820190925261204391810190612e7d565b60015b6120ba573d808015612074576040519150601f19603f3d011682016040523d82523d6000602084013e612079565b606091505b5080516120b2576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b600160e060020a0319167f150b7a02000000000000000000000000000000000000000000000000000000001490506118da565b506001949350505050565b6060600c805461084090612c6a565b6060600d805461084090612c6a565b60608161215657505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115612180578061216a81612e9a565b91506121799050600a83612ece565b915061215a565b60008167ffffffffffffffff81111561219b5761219b6129d4565b6040519080825280601f01601f1916602001820160405280156121c5576020820181803683370190505b5090505b84156118da576121da600183612d6b565b91506121e7600a86612ee2565b6121f2906030612d53565b7f01000000000000000000000000000000000000000000000000000000000000000281838151811061222657612226612ef6565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350612260600a86612ece565b94506121c9565b60008082516041141561229e5760208301516040840151606085015160001a612292878285856124e1565b945094505050506122d0565b8251604014156122c857602083015160408401516122bd8683836125ce565b9350935050506122d0565b506000905060025b9250929050565b60008160048111156122eb576122eb612f0f565b14156122f45750565b600181600481111561230857612308612f0f565b14156123595760405160e560020a62461bcd02815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610a0d565b600281600481111561236d5761236d612f0f565b14156123be5760405160e560020a62461bcd02815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610a0d565b60038160048111156123d2576123d2612f0f565b14156124495760405160e560020a62461bcd02815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c60448201527f75650000000000000000000000000000000000000000000000000000000000006064820152608401610a0d565b600481600481111561245d5761245d612f0f565b14156112e45760405160e560020a62461bcd02815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c60448201527f75650000000000000000000000000000000000000000000000000000000000006064820152608401610a0d565b6109db838383600161263e565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a083111561251857506000905060036125c5565b8460ff16601b1415801561253057508460ff16601c14155b1561254157506000905060046125c5565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015612595573d6000803e3d6000fd5b5050604051601f190151915050600160a060020a0381166125be576000600192509250506125c5565b9150600090505b94509492505050565b6000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8316816126227f80000000000000000000000000000000000000000000000000000000000000008604601b612d53565b9050612630878288856124e1565b935093505050935093915050565b6000546fffffffffffffffffffffffffffffffff16600160a060020a038516612693576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b836126ca576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600160a060020a038516600081815260046020908152604080832080546fffffffffffffffffffffffffffffffff19811667ffffffffffffffff8083168c0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168c01811690920217909155858452600390925282208054600160e060020a03191690931760a060020a42909216919091021790915581905b858110156127ff576040518290600160a060020a038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48380156127bc57506127ba6000888488611fae565b155b156127f3576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60019182019101612765565b50600080546fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff92909216919091179055611caa565b82805461284390612c6a565b90600052602060002090601f01602090048101928261286557600085556128ab565b82601f1061287e57805160ff19168380011785556128ab565b828001600101855582156128ab579182015b828111156128ab578251825591602001919060010190612890565b506128b79291506128bb565b5090565b5b808211156128b757600081556001016128bc565b600160e060020a0319811681146112e457600080fd5b6000602082840312156128f857600080fd5b8135612903816128d0565b9392505050565b60005b8381101561292557818101518382015260200161290d565b8381111561101b5750506000910152565b6000815180845261294e81602086016020860161290a565b601f01601f19169290920160200192915050565b6020815260006129036020830184612936565b60006020828403121561298757600080fd5b5035919050565b8035600160a060020a03811681146129a557600080fd5b919050565b600080604083850312156129bd57600080fd5b6129c68361298e565b946020939093013593505050565b60e060020a634e487b7102600052604160045260246000fd5b600067ffffffffffffffff80841115612a0857612a086129d4565b604051601f8501601f19908116603f01168101908282118183101715612a3057612a306129d4565b81604052809350858152868686011115612a4957600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215612a7557600080fd5b813567ffffffffffffffff811115612a8c57600080fd5b8201601f81018413612a9d57600080fd5b6118da848235602084016129ed565b600080600060608486031215612ac157600080fd5b612aca8461298e565b9250612ad86020850161298e565b9150604084013590509250925092565b600080600060408486031215612afd57600080fd5b83359250602084013567ffffffffffffffff80821115612b1c57600080fd5b818601915086601f830112612b3057600080fd5b813581811115612b3f57600080fd5b876020828501011115612b5157600080fd5b6020830194508093505050509250925092565b600060208284031215612b7657600080fd5b6129038261298e565b60008060408385031215612b9257600080fd5b612b9b8361298e565b915060208301358015158114612bb057600080fd5b809150509250929050565b60008060008060808587031215612bd157600080fd5b612bda8561298e565b9350612be86020860161298e565b925060408501359150606085013567ffffffffffffffff811115612c0b57600080fd5b8501601f81018713612c1c57600080fd5b612c2b878235602084016129ed565b91505092959194509250565b60008060408385031215612c4a57600080fd5b612c538361298e565b9150612c616020840161298e565b90509250929050565b600281046001821680612c7e57607f821691505b60208210811415612ca25760e060020a634e487b7102600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526021908201527f596f75206d757374206d696e74206174206c65617374206f6e6520746f6b656e60408201527f2e00000000000000000000000000000000000000000000000000000000000000606082015260800190565b60e060020a634e487b7102600052601160045260246000fd5b60008219821115612d6657612d66612d3a565b500190565b600082821015612d7d57612d7d612d3a565b500390565b60208082526024908201527f596f752061726520657863656564696e6720796f7572206d696e74696e67206c60408201527f696d697400000000000000000000000000000000000000000000000000000000606082015260800190565b6000816000190483118215151615612df957612df9612d3a565b500290565b60008451612e1081846020890161290a565b845190830190612e2481836020890161290a565b8451910190612e3781836020880161290a565b0195945050505050565b6000600160a060020a03808716835280861660208401525083604083015260806060830152612e736080830184612936565b9695505050505050565b600060208284031215612e8f57600080fd5b8151612903816128d0565b6000600019821415612eae57612eae612d3a565b5060010190565b60e060020a634e487b7102600052601260045260246000fd5b600082612edd57612edd612eb5565b500490565b600082612ef157612ef1612eb5565b500690565b60e060020a634e487b7102600052603260045260246000fd5b60e060020a634e487b7102600052602160045260246000fdfea2646970667358221220a0508efa9b70dde9319cdfa269cf0cd679dd66e32fe593d738b8510562941eae64736f6c634300080b0033

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

00000000000000000000000086a872197044fcd9a9185e1e5fef6e2cb8f5eaca

-----Decoded View---------------
Arg [0] : signerAddress_ (address): 0x86A872197044fcd9a9185e1e5FEF6E2cB8f5EaCa

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 00000000000000000000000086a872197044fcd9a9185e1e5fef6e2cb8f5eaca


Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.