ETH Price: $2,423.79 (-1.38%)
 

Overview

Max Total Supply

1,000 PLXY

Holders

491

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
kancuno.eth
Balance
1 PLXY
0x41b199A5194c58b29559A482E919331E1c8EEF85
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
PlaxyParty

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 15 : plaxy.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.16;

import "erc721a/contracts/extensions/ERC721AQueryable.sol";
import "@openzeppelin/contracts/token/common/ERC2981.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
//import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "./OperatorFilter/DefaultOperatorFilterer.sol";

error Reverts(uint8 code);

contract PlaxyParty is 
    ERC721AQueryable,
    Ownable,
    ERC2981,
    DefaultOperatorFilterer
  {

  bool public isRevealed = false;
  uint256 public collectionSize;
  uint256 public maxBatchSize;
  uint256 public amountForDevs;
  uint256 private withdrawnSoFar;

  bytes32 public merkleRoot;

  struct WhitelistSaleConfig {
    uint32 startTime;
    uint64 price;
    uint64 maxPerAddress;
  }

  WhitelistSaleConfig public whitelistSaleConfig;

  struct PublicSaleConfig {
    uint32 startTime;
    uint64 price;
    uint64 maxPerAddress;
  }

  PublicSaleConfig public publicSaleConfig;

  string private _baseTokenURI;
  string private _defaultTokenURI;

  event PausedX();
  event UnpausedX();
  event WhitelistSaleSetup(uint32 whitelistSaleStartTime_, uint64 whitelistSalePriceWei_, uint64 maxPerAddressDuringWhitelistSaleMint);
  event WhiteListMint(address indexed to, uint256 quantity);
  event PublicSaleActivated(uint32 publicSaleStartTime_, uint64 publicSalePriceWei_, uint64 maxPerAddressDuringPublicSaleMint);
  event Mint(address indexed to, uint256 quantity);
  event RevealSet(bool status);
  event BaseUriSet(string baseTokenUri_);
  event DefaultTokenUriSet(string DefaultTokenUri_);
  event CollectionSizeSet(uint256 size_);
  event FundsWithdrawn(uint256 toDonation, uint256 txToThirty, uint256 txToOwner);
  event MerkleRootSet(bytes32 merkleRoot_);

  constructor(
    uint256 collectionSize_,
    uint256 maxBatchSize_,
    uint256 amountForDevs_,
    bytes32 merkleRoot_
  ) ERC721A("PlaxyParty", "PLXY") {
    collectionSize = collectionSize_;
    maxBatchSize = maxBatchSize_;
    amountForDevs = amountForDevs_;
    merkleRoot = merkleRoot_;
  }

  modifier callerIsUser() {
      if (tx.origin != msg.sender) {
          revert Reverts(1);
      }
    _;
  }

  function refundIfOver(uint256 price) private {
      if (msg.value < price) {
          revert Reverts(2);
      }

    if (msg.value > price) {
      payable(msg.sender).transfer(msg.value - price);
    }
  }

  function supportsInterface(bytes4 interfaceId)
        public
        view
        virtual
        override(IERC721A, ERC721A, ERC2981)
        returns (bool)
    {
        return
            ERC721A.supportsInterface(interfaceId) ||
            ERC2981.supportsInterface(interfaceId);
    }


  /* @dev Triggers emergency stop mechanism. */
  //function pause() external onlyOwner
  //{
  //  _pause();
  //  emit PausedX();
  //}


  /* @dev Returns contract to normal state. */
  //function unpause() external onlyOwner
  //{
  //  _unpause();
  //  emit UnpausedX();
  //}

  /* @dev Hook that is called before minting and burning one token. */
  //function _beforeTokenTransfers(
  //    address from,
  //    address to,
  //    uint256 startTokenId,
  //    uint256 quantity
  //) internal virtual whenNotPaused override {
  //  super._beforeTokenTransfers(from, to, startTokenId, quantity);
  //}

  //function setMerkleRoot (bytes32 _merkleRoot) external onlyOwner {
  //    merkleRoot = _merkleRoot;
  //    emit MerkleRootSet(merkleRoot);
  //}

  function setupWhitelistSale(
    uint32 whitelistSaleStartTime,
    uint64 whitelistSalePriceWei,
    uint64 maxPerAddressDuringWhitelistSaleMint
  ) external onlyOwner {
    whitelistSaleConfig.startTime = whitelistSaleStartTime;
    whitelistSaleConfig.price = whitelistSalePriceWei;
    whitelistSaleConfig.maxPerAddress = maxPerAddressDuringWhitelistSaleMint;
    emit WhitelistSaleSetup(whitelistSaleConfig.startTime, whitelistSaleConfig.price, whitelistSaleConfig.maxPerAddress);
  }
    
  function whitelistSaleMint(uint64 quantity, bytes32[] memory proof)
    external
    payable
    callerIsUser
    //nonReentrant
  {
    uint256 price = uint256(whitelistSaleConfig.price);
    uint256 saleStartTime = uint256(whitelistSaleConfig.startTime);
    uint64 maxPerAddress = whitelistSaleConfig.maxPerAddress;

    if (merkleRoot == 0) {
        revert Reverts(9);
    }
    
    if (!MerkleProof.verify(proof, merkleRoot, keccak256(abi.encodePacked(msg.sender)))) {
        revert Reverts(10);
    }
    
    if (price == 0) {
        revert Reverts(3);
    }
    if (saleStartTime == 0 || block.timestamp < saleStartTime) {
        revert Reverts(3);
    }

    if (totalSupply() + quantity > collectionSize) {
        revert Reverts(4);
    }
    
    if (_getAux(_msgSender()) + quantity > maxPerAddress) {
        revert Reverts(5);
    }

    _safeMint(_msgSender(), quantity);
    _setAux(_msgSender(), _getAux(_msgSender()) + quantity); 
    refundIfOver(price * quantity);
    emit WhiteListMint(_msgSender(), quantity);
  }

function devMint(uint256 quantity) external onlyOwner {
    // require(
    //   totalSupply() + quantity <= amountForDevs,
    //   "too many already minted before dev mint - MSGCODE: 2012"
    // );

    if (quantity % maxBatchSize != 0) {
        // revert IncompatibleBatchSize();
        revert Reverts(6);
    }
    
    uint256 numChunks = quantity / maxBatchSize;
    for(uint256 i = 0; i < numChunks; i++) {
      _safeMint(msg.sender, maxBatchSize);
    }
  }
  
  function endWhitelistSaleAndSetupPublicSale(
    uint32 publicSaleStartTime,
    uint64 publicSalePriceWei,
    uint64 maxPerAddressDuringPublicSaleMint
  ) external onlyOwner {
    whitelistSaleConfig.startTime = 0;

    publicSaleConfig.startTime = publicSaleStartTime;
    publicSaleConfig.price = publicSalePriceWei;
    publicSaleConfig.maxPerAddress = maxPerAddressDuringPublicSaleMint;
    emit PublicSaleActivated(publicSaleConfig.startTime, publicSaleConfig.price, publicSaleConfig.maxPerAddress);
  }
  

  function publicSaleMint(uint64 quantity)
    external
    payable
    callerIsUser
    //nonReentrant
  {
    uint256 price = uint256(publicSaleConfig.price);
    uint256 startTime = uint256(publicSaleConfig.startTime);
    uint64 maxPerAddress = publicSaleConfig.maxPerAddress;

    if (price == 0) {
        revert Reverts(7);
    }
    if (startTime == 0 || block.timestamp < startTime) {
        revert Reverts(7);
    }
    
    if (totalSupply() + quantity > collectionSize) {
        revert Reverts(4);
    }

    if (_numberMinted(_msgSender()) - _getAux(_msgSender()) + quantity > maxPerAddress) {
        revert Reverts(8);
    }
    
    _safeMint(msg.sender, quantity);
    refundIfOver(price * quantity);
    emit Mint(msg.sender, quantity);
  }
    
  function setIsRevealed(bool val) external onlyOwner {
    isRevealed = val;
    emit RevealSet(isRevealed);
  }

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

  function tokenURI(uint256 tokenId)
    public
    view
    override(ERC721A, IERC721A)
    returns (string memory)
  {
    if (isRevealed) {
      return super.tokenURI(tokenId);
    }

    require(tokenId <= totalSupply(), "token not exist");
    return _defaultTokenURI;
  }

  function setBaseURI(string calldata baseURI) external onlyOwner {
    _baseTokenURI = baseURI;
    emit BaseUriSet(_baseTokenURI);
  }
    
  function setDefaultTokenURI(string calldata uri) external onlyOwner {
    _defaultTokenURI = uri; 
    emit DefaultTokenUriSet(_defaultTokenURI);
  }

  function setCollectionSize(uint256 size) external onlyOwner {
    collectionSize = size;
    emit CollectionSizeSet(collectionSize);
  }

  function getContractStatus() external view returns (uint32, uint64, uint64, uint32, uint64, uint64) {
    return (whitelistSaleConfig.startTime, whitelistSaleConfig.price, whitelistSaleConfig.maxPerAddress, publicSaleConfig.startTime, publicSaleConfig.price, publicSaleConfig.maxPerAddress);
  }

  function getTokenInfo() external view returns (string memory, string memory) {
      return (_baseTokenURI, _defaultTokenURI);
  }

  function totalFunds() external view returns (uint256, uint256) {
      return (address(this).balance, withdrawnSoFar);
  }



  function setApprovalForAll(address operator, bool approved) public override(IERC721A, ERC721A) onlyAllowedOperatorApproval(operator) {
    super.setApprovalForAll(operator, approved);
  }

  function approve(address operator, uint256 tokenId) public payable  override(IERC721A, ERC721A) onlyAllowedOperatorApproval(operator) {
      super.approve(operator, tokenId);
  }

function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public payable override(IERC721A, ERC721A) onlyAllowedOperator(from) {
        super.transferFrom(from, to, tokenId);
    }

    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public payable override(IERC721A, ERC721A) onlyAllowedOperator(from) {
        super.safeTransferFrom(from, to, tokenId);
    }

    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory data
    ) public payable override(IERC721A, ERC721A) onlyAllowedOperator(from) {
        super.safeTransferFrom(from, to, tokenId, data);
    }

  //function transferFrom(address from, address to, uint256 tokenId) public payable  override onlyAllowedOperator(from) {
  //    super.transferFrom(from, to, tokenId);
  //}

  //function safeTransferFrom(address from, address to, uint256 tokenId) public payable override onlyAllowedOperator(from) {
  //    super.safeTransferFrom(from, to, tokenId);
  //}

  //function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data)
  //    public payable
  //    override
  //    onlyAllowedOperator(from)
  //{
  //    super.safeTransferFrom(from, to, tokenId, data);
  //}

  function withdrawMoney() external onlyOwner {
        address  donationWallet = 0xf523A7db51075a10c9f8BAFFBcFd8B22BfdFFD26;
        address  developersWallet = 0xa518c145f1178508E67D825818Af98B5D5040277 ;
        
        uint256 donationAmount = address(this).balance * 1/100;
        uint256 developersAmount = address(this).balance * 30/100;
        
        payable(donationWallet).transfer(donationAmount);      
        payable(developersWallet).transfer(developersAmount);
        
        uint256 balanceB4Tx = address(this).balance;
        payable(msg.sender).transfer(address(this).balance);
        withdrawnSoFar += donationAmount + developersAmount + balanceB4Tx;
        emit FundsWithdrawn(donationAmount, developersAmount, balanceB4Tx);
  }

}

File 2 of 15 : DefaultOperatorFilterer.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

import {OperatorFilterer} from "./OperatorFilterer.sol";

abstract contract DefaultOperatorFilterer is OperatorFilterer {
    address constant DEFAULT_SUBSCRIPTION = address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6);

    constructor() OperatorFilterer(DEFAULT_SUBSCRIPTION, true) {}
}

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

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Tree proofs.
 *
 * The tree and the proofs can be generated using our
 * https://github.com/OpenZeppelin/merkle-tree[JavaScript library].
 * You will find a quickstart guide in the readme.
 *
 * WARNING: You should avoid using leaf values that are 64 bytes long prior to
 * hashing, or use a hash function other than keccak256 for hashing leaves.
 * This is because the concatenation of a sorted pair of internal nodes in
 * the merkle tree could be reinterpreted as a leaf value.
 * OpenZeppelin's JavaScript library generates merkle trees that are safe
 * against this attack out of the box.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

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

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

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

    /**
     * @dev Returns true if the `leaves` can be simultaneously proven to be a part of a merkle tree defined by
     * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}.
     *
     * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details.
     *
     * _Available since v4.7._
     */
    function multiProofVerify(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProof(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Calldata version of {multiProofVerify}
     *
     * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details.
     *
     * _Available since v4.7._
     */
    function multiProofVerifyCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProofCalldata(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Returns the root of a tree reconstructed from `leaves` and sibling nodes in `proof`. The reconstruction
     * proceeds by incrementally reconstructing all inner nodes by combining a leaf/inner node with either another
     * leaf/inner node or a proof sibling node, depending on whether each `proofFlags` item is true or false
     * respectively.
     *
     * CAUTION: Not all merkle trees admit multiproofs. To use multiproofs, it is sufficient to ensure that: 1) the tree
     * is complete (but not necessarily perfect), 2) the leaves to be proven are in the opposite order they are in the
     * tree (i.e., as seen from right to left starting at the deepest layer and continuing at the next layer).
     *
     * _Available since v4.7._
     */
    function processMultiProof(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

File 5 of 15 : ERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.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:
     *
     * - `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 15 : ERC721AQueryable.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.3
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import './IERC721AQueryable.sol';
import '../ERC721A.sol';

/**
 * @title ERC721AQueryable.
 *
 * @dev ERC721A subclass with convenience query functions.
 */
abstract contract ERC721AQueryable is ERC721A, IERC721AQueryable {
    /**
     * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting.
     *
     * If the `tokenId` is out of bounds:
     *
     * - `addr = address(0)`
     * - `startTimestamp = 0`
     * - `burned = false`
     * - `extraData = 0`
     *
     * If the `tokenId` is burned:
     *
     * - `addr = <Address of owner before token was burned>`
     * - `startTimestamp = <Timestamp when token was burned>`
     * - `burned = true`
     * - `extraData = <Extra data when token was burned>`
     *
     * Otherwise:
     *
     * - `addr = <Address of owner>`
     * - `startTimestamp = <Timestamp of start of ownership>`
     * - `burned = false`
     * - `extraData = <Extra data at start of ownership>`
     */
    function explicitOwnershipOf(uint256 tokenId) public view virtual override returns (TokenOwnership memory) {
        TokenOwnership memory ownership;
        if (tokenId < _startTokenId() || tokenId >= _nextTokenId()) {
            return ownership;
        }
        ownership = _ownershipAt(tokenId);
        if (ownership.burned) {
            return ownership;
        }
        return _ownershipOf(tokenId);
    }

    /**
     * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order.
     * See {ERC721AQueryable-explicitOwnershipOf}
     */
    function explicitOwnershipsOf(uint256[] calldata tokenIds)
        external
        view
        virtual
        override
        returns (TokenOwnership[] memory)
    {
        unchecked {
            uint256 tokenIdsLength = tokenIds.length;
            TokenOwnership[] memory ownerships = new TokenOwnership[](tokenIdsLength);
            for (uint256 i; i != tokenIdsLength; ++i) {
                ownerships[i] = explicitOwnershipOf(tokenIds[i]);
            }
            return ownerships;
        }
    }

    /**
     * @dev Returns an array of token IDs owned by `owner`,
     * in the range [`start`, `stop`)
     * (i.e. `start <= tokenId < stop`).
     *
     * This function allows for tokens to be queried if the collection
     * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}.
     *
     * Requirements:
     *
     * - `start < stop`
     */
    function tokensOfOwnerIn(
        address owner,
        uint256 start,
        uint256 stop
    ) external view virtual override returns (uint256[] memory) {
        unchecked {
            if (start >= stop) revert InvalidQueryRange();
            uint256 tokenIdsIdx;
            uint256 stopLimit = _nextTokenId();
            // Set `start = max(start, _startTokenId())`.
            if (start < _startTokenId()) {
                start = _startTokenId();
            }
            // Set `stop = min(stop, stopLimit)`.
            if (stop > stopLimit) {
                stop = stopLimit;
            }
            uint256 tokenIdsMaxLength = balanceOf(owner);
            // Set `tokenIdsMaxLength = min(balanceOf(owner), stop - start)`,
            // to cater for cases where `balanceOf(owner)` is too big.
            if (start < stop) {
                uint256 rangeLength = stop - start;
                if (rangeLength < tokenIdsMaxLength) {
                    tokenIdsMaxLength = rangeLength;
                }
            } else {
                tokenIdsMaxLength = 0;
            }
            uint256[] memory tokenIds = new uint256[](tokenIdsMaxLength);
            if (tokenIdsMaxLength == 0) {
                return tokenIds;
            }
            // We need to call `explicitOwnershipOf(start)`,
            // because the slot at `start` may not be initialized.
            TokenOwnership memory ownership = explicitOwnershipOf(start);
            address currOwnershipAddr;
            // If the starting slot exists (i.e. not burned), initialize `currOwnershipAddr`.
            // `ownership.address` will not be zero, as `start` is clamped to the valid token ID range.
            if (!ownership.burned) {
                currOwnershipAddr = ownership.addr;
            }
            for (uint256 i = start; i != stop && tokenIdsIdx != tokenIdsMaxLength; ++i) {
                ownership = _ownershipAt(i);
                if (ownership.burned) {
                    continue;
                }
                if (ownership.addr != address(0)) {
                    currOwnershipAddr = ownership.addr;
                }
                if (currOwnershipAddr == owner) {
                    tokenIds[tokenIdsIdx++] = i;
                }
            }
            // Downsize the array to fit.
            assembly {
                mstore(tokenIds, tokenIdsIdx)
            }
            return tokenIds;
        }
    }

    /**
     * @dev Returns an array of token IDs owned by `owner`.
     *
     * This function scans the ownership mapping and is O(`totalSupply`) in complexity.
     * It is meant to be called off-chain.
     *
     * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into
     * multiple smaller scans if the collection is large enough to cause
     * an out-of-gas error (10K collections should be fine).
     */
    function tokensOfOwner(address owner) external view virtual override returns (uint256[] memory) {
        unchecked {
            uint256 tokenIdsIdx;
            address currOwnershipAddr;
            uint256 tokenIdsLength = balanceOf(owner);
            uint256[] memory tokenIds = new uint256[](tokenIdsLength);
            TokenOwnership memory ownership;
            for (uint256 i = _startTokenId(); tokenIdsIdx != tokenIdsLength; ++i) {
                ownership = _ownershipAt(i);
                if (ownership.burned) {
                    continue;
                }
                if (ownership.addr != address(0)) {
                    currOwnershipAddr = ownership.addr;
                }
                if (currOwnershipAddr == owner) {
                    tokenIds[tokenIdsIdx++] = i;
                }
            }
            return tokenIds;
        }
    }
}

File 7 of 15 : ERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.3
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import './IERC721A.sol';

/**
 * @dev Interface of ERC721 token receiver.
 */
interface ERC721A__IERC721Receiver {
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

/**
 * @title ERC721A
 *
 * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721)
 * Non-Fungible Token Standard, including the Metadata extension.
 * Optimized for lower gas during batch mints.
 *
 * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...)
 * starting from `_startTokenId()`.
 *
 * Assumptions:
 *
 * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
 * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256).
 */
contract ERC721A is IERC721A {
    // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364).
    struct TokenApprovalRef {
        address value;
    }

    // =============================================================
    //                           CONSTANTS
    // =============================================================

    // Mask of an entry in packed address data.
    uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1;

    // The bit position of `numberMinted` in packed address data.
    uint256 private constant _BITPOS_NUMBER_MINTED = 64;

    // The bit position of `numberBurned` in packed address data.
    uint256 private constant _BITPOS_NUMBER_BURNED = 128;

    // The bit position of `aux` in packed address data.
    uint256 private constant _BITPOS_AUX = 192;

    // Mask of all 256 bits in packed address data except the 64 bits for `aux`.
    uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1;

    // The bit position of `startTimestamp` in packed ownership.
    uint256 private constant _BITPOS_START_TIMESTAMP = 160;

    // The bit mask of the `burned` bit in packed ownership.
    uint256 private constant _BITMASK_BURNED = 1 << 224;

    // The bit position of the `nextInitialized` bit in packed ownership.
    uint256 private constant _BITPOS_NEXT_INITIALIZED = 225;

    // The bit mask of the `nextInitialized` bit in packed ownership.
    uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225;

    // The bit position of `extraData` in packed ownership.
    uint256 private constant _BITPOS_EXTRA_DATA = 232;

    // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`.
    uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1;

    // The mask of the lower 160 bits for addresses.
    uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1;

    // The maximum `quantity` that can be minted with {_mintERC2309}.
    // This limit is to prevent overflows on the address data entries.
    // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309}
    // is required to cause an overflow, which is unrealistic.
    uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000;

    // The `Transfer` event signature is given by:
    // `keccak256(bytes("Transfer(address,address,uint256)"))`.
    bytes32 private constant _TRANSFER_EVENT_SIGNATURE =
        0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef;

    // =============================================================
    //                            STORAGE
    // =============================================================

    // The next token ID to be minted.
    uint256 private _currentIndex;

    // The number of tokens burned.
    uint256 private _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 {_packedOwnershipOf} implementation for details.
    //
    // Bits Layout:
    // - [0..159]   `addr`
    // - [160..223] `startTimestamp`
    // - [224]      `burned`
    // - [225]      `nextInitialized`
    // - [232..255] `extraData`
    mapping(uint256 => uint256) private _packedOwnerships;

    // Mapping owner address to address data.
    //
    // Bits Layout:
    // - [0..63]    `balance`
    // - [64..127]  `numberMinted`
    // - [128..191] `numberBurned`
    // - [192..255] `aux`
    mapping(address => uint256) private _packedAddressData;

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

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

    // =============================================================
    //                          CONSTRUCTOR
    // =============================================================

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

    // =============================================================
    //                   TOKEN COUNTING OPERATIONS
    // =============================================================

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

    /**
     * @dev Returns the next token ID to be minted.
     */
    function _nextTokenId() internal view virtual returns (uint256) {
        return _currentIndex;
    }

    /**
     * @dev Returns the total number of tokens in existence.
     * Burned tokens will reduce the count.
     * To get the total number of tokens minted, please see {_totalMinted}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than `_currentIndex - _startTokenId()` times.
        unchecked {
            return _currentIndex - _burnCounter - _startTokenId();
        }
    }

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

    /**
     * @dev Returns the total number of tokens burned.
     */
    function _totalBurned() internal view virtual returns (uint256) {
        return _burnCounter;
    }

    // =============================================================
    //                    ADDRESS DATA OPERATIONS
    // =============================================================

    /**
     * @dev Returns the number of tokens in `owner`'s account.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        if (owner == address(0)) revert BalanceQueryForZeroAddress();
        return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the number of tokens minted by `owner`.
     */
    function _numberMinted(address owner) internal view returns (uint256) {
        return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY;
    }

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

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

    /**
     * Sets the auxiliary 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 virtual {
        uint256 packed = _packedAddressData[owner];
        uint256 auxCasted;
        // Cast `aux` with assembly to avoid redundant masking.
        assembly {
            auxCasted := aux
        }
        packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX);
        _packedAddressData[owner] = packed;
    }

    // =============================================================
    //                            IERC165
    // =============================================================

    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified)
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30000 gas.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        // The interface IDs are constants representing the first 4 bytes
        // of the XOR of all function selectors in the interface.
        // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165)
        // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`)
        return
            interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165.
            interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721.
            interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata.
    }

    // =============================================================
    //                        IERC721Metadata
    // =============================================================

    /**
     * @dev Returns the token collection name.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    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, _toString(tokenId))) : '';
    }

    /**
     * @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, it can be overridden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return '';
    }

    // =============================================================
    //                     OWNERSHIPS OPERATIONS
    // =============================================================

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        return address(uint160(_packedOwnershipOf(tokenId)));
    }

    /**
     * @dev Gas spent here starts off proportional to the maximum mint batch size.
     * It gradually moves to O(1) as tokens get transferred around over time.
     */
    function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) {
        return _unpackedOwnership(_packedOwnershipOf(tokenId));
    }

    /**
     * @dev Returns the unpacked `TokenOwnership` struct at `index`.
     */
    function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) {
        return _unpackedOwnership(_packedOwnerships[index]);
    }

    /**
     * @dev Initializes the ownership slot minted at `index` for efficiency purposes.
     */
    function _initializeOwnershipAt(uint256 index) internal virtual {
        if (_packedOwnerships[index] == 0) {
            _packedOwnerships[index] = _packedOwnershipOf(index);
        }
    }

    /**
     * Returns the packed ownership data of `tokenId`.
     */
    function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) {
        uint256 curr = tokenId;

        unchecked {
            if (_startTokenId() <= curr)
                if (curr < _currentIndex) {
                    uint256 packed = _packedOwnerships[curr];
                    // If not burned.
                    if (packed & _BITMASK_BURNED == 0) {
                        // Invariant:
                        // There will always be an initialized ownership slot
                        // (i.e. `ownership.addr != address(0) && ownership.burned == false`)
                        // before an unintialized ownership slot
                        // (i.e. `ownership.addr == address(0) && ownership.burned == false`)
                        // Hence, `curr` will not underflow.
                        //
                        // We can directly compare the packed value.
                        // If the address is zero, packed will be zero.
                        while (packed == 0) {
                            packed = _packedOwnerships[--curr];
                        }
                        return packed;
                    }
                }
        }
        revert OwnerQueryForNonexistentToken();
    }

    /**
     * @dev Returns the unpacked `TokenOwnership` struct from `packed`.
     */
    function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) {
        ownership.addr = address(uint160(packed));
        ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP);
        ownership.burned = packed & _BITMASK_BURNED != 0;
        ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA);
    }

    /**
     * @dev Packs ownership data into a single uint256.
     */
    function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) {
        assembly {
            // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean.
            owner := and(owner, _BITMASK_ADDRESS)
            // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`.
            result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags))
        }
    }

    /**
     * @dev Returns the `nextInitialized` flag set if `quantity` equals 1.
     */
    function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) {
        // For branchless setting of the `nextInitialized` flag.
        assembly {
            // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`.
            result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1))
        }
    }

    // =============================================================
    //                      APPROVAL OPERATIONS
    // =============================================================

    /**
     * @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) public payable virtual override {
        address owner = ownerOf(tokenId);

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

        _tokenApprovals[tokenId].value = to;
        emit Approval(owner, to, tokenId);
    }

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();

        return _tokenApprovals[tokenId].value;
    }

    /**
     * @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) public virtual override {
        _operatorApprovals[_msgSenderERC721A()][operator] = approved;
        emit ApprovalForAll(_msgSenderERC721A(), operator, approved);
    }

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

    /**
     * @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. See {_mint}.
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return
            _startTokenId() <= tokenId &&
            tokenId < _currentIndex && // If within bounds,
            _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned.
    }

    /**
     * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`.
     */
    function _isSenderApprovedOrOwner(
        address approvedAddress,
        address owner,
        address msgSender
    ) private pure returns (bool result) {
        assembly {
            // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean.
            owner := and(owner, _BITMASK_ADDRESS)
            // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean.
            msgSender := and(msgSender, _BITMASK_ADDRESS)
            // `msgSender == owner || msgSender == approvedAddress`.
            result := or(eq(msgSender, owner), eq(msgSender, approvedAddress))
        }
    }

    /**
     * @dev Returns the storage slot and value for the approved address of `tokenId`.
     */
    function _getApprovedSlotAndAddress(uint256 tokenId)
        private
        view
        returns (uint256 approvedAddressSlot, address approvedAddress)
    {
        TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId];
        // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`.
        assembly {
            approvedAddressSlot := tokenApproval.slot
            approvedAddress := sload(approvedAddressSlot)
        }
    }

    // =============================================================
    //                      TRANSFER OPERATIONS
    // =============================================================

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * 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
    ) public payable virtual override {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

        if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner();

        (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId);

        // The nested ifs save around 20+ gas over a compound boolean condition.
        if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A()))
            if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved();

        if (to == address(0)) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

        // Clear approvals from the previous owner.
        assembly {
            if approvedAddress {
                // This is equivalent to `delete _tokenApprovals[tokenId]`.
                sstore(approvedAddressSlot, 0)
            }
        }

        // 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 {
            // We can directly increment and decrement the balances.
            --_packedAddressData[from]; // Updates: `balance -= 1`.
            ++_packedAddressData[to]; // Updates: `balance += 1`.

            // Updates:
            // - `address` to the next owner.
            // - `startTimestamp` to the timestamp of transfering.
            // - `burned` to `false`.
            // - `nextInitialized` to `true`.
            _packedOwnerships[tokenId] = _packOwnershipData(
                to,
                _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked)
            );

            // If the next slot may not have been initialized (i.e. `nextInitialized == false`) .
            if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) {
                uint256 nextTokenId = tokenId + 1;
                // If the next slot's address is zero and not burned (i.e. packed value is zero).
                if (_packedOwnerships[nextTokenId] == 0) {
                    // If the next slot is within bounds.
                    if (nextTokenId != _currentIndex) {
                        // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`.
                        _packedOwnerships[nextTokenId] = prevOwnershipPacked;
                    }
                }
            }
        }

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

    /**
     * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public payable virtual override {
        safeTransferFrom(from, to, tokenId, '');
    }

    /**
     * @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 memory _data
    ) public payable virtual override {
        transferFrom(from, to, tokenId);
        if (to.code.length != 0)
            if (!_checkContractOnERC721Received(from, to, tokenId, _data)) {
                revert TransferToNonERC721ReceiverImplementer();
            }
    }

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

    /**
     * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract.
     *
     * `from` - Previous owner of the given token ID.
     * `to` - Target address that will receive the token.
     * `tokenId` - Token ID to be transferred.
     * `_data` - Optional data to send along with the call.
     *
     * Returns whether the call correctly returned the expected magic value.
     */
    function _checkContractOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns (
            bytes4 retval
        ) {
            return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector;
        } catch (bytes memory reason) {
            if (reason.length == 0) {
                revert TransferToNonERC721ReceiverImplementer();
            } else {
                assembly {
                    revert(add(32, reason), mload(reason))
                }
            }
        }
    }

    // =============================================================
    //                        MINT OPERATIONS
    // =============================================================

    /**
     * @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 for each mint.
     */
    function _mint(address to, uint256 quantity) internal virtual {
        uint256 startTokenId = _currentIndex;
        if (quantity == 0) revert MintZeroQuantity();

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

        // Overflows are incredibly unrealistic.
        // `balance` and `numberMinted` have a maximum limit of 2**64.
        // `tokenId` has a maximum limit of 2**256.
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the `balance` and `numberMinted`.
            _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1);

            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `quantity == 1`.
            _packedOwnerships[startTokenId] = _packOwnershipData(
                to,
                _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0)
            );

            uint256 toMasked;
            uint256 end = startTokenId + quantity;

            // Use assembly to loop and emit the `Transfer` event for gas savings.
            // The duplicated `log4` removes an extra check and reduces stack juggling.
            // The assembly, together with the surrounding Solidity code, have been
            // delicately arranged to nudge the compiler into producing optimized opcodes.
            assembly {
                // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean.
                toMasked := and(to, _BITMASK_ADDRESS)
                // Emit the `Transfer` event.
                log4(
                    0, // Start of data (0, since no data).
                    0, // End of data (0, since no data).
                    _TRANSFER_EVENT_SIGNATURE, // Signature.
                    0, // `address(0)`.
                    toMasked, // `to`.
                    startTokenId // `tokenId`.
                )

                // The `iszero(eq(,))` check ensures that large values of `quantity`
                // that overflows uint256 will make the loop run out of gas.
                // The compiler will optimize the `iszero` away for performance.
                for {
                    let tokenId := add(startTokenId, 1)
                } iszero(eq(tokenId, end)) {
                    tokenId := add(tokenId, 1)
                } {
                    // Emit the `Transfer` event. Similar to above.
                    log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId)
                }
            }
            if (toMasked == 0) revert MintToZeroAddress();

            _currentIndex = end;
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * This function is intended for efficient minting only during contract creation.
     *
     * It emits only one {ConsecutiveTransfer} as defined in
     * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309),
     * instead of a sequence of {Transfer} event(s).
     *
     * Calling this function outside of contract creation WILL make your contract
     * non-compliant with the ERC721 standard.
     * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309
     * {ConsecutiveTransfer} event is only permissible during contract creation.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {ConsecutiveTransfer} event.
     */
    function _mintERC2309(address to, uint256 quantity) internal virtual {
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();
        if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit();

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

        // Overflows are unrealistic due to the above check for `quantity` to be below the limit.
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the `balance` and `numberMinted`.
            _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1);

            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `quantity == 1`.
            _packedOwnerships[startTokenId] = _packOwnershipData(
                to,
                _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0)
            );

            emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to);

            _currentIndex = startTokenId + quantity;
        }
        _afterTokenTransfers(address(0), to, startTokenId, 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.
     *
     * See {_mint}.
     *
     * Emits a {Transfer} event for each mint.
     */
    function _safeMint(
        address to,
        uint256 quantity,
        bytes memory _data
    ) internal virtual {
        _mint(to, quantity);

        unchecked {
            if (to.code.length != 0) {
                uint256 end = _currentIndex;
                uint256 index = end - quantity;
                do {
                    if (!_checkContractOnERC721Received(address(0), to, index++, _data)) {
                        revert TransferToNonERC721ReceiverImplementer();
                    }
                } while (index < end);
                // Reentrancy protection.
                if (_currentIndex != end) revert();
            }
        }
    }

    /**
     * @dev Equivalent to `_safeMint(to, quantity, '')`.
     */
    function _safeMint(address to, uint256 quantity) internal virtual {
        _safeMint(to, quantity, '');
    }

    // =============================================================
    //                        BURN OPERATIONS
    // =============================================================

    /**
     * @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 {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

        address from = address(uint160(prevOwnershipPacked));

        (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId);

        if (approvalCheck) {
            // The nested ifs save around 20+ gas over a compound boolean condition.
            if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A()))
                if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved();
        }

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

        // Clear approvals from the previous owner.
        assembly {
            if approvedAddress {
                // This is equivalent to `delete _tokenApprovals[tokenId]`.
                sstore(approvedAddressSlot, 0)
            }
        }

        // 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 {
            // Updates:
            // - `balance -= 1`.
            // - `numberBurned += 1`.
            //
            // We can directly decrement the balance, and increment the number burned.
            // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`.
            _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1;

            // Updates:
            // - `address` to the last owner.
            // - `startTimestamp` to the timestamp of burning.
            // - `burned` to `true`.
            // - `nextInitialized` to `true`.
            _packedOwnerships[tokenId] = _packOwnershipData(
                from,
                (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked)
            );

            // If the next slot may not have been initialized (i.e. `nextInitialized == false`) .
            if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) {
                uint256 nextTokenId = tokenId + 1;
                // If the next slot's address is zero and not burned (i.e. packed value is zero).
                if (_packedOwnerships[nextTokenId] == 0) {
                    // If the next slot is within bounds.
                    if (nextTokenId != _currentIndex) {
                        // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`.
                        _packedOwnerships[nextTokenId] = prevOwnershipPacked;
                    }
                }
            }
        }

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

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

    // =============================================================
    //                     EXTRA DATA OPERATIONS
    // =============================================================

    /**
     * @dev Directly sets the extra data for the ownership data `index`.
     */
    function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual {
        uint256 packed = _packedOwnerships[index];
        if (packed == 0) revert OwnershipNotInitializedForExtraData();
        uint256 extraDataCasted;
        // Cast `extraData` with assembly to avoid redundant masking.
        assembly {
            extraDataCasted := extraData
        }
        packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA);
        _packedOwnerships[index] = packed;
    }

    /**
     * @dev Called during each token transfer to set the 24bit `extraData` field.
     * Intended to be overridden by the cosumer contract.
     *
     * `previousExtraData` - the value of `extraData` before transfer.
     *
     * 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 _extraData(
        address from,
        address to,
        uint24 previousExtraData
    ) internal view virtual returns (uint24) {}

    /**
     * @dev Returns the next extra data for the packed ownership data.
     * The returned result is shifted into position.
     */
    function _nextExtraData(
        address from,
        address to,
        uint256 prevOwnershipPacked
    ) private view returns (uint256) {
        uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA);
        return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA;
    }

    // =============================================================
    //                       OTHER OPERATIONS
    // =============================================================

    /**
     * @dev Returns the message sender (defaults to `msg.sender`).
     *
     * If you are writing GSN compatible contracts, you need to override this function.
     */
    function _msgSenderERC721A() internal view virtual returns (address) {
        return msg.sender;
    }

    /**
     * @dev Converts a uint256 to its ASCII string decimal representation.
     */
    function _toString(uint256 value) internal pure virtual returns (string memory str) {
        assembly {
            // The maximum value of a uint256 contains 78 digits (1 byte per digit), but
            // we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned.
            // We will need 1 word for the trailing zeros padding, 1 word for the length,
            // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0.
            let m := add(mload(0x40), 0xa0)
            // Update the free memory pointer to allocate.
            mstore(0x40, m)
            // Assign the `str` to the end.
            str := sub(m, 0x20)
            // Zeroize the slot after the string.
            mstore(str, 0)

            // Cache the end of the memory to calculate the length later.
            let end := str

            // We write the string from rightmost digit to leftmost digit.
            // The following is essentially a do-while loop that also handles the zero case.
            // prettier-ignore
            for { let temp := value } 1 {} {
                str := sub(str, 1)
                // Write the character to the pointer.
                // The ASCII index of the '0' character is 48.
                mstore8(str, add(48, mod(temp, 10)))
                // Keep dividing `temp` until zero.
                temp := div(temp, 10)
                // prettier-ignore
                if iszero(temp) { break }
            }

            let length := sub(end, str)
            // Move the pointer 32 bytes leftwards to make room for the length.
            str := sub(str, 0x20)
            // Store the length.
            mstore(str, length)
        }
    }
}

File 8 of 15 : IERC721AQueryable.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.3
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import '../IERC721A.sol';

/**
 * @dev Interface of ERC721AQueryable.
 */
interface IERC721AQueryable is IERC721A {
    /**
     * Invalid query range (`start` >= `stop`).
     */
    error InvalidQueryRange();

    /**
     * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting.
     *
     * If the `tokenId` is out of bounds:
     *
     * - `addr = address(0)`
     * - `startTimestamp = 0`
     * - `burned = false`
     * - `extraData = 0`
     *
     * If the `tokenId` is burned:
     *
     * - `addr = <Address of owner before token was burned>`
     * - `startTimestamp = <Timestamp when token was burned>`
     * - `burned = true`
     * - `extraData = <Extra data when token was burned>`
     *
     * Otherwise:
     *
     * - `addr = <Address of owner>`
     * - `startTimestamp = <Timestamp of start of ownership>`
     * - `burned = false`
     * - `extraData = <Extra data at start of ownership>`
     */
    function explicitOwnershipOf(uint256 tokenId) external view returns (TokenOwnership memory);

    /**
     * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order.
     * See {ERC721AQueryable-explicitOwnershipOf}
     */
    function explicitOwnershipsOf(uint256[] memory tokenIds) external view returns (TokenOwnership[] memory);

    /**
     * @dev Returns an array of token IDs owned by `owner`,
     * in the range [`start`, `stop`)
     * (i.e. `start <= tokenId < stop`).
     *
     * This function allows for tokens to be queried if the collection
     * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}.
     *
     * Requirements:
     *
     * - `start < stop`
     */
    function tokensOfOwnerIn(
        address owner,
        uint256 start,
        uint256 stop
    ) external view returns (uint256[] memory);

    /**
     * @dev Returns an array of token IDs owned by `owner`.
     *
     * This function scans the ownership mapping and is O(`totalSupply`) in complexity.
     * It is meant to be called off-chain.
     *
     * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into
     * multiple smaller scans if the collection is large enough to cause
     * an out-of-gas error (10K collections should be fine).
     */
    function tokensOfOwner(address owner) external view returns (uint256[] memory);
}

File 9 of 15 : OperatorFilterer.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

import {IOperatorFilterRegistry} from "./IOperatorFilterRegistry.sol";

/**
 * @title  OperatorFilterer
 * @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another
 *         registrant's entries in the OperatorFilterRegistry.
 * @dev    This smart contract is meant to be inherited by token contracts so they can use the following:
 *         - `onlyAllowedOperator` modifier for `transferFrom` and `safeTransferFrom` methods.
 *         - `onlyAllowedOperatorApproval` modifier for `approve` and `setApprovalForAll` methods.
 */
abstract contract OperatorFilterer {
    error OperatorNotAllowed(address operator);

    IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY =
        IOperatorFilterRegistry(0x000000000000AAeB6D7670E522A718067333cd4E);

    constructor(address subscriptionOrRegistrantToCopy, bool subscribe) {
        // If an inheriting token contract is deployed to a network without the registry deployed, the modifier
        // will not revert, but the contract will need to be registered with the registry once it is deployed in
        // order for the modifier to filter addresses.
        if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) {
            if (subscribe) {
                OPERATOR_FILTER_REGISTRY.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy);
            } else {
                if (subscriptionOrRegistrantToCopy != address(0)) {
                    OPERATOR_FILTER_REGISTRY.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy);
                } else {
                    OPERATOR_FILTER_REGISTRY.register(address(this));
                }
            }
        }
    }

    modifier onlyAllowedOperator(address from) virtual {
        // Allow spending tokens from addresses with balance
        // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred
        // from an EOA.
        if (from != msg.sender) {
            _checkFilterOperator(msg.sender);
        }
        _;
    }

    modifier onlyAllowedOperatorApproval(address operator) virtual {
        _checkFilterOperator(operator);
        _;
    }

    function _checkFilterOperator(address operator) internal view virtual {
        // Check registry code length to facilitate testing in environments without a deployed registry.
        if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) {
            if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), operator)) {
                revert OperatorNotAllowed(operator);
            }
        }
    }
}

File 10 of 15 : 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 11 of 15 : 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 12 of 15 : 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 13 of 15 : IERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.3
// Creator: Chiru Labs

pragma solidity ^0.8.4;

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

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

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

    /**
     * The `quantity` minted with ERC2309 exceeds the safety limit.
     */
    error MintERC2309QuantityExceedsLimit();

    /**
     * The `extraData` cannot be set on an unintialized ownership slot.
     */
    error OwnershipNotInitializedForExtraData();

    // =============================================================
    //                            STRUCTS
    // =============================================================

    struct TokenOwnership {
        // The address of the owner.
        address addr;
        // Stores the start time of ownership with minimal overhead for tokenomics.
        uint64 startTimestamp;
        // Whether the token has been burned.
        bool burned;
        // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}.
        uint24 extraData;
    }

    // =============================================================
    //                         TOKEN COUNTERS
    // =============================================================

    /**
     * @dev Returns the total number of tokens in existence.
     * Burned tokens will reduce the count.
     * To get the total number of tokens minted, please see {_totalMinted}.
     */
    function totalSupply() external view returns (uint256);

    // =============================================================
    //                            IERC165
    // =============================================================

    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified)
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);

    // =============================================================
    //                            IERC721
    // =============================================================

    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

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

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

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

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

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

    /**
     * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external payable;

    /**
     * @dev Transfers `tokenId` 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 payable;

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

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

    // =============================================================
    //                        IERC721Metadata
    // =============================================================

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

    // =============================================================
    //                           IERC2309
    // =============================================================

    /**
     * @dev Emitted when tokens in `fromTokenId` to `toTokenId`
     * (inclusive) is transferred from `from` to `to`, as defined in the
     * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard.
     *
     * See {_mintERC2309} for more details.
     */
    event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to);
}

File 14 of 15 : IOperatorFilterRegistry.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

interface IOperatorFilterRegistry {
    function isOperatorAllowed(address registrant, address operator) external view returns (bool);
    function register(address registrant) external;
    function registerAndSubscribe(address registrant, address subscription) external;
    function registerAndCopyEntries(address registrant, address registrantToCopy) external;
    function updateOperator(address registrant, address operator, bool filtered) external;
    function updateOperators(address registrant, address[] calldata operators, bool filtered) external;
    function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external;
    function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external;
    function subscribe(address registrant, address registrantToSubscribe) external;
    function unsubscribe(address registrant, bool copyExistingEntries) external;
    function subscriptionOf(address addr) external returns (address registrant);
    function subscribers(address registrant) external returns (address[] memory);
    function subscriberAt(address registrant, uint256 index) external returns (address);
    function copyEntriesOf(address registrant, address registrantToCopy) external;
    function isOperatorFiltered(address registrant, address operator) external returns (bool);
    function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool);
    function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool);
    function filteredOperators(address addr) external returns (address[] memory);
    function filteredCodeHashes(address addr) external returns (bytes32[] memory);
    function filteredOperatorAt(address registrant, uint256 index) external returns (address);
    function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32);
    function isRegistered(address addr) external returns (bool);
    function codeHashOf(address addr) external returns (bytes32);
}

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

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"uint256","name":"collectionSize_","type":"uint256"},{"internalType":"uint256","name":"maxBatchSize_","type":"uint256"},{"internalType":"uint256","name":"amountForDevs_","type":"uint256"},{"internalType":"bytes32","name":"merkleRoot_","type":"bytes32"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"InvalidQueryRange","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[{"internalType":"uint8","name":"code","type":"uint8"}],"name":"Reverts","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":false,"internalType":"string","name":"baseTokenUri_","type":"string"}],"name":"BaseUriSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"size_","type":"uint256"}],"name":"CollectionSizeSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"DefaultTokenUri_","type":"string"}],"name":"DefaultTokenUriSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"toDonation","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"txToThirty","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"txToOwner","type":"uint256"}],"name":"FundsWithdrawn","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bytes32","name":"merkleRoot_","type":"bytes32"}],"name":"MerkleRootSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"Mint","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":[],"name":"PausedX","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint32","name":"publicSaleStartTime_","type":"uint32"},{"indexed":false,"internalType":"uint64","name":"publicSalePriceWei_","type":"uint64"},{"indexed":false,"internalType":"uint64","name":"maxPerAddressDuringPublicSaleMint","type":"uint64"}],"name":"PublicSaleActivated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"status","type":"bool"}],"name":"RevealSet","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"},{"anonymous":false,"inputs":[],"name":"UnpausedX","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"WhiteListMint","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint32","name":"whitelistSaleStartTime_","type":"uint32"},{"indexed":false,"internalType":"uint64","name":"whitelistSalePriceWei_","type":"uint64"},{"indexed":false,"internalType":"uint64","name":"maxPerAddressDuringWhitelistSaleMint","type":"uint64"}],"name":"WhitelistSaleSetup","type":"event"},{"inputs":[],"name":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"amountForDevs","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"collectionSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"devMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"publicSaleStartTime","type":"uint32"},{"internalType":"uint64","name":"publicSalePriceWei","type":"uint64"},{"internalType":"uint64","name":"maxPerAddressDuringPublicSaleMint","type":"uint64"}],"name":"endWhitelistSaleAndSetupPublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"explicitOwnershipOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"explicitOwnershipsOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership[]","name":"","type":"tuple[]"}],"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":"getContractStatus","outputs":[{"internalType":"uint32","name":"","type":"uint32"},{"internalType":"uint64","name":"","type":"uint64"},{"internalType":"uint64","name":"","type":"uint64"},{"internalType":"uint32","name":"","type":"uint32"},{"internalType":"uint64","name":"","type":"uint64"},{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTokenInfo","outputs":[{"internalType":"string","name":"","type":"string"},{"internalType":"string","name":"","type":"string"}],"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":"isRevealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxBatchSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSaleConfig","outputs":[{"internalType":"uint32","name":"startTime","type":"uint32"},{"internalType":"uint64","name":"price","type":"uint64"},{"internalType":"uint64","name":"maxPerAddress","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint64","name":"quantity","type":"uint64"}],"name":"publicSaleMint","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":"payable","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":"payable","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":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"size","type":"uint256"}],"name":"setCollectionSize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri","type":"string"}],"name":"setDefaultTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"val","type":"bool"}],"name":"setIsRevealed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"whitelistSaleStartTime","type":"uint32"},{"internalType":"uint64","name":"whitelistSalePriceWei","type":"uint64"},{"internalType":"uint64","name":"maxPerAddressDuringWhitelistSaleMint","type":"uint64"}],"name":"setupWhitelistSale","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":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"start","type":"uint256"},{"internalType":"uint256","name":"stop","type":"uint256"}],"name":"tokensOfOwnerIn","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalFunds","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"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":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"whitelistSaleConfig","outputs":[{"internalType":"uint32","name":"startTime","type":"uint32"},{"internalType":"uint64","name":"price","type":"uint64"},{"internalType":"uint64","name":"maxPerAddress","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint64","name":"quantity","type":"uint64"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"whitelistSaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"withdrawMoney","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526000600b60006101000a81548160ff0219169083151502179055503480156200002c57600080fd5b50604051620060033803806200600383398181016040528101906200005291906200049c565b733cc6cdda760b79bafa08df41ecfa224f810dceb660016040518060400160405280600a81526020017f506c6178795061727479000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f504c5859000000000000000000000000000000000000000000000000000000008152508160029081620000e691906200077e565b508060039081620000f891906200077e565b50620001096200034e60201b60201c565b600081905550505062000131620001256200035360201b60201c565b6200035b60201b60201c565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b111562000326578015620001ec576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16637d3e3dbe30846040518363ffffffff1660e01b8152600401620001b2929190620008aa565b600060405180830381600087803b158015620001cd57600080fd5b505af1158015620001e2573d6000803e3d6000fd5b5050505062000325565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614620002a6576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663a0af290330846040518363ffffffff1660e01b81526004016200026c929190620008aa565b600060405180830381600087803b1580156200028757600080fd5b505af11580156200029c573d6000803e3d6000fd5b5050505062000324565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16634420e486306040518263ffffffff1660e01b8152600401620002ef9190620008d7565b600060405180830381600087803b1580156200030a57600080fd5b505af11580156200031f573d6000803e3d6000fd5b505050505b5b5b505083600c8190555082600d8190555081600e819055508060108190555050505050620008f4565b600090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600080fd5b6000819050919050565b6200043b8162000426565b81146200044757600080fd5b50565b6000815190506200045b8162000430565b92915050565b6000819050919050565b620004768162000461565b81146200048257600080fd5b50565b60008151905062000496816200046b565b92915050565b60008060008060808587031215620004b957620004b862000421565b5b6000620004c9878288016200044a565b9450506020620004dc878288016200044a565b9350506040620004ef878288016200044a565b9250506060620005028782880162000485565b91505092959194509250565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200059057607f821691505b602082108103620005a657620005a562000548565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620006107fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620005d1565b6200061c8683620005d1565b95508019841693508086168417925050509392505050565b6000819050919050565b60006200065f62000659620006538462000426565b62000634565b62000426565b9050919050565b6000819050919050565b6200067b836200063e565b620006936200068a8262000666565b848454620005de565b825550505050565b600090565b620006aa6200069b565b620006b781848462000670565b505050565b5b81811015620006df57620006d3600082620006a0565b600181019050620006bd565b5050565b601f8211156200072e57620006f881620005ac565b6200070384620005c1565b8101602085101562000713578190505b6200072b6200072285620005c1565b830182620006bc565b50505b505050565b600082821c905092915050565b6000620007536000198460080262000733565b1980831691505092915050565b60006200076e838362000740565b9150826002028217905092915050565b62000789826200050e565b67ffffffffffffffff811115620007a557620007a462000519565b5b620007b1825462000577565b620007be828285620006e3565b600060209050601f831160018114620007f65760008415620007e1578287015190505b620007ed858262000760565b8655506200085d565b601f1984166200080686620005ac565b60005b82811015620008305784890151825560018201915060208501945060208101905062000809565b868310156200085057848901516200084c601f89168262000740565b8355505b6001600288020188555050505b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620008928262000865565b9050919050565b620008a48162000885565b82525050565b6000604082019050620008c1600083018562000899565b620008d0602083018462000899565b9392505050565b6000602082019050620008ee600083018462000899565b92915050565b6156ff80620009046000396000f3fe60806040526004361061025c5760003560e01c8063715018a611610144578063aca8ffe7116100b6578063c7fcca6f1161007a578063c7fcca6f146108c5578063c87b56dd146108ee578063d63dd7011461092b578063e985e9c514610947578063f2fde38b14610984578063fbe1aa51146109ad5761025c565b8063aca8ffe7146107f7578063b88d4fde14610820578063baa96a7c1461083c578063c032846b14610858578063c23dc68f146108885761025c565b806399a2557a1161010857806399a2557a146106f8578063a125c82414610735578063a22cb4651461075e578063a3fd2c4414610787578063abb1dc44146107b4578063ac446002146107e05761025c565b8063715018a6146106225780638462151c146106395780638da5cb5b1461067657806395d89b41146106a1578063968ed600146106cc5761025c565b8063419041d8116101dd57806354214f69116101a157806354214f69146104ea57806355f804b3146105155780635bbb21771461053e5780636352211e1461057b578063656cf918146105b857806370a08231146105e55761025c565b8063419041d81461042657806341f434341461044f57806342842e0e1461047a57806345c0f5331461049657806349a5980a146104c15761025c565b806323b872dd1161022457806323b872dd1461034d5780632913daa0146103695780632a55205a146103945780632eb4a7ab146103d2578063375a069a146103fd5761025c565b806301ffc9a71461026157806306fdde031461029e578063081812fc146102c9578063095ea7b31461030657806318160ddd14610322575b600080fd5b34801561026d57600080fd5b5061028860048036038101906102839190613b6f565b6109d8565b6040516102959190613bb7565b60405180910390f35b3480156102aa57600080fd5b506102b36109fa565b6040516102c09190613c62565b60405180910390f35b3480156102d557600080fd5b506102f060048036038101906102eb9190613cba565b610a8c565b6040516102fd9190613d28565b60405180910390f35b610320600480360381019061031b9190613d6f565b610b0b565b005b34801561032e57600080fd5b50610337610b24565b6040516103449190613dbe565b60405180910390f35b61036760048036038101906103629190613dd9565b610b3b565b005b34801561037557600080fd5b5061037e610b8a565b60405161038b9190613dbe565b60405180910390f35b3480156103a057600080fd5b506103bb60048036038101906103b69190613e2c565b610b90565b6040516103c9929190613e6c565b60405180910390f35b3480156103de57600080fd5b506103e7610d7a565b6040516103f49190613eae565b60405180910390f35b34801561040957600080fd5b50610424600480360381019061041f9190613cba565b610d80565b005b34801561043257600080fd5b5061044d60048036038101906104489190613f45565b610e1c565b005b34801561045b57600080fd5b50610464610f27565b6040516104719190613ff7565b60405180910390f35b610494600480360381019061048f9190613dd9565b610f39565b005b3480156104a257600080fd5b506104ab610f88565b6040516104b89190613dbe565b60405180910390f35b3480156104cd57600080fd5b506104e860048036038101906104e3919061403e565b610f8e565b005b3480156104f657600080fd5b506104ff610ff9565b60405161050c9190613bb7565b60405180910390f35b34801561052157600080fd5b5061053c600480360381019061053791906140d0565b61100c565b005b34801561054a57600080fd5b5061056560048036038101906105609190614173565b611062565b604051610572919061430f565b60405180910390f35b34801561058757600080fd5b506105a2600480360381019061059d9190613cba565b611125565b6040516105af9190613d28565b60405180910390f35b3480156105c457600080fd5b506105cd611137565b6040516105dc9392919061434f565b60405180910390f35b3480156105f157600080fd5b5061060c60048036038101906106079190614386565b611187565b6040516106199190613dbe565b60405180910390f35b34801561062e57600080fd5b5061063761123f565b005b34801561064557600080fd5b50610660600480360381019061065b9190614386565b611253565b60405161066d9190614471565b60405180910390f35b34801561068257600080fd5b5061068b611396565b6040516106989190613d28565b60405180910390f35b3480156106ad57600080fd5b506106b66113c0565b6040516106c39190613c62565b60405180910390f35b3480156106d857600080fd5b506106e1611452565b6040516106ef929190614493565b60405180910390f35b34801561070457600080fd5b5061071f600480360381019061071a91906144bc565b611461565b60405161072c9190614471565b60405180910390f35b34801561074157600080fd5b5061075c600480360381019061075791906140d0565b61166d565b005b34801561076a57600080fd5b506107856004803603810190610780919061450f565b6116c3565b005b34801561079357600080fd5b5061079c6116dc565b6040516107ab9392919061434f565b60405180910390f35b3480156107c057600080fd5b506107c961172c565b6040516107d792919061454f565b60405180910390f35b3480156107ec57600080fd5b506107f5611853565b005b34801561080357600080fd5b5061081e60048036038101906108199190613cba565b611a12565b005b61083a600480360381019061083591906146b6565b611a5d565b005b61085660048036038101906108519190614828565b611aae565b005b34801561086457600080fd5b5061086d611e73565b60405161087f96959493929190614884565b60405180910390f35b34801561089457600080fd5b506108af60048036038101906108aa9190613cba565b611f24565b6040516108bc919061493a565b60405180910390f35b3480156108d157600080fd5b506108ec60048036038101906108e79190613f45565b611f8e565b005b3480156108fa57600080fd5b5061091560048036038101906109109190613cba565b6120be565b6040516109229190613c62565b60405180910390f35b61094560048036038101906109409190614955565b6121c2565b005b34801561095357600080fd5b5061096e60048036038101906109699190614982565b6124b2565b60405161097b9190613bb7565b60405180910390f35b34801561099057600080fd5b506109ab60048036038101906109a69190614386565b612546565b005b3480156109b957600080fd5b506109c26125c9565b6040516109cf9190613dbe565b60405180910390f35b60006109e3826125cf565b806109f357506109f282612661565b5b9050919050565b606060028054610a09906149f1565b80601f0160208091040260200160405190810160405280929190818152602001828054610a35906149f1565b8015610a825780601f10610a5757610100808354040283529160200191610a82565b820191906000526020600020905b815481529060010190602001808311610a6557829003601f168201915b5050505050905090565b6000610a97826126db565b610acd576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b81610b158161273a565b610b1f8383612837565b505050565b6000610b2e61297b565b6001546000540303905090565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610b7957610b783361273a565b5b610b84848484612980565b50505050565b600d5481565b6000806000600a60008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1603610d255760096040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b6000610d2f612ca2565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff1686610d5b9190614a51565b610d659190614ac2565b90508160000151819350935050509250929050565b60105481565b610d88612cac565b6000600d5482610d989190614af3565b14610ddb5760066040517f804388c0000000000000000000000000000000000000000000000000000000008152600401610dd29190614b6c565b60405180910390fd5b6000600d5482610deb9190614ac2565b905060005b81811015610e1757610e0433600d54612d2a565b8080610e0f90614b87565b915050610df0565b505050565b610e24612cac565b82601160000160006101000a81548163ffffffff021916908363ffffffff16021790555081601160000160046101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550806011600001600c6101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055507ffc1ecc6749c0ed1ffc33ac58e7b26230d1a035c9dae817bd6e38cfb24fa8644b601160000160009054906101000a900463ffffffff16601160000160049054906101000a900467ffffffffffffffff166011600001600c9054906101000a900467ffffffffffffffff16604051610f1a9392919061434f565b60405180910390a1505050565b6daaeb6d7670e522a718067333cd4e81565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610f7757610f763361273a565b5b610f82848484612d48565b50505050565b600c5481565b610f96612cac565b80600b60006101000a81548160ff0219169083151502179055507fc55565c1dcceed7a236384f279af4f95930442d66962d8d245a73a1b85e3c9a1600b60009054906101000a900460ff16604051610fee9190613bb7565b60405180910390a150565b600b60009054906101000a900460ff1681565b611014612cac565b818160139182611025929190614d7c565b507fec7aa76ee322bd9ff6b9f70d62a749a4bfadba7751d8b4bb089b22ff0ed09bd260136040516110569190614ed0565b60405180910390a15050565b6060600083839050905060008167ffffffffffffffff8111156110885761108761458b565b5b6040519080825280602002602001820160405280156110c157816020015b6110ae613ab4565b8152602001906001900390816110a65790505b50905060005b828114611119576110f08686838181106110e4576110e3614ef2565b5b90506020020135611f24565b82828151811061110357611102614ef2565b5b60200260200101819052508060010190506110c7565b50809250505092915050565b600061113082612d68565b9050919050565b60118060000160009054906101000a900463ffffffff16908060000160049054906101000a900467ffffffffffffffff169080600001600c9054906101000a900467ffffffffffffffff16905083565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036111ee576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611247612cac565b6112516000612e34565b565b6060600080600061126385611187565b905060008167ffffffffffffffff8111156112815761128061458b565b5b6040519080825280602002602001820160405280156112af5781602001602082028036833780820191505090505b5090506112ba613ab4565b60006112c461297b565b90505b838614611388576112d781612efa565b9150816040015161137d57600073ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff161461132257816000015194505b8773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff160361137c578083878060010198508151811061136f5761136e614ef2565b5b6020026020010181815250505b5b8060010190506112c7565b508195505050505050919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600380546113cf906149f1565b80601f01602080910402602001604051908101604052809291908181526020018280546113fb906149f1565b80156114485780601f1061141d57610100808354040283529160200191611448565b820191906000526020600020905b81548152906001019060200180831161142b57829003601f168201915b5050505050905090565b60008047600f54915091509091565b606081831061149c576040517f32c1995a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000806114a7612f25565b90506114b161297b565b8510156114c3576114c061297b565b94505b808411156114cf578093505b60006114da87611187565b9050848610156114fd5760008686039050818110156114f7578091505b50611502565b600090505b60008167ffffffffffffffff81111561151e5761151d61458b565b5b60405190808252806020026020018201604052801561154c5781602001602082028036833780820191505090505b509050600082036115635780945050505050611666565b600061156e88611f24565b90506000816040015161158357816000015190505b60008990505b8881141580156115995750848714155b15611658576115a781612efa565b9250826040015161164d57600073ffffffffffffffffffffffffffffffffffffffff16836000015173ffffffffffffffffffffffffffffffffffffffff16146115f257826000015191505b8a73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361164c578084888060010199508151811061163f5761163e614ef2565b5b6020026020010181815250505b5b806001019050611589565b508583528296505050505050505b9392505050565b611675612cac565b818160149182611686929190614d7c565b507fa36fff1c6478d9cebacb70685906c5f6340c1ef345712a19ad41a5fe7d2bcbee60146040516116b79190614ed0565b60405180910390a15050565b816116cd8161273a565b6116d78383612f2e565b505050565b60128060000160009054906101000a900463ffffffff16908060000160049054906101000a900467ffffffffffffffff169080600001600c9054906101000a900467ffffffffffffffff16905083565b6060806013601481805461173f906149f1565b80601f016020809104026020016040519081016040528092919081815260200182805461176b906149f1565b80156117b85780601f1061178d576101008083540402835291602001916117b8565b820191906000526020600020905b81548152906001019060200180831161179b57829003601f168201915b505050505091508080546117cb906149f1565b80601f01602080910402602001604051908101604052809291908181526020018280546117f7906149f1565b80156118445780601f1061181957610100808354040283529160200191611844565b820191906000526020600020905b81548152906001019060200180831161182757829003601f168201915b50505050509050915091509091565b61185b612cac565b600073f523a7db51075a10c9f8baffbcfd8b22bfdffd269050600073a518c145f1178508e67d825818af98b5d504027790506000606460014761189e9190614a51565b6118a89190614ac2565b905060006064601e476118bb9190614a51565b6118c59190614ac2565b90508373ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f1935050505015801561190d573d6000803e3d6000fd5b508273ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611954573d6000803e3d6000fd5b5060004790503373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f193505050501580156119a0573d6000803e3d6000fd5b508082846119ae9190614f21565b6119b89190614f21565b600f60008282546119c99190614f21565b925050819055507fd5550c71ca14cc44783a664cd798ecb70dcefed6b3cfdf323041ce6d221f2d72838383604051611a0393929190614f55565b60405180910390a15050505050565b611a1a612cac565b80600c819055507fe20e127115d125ee9e5585a8fb1b88c761a79582a054e18d8997d22c147e9fa7600c54604051611a529190613dbe565b60405180910390a150565b833373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611a9b57611a9a3361273a565b5b611aa785858585613039565b5050505050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611b1f5760016040517f804388c0000000000000000000000000000000000000000000000000000000008152600401611b169190614fc7565b60405180910390fd5b6000601160000160049054906101000a900467ffffffffffffffff1667ffffffffffffffff1690506000601160000160009054906101000a900463ffffffff1663ffffffff16905060006011600001600c9054906101000a900467ffffffffffffffff1690506000801b60105403611bcf5760096040517f804388c0000000000000000000000000000000000000000000000000000000008152600401611bc6919061501d565b60405180910390fd5b611c028460105433604051602001611be79190615080565b604051602081830303815290604052805190602001206130ac565b611c4457600a6040517f804388c0000000000000000000000000000000000000000000000000000000008152600401611c3b91906150d6565b60405180910390fd5b60008303611c8a5760036040517f804388c0000000000000000000000000000000000000000000000000000000008152600401611c81919061512c565b60405180910390fd5b6000821480611c9857508142105b15611cdb5760036040517f804388c0000000000000000000000000000000000000000000000000000000008152600401611cd2919061512c565b60405180910390fd5b600c548567ffffffffffffffff16611cf1610b24565b611cfb9190614f21565b1115611d3f5760046040517f804388c0000000000000000000000000000000000000000000000000000000008152600401611d369190615182565b60405180910390fd5b8067ffffffffffffffff1685611d5b611d566130c3565b6130cb565b611d65919061519d565b67ffffffffffffffff161115611db35760056040517f804388c0000000000000000000000000000000000000000000000000000000008152600401611daa9190615214565b60405180910390fd5b611dce611dbe6130c3565b8667ffffffffffffffff16612d2a565b611df9611dd96130c3565b86611dea611de56130c3565b6130cb565b611df4919061519d565b613118565b611e178567ffffffffffffffff1684611e129190614a51565b6131ce565b611e1f6130c3565b73ffffffffffffffffffffffffffffffffffffffff167f371f0f9c5c7bb591d0f296e39127584eede508133f32e126261d929e7a6d5a2786604051611e649190615260565b60405180910390a25050505050565b600080600080600080601160000160009054906101000a900463ffffffff16601160000160049054906101000a900467ffffffffffffffff166011600001600c9054906101000a900467ffffffffffffffff16601260000160009054906101000a900463ffffffff16601260000160049054906101000a900467ffffffffffffffff166012600001600c9054906101000a900467ffffffffffffffff16955095509550955095509550909192939495565b611f2c613ab4565b611f34613ab4565b611f3c61297b565b831080611f505750611f4c612f25565b8310155b15611f5e5780915050611f89565b611f6783612efa565b9050806040015115611f7c5780915050611f89565b611f8583613272565b9150505b919050565b611f96612cac565b6000601160000160006101000a81548163ffffffff021916908363ffffffff16021790555082601260000160006101000a81548163ffffffff021916908363ffffffff16021790555081601260000160046101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550806012600001600c6101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055507f28c10a27f02a9ef2610984cf2908beac19c3ad1fe5a2e3bed3f7245a4b051b8f601260000160009054906101000a900463ffffffff16601260000160049054906101000a900467ffffffffffffffff166012600001600c9054906101000a900467ffffffffffffffff166040516120b19392919061434f565b60405180910390a1505050565b6060600b60009054906101000a900460ff16156120e5576120de82613292565b90506121bd565b6120ed610b24565b82111561212f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612126906152c7565b60405180910390fd5b6014805461213c906149f1565b80601f0160208091040260200160405190810160405280929190818152602001828054612168906149f1565b80156121b55780601f1061218a576101008083540402835291602001916121b5565b820191906000526020600020905b81548152906001019060200180831161219857829003601f168201915b505050505090505b919050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16146122335760016040517f804388c000000000000000000000000000000000000000000000000000000000815260040161222a9190614fc7565b60405180910390fd5b6000601260000160049054906101000a900467ffffffffffffffff1667ffffffffffffffff1690506000601260000160009054906101000a900463ffffffff1663ffffffff16905060006012600001600c9054906101000a900467ffffffffffffffff169050600083036122df5760076040517f804388c00000000000000000000000000000000000000000000000000000000081526004016122d69190615322565b60405180910390fd5b60008214806122ed57508142105b156123305760076040517f804388c00000000000000000000000000000000000000000000000000000000081526004016123279190615322565b60405180910390fd5b600c548467ffffffffffffffff16612346610b24565b6123509190614f21565b11156123945760046040517f804388c000000000000000000000000000000000000000000000000000000000815260040161238b9190615182565b60405180910390fd5b8067ffffffffffffffff168467ffffffffffffffff166123ba6123b56130c3565b6130cb565b67ffffffffffffffff166123d46123cf6130c3565b613330565b6123de919061533d565b6123e89190614f21565b111561242c5760086040517f804388c000000000000000000000000000000000000000000000000000000000815260040161242391906153ac565b60405180910390fd5b612440338567ffffffffffffffff16612d2a565b61245e8467ffffffffffffffff16846124599190614a51565b6131ce565b3373ffffffffffffffffffffffffffffffffffffffff167f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885856040516124a49190615260565b60405180910390a250505050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61254e612cac565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036125bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125b490615439565b60405180910390fd5b6125c681612e34565b50565b600e5481565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061262a57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061265a5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806126d457506126d382613387565b5b9050919050565b6000816126e661297b565b111580156126f5575060005482105b8015612733575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115612834576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b81526004016127b1929190615459565b602060405180830381865afa1580156127ce573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127f29190615497565b61283357806040517fede71dcc00000000000000000000000000000000000000000000000000000000815260040161282a9190613d28565b60405180910390fd5b5b50565b600061284282611125565b90508073ffffffffffffffffffffffffffffffffffffffff166128636133f1565b73ffffffffffffffffffffffffffffffffffffffff16146128c65761288f8161288a6133f1565b6124b2565b6128c5576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600090565b600061298b82612d68565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146129f2576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000806129fe846133f9565b91509150612a148187612a0f6133f1565b613420565b612a6057612a2986612a246133f1565b6124b2565b612a5f576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603612ac6576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612ad38686866001613464565b8015612ade57600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550612bac85612b8888888761346a565b7c020000000000000000000000000000000000000000000000000000000017613492565b600460008681526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000841603612c325760006001850190506000600460008381526020019081526020016000205403612c30576000548114612c2f578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612c9a86868660016134bd565b505050505050565b6000612710905090565b612cb46130c3565b73ffffffffffffffffffffffffffffffffffffffff16612cd2611396565b73ffffffffffffffffffffffffffffffffffffffff1614612d28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d1f90615510565b60405180910390fd5b565b612d448282604051806020016040528060008152506134c3565b5050565b612d6383838360405180602001604052806000815250611a5d565b505050565b60008082905080612d7761297b565b11612dfd57600054811015612dfc5760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821603612dfa575b60008103612df0576004600083600190039350838152602001908152602001600020549050612dc6565b8092505050612e2f565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612f02613ab4565b612f1e6004600084815260200190815260200160002054613560565b9050919050565b60008054905090565b8060076000612f3b6133f1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16612fe86133f1565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161302d9190613bb7565b60405180910390a35050565b613044848484610b3b565b60008373ffffffffffffffffffffffffffffffffffffffff163b146130a65761306f84848484613616565b6130a5576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b6000826130b98584613766565b1490509392505050565b600033905090565b600060c0600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054901c9050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050600082905060c081901b77ffffffffffffffffffffffffffffffffffffffffffffffff831617915081600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050505050565b803410156132145760026040517f804388c000000000000000000000000000000000000000000000000000000000815260040161320b919061556b565b60405180910390fd5b8034111561326f573373ffffffffffffffffffffffffffffffffffffffff166108fc8234613242919061533d565b9081150290604051600060405180830381858888f1935050505015801561326d573d6000803e3d6000fd5b505b50565b61327a613ab4565b61328b61328683612d68565b613560565b9050919050565b606061329d826126db565b6132d3576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006132dd6137bc565b905060008151036132fd5760405180602001604052806000815250613328565b806133078461384e565b6040516020016133189291906155c2565b6040516020818303038152906040525b915050919050565b600067ffffffffffffffff6040600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054901c169050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e861348186868461389e565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6134cd83836138a7565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461355b57600080549050600083820390505b61350d6000868380600101945086613616565b613543576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8181106134fa57816000541461355857600080fd5b50505b505050565b613568613ab4565b81816000019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505060a082901c816020019067ffffffffffffffff16908167ffffffffffffffff168152505060007c01000000000000000000000000000000000000000000000000000000008316141581604001901515908115158152505060e882901c816060019062ffffff16908162ffffff1681525050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261363c6133f1565b8786866040518563ffffffff1660e01b815260040161365e949392919061563b565b6020604051808303816000875af192505050801561369a57506040513d601f19601f82011682018060405250810190613697919061569c565b60015b613713573d80600081146136ca576040519150601f19603f3d011682016040523d82523d6000602084013e6136cf565b606091505b50600081510361370b576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60008082905060005b84518110156137b15761379c8286838151811061378f5761378e614ef2565b5b6020026020010151613a62565b915080806137a990614b87565b91505061376f565b508091505092915050565b6060601380546137cb906149f1565b80601f01602080910402602001604051908101604052809291908181526020018280546137f7906149f1565b80156138445780601f1061381957610100808354040283529160200191613844565b820191906000526020600020905b81548152906001019060200180831161382757829003601f168201915b5050505050905090565b606060a060405101806040526020810391506000825281835b60011561388957600184039350600a81066030018453600a8104905080613867575b50828103602084039350808452505050919050565b60009392505050565b600080549050600082036138e7576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6138f46000848385613464565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555061396b8361395c600086600061346a565b61396585613a8d565b17613492565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b818114613a0c57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46001810190506139d1565b5060008203613a47576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806000819055505050613a5d60008483856134bd565b505050565b6000818310613a7a57613a758284613a9d565b613a85565b613a848383613a9d565b5b905092915050565b60006001821460e11b9050919050565b600082600052816020526040600020905092915050565b6040518060800160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff168152602001600015158152602001600062ffffff1681525090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613b4c81613b17565b8114613b5757600080fd5b50565b600081359050613b6981613b43565b92915050565b600060208284031215613b8557613b84613b0d565b5b6000613b9384828501613b5a565b91505092915050565b60008115159050919050565b613bb181613b9c565b82525050565b6000602082019050613bcc6000830184613ba8565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613c0c578082015181840152602081019050613bf1565b60008484015250505050565b6000601f19601f8301169050919050565b6000613c3482613bd2565b613c3e8185613bdd565b9350613c4e818560208601613bee565b613c5781613c18565b840191505092915050565b60006020820190508181036000830152613c7c8184613c29565b905092915050565b6000819050919050565b613c9781613c84565b8114613ca257600080fd5b50565b600081359050613cb481613c8e565b92915050565b600060208284031215613cd057613ccf613b0d565b5b6000613cde84828501613ca5565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613d1282613ce7565b9050919050565b613d2281613d07565b82525050565b6000602082019050613d3d6000830184613d19565b92915050565b613d4c81613d07565b8114613d5757600080fd5b50565b600081359050613d6981613d43565b92915050565b60008060408385031215613d8657613d85613b0d565b5b6000613d9485828601613d5a565b9250506020613da585828601613ca5565b9150509250929050565b613db881613c84565b82525050565b6000602082019050613dd36000830184613daf565b92915050565b600080600060608486031215613df257613df1613b0d565b5b6000613e0086828701613d5a565b9350506020613e1186828701613d5a565b9250506040613e2286828701613ca5565b9150509250925092565b60008060408385031215613e4357613e42613b0d565b5b6000613e5185828601613ca5565b9250506020613e6285828601613ca5565b9150509250929050565b6000604082019050613e816000830185613d19565b613e8e6020830184613daf565b9392505050565b6000819050919050565b613ea881613e95565b82525050565b6000602082019050613ec36000830184613e9f565b92915050565b600063ffffffff82169050919050565b613ee281613ec9565b8114613eed57600080fd5b50565b600081359050613eff81613ed9565b92915050565b600067ffffffffffffffff82169050919050565b613f2281613f05565b8114613f2d57600080fd5b50565b600081359050613f3f81613f19565b92915050565b600080600060608486031215613f5e57613f5d613b0d565b5b6000613f6c86828701613ef0565b9350506020613f7d86828701613f30565b9250506040613f8e86828701613f30565b9150509250925092565b6000819050919050565b6000613fbd613fb8613fb384613ce7565b613f98565b613ce7565b9050919050565b6000613fcf82613fa2565b9050919050565b6000613fe182613fc4565b9050919050565b613ff181613fd6565b82525050565b600060208201905061400c6000830184613fe8565b92915050565b61401b81613b9c565b811461402657600080fd5b50565b60008135905061403881614012565b92915050565b60006020828403121561405457614053613b0d565b5b600061406284828501614029565b91505092915050565b600080fd5b600080fd5b600080fd5b60008083601f8401126140905761408f61406b565b5b8235905067ffffffffffffffff8111156140ad576140ac614070565b5b6020830191508360018202830111156140c9576140c8614075565b5b9250929050565b600080602083850312156140e7576140e6613b0d565b5b600083013567ffffffffffffffff81111561410557614104613b12565b5b6141118582860161407a565b92509250509250929050565b60008083601f8401126141335761413261406b565b5b8235905067ffffffffffffffff8111156141505761414f614070565b5b60208301915083602082028301111561416c5761416b614075565b5b9250929050565b6000806020838503121561418a57614189613b0d565b5b600083013567ffffffffffffffff8111156141a8576141a7613b12565b5b6141b48582860161411d565b92509250509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6141f581613d07565b82525050565b61420481613f05565b82525050565b61421381613b9c565b82525050565b600062ffffff82169050919050565b61423181614219565b82525050565b60808201600082015161424d60008501826141ec565b50602082015161426060208501826141fb565b506040820151614273604085018261420a565b5060608201516142866060850182614228565b50505050565b60006142988383614237565b60808301905092915050565b6000602082019050919050565b60006142bc826141c0565b6142c681856141cb565b93506142d1836141dc565b8060005b838110156143025781516142e9888261428c565b97506142f4836142a4565b9250506001810190506142d5565b5085935050505092915050565b6000602082019050818103600083015261432981846142b1565b905092915050565b61433a81613ec9565b82525050565b61434981613f05565b82525050565b60006060820190506143646000830186614331565b6143716020830185614340565b61437e6040830184614340565b949350505050565b60006020828403121561439c5761439b613b0d565b5b60006143aa84828501613d5a565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6143e881613c84565b82525050565b60006143fa83836143df565b60208301905092915050565b6000602082019050919050565b600061441e826143b3565b61442881856143be565b9350614433836143cf565b8060005b8381101561446457815161444b88826143ee565b975061445683614406565b925050600181019050614437565b5085935050505092915050565b6000602082019050818103600083015261448b8184614413565b905092915050565b60006040820190506144a86000830185613daf565b6144b56020830184613daf565b9392505050565b6000806000606084860312156144d5576144d4613b0d565b5b60006144e386828701613d5a565b93505060206144f486828701613ca5565b925050604061450586828701613ca5565b9150509250925092565b6000806040838503121561452657614525613b0d565b5b600061453485828601613d5a565b925050602061454585828601614029565b9150509250929050565b600060408201905081810360008301526145698185613c29565b9050818103602083015261457d8184613c29565b90509392505050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6145c382613c18565b810181811067ffffffffffffffff821117156145e2576145e161458b565b5b80604052505050565b60006145f5613b03565b905061460182826145ba565b919050565b600067ffffffffffffffff8211156146215761462061458b565b5b61462a82613c18565b9050602081019050919050565b82818337600083830152505050565b600061465961465484614606565b6145eb565b90508281526020810184848401111561467557614674614586565b5b614680848285614637565b509392505050565b600082601f83011261469d5761469c61406b565b5b81356146ad848260208601614646565b91505092915050565b600080600080608085870312156146d0576146cf613b0d565b5b60006146de87828801613d5a565b94505060206146ef87828801613d5a565b935050604061470087828801613ca5565b925050606085013567ffffffffffffffff81111561472157614720613b12565b5b61472d87828801614688565b91505092959194509250565b600067ffffffffffffffff8211156147545761475361458b565b5b602082029050602081019050919050565b61476e81613e95565b811461477957600080fd5b50565b60008135905061478b81614765565b92915050565b60006147a461479f84614739565b6145eb565b905080838252602082019050602084028301858111156147c7576147c6614075565b5b835b818110156147f057806147dc888261477c565b8452602084019350506020810190506147c9565b5050509392505050565b600082601f83011261480f5761480e61406b565b5b813561481f848260208601614791565b91505092915050565b6000806040838503121561483f5761483e613b0d565b5b600061484d85828601613f30565b925050602083013567ffffffffffffffff81111561486e5761486d613b12565b5b61487a858286016147fa565b9150509250929050565b600060c0820190506148996000830189614331565b6148a66020830188614340565b6148b36040830187614340565b6148c06060830186614331565b6148cd6080830185614340565b6148da60a0830184614340565b979650505050505050565b6080820160008201516148fb60008501826141ec565b50602082015161490e60208501826141fb565b506040820151614921604085018261420a565b5060608201516149346060850182614228565b50505050565b600060808201905061494f60008301846148e5565b92915050565b60006020828403121561496b5761496a613b0d565b5b600061497984828501613f30565b91505092915050565b6000806040838503121561499957614998613b0d565b5b60006149a785828601613d5a565b92505060206149b885828601613d5a565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680614a0957607f821691505b602082108103614a1c57614a1b6149c2565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614a5c82613c84565b9150614a6783613c84565b9250828202614a7581613c84565b91508282048414831517614a8c57614a8b614a22565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614acd82613c84565b9150614ad883613c84565b925082614ae857614ae7614a93565b5b828204905092915050565b6000614afe82613c84565b9150614b0983613c84565b925082614b1957614b18614a93565b5b828206905092915050565b6000819050919050565b600060ff82169050919050565b6000614b56614b51614b4c84614b24565b613f98565b614b2e565b9050919050565b614b6681614b3b565b82525050565b6000602082019050614b816000830184614b5d565b92915050565b6000614b9282613c84565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203614bc457614bc3614a22565b5b600182019050919050565b600082905092915050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302614c3c7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82614bff565b614c468683614bff565b95508019841693508086168417925050509392505050565b6000614c79614c74614c6f84613c84565b613f98565b613c84565b9050919050565b6000819050919050565b614c9383614c5e565b614ca7614c9f82614c80565b848454614c0c565b825550505050565b600090565b614cbc614caf565b614cc7818484614c8a565b505050565b5b81811015614ceb57614ce0600082614cb4565b600181019050614ccd565b5050565b601f821115614d3057614d0181614bda565b614d0a84614bef565b81016020851015614d19578190505b614d2d614d2585614bef565b830182614ccc565b50505b505050565b600082821c905092915050565b6000614d5360001984600802614d35565b1980831691505092915050565b6000614d6c8383614d42565b9150826002028217905092915050565b614d868383614bcf565b67ffffffffffffffff811115614d9f57614d9e61458b565b5b614da982546149f1565b614db4828285614cef565b6000601f831160018114614de35760008415614dd1578287013590505b614ddb8582614d60565b865550614e43565b601f198416614df186614bda565b60005b82811015614e1957848901358255600182019150602085019450602081019050614df4565b86831015614e365784890135614e32601f891682614d42565b8355505b6001600288020188555050505b50505050505050565b60008154614e59816149f1565b614e638186613bdd565b94506001821660008114614e7e5760018114614e9457614ec7565b60ff198316865281151560200286019350614ec7565b614e9d85614bda565b60005b83811015614ebf57815481890152600182019150602081019050614ea0565b808801955050505b50505092915050565b60006020820190508181036000830152614eea8184614e4c565b905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000614f2c82613c84565b9150614f3783613c84565b9250828201905080821115614f4f57614f4e614a22565b5b92915050565b6000606082019050614f6a6000830186613daf565b614f776020830185613daf565b614f846040830184613daf565b949350505050565b6000819050919050565b6000614fb1614fac614fa784614f8c565b613f98565b614b2e565b9050919050565b614fc181614f96565b82525050565b6000602082019050614fdc6000830184614fb8565b92915050565b6000819050919050565b6000615007615002614ffd84614fe2565b613f98565b614b2e565b9050919050565b61501781614fec565b82525050565b6000602082019050615032600083018461500e565b92915050565b60008160601b9050919050565b600061505082615038565b9050919050565b600061506282615045565b9050919050565b61507a61507582613d07565b615057565b82525050565b600061508c8284615069565b60148201915081905092915050565b6000819050919050565b60006150c06150bb6150b68461509b565b613f98565b614b2e565b9050919050565b6150d0816150a5565b82525050565b60006020820190506150eb60008301846150c7565b92915050565b6000819050919050565b600061511661511161510c846150f1565b613f98565b614b2e565b9050919050565b615126816150fb565b82525050565b6000602082019050615141600083018461511d565b92915050565b6000819050919050565b600061516c61516761516284615147565b613f98565b614b2e565b9050919050565b61517c81615151565b82525050565b60006020820190506151976000830184615173565b92915050565b60006151a882613f05565b91506151b383613f05565b9250828201905067ffffffffffffffff8111156151d3576151d2614a22565b5b92915050565b6000819050919050565b60006151fe6151f96151f4846151d9565b613f98565b614b2e565b9050919050565b61520e816151e3565b82525050565b60006020820190506152296000830184615205565b92915050565b600061524a61524561524084613f05565b613f98565b613c84565b9050919050565b61525a8161522f565b82525050565b60006020820190506152756000830184615251565b92915050565b7f746f6b656e206e6f742065786973740000000000000000000000000000000000600082015250565b60006152b1600f83613bdd565b91506152bc8261527b565b602082019050919050565b600060208201905081810360008301526152e0816152a4565b9050919050565b6000819050919050565b600061530c615307615302846152e7565b613f98565b614b2e565b9050919050565b61531c816152f1565b82525050565b60006020820190506153376000830184615313565b92915050565b600061534882613c84565b915061535383613c84565b925082820390508181111561536b5761536a614a22565b5b92915050565b6000819050919050565b600061539661539161538c84615371565b613f98565b614b2e565b9050919050565b6153a68161537b565b82525050565b60006020820190506153c1600083018461539d565b92915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000615423602683613bdd565b915061542e826153c7565b604082019050919050565b6000602082019050818103600083015261545281615416565b9050919050565b600060408201905061546e6000830185613d19565b61547b6020830184613d19565b9392505050565b60008151905061549181614012565b92915050565b6000602082840312156154ad576154ac613b0d565b5b60006154bb84828501615482565b91505092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006154fa602083613bdd565b9150615505826154c4565b602082019050919050565b60006020820190508181036000830152615529816154ed565b9050919050565b6000819050919050565b600061555561555061554b84615530565b613f98565b614b2e565b9050919050565b6155658161553a565b82525050565b6000602082019050615580600083018461555c565b92915050565b600081905092915050565b600061559c82613bd2565b6155a68185615586565b93506155b6818560208601613bee565b80840191505092915050565b60006155ce8285615591565b91506155da8284615591565b91508190509392505050565b600081519050919050565b600082825260208201905092915050565b600061560d826155e6565b61561781856155f1565b9350615627818560208601613bee565b61563081613c18565b840191505092915050565b60006080820190506156506000830187613d19565b61565d6020830186613d19565b61566a6040830185613daf565b818103606083015261567c8184615602565b905095945050505050565b60008151905061569681613b43565b92915050565b6000602082840312156156b2576156b1613b0d565b5b60006156c084828501615687565b9150509291505056fea26469706673582212205cb072f1eeb2f7cff346316282ae514ac651e5e2590e95cd1498ee9a50a2534864736f6c6343000811003300000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000003200000000000000000000000000000000000000000000000000000000000000323feaaebb1a95e9bc918760667ff2c131d1bc2b761574808a79f207575a1b7527

Deployed Bytecode

0x60806040526004361061025c5760003560e01c8063715018a611610144578063aca8ffe7116100b6578063c7fcca6f1161007a578063c7fcca6f146108c5578063c87b56dd146108ee578063d63dd7011461092b578063e985e9c514610947578063f2fde38b14610984578063fbe1aa51146109ad5761025c565b8063aca8ffe7146107f7578063b88d4fde14610820578063baa96a7c1461083c578063c032846b14610858578063c23dc68f146108885761025c565b806399a2557a1161010857806399a2557a146106f8578063a125c82414610735578063a22cb4651461075e578063a3fd2c4414610787578063abb1dc44146107b4578063ac446002146107e05761025c565b8063715018a6146106225780638462151c146106395780638da5cb5b1461067657806395d89b41146106a1578063968ed600146106cc5761025c565b8063419041d8116101dd57806354214f69116101a157806354214f69146104ea57806355f804b3146105155780635bbb21771461053e5780636352211e1461057b578063656cf918146105b857806370a08231146105e55761025c565b8063419041d81461042657806341f434341461044f57806342842e0e1461047a57806345c0f5331461049657806349a5980a146104c15761025c565b806323b872dd1161022457806323b872dd1461034d5780632913daa0146103695780632a55205a146103945780632eb4a7ab146103d2578063375a069a146103fd5761025c565b806301ffc9a71461026157806306fdde031461029e578063081812fc146102c9578063095ea7b31461030657806318160ddd14610322575b600080fd5b34801561026d57600080fd5b5061028860048036038101906102839190613b6f565b6109d8565b6040516102959190613bb7565b60405180910390f35b3480156102aa57600080fd5b506102b36109fa565b6040516102c09190613c62565b60405180910390f35b3480156102d557600080fd5b506102f060048036038101906102eb9190613cba565b610a8c565b6040516102fd9190613d28565b60405180910390f35b610320600480360381019061031b9190613d6f565b610b0b565b005b34801561032e57600080fd5b50610337610b24565b6040516103449190613dbe565b60405180910390f35b61036760048036038101906103629190613dd9565b610b3b565b005b34801561037557600080fd5b5061037e610b8a565b60405161038b9190613dbe565b60405180910390f35b3480156103a057600080fd5b506103bb60048036038101906103b69190613e2c565b610b90565b6040516103c9929190613e6c565b60405180910390f35b3480156103de57600080fd5b506103e7610d7a565b6040516103f49190613eae565b60405180910390f35b34801561040957600080fd5b50610424600480360381019061041f9190613cba565b610d80565b005b34801561043257600080fd5b5061044d60048036038101906104489190613f45565b610e1c565b005b34801561045b57600080fd5b50610464610f27565b6040516104719190613ff7565b60405180910390f35b610494600480360381019061048f9190613dd9565b610f39565b005b3480156104a257600080fd5b506104ab610f88565b6040516104b89190613dbe565b60405180910390f35b3480156104cd57600080fd5b506104e860048036038101906104e3919061403e565b610f8e565b005b3480156104f657600080fd5b506104ff610ff9565b60405161050c9190613bb7565b60405180910390f35b34801561052157600080fd5b5061053c600480360381019061053791906140d0565b61100c565b005b34801561054a57600080fd5b5061056560048036038101906105609190614173565b611062565b604051610572919061430f565b60405180910390f35b34801561058757600080fd5b506105a2600480360381019061059d9190613cba565b611125565b6040516105af9190613d28565b60405180910390f35b3480156105c457600080fd5b506105cd611137565b6040516105dc9392919061434f565b60405180910390f35b3480156105f157600080fd5b5061060c60048036038101906106079190614386565b611187565b6040516106199190613dbe565b60405180910390f35b34801561062e57600080fd5b5061063761123f565b005b34801561064557600080fd5b50610660600480360381019061065b9190614386565b611253565b60405161066d9190614471565b60405180910390f35b34801561068257600080fd5b5061068b611396565b6040516106989190613d28565b60405180910390f35b3480156106ad57600080fd5b506106b66113c0565b6040516106c39190613c62565b60405180910390f35b3480156106d857600080fd5b506106e1611452565b6040516106ef929190614493565b60405180910390f35b34801561070457600080fd5b5061071f600480360381019061071a91906144bc565b611461565b60405161072c9190614471565b60405180910390f35b34801561074157600080fd5b5061075c600480360381019061075791906140d0565b61166d565b005b34801561076a57600080fd5b506107856004803603810190610780919061450f565b6116c3565b005b34801561079357600080fd5b5061079c6116dc565b6040516107ab9392919061434f565b60405180910390f35b3480156107c057600080fd5b506107c961172c565b6040516107d792919061454f565b60405180910390f35b3480156107ec57600080fd5b506107f5611853565b005b34801561080357600080fd5b5061081e60048036038101906108199190613cba565b611a12565b005b61083a600480360381019061083591906146b6565b611a5d565b005b61085660048036038101906108519190614828565b611aae565b005b34801561086457600080fd5b5061086d611e73565b60405161087f96959493929190614884565b60405180910390f35b34801561089457600080fd5b506108af60048036038101906108aa9190613cba565b611f24565b6040516108bc919061493a565b60405180910390f35b3480156108d157600080fd5b506108ec60048036038101906108e79190613f45565b611f8e565b005b3480156108fa57600080fd5b5061091560048036038101906109109190613cba565b6120be565b6040516109229190613c62565b60405180910390f35b61094560048036038101906109409190614955565b6121c2565b005b34801561095357600080fd5b5061096e60048036038101906109699190614982565b6124b2565b60405161097b9190613bb7565b60405180910390f35b34801561099057600080fd5b506109ab60048036038101906109a69190614386565b612546565b005b3480156109b957600080fd5b506109c26125c9565b6040516109cf9190613dbe565b60405180910390f35b60006109e3826125cf565b806109f357506109f282612661565b5b9050919050565b606060028054610a09906149f1565b80601f0160208091040260200160405190810160405280929190818152602001828054610a35906149f1565b8015610a825780601f10610a5757610100808354040283529160200191610a82565b820191906000526020600020905b815481529060010190602001808311610a6557829003601f168201915b5050505050905090565b6000610a97826126db565b610acd576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b81610b158161273a565b610b1f8383612837565b505050565b6000610b2e61297b565b6001546000540303905090565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610b7957610b783361273a565b5b610b84848484612980565b50505050565b600d5481565b6000806000600a60008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1603610d255760096040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b6000610d2f612ca2565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff1686610d5b9190614a51565b610d659190614ac2565b90508160000151819350935050509250929050565b60105481565b610d88612cac565b6000600d5482610d989190614af3565b14610ddb5760066040517f804388c0000000000000000000000000000000000000000000000000000000008152600401610dd29190614b6c565b60405180910390fd5b6000600d5482610deb9190614ac2565b905060005b81811015610e1757610e0433600d54612d2a565b8080610e0f90614b87565b915050610df0565b505050565b610e24612cac565b82601160000160006101000a81548163ffffffff021916908363ffffffff16021790555081601160000160046101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550806011600001600c6101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055507ffc1ecc6749c0ed1ffc33ac58e7b26230d1a035c9dae817bd6e38cfb24fa8644b601160000160009054906101000a900463ffffffff16601160000160049054906101000a900467ffffffffffffffff166011600001600c9054906101000a900467ffffffffffffffff16604051610f1a9392919061434f565b60405180910390a1505050565b6daaeb6d7670e522a718067333cd4e81565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610f7757610f763361273a565b5b610f82848484612d48565b50505050565b600c5481565b610f96612cac565b80600b60006101000a81548160ff0219169083151502179055507fc55565c1dcceed7a236384f279af4f95930442d66962d8d245a73a1b85e3c9a1600b60009054906101000a900460ff16604051610fee9190613bb7565b60405180910390a150565b600b60009054906101000a900460ff1681565b611014612cac565b818160139182611025929190614d7c565b507fec7aa76ee322bd9ff6b9f70d62a749a4bfadba7751d8b4bb089b22ff0ed09bd260136040516110569190614ed0565b60405180910390a15050565b6060600083839050905060008167ffffffffffffffff8111156110885761108761458b565b5b6040519080825280602002602001820160405280156110c157816020015b6110ae613ab4565b8152602001906001900390816110a65790505b50905060005b828114611119576110f08686838181106110e4576110e3614ef2565b5b90506020020135611f24565b82828151811061110357611102614ef2565b5b60200260200101819052508060010190506110c7565b50809250505092915050565b600061113082612d68565b9050919050565b60118060000160009054906101000a900463ffffffff16908060000160049054906101000a900467ffffffffffffffff169080600001600c9054906101000a900467ffffffffffffffff16905083565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036111ee576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611247612cac565b6112516000612e34565b565b6060600080600061126385611187565b905060008167ffffffffffffffff8111156112815761128061458b565b5b6040519080825280602002602001820160405280156112af5781602001602082028036833780820191505090505b5090506112ba613ab4565b60006112c461297b565b90505b838614611388576112d781612efa565b9150816040015161137d57600073ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff161461132257816000015194505b8773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff160361137c578083878060010198508151811061136f5761136e614ef2565b5b6020026020010181815250505b5b8060010190506112c7565b508195505050505050919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600380546113cf906149f1565b80601f01602080910402602001604051908101604052809291908181526020018280546113fb906149f1565b80156114485780601f1061141d57610100808354040283529160200191611448565b820191906000526020600020905b81548152906001019060200180831161142b57829003601f168201915b5050505050905090565b60008047600f54915091509091565b606081831061149c576040517f32c1995a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000806114a7612f25565b90506114b161297b565b8510156114c3576114c061297b565b94505b808411156114cf578093505b60006114da87611187565b9050848610156114fd5760008686039050818110156114f7578091505b50611502565b600090505b60008167ffffffffffffffff81111561151e5761151d61458b565b5b60405190808252806020026020018201604052801561154c5781602001602082028036833780820191505090505b509050600082036115635780945050505050611666565b600061156e88611f24565b90506000816040015161158357816000015190505b60008990505b8881141580156115995750848714155b15611658576115a781612efa565b9250826040015161164d57600073ffffffffffffffffffffffffffffffffffffffff16836000015173ffffffffffffffffffffffffffffffffffffffff16146115f257826000015191505b8a73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361164c578084888060010199508151811061163f5761163e614ef2565b5b6020026020010181815250505b5b806001019050611589565b508583528296505050505050505b9392505050565b611675612cac565b818160149182611686929190614d7c565b507fa36fff1c6478d9cebacb70685906c5f6340c1ef345712a19ad41a5fe7d2bcbee60146040516116b79190614ed0565b60405180910390a15050565b816116cd8161273a565b6116d78383612f2e565b505050565b60128060000160009054906101000a900463ffffffff16908060000160049054906101000a900467ffffffffffffffff169080600001600c9054906101000a900467ffffffffffffffff16905083565b6060806013601481805461173f906149f1565b80601f016020809104026020016040519081016040528092919081815260200182805461176b906149f1565b80156117b85780601f1061178d576101008083540402835291602001916117b8565b820191906000526020600020905b81548152906001019060200180831161179b57829003601f168201915b505050505091508080546117cb906149f1565b80601f01602080910402602001604051908101604052809291908181526020018280546117f7906149f1565b80156118445780601f1061181957610100808354040283529160200191611844565b820191906000526020600020905b81548152906001019060200180831161182757829003601f168201915b50505050509050915091509091565b61185b612cac565b600073f523a7db51075a10c9f8baffbcfd8b22bfdffd269050600073a518c145f1178508e67d825818af98b5d504027790506000606460014761189e9190614a51565b6118a89190614ac2565b905060006064601e476118bb9190614a51565b6118c59190614ac2565b90508373ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f1935050505015801561190d573d6000803e3d6000fd5b508273ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611954573d6000803e3d6000fd5b5060004790503373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f193505050501580156119a0573d6000803e3d6000fd5b508082846119ae9190614f21565b6119b89190614f21565b600f60008282546119c99190614f21565b925050819055507fd5550c71ca14cc44783a664cd798ecb70dcefed6b3cfdf323041ce6d221f2d72838383604051611a0393929190614f55565b60405180910390a15050505050565b611a1a612cac565b80600c819055507fe20e127115d125ee9e5585a8fb1b88c761a79582a054e18d8997d22c147e9fa7600c54604051611a529190613dbe565b60405180910390a150565b833373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611a9b57611a9a3361273a565b5b611aa785858585613039565b5050505050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611b1f5760016040517f804388c0000000000000000000000000000000000000000000000000000000008152600401611b169190614fc7565b60405180910390fd5b6000601160000160049054906101000a900467ffffffffffffffff1667ffffffffffffffff1690506000601160000160009054906101000a900463ffffffff1663ffffffff16905060006011600001600c9054906101000a900467ffffffffffffffff1690506000801b60105403611bcf5760096040517f804388c0000000000000000000000000000000000000000000000000000000008152600401611bc6919061501d565b60405180910390fd5b611c028460105433604051602001611be79190615080565b604051602081830303815290604052805190602001206130ac565b611c4457600a6040517f804388c0000000000000000000000000000000000000000000000000000000008152600401611c3b91906150d6565b60405180910390fd5b60008303611c8a5760036040517f804388c0000000000000000000000000000000000000000000000000000000008152600401611c81919061512c565b60405180910390fd5b6000821480611c9857508142105b15611cdb5760036040517f804388c0000000000000000000000000000000000000000000000000000000008152600401611cd2919061512c565b60405180910390fd5b600c548567ffffffffffffffff16611cf1610b24565b611cfb9190614f21565b1115611d3f5760046040517f804388c0000000000000000000000000000000000000000000000000000000008152600401611d369190615182565b60405180910390fd5b8067ffffffffffffffff1685611d5b611d566130c3565b6130cb565b611d65919061519d565b67ffffffffffffffff161115611db35760056040517f804388c0000000000000000000000000000000000000000000000000000000008152600401611daa9190615214565b60405180910390fd5b611dce611dbe6130c3565b8667ffffffffffffffff16612d2a565b611df9611dd96130c3565b86611dea611de56130c3565b6130cb565b611df4919061519d565b613118565b611e178567ffffffffffffffff1684611e129190614a51565b6131ce565b611e1f6130c3565b73ffffffffffffffffffffffffffffffffffffffff167f371f0f9c5c7bb591d0f296e39127584eede508133f32e126261d929e7a6d5a2786604051611e649190615260565b60405180910390a25050505050565b600080600080600080601160000160009054906101000a900463ffffffff16601160000160049054906101000a900467ffffffffffffffff166011600001600c9054906101000a900467ffffffffffffffff16601260000160009054906101000a900463ffffffff16601260000160049054906101000a900467ffffffffffffffff166012600001600c9054906101000a900467ffffffffffffffff16955095509550955095509550909192939495565b611f2c613ab4565b611f34613ab4565b611f3c61297b565b831080611f505750611f4c612f25565b8310155b15611f5e5780915050611f89565b611f6783612efa565b9050806040015115611f7c5780915050611f89565b611f8583613272565b9150505b919050565b611f96612cac565b6000601160000160006101000a81548163ffffffff021916908363ffffffff16021790555082601260000160006101000a81548163ffffffff021916908363ffffffff16021790555081601260000160046101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550806012600001600c6101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055507f28c10a27f02a9ef2610984cf2908beac19c3ad1fe5a2e3bed3f7245a4b051b8f601260000160009054906101000a900463ffffffff16601260000160049054906101000a900467ffffffffffffffff166012600001600c9054906101000a900467ffffffffffffffff166040516120b19392919061434f565b60405180910390a1505050565b6060600b60009054906101000a900460ff16156120e5576120de82613292565b90506121bd565b6120ed610b24565b82111561212f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612126906152c7565b60405180910390fd5b6014805461213c906149f1565b80601f0160208091040260200160405190810160405280929190818152602001828054612168906149f1565b80156121b55780601f1061218a576101008083540402835291602001916121b5565b820191906000526020600020905b81548152906001019060200180831161219857829003601f168201915b505050505090505b919050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16146122335760016040517f804388c000000000000000000000000000000000000000000000000000000000815260040161222a9190614fc7565b60405180910390fd5b6000601260000160049054906101000a900467ffffffffffffffff1667ffffffffffffffff1690506000601260000160009054906101000a900463ffffffff1663ffffffff16905060006012600001600c9054906101000a900467ffffffffffffffff169050600083036122df5760076040517f804388c00000000000000000000000000000000000000000000000000000000081526004016122d69190615322565b60405180910390fd5b60008214806122ed57508142105b156123305760076040517f804388c00000000000000000000000000000000000000000000000000000000081526004016123279190615322565b60405180910390fd5b600c548467ffffffffffffffff16612346610b24565b6123509190614f21565b11156123945760046040517f804388c000000000000000000000000000000000000000000000000000000000815260040161238b9190615182565b60405180910390fd5b8067ffffffffffffffff168467ffffffffffffffff166123ba6123b56130c3565b6130cb565b67ffffffffffffffff166123d46123cf6130c3565b613330565b6123de919061533d565b6123e89190614f21565b111561242c5760086040517f804388c000000000000000000000000000000000000000000000000000000000815260040161242391906153ac565b60405180910390fd5b612440338567ffffffffffffffff16612d2a565b61245e8467ffffffffffffffff16846124599190614a51565b6131ce565b3373ffffffffffffffffffffffffffffffffffffffff167f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885856040516124a49190615260565b60405180910390a250505050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61254e612cac565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036125bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125b490615439565b60405180910390fd5b6125c681612e34565b50565b600e5481565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061262a57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061265a5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806126d457506126d382613387565b5b9050919050565b6000816126e661297b565b111580156126f5575060005482105b8015612733575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115612834576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b81526004016127b1929190615459565b602060405180830381865afa1580156127ce573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127f29190615497565b61283357806040517fede71dcc00000000000000000000000000000000000000000000000000000000815260040161282a9190613d28565b60405180910390fd5b5b50565b600061284282611125565b90508073ffffffffffffffffffffffffffffffffffffffff166128636133f1565b73ffffffffffffffffffffffffffffffffffffffff16146128c65761288f8161288a6133f1565b6124b2565b6128c5576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600090565b600061298b82612d68565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146129f2576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000806129fe846133f9565b91509150612a148187612a0f6133f1565b613420565b612a6057612a2986612a246133f1565b6124b2565b612a5f576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603612ac6576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612ad38686866001613464565b8015612ade57600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550612bac85612b8888888761346a565b7c020000000000000000000000000000000000000000000000000000000017613492565b600460008681526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000841603612c325760006001850190506000600460008381526020019081526020016000205403612c30576000548114612c2f578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612c9a86868660016134bd565b505050505050565b6000612710905090565b612cb46130c3565b73ffffffffffffffffffffffffffffffffffffffff16612cd2611396565b73ffffffffffffffffffffffffffffffffffffffff1614612d28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d1f90615510565b60405180910390fd5b565b612d448282604051806020016040528060008152506134c3565b5050565b612d6383838360405180602001604052806000815250611a5d565b505050565b60008082905080612d7761297b565b11612dfd57600054811015612dfc5760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821603612dfa575b60008103612df0576004600083600190039350838152602001908152602001600020549050612dc6565b8092505050612e2f565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612f02613ab4565b612f1e6004600084815260200190815260200160002054613560565b9050919050565b60008054905090565b8060076000612f3b6133f1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16612fe86133f1565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161302d9190613bb7565b60405180910390a35050565b613044848484610b3b565b60008373ffffffffffffffffffffffffffffffffffffffff163b146130a65761306f84848484613616565b6130a5576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b6000826130b98584613766565b1490509392505050565b600033905090565b600060c0600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054901c9050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050600082905060c081901b77ffffffffffffffffffffffffffffffffffffffffffffffff831617915081600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050505050565b803410156132145760026040517f804388c000000000000000000000000000000000000000000000000000000000815260040161320b919061556b565b60405180910390fd5b8034111561326f573373ffffffffffffffffffffffffffffffffffffffff166108fc8234613242919061533d565b9081150290604051600060405180830381858888f1935050505015801561326d573d6000803e3d6000fd5b505b50565b61327a613ab4565b61328b61328683612d68565b613560565b9050919050565b606061329d826126db565b6132d3576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006132dd6137bc565b905060008151036132fd5760405180602001604052806000815250613328565b806133078461384e565b6040516020016133189291906155c2565b6040516020818303038152906040525b915050919050565b600067ffffffffffffffff6040600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054901c169050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e861348186868461389e565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6134cd83836138a7565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461355b57600080549050600083820390505b61350d6000868380600101945086613616565b613543576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8181106134fa57816000541461355857600080fd5b50505b505050565b613568613ab4565b81816000019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505060a082901c816020019067ffffffffffffffff16908167ffffffffffffffff168152505060007c01000000000000000000000000000000000000000000000000000000008316141581604001901515908115158152505060e882901c816060019062ffffff16908162ffffff1681525050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261363c6133f1565b8786866040518563ffffffff1660e01b815260040161365e949392919061563b565b6020604051808303816000875af192505050801561369a57506040513d601f19601f82011682018060405250810190613697919061569c565b60015b613713573d80600081146136ca576040519150601f19603f3d011682016040523d82523d6000602084013e6136cf565b606091505b50600081510361370b576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60008082905060005b84518110156137b15761379c8286838151811061378f5761378e614ef2565b5b6020026020010151613a62565b915080806137a990614b87565b91505061376f565b508091505092915050565b6060601380546137cb906149f1565b80601f01602080910402602001604051908101604052809291908181526020018280546137f7906149f1565b80156138445780601f1061381957610100808354040283529160200191613844565b820191906000526020600020905b81548152906001019060200180831161382757829003601f168201915b5050505050905090565b606060a060405101806040526020810391506000825281835b60011561388957600184039350600a81066030018453600a8104905080613867575b50828103602084039350808452505050919050565b60009392505050565b600080549050600082036138e7576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6138f46000848385613464565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555061396b8361395c600086600061346a565b61396585613a8d565b17613492565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b818114613a0c57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46001810190506139d1565b5060008203613a47576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806000819055505050613a5d60008483856134bd565b505050565b6000818310613a7a57613a758284613a9d565b613a85565b613a848383613a9d565b5b905092915050565b60006001821460e11b9050919050565b600082600052816020526040600020905092915050565b6040518060800160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff168152602001600015158152602001600062ffffff1681525090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613b4c81613b17565b8114613b5757600080fd5b50565b600081359050613b6981613b43565b92915050565b600060208284031215613b8557613b84613b0d565b5b6000613b9384828501613b5a565b91505092915050565b60008115159050919050565b613bb181613b9c565b82525050565b6000602082019050613bcc6000830184613ba8565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613c0c578082015181840152602081019050613bf1565b60008484015250505050565b6000601f19601f8301169050919050565b6000613c3482613bd2565b613c3e8185613bdd565b9350613c4e818560208601613bee565b613c5781613c18565b840191505092915050565b60006020820190508181036000830152613c7c8184613c29565b905092915050565b6000819050919050565b613c9781613c84565b8114613ca257600080fd5b50565b600081359050613cb481613c8e565b92915050565b600060208284031215613cd057613ccf613b0d565b5b6000613cde84828501613ca5565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613d1282613ce7565b9050919050565b613d2281613d07565b82525050565b6000602082019050613d3d6000830184613d19565b92915050565b613d4c81613d07565b8114613d5757600080fd5b50565b600081359050613d6981613d43565b92915050565b60008060408385031215613d8657613d85613b0d565b5b6000613d9485828601613d5a565b9250506020613da585828601613ca5565b9150509250929050565b613db881613c84565b82525050565b6000602082019050613dd36000830184613daf565b92915050565b600080600060608486031215613df257613df1613b0d565b5b6000613e0086828701613d5a565b9350506020613e1186828701613d5a565b9250506040613e2286828701613ca5565b9150509250925092565b60008060408385031215613e4357613e42613b0d565b5b6000613e5185828601613ca5565b9250506020613e6285828601613ca5565b9150509250929050565b6000604082019050613e816000830185613d19565b613e8e6020830184613daf565b9392505050565b6000819050919050565b613ea881613e95565b82525050565b6000602082019050613ec36000830184613e9f565b92915050565b600063ffffffff82169050919050565b613ee281613ec9565b8114613eed57600080fd5b50565b600081359050613eff81613ed9565b92915050565b600067ffffffffffffffff82169050919050565b613f2281613f05565b8114613f2d57600080fd5b50565b600081359050613f3f81613f19565b92915050565b600080600060608486031215613f5e57613f5d613b0d565b5b6000613f6c86828701613ef0565b9350506020613f7d86828701613f30565b9250506040613f8e86828701613f30565b9150509250925092565b6000819050919050565b6000613fbd613fb8613fb384613ce7565b613f98565b613ce7565b9050919050565b6000613fcf82613fa2565b9050919050565b6000613fe182613fc4565b9050919050565b613ff181613fd6565b82525050565b600060208201905061400c6000830184613fe8565b92915050565b61401b81613b9c565b811461402657600080fd5b50565b60008135905061403881614012565b92915050565b60006020828403121561405457614053613b0d565b5b600061406284828501614029565b91505092915050565b600080fd5b600080fd5b600080fd5b60008083601f8401126140905761408f61406b565b5b8235905067ffffffffffffffff8111156140ad576140ac614070565b5b6020830191508360018202830111156140c9576140c8614075565b5b9250929050565b600080602083850312156140e7576140e6613b0d565b5b600083013567ffffffffffffffff81111561410557614104613b12565b5b6141118582860161407a565b92509250509250929050565b60008083601f8401126141335761413261406b565b5b8235905067ffffffffffffffff8111156141505761414f614070565b5b60208301915083602082028301111561416c5761416b614075565b5b9250929050565b6000806020838503121561418a57614189613b0d565b5b600083013567ffffffffffffffff8111156141a8576141a7613b12565b5b6141b48582860161411d565b92509250509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6141f581613d07565b82525050565b61420481613f05565b82525050565b61421381613b9c565b82525050565b600062ffffff82169050919050565b61423181614219565b82525050565b60808201600082015161424d60008501826141ec565b50602082015161426060208501826141fb565b506040820151614273604085018261420a565b5060608201516142866060850182614228565b50505050565b60006142988383614237565b60808301905092915050565b6000602082019050919050565b60006142bc826141c0565b6142c681856141cb565b93506142d1836141dc565b8060005b838110156143025781516142e9888261428c565b97506142f4836142a4565b9250506001810190506142d5565b5085935050505092915050565b6000602082019050818103600083015261432981846142b1565b905092915050565b61433a81613ec9565b82525050565b61434981613f05565b82525050565b60006060820190506143646000830186614331565b6143716020830185614340565b61437e6040830184614340565b949350505050565b60006020828403121561439c5761439b613b0d565b5b60006143aa84828501613d5a565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6143e881613c84565b82525050565b60006143fa83836143df565b60208301905092915050565b6000602082019050919050565b600061441e826143b3565b61442881856143be565b9350614433836143cf565b8060005b8381101561446457815161444b88826143ee565b975061445683614406565b925050600181019050614437565b5085935050505092915050565b6000602082019050818103600083015261448b8184614413565b905092915050565b60006040820190506144a86000830185613daf565b6144b56020830184613daf565b9392505050565b6000806000606084860312156144d5576144d4613b0d565b5b60006144e386828701613d5a565b93505060206144f486828701613ca5565b925050604061450586828701613ca5565b9150509250925092565b6000806040838503121561452657614525613b0d565b5b600061453485828601613d5a565b925050602061454585828601614029565b9150509250929050565b600060408201905081810360008301526145698185613c29565b9050818103602083015261457d8184613c29565b90509392505050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6145c382613c18565b810181811067ffffffffffffffff821117156145e2576145e161458b565b5b80604052505050565b60006145f5613b03565b905061460182826145ba565b919050565b600067ffffffffffffffff8211156146215761462061458b565b5b61462a82613c18565b9050602081019050919050565b82818337600083830152505050565b600061465961465484614606565b6145eb565b90508281526020810184848401111561467557614674614586565b5b614680848285614637565b509392505050565b600082601f83011261469d5761469c61406b565b5b81356146ad848260208601614646565b91505092915050565b600080600080608085870312156146d0576146cf613b0d565b5b60006146de87828801613d5a565b94505060206146ef87828801613d5a565b935050604061470087828801613ca5565b925050606085013567ffffffffffffffff81111561472157614720613b12565b5b61472d87828801614688565b91505092959194509250565b600067ffffffffffffffff8211156147545761475361458b565b5b602082029050602081019050919050565b61476e81613e95565b811461477957600080fd5b50565b60008135905061478b81614765565b92915050565b60006147a461479f84614739565b6145eb565b905080838252602082019050602084028301858111156147c7576147c6614075565b5b835b818110156147f057806147dc888261477c565b8452602084019350506020810190506147c9565b5050509392505050565b600082601f83011261480f5761480e61406b565b5b813561481f848260208601614791565b91505092915050565b6000806040838503121561483f5761483e613b0d565b5b600061484d85828601613f30565b925050602083013567ffffffffffffffff81111561486e5761486d613b12565b5b61487a858286016147fa565b9150509250929050565b600060c0820190506148996000830189614331565b6148a66020830188614340565b6148b36040830187614340565b6148c06060830186614331565b6148cd6080830185614340565b6148da60a0830184614340565b979650505050505050565b6080820160008201516148fb60008501826141ec565b50602082015161490e60208501826141fb565b506040820151614921604085018261420a565b5060608201516149346060850182614228565b50505050565b600060808201905061494f60008301846148e5565b92915050565b60006020828403121561496b5761496a613b0d565b5b600061497984828501613f30565b91505092915050565b6000806040838503121561499957614998613b0d565b5b60006149a785828601613d5a565b92505060206149b885828601613d5a565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680614a0957607f821691505b602082108103614a1c57614a1b6149c2565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614a5c82613c84565b9150614a6783613c84565b9250828202614a7581613c84565b91508282048414831517614a8c57614a8b614a22565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614acd82613c84565b9150614ad883613c84565b925082614ae857614ae7614a93565b5b828204905092915050565b6000614afe82613c84565b9150614b0983613c84565b925082614b1957614b18614a93565b5b828206905092915050565b6000819050919050565b600060ff82169050919050565b6000614b56614b51614b4c84614b24565b613f98565b614b2e565b9050919050565b614b6681614b3b565b82525050565b6000602082019050614b816000830184614b5d565b92915050565b6000614b9282613c84565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203614bc457614bc3614a22565b5b600182019050919050565b600082905092915050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302614c3c7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82614bff565b614c468683614bff565b95508019841693508086168417925050509392505050565b6000614c79614c74614c6f84613c84565b613f98565b613c84565b9050919050565b6000819050919050565b614c9383614c5e565b614ca7614c9f82614c80565b848454614c0c565b825550505050565b600090565b614cbc614caf565b614cc7818484614c8a565b505050565b5b81811015614ceb57614ce0600082614cb4565b600181019050614ccd565b5050565b601f821115614d3057614d0181614bda565b614d0a84614bef565b81016020851015614d19578190505b614d2d614d2585614bef565b830182614ccc565b50505b505050565b600082821c905092915050565b6000614d5360001984600802614d35565b1980831691505092915050565b6000614d6c8383614d42565b9150826002028217905092915050565b614d868383614bcf565b67ffffffffffffffff811115614d9f57614d9e61458b565b5b614da982546149f1565b614db4828285614cef565b6000601f831160018114614de35760008415614dd1578287013590505b614ddb8582614d60565b865550614e43565b601f198416614df186614bda565b60005b82811015614e1957848901358255600182019150602085019450602081019050614df4565b86831015614e365784890135614e32601f891682614d42565b8355505b6001600288020188555050505b50505050505050565b60008154614e59816149f1565b614e638186613bdd565b94506001821660008114614e7e5760018114614e9457614ec7565b60ff198316865281151560200286019350614ec7565b614e9d85614bda565b60005b83811015614ebf57815481890152600182019150602081019050614ea0565b808801955050505b50505092915050565b60006020820190508181036000830152614eea8184614e4c565b905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000614f2c82613c84565b9150614f3783613c84565b9250828201905080821115614f4f57614f4e614a22565b5b92915050565b6000606082019050614f6a6000830186613daf565b614f776020830185613daf565b614f846040830184613daf565b949350505050565b6000819050919050565b6000614fb1614fac614fa784614f8c565b613f98565b614b2e565b9050919050565b614fc181614f96565b82525050565b6000602082019050614fdc6000830184614fb8565b92915050565b6000819050919050565b6000615007615002614ffd84614fe2565b613f98565b614b2e565b9050919050565b61501781614fec565b82525050565b6000602082019050615032600083018461500e565b92915050565b60008160601b9050919050565b600061505082615038565b9050919050565b600061506282615045565b9050919050565b61507a61507582613d07565b615057565b82525050565b600061508c8284615069565b60148201915081905092915050565b6000819050919050565b60006150c06150bb6150b68461509b565b613f98565b614b2e565b9050919050565b6150d0816150a5565b82525050565b60006020820190506150eb60008301846150c7565b92915050565b6000819050919050565b600061511661511161510c846150f1565b613f98565b614b2e565b9050919050565b615126816150fb565b82525050565b6000602082019050615141600083018461511d565b92915050565b6000819050919050565b600061516c61516761516284615147565b613f98565b614b2e565b9050919050565b61517c81615151565b82525050565b60006020820190506151976000830184615173565b92915050565b60006151a882613f05565b91506151b383613f05565b9250828201905067ffffffffffffffff8111156151d3576151d2614a22565b5b92915050565b6000819050919050565b60006151fe6151f96151f4846151d9565b613f98565b614b2e565b9050919050565b61520e816151e3565b82525050565b60006020820190506152296000830184615205565b92915050565b600061524a61524561524084613f05565b613f98565b613c84565b9050919050565b61525a8161522f565b82525050565b60006020820190506152756000830184615251565b92915050565b7f746f6b656e206e6f742065786973740000000000000000000000000000000000600082015250565b60006152b1600f83613bdd565b91506152bc8261527b565b602082019050919050565b600060208201905081810360008301526152e0816152a4565b9050919050565b6000819050919050565b600061530c615307615302846152e7565b613f98565b614b2e565b9050919050565b61531c816152f1565b82525050565b60006020820190506153376000830184615313565b92915050565b600061534882613c84565b915061535383613c84565b925082820390508181111561536b5761536a614a22565b5b92915050565b6000819050919050565b600061539661539161538c84615371565b613f98565b614b2e565b9050919050565b6153a68161537b565b82525050565b60006020820190506153c1600083018461539d565b92915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000615423602683613bdd565b915061542e826153c7565b604082019050919050565b6000602082019050818103600083015261545281615416565b9050919050565b600060408201905061546e6000830185613d19565b61547b6020830184613d19565b9392505050565b60008151905061549181614012565b92915050565b6000602082840312156154ad576154ac613b0d565b5b60006154bb84828501615482565b91505092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006154fa602083613bdd565b9150615505826154c4565b602082019050919050565b60006020820190508181036000830152615529816154ed565b9050919050565b6000819050919050565b600061555561555061554b84615530565b613f98565b614b2e565b9050919050565b6155658161553a565b82525050565b6000602082019050615580600083018461555c565b92915050565b600081905092915050565b600061559c82613bd2565b6155a68185615586565b93506155b6818560208601613bee565b80840191505092915050565b60006155ce8285615591565b91506155da8284615591565b91508190509392505050565b600081519050919050565b600082825260208201905092915050565b600061560d826155e6565b61561781856155f1565b9350615627818560208601613bee565b61563081613c18565b840191505092915050565b60006080820190506156506000830187613d19565b61565d6020830186613d19565b61566a6040830185613daf565b818103606083015261567c8184615602565b905095945050505050565b60008151905061569681613b43565b92915050565b6000602082840312156156b2576156b1613b0d565b5b60006156c084828501615687565b9150509291505056fea26469706673582212205cb072f1eeb2f7cff346316282ae514ac651e5e2590e95cd1498ee9a50a2534864736f6c63430008110033

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

00000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000003200000000000000000000000000000000000000000000000000000000000000323feaaebb1a95e9bc918760667ff2c131d1bc2b761574808a79f207575a1b7527

-----Decoded View---------------
Arg [0] : collectionSize_ (uint256): 1000
Arg [1] : maxBatchSize_ (uint256): 50
Arg [2] : amountForDevs_ (uint256): 50
Arg [3] : merkleRoot_ (bytes32): 0x3feaaebb1a95e9bc918760667ff2c131d1bc2b761574808a79f207575a1b7527

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000003e8
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000032
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000032
Arg [3] : 3feaaebb1a95e9bc918760667ff2c131d1bc2b761574808a79f207575a1b7527


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.