ETH Price: $2,614.74 (-0.44%)

Token

RebelMuzik (ONETIMELOVE)
 

Overview

Max Total Supply

82 ONETIMELOVE

Holders

26

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
leoluna.eth
Balance
2 ONETIMELOVE
0xb1422a9945256cfa1dfaf9e8f05966ee4ce78a90
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
RebelMuzik

Compiler Version
v0.8.12+commit.f00d7308

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 14 : RebelMuzik.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.11;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "./ERC721A.sol";

contract RebelMuzik is Ownable, ERC721A {
  using SafeMath for uint256;

  uint256 public collectionSize = 3305; 

  // === Max Mint Amounts per address ===
  uint256 public privateQty = 1;
  uint256 public VIPQty = 2;

// == Max Amount Per TX
  uint256 public publicAmountPerTx = 10;

  // === Reserved Mint Amounts ===
  uint256 public amountForPrivate = 100;
  uint256 public amountForVIPList = 800;

// === To Check Private and VIP total Supplies ===
  uint256 public totalPrivateMinted = 0;
  uint256 public totalVIPMinted = 0;

  // === Merkle List Configurations ===
  bytes32 public privateRoot;
  bytes32 public vipRoot;
  
  // === Price Configurations ===
  uint256 public vipPrice = 0.05 ether;
  uint256 public privatePrice = 0.05 ether;
  uint256 public publicPrice = 0.08 ether;

  // == WALLETS == //
  address private constant ADDR1 = 0x0C4d96B68F0c881f4F5226b555bce9c3Af56b609;
  address private constant ADDR2 = 0xAb15468c3CD3De12B4FE2e96aDAe9c1F3c3951Be;
  address private constant ADDR3 = 0xbee663FE84544Df22b445bd46772662e3Cce8816;
  address private constant ADDR4 = 0x3681D855bf1493cD008854b5958033C921c3Ee82;
  address private constant devWallet = 0x359763A3A49152455550A4f4F9e755481Dd3094c; // dev
  
  // == Sale State Configuration ===
  enum SaleState {
          OFF,
          PRIVATE,
          VIP,
          PUBLIC
      }

  SaleState public saleState = SaleState.OFF;

  string private baseURI;

  mapping(address => bool) private privateListMintTracker;
  mapping(address => uint256) private VIPListMintTracker;


  constructor(string memory initBaseUri, uint256 reserveAmount, uint256 teamReserveAmount) ERC721A("RebelMuzik", "ONETIMELOVE") {
    updateBaseUri(initBaseUri);
    ownerMint(ADDR2, 1);

    ownerMint(ADDR4, reserveAmount);
    ownerMint(devWallet, teamReserveAmount);
    ownerMint(ADDR1, teamReserveAmount);
    ownerMint(ADDR2, teamReserveAmount);
    ownerMint(ADDR3, teamReserveAmount);
    ownerMint(ADDR4, teamReserveAmount);
  }

    // *** Merkle Proofs ***
  // ===============================================================================

    function setPrivateRoot(bytes32 _privateRoot) public onlyOwner {
        privateRoot = _privateRoot;
    }

    function setVipRoot(bytes32 _vipRoot) public onlyOwner {
         vipRoot = _vipRoot;
    }

      function isPrivateValid(bytes32[] memory proof, bytes32 leaf) public view returns (bool) {
        return MerkleProof.verify(proof, privateRoot, leaf);
    }

      function isVipValid(bytes32[] memory proof, bytes32 leaf) public view returns (bool) {
        return MerkleProof.verify(proof, vipRoot, leaf);
    }

  // *** MINT FUNCTIONS ***
  // ===============================================================================
  /*
  * Private Sale Minting Function (Max 1)
  */
  function mintPrivateSale(bytes32[] calldata merkleProof) external payable
    {
      require(
        saleState == SaleState.PRIVATE, 
        "Private sale is not active"
        );
      require(
        isPrivateValid(merkleProof,
        keccak256(
            abi.encodePacked(
                msg.sender
                )
            )
        ),
        "Error - Verify Qualification"
    );
       require(
            privatePrice * privateQty <= msg.value,   
            "Insufficient funds sent"
        );
      require(
        privateListMintTracker[msg.sender] == false, 
        "Already Minted Max Amount."
        );
      require(
        totalPrivateMinted + privateQty <= amountForPrivate, 
        "Reached Private Sale Max Supply."
      );
      _safeMint(msg.sender, privateQty);
      privateListMintTracker[msg.sender] = true; 
      totalPrivateMinted = totalPrivateMinted + privateQty; 
  }

  // ===============================================================================
  /*
  * VIPList Minting Function (Max 2)
  */

  function mintVIPList(bytes32[] calldata merkleProof, uint256 quantity) external payable 
  {
      require(
        saleState == SaleState.VIP, 
        "VIP sale is not active"
      );
      require(
        isVipValid(merkleProof,
        keccak256(
            abi.encodePacked(
                msg.sender
                )
            )
        ),
        "Error - Verify Qualification"
    );
    require(
        vipPrice * quantity <= msg.value, 
        "Insufficient funds sent"
      );
    require(
      VIPListMintTracker[msg.sender] + quantity <= VIPQty, 
      "Too Many Minted."
      ); 
    secureVIPMint(quantity);
    VIPListMintTracker[msg.sender] = VIPListMintTracker[msg.sender] + quantity;  
    totalVIPMinted = totalVIPMinted + quantity;
  }
  // ===============================================================================
 /*
  * Public Sale Minting Function (Max 10 per tx)
  */
  function mintPublicSale(uint256 quantity) external payable 
    {
    require(
      saleState == SaleState.PUBLIC, 
      "Public sale is not active"
    );
    require(
        publicPrice * quantity <= msg.value, 
        "Insufficient funds sent"
    );
    require(
      quantity <= publicAmountPerTx,
      "Too many tokens for one transaction"
    );
    securePublicMint(quantity);
  }

    function securePublicMint(uint256 quantity) internal {
        require(
            quantity > 0, 
            "Quantity cannot be zero"
        );
        require(
            totalSupply().add(quantity) <= collectionSize, 
            "No items left to mint"
        );
        _safeMint(msg.sender, quantity);
    }
    
      function secureVIPMint(uint256 quantity) internal {
        require(
            quantity > 0, 
            "Quantity cannot be zero"
        );
        require(
          totalVIPMinted + quantity <= amountForVIPList, 
          "Reached VIP Sale Limit."
        );
        _safeMint(msg.sender, quantity);
    }

  // ===============================================================================



  function checkPrivateMinted(address owner) public view returns (bool) {
    return privateListMintTracker[owner];
  }

  function checkVIPMinted(address owner) public view returns (uint256) {
    return VIPListMintTracker[owner];
  }

  /*
  * Airdrop Mint Function
  */
    function _ownerMint(address to, uint256 numberOfTokens) private {
        require(
            totalSupply() + numberOfTokens <= collectionSize,
            "Not enough tokens left"
        );

            _safeMint(to, numberOfTokens);
        }

    function ownerMint(address to, uint256 numberOfTokens) public onlyOwner {
        _ownerMint(to, numberOfTokens);
    }

  // *** START/STOP SALES ***
  // ===============================================================================
    /**
    * Set Sale State
    * @param saleState_ 0: OFF, 1: PRIVATE, 2: VIP, 3: PUBLIC
    */
  function setSaleState(SaleState saleState_) external onlyOwner {
      saleState = saleState_;
  }

  // *** METADATA URI ***
  // ===============================================================================
  /**
  * Sets base URI
  * @dev Only use this method after sell out as it will leak unminted token data.
  */
    function updateBaseUri(string memory baseUri) public onlyOwner {
        baseURI = baseUri;
    }


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

  /** 
  * Change Private Mint Price
  * param _newPrivatePrice Amount in WEI
  */
  function setPrivatePrice(uint256 _newPrivatePrice) public onlyOwner {
        privatePrice = _newPrivatePrice;
  }

  /** 
  * Change VIP Mint Price
  * param _newVIPPrice Amount in WEI
  */
  function setVIPPrice(uint256 _newVIPPrice) public onlyOwner {
        vipPrice = _newVIPPrice;
  }

  /** 
  * Change Public Mint Price
  * param _newPublicPrice Amount in WEI
  */
  function setPublicPrice(uint256 _newPublicPrice) public onlyOwner {
        publicPrice = _newPublicPrice;
  }

  // == SET QUANTITIES == //

    function setPrivateQty(uint256 _newPrivateQty) public onlyOwner {
        privateQty = _newPrivateQty;
  }

    function setVIPQty(uint256 _newVIPQty) public onlyOwner {
        VIPQty = _newVIPQty;
  }

    function setPublicQty(uint256 _newPublicAmountPerTx) public onlyOwner {
        publicAmountPerTx = _newPublicAmountPerTx;
  }

  // == SET SUPPLIES == //

    function lowerSupply(uint256 _collectionSize) public onlyOwner {
    require(
        _collectionSize <= collectionSize, 
        "Can only reduce supply"
    );
        collectionSize = _collectionSize;
    }


    function setSupplyForPrivate(uint256 _amountForPrivate) public onlyOwner {
      amountForPrivate = _amountForPrivate;
    }

    function setSupplyForVIP(uint256 _amountForVIPList) public onlyOwner {
      amountForVIPList  = _amountForVIPList;
    }

    function withdraw() public onlyOwner {
        uint balance = address(this).balance;
        payable(ADDR1).transfer(balance * 42 / 100);
        payable(ADDR2).transfer(balance * 23 / 100);
        payable(ADDR3).transfer(balance * 18 / 100);
        payable(ADDR4).transfer(balance * 9 / 100);
        payable(devWallet).transfer(balance * 8 / 100);
  }
}

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

pragma solidity ^0.8.0;

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

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata and Enumerable extension. Built to optimize for lower gas during batch mints.
 *
 * Assumes serials are sequentially minted starting at 0 (e.g. 0, 1, 2, 3..).
 *
 * 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) {
        require(index < totalSupply(), 'ERC721A: global index out of bounds');
        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) {
        require(index < balanceOf(owner), 'ERC721A: owner index out of bounds');
        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++;
                }
            }
        }

        revert('ERC721A: unable to get token of owner by index');
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId, owner);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public 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);
        require(
            _checkOnERC721Received(from, to, tokenId, _data),
            'ERC721A: transfer to non ERC721Receiver implementer'
        );
    }

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted (`_mint`),
     */
    function _exists(uint256 tokenId) internal view returns (bool) {
        return tokenId < currentIndex;
    }

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

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

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event.
     */
    function _mint(
        address to,
        uint256 quantity,
        bytes memory _data,
        bool safe
    ) internal {
        uint256 startTokenId = currentIndex;
        require(to != address(0), 'ERC721A: mint to the zero address');
        require(quantity != 0, 'ERC721A: quantity must be greater than 0');

        _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) {
                    require(
                        _checkOnERC721Received(address(0), to, updatedIndex, _data),
                        'ERC721A: transfer to non ERC721Receiver implementer'
                    );
                }

                updatedIndex++;
            }

            currentIndex = updatedIndex;
        }

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

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

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

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

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

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // 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('ERC721A: transfer to non ERC721Receiver implementer');
                } else {
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

    /**
     * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting.
     *
     * startTokenId - the first token id to be transferred
     * quantity - the amount to be transferred
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     */
    function _beforeTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}

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

File 3 of 14 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

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

    /**
     * @dev Calldata version of {verify}
     *
     * _Available since v4.7._
     */
    function verifyCalldata(
        bytes32[] calldata proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProofCalldata(proof, leaf) == root;
    }

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

    /**
     * @dev Calldata version of {processProof}
     *
     * _Available since v4.7._
     */
    function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Returns true if the `leaves` can be proved to be a part of a Merkle tree defined by
     * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}.
     *
     * _Available since v4.7._
     */
    function multiProofVerify(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProof(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Calldata version of {multiProofVerify}
     *
     * _Available since v4.7._
     */
    function multiProofVerifyCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProofCalldata(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Returns the root of a tree reconstructed from `leaves` and the sibling nodes in `proof`,
     * consuming from one or the other at each step according to the instructions given by
     * `proofFlags`.
     *
     * _Available since v4.7._
     */
    function processMultiProof(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    /**
     * @dev Calldata version of {processMultiProof}
     *
     * _Available since v4.7._
     */
    function processMultiProofCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) {
        return a < b ? _efficientHash(a, b) : _efficientHash(b, a);
    }

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        /// @solidity memory-safe-assembly
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}

File 4 of 14 : SafeMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 5 of 14 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

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

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 7 of 14 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
    }
}

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

pragma solidity ^0.8.0;

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

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

File 9 of 14 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly
                /// @solidity memory-safe-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

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

File 13 of 14 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"initBaseUri","type":"string"},{"internalType":"uint256","name":"reserveAmount","type":"uint256"},{"internalType":"uint256","name":"teamReserveAmount","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"VIPQty","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"amountForPrivate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"amountForVIPList","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":"address","name":"owner","type":"address"}],"name":"checkPrivateMinted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"checkVIPMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"collectionSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"},{"internalType":"bytes32","name":"leaf","type":"bytes32"}],"name":"isPrivateValid","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"},{"internalType":"bytes32","name":"leaf","type":"bytes32"}],"name":"isVipValid","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_collectionSize","type":"uint256"}],"name":"lowerSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"mintPrivateSale","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mintPublicSale","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mintVIPList","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"ownerMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"privatePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"privateQty","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"privateRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicAmountPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicPrice","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":[],"name":"saleState","outputs":[{"internalType":"enum RebelMuzik.SaleState","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrivatePrice","type":"uint256"}],"name":"setPrivatePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrivateQty","type":"uint256"}],"name":"setPrivateQty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_privateRoot","type":"bytes32"}],"name":"setPrivateRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPublicPrice","type":"uint256"}],"name":"setPublicPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPublicAmountPerTx","type":"uint256"}],"name":"setPublicQty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum RebelMuzik.SaleState","name":"saleState_","type":"uint8"}],"name":"setSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amountForPrivate","type":"uint256"}],"name":"setSupplyForPrivate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amountForVIPList","type":"uint256"}],"name":"setSupplyForVIP","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newVIPPrice","type":"uint256"}],"name":"setVIPPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newVIPQty","type":"uint256"}],"name":"setVIPQty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_vipRoot","type":"bytes32"}],"name":"setVipRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalPrivateMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalVIPMinted","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":[{"internalType":"string","name":"baseUri","type":"string"}],"name":"updateBaseUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"vipPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"vipRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052610ce960085560016009556002600a55600a600b556064600c55610320600d556000600e556000600f5566b1a2bc2ec5000060125566b1a2bc2ec5000060135567011c37937e0800006014556000601560006101000a81548160ff02191690836003811115620000785762000078620007eb565b02179055503480156200008a57600080fd5b506040516200373a3803806200373a833981016040819052620000ad9162000846565b6040518060400160405280600a815260200169526562656c4d757a696b60b01b8152506040518060400160405280600b81526020016a4f4e4554494d454c4f564560a81b8152506200010e620001086200023760201b60201c565b6200023b565b81516200012390600290602085019062000745565b5080516200013990600390602084019062000745565b5050506200014d836200028b60201b60201c565b6200016e73ab15468c3cd3de12b4fe2e96adae9c1f3c3951be6001620002ae565b6200018e733681d855bf1493cd008854b5958033c921c3ee8283620002ae565b620001ae73359763a3a49152455550a4f4f9e755481dd3094c82620002ae565b620001ce730c4d96b68f0c881f4f5226b555bce9c3af56b60982620002ae565b620001ee73ab15468c3cd3de12b4fe2e96adae9c1f3c3951be82620002ae565b6200020e73bee663fe84544df22b445bd46772662e3cce881682620002ae565b6200022e733681d855bf1493cd008854b5958033c921c3ee8282620002ae565b505050620009fe565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b62000295620002c4565b8051620002aa90601690602084019062000745565b5050565b620002b8620002c4565b620002aa828262000326565b6000546001600160a01b03163314620003245760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b565b600854816200033460015490565b62000340919062000911565b1115620003905760405162461bcd60e51b815260206004820152601660248201527f4e6f7420656e6f75676820746f6b656e73206c6566740000000000000000000060448201526064016200031b565b620002aa8282620002aa828260405180602001604052806000815250620003b860201b60201c565b620003c78383836001620003cc565b505050565b6001546001600160a01b038516620004315760405162461bcd60e51b815260206004820152602160248201527f455243373231413a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b60648201526084016200031b565b83620004915760405162461bcd60e51b815260206004820152602860248201527f455243373231413a207175616e74697479206d75737420626520677265617465604482015267072207468616e20360c41b60648201526084016200031b565b6001600160a01b03851660008181526005602090815260408083208054600160801b6001600160801b031982166001600160801b039283168c01831690811782900483168c01909216021790558483526004909152812080546001600160e01b031916909217600160a01b426001600160401b0316021790915581905b85811015620005cb5760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48315620005be57620005656000888488620005dc565b620005be5760405162461bcd60e51b815260206004820152603360248201526000805160206200371a83398151915260448201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b60648201526084016200031b565b600191820191016200050e565b506001555050505050565b50505050565b6000620005fd846001600160a01b03166200073660201b62001a041760201c565b156200072a57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906200063790339089908890889060040162000938565b6020604051808303816000875af192505050801562000675575060408051601f3d908101601f1916820190925262000672918101906200098e565b60015b6200070f573d808015620006a6576040519150601f19603f3d011682016040523d82523d6000602084013e620006ab565b606091505b508051620007075760405162461bcd60e51b815260206004820152603360248201526000805160206200371a83398151915260448201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b60648201526084016200031b565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506200072e565b5060015b949350505050565b6001600160a01b03163b151590565b8280546200075390620009c1565b90600052602060002090601f016020900481019282620007775760008555620007c2565b82601f106200079257805160ff1916838001178555620007c2565b82800160010185558215620007c2579182015b82811115620007c2578251825591602001919060010190620007a5565b50620007d0929150620007d4565b5090565b5b80821115620007d05760008155600101620007d5565b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b60005b83811015620008345781810151838201526020016200081a565b83811115620005d65750506000910152565b6000806000606084860312156200085c57600080fd5b83516001600160401b03808211156200087457600080fd5b818601915086601f8301126200088957600080fd5b8151818111156200089e576200089e62000801565b604051601f8201601f19908116603f01168101908382118183101715620008c957620008c962000801565b81604052828152896020848701011115620008e357600080fd5b620008f683602083016020880162000817565b6020890151604090990151909a989950979650505050505050565b600082198211156200093357634e487b7160e01b600052601160045260246000fd5b500190565b600060018060a01b038087168352808616602084015250836040830152608060608301528251806080840152620009778160a085016020870162000817565b601f01601f19169190910160a00195945050505050565b600060208284031215620009a157600080fd5b81516001600160e01b031981168114620009ba57600080fd5b9392505050565b600181811c90821680620009d657607f821691505b60208210811415620009f857634e487b7160e01b600052602260045260246000fd5b50919050565b612d0c8062000a0e6000396000f3fe6080604052600436106103505760003560e01c80636352211e116101c6578063b7acfe86116100f7578063c87b56dd11610095578063e8d1bba21161006f578063e8d1bba214610966578063e94205421461097c578063e985e9c51461098f578063f2fde38b146109d857600080fd5b8063c87b56dd1461091a578063ce200ef61461093a578063d86476bf1461095057600080fd5b8063bce8e665116100d1578063bce8e66514610884578063bf3577c0146108ba578063c6275255146108da578063c7153816146108fa57600080fd5b8063b7acfe8614610838578063b805be1c1461084e578063b88d4fde1461086457600080fd5b806395d89b4111610164578063a10f151e1161013e578063a10f151e146107c2578063a22cb465146107e2578063a945bf8014610802578063afd2b87c1461081857600080fd5b806395d89b41146107775780639de74dd91461078c578063a0c0c4f5146107a257600080fd5b80637293689b116101a05780637293689b1461070d57806387c0568b146107235780638da5cb5b14610739578063950caaed1461075757600080fd5b80636352211e146106b857806370a08231146106d8578063715018a6146106f857600080fd5b806339f7e37f116102a05780634f6ccce71161023e5780635a5e5d58116102185780635a5e5d581461063e5780635a67de0714610651578063603f4d521461067157806361aa58631461069857600080fd5b80634f6ccce7146105f55780635220f92c14610615578063526a773f1461062857600080fd5b806342842e0e1161027a57806342842e0e1461057f578063447410f61461059f57806345c0f533146105bf578063484b973c146105d557600080fd5b806339f7e37f1461052a5780633ccfd60b1461054a5780633df6fd461461055f57600080fd5b806319dc4b5d1161030d5780632ac1b368116102e75780632ac1b3681461049b5780632f745c59146104d45780633711b23f146104f4578063378fe5821461050a57600080fd5b806319dc4b5d146104455780631c09d6b81461046557806323b872dd1461047b57600080fd5b806301ffc9a71461035557806306fdde031461038a578063081812fc146103ac578063095ea7b3146103e4578063106657591461040657806318160ddd14610426575b600080fd5b34801561036157600080fd5b506103756103703660046125c7565b6109f8565b60405190151581526020015b60405180910390f35b34801561039657600080fd5b5061039f610a65565b604051610381919061263c565b3480156103b857600080fd5b506103cc6103c736600461264f565b610af7565b6040516001600160a01b039091168152602001610381565b3480156103f057600080fd5b506104046103ff366004612684565b610b87565b005b34801561041257600080fd5b5061040461042136600461264f565b610c9f565b34801561043257600080fd5b506001545b604051908152602001610381565b34801561045157600080fd5b506103756104603660046126f4565b610cac565b34801561047157600080fd5b5061043760095481565b34801561048757600080fd5b5061040461049636600461279f565b610cc2565b3480156104a757600080fd5b506103756104b63660046127db565b6001600160a01b031660009081526017602052604090205460ff1690565b3480156104e057600080fd5b506104376104ef366004612684565b610ccd565b34801561050057600080fd5b5061043760125481565b34801561051657600080fd5b5061040461052536600461264f565b610e34565b34801561053657600080fd5b5061040461054536600461284d565b610e41565b34801561055657600080fd5b50610404610e60565b34801561056b57600080fd5b5061040461057a36600461264f565b611020565b34801561058b57600080fd5b5061040461059a36600461279f565b61102d565b3480156105ab57600080fd5b506103756105ba3660046126f4565b611048565b3480156105cb57600080fd5b5061043760085481565b3480156105e157600080fd5b506104046105f0366004612684565b611057565b34801561060157600080fd5b5061043761061036600461264f565b611069565b6104046106233660046128e0565b6110d2565b34801561063457600080fd5b50610437600e5481565b61040461064c36600461264f565b611327565b34801561065d57600080fd5b5061040461066c366004612921565b611424565b34801561067d57600080fd5b5060155461068b9060ff1681565b6040516103819190612958565b3480156106a457600080fd5b506104046106b336600461264f565b611453565b3480156106c457600080fd5b506103cc6106d336600461264f565b611460565b3480156106e457600080fd5b506104376106f33660046127db565b611472565b34801561070457600080fd5b50610404611503565b34801561071957600080fd5b50610437600b5481565b34801561072f57600080fd5b5061043760135481565b34801561074557600080fd5b506000546001600160a01b03166103cc565b34801561076357600080fd5b5061040461077236600461264f565b611517565b34801561078357600080fd5b5061039f611524565b34801561079857600080fd5b50610437600d5481565b3480156107ae57600080fd5b506104046107bd36600461264f565b611533565b3480156107ce57600080fd5b506104046107dd36600461264f565b611540565b3480156107ee57600080fd5b506104046107fd366004612980565b61154d565b34801561080e57600080fd5b5061043760145481565b34801561082457600080fd5b5061040461083336600461264f565b611612565b34801561084457600080fd5b5061043760115481565b34801561085a57600080fd5b50610437600c5481565b34801561087057600080fd5b5061040461087f3660046129bc565b61161f565b34801561089057600080fd5b5061043761089f3660046127db565b6001600160a01b031660009081526018602052604090205490565b3480156108c657600080fd5b506104046108d536600461264f565b611658565b3480156108e657600080fd5b506104046108f536600461264f565b611665565b34801561090657600080fd5b5061040461091536600461264f565b611672565b34801561092657600080fd5b5061039f61093536600461264f565b6116ca565b34801561094657600080fd5b50610437600a5481565b34801561095c57600080fd5b5061043760105481565b34801561097257600080fd5b50610437600f5481565b61040461098a366004612a37565b611797565b34801561099b57600080fd5b506103756109aa366004612a82565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156109e457600080fd5b506104046109f33660046127db565b61198e565b60006001600160e01b031982166380ac58cd60e01b1480610a2957506001600160e01b03198216635b5e139f60e01b145b80610a4457506001600160e01b0319821663780e9d6360e01b145b80610a5f57506301ffc9a760e01b6001600160e01b03198316145b92915050565b606060028054610a7490612ab5565b80601f0160208091040260200160405190810160405280929190818152602001828054610aa090612ab5565b8015610aed5780601f10610ac257610100808354040283529160200191610aed565b820191906000526020600020905b815481529060010190602001808311610ad057829003601f168201915b5050505050905090565b6000610b04826001541190565b610b6b5760405162461bcd60e51b815260206004820152602d60248201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560448201526c3c34b9ba32b73a103a37b5b2b760991b60648201526084015b60405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610b9282611460565b9050806001600160a01b0316836001600160a01b03161415610c015760405162461bcd60e51b815260206004820152602260248201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60448201526132b960f11b6064820152608401610b62565b336001600160a01b0382161480610c1d5750610c1d81336109aa565b610c8f5760405162461bcd60e51b815260206004820152603960248201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656420666f7220616c6c000000000000006064820152608401610b62565b610c9a838383611a13565b505050565b610ca7611a6f565b600c55565b6000610cbb8360115484611ac9565b9392505050565b610c9a838383611adf565b6000610cd883611472565b8210610d315760405162461bcd60e51b815260206004820152602260248201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e604482015261647360f01b6064820152608401610b62565b6000610d3c60015490565b905060008060005b83811015610dd4576000818152600460209081526040918290208251808401909352546001600160a01b038116808452600160a01b9091046001600160401b03169183019190915215610d9657805192505b876001600160a01b0316836001600160a01b03161415610dcb5786841415610dc457509350610a5f92505050565b6001909301925b50600101610d44565b5060405162461bcd60e51b815260206004820152602e60248201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060448201526d0deeedccae440c4f240d2dcc8caf60931b6064820152608401610b62565b610e3c611a6f565b601255565b610e49611a6f565b8051610e5c906016906020840190612521565b5050565b610e68611a6f565b47730c4d96b68f0c881f4f5226b555bce9c3af56b6096108fc6064610e8e84602a612b06565b610e989190612b3b565b6040518115909202916000818181858888f19350505050158015610ec0573d6000803e3d6000fd5b5073ab15468c3cd3de12b4fe2e96adae9c1f3c3951be6108fc6064610ee6846017612b06565b610ef09190612b3b565b6040518115909202916000818181858888f19350505050158015610f18573d6000803e3d6000fd5b5073bee663fe84544df22b445bd46772662e3cce88166108fc6064610f3e846012612b06565b610f489190612b3b565b6040518115909202916000818181858888f19350505050158015610f70573d6000803e3d6000fd5b50733681d855bf1493cd008854b5958033c921c3ee826108fc6064610f96846009612b06565b610fa09190612b3b565b6040518115909202916000818181858888f19350505050158015610fc8573d6000803e3d6000fd5b5073359763a3a49152455550a4f4f9e755481dd3094c6108fc6064610fee846008612b06565b610ff89190612b3b565b6040518115909202916000818181858888f19350505050158015610e5c573d6000803e3d6000fd5b611028611a6f565b600b55565b610c9a8383836040518060200160405280600081525061161f565b6000610cbb8360105484611ac9565b61105f611a6f565b610e5c8282611dc2565b600061107460015490565b82106110ce5760405162461bcd60e51b815260206004820152602360248201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f756044820152626e647360e81b6064820152608401610b62565b5090565b600160155460ff1660038111156110eb576110eb612942565b146111385760405162461bcd60e51b815260206004820152601a60248201527f507269766174652073616c65206973206e6f74206163746976650000000000006044820152606401610b62565b6111ae828280806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506040516bffffffffffffffffffffffff193360601b16602082015260340191506111939050565b60405160208183030381529060405280519060200120611048565b6111fa5760405162461bcd60e51b815260206004820152601c60248201527f4572726f72202d20566572696679205175616c696669636174696f6e000000006044820152606401610b62565b3460095460135461120b9190612b06565b11156112295760405162461bcd60e51b8152600401610b6290612b4f565b3360009081526017602052604090205460ff16156112895760405162461bcd60e51b815260206004820152601a60248201527f416c7265616479204d696e746564204d617820416d6f756e742e0000000000006044820152606401610b62565b600c54600954600e5461129c9190612b86565b11156112ea5760405162461bcd60e51b815260206004820181905260248201527f5265616368656420507269766174652053616c65204d617820537570706c792e6044820152606401610b62565b6112f633600954611e26565b336000908152601760205260409020805460ff19166001179055600954600e546113209190612b86565b600e555050565b600360155460ff16600381111561134057611340612942565b1461138d5760405162461bcd60e51b815260206004820152601960248201527f5075626c69632073616c65206973206e6f7420616374697665000000000000006044820152606401610b62565b348160145461139c9190612b06565b11156113ba5760405162461bcd60e51b8152600401610b6290612b4f565b600b548111156114185760405162461bcd60e51b815260206004820152602360248201527f546f6f206d616e7920746f6b656e7320666f72206f6e65207472616e7361637460448201526234b7b760e91b6064820152608401610b62565b61142181611e40565b50565b61142c611a6f565b6015805482919060ff1916600183600381111561144b5761144b612942565b021790555050565b61145b611a6f565b601155565b600061146b82611ef0565b5192915050565b60006001600160a01b0382166114de5760405162461bcd60e51b815260206004820152602b60248201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b6064820152608401610b62565b506001600160a01b03166000908152600560205260409020546001600160801b031690565b61150b611a6f565b6115156000611fc6565b565b61151f611a6f565b600a55565b606060038054610a7490612ab5565b61153b611a6f565b600955565b611548611a6f565b601355565b6001600160a01b0382163314156115a65760405162461bcd60e51b815260206004820152601a60248201527f455243373231413a20617070726f766520746f2063616c6c65720000000000006044820152606401610b62565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61161a611a6f565b601055565b61162a848484611adf565b61163684848484612016565b6116525760405162461bcd60e51b8152600401610b6290612b9e565b50505050565b611660611a6f565b600d55565b61166d611a6f565b601455565b61167a611a6f565b6008548111156116c55760405162461bcd60e51b815260206004820152601660248201527543616e206f6e6c792072656475636520737570706c7960501b6044820152606401610b62565b600855565b60606116d7826001541190565b61173b5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610b62565b6000611745612115565b90508051600014156117665760405180602001604052806000815250610cbb565b8061177084612124565b604051602001611781929190612bf1565b6040516020818303038152906040529392505050565b600260155460ff1660038111156117b0576117b0612942565b146117f65760405162461bcd60e51b81526020600482015260166024820152755649502073616c65206973206e6f742061637469766560501b6044820152606401610b62565b61186c838380806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506040516bffffffffffffffffffffffff193360601b16602082015260340191506118519050565b60405160208183030381529060405280519060200120610cac565b6118b85760405162461bcd60e51b815260206004820152601c60248201527f4572726f72202d20566572696679205175616c696669636174696f6e000000006044820152606401610b62565b34816012546118c79190612b06565b11156118e55760405162461bcd60e51b8152600401610b6290612b4f565b600a5433600090815260186020526040902054611903908390612b86565b11156119445760405162461bcd60e51b815260206004820152601060248201526f2a37b79026b0b73c9026b4b73a32b21760811b6044820152606401610b62565b61194d81612221565b33600090815260186020526040902054611968908290612b86565b33600090815260186020526040902055600f54611986908290612b86565b600f55505050565b611996611a6f565b6001600160a01b0381166119fb5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b62565b61142181611fc6565b6001600160a01b03163b151590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000546001600160a01b031633146115155760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b62565b600082611ad685846122ca565b14949350505050565b6000611aea82611ef0565b80519091506000906001600160a01b0316336001600160a01b03161480611b21575033611b1684610af7565b6001600160a01b0316145b80611b3357508151611b3390336109aa565b905080611b9d5760405162461bcd60e51b815260206004820152603260248201527f455243373231413a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b6064820152608401610b62565b846001600160a01b031682600001516001600160a01b031614611c115760405162461bcd60e51b815260206004820152602660248201527f455243373231413a207472616e736665722066726f6d20696e636f72726563746044820152651037bbb732b960d11b6064820152608401610b62565b6001600160a01b038416611c755760405162461bcd60e51b815260206004820152602560248201527f455243373231413a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b6064820152608401610b62565b611c856000848460000151611a13565b6001600160a01b03858116600090815260056020908152604080832080546001600160801b03198082166001600160801b03928316600019018316179092558986168086528386208054938416938316600190810190931693909317909255888552600490935281842080546001600160e01b031916909117600160a01b426001600160401b031602179055908601808352912054909116611d7857611d2c816001541190565b15611d7857825160008281526004602090815260409091208054918601516001600160401b0316600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b60085481611dcf60015490565b611dd99190612b86565b1115611e205760405162461bcd60e51b8152602060048201526016602482015275139bdd08195b9bdd59da081d1bdad95b9cc81b19599d60521b6044820152606401610b62565b610e5c82825b610e5c828260405180602001604052806000815250612317565b60008111611e8a5760405162461bcd60e51b81526020600482015260176024820152765175616e746974792063616e6e6f74206265207a65726f60481b6044820152606401610b62565b600854611ea082611e9a60015490565b90612324565b1115611ee65760405162461bcd60e51b8152602060048201526015602482015274139bc81a5d195b5cc81b19599d081d1bc81b5a5b9d605a1b6044820152606401610b62565b6114213382611e26565b6040805180820190915260008082526020820152611f0f826001541190565b611f6e5760405162461bcd60e51b815260206004820152602a60248201527f455243373231413a206f776e657220717565727920666f72206e6f6e657869736044820152693a32b73a103a37b5b2b760b11b6064820152608401610b62565b815b6000818152600460209081526040918290208251808401909352546001600160a01b038116808452600160a01b9091046001600160401b03169183019190915215611fbc579392505050565b5060001901611f70565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006001600160a01b0384163b1561210957604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061205a903390899088908890600401612c20565b6020604051808303816000875af1925050508015612095575060408051601f3d908101601f1916820190925261209291810190612c5d565b60015b6120ef573d8080156120c3576040519150601f19603f3d011682016040523d82523d6000602084013e6120c8565b606091505b5080516120e75760405162461bcd60e51b8152600401610b6290612b9e565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061210d565b5060015b949350505050565b606060168054610a7490612ab5565b6060816121485750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612172578061215c81612c7a565b915061216b9050600a83612b3b565b915061214c565b6000816001600160401b0381111561218c5761218c6126ae565b6040519080825280601f01601f1916602001820160405280156121b6576020820181803683370190505b5090505b841561210d576121cb600183612c95565b91506121d8600a86612cac565b6121e3906030612b86565b60f81b8183815181106121f8576121f8612cc0565b60200101906001600160f81b031916908160001a90535061221a600a86612b3b565b94506121ba565b6000811161226b5760405162461bcd60e51b81526020600482015260176024820152765175616e746974792063616e6e6f74206265207a65726f60481b6044820152606401610b62565b600d5481600f5461227c9190612b86565b1115611ee65760405162461bcd60e51b815260206004820152601760248201527f52656163686564205649502053616c65204c696d69742e0000000000000000006044820152606401610b62565b600081815b845181101561230f576122fb828683815181106122ee576122ee612cc0565b6020026020010151612330565b91508061230781612c7a565b9150506122cf565b509392505050565b610c9a838383600161235f565b6000610cbb8284612b86565b600081831061234c576000828152602084905260409020610cbb565b6000838152602083905260409020610cbb565b6001546001600160a01b0385166123c25760405162461bcd60e51b815260206004820152602160248201527f455243373231413a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b6064820152608401610b62565b836124205760405162461bcd60e51b815260206004820152602860248201527f455243373231413a207175616e74697479206d75737420626520677265617465604482015267072207468616e20360c41b6064820152608401610b62565b6001600160a01b03851660008181526005602090815260408083208054600160801b6001600160801b031982166001600160801b039283168c01831690811782900483168c01909216021790558483526004909152812080546001600160e01b031916909217600160a01b426001600160401b0316021790915581905b858110156125185760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4831561250c576124f06000888488612016565b61250c5760405162461bcd60e51b8152600401610b6290612b9e565b6001918201910161249d565b50600155611dbb565b82805461252d90612ab5565b90600052602060002090601f01602090048101928261254f5760008555612595565b82601f1061256857805160ff1916838001178555612595565b82800160010185558215612595579182015b8281111561259557825182559160200191906001019061257a565b506110ce9291505b808211156110ce576000815560010161259d565b6001600160e01b03198116811461142157600080fd5b6000602082840312156125d957600080fd5b8135610cbb816125b1565b60005b838110156125ff5781810151838201526020016125e7565b838111156116525750506000910152565b600081518084526126288160208601602086016125e4565b601f01601f19169290920160200192915050565b602081526000610cbb6020830184612610565b60006020828403121561266157600080fd5b5035919050565b80356001600160a01b038116811461267f57600080fd5b919050565b6000806040838503121561269757600080fd5b6126a083612668565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b03811182821017156126ec576126ec6126ae565b604052919050565b6000806040838503121561270757600080fd5b82356001600160401b038082111561271e57600080fd5b818501915085601f83011261273257600080fd5b8135602082821115612746576127466126ae565b8160051b92506127578184016126c4565b828152928401810192818101908985111561277157600080fd5b948201945b8486101561278f57853582529482019490820190612776565b9997909101359750505050505050565b6000806000606084860312156127b457600080fd5b6127bd84612668565b92506127cb60208501612668565b9150604084013590509250925092565b6000602082840312156127ed57600080fd5b610cbb82612668565b60006001600160401b0383111561280f5761280f6126ae565b612822601f8401601f19166020016126c4565b905082815283838301111561283657600080fd5b828260208301376000602084830101529392505050565b60006020828403121561285f57600080fd5b81356001600160401b0381111561287557600080fd5b8201601f8101841361288657600080fd5b61210d848235602084016127f6565b60008083601f8401126128a757600080fd5b5081356001600160401b038111156128be57600080fd5b6020830191508360208260051b85010111156128d957600080fd5b9250929050565b600080602083850312156128f357600080fd5b82356001600160401b0381111561290957600080fd5b61291585828601612895565b90969095509350505050565b60006020828403121561293357600080fd5b813560048110610cbb57600080fd5b634e487b7160e01b600052602160045260246000fd5b602081016004831061297a57634e487b7160e01b600052602160045260246000fd5b91905290565b6000806040838503121561299357600080fd5b61299c83612668565b9150602083013580151581146129b157600080fd5b809150509250929050565b600080600080608085870312156129d257600080fd5b6129db85612668565b93506129e960208601612668565b92506040850135915060608501356001600160401b03811115612a0b57600080fd5b8501601f81018713612a1c57600080fd5b612a2b878235602084016127f6565b91505092959194509250565b600080600060408486031215612a4c57600080fd5b83356001600160401b03811115612a6257600080fd5b612a6e86828701612895565b909790965060209590950135949350505050565b60008060408385031215612a9557600080fd5b612a9e83612668565b9150612aac60208401612668565b90509250929050565b600181811c90821680612ac957607f821691505b60208210811415612aea57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615612b2057612b20612af0565b500290565b634e487b7160e01b600052601260045260246000fd5b600082612b4a57612b4a612b25565b500490565b60208082526017908201527f496e73756666696369656e742066756e64732073656e74000000000000000000604082015260600190565b60008219821115612b9957612b99612af0565b500190565b60208082526033908201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260408201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b606082015260800190565b60008351612c038184602088016125e4565b835190830190612c178183602088016125e4565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612c5390830184612610565b9695505050505050565b600060208284031215612c6f57600080fd5b8151610cbb816125b1565b6000600019821415612c8e57612c8e612af0565b5060010190565b600082821015612ca757612ca7612af0565b500390565b600082612cbb57612cbb612b25565b500690565b634e487b7160e01b600052603260045260246000fdfea264697066735822122009e4fefe7d5bee94d6b5c3a0fa6509d52835f26ed2395b058c4fd129d223e29d64736f6c634300080c0033455243373231413a207472616e7366657220746f206e6f6e204552433732315200000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106103505760003560e01c80636352211e116101c6578063b7acfe86116100f7578063c87b56dd11610095578063e8d1bba21161006f578063e8d1bba214610966578063e94205421461097c578063e985e9c51461098f578063f2fde38b146109d857600080fd5b8063c87b56dd1461091a578063ce200ef61461093a578063d86476bf1461095057600080fd5b8063bce8e665116100d1578063bce8e66514610884578063bf3577c0146108ba578063c6275255146108da578063c7153816146108fa57600080fd5b8063b7acfe8614610838578063b805be1c1461084e578063b88d4fde1461086457600080fd5b806395d89b4111610164578063a10f151e1161013e578063a10f151e146107c2578063a22cb465146107e2578063a945bf8014610802578063afd2b87c1461081857600080fd5b806395d89b41146107775780639de74dd91461078c578063a0c0c4f5146107a257600080fd5b80637293689b116101a05780637293689b1461070d57806387c0568b146107235780638da5cb5b14610739578063950caaed1461075757600080fd5b80636352211e146106b857806370a08231146106d8578063715018a6146106f857600080fd5b806339f7e37f116102a05780634f6ccce71161023e5780635a5e5d58116102185780635a5e5d581461063e5780635a67de0714610651578063603f4d521461067157806361aa58631461069857600080fd5b80634f6ccce7146105f55780635220f92c14610615578063526a773f1461062857600080fd5b806342842e0e1161027a57806342842e0e1461057f578063447410f61461059f57806345c0f533146105bf578063484b973c146105d557600080fd5b806339f7e37f1461052a5780633ccfd60b1461054a5780633df6fd461461055f57600080fd5b806319dc4b5d1161030d5780632ac1b368116102e75780632ac1b3681461049b5780632f745c59146104d45780633711b23f146104f4578063378fe5821461050a57600080fd5b806319dc4b5d146104455780631c09d6b81461046557806323b872dd1461047b57600080fd5b806301ffc9a71461035557806306fdde031461038a578063081812fc146103ac578063095ea7b3146103e4578063106657591461040657806318160ddd14610426575b600080fd5b34801561036157600080fd5b506103756103703660046125c7565b6109f8565b60405190151581526020015b60405180910390f35b34801561039657600080fd5b5061039f610a65565b604051610381919061263c565b3480156103b857600080fd5b506103cc6103c736600461264f565b610af7565b6040516001600160a01b039091168152602001610381565b3480156103f057600080fd5b506104046103ff366004612684565b610b87565b005b34801561041257600080fd5b5061040461042136600461264f565b610c9f565b34801561043257600080fd5b506001545b604051908152602001610381565b34801561045157600080fd5b506103756104603660046126f4565b610cac565b34801561047157600080fd5b5061043760095481565b34801561048757600080fd5b5061040461049636600461279f565b610cc2565b3480156104a757600080fd5b506103756104b63660046127db565b6001600160a01b031660009081526017602052604090205460ff1690565b3480156104e057600080fd5b506104376104ef366004612684565b610ccd565b34801561050057600080fd5b5061043760125481565b34801561051657600080fd5b5061040461052536600461264f565b610e34565b34801561053657600080fd5b5061040461054536600461284d565b610e41565b34801561055657600080fd5b50610404610e60565b34801561056b57600080fd5b5061040461057a36600461264f565b611020565b34801561058b57600080fd5b5061040461059a36600461279f565b61102d565b3480156105ab57600080fd5b506103756105ba3660046126f4565b611048565b3480156105cb57600080fd5b5061043760085481565b3480156105e157600080fd5b506104046105f0366004612684565b611057565b34801561060157600080fd5b5061043761061036600461264f565b611069565b6104046106233660046128e0565b6110d2565b34801561063457600080fd5b50610437600e5481565b61040461064c36600461264f565b611327565b34801561065d57600080fd5b5061040461066c366004612921565b611424565b34801561067d57600080fd5b5060155461068b9060ff1681565b6040516103819190612958565b3480156106a457600080fd5b506104046106b336600461264f565b611453565b3480156106c457600080fd5b506103cc6106d336600461264f565b611460565b3480156106e457600080fd5b506104376106f33660046127db565b611472565b34801561070457600080fd5b50610404611503565b34801561071957600080fd5b50610437600b5481565b34801561072f57600080fd5b5061043760135481565b34801561074557600080fd5b506000546001600160a01b03166103cc565b34801561076357600080fd5b5061040461077236600461264f565b611517565b34801561078357600080fd5b5061039f611524565b34801561079857600080fd5b50610437600d5481565b3480156107ae57600080fd5b506104046107bd36600461264f565b611533565b3480156107ce57600080fd5b506104046107dd36600461264f565b611540565b3480156107ee57600080fd5b506104046107fd366004612980565b61154d565b34801561080e57600080fd5b5061043760145481565b34801561082457600080fd5b5061040461083336600461264f565b611612565b34801561084457600080fd5b5061043760115481565b34801561085a57600080fd5b50610437600c5481565b34801561087057600080fd5b5061040461087f3660046129bc565b61161f565b34801561089057600080fd5b5061043761089f3660046127db565b6001600160a01b031660009081526018602052604090205490565b3480156108c657600080fd5b506104046108d536600461264f565b611658565b3480156108e657600080fd5b506104046108f536600461264f565b611665565b34801561090657600080fd5b5061040461091536600461264f565b611672565b34801561092657600080fd5b5061039f61093536600461264f565b6116ca565b34801561094657600080fd5b50610437600a5481565b34801561095c57600080fd5b5061043760105481565b34801561097257600080fd5b50610437600f5481565b61040461098a366004612a37565b611797565b34801561099b57600080fd5b506103756109aa366004612a82565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156109e457600080fd5b506104046109f33660046127db565b61198e565b60006001600160e01b031982166380ac58cd60e01b1480610a2957506001600160e01b03198216635b5e139f60e01b145b80610a4457506001600160e01b0319821663780e9d6360e01b145b80610a5f57506301ffc9a760e01b6001600160e01b03198316145b92915050565b606060028054610a7490612ab5565b80601f0160208091040260200160405190810160405280929190818152602001828054610aa090612ab5565b8015610aed5780601f10610ac257610100808354040283529160200191610aed565b820191906000526020600020905b815481529060010190602001808311610ad057829003601f168201915b5050505050905090565b6000610b04826001541190565b610b6b5760405162461bcd60e51b815260206004820152602d60248201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560448201526c3c34b9ba32b73a103a37b5b2b760991b60648201526084015b60405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610b9282611460565b9050806001600160a01b0316836001600160a01b03161415610c015760405162461bcd60e51b815260206004820152602260248201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60448201526132b960f11b6064820152608401610b62565b336001600160a01b0382161480610c1d5750610c1d81336109aa565b610c8f5760405162461bcd60e51b815260206004820152603960248201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656420666f7220616c6c000000000000006064820152608401610b62565b610c9a838383611a13565b505050565b610ca7611a6f565b600c55565b6000610cbb8360115484611ac9565b9392505050565b610c9a838383611adf565b6000610cd883611472565b8210610d315760405162461bcd60e51b815260206004820152602260248201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e604482015261647360f01b6064820152608401610b62565b6000610d3c60015490565b905060008060005b83811015610dd4576000818152600460209081526040918290208251808401909352546001600160a01b038116808452600160a01b9091046001600160401b03169183019190915215610d9657805192505b876001600160a01b0316836001600160a01b03161415610dcb5786841415610dc457509350610a5f92505050565b6001909301925b50600101610d44565b5060405162461bcd60e51b815260206004820152602e60248201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060448201526d0deeedccae440c4f240d2dcc8caf60931b6064820152608401610b62565b610e3c611a6f565b601255565b610e49611a6f565b8051610e5c906016906020840190612521565b5050565b610e68611a6f565b47730c4d96b68f0c881f4f5226b555bce9c3af56b6096108fc6064610e8e84602a612b06565b610e989190612b3b565b6040518115909202916000818181858888f19350505050158015610ec0573d6000803e3d6000fd5b5073ab15468c3cd3de12b4fe2e96adae9c1f3c3951be6108fc6064610ee6846017612b06565b610ef09190612b3b565b6040518115909202916000818181858888f19350505050158015610f18573d6000803e3d6000fd5b5073bee663fe84544df22b445bd46772662e3cce88166108fc6064610f3e846012612b06565b610f489190612b3b565b6040518115909202916000818181858888f19350505050158015610f70573d6000803e3d6000fd5b50733681d855bf1493cd008854b5958033c921c3ee826108fc6064610f96846009612b06565b610fa09190612b3b565b6040518115909202916000818181858888f19350505050158015610fc8573d6000803e3d6000fd5b5073359763a3a49152455550a4f4f9e755481dd3094c6108fc6064610fee846008612b06565b610ff89190612b3b565b6040518115909202916000818181858888f19350505050158015610e5c573d6000803e3d6000fd5b611028611a6f565b600b55565b610c9a8383836040518060200160405280600081525061161f565b6000610cbb8360105484611ac9565b61105f611a6f565b610e5c8282611dc2565b600061107460015490565b82106110ce5760405162461bcd60e51b815260206004820152602360248201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f756044820152626e647360e81b6064820152608401610b62565b5090565b600160155460ff1660038111156110eb576110eb612942565b146111385760405162461bcd60e51b815260206004820152601a60248201527f507269766174652073616c65206973206e6f74206163746976650000000000006044820152606401610b62565b6111ae828280806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506040516bffffffffffffffffffffffff193360601b16602082015260340191506111939050565b60405160208183030381529060405280519060200120611048565b6111fa5760405162461bcd60e51b815260206004820152601c60248201527f4572726f72202d20566572696679205175616c696669636174696f6e000000006044820152606401610b62565b3460095460135461120b9190612b06565b11156112295760405162461bcd60e51b8152600401610b6290612b4f565b3360009081526017602052604090205460ff16156112895760405162461bcd60e51b815260206004820152601a60248201527f416c7265616479204d696e746564204d617820416d6f756e742e0000000000006044820152606401610b62565b600c54600954600e5461129c9190612b86565b11156112ea5760405162461bcd60e51b815260206004820181905260248201527f5265616368656420507269766174652053616c65204d617820537570706c792e6044820152606401610b62565b6112f633600954611e26565b336000908152601760205260409020805460ff19166001179055600954600e546113209190612b86565b600e555050565b600360155460ff16600381111561134057611340612942565b1461138d5760405162461bcd60e51b815260206004820152601960248201527f5075626c69632073616c65206973206e6f7420616374697665000000000000006044820152606401610b62565b348160145461139c9190612b06565b11156113ba5760405162461bcd60e51b8152600401610b6290612b4f565b600b548111156114185760405162461bcd60e51b815260206004820152602360248201527f546f6f206d616e7920746f6b656e7320666f72206f6e65207472616e7361637460448201526234b7b760e91b6064820152608401610b62565b61142181611e40565b50565b61142c611a6f565b6015805482919060ff1916600183600381111561144b5761144b612942565b021790555050565b61145b611a6f565b601155565b600061146b82611ef0565b5192915050565b60006001600160a01b0382166114de5760405162461bcd60e51b815260206004820152602b60248201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b6064820152608401610b62565b506001600160a01b03166000908152600560205260409020546001600160801b031690565b61150b611a6f565b6115156000611fc6565b565b61151f611a6f565b600a55565b606060038054610a7490612ab5565b61153b611a6f565b600955565b611548611a6f565b601355565b6001600160a01b0382163314156115a65760405162461bcd60e51b815260206004820152601a60248201527f455243373231413a20617070726f766520746f2063616c6c65720000000000006044820152606401610b62565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61161a611a6f565b601055565b61162a848484611adf565b61163684848484612016565b6116525760405162461bcd60e51b8152600401610b6290612b9e565b50505050565b611660611a6f565b600d55565b61166d611a6f565b601455565b61167a611a6f565b6008548111156116c55760405162461bcd60e51b815260206004820152601660248201527543616e206f6e6c792072656475636520737570706c7960501b6044820152606401610b62565b600855565b60606116d7826001541190565b61173b5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610b62565b6000611745612115565b90508051600014156117665760405180602001604052806000815250610cbb565b8061177084612124565b604051602001611781929190612bf1565b6040516020818303038152906040529392505050565b600260155460ff1660038111156117b0576117b0612942565b146117f65760405162461bcd60e51b81526020600482015260166024820152755649502073616c65206973206e6f742061637469766560501b6044820152606401610b62565b61186c838380806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506040516bffffffffffffffffffffffff193360601b16602082015260340191506118519050565b60405160208183030381529060405280519060200120610cac565b6118b85760405162461bcd60e51b815260206004820152601c60248201527f4572726f72202d20566572696679205175616c696669636174696f6e000000006044820152606401610b62565b34816012546118c79190612b06565b11156118e55760405162461bcd60e51b8152600401610b6290612b4f565b600a5433600090815260186020526040902054611903908390612b86565b11156119445760405162461bcd60e51b815260206004820152601060248201526f2a37b79026b0b73c9026b4b73a32b21760811b6044820152606401610b62565b61194d81612221565b33600090815260186020526040902054611968908290612b86565b33600090815260186020526040902055600f54611986908290612b86565b600f55505050565b611996611a6f565b6001600160a01b0381166119fb5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b62565b61142181611fc6565b6001600160a01b03163b151590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000546001600160a01b031633146115155760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b62565b600082611ad685846122ca565b14949350505050565b6000611aea82611ef0565b80519091506000906001600160a01b0316336001600160a01b03161480611b21575033611b1684610af7565b6001600160a01b0316145b80611b3357508151611b3390336109aa565b905080611b9d5760405162461bcd60e51b815260206004820152603260248201527f455243373231413a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b6064820152608401610b62565b846001600160a01b031682600001516001600160a01b031614611c115760405162461bcd60e51b815260206004820152602660248201527f455243373231413a207472616e736665722066726f6d20696e636f72726563746044820152651037bbb732b960d11b6064820152608401610b62565b6001600160a01b038416611c755760405162461bcd60e51b815260206004820152602560248201527f455243373231413a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b6064820152608401610b62565b611c856000848460000151611a13565b6001600160a01b03858116600090815260056020908152604080832080546001600160801b03198082166001600160801b03928316600019018316179092558986168086528386208054938416938316600190810190931693909317909255888552600490935281842080546001600160e01b031916909117600160a01b426001600160401b031602179055908601808352912054909116611d7857611d2c816001541190565b15611d7857825160008281526004602090815260409091208054918601516001600160401b0316600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b60085481611dcf60015490565b611dd99190612b86565b1115611e205760405162461bcd60e51b8152602060048201526016602482015275139bdd08195b9bdd59da081d1bdad95b9cc81b19599d60521b6044820152606401610b62565b610e5c82825b610e5c828260405180602001604052806000815250612317565b60008111611e8a5760405162461bcd60e51b81526020600482015260176024820152765175616e746974792063616e6e6f74206265207a65726f60481b6044820152606401610b62565b600854611ea082611e9a60015490565b90612324565b1115611ee65760405162461bcd60e51b8152602060048201526015602482015274139bc81a5d195b5cc81b19599d081d1bc81b5a5b9d605a1b6044820152606401610b62565b6114213382611e26565b6040805180820190915260008082526020820152611f0f826001541190565b611f6e5760405162461bcd60e51b815260206004820152602a60248201527f455243373231413a206f776e657220717565727920666f72206e6f6e657869736044820152693a32b73a103a37b5b2b760b11b6064820152608401610b62565b815b6000818152600460209081526040918290208251808401909352546001600160a01b038116808452600160a01b9091046001600160401b03169183019190915215611fbc579392505050565b5060001901611f70565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006001600160a01b0384163b1561210957604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061205a903390899088908890600401612c20565b6020604051808303816000875af1925050508015612095575060408051601f3d908101601f1916820190925261209291810190612c5d565b60015b6120ef573d8080156120c3576040519150601f19603f3d011682016040523d82523d6000602084013e6120c8565b606091505b5080516120e75760405162461bcd60e51b8152600401610b6290612b9e565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061210d565b5060015b949350505050565b606060168054610a7490612ab5565b6060816121485750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612172578061215c81612c7a565b915061216b9050600a83612b3b565b915061214c565b6000816001600160401b0381111561218c5761218c6126ae565b6040519080825280601f01601f1916602001820160405280156121b6576020820181803683370190505b5090505b841561210d576121cb600183612c95565b91506121d8600a86612cac565b6121e3906030612b86565b60f81b8183815181106121f8576121f8612cc0565b60200101906001600160f81b031916908160001a90535061221a600a86612b3b565b94506121ba565b6000811161226b5760405162461bcd60e51b81526020600482015260176024820152765175616e746974792063616e6e6f74206265207a65726f60481b6044820152606401610b62565b600d5481600f5461227c9190612b86565b1115611ee65760405162461bcd60e51b815260206004820152601760248201527f52656163686564205649502053616c65204c696d69742e0000000000000000006044820152606401610b62565b600081815b845181101561230f576122fb828683815181106122ee576122ee612cc0565b6020026020010151612330565b91508061230781612c7a565b9150506122cf565b509392505050565b610c9a838383600161235f565b6000610cbb8284612b86565b600081831061234c576000828152602084905260409020610cbb565b6000838152602083905260409020610cbb565b6001546001600160a01b0385166123c25760405162461bcd60e51b815260206004820152602160248201527f455243373231413a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b6064820152608401610b62565b836124205760405162461bcd60e51b815260206004820152602860248201527f455243373231413a207175616e74697479206d75737420626520677265617465604482015267072207468616e20360c41b6064820152608401610b62565b6001600160a01b03851660008181526005602090815260408083208054600160801b6001600160801b031982166001600160801b039283168c01831690811782900483168c01909216021790558483526004909152812080546001600160e01b031916909217600160a01b426001600160401b0316021790915581905b858110156125185760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4831561250c576124f06000888488612016565b61250c5760405162461bcd60e51b8152600401610b6290612b9e565b6001918201910161249d565b50600155611dbb565b82805461252d90612ab5565b90600052602060002090601f01602090048101928261254f5760008555612595565b82601f1061256857805160ff1916838001178555612595565b82800160010185558215612595579182015b8281111561259557825182559160200191906001019061257a565b506110ce9291505b808211156110ce576000815560010161259d565b6001600160e01b03198116811461142157600080fd5b6000602082840312156125d957600080fd5b8135610cbb816125b1565b60005b838110156125ff5781810151838201526020016125e7565b838111156116525750506000910152565b600081518084526126288160208601602086016125e4565b601f01601f19169290920160200192915050565b602081526000610cbb6020830184612610565b60006020828403121561266157600080fd5b5035919050565b80356001600160a01b038116811461267f57600080fd5b919050565b6000806040838503121561269757600080fd5b6126a083612668565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b03811182821017156126ec576126ec6126ae565b604052919050565b6000806040838503121561270757600080fd5b82356001600160401b038082111561271e57600080fd5b818501915085601f83011261273257600080fd5b8135602082821115612746576127466126ae565b8160051b92506127578184016126c4565b828152928401810192818101908985111561277157600080fd5b948201945b8486101561278f57853582529482019490820190612776565b9997909101359750505050505050565b6000806000606084860312156127b457600080fd5b6127bd84612668565b92506127cb60208501612668565b9150604084013590509250925092565b6000602082840312156127ed57600080fd5b610cbb82612668565b60006001600160401b0383111561280f5761280f6126ae565b612822601f8401601f19166020016126c4565b905082815283838301111561283657600080fd5b828260208301376000602084830101529392505050565b60006020828403121561285f57600080fd5b81356001600160401b0381111561287557600080fd5b8201601f8101841361288657600080fd5b61210d848235602084016127f6565b60008083601f8401126128a757600080fd5b5081356001600160401b038111156128be57600080fd5b6020830191508360208260051b85010111156128d957600080fd5b9250929050565b600080602083850312156128f357600080fd5b82356001600160401b0381111561290957600080fd5b61291585828601612895565b90969095509350505050565b60006020828403121561293357600080fd5b813560048110610cbb57600080fd5b634e487b7160e01b600052602160045260246000fd5b602081016004831061297a57634e487b7160e01b600052602160045260246000fd5b91905290565b6000806040838503121561299357600080fd5b61299c83612668565b9150602083013580151581146129b157600080fd5b809150509250929050565b600080600080608085870312156129d257600080fd5b6129db85612668565b93506129e960208601612668565b92506040850135915060608501356001600160401b03811115612a0b57600080fd5b8501601f81018713612a1c57600080fd5b612a2b878235602084016127f6565b91505092959194509250565b600080600060408486031215612a4c57600080fd5b83356001600160401b03811115612a6257600080fd5b612a6e86828701612895565b909790965060209590950135949350505050565b60008060408385031215612a9557600080fd5b612a9e83612668565b9150612aac60208401612668565b90509250929050565b600181811c90821680612ac957607f821691505b60208210811415612aea57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615612b2057612b20612af0565b500290565b634e487b7160e01b600052601260045260246000fd5b600082612b4a57612b4a612b25565b500490565b60208082526017908201527f496e73756666696369656e742066756e64732073656e74000000000000000000604082015260600190565b60008219821115612b9957612b99612af0565b500190565b60208082526033908201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260408201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b606082015260800190565b60008351612c038184602088016125e4565b835190830190612c178183602088016125e4565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612c5390830184612610565b9695505050505050565b600060208284031215612c6f57600080fd5b8151610cbb816125b1565b6000600019821415612c8e57612c8e612af0565b5060010190565b600082821015612ca757612ca7612af0565b500390565b600082612cbb57612cbb612b25565b500690565b634e487b7160e01b600052603260045260246000fdfea264697066735822122009e4fefe7d5bee94d6b5c3a0fa6509d52835f26ed2395b058c4fd129d223e29d64736f6c634300080c0033

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

00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : initBaseUri (string):
Arg [1] : reserveAmount (uint256): 50
Arg [2] : teamReserveAmount (uint256): 2

-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000032
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [4] : 2000000000000000000000000000000000000000000000000000000000000000


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

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