ETH Price: $3,931.49 (+5.69%)

Token

Flower Lolita Collections (FLOWERLOLI)
 

Overview

Max Total Supply

6,666 FLOWERLOLI

Holders

2,292

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
bholder.eth
Balance
1 FLOWERLOLI
0x81f3389cbc7f7ce7bd94857d466952ea1a463255
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Welcome to the Flower Lolita. The Flower Lolitas are a collection of 6,666 generated NFTs on the Ethereum blockchain.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
FLERC721A

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 1 runs

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

import "./MGYERC721A.sol";

contract FLERC721A is MGYERC721A{
  constructor (
      string memory _name,
      string memory _symbol
  ) MGYERC721A (_name,_symbol) {
  }
  //widraw ETH from this contract.only owner. 
  function withdraw() external payable override virtual onlyOwner nonReentrant {
    // This will payout the owner 100% of the contract balance.
    // Do not remove this otherwise you will not be able to withdraw the funds.
    // =============================================================================
    address wallet = payable(0xE99073F2BA37B44f5CCCf4758b179485F3984d7f);
    bool os;
    (os, ) = payable(wallet).call{value: address(this).balance}("");
    require(os);
    // =============================================================================
  }


}

File 2 of 18 : MGYERC721A.sol
//SPDX-License-Identifier: MIT
pragma solidity ^0.8.7;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/token/common/ERC2981.sol";
import "@openzeppelin/contracts/utils/Base64.sol";
import "./MerkleProof.sol";
import "erc721a/contracts/ERC721A.sol";
//import "hardhat/console.sol";

contract MGYERC721A is Ownable,ERC721A, ReentrancyGuard, MerkleProof, ERC2981{

  //Project Settings
  uint256 public wlMintPrice;//wl.price.
  uint256 public psMintPrice;//publicSale. price.
  uint256 public maxMintsPerWL;//wl.max mint num per wallet.
  uint256 public maxMintsPerPS;//publicSale.max mint num per wallet.
  uint256 public maxSupply;//max supply
  address payable internal _withdrawWallet;//withdraw wallet

  //URI
  string internal _revealUri;
  string internal _baseTokenURI;
  //flags
  bool public isWlEnabled;//WL enable.
  bool public isPsEnabled;//PublicSale enable.
  bool internal _isRevealed;//reveal enable.
  //mint records.
  mapping(address => uint256) internal  _wlMinted;//wl.mint num by wallet.
  mapping(address => uint256) internal _psMinted;//PublicSale.mint num by wallet.

  constructor (
      string memory _name,
      string memory _symbol
  ) ERC721A (_name,_symbol) {
  }
  //start from 1.djust for bueno.
  function _startTokenId() internal view virtual override returns (uint256) {
        return 1;
  }
  //set Default Royalty._feeNumerator 500 = 5% Royalty
  function setDefaultRoyalty(address _receiver, uint96 _feeNumerator) external virtual onlyOwner {
      _setDefaultRoyalty(_receiver, _feeNumerator);
  }
  //for ERC2981
  function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721A, ERC2981) returns (bool) {
    return super.supportsInterface(interfaceId);
  }
  //for ERC2981 Opensea
  function contractURI() external view virtual returns (string memory) {
        return _formatContractURI();
  }
  //make contractURI
  function _formatContractURI() internal view returns (string memory) {
    (address receiver, uint256 royaltyFraction) = royaltyInfo(0,_feeDenominator());//tokenid=0
    return string(
      abi.encodePacked(
        "data:application/json;base64,",
        Base64.encode(
          bytes(
            abi.encodePacked(
                '{"seller_fee_basis_points":', Strings.toString(royaltyFraction),
                ', "fee_recipient":"', Strings.toHexString(uint256(uint160(receiver)), 20), '"}'
            )
          )
        )
      )
    );
  }
  //set owner's wallet.withdraw to this wallet.only owner.
  function setWithdrawWallet(address _owner) external virtual onlyOwner {
    _withdrawWallet = payable(_owner);
  }

  //set maxSupply.only owner.
  function setMaxSupply(uint256 _maxSupply) external virtual onlyOwner {
    require(totalSupply() <= _maxSupply, "Lower than _currentIndex.");
    maxSupply = _maxSupply;
  }
  //set wl price.only owner.
  function setWlPrice(uint256 newPrice) external virtual onlyOwner {
    wlMintPrice = newPrice;
  }
  //set public Sale price.only owner.
  function setPsPrice(uint256 newPrice) external virtual onlyOwner {
    psMintPrice = newPrice;
  }
  //set reveal.only owner.
  function setReveal(bool bool_) external virtual onlyOwner {
    _isRevealed = bool_;
  }
  //retuen _isRevealed.
  function isRevealed() external view virtual returns (bool){
    return _isRevealed;
  }
  //retuen _wlMinted
  function wlMinted(address _address) external view virtual returns (uint256){
    return _wlMinted[_address];
  }
  //retuen _psMinted
  function psMinted(address _address) external view virtual returns (uint256){
    return _psMinted[_address];
  }

  //set wl's max mint num.only owner.
  function setWlMaxMints(uint256 _max) external virtual onlyOwner {
    maxMintsPerWL = _max;
  }
  //set PublicSale's max mint num.only owner.
  function setPsMaxMints(uint256 _max) external virtual onlyOwner {
    maxMintsPerPS = _max;
  }
    
  //set WLsale.only owner.
  function setWhitelistSale(bool bool_) external virtual onlyOwner {
    isWlEnabled = bool_;
  }

  //set Publicsale.only owner.
  function setPublicSale(bool bool_) external virtual onlyOwner {
    isPsEnabled = bool_;
  }

  //set MerkleRoot.only owner.
  function setMerkleRoot(bytes32 merkleRoot_) external virtual onlyOwner {
    _setMerkleRoot(merkleRoot_);
  }

  //set HiddenBaseURI.only owner.
  function setHiddenBaseURI(string memory uri_) external virtual onlyOwner {
    _revealUri = uri_;
  }
  //return _currentIndex
  function getCurrentIndex() external view virtual returns (uint256){
    return _currentIndex;
  }

  //set BaseURI at after reveal. only owner.
  function setBaseURI(string memory uri_) external virtual onlyOwner {
    _baseTokenURI = uri_;
  }
  //retuen BaseURI.internal.
  function _currentBaseURI() internal view returns (string memory){
    return _baseTokenURI;
  }

  function tokenURI(uint256 _tokenId) public view virtual override returns (string memory) {
    require(_exists(_tokenId), "URI query for nonexistent token");
    if(_isRevealed == false) {
    return _revealUri;
    }
    return string(abi.encodePacked(_currentBaseURI(), Strings.toString(_tokenId), ""));//deleted .json. adjust for bueno
  }

  //owner mint.transfer to _address.only owner.
  function ownerMint(uint256 _amount, address _address) external virtual onlyOwner { 
    require((_amount + totalSupply()) <= (maxSupply), "No more NFTs");

    _safeMint(_address, _amount);
  }
  //WL mint.
  function whitelistMint(uint256 _amount, bytes32[] memory proof_) external payable virtual nonReentrant {
    require(isWlEnabled, "whitelistMint is Paused");
    require(isWhitelisted(msg.sender, proof_), "You are not whitelisted!");
    require(maxMintsPerWL >= _amount, "whitelistMint: Over max mints per wallet");
    require(maxMintsPerWL >= _wlMinted[msg.sender] + _amount, "You have no whitelistMint left");
    require(msg.value == wlMintPrice * _amount, "ETH value is not correct");
    require((_amount + totalSupply()) <= (maxSupply), "No more NFTs");

    _wlMinted[msg.sender] += _amount;
    _safeMint(msg.sender, _amount);
  }
  //Public mint.
  function publicMint(uint256 _amount) external payable virtual nonReentrant {
    require(isPsEnabled, "publicMint is Paused");
    require(maxMintsPerPS >= _amount, "publicMint: Over max mints per wallet");
    require(maxMintsPerPS >= _psMinted[msg.sender] + _amount, "You have no publicMint left");
    require(msg.value == psMintPrice * _amount, "ETH value is not correct");
    require((_amount + totalSupply()) <= (maxSupply), "No more NFTs");
      
    _psMinted[msg.sender] += _amount;
    _safeMint(msg.sender, _amount);
  }
  //burn
  function burn(uint256 tokenId) external virtual {
    _burn(tokenId, true);
  }

  //widraw ETH from this contract.only owner. 
  function withdraw() external payable virtual onlyOwner nonReentrant{
    // This will payout the owner 100% of the contract balance.
    // Do not remove this otherwise you will not be able to withdraw the funds.
    // =============================================================================
    bool os;
    if(_withdrawWallet != address(0)){//if _withdrawWallet has.
      (os, ) = payable(_withdrawWallet).call{value: address(this).balance}("");
    }else{
      (os, ) = payable(owner()).call{value: address(this).balance}("");
    }
    require(os);
    // =============================================================================
  }
  //return wallet owned tokenids.
  function walletOfOwner(address _address) external view virtual returns (uint256[] memory) {
    uint256 ownerTokenCount = balanceOf(_address);
    uint256[] memory tokenIds = new uint256[](ownerTokenCount);
    //search from all tonkenid. so spend high gas values.attention.
    uint256 tokenindex = 0;
    for (uint256 i = _startTokenId(); i < _currentIndex; i++) {
      if(_address == this.tryOwnerOf(i)) tokenIds[tokenindex++] = i;
    }
    return tokenIds;
  }
  //try catch vaersion ownerOf. I have a error at burned tokenid.so need to try catch.  only external.
  function tryOwnerOf(uint256 tokenId) external view  virtual returns (address) {
    try this.ownerOf(tokenId) returns (address _address) {
      return(_address);
    } catch {
        return (address(0));//return 0x0 if error.
    }
  }


}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

File 5 of 18 : ERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/common/ERC2981.sol)

pragma solidity ^0.8.0;

import "../../interfaces/IERC2981.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information.
 *
 * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for
 * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first.
 *
 * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the
 * fee is specified in basis points by default.
 *
 * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See
 * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to
 * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported.
 *
 * _Available since v4.5._
 */
abstract contract ERC2981 is IERC2981, ERC165 {
    struct RoyaltyInfo {
        address receiver;
        uint96 royaltyFraction;
    }

    RoyaltyInfo private _defaultRoyaltyInfo;
    mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo;

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

    /**
     * @inheritdoc IERC2981
     */
    function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view virtual override returns (address, uint256) {
        RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId];

        if (royalty.receiver == address(0)) {
            royalty = _defaultRoyaltyInfo;
        }

        uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) / _feeDenominator();

        return (royalty.receiver, royaltyAmount);
    }

    /**
     * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a
     * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an
     * override.
     */
    function _feeDenominator() internal pure virtual returns (uint96) {
        return 10000;
    }

    /**
     * @dev Sets the royalty information that all ids in this contract will default to.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: invalid receiver");

        _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Removes default royalty information.
     */
    function _deleteDefaultRoyalty() internal virtual {
        delete _defaultRoyaltyInfo;
    }

    /**
     * @dev Sets the royalty information for a specific token id, overriding the global default.
     *
     * Requirements:
     *
     * - `tokenId` must be already minted.
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setTokenRoyalty(
        uint256 tokenId,
        address receiver,
        uint96 feeNumerator
    ) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: Invalid parameters");

        _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Resets royalty information for the token id back to the global default.
     */
    function _resetTokenRoyalty(uint256 tokenId) internal virtual {
        delete _tokenRoyaltyInfo[tokenId];
    }
}

File 6 of 18 : Base64.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Base64.sol)

pragma solidity ^0.8.0;

/**
 * @dev Provides a set of functions to operate with Base64 strings.
 *
 * _Available since v4.5._
 */
library Base64 {
    /**
     * @dev Base64 Encoding/Decoding Table
     */
    string internal constant _TABLE = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";

    /**
     * @dev Converts a `bytes` to its Bytes64 `string` representation.
     */
    function encode(bytes memory data) internal pure returns (string memory) {
        /**
         * Inspired by Brecht Devos (Brechtpd) implementation - MIT licence
         * https://github.com/Brechtpd/base64/blob/e78d9fd951e7b0977ddca77d92dc85183770daf4/base64.sol
         */
        if (data.length == 0) return "";

        // Loads the table into memory
        string memory table = _TABLE;

        // Encoding takes 3 bytes chunks of binary data from `bytes` data parameter
        // and split into 4 numbers of 6 bits.
        // The final Base64 length should be `bytes` data length multiplied by 4/3 rounded up
        // - `data.length + 2`  -> Round up
        // - `/ 3`              -> Number of 3-bytes chunks
        // - `4 *`              -> 4 characters for each chunk
        string memory result = new string(4 * ((data.length + 2) / 3));

        assembly {
            // Prepare the lookup table (skip the first "length" byte)
            let tablePtr := add(table, 1)

            // Prepare result pointer, jump over length
            let resultPtr := add(result, 32)

            // Run over the input, 3 bytes at a time
            for {
                let dataPtr := data
                let endPtr := add(data, mload(data))
            } lt(dataPtr, endPtr) {

            } {
                // Advance 3 bytes
                dataPtr := add(dataPtr, 3)
                let input := mload(dataPtr)

                // To write each character, shift the 3 bytes (18 bits) chunk
                // 4 times in blocks of 6 bits for each character (18, 12, 6, 0)
                // and apply logical AND with 0x3F which is the number of
                // the previous character in the ASCII table prior to the Base64 Table
                // The result is then added to the table to get the character to write,
                // and finally write it in the result pointer but with a left shift
                // of 256 (1 byte) - 8 (1 ASCII char) = 248 bits

                mstore8(resultPtr, mload(add(tablePtr, and(shr(18, input), 0x3F))))
                resultPtr := add(resultPtr, 1) // Advance

                mstore8(resultPtr, mload(add(tablePtr, and(shr(12, input), 0x3F))))
                resultPtr := add(resultPtr, 1) // Advance

                mstore8(resultPtr, mload(add(tablePtr, and(shr(6, input), 0x3F))))
                resultPtr := add(resultPtr, 1) // Advance

                mstore8(resultPtr, mload(add(tablePtr, and(input, 0x3F))))
                resultPtr := add(resultPtr, 1) // Advance
            }

            // When data `bytes` is not exactly 3 bytes long
            // it is padded with `=` characters at the end
            switch mod(mload(data), 3)
            case 1 {
                mstore8(sub(resultPtr, 1), 0x3d)
                mstore8(sub(resultPtr, 2), 0x3d)
            }
            case 2 {
                mstore8(sub(resultPtr, 1), 0x3d)
            }
        }

        return result;
    }
}

File 7 of 18 : MerkleProof.sol
//SPDX-License-Identifier: MIT
pragma solidity ^0.8.7;

abstract contract MerkleProof {
    bytes32 internal _merkleRoot;
    function _setMerkleRoot(bytes32 merkleRoot_) internal virtual {
        _merkleRoot = merkleRoot_;
    }
    function isWhitelisted(address address_, bytes32[] memory proof_) public view returns (bool) {
        bytes32 _leaf = keccak256(abi.encodePacked(address_));
        for (uint256 i = 0; i < proof_.length; i++) {
            _leaf = _leaf < proof_[i] ? keccak256(abi.encodePacked(_leaf, proof_[i])) : keccak256(abi.encodePacked(proof_[i], _leaf));
        }
        return _leaf == _merkleRoot;
    }
}

File 8 of 18 : ERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v3.3.0
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import './IERC721A.sol';
import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.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 extension. Built to optimize for lower gas during batch mints.
 *
 * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..).
 *
 * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
 *
 * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256).
 */
contract ERC721A is Context, ERC165, IERC721A {
    using Address for address;
    using Strings for uint256;

    // The tokenId of the next token to be minted.
    uint256 internal _currentIndex;

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

    /**
     * To change the starting tokenId, please override this function.
     */
    function _startTokenId() internal view virtual returns (uint256) {
        return 0;
    }

    /**
     * @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens.
     */
    function totalSupply() public view override returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than _currentIndex - _startTokenId() times
        unchecked {
            return _currentIndex - _burnCounter - _startTokenId();
        }
    }

    /**
     * Returns the total amount of tokens minted in the contract.
     */
    function _totalMinted() internal view returns (uint256) {
        // Counter underflow is impossible as _currentIndex does not decrement,
        // and it is initialized to _startTokenId()
        unchecked {
            return _currentIndex - _startTokenId();
        }
    }

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

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view override returns (uint256) {
        if (owner == address(0)) revert BalanceQueryForZeroAddress();
        return uint256(_addressData[owner].balance);
    }

    /**
     * Returns the number of tokens minted by `owner`.
     */
    function _numberMinted(address owner) internal view returns (uint256) {
        return uint256(_addressData[owner].numberMinted);
    }

    /**
     * Returns the number of tokens burned by or on behalf of `owner`.
     */
    function _numberBurned(address owner) internal view returns (uint256) {
        return uint256(_addressData[owner].numberBurned);
    }

    /**
     * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
     */
    function _getAux(address owner) internal view returns (uint64) {
        return _addressData[owner].aux;
    }

    /**
     * Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
     * If there are multiple variables, please pack them into a uint64.
     */
    function _setAux(address owner, uint64 aux) internal {
        _addressData[owner].aux = aux;
    }

    /**
     * Gas spent here starts off proportional to the maximum mint batch size.
     * It gradually moves to O(1) as tokens get transferred around in the collection over time.
     */
    function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) {
        uint256 curr = tokenId;

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

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

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

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

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

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

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

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public override {
        address owner = ERC721A.ownerOf(tokenId);
        if (to == owner) revert ApprovalToCurrentOwner();

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

        _approve(to, tokenId, owner);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

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

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        _transfer(from, to, tokenId);
        if (to.isContract()) if(!_checkContractOnERC721Received(from, to, tokenId, _data)) {
            revert TransferToNonERC721ReceiverImplementer();
        }
    }

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

    /**
     * @dev Equivalent to `_safeMint(to, quantity, '')`.
     */
    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 {
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();

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

        // Overflows are incredibly unrealistic.
        // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1
        // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1
        unchecked {
            _addressData[to].balance += uint64(quantity);
            _addressData[to].numberMinted += uint64(quantity);

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

            uint256 updatedIndex = startTokenId;
            uint256 end = updatedIndex + quantity;

            if (to.isContract()) {
                do {
                    emit Transfer(address(0), to, updatedIndex);
                    if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) {
                        revert TransferToNonERC721ReceiverImplementer();
                    }
                } while (updatedIndex < end);
                // Reentrancy protection
                if (_currentIndex != startTokenId) revert();
            } else {
                do {
                    emit Transfer(address(0), to, updatedIndex++);
                } while (updatedIndex < end);
            }
            _currentIndex = updatedIndex;
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

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

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

        // Overflows are incredibly unrealistic.
        // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1
        // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1
        unchecked {
            _addressData[to].balance += uint64(quantity);
            _addressData[to].numberMinted += uint64(quantity);

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

            uint256 updatedIndex = startTokenId;
            uint256 end = updatedIndex + quantity;

            do {
                emit Transfer(address(0), to, updatedIndex++);
            } while (updatedIndex < end);

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

        if (prevOwnership.addr != from) revert TransferFromIncorrectOwner();

        bool isApprovedOrOwner = (_msgSender() == from ||
            isApprovedForAll(from, _msgSender()) ||
            getApproved(tokenId) == _msgSender());

        if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        if (to == address(0)) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

            TokenOwnership storage currSlot = _ownerships[tokenId];
            currSlot.addr = to;
            currSlot.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;
            TokenOwnership storage nextSlot = _ownerships[nextTokenId];
            if (nextSlot.addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId != _currentIndex) {
                    nextSlot.addr = from;
                    nextSlot.startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

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

    /**
     * @dev Equivalent to `_burn(tokenId, false)`.
     */
    function _burn(uint256 tokenId) internal virtual {
        _burn(tokenId, false);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId, bool approvalCheck) internal virtual {
        TokenOwnership memory prevOwnership = _ownershipOf(tokenId);

        address from = prevOwnership.addr;

        if (approvalCheck) {
            bool isApprovedOrOwner = (_msgSender() == from ||
                isApprovedForAll(from, _msgSender()) ||
                getApproved(tokenId) == _msgSender());

            if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        }

        _beforeTokenTransfers(from, address(0), tokenId, 1);

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

        // 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 storage addressData = _addressData[from];
            addressData.balance -= 1;
            addressData.numberBurned += 1;

            // Keep track of who burned the token, and the timestamp of burning.
            TokenOwnership storage currSlot = _ownerships[tokenId];
            currSlot.addr = from;
            currSlot.startTimestamp = uint64(block.timestamp);
            currSlot.burned = true;

            // If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it.
            // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
            uint256 nextTokenId = tokenId + 1;
            TokenOwnership storage nextSlot = _ownerships[nextTokenId];
            if (nextSlot.addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId != _currentIndex) {
                    nextSlot.addr = from;
                    nextSlot.startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

        emit Transfer(from, address(0), tokenId);
        _afterTokenTransfers(from, address(0), tokenId, 1);

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

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

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target 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 _checkContractOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
            return retval == IERC721Receiver(to).onERC721Received.selector;
        } catch (bytes memory reason) {
            if (reason.length == 0) {
                revert TransferToNonERC721ReceiverImplementer();
            } else {
                assembly {
                    revert(add(32, reason), mload(reason))
                }
            }
        }
    }

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

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

File 9 of 18 : 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 10 of 18 : IERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Interface for the NFT Royalty Standard.
 *
 * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal
 * support for royalty payments across all NFT marketplaces and ecosystem participants.
 *
 * _Available since v4.5._
 */
interface IERC2981 is IERC165 {
    /**
     * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of
     * exchange. The royalty amount is denominated and should be paid in that same unit of exchange.
     */
    function royaltyInfo(uint256 tokenId, uint256 salePrice)
        external
        view
        returns (address receiver, uint256 royaltyAmount);
}

File 11 of 18 : 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 12 of 18 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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

File 13 of 18 : IERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v3.3.0
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import '@openzeppelin/contracts/token/ERC721/IERC721.sol';
import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol';

/**
 * @dev Interface of an ERC721A compliant contract.
 */
interface IERC721A is IERC721, IERC721Metadata {
    /**
     * The caller must own the token or be an approved operator.
     */
    error ApprovalCallerNotOwnerNorApproved();

    /**
     * The token does not exist.
     */
    error ApprovalQueryForNonexistentToken();

    /**
     * The caller cannot approve to their own address.
     */
    error ApproveToCaller();

    /**
     * The caller cannot approve to the current owner.
     */
    error ApprovalToCurrentOwner();

    /**
     * Cannot query the balance for the zero address.
     */
    error BalanceQueryForZeroAddress();

    /**
     * Cannot mint to the zero address.
     */
    error MintToZeroAddress();

    /**
     * The quantity of tokens minted must be more than zero.
     */
    error MintZeroQuantity();

    /**
     * The token does not exist.
     */
    error OwnerQueryForNonexistentToken();

    /**
     * The caller must own the token or be an approved operator.
     */
    error TransferCallerNotOwnerNorApproved();

    /**
     * The token must be owned by `from`.
     */
    error TransferFromIncorrectOwner();

    /**
     * Cannot safely transfer to a contract that does not implement the ERC721Receiver interface.
     */
    error TransferToNonERC721ReceiverImplementer();

    /**
     * Cannot transfer to the zero address.
     */
    error TransferToZeroAddress();

    /**
     * The token does not exist.
     */
    error URIQueryForNonexistentToken();

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

    // Compiler will pack this into a single 256bit word.
    struct AddressData {
        // Realistically, 2**64-1 is more than enough.
        uint64 balance;
        // Keeps track of mint count with minimal overhead for tokenomics.
        uint64 numberMinted;
        // Keeps track of burn count with minimal overhead for tokenomics.
        uint64 numberBurned;
        // For miscellaneous variable(s) pertaining to the address
        // (e.g. number of whitelist mint slots used).
        // If there are multiple variables, please pack them into a uint64.
        uint64 aux;
    }

    /**
     * @dev Returns the total amount of tokens stored by the contract.
     * 
     * Burned tokens are calculated here, use `_totalMinted()` if you want to count just minted tokens.
     */
    function totalSupply() external view returns (uint256);
}

File 14 of 18 : 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 15 of 18 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getCurrentIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPsEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isRevealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"address_","type":"address"},{"internalType":"bytes32[]","name":"proof_","type":"bytes32[]"}],"name":"isWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isWlEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintsPerPS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintsPerWL","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address","name":"_address","type":"address"}],"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":"psMintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"psMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"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":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_receiver","type":"address"},{"internalType":"uint96","name":"_feeNumerator","type":"uint96"}],"name":"setDefaultRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri_","type":"string"}],"name":"setHiddenBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"merkleRoot_","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_max","type":"uint256"}],"name":"setPsMaxMints","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setPsPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"bool_","type":"bool"}],"name":"setPublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"bool_","type":"bool"}],"name":"setReveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"bool_","type":"bool"}],"name":"setWhitelistSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"setWithdrawWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_max","type":"uint256"}],"name":"setWlMaxMints","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setWlPrice","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":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tryOwnerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bytes32[]","name":"proof_","type":"bytes32[]"}],"name":"whitelistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"wlMintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"wlMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

60806040523480156200001157600080fd5b50604051620034e6380380620034e6833981016040819052620000349162000231565b81818181620000433362000084565b815162000058906003906020850190620000d4565b5080516200006e906004906020840190620000d4565b50600180815560095550620002ee945050505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b828054620000e2906200029b565b90600052602060002090601f01602090048101928262000106576000855562000151565b82601f106200012157805160ff191683800117855562000151565b8280016001018555821562000151579182015b828111156200015157825182559160200191906001019062000134565b506200015f92915062000163565b5090565b5b808211156200015f576000815560010162000164565b600082601f8301126200018c57600080fd5b81516001600160401b0380821115620001a957620001a9620002d8565b604051601f8301601f19908116603f01168101908282118183101715620001d457620001d4620002d8565b81604052838152602092508683858801011115620001f157600080fd5b600091505b83821015620002155785820183015181830184015290820190620001f6565b83821115620002275760008385830101525b9695505050505050565b600080604083850312156200024557600080fd5b82516001600160401b03808211156200025d57600080fd5b6200026b868387016200017a565b935060208501519150808211156200028257600080fd5b5062000291858286016200017a565b9150509250929050565b600181811c90821680620002b057607f821691505b60208210811415620002d257634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b6131e880620002fe6000396000f3fe6080604052600436106102445760003560e01c806301ffc9a71461024957806304634d8d1461027e57806306fdde03146102a0578063081812fc146102c2578063095ea7b3146102fa5780630d9005ae1461031a57806318160ddd146103395780631a09cfe21461034e57806320ac68501461036457806323b872dd146103845780632a3f300c146103a45780632a55205a146103c45780632c4e9fc6146104035780632db11544146104195780633ccfd60b1461042c57806342454db91461043457806342842e0e1461044a57806342966c681461046a578063438b63001461048a57806354214f69146104b757806355f804b3146104d55780635a23dd99146104f55780635aca1bb6146105155780636352211e146105355780636f8b44b01461055557806370a0823114610575578063715018a614610595578063719eaef8146105aa57806378a92380146105ca5780637cb6475914610600578063813779ef14610620578063830b3a64146106405780638da5cb5b146106605780638dd07d0f146106755780639373f43214610695578063942958f4146106b557806395d89b41146106eb5780639970cc29146107005780639c9a943014610716578063a22cb46514610730578063b88d4fde14610750578063c87b56dd14610770578063ca7ce3ec14610790578063d2cab056146107b0578063d52c57e0146107c3578063d5abeb01146107e3578063d78be71c146107f9578063e8a3d48514610819578063e9186bce1461082e578063e985e9c51461084d578063f2fde38b14610896575b600080fd5b34801561025557600080fd5b50610269610264366004612c1a565b6108b6565b60405190151581526020015b60405180910390f35b34801561028a57600080fd5b5061029e610299366004612bac565b6108c7565b005b3480156102ac57600080fd5b506102b561090d565b6040516102759190612eb9565b3480156102ce57600080fd5b506102e26102dd366004612c01565b61099f565b6040516001600160a01b039091168152602001610275565b34801561030657600080fd5b5061029e610315366004612b80565b6109e3565b34801561032657600080fd5b506001545b604051908152602001610275565b34801561034557600080fd5b5061032b610a6a565b34801561035a57600080fd5b5061032b60105481565b34801561037057600080fd5b5061029e61037f366004612c54565b610a78565b34801561039057600080fd5b5061029e61039f366004612a3c565b610aba565b3480156103b057600080fd5b5061029e6103bf366004612be6565b610ac5565b3480156103d057600080fd5b506103e46103df366004612cf1565b610b10565b604080516001600160a01b039093168352602083019190915201610275565b34801561040f57600080fd5b5061032b600d5481565b61029e610427366004612c01565b610bbc565b61029e610d92565b34801561044057600080fd5b5061032b600e5481565b34801561045657600080fd5b5061029e610465366004612a3c565b610e5f565b34801561047657600080fd5b5061029e610485366004612c01565b610e7a565b34801561049657600080fd5b506104aa6104a53660046129c9565b610e88565b6040516102759190612e75565b3480156104c357600080fd5b5060155462010000900460ff16610269565b3480156104e157600080fd5b5061029e6104f0366004612c54565b610fbb565b34801561050157600080fd5b50610269610510366004612afc565b610ffd565b34801561052157600080fd5b5061029e610530366004612be6565b61111c565b34801561054157600080fd5b506102e2610550366004612c01565b611165565b34801561056157600080fd5b5061029e610570366004612c01565b611177565b34801561058157600080fd5b5061032b6105903660046129c9565b6111fe565b3480156105a157600080fd5b5061029e61124c565b3480156105b657600080fd5b5061029e6105c5366004612c01565b611287565b3480156105d657600080fd5b5061032b6105e53660046129c9565b6001600160a01b031660009081526016602052604090205490565b34801561060c57600080fd5b5061029e61061b366004612c01565b6112bb565b34801561062c57600080fd5b5061029e61063b366004612c01565b6112f3565b34801561064c57600080fd5b506102e261065b366004612c01565b611327565b34801561066c57600080fd5b506102e26113a2565b34801561068157600080fd5b5061029e610690366004612c01565b6113b1565b3480156106a157600080fd5b5061029e6106b03660046129c9565b6113e5565b3480156106c157600080fd5b5061032b6106d03660046129c9565b6001600160a01b031660009081526017602052604090205490565b3480156106f757600080fd5b506102b5611436565b34801561070c57600080fd5b5061032b600f5481565b34801561072257600080fd5b506015546102699060ff1681565b34801561073c57600080fd5b5061029e61074b366004612b4b565b611445565b34801561075c57600080fd5b5061029e61076b366004612a7d565b6114db565b34801561077c57600080fd5b506102b561078b366004612c01565b61152c565b34801561079c57600080fd5b5061029e6107ab366004612be6565b61165d565b61029e6107be366004612cc1565b61169f565b3480156107cf57600080fd5b5061029e6107de366004612c9c565b6118c1565b3480156107ef57600080fd5b5061032b60115481565b34801561080557600080fd5b5061029e610814366004612c01565b61192d565b34801561082557600080fd5b506102b5611961565b34801561083a57600080fd5b5060155461026990610100900460ff1681565b34801561085957600080fd5b50610269610868366004612a03565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b3480156108a257600080fd5b5061029e6108b13660046129c9565b611970565b60006108c182611a0d565b92915050565b336108d06113a2565b6001600160a01b0316146108ff5760405162461bcd60e51b81526004016108f690612efe565b60405180910390fd5b6109098282611a32565b5050565b60606003805461091c90613065565b80601f016020809104026020016040519081016040528092919081815260200182805461094890613065565b80156109955780601f1061096a57610100808354040283529160200191610995565b820191906000526020600020905b81548152906001019060200180831161097857829003601f168201915b5050505050905090565b60006109aa82611b2b565b6109c7576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b60006109ee82611165565b9050806001600160a01b0316836001600160a01b03161415610a235760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b03821614610a5a57610a3d8133610868565b610a5a576040516367d9dca160e11b815260040160405180910390fd5b610a65838383611b64565b505050565b600254600154036000190190565b33610a816113a2565b6001600160a01b031614610aa75760405162461bcd60e51b81526004016108f690612efe565b8051610909906013906020840190612844565b610a65838383611bc0565b33610ace6113a2565b6001600160a01b031614610af45760405162461bcd60e51b81526004016108f690612efe565b60158054911515620100000262ff000019909216919091179055565b6000828152600c602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b0316928201929092528291610b85575060408051808201909152600b546001600160a01b0381168252600160a01b90046001600160601b031660208201525b602081015160009061271090610ba4906001600160601b031687612fec565b610bae9190612fd8565b915196919550909350505050565b60026009541415610bdf5760405162461bcd60e51b81526004016108f690612f59565b6002600955601554610100900460ff16610c325760405162461bcd60e51b81526020600482015260146024820152731c1d589b1a58d35a5b9d081a5cc814185d5cd95960621b60448201526064016108f6565b806010541015610c925760405162461bcd60e51b815260206004820152602560248201527f7075626c69634d696e743a204f766572206d6178206d696e7473207065722077604482015264185b1b195d60da1b60648201526084016108f6565b33600090815260176020526040902054610cad908290612fc0565b6010541015610cfc5760405162461bcd60e51b815260206004820152601b60248201527a165bdd481a185d99481b9bc81c1d589b1a58d35a5b9d081b19599d602a1b60448201526064016108f6565b80600e54610d0a9190612fec565b3414610d285760405162461bcd60e51b81526004016108f690612ecc565b601154610d33610a6a565b610d3d9083612fc0565b1115610d5b5760405162461bcd60e51b81526004016108f690612f33565b3360009081526017602052604081208054839290610d7a908490612fc0565b90915550610d8a90503382611d9a565b506001600955565b33610d9b6113a2565b6001600160a01b031614610dc15760405162461bcd60e51b81526004016108f690612efe565b60026009541415610de45760405162461bcd60e51b81526004016108f690612f59565b600260095560405173e99073f2ba37b44f5cccf4758b179485f3984d7f90600090829047908381818185875af1925050503d8060008114610e41576040519150601f19603f3d011682016040523d82523d6000602084013e610e46565b606091505b50508091505080610e5657600080fd5b50506001600955565b610a65838383604051806020016040528060008152506114db565b610e85816001611db4565b50565b60606000610e95836111fe565b90506000816001600160401b03811115610eb157610eb1613111565b604051908082528060200260200182016040528015610eda578160200160208202803683370190505b509050600060015b600154811015610fb1576040516320c2ce9960e21b815260048101829052309063830b3a649060240160206040518083038186803b158015610f2357600080fd5b505afa158015610f37573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f5b91906129e6565b6001600160a01b0316866001600160a01b03161415610f9f57808383610f80816130a0565b945081518110610f9257610f926130fb565b6020026020010181815250505b80610fa9816130a0565b915050610ee2565b5090949350505050565b33610fc46113a2565b6001600160a01b031614610fea5760405162461bcd60e51b81526004016108f690612efe565b8051610909906014906020840190612844565b6040516001600160601b0319606084901b166020820152600090819060340160405160208183030381529060405280519060200120905060005b835181101561111057838181518110611052576110526130fb565b602002602001015182106110b057838181518110611072576110726130fb565b602002602001015182604051602001611095929190918252602082015260400190565b604051602081830303815290604052805190602001206110fc565b818482815181106110c3576110c36130fb565b60200260200101516040516020016110e5929190918252602082015260400190565b604051602081830303815290604052805190602001205b915080611108816130a0565b915050611037565b50600a54149392505050565b336111256113a2565b6001600160a01b03161461114b5760405162461bcd60e51b81526004016108f690612efe565b601580549115156101000261ff0019909216919091179055565b600061117082611f62565b5192915050565b336111806113a2565b6001600160a01b0316146111a65760405162461bcd60e51b81526004016108f690612efe565b806111af610a6a565b11156111f95760405162461bcd60e51b81526020600482015260196024820152782637bbb2b9103a3430b7102fb1bab93932b73a24b73232bc1760391b60448201526064016108f6565b601155565b60006001600160a01b038216611227576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600660205260409020546001600160401b031690565b336112556113a2565b6001600160a01b03161461127b5760405162461bcd60e51b81526004016108f690612efe565b6112856000612084565b565b336112906113a2565b6001600160a01b0316146112b65760405162461bcd60e51b81526004016108f690612efe565b600f55565b336112c46113a2565b6001600160a01b0316146112ea5760405162461bcd60e51b81526004016108f690612efe565b610e8581600a55565b336112fc6113a2565b6001600160a01b0316146113225760405162461bcd60e51b81526004016108f690612efe565b601055565b6040516331a9108f60e11b8152600481018290526000903090636352211e9060240160206040518083038186803b15801561136157600080fd5b505afa925050508015611391575060408051601f3d908101601f1916820190925261138e918101906129e6565b60015b6108c157506000919050565b919050565b6000546001600160a01b031690565b336113ba6113a2565b6001600160a01b0316146113e05760405162461bcd60e51b81526004016108f690612efe565b600d55565b336113ee6113a2565b6001600160a01b0316146114145760405162461bcd60e51b81526004016108f690612efe565b601280546001600160a01b0319166001600160a01b0392909216919091179055565b60606004805461091c90613065565b6001600160a01b03821633141561146f5760405163b06307db60e01b815260040160405180910390fd5b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6114e6848484611bc0565b6114f8836001600160a01b03166120d4565b1561152657611509848484846120e3565b611526576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b606061153782611b2b565b6115835760405162461bcd60e51b815260206004820152601f60248201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e0060448201526064016108f6565b60155462010000900460ff1661162557601380546115a090613065565b80601f01602080910402602001604051908101604052809291908181526020018280546115cc90613065565b80156116195780601f106115ee57610100808354040283529160200191611619565b820191906000526020600020905b8154815290600101906020018083116115fc57829003601f168201915b50505050509050919050565b61162d6121db565b611636836121ea565b604051602001611647929190612d3f565b6040516020818303038152906040529050919050565b336116666113a2565b6001600160a01b03161461168c5760405162461bcd60e51b81526004016108f690612efe565b6015805460ff1916911515919091179055565b600260095414156116c25760405162461bcd60e51b81526004016108f690612f59565b600260095560155460ff166117135760405162461bcd60e51b81526020600482015260176024820152761dda1a5d195b1a5cdd135a5b9d081a5cc814185d5cd959604a1b60448201526064016108f6565b61171d3382610ffd565b6117645760405162461bcd60e51b8152602060048201526018602482015277596f7520617265206e6f742077686974656c69737465642160401b60448201526064016108f6565b81600f5410156117c75760405162461bcd60e51b815260206004820152602860248201527f77686974656c6973744d696e743a204f766572206d6178206d696e74732070656044820152671c881dd85b1b195d60c21b60648201526084016108f6565b336000908152601660205260409020546117e2908390612fc0565b600f5410156118335760405162461bcd60e51b815260206004820152601e60248201527f596f752068617665206e6f2077686974656c6973744d696e74206c656674000060448201526064016108f6565b81600d546118419190612fec565b341461185f5760405162461bcd60e51b81526004016108f690612ecc565b60115461186a610a6a565b6118749084612fc0565b11156118925760405162461bcd60e51b81526004016108f690612f33565b33600090815260166020526040812080548492906118b1908490612fc0565b90915550610e5690503383611d9a565b336118ca6113a2565b6001600160a01b0316146118f05760405162461bcd60e51b81526004016108f690612efe565b6011546118fb610a6a565b6119059084612fc0565b11156119235760405162461bcd60e51b81526004016108f690612f33565b6109098183611d9a565b336119366113a2565b6001600160a01b03161461195c5760405162461bcd60e51b81526004016108f690612efe565b600e55565b606061196b6122e7565b905090565b336119796113a2565b6001600160a01b03161461199f5760405162461bcd60e51b81526004016108f690612efe565b6001600160a01b038116611a045760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108f6565b610e8581612084565b60006001600160e01b0319821663152a902d60e11b14806108c157506108c182612367565b6127106001600160601b0382161115611aa05760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b60648201526084016108f6565b6001600160a01b038216611af25760405162461bcd60e51b815260206004820152601960248201527822a921991c9c189d1034b73b30b634b2103932b1b2b4bb32b960391b60448201526064016108f6565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600b55565b600081600111158015611b3f575060015482105b80156108c1575050600090815260056020526040902054600160e01b900460ff161590565b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000611bcb82611f62565b9050836001600160a01b031681600001516001600160a01b031614611c025760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b0386161480611c205750611c208533610868565b80611c3b575033611c308461099f565b6001600160a01b0316145b905080611c5b57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038416611c8257604051633a954ecd60e21b815260040160405180910390fd5b611c8e60008487611b64565b6001600160a01b03858116600090815260066020908152604080832080546001600160401b03198082166001600160401b0392831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600590945282852080546001600160e01b031916909417600160a01b42909216919091021783558701808452922080549193909116611d61576001548214611d6157805460208601516001600160401b0316600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b031660008051602061319383398151915260405160405180910390a45050505050565b6109098282604051806020016040528060008152506123b7565b6000611dbf83611f62565b80519091508215611e25576000336001600160a01b0383161480611de85750611de88233610868565b80611e03575033611df88661099f565b6001600160a01b0316145b905080611e2357604051632ce44b5f60e11b815260040160405180910390fd5b505b611e3160008583611b64565b6001600160a01b0380821660008181526006602090815260408083208054600160801b6000196001600160401b038084169190910181166001600160401b0319841681178390048216600190810183169093026001600160401b03600160801b03600160c01b0319909416179290921783558b86526005909452828520805460ff60e01b1942909316600160a01b026001600160e01b03199091169097179690961716600160e01b178555918901808452922080549194909116611f29576001548214611f2957805460208701516001600160401b0316600160a01b026001600160e01b03199091166001600160a01b038716171781555b5050604051869250600091506001600160a01b03841690600080516020613193833981519152908390a450506002805460010190555050565b6040805160608101825260008082526020820181905291810191909152818060011161206b5760015481101561206b57600081815260056020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff161515918101829052906120695780516001600160a01b031615612000579392505050565b5060001901600081815260056020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff1615159281019290925215612064579392505050565b612000565b505b604051636f96cda160e11b815260040160405180910390fd5b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03163b151590565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290612118903390899088908890600401612e38565b602060405180830381600087803b15801561213257600080fd5b505af1925050508015612162575060408051601f3d908101601f1916820190925261215f91810190612c37565b60015b6121bd573d808015612190576040519150601f19603f3d011682016040523d82523d6000602084013e612195565b606091505b5080516121b5576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60606014805461091c90613065565b60608161220e5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156122385780612222816130a0565b91506122319050600a83612fd8565b9150612212565b6000816001600160401b0381111561225257612252613111565b6040519080825280601f01601f19166020018201604052801561227c576020820181803683370190505b5090505b84156121d35761229160018361300b565b915061229e600a866130bb565b6122a9906030612fc0565b60f81b8183815181106122be576122be6130fb565b60200101906001600160f81b031916908160001a9053506122e0600a86612fd8565b9450612280565b60606000806122f881612710610b10565b91509150612341612308826121ea565b61231c846001600160a01b0316601461254f565b60405160200161232d929190612d6e565b6040516020818303038152906040526126f1565b6040516020016123519190612df3565b6040516020818303038152906040529250505090565b60006001600160e01b031982166380ac58cd60e01b148061239857506001600160e01b03198216635b5e139f60e01b145b806108c157506301ffc9a760e01b6001600160e01b03198316146108c1565b6001546001600160a01b0384166123e057604051622e076360e81b815260040160405180910390fd5b826123fe5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038416600081815260066020908152604080832080546001600160801b031981166001600160401b038083168b018116918217600160401b6001600160401b031990941690921783900481168b01811690920217909155858452600590925290912080546001600160e01b0319168317600160a01b4290931692909202919091179055819081850190612497906120d4565b1561250d575b60405182906001600160a01b03881690600090600080516020613193833981519152908290a46124d660008784806001019550876120e3565b6124f3576040516368d2bf6b60e11b815260040160405180910390fd5b80821061249d57826001541461250857600080fd5b612540565b5b6040516001830192906001600160a01b03881690600090600080516020613193833981519152908290a480821061250e575b50600155611526600085838684565b6060600061255e836002612fec565b612569906002612fc0565b6001600160401b0381111561258057612580613111565b6040519080825280601f01601f1916602001820160405280156125aa576020820181803683370190505b509050600360fc1b816000815181106125c5576125c56130fb565b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106125f4576125f46130fb565b60200101906001600160f81b031916908160001a9053506000612618846002612fec565b612623906001612fc0565b90505b600181111561269b576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110612657576126576130fb565b1a60f81b82828151811061266d5761266d6130fb565b60200101906001600160f81b031916908160001a90535060049490941c936126948161304e565b9050612626565b5083156126ea5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016108f6565b9392505050565b606081516000141561271157505060408051602081019091526000815290565b600060405180606001604052806040815260200161315360409139905060006003845160026127409190612fc0565b61274a9190612fd8565b612755906004612fec565b6001600160401b0381111561276c5761276c613111565b6040519080825280601f01601f191660200182016040528015612796576020820181803683370190505b509050600182016020820185865187015b80821015612802576003820191508151603f8160121c168501518453600184019350603f81600c1c168501518453600184019350603f8160061c168501518453600184019350603f81168501518453506001830192506127a7565b505060038651066001811461281e576002811461283157612839565b603d6001830353603d6002830353612839565b603d60018303535b509195945050505050565b82805461285090613065565b90600052602060002090601f01602090048101928261287257600085556128b8565b82601f1061288b57805160ff19168380011785556128b8565b828001600101855582156128b8579182015b828111156128b857825182559160200191906001019061289d565b506128c49291506128c8565b5090565b5b808211156128c457600081556001016128c9565b60006001600160401b038311156128f6576128f6613111565b612909601f8401601f1916602001612f90565b905082815283838301111561291d57600080fd5b828260208301376000602084830101529392505050565b600082601f83011261294557600080fd5b813560206001600160401b0382111561296057612960613111565b8160051b61296f828201612f90565b83815282810190868401838801850189101561298a57600080fd5b600093505b858410156129ad57803583526001939093019291840191840161298f565b50979650505050505050565b8035801515811461139d57600080fd5b6000602082840312156129db57600080fd5b81356126ea81613127565b6000602082840312156129f857600080fd5b81516126ea81613127565b60008060408385031215612a1657600080fd5b8235612a2181613127565b91506020830135612a3181613127565b809150509250929050565b600080600060608486031215612a5157600080fd5b8335612a5c81613127565b92506020840135612a6c81613127565b929592945050506040919091013590565b60008060008060808587031215612a9357600080fd5b8435612a9e81613127565b93506020850135612aae81613127565b92506040850135915060608501356001600160401b03811115612ad057600080fd5b8501601f81018713612ae157600080fd5b612af0878235602084016128dd565b91505092959194509250565b60008060408385031215612b0f57600080fd5b8235612b1a81613127565b915060208301356001600160401b03811115612b3557600080fd5b612b4185828601612934565b9150509250929050565b60008060408385031215612b5e57600080fd5b8235612b6981613127565b9150612b77602084016129b9565b90509250929050565b60008060408385031215612b9357600080fd5b8235612b9e81613127565b946020939093013593505050565b60008060408385031215612bbf57600080fd5b8235612bca81613127565b915060208301356001600160601b0381168114612a3157600080fd5b600060208284031215612bf857600080fd5b6126ea826129b9565b600060208284031215612c1357600080fd5b5035919050565b600060208284031215612c2c57600080fd5b81356126ea8161313c565b600060208284031215612c4957600080fd5b81516126ea8161313c565b600060208284031215612c6657600080fd5b81356001600160401b03811115612c7c57600080fd5b8201601f81018413612c8d57600080fd5b6121d3848235602084016128dd565b60008060408385031215612caf57600080fd5b823591506020830135612a3181613127565b60008060408385031215612cd457600080fd5b8235915060208301356001600160401b03811115612b3557600080fd5b60008060408385031215612d0457600080fd5b50508035926020909101359150565b60008151808452612d2b816020860160208601613022565b601f01601f19169290920160200192915050565b60008351612d51818460208801613022565b835190830190612d65818360208801613022565b01949350505050565b7a3d9139b2b63632b92fb332b2afb130b9b4b9afb837b4b73a39911d60291b81528251600090612da581601b850160208801613022565b721610113332b2afb932b1b4b834b2b73a111d1160691b601b918401918201528351612dd881602e840160208801613022565b61227d60f01b602e9290910191820152603001949350505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000815260008251612e2b81601d850160208701613022565b91909101601d0192915050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612e6b90830184612d13565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015612ead57835183529284019291840191600101612e91565b50909695505050505050565b6020815260006126ea6020830184612d13565b602080825260189082015277115512081d985b1d59481a5cc81b9bdd0818dbdc9c9958dd60421b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252600c908201526b4e6f206d6f7265204e46547360a01b604082015260600190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b604051601f8201601f191681016001600160401b0381118282101715612fb857612fb8613111565b604052919050565b60008219821115612fd357612fd36130cf565b500190565b600082612fe757612fe76130e5565b500490565b6000816000190483118215151615613006576130066130cf565b500290565b60008282101561301d5761301d6130cf565b500390565b60005b8381101561303d578181015183820152602001613025565b838111156115265750506000910152565b60008161305d5761305d6130cf565b506000190190565b600181811c9082168061307957607f821691505b6020821081141561309a57634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156130b4576130b46130cf565b5060010190565b6000826130ca576130ca6130e5565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610e8557600080fd5b6001600160e01b031981168114610e8557600080fdfe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa264697066735822122006bafd8b641f836bf1fc7e9d847bd1f7f01623d130f0c830d00c0d54760eaaab64736f6c63430008070033000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000019466c6f776572204c6f6c69746120436f6c6c656374696f6e7300000000000000000000000000000000000000000000000000000000000000000000000000000a464c4f5745524c4f4c4900000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106102445760003560e01c806301ffc9a71461024957806304634d8d1461027e57806306fdde03146102a0578063081812fc146102c2578063095ea7b3146102fa5780630d9005ae1461031a57806318160ddd146103395780631a09cfe21461034e57806320ac68501461036457806323b872dd146103845780632a3f300c146103a45780632a55205a146103c45780632c4e9fc6146104035780632db11544146104195780633ccfd60b1461042c57806342454db91461043457806342842e0e1461044a57806342966c681461046a578063438b63001461048a57806354214f69146104b757806355f804b3146104d55780635a23dd99146104f55780635aca1bb6146105155780636352211e146105355780636f8b44b01461055557806370a0823114610575578063715018a614610595578063719eaef8146105aa57806378a92380146105ca5780637cb6475914610600578063813779ef14610620578063830b3a64146106405780638da5cb5b146106605780638dd07d0f146106755780639373f43214610695578063942958f4146106b557806395d89b41146106eb5780639970cc29146107005780639c9a943014610716578063a22cb46514610730578063b88d4fde14610750578063c87b56dd14610770578063ca7ce3ec14610790578063d2cab056146107b0578063d52c57e0146107c3578063d5abeb01146107e3578063d78be71c146107f9578063e8a3d48514610819578063e9186bce1461082e578063e985e9c51461084d578063f2fde38b14610896575b600080fd5b34801561025557600080fd5b50610269610264366004612c1a565b6108b6565b60405190151581526020015b60405180910390f35b34801561028a57600080fd5b5061029e610299366004612bac565b6108c7565b005b3480156102ac57600080fd5b506102b561090d565b6040516102759190612eb9565b3480156102ce57600080fd5b506102e26102dd366004612c01565b61099f565b6040516001600160a01b039091168152602001610275565b34801561030657600080fd5b5061029e610315366004612b80565b6109e3565b34801561032657600080fd5b506001545b604051908152602001610275565b34801561034557600080fd5b5061032b610a6a565b34801561035a57600080fd5b5061032b60105481565b34801561037057600080fd5b5061029e61037f366004612c54565b610a78565b34801561039057600080fd5b5061029e61039f366004612a3c565b610aba565b3480156103b057600080fd5b5061029e6103bf366004612be6565b610ac5565b3480156103d057600080fd5b506103e46103df366004612cf1565b610b10565b604080516001600160a01b039093168352602083019190915201610275565b34801561040f57600080fd5b5061032b600d5481565b61029e610427366004612c01565b610bbc565b61029e610d92565b34801561044057600080fd5b5061032b600e5481565b34801561045657600080fd5b5061029e610465366004612a3c565b610e5f565b34801561047657600080fd5b5061029e610485366004612c01565b610e7a565b34801561049657600080fd5b506104aa6104a53660046129c9565b610e88565b6040516102759190612e75565b3480156104c357600080fd5b5060155462010000900460ff16610269565b3480156104e157600080fd5b5061029e6104f0366004612c54565b610fbb565b34801561050157600080fd5b50610269610510366004612afc565b610ffd565b34801561052157600080fd5b5061029e610530366004612be6565b61111c565b34801561054157600080fd5b506102e2610550366004612c01565b611165565b34801561056157600080fd5b5061029e610570366004612c01565b611177565b34801561058157600080fd5b5061032b6105903660046129c9565b6111fe565b3480156105a157600080fd5b5061029e61124c565b3480156105b657600080fd5b5061029e6105c5366004612c01565b611287565b3480156105d657600080fd5b5061032b6105e53660046129c9565b6001600160a01b031660009081526016602052604090205490565b34801561060c57600080fd5b5061029e61061b366004612c01565b6112bb565b34801561062c57600080fd5b5061029e61063b366004612c01565b6112f3565b34801561064c57600080fd5b506102e261065b366004612c01565b611327565b34801561066c57600080fd5b506102e26113a2565b34801561068157600080fd5b5061029e610690366004612c01565b6113b1565b3480156106a157600080fd5b5061029e6106b03660046129c9565b6113e5565b3480156106c157600080fd5b5061032b6106d03660046129c9565b6001600160a01b031660009081526017602052604090205490565b3480156106f757600080fd5b506102b5611436565b34801561070c57600080fd5b5061032b600f5481565b34801561072257600080fd5b506015546102699060ff1681565b34801561073c57600080fd5b5061029e61074b366004612b4b565b611445565b34801561075c57600080fd5b5061029e61076b366004612a7d565b6114db565b34801561077c57600080fd5b506102b561078b366004612c01565b61152c565b34801561079c57600080fd5b5061029e6107ab366004612be6565b61165d565b61029e6107be366004612cc1565b61169f565b3480156107cf57600080fd5b5061029e6107de366004612c9c565b6118c1565b3480156107ef57600080fd5b5061032b60115481565b34801561080557600080fd5b5061029e610814366004612c01565b61192d565b34801561082557600080fd5b506102b5611961565b34801561083a57600080fd5b5060155461026990610100900460ff1681565b34801561085957600080fd5b50610269610868366004612a03565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b3480156108a257600080fd5b5061029e6108b13660046129c9565b611970565b60006108c182611a0d565b92915050565b336108d06113a2565b6001600160a01b0316146108ff5760405162461bcd60e51b81526004016108f690612efe565b60405180910390fd5b6109098282611a32565b5050565b60606003805461091c90613065565b80601f016020809104026020016040519081016040528092919081815260200182805461094890613065565b80156109955780601f1061096a57610100808354040283529160200191610995565b820191906000526020600020905b81548152906001019060200180831161097857829003601f168201915b5050505050905090565b60006109aa82611b2b565b6109c7576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b60006109ee82611165565b9050806001600160a01b0316836001600160a01b03161415610a235760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b03821614610a5a57610a3d8133610868565b610a5a576040516367d9dca160e11b815260040160405180910390fd5b610a65838383611b64565b505050565b600254600154036000190190565b33610a816113a2565b6001600160a01b031614610aa75760405162461bcd60e51b81526004016108f690612efe565b8051610909906013906020840190612844565b610a65838383611bc0565b33610ace6113a2565b6001600160a01b031614610af45760405162461bcd60e51b81526004016108f690612efe565b60158054911515620100000262ff000019909216919091179055565b6000828152600c602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b0316928201929092528291610b85575060408051808201909152600b546001600160a01b0381168252600160a01b90046001600160601b031660208201525b602081015160009061271090610ba4906001600160601b031687612fec565b610bae9190612fd8565b915196919550909350505050565b60026009541415610bdf5760405162461bcd60e51b81526004016108f690612f59565b6002600955601554610100900460ff16610c325760405162461bcd60e51b81526020600482015260146024820152731c1d589b1a58d35a5b9d081a5cc814185d5cd95960621b60448201526064016108f6565b806010541015610c925760405162461bcd60e51b815260206004820152602560248201527f7075626c69634d696e743a204f766572206d6178206d696e7473207065722077604482015264185b1b195d60da1b60648201526084016108f6565b33600090815260176020526040902054610cad908290612fc0565b6010541015610cfc5760405162461bcd60e51b815260206004820152601b60248201527a165bdd481a185d99481b9bc81c1d589b1a58d35a5b9d081b19599d602a1b60448201526064016108f6565b80600e54610d0a9190612fec565b3414610d285760405162461bcd60e51b81526004016108f690612ecc565b601154610d33610a6a565b610d3d9083612fc0565b1115610d5b5760405162461bcd60e51b81526004016108f690612f33565b3360009081526017602052604081208054839290610d7a908490612fc0565b90915550610d8a90503382611d9a565b506001600955565b33610d9b6113a2565b6001600160a01b031614610dc15760405162461bcd60e51b81526004016108f690612efe565b60026009541415610de45760405162461bcd60e51b81526004016108f690612f59565b600260095560405173e99073f2ba37b44f5cccf4758b179485f3984d7f90600090829047908381818185875af1925050503d8060008114610e41576040519150601f19603f3d011682016040523d82523d6000602084013e610e46565b606091505b50508091505080610e5657600080fd5b50506001600955565b610a65838383604051806020016040528060008152506114db565b610e85816001611db4565b50565b60606000610e95836111fe565b90506000816001600160401b03811115610eb157610eb1613111565b604051908082528060200260200182016040528015610eda578160200160208202803683370190505b509050600060015b600154811015610fb1576040516320c2ce9960e21b815260048101829052309063830b3a649060240160206040518083038186803b158015610f2357600080fd5b505afa158015610f37573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f5b91906129e6565b6001600160a01b0316866001600160a01b03161415610f9f57808383610f80816130a0565b945081518110610f9257610f926130fb565b6020026020010181815250505b80610fa9816130a0565b915050610ee2565b5090949350505050565b33610fc46113a2565b6001600160a01b031614610fea5760405162461bcd60e51b81526004016108f690612efe565b8051610909906014906020840190612844565b6040516001600160601b0319606084901b166020820152600090819060340160405160208183030381529060405280519060200120905060005b835181101561111057838181518110611052576110526130fb565b602002602001015182106110b057838181518110611072576110726130fb565b602002602001015182604051602001611095929190918252602082015260400190565b604051602081830303815290604052805190602001206110fc565b818482815181106110c3576110c36130fb565b60200260200101516040516020016110e5929190918252602082015260400190565b604051602081830303815290604052805190602001205b915080611108816130a0565b915050611037565b50600a54149392505050565b336111256113a2565b6001600160a01b03161461114b5760405162461bcd60e51b81526004016108f690612efe565b601580549115156101000261ff0019909216919091179055565b600061117082611f62565b5192915050565b336111806113a2565b6001600160a01b0316146111a65760405162461bcd60e51b81526004016108f690612efe565b806111af610a6a565b11156111f95760405162461bcd60e51b81526020600482015260196024820152782637bbb2b9103a3430b7102fb1bab93932b73a24b73232bc1760391b60448201526064016108f6565b601155565b60006001600160a01b038216611227576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600660205260409020546001600160401b031690565b336112556113a2565b6001600160a01b03161461127b5760405162461bcd60e51b81526004016108f690612efe565b6112856000612084565b565b336112906113a2565b6001600160a01b0316146112b65760405162461bcd60e51b81526004016108f690612efe565b600f55565b336112c46113a2565b6001600160a01b0316146112ea5760405162461bcd60e51b81526004016108f690612efe565b610e8581600a55565b336112fc6113a2565b6001600160a01b0316146113225760405162461bcd60e51b81526004016108f690612efe565b601055565b6040516331a9108f60e11b8152600481018290526000903090636352211e9060240160206040518083038186803b15801561136157600080fd5b505afa925050508015611391575060408051601f3d908101601f1916820190925261138e918101906129e6565b60015b6108c157506000919050565b919050565b6000546001600160a01b031690565b336113ba6113a2565b6001600160a01b0316146113e05760405162461bcd60e51b81526004016108f690612efe565b600d55565b336113ee6113a2565b6001600160a01b0316146114145760405162461bcd60e51b81526004016108f690612efe565b601280546001600160a01b0319166001600160a01b0392909216919091179055565b60606004805461091c90613065565b6001600160a01b03821633141561146f5760405163b06307db60e01b815260040160405180910390fd5b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6114e6848484611bc0565b6114f8836001600160a01b03166120d4565b1561152657611509848484846120e3565b611526576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b606061153782611b2b565b6115835760405162461bcd60e51b815260206004820152601f60248201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e0060448201526064016108f6565b60155462010000900460ff1661162557601380546115a090613065565b80601f01602080910402602001604051908101604052809291908181526020018280546115cc90613065565b80156116195780601f106115ee57610100808354040283529160200191611619565b820191906000526020600020905b8154815290600101906020018083116115fc57829003601f168201915b50505050509050919050565b61162d6121db565b611636836121ea565b604051602001611647929190612d3f565b6040516020818303038152906040529050919050565b336116666113a2565b6001600160a01b03161461168c5760405162461bcd60e51b81526004016108f690612efe565b6015805460ff1916911515919091179055565b600260095414156116c25760405162461bcd60e51b81526004016108f690612f59565b600260095560155460ff166117135760405162461bcd60e51b81526020600482015260176024820152761dda1a5d195b1a5cdd135a5b9d081a5cc814185d5cd959604a1b60448201526064016108f6565b61171d3382610ffd565b6117645760405162461bcd60e51b8152602060048201526018602482015277596f7520617265206e6f742077686974656c69737465642160401b60448201526064016108f6565b81600f5410156117c75760405162461bcd60e51b815260206004820152602860248201527f77686974656c6973744d696e743a204f766572206d6178206d696e74732070656044820152671c881dd85b1b195d60c21b60648201526084016108f6565b336000908152601660205260409020546117e2908390612fc0565b600f5410156118335760405162461bcd60e51b815260206004820152601e60248201527f596f752068617665206e6f2077686974656c6973744d696e74206c656674000060448201526064016108f6565b81600d546118419190612fec565b341461185f5760405162461bcd60e51b81526004016108f690612ecc565b60115461186a610a6a565b6118749084612fc0565b11156118925760405162461bcd60e51b81526004016108f690612f33565b33600090815260166020526040812080548492906118b1908490612fc0565b90915550610e5690503383611d9a565b336118ca6113a2565b6001600160a01b0316146118f05760405162461bcd60e51b81526004016108f690612efe565b6011546118fb610a6a565b6119059084612fc0565b11156119235760405162461bcd60e51b81526004016108f690612f33565b6109098183611d9a565b336119366113a2565b6001600160a01b03161461195c5760405162461bcd60e51b81526004016108f690612efe565b600e55565b606061196b6122e7565b905090565b336119796113a2565b6001600160a01b03161461199f5760405162461bcd60e51b81526004016108f690612efe565b6001600160a01b038116611a045760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108f6565b610e8581612084565b60006001600160e01b0319821663152a902d60e11b14806108c157506108c182612367565b6127106001600160601b0382161115611aa05760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b60648201526084016108f6565b6001600160a01b038216611af25760405162461bcd60e51b815260206004820152601960248201527822a921991c9c189d1034b73b30b634b2103932b1b2b4bb32b960391b60448201526064016108f6565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600b55565b600081600111158015611b3f575060015482105b80156108c1575050600090815260056020526040902054600160e01b900460ff161590565b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000611bcb82611f62565b9050836001600160a01b031681600001516001600160a01b031614611c025760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b0386161480611c205750611c208533610868565b80611c3b575033611c308461099f565b6001600160a01b0316145b905080611c5b57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038416611c8257604051633a954ecd60e21b815260040160405180910390fd5b611c8e60008487611b64565b6001600160a01b03858116600090815260066020908152604080832080546001600160401b03198082166001600160401b0392831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600590945282852080546001600160e01b031916909417600160a01b42909216919091021783558701808452922080549193909116611d61576001548214611d6157805460208601516001600160401b0316600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b031660008051602061319383398151915260405160405180910390a45050505050565b6109098282604051806020016040528060008152506123b7565b6000611dbf83611f62565b80519091508215611e25576000336001600160a01b0383161480611de85750611de88233610868565b80611e03575033611df88661099f565b6001600160a01b0316145b905080611e2357604051632ce44b5f60e11b815260040160405180910390fd5b505b611e3160008583611b64565b6001600160a01b0380821660008181526006602090815260408083208054600160801b6000196001600160401b038084169190910181166001600160401b0319841681178390048216600190810183169093026001600160401b03600160801b03600160c01b0319909416179290921783558b86526005909452828520805460ff60e01b1942909316600160a01b026001600160e01b03199091169097179690961716600160e01b178555918901808452922080549194909116611f29576001548214611f2957805460208701516001600160401b0316600160a01b026001600160e01b03199091166001600160a01b038716171781555b5050604051869250600091506001600160a01b03841690600080516020613193833981519152908390a450506002805460010190555050565b6040805160608101825260008082526020820181905291810191909152818060011161206b5760015481101561206b57600081815260056020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff161515918101829052906120695780516001600160a01b031615612000579392505050565b5060001901600081815260056020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff1615159281019290925215612064579392505050565b612000565b505b604051636f96cda160e11b815260040160405180910390fd5b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03163b151590565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290612118903390899088908890600401612e38565b602060405180830381600087803b15801561213257600080fd5b505af1925050508015612162575060408051601f3d908101601f1916820190925261215f91810190612c37565b60015b6121bd573d808015612190576040519150601f19603f3d011682016040523d82523d6000602084013e612195565b606091505b5080516121b5576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60606014805461091c90613065565b60608161220e5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156122385780612222816130a0565b91506122319050600a83612fd8565b9150612212565b6000816001600160401b0381111561225257612252613111565b6040519080825280601f01601f19166020018201604052801561227c576020820181803683370190505b5090505b84156121d35761229160018361300b565b915061229e600a866130bb565b6122a9906030612fc0565b60f81b8183815181106122be576122be6130fb565b60200101906001600160f81b031916908160001a9053506122e0600a86612fd8565b9450612280565b60606000806122f881612710610b10565b91509150612341612308826121ea565b61231c846001600160a01b0316601461254f565b60405160200161232d929190612d6e565b6040516020818303038152906040526126f1565b6040516020016123519190612df3565b6040516020818303038152906040529250505090565b60006001600160e01b031982166380ac58cd60e01b148061239857506001600160e01b03198216635b5e139f60e01b145b806108c157506301ffc9a760e01b6001600160e01b03198316146108c1565b6001546001600160a01b0384166123e057604051622e076360e81b815260040160405180910390fd5b826123fe5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038416600081815260066020908152604080832080546001600160801b031981166001600160401b038083168b018116918217600160401b6001600160401b031990941690921783900481168b01811690920217909155858452600590925290912080546001600160e01b0319168317600160a01b4290931692909202919091179055819081850190612497906120d4565b1561250d575b60405182906001600160a01b03881690600090600080516020613193833981519152908290a46124d660008784806001019550876120e3565b6124f3576040516368d2bf6b60e11b815260040160405180910390fd5b80821061249d57826001541461250857600080fd5b612540565b5b6040516001830192906001600160a01b03881690600090600080516020613193833981519152908290a480821061250e575b50600155611526600085838684565b6060600061255e836002612fec565b612569906002612fc0565b6001600160401b0381111561258057612580613111565b6040519080825280601f01601f1916602001820160405280156125aa576020820181803683370190505b509050600360fc1b816000815181106125c5576125c56130fb565b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106125f4576125f46130fb565b60200101906001600160f81b031916908160001a9053506000612618846002612fec565b612623906001612fc0565b90505b600181111561269b576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110612657576126576130fb565b1a60f81b82828151811061266d5761266d6130fb565b60200101906001600160f81b031916908160001a90535060049490941c936126948161304e565b9050612626565b5083156126ea5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016108f6565b9392505050565b606081516000141561271157505060408051602081019091526000815290565b600060405180606001604052806040815260200161315360409139905060006003845160026127409190612fc0565b61274a9190612fd8565b612755906004612fec565b6001600160401b0381111561276c5761276c613111565b6040519080825280601f01601f191660200182016040528015612796576020820181803683370190505b509050600182016020820185865187015b80821015612802576003820191508151603f8160121c168501518453600184019350603f81600c1c168501518453600184019350603f8160061c168501518453600184019350603f81168501518453506001830192506127a7565b505060038651066001811461281e576002811461283157612839565b603d6001830353603d6002830353612839565b603d60018303535b509195945050505050565b82805461285090613065565b90600052602060002090601f01602090048101928261287257600085556128b8565b82601f1061288b57805160ff19168380011785556128b8565b828001600101855582156128b8579182015b828111156128b857825182559160200191906001019061289d565b506128c49291506128c8565b5090565b5b808211156128c457600081556001016128c9565b60006001600160401b038311156128f6576128f6613111565b612909601f8401601f1916602001612f90565b905082815283838301111561291d57600080fd5b828260208301376000602084830101529392505050565b600082601f83011261294557600080fd5b813560206001600160401b0382111561296057612960613111565b8160051b61296f828201612f90565b83815282810190868401838801850189101561298a57600080fd5b600093505b858410156129ad57803583526001939093019291840191840161298f565b50979650505050505050565b8035801515811461139d57600080fd5b6000602082840312156129db57600080fd5b81356126ea81613127565b6000602082840312156129f857600080fd5b81516126ea81613127565b60008060408385031215612a1657600080fd5b8235612a2181613127565b91506020830135612a3181613127565b809150509250929050565b600080600060608486031215612a5157600080fd5b8335612a5c81613127565b92506020840135612a6c81613127565b929592945050506040919091013590565b60008060008060808587031215612a9357600080fd5b8435612a9e81613127565b93506020850135612aae81613127565b92506040850135915060608501356001600160401b03811115612ad057600080fd5b8501601f81018713612ae157600080fd5b612af0878235602084016128dd565b91505092959194509250565b60008060408385031215612b0f57600080fd5b8235612b1a81613127565b915060208301356001600160401b03811115612b3557600080fd5b612b4185828601612934565b9150509250929050565b60008060408385031215612b5e57600080fd5b8235612b6981613127565b9150612b77602084016129b9565b90509250929050565b60008060408385031215612b9357600080fd5b8235612b9e81613127565b946020939093013593505050565b60008060408385031215612bbf57600080fd5b8235612bca81613127565b915060208301356001600160601b0381168114612a3157600080fd5b600060208284031215612bf857600080fd5b6126ea826129b9565b600060208284031215612c1357600080fd5b5035919050565b600060208284031215612c2c57600080fd5b81356126ea8161313c565b600060208284031215612c4957600080fd5b81516126ea8161313c565b600060208284031215612c6657600080fd5b81356001600160401b03811115612c7c57600080fd5b8201601f81018413612c8d57600080fd5b6121d3848235602084016128dd565b60008060408385031215612caf57600080fd5b823591506020830135612a3181613127565b60008060408385031215612cd457600080fd5b8235915060208301356001600160401b03811115612b3557600080fd5b60008060408385031215612d0457600080fd5b50508035926020909101359150565b60008151808452612d2b816020860160208601613022565b601f01601f19169290920160200192915050565b60008351612d51818460208801613022565b835190830190612d65818360208801613022565b01949350505050565b7a3d9139b2b63632b92fb332b2afb130b9b4b9afb837b4b73a39911d60291b81528251600090612da581601b850160208801613022565b721610113332b2afb932b1b4b834b2b73a111d1160691b601b918401918201528351612dd881602e840160208801613022565b61227d60f01b602e9290910191820152603001949350505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000815260008251612e2b81601d850160208701613022565b91909101601d0192915050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612e6b90830184612d13565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015612ead57835183529284019291840191600101612e91565b50909695505050505050565b6020815260006126ea6020830184612d13565b602080825260189082015277115512081d985b1d59481a5cc81b9bdd0818dbdc9c9958dd60421b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252600c908201526b4e6f206d6f7265204e46547360a01b604082015260600190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b604051601f8201601f191681016001600160401b0381118282101715612fb857612fb8613111565b604052919050565b60008219821115612fd357612fd36130cf565b500190565b600082612fe757612fe76130e5565b500490565b6000816000190483118215151615613006576130066130cf565b500290565b60008282101561301d5761301d6130cf565b500390565b60005b8381101561303d578181015183820152602001613025565b838111156115265750506000910152565b60008161305d5761305d6130cf565b506000190190565b600181811c9082168061307957607f821691505b6020821081141561309a57634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156130b4576130b46130cf565b5060010190565b6000826130ca576130ca6130e5565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610e8557600080fd5b6001600160e01b031981168114610e8557600080fdfe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa264697066735822122006bafd8b641f836bf1fc7e9d847bd1f7f01623d130f0c830d00c0d54760eaaab64736f6c63430008070033

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

000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000019466c6f776572204c6f6c69746120436f6c6c656374696f6e7300000000000000000000000000000000000000000000000000000000000000000000000000000a464c4f5745524c4f4c4900000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _name (string): Flower Lolita Collections
Arg [1] : _symbol (string): FLOWERLOLI

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000019
Arg [3] : 466c6f776572204c6f6c69746120436f6c6c656374696f6e7300000000000000
Arg [4] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [5] : 464c4f5745524c4f4c4900000000000000000000000000000000000000000000


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.