ETH Price: $3,405.59 (+2.10%)

Loser Club (LOSERCLUB)
 

Overview

TokenID

6214

Total Transfers

-

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Loser Club. Never Cool. Never Alone. A project by artist [J’Von] aka Catman aka Cool Sweater. One thing remains true in this budding NFT space, and that is community. Loser club is the creation of 'Todd Nebula' (J'von).

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
LoserClub

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 13 : LoserClub.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.7;

import './ERC721A.sol';
import '@openzeppelin/contracts/access/Ownable.sol';
import '@openzeppelin/contracts/utils/cryptography/MerkleProof.sol';

////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////#@@@@@(//////////////////////////////
///////////////////////////&@@@@@@**@@@@@//////////@@@&/////////////////////////
///////////////////////&@@/@@@@@@(////////@///%@//@/////@@@%////////////////////
////////////////////@@&////////@////////&@//%@/@/@@(@(/@@@/@%///////////////////
///////////////////@@/////////(&///////@@///@&@#/@&@&/@@@(/@#///////////////////
///////////////////@(/////////@////////%(///////////(/#//#/@@///////////////////
//////////////////@@///////////////(&@@@@@@@@@@@@@@@@@@@@@%(@#//////////////////
/////////////////#@////////@@@@@******************************#@@@//////////////
////////////////(@///#@@@%%%%%%&@***************&@@@@@@@@@&/*******%@@(/////////
///////////////(@@@@%%%%%%%%%%%%%@@*****%@@@@((((((((((((((@@/%@@@#****@@///////
//////////////////@@%%%%%%%%%%%@@((((((((((((((((((((((((((#@&//////%@@@@///////
//////////////////(@%%%%%%%%%@@((((((@@@@@(((((((((((((@@@@@@@//////////////////
//////////////////(@@@@@@@%%@@((&@@@@@@@@@@@&%&%##((((#/##&&&&@@@&//////////////
/////////////////@@((((((@@&@@@@//,  //....   .,,,* ......////@@@@//////////////
////////////////@@(@@@@@((((@@@@////  //....    ,,,,  .....///@@@@//////////////
///////////////(@@((((@@@((((@%@/////  //....    ,,,,, .....//@@@@//////////////
///////////////&@@((@@(@&(((((&@//////  */,...    ,*,*, ...../#@@&//////////////
///////////////%@&((((((((((((((((((///   //... (((@%(/, .....%@@(//////////////
////////////////@@((((((((((((((((((((((((////((((((((((/  #(((@@///////////////
////////////////(@@((((((((((((((((((((((((((((((((((((((@@(((@@#///////////////
//////////////////@@@(((((%(((((((((((((((((((((((((@((((@@@@@@/////////////////
////////////////////@@@@@@@@(((((((((((((((((((((#@@@@((%@&/////////////////////
///////////////////////////&@@(((((((((((((((((((((@@,@(@@//////////////////////
/////////////////////////////@@@@((((((((((((((((((((@ @%///////////////////////
////////////////////////////@@((@@@@((((((((((((((((@@@ %(//////////////////////
//////////////////////////(@@(((((((#@@@@@@@@@@@@@@#//@@ @//////////////////////
//////////////////(&@@@@&#@@((((((((((@@///////////////@##@/////////////////////
/////////////(@@#*******@@@((((((((((@@(////////////////////////////////////////
///////////@@*****@&***@@&((((((((((@@@@@///////////////////////////////////////
/////////&@**********(@@@@#((((((((@@&*@@@@/////////////////////////////////////
////////@@*****************@@@&@@@@@@@@@***@////////////////////////////////////
////////@/****************@@,&@@@@********@@////////////////////////////////////
///////#@&***************@&..,,..@*********&@///////////////////////////////////
/////@@#&***************@#%@@@@************@@///////////////////////////////////
contract LoserClub is ERC721A, Ownable {
  // general
  uint256 public mintPrice = 0.088 ether;
  uint256 public maxSupply;
  string internal baseTokenUri;
  string internal baseTokenUriExt;
  string public provenance;
  address payable public mainWallet;

  // public
  uint256 public publicSaleTime;
  uint256 public maxPerTxnPublic;
  uint256 public maxPerWalletPublic;
  bool public isPublicMintEnabled;

  // allowlist
  bool public isAllowlistMintEnabled;
  uint256 public allowlistSaleTime;
  uint256 public maxPerTxnAllowlist;
  uint256 public maxPerWalletAllowlist;
  bytes32 private merkleRoot;

  constructor() payable ERC721A('Loser Club', 'LOSERCLUB') {
    maxSupply = 10000;
    maxPerTxnAllowlist = 2;
    maxPerWalletAllowlist = 2;
    maxPerTxnPublic = 5;
    maxPerWalletPublic = 5;
    publicSaleTime = 1646514000; // (March 5, 9:00 PM UTC)
    allowlistSaleTime = 1646427600; // (March 4, 9:00 PM UTC)
    mainWallet = payable(address(0x25eb3CCadc751E73bff53f1976C62E959D757D5f));
  }

  /**
   =========================================
   Owner Functions
   @dev these functions can only be called 
      by the owner of contract. some functions
      here are meant only for backup cases.
      separate maxpertxn and maxperwallet for
      max flexibility
   =========================================
  */
  function setIsPublicMintEnabled(bool isPublicMintEnabled_)
    external
    onlyOwner
  {
    isPublicMintEnabled = isPublicMintEnabled_;
  }

  function setIsAllowlistMintEnabled(bool isAllowlistMintEnabled_)
    external
    onlyOwner
  {
    isAllowlistMintEnabled = isAllowlistMintEnabled_;
  }

  function setMerkleRoot(bytes32 merkleRoot_) external onlyOwner {
    merkleRoot = merkleRoot_;
  }

  function setPublicSaleTime(uint256 setPublicSaleTime_) external onlyOwner {
    publicSaleTime = setPublicSaleTime_;
  }

  function setAllowlistSaleTime(uint256 setAllowlistSaleTime_)
    external
    onlyOwner
  {
    allowlistSaleTime = setAllowlistSaleTime_;
  }

  function setBaseTokenUri(string calldata newBaseTokenUri_)
    external
    onlyOwner
  {
    baseTokenUri = newBaseTokenUri_;
  }

  function setBaseTokenUriExt(string calldata newBaseTokenUriExt_)
    external
    onlyOwner
  {
    baseTokenUriExt = newBaseTokenUriExt_;
  }

  function setPriceInWei(uint256 price_) external onlyOwner {
    mintPrice = price_;
  }

  function setMaxSupply(uint256 maxSupply_) external onlyOwner {
    maxSupply = maxSupply_;
  }

  function setMaxPerWalletPublic(uint256 maxPerWalletPublic_)
    external
    onlyOwner
  {
    maxPerWalletPublic = maxPerWalletPublic_;
  }

  function setMaxPerWalletAllowlist(uint256 maxPerWalletAllowlist_)
    external
    onlyOwner
  {
    maxPerWalletAllowlist = maxPerWalletAllowlist_;
  }

  function setMaxPerTxnPublic(uint256 maxPerTxnPublic_) external onlyOwner {
    maxPerTxnPublic = maxPerTxnPublic_;
  }

  function setProvenance(string calldata provenance_) external onlyOwner {
    provenance = provenance_;
  }

  function setMaxPerTxnAllowlist(uint256 maxPerTxnAllowlist_)
    external
    onlyOwner
  {
    maxPerTxnAllowlist = maxPerTxnAllowlist_;
  }

  function setMainWallet(address mainWallet_) external onlyOwner {
    mainWallet = payable(mainWallet_);
  }

  function withdraw() external onlyOwner {
    (bool success, ) = mainWallet.call{ value: address(this).balance }('');
    require(success, 'failed to withdraw money');
  }

  /**
   =========================================
   Mint Functions
   @dev these functions are relevant  
      for minting purposes only
   =========================================
  */
  function mintPublic(uint256 quantity_) public payable {
    require(block.timestamp >= publicSaleTime, 'not public sale time yet');
    require(isPublicMintEnabled, 'minting not enabled');
    require(tx.origin == msg.sender, 'contracts not allowed');
    require(msg.value == getPrice(quantity_), 'wrong value');
    require(
      _numberMinted(msg.sender) + quantity_ <= maxPerWalletPublic,
      'exceeds max wallet'
    );
    require(totalSupply() < maxSupply, 'sold out');
    require(totalSupply() + quantity_ <= maxSupply, 'exceeds max supply');
    require(quantity_ <= maxPerTxnPublic, 'exceeds max per txn');

    _safeMint(msg.sender, quantity_);
  }

  function mintAllowlist(uint256 quantity_, bytes32[] calldata proof_)
    public
    payable
  {
    require(
      block.timestamp >= allowlistSaleTime,
      'not allowlist sale time yet'
    );
    require(isAllowlistMintEnabled, 'minting not enabled');
    require(tx.origin == msg.sender, 'contracts not allowed');
    require(msg.value == getPrice(quantity_), 'wrong value');
    require(checkAllowlist(proof_), 'address supplied is not on the allowlist');
    require(
      _numberMinted(msg.sender) + quantity_ <= maxPerWalletAllowlist,
      'exceeds max wallet allowlist'
    );
    require(totalSupply() < maxSupply, 'sold out');
    require(totalSupply() + quantity_ <= maxSupply, 'exceeds max supply');
    require(quantity_ <= maxPerTxnAllowlist, 'exceeds max per txn');

    _safeMint(msg.sender, quantity_);
  }

  function mintOwner(uint256 quantity_) external onlyOwner {
    _safeMint(msg.sender, quantity_);
  }

  /**
   ============================================
   Public & External Functions
   @dev functions that can be called by anyone
   ============================================
  */
  function checkAllowlist(bytes32[] calldata proof_)
    public
    view
    returns (bool)
  {
    bytes32 leaf = keccak256(abi.encodePacked(msg.sender));
    return MerkleProof.verify(proof_, merkleRoot, leaf);
  }

  function numberMinted(address owner) public view returns (uint256) {
    return _numberMinted(owner);
  }

  function multiTransferFrom(
    address from_,
    address to_,
    uint256[] calldata tokenIds_
  ) public {
    uint256 tokenIdsLength = tokenIds_.length;
    for (uint256 i = 0; i < tokenIdsLength; i++) {
      transferFrom(from_, to_, tokenIds_[i]);
    }
  }

  function multiSafeTransferFrom(
    address from_,
    address to_,
    uint256[] calldata tokenIds_,
    bytes calldata data_
  ) public {
    for (uint256 i = 0; i < tokenIds_.length; i++) {
      safeTransferFrom(from_, to_, tokenIds_[i], data_);
    }
  }

  function getOwnershipData(uint256 tokenId)
    external
    view
    returns (TokenOwnership memory)
  {
    return ownershipOf(tokenId);
  }

  function getPrice(uint256 quantity_) public view returns (uint256) {
    return mintPrice * quantity_;
  }

  function tokenURI(uint256 tokenId_)
    public
    view
    override
    returns (string memory)
  {
    require(_exists(tokenId_), 'Token does not exist!');
    return
      string(
        abi.encodePacked(
          baseTokenUri,
          Strings.toString(tokenId_),
          baseTokenUriExt
        )
      );
  }
}

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 MintToZeroAddress();
error MintZeroQuantity();
error OwnerIndexOutOfBounds();
error OwnerQueryForNonexistentToken();
error TokenIndexOutOfBounds();
error TransferCallerNotOwnerNorApproved();
error TransferFromIncorrectOwner();
error TransferToNonERC721ReceiverImplementer();
error TransferToZeroAddress();
error UnableDetermineTokenOwner();
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..).
 *
 * Does not support burning tokens to address(0).
 *
 * Assumes that an owner cannot have more than the 2**128 - 1 (max value of uint128) of supply
 */
contract ERC721A is
  Context,
  ERC165,
  IERC721,
  IERC721Metadata,
  IERC721Enumerable
{
  using Address for address;
  using Strings for uint256;

  struct TokenOwnership {
    address addr;
    uint64 startTimestamp;
  }

  struct AddressData {
    uint128 balance;
    uint128 numberMinted;
  }

  uint256 internal _currentIndex;

  // 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) {
    return _currentIndex;
  }

  /**
   * @dev See {IERC721Enumerable-tokenByIndex}.
   */
  function tokenByIndex(uint256 index) public view override returns (uint256) {
    if (index >= totalSupply()) revert TokenIndexOutOfBounds();
    return index;
  }

  /**
   * @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 tokenOfOwner)
  {
    if (index >= balanceOf(owner)) revert OwnerIndexOutOfBounds();
    uint256 numMintedSoFar = totalSupply();
    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.addr != address(0)) {
          currOwnershipAddr = ownership.addr;
        }
        if (currOwnershipAddr == owner) {
          if (tokenIdsIdx == index) {
            return i;
          }
          tokenIdsIdx++;
        }
      }
    }

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

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

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

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

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

  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 > 1.56e77 (2**256) - 1
    unchecked {
      _addressData[to].balance += uint128(quantity);
      _addressData[to].numberMinted += uint128(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 = updatedIndex;
    }

    _afterTokenTransfers(address(0), to, startTokenId, quantity);
  }

  /**
   * @dev Transfers `tokenId` from `from` to `to`.
   *
   * Requirements:
   *
   * - `to` cannot be the zero address.
   * - `tokenId` token must be owned by `from`.
   *
   * Emits a {Transfer} event.
   */
  function _transfer(
    address from,
    address to,
    uint256 tokenId
  ) private {
    TokenOwnership memory prevOwnership = ownershipOf(tokenId);

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

    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**256.
    unchecked {
      _addressData[from].balance -= 1;
      _addressData[to].balance += 1;

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

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

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

  /**
   * @dev 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.
   *
   * startTokenId - the first token id to be transferred
   * quantity - the amount to be transferred
   *
   * Calling conditions:
   *
   * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
   * transferred to `to`.
   * - When `from` is zero, `tokenId` will be minted for `to`.
   */
  function _beforeTokenTransfers(
    address from,
    address to,
    uint256 startTokenId,
    uint256 quantity
  ) internal virtual {}

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

File 3 of 13 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _setOwner(_msgSender());
    }

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

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

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

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

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

File 4 of 13 : MerkleProof.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Trees proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        bytes32 computedHash = leaf;

        for (uint256 i = 0; i < proof.length; i++) {
            bytes32 proofElement = proof[i];

            if (computedHash <= proofElement) {
                // Hash(current computed hash + current element of the proof)
                computedHash = keccak256(abi.encodePacked(computedHash, proofElement));
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = keccak256(abi.encodePacked(proofElement, computedHash));
            }
        }

        // Check if the computed hash (root) is equal to the provided root
        return computedHash == root;
    }
}

File 5 of 13 : IERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

File 6 of 13 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

File 7 of 13 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 8 of 13 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

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

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

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

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

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

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

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

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

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

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

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

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

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

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

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @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 10 of 13 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

File 12 of 13 : ERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"payable","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"},{"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":"allowlistSaleTime","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":"bytes32[]","name":"proof_","type":"bytes32[]"}],"name":"checkAllowlist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"uint256","name":"tokenId","type":"uint256"}],"name":"getOwnershipData","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"}],"internalType":"struct ERC721A.TokenOwnership","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity_","type":"uint256"}],"name":"getPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isAllowlistMintEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPublicMintEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mainWallet","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerTxnAllowlist","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerTxnPublic","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerWalletAllowlist","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerWalletPublic","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity_","type":"uint256"},{"internalType":"bytes32[]","name":"proof_","type":"bytes32[]"}],"name":"mintAllowlist","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity_","type":"uint256"}],"name":"mintOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity_","type":"uint256"}],"name":"mintPublic","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from_","type":"address"},{"internalType":"address","name":"to_","type":"address"},{"internalType":"uint256[]","name":"tokenIds_","type":"uint256[]"},{"internalType":"bytes","name":"data_","type":"bytes"}],"name":"multiSafeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from_","type":"address"},{"internalType":"address","name":"to_","type":"address"},{"internalType":"uint256[]","name":"tokenIds_","type":"uint256[]"}],"name":"multiTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"numberMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"provenance","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSaleTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"setAllowlistSaleTime_","type":"uint256"}],"name":"setAllowlistSaleTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newBaseTokenUri_","type":"string"}],"name":"setBaseTokenUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newBaseTokenUriExt_","type":"string"}],"name":"setBaseTokenUriExt","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"isAllowlistMintEnabled_","type":"bool"}],"name":"setIsAllowlistMintEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"isPublicMintEnabled_","type":"bool"}],"name":"setIsPublicMintEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"mainWallet_","type":"address"}],"name":"setMainWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxPerTxnAllowlist_","type":"uint256"}],"name":"setMaxPerTxnAllowlist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxPerTxnPublic_","type":"uint256"}],"name":"setMaxPerTxnPublic","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxPerWalletAllowlist_","type":"uint256"}],"name":"setMaxPerWalletAllowlist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxPerWalletPublic_","type":"uint256"}],"name":"setMaxPerWalletPublic","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxSupply_","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"merkleRoot_","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price_","type":"uint256"}],"name":"setPriceInWei","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"provenance_","type":"string"}],"name":"setProvenance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"setPublicSaleTime_","type":"uint256"}],"name":"setPublicSaleTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"tokenOfOwner","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId_","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

670138a388a43c0000600855600a6080818152692637b9b2b91021b63ab160b11b60a0908152610100604052600960c0908152682627a9a2a921a62aa160b91b60e0529192620000529160019162000131565b5080516200006890600290602084019062000131565b505050620000856200007f620000db60201b60201c565b620000df565b612710600955600260138190556014556005600f819055601055636223cf50600e556362227dd0601255600d80546001600160a01b0319167325eb3ccadc751e73bff53f1976c62e959d757d5f17905562000214565b3390565b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200013f90620001d7565b90600052602060002090601f016020900481019282620001635760008555620001ae565b82601f106200017e57805160ff1916838001178555620001ae565b82800160010185558215620001ae579182015b82811115620001ae57825182559160200191906001019062000191565b50620001bc929150620001c0565b5090565b5b80821115620001bc5760008155600101620001c1565b600181811c90821680620001ec57607f821691505b602082108114156200020e57634e487b7160e01b600052602260045260246000fd5b50919050565b612b9280620002246000396000f3fe60806040526004361061036b5760003560e01c80634f6ccce7116101c6578063a22cb465116100f7578063e757223011610095578063f2fde38b1161006f578063f2fde38b146109db578063f487c602146109fb578063f603928714610a1b578063ffe630b514610a3b57600080fd5b8063e75722301461095f578063e985e9c51461097f578063efd0cbf9146109c857600080fd5b8063c87b56dd116100d1578063c87b56dd146108e9578063d0a5eb4e14610909578063d5abeb0114610929578063dc33e6811461093f57600080fd5b8063a22cb46514610893578063b029a514146108b3578063b88d4fde146108c957600080fd5b80638774e5d0116101645780639231ab2a1161013e5780639231ab2a146107f157806395652cfa1461083e5780639591ab5d1461085e57806395d89b411461087e57600080fd5b80638774e5d0146107935780638b533ea4146107b35780638da5cb5b146107d357600080fd5b80636f8b44b0116101a05780636f8b44b01461071e57806370a082311461073e578063715018a61461075e5780637cb647591461077357600080fd5b80634f6ccce7146106c85780636352211e146106e85780636817c76c1461070857600080fd5b806323b872dd116102a05780633671f8cf1161023e5780633ccfd60b116102185780633ccfd60b1461065d57806342842e0e1461067257806346b07e4b146106925780634b4c25b3146106b257600080fd5b80633671f8cf1461060b5780633a3473b61461061e5780633ca4fc291461063e57600080fd5b806333f88d221161027a57806333f88d221461059557806334a743ce146105b557806334b1d403146105cb57806334e99fb6146105eb57600080fd5b806323b872dd1461053557806325f0f6a5146105555780632f745c591461057557600080fd5b80630f7309e81161030d57806318160ddd116102e757806318160ddd146104ca5780632344be0a146104df5780632373ac22146104f557806323b62b751461051557600080fd5b80630f7309e81461047f578063116264631461049457806311b7e5e7146104aa57600080fd5b8063036e6ce511610349578063036e6ce5146103e357806306fdde0314610405578063081812fc14610427578063095ea7b31461045f57600080fd5b80630116bc2d1461037057806301ffc9a71461039f578063031ee82b146103bf575b600080fd5b34801561037c57600080fd5b5060115461038a9060ff1681565b60405190151581526020015b60405180910390f35b3480156103ab57600080fd5b5061038a6103ba3660046127a8565b610a5b565b3480156103cb57600080fd5b506103d560145481565b604051908152602001610396565b3480156103ef57600080fd5b506104036103fe36600461278f565b610ac8565b005b34801561041157600080fd5b5061041a610b00565b6040516103969190612998565b34801561043357600080fd5b5061044761044236600461278f565b610b92565b6040516001600160a01b039091168152602001610396565b34801561046b57600080fd5b5061040361047a366004612709565b610bd8565b34801561048b57600080fd5b5061041a610c66565b3480156104a057600080fd5b506103d5600f5481565b3480156104b657600080fd5b506104036104c536600461278f565b610cf4565b3480156104d657600080fd5b506000546103d5565b3480156104eb57600080fd5b506103d5600e5481565b34801561050157600080fd5b50610403610510366004612774565b610d23565b34801561052157600080fd5b50600d54610447906001600160a01b031681565b34801561054157600080fd5b506104036105503660046125c8565b610d60565b34801561056157600080fd5b5061040361057036600461278f565b610d6b565b34801561058157600080fd5b506103d5610590366004612709565b610d9a565b3480156105a157600080fd5b506104036105b036600461278f565b610e6e565b3480156105c157600080fd5b506103d560125481565b3480156105d757600080fd5b506104036105e636600461278f565b610ea5565b3480156105f757600080fd5b506104036106063660046127e2565b610ed4565b610403610619366004612817565b610f0a565b34801561062a57600080fd5b50610403610639366004612538565b6111eb565b34801561064a57600080fd5b5060115461038a90610100900460ff1681565b34801561066957600080fd5b5061040361126b565b34801561067e57600080fd5b5061040361068d3660046125c8565b611338565b34801561069e57600080fd5b506104036106ad36600461278f565b611353565b3480156106be57600080fd5b506103d560135481565b3480156106d457600080fd5b506103d56106e336600461278f565b611382565b3480156106f457600080fd5b5061044761070336600461278f565b6113a9565b34801561071457600080fd5b506103d560085481565b34801561072a57600080fd5b5061040361073936600461278f565b6113bb565b34801561074a57600080fd5b506103d5610759366004612483565b6113ea565b34801561076a57600080fd5b50610403611438565b34801561077f57600080fd5b5061040361078e36600461278f565b61146e565b34801561079f57600080fd5b506104036107ae36600461278f565b61149d565b3480156107bf57600080fd5b506104036107ce36600461278f565b6114cc565b3480156107df57600080fd5b506007546001600160a01b0316610447565b3480156107fd57600080fd5b5061081161080c36600461278f565b6114fb565b6040805182516001600160a01b031681526020928301516001600160401b03169281019290925201610396565b34801561084a57600080fd5b506104036108593660046127e2565b611518565b34801561086a57600080fd5b5061038a610879366004612733565b61154e565b34801561088a57600080fd5b5061041a6115d2565b34801561089f57600080fd5b506104036108ae3660046126df565b6115e1565b3480156108bf57600080fd5b506103d560105481565b3480156108d557600080fd5b506104036108e4366004612604565b611677565b3480156108f557600080fd5b5061041a61090436600461278f565b6116b1565b34801561091557600080fd5b50610403610924366004612483565b611737565b34801561093557600080fd5b506103d560095481565b34801561094b57600080fd5b506103d561095a366004612483565b611783565b34801561096b57600080fd5b506103d561097a36600461278f565b61178e565b34801561098b57600080fd5b5061038a61099a3660046124a5565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b6104036109d636600461278f565b61179e565b3480156109e757600080fd5b506104036109f6366004612483565b6119fe565b348015610a0757600080fd5b50610403610a163660046124d8565b611a96565b348015610a2757600080fd5b50610403610a36366004612774565b611adf565b348015610a4757600080fd5b50610403610a563660046127e2565b611b23565b60006001600160e01b031982166380ac58cd60e01b1480610a8c57506001600160e01b03198216635b5e139f60e01b145b80610aa757506001600160e01b0319821663780e9d6360e01b145b80610ac257506301ffc9a760e01b6001600160e01b03198316145b92915050565b6007546001600160a01b03163314610afb5760405162461bcd60e51b8152600401610af2906129ab565b60405180910390fd5b600f55565b606060018054610b0f90612a6e565b80601f0160208091040260200160405190810160405280929190818152602001828054610b3b90612a6e565b8015610b885780601f10610b5d57610100808354040283529160200191610b88565b820191906000526020600020905b815481529060010190602001808311610b6b57829003601f168201915b5050505050905090565b6000610b9f826000541190565b610bbc576040516333d1c03960e21b815260040160405180910390fd5b506000908152600560205260409020546001600160a01b031690565b6000610be3826113a9565b9050806001600160a01b0316836001600160a01b03161415610c185760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b03821614801590610c385750610c36813361099a565b155b15610c56576040516367d9dca160e11b815260040160405180910390fd5b610c61838383611b59565b505050565b600c8054610c7390612a6e565b80601f0160208091040260200160405190810160405280929190818152602001828054610c9f90612a6e565b8015610cec5780601f10610cc157610100808354040283529160200191610cec565b820191906000526020600020905b815481529060010190602001808311610ccf57829003601f168201915b505050505081565b6007546001600160a01b03163314610d1e5760405162461bcd60e51b8152600401610af2906129ab565b600e55565b6007546001600160a01b03163314610d4d5760405162461bcd60e51b8152600401610af2906129ab565b6011805460ff1916911515919091179055565b610c61838383611bb5565b6007546001600160a01b03163314610d955760405162461bcd60e51b8152600401610af2906129ab565b601255565b6000610da5836113ea565b8210610dc4576040516306ed618760e11b815260040160405180910390fd5b600080549080805b83811015610e5c576000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b9091046001600160401b03169183019190915215610e1e57805192505b876001600160a01b0316836001600160a01b03161415610e535786841415610e4c57509350610ac292505050565b6001909301925b50600101610dcc565b50610e65612ad8565b50505092915050565b6007546001600160a01b03163314610e985760405162461bcd60e51b8152600401610af2906129ab565b610ea23382611dd2565b50565b6007546001600160a01b03163314610ecf5760405162461bcd60e51b8152600401610af2906129ab565b601455565b6007546001600160a01b03163314610efe5760405162461bcd60e51b8152600401610af2906129ab565b610c61600b838361233b565b601254421015610f5c5760405162461bcd60e51b815260206004820152601b60248201527f6e6f7420616c6c6f776c6973742073616c652074696d652079657400000000006044820152606401610af2565b601154610100900460ff16610fa95760405162461bcd60e51b81526020600482015260136024820152721b5a5b9d1a5b99c81b9bdd08195b98589b1959606a1b6044820152606401610af2565b323314610ff05760405162461bcd60e51b815260206004820152601560248201527418dbdb9d1c9858dd1cc81b9bdd08185b1b1bddd959605a1b6044820152606401610af2565b610ff98361178e565b34146110355760405162461bcd60e51b815260206004820152600b60248201526a77726f6e672076616c756560a81b6044820152606401610af2565b61103f828261154e565b61109c5760405162461bcd60e51b815260206004820152602860248201527f6164647265737320737570706c696564206973206e6f74206f6e2074686520616044820152671b1b1bdddb1a5cdd60c21b6064820152608401610af2565b601454836110a933611df0565b6110b391906129e0565b11156111015760405162461bcd60e51b815260206004820152601c60248201527f65786365656473206d61782077616c6c657420616c6c6f776c697374000000006044820152606401610af2565b6009546000541061113f5760405162461bcd60e51b81526020600482015260086024820152671cdbdb19081bdd5d60c21b6044820152606401610af2565b6009548361114c60005490565b61115691906129e0565b11156111995760405162461bcd60e51b815260206004820152601260248201527165786365656473206d617820737570706c7960701b6044820152606401610af2565b6013548311156111e15760405162461bcd60e51b815260206004820152601360248201527232bc31b2b2b2399036b0bc103832b9103a3c3760691b6044820152606401610af2565b610c613384611dd2565b60005b8381101561126257611250878787878581811061120d5761120d612b1a565b9050602002013586868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061167792505050565b8061125a81612aa9565b9150506111ee565b50505050505050565b6007546001600160a01b031633146112955760405162461bcd60e51b8152600401610af2906129ab565b600d546040516000916001600160a01b03169047908381818185875af1925050503d80600081146112e2576040519150601f19603f3d011682016040523d82523d6000602084013e6112e7565b606091505b5050905080610ea25760405162461bcd60e51b815260206004820152601860248201527f6661696c656420746f207769746864726177206d6f6e657900000000000000006044820152606401610af2565b610c6183838360405180602001604052806000815250611677565b6007546001600160a01b0316331461137d5760405162461bcd60e51b8152600401610af2906129ab565b601355565b6000805482106113a5576040516329c8c00760e21b815260040160405180910390fd5b5090565b60006113b482611e45565b5192915050565b6007546001600160a01b031633146113e55760405162461bcd60e51b8152600401610af2906129ab565b600955565b60006001600160a01b038216611413576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600460205260409020546001600160801b031690565b6007546001600160a01b031633146114625760405162461bcd60e51b8152600401610af2906129ab565b61146c6000611ed9565b565b6007546001600160a01b031633146114985760405162461bcd60e51b8152600401610af2906129ab565b601555565b6007546001600160a01b031633146114c75760405162461bcd60e51b8152600401610af2906129ab565b600855565b6007546001600160a01b031633146114f65760405162461bcd60e51b8152600401610af2906129ab565b601055565b6040805180820190915260008082526020820152610ac282611e45565b6007546001600160a01b031633146115425760405162461bcd60e51b8152600401610af2906129ab565b610c61600a838361233b565b6040516bffffffffffffffffffffffff193360601b16602082015260009081906034016040516020818303038152906040528051906020012090506115ca848480806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506015549150849050611f2b565b949350505050565b606060028054610b0f90612a6e565b6001600160a01b03821633141561160b5760405163b06307db60e01b815260040160405180910390fd5b3360008181526006602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b611682848484611bb5565b61168e84848484611fda565b6116ab576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b60606116be826000541190565b6117025760405162461bcd60e51b8152602060048201526015602482015274546f6b656e20646f6573206e6f742065786973742160581b6044820152606401610af2565b600a61170d836120e8565b600b60405160200161172193929190612928565b6040516020818303038152906040529050919050565b6007546001600160a01b031633146117615760405162461bcd60e51b8152600401610af2906129ab565b600d80546001600160a01b0319166001600160a01b0392909216919091179055565b6000610ac282611df0565b600081600854610ac29190612a0c565b600e544210156117f05760405162461bcd60e51b815260206004820152601860248201527f6e6f74207075626c69632073616c652074696d652079657400000000000000006044820152606401610af2565b60115460ff166118385760405162461bcd60e51b81526020600482015260136024820152721b5a5b9d1a5b99c81b9bdd08195b98589b1959606a1b6044820152606401610af2565b32331461187f5760405162461bcd60e51b815260206004820152601560248201527418dbdb9d1c9858dd1cc81b9bdd08185b1b1bddd959605a1b6044820152606401610af2565b6118888161178e565b34146118c45760405162461bcd60e51b815260206004820152600b60248201526a77726f6e672076616c756560a81b6044820152606401610af2565b601054816118d133611df0565b6118db91906129e0565b111561191e5760405162461bcd60e51b8152602060048201526012602482015271195e18d959591cc81b585e081dd85b1b195d60721b6044820152606401610af2565b6009546000541061195c5760405162461bcd60e51b81526020600482015260086024820152671cdbdb19081bdd5d60c21b6044820152606401610af2565b6009548161196960005490565b61197391906129e0565b11156119b65760405162461bcd60e51b815260206004820152601260248201527165786365656473206d617820737570706c7960701b6044820152606401610af2565b600f54811115610e985760405162461bcd60e51b815260206004820152601360248201527232bc31b2b2b2399036b0bc103832b9103a3c3760691b6044820152606401610af2565b6007546001600160a01b03163314611a285760405162461bcd60e51b8152600401610af2906129ab565b6001600160a01b038116611a8d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610af2565b610ea281611ed9565b8060005b81811015611ad757611ac58686868685818110611ab957611ab9612b1a565b90506020020135610d60565b80611acf81612aa9565b915050611a9a565b505050505050565b6007546001600160a01b03163314611b095760405162461bcd60e51b8152600401610af2906129ab565b601180549115156101000261ff0019909216919091179055565b6007546001600160a01b03163314611b4d5760405162461bcd60e51b8152600401610af2906129ab565b610c61600c838361233b565b60008281526005602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000611bc082611e45565b80519091506000906001600160a01b0316336001600160a01b03161480611bf7575033611bec84610b92565b6001600160a01b0316145b80611c0957508151611c09903361099a565b905080611c2957604051632ce44b5f60e11b815260040160405180910390fd5b846001600160a01b031682600001516001600160a01b031614611c5e5760405162a1148160e81b815260040160405180910390fd5b6001600160a01b038416611c8557604051633a954ecd60e21b815260040160405180910390fd5b611c956000848460000151611b59565b6001600160a01b03858116600090815260046020908152604080832080546001600160801b03198082166001600160801b03928316600019018316179092558986168086528386208054938416938316600190810190931693909317909255888552600390935281842080546001600160e01b031916909117600160a01b426001600160401b031602179055908601808352912054909116611d8857611d3c816000541190565b15611d8857825160008281526003602090815260409091208054918601516001600160401b0316600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b611dec8282604051806020016040528060008152506121e5565b5050565b60006001600160a01b038216611e19576040516335ebb31960e01b815260040160405180910390fd5b506001600160a01b0316600090815260046020526040902054600160801b90046001600160801b031690565b6040805180820190915260008082526020820152611e64826000541190565b611e8157604051636f96cda160e11b815260040160405180910390fd5b815b6000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b9091046001600160401b03169183019190915215611ecf579392505050565b5060001901611e83565b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600081815b8551811015611fcf576000868281518110611f4d57611f4d612b1a565b60200260200101519050808311611f8f576040805160208101859052908101829052606001604051602081830303815290604052805190602001209250611fbc565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b5080611fc781612aa9565b915050611f30565b509092149392505050565b60006001600160a01b0384163b156120dd57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061201e90339089908890889060040161295b565b602060405180830381600087803b15801561203857600080fd5b505af1925050508015612068575060408051601f3d908101601f19168201909252612065918101906127c5565b60015b6120c3573d808015612096576040519150601f19603f3d011682016040523d82523d6000602084013e61209b565b606091505b5080516120bb576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506115ca565b506001949350505050565b60608161210c5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612136578061212081612aa9565b915061212f9050600a836129f8565b9150612110565b6000816001600160401b0381111561215057612150612b30565b6040519080825280601f01601f19166020018201604052801561217a576020820181803683370190505b5090505b84156115ca5761218f600183612a2b565b915061219c600a86612ac4565b6121a79060306129e0565b60f81b8183815181106121bc576121bc612b1a565b60200101906001600160f81b031916908160001a9053506121de600a866129f8565b945061217e565b610c6183838360016000546001600160a01b03851661221657604051622e076360e81b815260040160405180910390fd5b836122345760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03851660008181526004602090815260408083208054600160801b6001600160801b031982166001600160801b039283168c01831690811782900483168c01909216021790558483526003909152812080546001600160e01b031916909217600160a01b426001600160401b0316021790915581905b858110156123325760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a483801561230857506123066000888488611fda565b155b15612326576040516368d2bf6b60e11b815260040160405180910390fd5b600191820191016122b1565b50600055611dcb565b82805461234790612a6e565b90600052602060002090601f01602090048101928261236957600085556123af565b82601f106123825782800160ff198235161785556123af565b828001600101855582156123af579182015b828111156123af578235825591602001919060010190612394565b506113a59291505b808211156113a557600081556001016123b7565b80356001600160a01b03811681146123e257600080fd5b919050565b60008083601f8401126123f957600080fd5b5081356001600160401b0381111561241057600080fd5b6020830191508360208260051b850101111561242b57600080fd5b9250929050565b803580151581146123e257600080fd5b60008083601f84011261245457600080fd5b5081356001600160401b0381111561246b57600080fd5b60208301915083602082850101111561242b57600080fd5b60006020828403121561249557600080fd5b61249e826123cb565b9392505050565b600080604083850312156124b857600080fd5b6124c1836123cb565b91506124cf602084016123cb565b90509250929050565b600080600080606085870312156124ee57600080fd5b6124f7856123cb565b9350612505602086016123cb565b925060408501356001600160401b0381111561252057600080fd5b61252c878288016123e7565b95989497509550505050565b6000806000806000806080878903121561255157600080fd5b61255a876123cb565b9550612568602088016123cb565b945060408701356001600160401b038082111561258457600080fd5b6125908a838b016123e7565b909650945060608901359150808211156125a957600080fd5b506125b689828a01612442565b979a9699509497509295939492505050565b6000806000606084860312156125dd57600080fd5b6125e6846123cb565b92506125f4602085016123cb565b9150604084013590509250925092565b6000806000806080858703121561261a57600080fd5b612623856123cb565b9350612631602086016123cb565b92506040850135915060608501356001600160401b038082111561265457600080fd5b818701915087601f83011261266857600080fd5b81358181111561267a5761267a612b30565b604051601f8201601f19908116603f011681019083821181831017156126a2576126a2612b30565b816040528281528a60208487010111156126bb57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b600080604083850312156126f257600080fd5b6126fb836123cb565b91506124cf60208401612432565b6000806040838503121561271c57600080fd5b612725836123cb565b946020939093013593505050565b6000806020838503121561274657600080fd5b82356001600160401b0381111561275c57600080fd5b612768858286016123e7565b90969095509350505050565b60006020828403121561278657600080fd5b61249e82612432565b6000602082840312156127a157600080fd5b5035919050565b6000602082840312156127ba57600080fd5b813561249e81612b46565b6000602082840312156127d757600080fd5b815161249e81612b46565b600080602083850312156127f557600080fd5b82356001600160401b0381111561280b57600080fd5b61276885828601612442565b60008060006040848603121561282c57600080fd5b8335925060208401356001600160401b0381111561284957600080fd5b612855868287016123e7565b9497909650939450505050565b6000815180845261287a816020860160208601612a42565b601f01601f19169290920160200192915050565b8054600090600181811c90808316806128a857607f831692505b60208084108214156128ca57634e487b7160e01b600052602260045260246000fd5b8180156128de57600181146128ef5761291c565b60ff1986168952848901965061291c565b60008881526020902060005b868110156129145781548b8201529085019083016128fb565b505084890196505b50505050505092915050565b6000612934828661288e565b8451612944818360208901612a42565b6129508183018661288e565b979650505050505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061298e90830184612862565b9695505050505050565b60208152600061249e6020830184612862565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600082198211156129f3576129f3612aee565b500190565b600082612a0757612a07612b04565b500490565b6000816000190483118215151615612a2657612a26612aee565b500290565b600082821015612a3d57612a3d612aee565b500390565b60005b83811015612a5d578181015183820152602001612a45565b838111156116ab5750506000910152565b600181811c90821680612a8257607f821691505b60208210811415612aa357634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612abd57612abd612aee565b5060010190565b600082612ad357612ad3612b04565b500690565b634e487b7160e01b600052600160045260246000fd5b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610ea257600080fdfea26469706673582212207b085f4c93bd499e1375dafc61b0c17e08691c750d7c68f6a390ce417cb38b6664736f6c63430008070033

Deployed Bytecode

0x60806040526004361061036b5760003560e01c80634f6ccce7116101c6578063a22cb465116100f7578063e757223011610095578063f2fde38b1161006f578063f2fde38b146109db578063f487c602146109fb578063f603928714610a1b578063ffe630b514610a3b57600080fd5b8063e75722301461095f578063e985e9c51461097f578063efd0cbf9146109c857600080fd5b8063c87b56dd116100d1578063c87b56dd146108e9578063d0a5eb4e14610909578063d5abeb0114610929578063dc33e6811461093f57600080fd5b8063a22cb46514610893578063b029a514146108b3578063b88d4fde146108c957600080fd5b80638774e5d0116101645780639231ab2a1161013e5780639231ab2a146107f157806395652cfa1461083e5780639591ab5d1461085e57806395d89b411461087e57600080fd5b80638774e5d0146107935780638b533ea4146107b35780638da5cb5b146107d357600080fd5b80636f8b44b0116101a05780636f8b44b01461071e57806370a082311461073e578063715018a61461075e5780637cb647591461077357600080fd5b80634f6ccce7146106c85780636352211e146106e85780636817c76c1461070857600080fd5b806323b872dd116102a05780633671f8cf1161023e5780633ccfd60b116102185780633ccfd60b1461065d57806342842e0e1461067257806346b07e4b146106925780634b4c25b3146106b257600080fd5b80633671f8cf1461060b5780633a3473b61461061e5780633ca4fc291461063e57600080fd5b806333f88d221161027a57806333f88d221461059557806334a743ce146105b557806334b1d403146105cb57806334e99fb6146105eb57600080fd5b806323b872dd1461053557806325f0f6a5146105555780632f745c591461057557600080fd5b80630f7309e81161030d57806318160ddd116102e757806318160ddd146104ca5780632344be0a146104df5780632373ac22146104f557806323b62b751461051557600080fd5b80630f7309e81461047f578063116264631461049457806311b7e5e7146104aa57600080fd5b8063036e6ce511610349578063036e6ce5146103e357806306fdde0314610405578063081812fc14610427578063095ea7b31461045f57600080fd5b80630116bc2d1461037057806301ffc9a71461039f578063031ee82b146103bf575b600080fd5b34801561037c57600080fd5b5060115461038a9060ff1681565b60405190151581526020015b60405180910390f35b3480156103ab57600080fd5b5061038a6103ba3660046127a8565b610a5b565b3480156103cb57600080fd5b506103d560145481565b604051908152602001610396565b3480156103ef57600080fd5b506104036103fe36600461278f565b610ac8565b005b34801561041157600080fd5b5061041a610b00565b6040516103969190612998565b34801561043357600080fd5b5061044761044236600461278f565b610b92565b6040516001600160a01b039091168152602001610396565b34801561046b57600080fd5b5061040361047a366004612709565b610bd8565b34801561048b57600080fd5b5061041a610c66565b3480156104a057600080fd5b506103d5600f5481565b3480156104b657600080fd5b506104036104c536600461278f565b610cf4565b3480156104d657600080fd5b506000546103d5565b3480156104eb57600080fd5b506103d5600e5481565b34801561050157600080fd5b50610403610510366004612774565b610d23565b34801561052157600080fd5b50600d54610447906001600160a01b031681565b34801561054157600080fd5b506104036105503660046125c8565b610d60565b34801561056157600080fd5b5061040361057036600461278f565b610d6b565b34801561058157600080fd5b506103d5610590366004612709565b610d9a565b3480156105a157600080fd5b506104036105b036600461278f565b610e6e565b3480156105c157600080fd5b506103d560125481565b3480156105d757600080fd5b506104036105e636600461278f565b610ea5565b3480156105f757600080fd5b506104036106063660046127e2565b610ed4565b610403610619366004612817565b610f0a565b34801561062a57600080fd5b50610403610639366004612538565b6111eb565b34801561064a57600080fd5b5060115461038a90610100900460ff1681565b34801561066957600080fd5b5061040361126b565b34801561067e57600080fd5b5061040361068d3660046125c8565b611338565b34801561069e57600080fd5b506104036106ad36600461278f565b611353565b3480156106be57600080fd5b506103d560135481565b3480156106d457600080fd5b506103d56106e336600461278f565b611382565b3480156106f457600080fd5b5061044761070336600461278f565b6113a9565b34801561071457600080fd5b506103d560085481565b34801561072a57600080fd5b5061040361073936600461278f565b6113bb565b34801561074a57600080fd5b506103d5610759366004612483565b6113ea565b34801561076a57600080fd5b50610403611438565b34801561077f57600080fd5b5061040361078e36600461278f565b61146e565b34801561079f57600080fd5b506104036107ae36600461278f565b61149d565b3480156107bf57600080fd5b506104036107ce36600461278f565b6114cc565b3480156107df57600080fd5b506007546001600160a01b0316610447565b3480156107fd57600080fd5b5061081161080c36600461278f565b6114fb565b6040805182516001600160a01b031681526020928301516001600160401b03169281019290925201610396565b34801561084a57600080fd5b506104036108593660046127e2565b611518565b34801561086a57600080fd5b5061038a610879366004612733565b61154e565b34801561088a57600080fd5b5061041a6115d2565b34801561089f57600080fd5b506104036108ae3660046126df565b6115e1565b3480156108bf57600080fd5b506103d560105481565b3480156108d557600080fd5b506104036108e4366004612604565b611677565b3480156108f557600080fd5b5061041a61090436600461278f565b6116b1565b34801561091557600080fd5b50610403610924366004612483565b611737565b34801561093557600080fd5b506103d560095481565b34801561094b57600080fd5b506103d561095a366004612483565b611783565b34801561096b57600080fd5b506103d561097a36600461278f565b61178e565b34801561098b57600080fd5b5061038a61099a3660046124a5565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b6104036109d636600461278f565b61179e565b3480156109e757600080fd5b506104036109f6366004612483565b6119fe565b348015610a0757600080fd5b50610403610a163660046124d8565b611a96565b348015610a2757600080fd5b50610403610a36366004612774565b611adf565b348015610a4757600080fd5b50610403610a563660046127e2565b611b23565b60006001600160e01b031982166380ac58cd60e01b1480610a8c57506001600160e01b03198216635b5e139f60e01b145b80610aa757506001600160e01b0319821663780e9d6360e01b145b80610ac257506301ffc9a760e01b6001600160e01b03198316145b92915050565b6007546001600160a01b03163314610afb5760405162461bcd60e51b8152600401610af2906129ab565b60405180910390fd5b600f55565b606060018054610b0f90612a6e565b80601f0160208091040260200160405190810160405280929190818152602001828054610b3b90612a6e565b8015610b885780601f10610b5d57610100808354040283529160200191610b88565b820191906000526020600020905b815481529060010190602001808311610b6b57829003601f168201915b5050505050905090565b6000610b9f826000541190565b610bbc576040516333d1c03960e21b815260040160405180910390fd5b506000908152600560205260409020546001600160a01b031690565b6000610be3826113a9565b9050806001600160a01b0316836001600160a01b03161415610c185760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b03821614801590610c385750610c36813361099a565b155b15610c56576040516367d9dca160e11b815260040160405180910390fd5b610c61838383611b59565b505050565b600c8054610c7390612a6e565b80601f0160208091040260200160405190810160405280929190818152602001828054610c9f90612a6e565b8015610cec5780601f10610cc157610100808354040283529160200191610cec565b820191906000526020600020905b815481529060010190602001808311610ccf57829003601f168201915b505050505081565b6007546001600160a01b03163314610d1e5760405162461bcd60e51b8152600401610af2906129ab565b600e55565b6007546001600160a01b03163314610d4d5760405162461bcd60e51b8152600401610af2906129ab565b6011805460ff1916911515919091179055565b610c61838383611bb5565b6007546001600160a01b03163314610d955760405162461bcd60e51b8152600401610af2906129ab565b601255565b6000610da5836113ea565b8210610dc4576040516306ed618760e11b815260040160405180910390fd5b600080549080805b83811015610e5c576000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b9091046001600160401b03169183019190915215610e1e57805192505b876001600160a01b0316836001600160a01b03161415610e535786841415610e4c57509350610ac292505050565b6001909301925b50600101610dcc565b50610e65612ad8565b50505092915050565b6007546001600160a01b03163314610e985760405162461bcd60e51b8152600401610af2906129ab565b610ea23382611dd2565b50565b6007546001600160a01b03163314610ecf5760405162461bcd60e51b8152600401610af2906129ab565b601455565b6007546001600160a01b03163314610efe5760405162461bcd60e51b8152600401610af2906129ab565b610c61600b838361233b565b601254421015610f5c5760405162461bcd60e51b815260206004820152601b60248201527f6e6f7420616c6c6f776c6973742073616c652074696d652079657400000000006044820152606401610af2565b601154610100900460ff16610fa95760405162461bcd60e51b81526020600482015260136024820152721b5a5b9d1a5b99c81b9bdd08195b98589b1959606a1b6044820152606401610af2565b323314610ff05760405162461bcd60e51b815260206004820152601560248201527418dbdb9d1c9858dd1cc81b9bdd08185b1b1bddd959605a1b6044820152606401610af2565b610ff98361178e565b34146110355760405162461bcd60e51b815260206004820152600b60248201526a77726f6e672076616c756560a81b6044820152606401610af2565b61103f828261154e565b61109c5760405162461bcd60e51b815260206004820152602860248201527f6164647265737320737570706c696564206973206e6f74206f6e2074686520616044820152671b1b1bdddb1a5cdd60c21b6064820152608401610af2565b601454836110a933611df0565b6110b391906129e0565b11156111015760405162461bcd60e51b815260206004820152601c60248201527f65786365656473206d61782077616c6c657420616c6c6f776c697374000000006044820152606401610af2565b6009546000541061113f5760405162461bcd60e51b81526020600482015260086024820152671cdbdb19081bdd5d60c21b6044820152606401610af2565b6009548361114c60005490565b61115691906129e0565b11156111995760405162461bcd60e51b815260206004820152601260248201527165786365656473206d617820737570706c7960701b6044820152606401610af2565b6013548311156111e15760405162461bcd60e51b815260206004820152601360248201527232bc31b2b2b2399036b0bc103832b9103a3c3760691b6044820152606401610af2565b610c613384611dd2565b60005b8381101561126257611250878787878581811061120d5761120d612b1a565b9050602002013586868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061167792505050565b8061125a81612aa9565b9150506111ee565b50505050505050565b6007546001600160a01b031633146112955760405162461bcd60e51b8152600401610af2906129ab565b600d546040516000916001600160a01b03169047908381818185875af1925050503d80600081146112e2576040519150601f19603f3d011682016040523d82523d6000602084013e6112e7565b606091505b5050905080610ea25760405162461bcd60e51b815260206004820152601860248201527f6661696c656420746f207769746864726177206d6f6e657900000000000000006044820152606401610af2565b610c6183838360405180602001604052806000815250611677565b6007546001600160a01b0316331461137d5760405162461bcd60e51b8152600401610af2906129ab565b601355565b6000805482106113a5576040516329c8c00760e21b815260040160405180910390fd5b5090565b60006113b482611e45565b5192915050565b6007546001600160a01b031633146113e55760405162461bcd60e51b8152600401610af2906129ab565b600955565b60006001600160a01b038216611413576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600460205260409020546001600160801b031690565b6007546001600160a01b031633146114625760405162461bcd60e51b8152600401610af2906129ab565b61146c6000611ed9565b565b6007546001600160a01b031633146114985760405162461bcd60e51b8152600401610af2906129ab565b601555565b6007546001600160a01b031633146114c75760405162461bcd60e51b8152600401610af2906129ab565b600855565b6007546001600160a01b031633146114f65760405162461bcd60e51b8152600401610af2906129ab565b601055565b6040805180820190915260008082526020820152610ac282611e45565b6007546001600160a01b031633146115425760405162461bcd60e51b8152600401610af2906129ab565b610c61600a838361233b565b6040516bffffffffffffffffffffffff193360601b16602082015260009081906034016040516020818303038152906040528051906020012090506115ca848480806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506015549150849050611f2b565b949350505050565b606060028054610b0f90612a6e565b6001600160a01b03821633141561160b5760405163b06307db60e01b815260040160405180910390fd5b3360008181526006602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b611682848484611bb5565b61168e84848484611fda565b6116ab576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b60606116be826000541190565b6117025760405162461bcd60e51b8152602060048201526015602482015274546f6b656e20646f6573206e6f742065786973742160581b6044820152606401610af2565b600a61170d836120e8565b600b60405160200161172193929190612928565b6040516020818303038152906040529050919050565b6007546001600160a01b031633146117615760405162461bcd60e51b8152600401610af2906129ab565b600d80546001600160a01b0319166001600160a01b0392909216919091179055565b6000610ac282611df0565b600081600854610ac29190612a0c565b600e544210156117f05760405162461bcd60e51b815260206004820152601860248201527f6e6f74207075626c69632073616c652074696d652079657400000000000000006044820152606401610af2565b60115460ff166118385760405162461bcd60e51b81526020600482015260136024820152721b5a5b9d1a5b99c81b9bdd08195b98589b1959606a1b6044820152606401610af2565b32331461187f5760405162461bcd60e51b815260206004820152601560248201527418dbdb9d1c9858dd1cc81b9bdd08185b1b1bddd959605a1b6044820152606401610af2565b6118888161178e565b34146118c45760405162461bcd60e51b815260206004820152600b60248201526a77726f6e672076616c756560a81b6044820152606401610af2565b601054816118d133611df0565b6118db91906129e0565b111561191e5760405162461bcd60e51b8152602060048201526012602482015271195e18d959591cc81b585e081dd85b1b195d60721b6044820152606401610af2565b6009546000541061195c5760405162461bcd60e51b81526020600482015260086024820152671cdbdb19081bdd5d60c21b6044820152606401610af2565b6009548161196960005490565b61197391906129e0565b11156119b65760405162461bcd60e51b815260206004820152601260248201527165786365656473206d617820737570706c7960701b6044820152606401610af2565b600f54811115610e985760405162461bcd60e51b815260206004820152601360248201527232bc31b2b2b2399036b0bc103832b9103a3c3760691b6044820152606401610af2565b6007546001600160a01b03163314611a285760405162461bcd60e51b8152600401610af2906129ab565b6001600160a01b038116611a8d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610af2565b610ea281611ed9565b8060005b81811015611ad757611ac58686868685818110611ab957611ab9612b1a565b90506020020135610d60565b80611acf81612aa9565b915050611a9a565b505050505050565b6007546001600160a01b03163314611b095760405162461bcd60e51b8152600401610af2906129ab565b601180549115156101000261ff0019909216919091179055565b6007546001600160a01b03163314611b4d5760405162461bcd60e51b8152600401610af2906129ab565b610c61600c838361233b565b60008281526005602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000611bc082611e45565b80519091506000906001600160a01b0316336001600160a01b03161480611bf7575033611bec84610b92565b6001600160a01b0316145b80611c0957508151611c09903361099a565b905080611c2957604051632ce44b5f60e11b815260040160405180910390fd5b846001600160a01b031682600001516001600160a01b031614611c5e5760405162a1148160e81b815260040160405180910390fd5b6001600160a01b038416611c8557604051633a954ecd60e21b815260040160405180910390fd5b611c956000848460000151611b59565b6001600160a01b03858116600090815260046020908152604080832080546001600160801b03198082166001600160801b03928316600019018316179092558986168086528386208054938416938316600190810190931693909317909255888552600390935281842080546001600160e01b031916909117600160a01b426001600160401b031602179055908601808352912054909116611d8857611d3c816000541190565b15611d8857825160008281526003602090815260409091208054918601516001600160401b0316600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b611dec8282604051806020016040528060008152506121e5565b5050565b60006001600160a01b038216611e19576040516335ebb31960e01b815260040160405180910390fd5b506001600160a01b0316600090815260046020526040902054600160801b90046001600160801b031690565b6040805180820190915260008082526020820152611e64826000541190565b611e8157604051636f96cda160e11b815260040160405180910390fd5b815b6000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b9091046001600160401b03169183019190915215611ecf579392505050565b5060001901611e83565b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600081815b8551811015611fcf576000868281518110611f4d57611f4d612b1a565b60200260200101519050808311611f8f576040805160208101859052908101829052606001604051602081830303815290604052805190602001209250611fbc565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b5080611fc781612aa9565b915050611f30565b509092149392505050565b60006001600160a01b0384163b156120dd57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061201e90339089908890889060040161295b565b602060405180830381600087803b15801561203857600080fd5b505af1925050508015612068575060408051601f3d908101601f19168201909252612065918101906127c5565b60015b6120c3573d808015612096576040519150601f19603f3d011682016040523d82523d6000602084013e61209b565b606091505b5080516120bb576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506115ca565b506001949350505050565b60608161210c5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612136578061212081612aa9565b915061212f9050600a836129f8565b9150612110565b6000816001600160401b0381111561215057612150612b30565b6040519080825280601f01601f19166020018201604052801561217a576020820181803683370190505b5090505b84156115ca5761218f600183612a2b565b915061219c600a86612ac4565b6121a79060306129e0565b60f81b8183815181106121bc576121bc612b1a565b60200101906001600160f81b031916908160001a9053506121de600a866129f8565b945061217e565b610c6183838360016000546001600160a01b03851661221657604051622e076360e81b815260040160405180910390fd5b836122345760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03851660008181526004602090815260408083208054600160801b6001600160801b031982166001600160801b039283168c01831690811782900483168c01909216021790558483526003909152812080546001600160e01b031916909217600160a01b426001600160401b0316021790915581905b858110156123325760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a483801561230857506123066000888488611fda565b155b15612326576040516368d2bf6b60e11b815260040160405180910390fd5b600191820191016122b1565b50600055611dcb565b82805461234790612a6e565b90600052602060002090601f01602090048101928261236957600085556123af565b82601f106123825782800160ff198235161785556123af565b828001600101855582156123af579182015b828111156123af578235825591602001919060010190612394565b506113a59291505b808211156113a557600081556001016123b7565b80356001600160a01b03811681146123e257600080fd5b919050565b60008083601f8401126123f957600080fd5b5081356001600160401b0381111561241057600080fd5b6020830191508360208260051b850101111561242b57600080fd5b9250929050565b803580151581146123e257600080fd5b60008083601f84011261245457600080fd5b5081356001600160401b0381111561246b57600080fd5b60208301915083602082850101111561242b57600080fd5b60006020828403121561249557600080fd5b61249e826123cb565b9392505050565b600080604083850312156124b857600080fd5b6124c1836123cb565b91506124cf602084016123cb565b90509250929050565b600080600080606085870312156124ee57600080fd5b6124f7856123cb565b9350612505602086016123cb565b925060408501356001600160401b0381111561252057600080fd5b61252c878288016123e7565b95989497509550505050565b6000806000806000806080878903121561255157600080fd5b61255a876123cb565b9550612568602088016123cb565b945060408701356001600160401b038082111561258457600080fd5b6125908a838b016123e7565b909650945060608901359150808211156125a957600080fd5b506125b689828a01612442565b979a9699509497509295939492505050565b6000806000606084860312156125dd57600080fd5b6125e6846123cb565b92506125f4602085016123cb565b9150604084013590509250925092565b6000806000806080858703121561261a57600080fd5b612623856123cb565b9350612631602086016123cb565b92506040850135915060608501356001600160401b038082111561265457600080fd5b818701915087601f83011261266857600080fd5b81358181111561267a5761267a612b30565b604051601f8201601f19908116603f011681019083821181831017156126a2576126a2612b30565b816040528281528a60208487010111156126bb57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b600080604083850312156126f257600080fd5b6126fb836123cb565b91506124cf60208401612432565b6000806040838503121561271c57600080fd5b612725836123cb565b946020939093013593505050565b6000806020838503121561274657600080fd5b82356001600160401b0381111561275c57600080fd5b612768858286016123e7565b90969095509350505050565b60006020828403121561278657600080fd5b61249e82612432565b6000602082840312156127a157600080fd5b5035919050565b6000602082840312156127ba57600080fd5b813561249e81612b46565b6000602082840312156127d757600080fd5b815161249e81612b46565b600080602083850312156127f557600080fd5b82356001600160401b0381111561280b57600080fd5b61276885828601612442565b60008060006040848603121561282c57600080fd5b8335925060208401356001600160401b0381111561284957600080fd5b612855868287016123e7565b9497909650939450505050565b6000815180845261287a816020860160208601612a42565b601f01601f19169290920160200192915050565b8054600090600181811c90808316806128a857607f831692505b60208084108214156128ca57634e487b7160e01b600052602260045260246000fd5b8180156128de57600181146128ef5761291c565b60ff1986168952848901965061291c565b60008881526020902060005b868110156129145781548b8201529085019083016128fb565b505084890196505b50505050505092915050565b6000612934828661288e565b8451612944818360208901612a42565b6129508183018661288e565b979650505050505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061298e90830184612862565b9695505050505050565b60208152600061249e6020830184612862565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600082198211156129f3576129f3612aee565b500190565b600082612a0757612a07612b04565b500490565b6000816000190483118215151615612a2657612a26612aee565b500290565b600082821015612a3d57612a3d612aee565b500390565b60005b83811015612a5d578181015183820152602001612a45565b838111156116ab5750506000910152565b600181811c90821680612a8257607f821691505b60208210811415612aa357634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612abd57612abd612aee565b5060010190565b600082612ad357612ad3612b04565b500690565b634e487b7160e01b600052600160045260246000fd5b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610ea257600080fdfea26469706673582212207b085f4c93bd499e1375dafc61b0c17e08691c750d7c68f6a390ce417cb38b6664736f6c63430008070033

Loading...
Loading
Loading...
Loading
[ 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.