ETH Price: $3,304.15 (-3.14%)
Gas: 12 Gwei

Token

Candy Collective: Candy Pills (CANDYPILL)
 

Overview

Max Total Supply

5,052 CANDYPILL

Holders

761

Market

Volume (24H)

0.0841 ETH

Min Price (24H)

$54.85 @ 0.016600 ETH

Max Price (24H)

$56.50 @ 0.017100 ETH
Balance
1 CANDYPILL
0xaae1478ee9f89f07c789e7d2c3647e606cfb0386
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:
CandyCollectivePills

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 18 : 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 2 of 18 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.2) (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/Strings.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension, but not including the Enumerable extension, which is available separately as
 * {ERC721Enumerable}.
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to owner address
    mapping(uint256 => address) private _owners;

    // Mapping owner address to token count
    mapping(address => uint256) private _balances;

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

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

    /**
     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        require(owner != address(0), "ERC721: address zero is not a valid owner");
        return _balances[owner];
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _ownerOf(tokenId);
        require(owner != address(0), "ERC721: invalid token ID");
        return owner;
    }

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

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

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

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

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

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

        require(
            _msgSender() == owner || isApprovedForAll(owner, _msgSender()),
            "ERC721: approve caller is not token owner or approved for all"
        );

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        _requireMinted(tokenId);

        return _tokenApprovals[tokenId];
    }

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

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

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner or approved");

        _transfer(from, to, tokenId);
    }

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

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory data
    ) public virtual override {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner or approved");
        _safeTransfer(from, to, tokenId, data);
    }

    /**
     * @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.
     *
     * `data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(
        address from,
        address to,
        uint256 tokenId,
        bytes memory data
    ) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer");
    }

    /**
     * @dev Returns the owner of the `tokenId`. Does NOT revert if token doesn't exist
     */
    function _ownerOf(uint256 tokenId) internal view virtual returns (address) {
        return _owners[tokenId];
    }

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted (`_mint`),
     * and stop existing when they are burned (`_burn`).
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return _ownerOf(tokenId) != address(0);
    }

    /**
     * @dev Returns whether `spender` is allowed to manage `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender);
    }

    /**
     * @dev Safely mints `tokenId` and transfers it to `to`.
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(address to, uint256 tokenId) internal virtual {
        _safeMint(to, tokenId, "");
    }

    /**
     * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
     */
    function _safeMint(
        address to,
        uint256 tokenId,
        bytes memory data
    ) internal virtual {
        _mint(to, tokenId);
        require(
            _checkOnERC721Received(address(0), to, tokenId, data),
            "ERC721: transfer to non ERC721Receiver implementer"
        );
    }

    /**
     * @dev Mints `tokenId` and transfers it to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - `to` cannot be the zero address.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 tokenId) internal virtual {
        require(to != address(0), "ERC721: mint to the zero address");
        require(!_exists(tokenId), "ERC721: token already minted");

        _beforeTokenTransfer(address(0), to, tokenId, 1);

        // Check that tokenId was not minted by `_beforeTokenTransfer` hook
        require(!_exists(tokenId), "ERC721: token already minted");

        unchecked {
            // Will not overflow unless all 2**256 token ids are minted to the same owner.
            // Given that tokens are minted one by one, it is impossible in practice that
            // this ever happens. Might change if we allow batch minting.
            // The ERC fails to describe this case.
            _balances[to] += 1;
        }

        _owners[tokenId] = to;

        emit Transfer(address(0), to, tokenId);

        _afterTokenTransfer(address(0), to, tokenId, 1);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     * This is an internal function that does not check if the sender is authorized to operate on the token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual {
        address owner = ERC721.ownerOf(tokenId);

        _beforeTokenTransfer(owner, address(0), tokenId, 1);

        // Update ownership in case tokenId was transferred by `_beforeTokenTransfer` hook
        owner = ERC721.ownerOf(tokenId);

        // Clear approvals
        delete _tokenApprovals[tokenId];

        unchecked {
            // Cannot overflow, as that would require more tokens to be burned/transferred
            // out than the owner initially received through minting and transferring in.
            _balances[owner] -= 1;
        }
        delete _owners[tokenId];

        emit Transfer(owner, address(0), tokenId);

        _afterTokenTransfer(owner, address(0), tokenId, 1);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId, 1);

        // Check that tokenId was not transferred by `_beforeTokenTransfer` hook
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner");

        // Clear approvals from the previous owner
        delete _tokenApprovals[tokenId];

        unchecked {
            // `_balances[from]` cannot overflow for the same reason as described in `_burn`:
            // `from`'s balance is the number of token held, which is at least one before the current
            // transfer.
            // `_balances[to]` could overflow in the conditions described in `_mint`. That would require
            // all 2**256 token ids to be minted, which in practice is impossible.
            _balances[from] -= 1;
            _balances[to] += 1;
        }
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId, 1);
    }

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits an {Approval} event.
     */
    function _approve(address to, uint256 tokenId) internal virtual {
        _tokenApprovals[tokenId] = to;
        emit Approval(ERC721.ownerOf(tokenId), to, tokenId);
    }

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits an {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC721: approve to caller");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @dev Reverts if the `tokenId` has not been minted yet.
     */
    function _requireMinted(uint256 tokenId) internal view virtual {
        require(_exists(tokenId), "ERC721: invalid token ID");
    }

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * The call is not executed if the target address is not a contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory data
    ) private returns (bool) {
        if (to.isContract()) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) {
                return retval == IERC721Receiver.onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    /// @solidity memory-safe-assembly
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting and burning. If {ERC721Consecutive} is
     * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s tokens will be transferred to `to`.
     * - When `from` is zero, the tokens will be minted for `to`.
     * - When `to` is zero, ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     * - `batchSize` is non-zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 firstTokenId,
        uint256 batchSize
    ) internal virtual {}

    /**
     * @dev Hook that is called after any token transfer. This includes minting and burning. If {ERC721Consecutive} is
     * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s tokens were transferred to `to`.
     * - When `from` is zero, the tokens were minted for `to`.
     * - When `to` is zero, ``from``'s tokens were burned.
     * - `from` and `to` are never both zero.
     * - `batchSize` is non-zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 firstTokenId,
        uint256 batchSize
    ) internal virtual {}

    /**
     * @dev Unsafe write access to the balances, used by extensions that "mint" tokens using an {ownerOf} override.
     *
     * WARNING: Anyone calling this MUST ensure that the balances remain consistent with the ownership. The invariant
     * being that for any address `a` the value returned by `balanceOf(a)` must be equal to the number of tokens such
     * that `ownerOf(tokenId)` is `a`.
     */
    // solhint-disable-next-line func-name-mixedcase
    function __unsafe_increaseBalance(address account, uint256 amount) internal {
        _balances[account] += amount;
    }
}

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721
     * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must
     * understand this adds an external call which potentially creates a reentrancy vulnerability.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

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

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
     *
     * _Available since v4.8._
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        if (success) {
            if (returndata.length == 0) {
                // only check isContract if the call was successful and the return data is empty
                // otherwise we already know that it was a contract
                require(isContract(target), "Address: call to non-contract");
            }
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason or using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    function _revert(bytes memory returndata, string memory errorMessage) private pure {
        // Look for revert reason and bubble it up if present
        if (returndata.length > 0) {
            // The easiest way to bubble the revert reason is using memory via assembly
            /// @solidity memory-safe-assembly
            assembly {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert(errorMessage);
        }
    }
}

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(Counter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }

    function reset(Counter storage counter) internal {
        counter._value = 0;
    }
}

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

File 12 of 18 : Math.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol)

pragma solidity ^0.8.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    enum Rounding {
        Down, // Toward negative infinity
        Up, // Toward infinity
        Zero // Toward zero
    }

    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow.
        return (a & b) + (a ^ b) / 2;
    }

    /**
     * @dev Returns the ceiling of the division of two numbers.
     *
     * This differs from standard division with `/` in that it rounds up instead
     * of rounding down.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b - 1) / b can overflow on addition, so we distribute.
        return a == 0 ? 0 : (a - 1) / b + 1;
    }

    /**
     * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0
     * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv)
     * with further edits by Uniswap Labs also under MIT license.
     */
    function mulDiv(
        uint256 x,
        uint256 y,
        uint256 denominator
    ) internal pure returns (uint256 result) {
        unchecked {
            // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use
            // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256
            // variables such that product = prod1 * 2^256 + prod0.
            uint256 prod0; // Least significant 256 bits of the product
            uint256 prod1; // Most significant 256 bits of the product
            assembly {
                let mm := mulmod(x, y, not(0))
                prod0 := mul(x, y)
                prod1 := sub(sub(mm, prod0), lt(mm, prod0))
            }

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            require(denominator > prod1);

            ///////////////////////////////////////////////
            // 512 by 256 division.
            ///////////////////////////////////////////////

            // Make division exact by subtracting the remainder from [prod1 prod0].
            uint256 remainder;
            assembly {
                // Compute remainder using mulmod.
                remainder := mulmod(x, y, denominator)

                // Subtract 256 bit number from 512 bit number.
                prod1 := sub(prod1, gt(remainder, prod0))
                prod0 := sub(prod0, remainder)
            }

            // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1.
            // See https://cs.stackexchange.com/q/138556/92363.

            // Does not overflow because the denominator cannot be zero at this stage in the function.
            uint256 twos = denominator & (~denominator + 1);
            assembly {
                // Divide denominator by twos.
                denominator := div(denominator, twos)

                // Divide [prod1 prod0] by twos.
                prod0 := div(prod0, twos)

                // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.
                twos := add(div(sub(0, twos), twos), 1)
            }

            // Shift in bits from prod1 into prod0.
            prod0 |= prod1 * twos;

            // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such
            // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for
            // four bits. That is, denominator * inv = 1 mod 2^4.
            uint256 inverse = (3 * denominator) ^ 2;

            // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works
            // in modular arithmetic, doubling the correct bits in each step.
            inverse *= 2 - denominator * inverse; // inverse mod 2^8
            inverse *= 2 - denominator * inverse; // inverse mod 2^16
            inverse *= 2 - denominator * inverse; // inverse mod 2^32
            inverse *= 2 - denominator * inverse; // inverse mod 2^64
            inverse *= 2 - denominator * inverse; // inverse mod 2^128
            inverse *= 2 - denominator * inverse; // inverse mod 2^256

            // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.
            // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is
            // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1
            // is no longer required.
            result = prod0 * inverse;
            return result;
        }
    }

    /**
     * @notice Calculates x * y / denominator with full precision, following the selected rounding direction.
     */
    function mulDiv(
        uint256 x,
        uint256 y,
        uint256 denominator,
        Rounding rounding
    ) internal pure returns (uint256) {
        uint256 result = mulDiv(x, y, denominator);
        if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) {
            result += 1;
        }
        return result;
    }

    /**
     * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down.
     *
     * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11).
     */
    function sqrt(uint256 a) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }

        // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.
        //
        // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have
        // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.
        //
        // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`
        // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`
        // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`
        //
        // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.
        uint256 result = 1 << (log2(a) >> 1);

        // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,
        // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at
        // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision
        // into the expected uint128 result.
        unchecked {
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            return min(result, a / result);
        }
    }

    /**
     * @notice Calculates sqrt(a), following the selected rounding direction.
     */
    function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = sqrt(a);
            return result + (rounding == Rounding.Up && result * result < a ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 2, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 128;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 64;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 32;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 16;
            }
            if (value >> 8 > 0) {
                value >>= 8;
                result += 8;
            }
            if (value >> 4 > 0) {
                value >>= 4;
                result += 4;
            }
            if (value >> 2 > 0) {
                value >>= 2;
                result += 2;
            }
            if (value >> 1 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 2, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log2(value);
            return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 10, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >= 10**64) {
                value /= 10**64;
                result += 64;
            }
            if (value >= 10**32) {
                value /= 10**32;
                result += 32;
            }
            if (value >= 10**16) {
                value /= 10**16;
                result += 16;
            }
            if (value >= 10**8) {
                value /= 10**8;
                result += 8;
            }
            if (value >= 10**4) {
                value /= 10**4;
                result += 4;
            }
            if (value >= 10**2) {
                value /= 10**2;
                result += 2;
            }
            if (value >= 10**1) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log10(value);
            return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 256, rounded down, of a positive value.
     * Returns 0 if given 0.
     *
     * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.
     */
    function log256(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 16;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 8;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 4;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 2;
            }
            if (value >> 8 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log256(value);
            return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0);
        }
    }
}

File 13 of 18 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

import "./math/Math.sol";

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

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        unchecked {
            uint256 length = Math.log10(value) + 1;
            string memory buffer = new string(length);
            uint256 ptr;
            /// @solidity memory-safe-assembly
            assembly {
                ptr := add(buffer, add(32, length))
            }
            while (true) {
                ptr--;
                /// @solidity memory-safe-assembly
                assembly {
                    mstore8(ptr, byte(mod(value, 10), _SYMBOLS))
                }
                value /= 10;
                if (value == 0) break;
            }
            return buffer;
        }
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        unchecked {
            return toHexString(value, Math.log256(value) + 1);
        }
    }

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

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

File 14 of 18 : ccpills.sol
// SPDX-License-Identifier: UNLICENSED

pragma solidity ^0.8.17;

import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import {DefaultOperatorFilterer} from "operator-filter-registry/src/DefaultOperatorFilterer.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";

contract CandyCollectivePills is ERC721, Ownable, DefaultOperatorFilterer {
    mapping(address => uint256) public amountMintedWL;
    mapping(address => uint256) public amountMinted;
    mapping(uint256 => uint256) private _tokenVersions;

    uint256 public _price;
    string public BASE_URI;
    string public _name;
    string public _symbol;
    uint[] public _times;
    bytes32[] _roots;
    uint256[] _maxPerWalletWL;
    uint256 _maxPerWallet;
    address public _fundsRecipient;
    event Minted(address sender, uint256 tokenId);
    bool private _mintingClosed = false;

    using Counters for Counters.Counter;
    Counters.Counter private _tokenIdCounter;

    constructor (
        uint256 price_,
        bytes32[] memory roots_, 
        uint256[] memory maxPerWalletWL_,
        uint256 maxPerWallet_,
        string memory baseUri,
        string memory name_,
        string memory symbol_,
        uint[] memory times_,
        address payable fundsRecipient_
    ) ERC721(name_, symbol_) {
        _price = price_;
        BASE_URI = baseUri;
        _name = name_;
        _symbol = symbol_;
        _times = times_;
        _roots = roots_;
        _maxPerWalletWL = maxPerWalletWL_;
        _maxPerWallet = maxPerWallet_;
        _fundsRecipient = fundsRecipient_;
        _tokenIdCounter.increment();
    }
    
    function mint(address to, uint256 version, uint256 quantity) public payable {
        require(msg.value >= _price * quantity, "Not enough ether sent.");
        require(block.timestamp >= _times[0] && block.timestamp <= _times[1], "Minting not allowed outside of start and end time");
        require(!_mintingClosed, "Minting has been closed forever.");
        require(version >= 1 && version <= 9, "Version should be between 1 and 9");
        require(amountMinted[msg.sender]+quantity <= _maxPerWallet, "You have already minted the maximum number of tokens");

        for (uint i = 0; i < quantity; i++) {
            uint256 tokenId = _tokenIdCounter.current();
            _mint(to, tokenId);
            _setTokenVersion(tokenId, version);
            _tokenIdCounter.increment();
            uint256 currentMinted = amountMinted[msg.sender];
            currentMinted += 1;
            amountMinted[msg.sender] = currentMinted;
        }
    }


    function mintWL(address to, uint256 version, bytes32[] calldata _merkleProof, uint256 tier, uint256 quantity) public payable {
        require(block.timestamp >= _times[0] && block.timestamp <= _times[1], "Minting not allowed outside of start and end time");
        require(amountMintedWL[msg.sender]+quantity <= _maxPerWalletWL[tier], "You have already minted the maximum number of tokens");
        bytes32 leaf = keccak256(abi.encodePacked(msg.sender));
        require(MerkleProof.verify(_merkleProof, _roots[tier], leaf),"Invalid Merkle Proof.");
        require(!_mintingClosed, "Minting has been closed forever.");
        require(version >= 1 && version <= 9, "Version should be between 1 and 9");

        for (uint i = 0; i < quantity; i++) {
            uint256 tokenId = _tokenIdCounter.current();
            _mint(to, tokenId);
            _setTokenVersion(tokenId, version);
            _tokenIdCounter.increment();
            uint256 currentMinted = amountMintedWL[msg.sender];
            currentMinted += 1;
            amountMintedWL[msg.sender] = currentMinted;
        }     
    }

    function name() public view virtual override returns (string memory) {
        return _name;
    }

    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    function contractURI()
        public
        view
        virtual
        returns (string memory)
    {
        return string.concat(BASE_URI,"metadata.json");
    }

    function getAmountMintedWL(address account) public view returns (uint256) {
        return amountMintedWL[account];
    }

    function getMaxPerWalletWL(uint256 tier) public view returns (uint256) {
        return _maxPerWalletWL[tier];
    }

    function getAmountMinted(address account) public view returns (uint256) {
        return amountMinted[account];
    }

    function getMaxPerWallet() public view returns (uint256) {
        return _maxPerWallet;
    }


    function _setTokenVersion(uint256 tokenId, uint256 version) internal virtual {
        require(_exists(tokenId), "ERC721Metadata: Version set of nonexistent token");
        _tokenVersions[tokenId] = version;
    }

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

    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");
        uint256 version = _tokenVersions[tokenId];
        string memory _tokenURI = string.concat(BASE_URI, Strings.toString(version), ".json");
        return _tokenURI;
    }

    function totalSupply() public view returns (uint256) {
        uint256 supply = _tokenIdCounter.current() - 1;
        return supply;
    }

    function burn(uint256 tokenId) public {
        require(ownerOf(tokenId) == msg.sender, "Caller is not the token owner");
        _burn(tokenId);
    }

    function setBaseURI(string memory uri) external onlyOwner {
        BASE_URI = uri;
    }

    function setFundsRecipient(address payable newFundsRecipient) public onlyOwner {
        _fundsRecipient = newFundsRecipient;
    }

    function setRoots(bytes32[] memory newRoots) public onlyOwner {
        _roots = newRoots;
    }

    function setmaxPerWalletWL(uint256[] memory newMax) public onlyOwner {
        _maxPerWalletWL = newMax;
    }


    function setTimes(uint[] memory times_) public onlyOwner {
        _times = times_;
    }

    function closeMinting() external onlyOwner {
        _mintingClosed = true;
    }

    function withdraw() external onlyOwner {
        (bool success, ) = payable(_fundsRecipient).call{value: address(this).balance}("");
        require(success, "Could not withdraw");
    }


    function _beforeTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual onlyAllowedOperator(from) { }

    function transferFrom(address from, address to, uint256 tokenId) public override(ERC721) onlyAllowedOperator(from) {
        super.transferFrom(from, to, tokenId);
        emit Transfer(from, to, tokenId);
    }

    function safeTransferFrom(address from, address to, uint256 tokenId) public override(ERC721) onlyAllowedOperator(from) {
        super.safeTransferFrom(from, to, tokenId);
        emit Transfer(from, to, tokenId);
    }

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

    function supportsInterface(bytes4 interfaceId)
        public
        view
        virtual
        override(ERC721)
        returns (bool)
    {
        return
        super.supportsInterface(interfaceId);
    }

}

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

import {OperatorFilterer} from "./OperatorFilterer.sol";
import {CANONICAL_CORI_SUBSCRIPTION} from "./lib/Constants.sol";
/**
 * @title  DefaultOperatorFilterer
 * @notice Inherits from OperatorFilterer and automatically subscribes to the default OpenSea subscription.
 * @dev    Please note that if your token contract does not provide an owner with EIP-173, it must provide
 *         administration methods on the contract itself to interact with the registry otherwise the subscription
 *         will be locked to the options set during construction.
 */

abstract contract DefaultOperatorFilterer is OperatorFilterer {
    /// @dev The constructor that is called when the contract is being deployed.
    constructor() OperatorFilterer(CANONICAL_CORI_SUBSCRIPTION, true) {}
}

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

interface IOperatorFilterRegistry {
    /**
     * @notice Returns true if operator is not filtered for a given token, either by address or codeHash. Also returns
     *         true if supplied registrant address is not registered.
     */
    function isOperatorAllowed(address registrant, address operator) external view returns (bool);

    /**
     * @notice Registers an address with the registry. May be called by address itself or by EIP-173 owner.
     */
    function register(address registrant) external;

    /**
     * @notice Registers an address with the registry and "subscribes" to another address's filtered operators and codeHashes.
     */
    function registerAndSubscribe(address registrant, address subscription) external;

    /**
     * @notice Registers an address with the registry and copies the filtered operators and codeHashes from another
     *         address without subscribing.
     */
    function registerAndCopyEntries(address registrant, address registrantToCopy) external;

    /**
     * @notice Unregisters an address with the registry and removes its subscription. May be called by address itself or by EIP-173 owner.
     *         Note that this does not remove any filtered addresses or codeHashes.
     *         Also note that any subscriptions to this registrant will still be active and follow the existing filtered addresses and codehashes.
     */
    function unregister(address addr) external;

    /**
     * @notice Update an operator address for a registered address - when filtered is true, the operator is filtered.
     */
    function updateOperator(address registrant, address operator, bool filtered) external;

    /**
     * @notice Update multiple operators for a registered address - when filtered is true, the operators will be filtered. Reverts on duplicates.
     */
    function updateOperators(address registrant, address[] calldata operators, bool filtered) external;

    /**
     * @notice Update a codeHash for a registered address - when filtered is true, the codeHash is filtered.
     */
    function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external;

    /**
     * @notice Update multiple codeHashes for a registered address - when filtered is true, the codeHashes will be filtered. Reverts on duplicates.
     */
    function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external;

    /**
     * @notice Subscribe an address to another registrant's filtered operators and codeHashes. Will remove previous
     *         subscription if present.
     *         Note that accounts with subscriptions may go on to subscribe to other accounts - in this case,
     *         subscriptions will not be forwarded. Instead the former subscription's existing entries will still be
     *         used.
     */
    function subscribe(address registrant, address registrantToSubscribe) external;

    /**
     * @notice Unsubscribe an address from its current subscribed registrant, and optionally copy its filtered operators and codeHashes.
     */
    function unsubscribe(address registrant, bool copyExistingEntries) external;

    /**
     * @notice Get the subscription address of a given registrant, if any.
     */
    function subscriptionOf(address addr) external returns (address registrant);

    /**
     * @notice Get the set of addresses subscribed to a given registrant.
     *         Note that order is not guaranteed as updates are made.
     */
    function subscribers(address registrant) external returns (address[] memory);

    /**
     * @notice Get the subscriber at a given index in the set of addresses subscribed to a given registrant.
     *         Note that order is not guaranteed as updates are made.
     */
    function subscriberAt(address registrant, uint256 index) external returns (address);

    /**
     * @notice Copy filtered operators and codeHashes from a different registrantToCopy to addr.
     */
    function copyEntriesOf(address registrant, address registrantToCopy) external;

    /**
     * @notice Returns true if operator is filtered by a given address or its subscription.
     */
    function isOperatorFiltered(address registrant, address operator) external returns (bool);

    /**
     * @notice Returns true if the hash of an address's code is filtered by a given address or its subscription.
     */
    function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool);

    /**
     * @notice Returns true if a codeHash is filtered by a given address or its subscription.
     */
    function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool);

    /**
     * @notice Returns a list of filtered operators for a given address or its subscription.
     */
    function filteredOperators(address addr) external returns (address[] memory);

    /**
     * @notice Returns the set of filtered codeHashes for a given address or its subscription.
     *         Note that order is not guaranteed as updates are made.
     */
    function filteredCodeHashes(address addr) external returns (bytes32[] memory);

    /**
     * @notice Returns the filtered operator at the given index of the set of filtered operators for a given address or
     *         its subscription.
     *         Note that order is not guaranteed as updates are made.
     */
    function filteredOperatorAt(address registrant, uint256 index) external returns (address);

    /**
     * @notice Returns the filtered codeHash at the given index of the list of filtered codeHashes for a given address or
     *         its subscription.
     *         Note that order is not guaranteed as updates are made.
     */
    function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32);

    /**
     * @notice Returns true if an address has registered
     */
    function isRegistered(address addr) external returns (bool);

    /**
     * @dev Convenience method to compute the code hash of an arbitrary contract
     */
    function codeHashOf(address addr) external returns (bytes32);
}

File 17 of 18 : Constants.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

address constant CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS = 0x000000000000AAeB6D7670E522A718067333cd4E;
address constant CANONICAL_CORI_SUBSCRIPTION = 0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6;

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

import {IOperatorFilterRegistry} from "./IOperatorFilterRegistry.sol";
import {CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS} from "./lib/Constants.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.
 *         Please note that if your token contract does not provide an owner with EIP-173, it must provide
 *         administration methods on the contract itself to interact with the registry otherwise the subscription
 *         will be locked to the options set during construction.
 */

abstract contract OperatorFilterer {
    /// @dev Emitted when an operator is not allowed.
    error OperatorNotAllowed(address operator);

    IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY =
        IOperatorFilterRegistry(CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS);

    /// @dev The constructor that is called when the contract is being deployed.
    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));
                }
            }
        }
    }

    /**
     * @dev A helper function to check if an operator is allowed.
     */
    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);
        }
        _;
    }

    /**
     * @dev A helper function to check if an operator approval is allowed.
     */
    modifier onlyAllowedOperatorApproval(address operator) virtual {
        _checkFilterOperator(operator);
        _;
    }

    /**
     * @dev A helper function to check if an operator is allowed.
     */
    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) {
            // under normal circumstances, this function will revert rather than return false, but inheriting contracts
            // may specify their own OperatorFilterRegistry implementations, which may behave differently
            if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), operator)) {
                revert OperatorNotAllowed(operator);
            }
        }
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"uint256","name":"price_","type":"uint256"},{"internalType":"bytes32[]","name":"roots_","type":"bytes32[]"},{"internalType":"uint256[]","name":"maxPerWalletWL_","type":"uint256[]"},{"internalType":"uint256","name":"maxPerWallet_","type":"uint256"},{"internalType":"string","name":"baseUri","type":"string"},{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"uint256[]","name":"times_","type":"uint256[]"},{"internalType":"address payable","name":"fundsRecipient_","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","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":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Minted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"BASE_URI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_fundsRecipient","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"_times","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"amountMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"amountMintedWL","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"closeMinting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getAmountMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getAmountMintedWL","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMaxPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tier","type":"uint256"}],"name":"getMaxPerWalletWL","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"version","type":"uint256"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"version","type":"uint256"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"},{"internalType":"uint256","name":"tier","type":"uint256"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mintWL","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"newFundsRecipient","type":"address"}],"name":"setFundsRecipient","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"newRoots","type":"bytes32[]"}],"name":"setRoots","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"times_","type":"uint256[]"}],"name":"setTimes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"newMax","type":"uint256[]"}],"name":"setmaxPerWalletWL","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526000601260146101000a81548160ff0219169083151502179055503480156200002c57600080fd5b5060405162005f3f38038062005f3f833981810160405281019062000052919062000983565b733cc6cdda760b79bafa08df41ecfa224f810dceb66001858581600090816200007c919062000d5d565b5080600190816200008e919062000d5d565b505050620000b1620000a56200039e60201b60201c565b620003a660201b60201c565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115620002a65780156200016c576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16637d3e3dbe30846040518363ffffffff1660e01b81526004016200013292919062000e69565b600060405180830381600087803b1580156200014d57600080fd5b505af115801562000162573d6000803e3d6000fd5b50505050620002a5565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161462000226576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663a0af290330846040518363ffffffff1660e01b8152600401620001ec92919062000e69565b600060405180830381600087803b1580156200020757600080fd5b505af11580156200021c573d6000803e3d6000fd5b50505050620002a4565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16634420e486306040518263ffffffff1660e01b81526004016200026f919062000e96565b600060405180830381600087803b1580156200028a57600080fd5b505af11580156200029f573d6000803e3d6000fd5b505050505b5b5b505088600a8190555084600b9081620002c0919062000d5d565b5083600c9081620002d2919062000d5d565b5082600d9081620002e4919062000d5d565b5081600e9080519060200190620002fd92919062000482565b5087600f908051906020019062000316929190620004d4565b5086601090805190602001906200032f92919062000482565b508560118190555080601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506200038f60136200046c60201b62001d361760201c565b50505050505050505062000eb3565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6001816000016000828254019250508190555050565b828054828255906000526020600020908101928215620004c1579160200282015b82811115620004c0578251825591602001919060010190620004a3565b5b509050620004d0919062000526565b5090565b82805482825590600052602060002090810192821562000513579160200282015b8281111562000512578251825591602001919060010190620004f5565b5b50905062000522919062000545565b5090565b5b808211156200054157600081600090555060010162000527565b5090565b5b808211156200056057600081600090555060010162000546565b5090565b6000604051905090565b600080fd5b600080fd5b6000819050919050565b6200058d8162000578565b81146200059957600080fd5b50565b600081519050620005ad8162000582565b92915050565b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6200060382620005b8565b810181811067ffffffffffffffff82111715620006255762000624620005c9565b5b80604052505050565b60006200063a62000564565b9050620006488282620005f8565b919050565b600067ffffffffffffffff8211156200066b576200066a620005c9565b5b602082029050602081019050919050565b600080fd5b6000819050919050565b620006968162000681565b8114620006a257600080fd5b50565b600081519050620006b6816200068b565b92915050565b6000620006d3620006cd846200064d565b6200062e565b90508083825260208201905060208402830185811115620006f957620006f86200067c565b5b835b81811015620007265780620007118882620006a5565b845260208401935050602081019050620006fb565b5050509392505050565b600082601f830112620007485762000747620005b3565b5b81516200075a848260208601620006bc565b91505092915050565b600067ffffffffffffffff821115620007815762000780620005c9565b5b602082029050602081019050919050565b6000620007a9620007a38462000763565b6200062e565b90508083825260208201905060208402830185811115620007cf57620007ce6200067c565b5b835b81811015620007fc5780620007e788826200059c565b845260208401935050602081019050620007d1565b5050509392505050565b600082601f8301126200081e576200081d620005b3565b5b81516200083084826020860162000792565b91505092915050565b600080fd5b600067ffffffffffffffff8211156200085c576200085b620005c9565b5b6200086782620005b8565b9050602081019050919050565b60005b838110156200089457808201518184015260208101905062000877565b60008484015250505050565b6000620008b7620008b1846200083e565b6200062e565b905082815260208101848484011115620008d657620008d562000839565b5b620008e384828562000874565b509392505050565b600082601f830112620009035762000902620005b3565b5b815162000915848260208601620008a0565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200094b826200091e565b9050919050565b6200095d816200093e565b81146200096957600080fd5b50565b6000815190506200097d8162000952565b92915050565b60008060008060008060008060006101208a8c031215620009a957620009a86200056e565b5b6000620009b98c828d016200059c565b99505060208a015167ffffffffffffffff811115620009dd57620009dc62000573565b5b620009eb8c828d0162000730565b98505060408a015167ffffffffffffffff81111562000a0f5762000a0e62000573565b5b62000a1d8c828d0162000806565b975050606062000a308c828d016200059c565b96505060808a015167ffffffffffffffff81111562000a545762000a5362000573565b5b62000a628c828d01620008eb565b95505060a08a015167ffffffffffffffff81111562000a865762000a8562000573565b5b62000a948c828d01620008eb565b94505060c08a015167ffffffffffffffff81111562000ab85762000ab762000573565b5b62000ac68c828d01620008eb565b93505060e08a015167ffffffffffffffff81111562000aea5762000ae962000573565b5b62000af88c828d0162000806565b92505061010062000b0c8c828d016200096c565b9150509295985092959850929598565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168062000b6f57607f821691505b60208210810362000b855762000b8462000b27565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830262000bef7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000bb0565b62000bfb868362000bb0565b95508019841693508086168417925050509392505050565b6000819050919050565b600062000c3e62000c3862000c328462000578565b62000c13565b62000578565b9050919050565b6000819050919050565b62000c5a8362000c1d565b62000c7262000c698262000c45565b84845462000bbd565b825550505050565b600090565b62000c8962000c7a565b62000c9681848462000c4f565b505050565b5b8181101562000cbe5762000cb260008262000c7f565b60018101905062000c9c565b5050565b601f82111562000d0d5762000cd78162000b8b565b62000ce28462000ba0565b8101602085101562000cf2578190505b62000d0a62000d018562000ba0565b83018262000c9b565b50505b505050565b600082821c905092915050565b600062000d326000198460080262000d12565b1980831691505092915050565b600062000d4d838362000d1f565b9150826002028217905092915050565b62000d688262000b1c565b67ffffffffffffffff81111562000d845762000d83620005c9565b5b62000d90825462000b56565b62000d9d82828562000cc2565b600060209050601f83116001811462000dd5576000841562000dc0578287015190505b62000dcc858262000d3f565b86555062000e3c565b601f19841662000de58662000b8b565b60005b8281101562000e0f5784890151825560018201915060208501945060208101905062000de8565b8683101562000e2f578489015162000e2b601f89168262000d1f565b8355505b6001600288020188555050505b505050505050565b600062000e51826200091e565b9050919050565b62000e638162000e44565b82525050565b600060408201905062000e80600083018562000e58565b62000e8f602083018462000e58565b9392505050565b600060208201905062000ead600083018462000e58565b92915050565b61507c8062000ec36000396000f3fe6080604052600436106102465760003560e01c80635b5da8a4116101395780639875e483116100b6578063c87b56dd1161007a578063c87b56dd14610870578063d28d8852146108ad578063dbddb26a146108d8578063e8a3d48514610903578063e985e9c51461092e578063f2fde38b1461096b57610246565b80639875e4831461079a578063a22cb465146107b6578063b09f1266146107df578063b88d4fde1461080a578063c1b8aad91461083357610246565b806383883929116100fd57806383883929146106d9578063850a3fd01461070257806387491c601461072d5780638da5cb5b1461074457806395d89b411461076f57610246565b80635b5da8a4146105f45780636352211e1461061d5780636bbc42911461065a57806370a0823114610685578063715018a6146106c257610246565b806328ccdb77116101c757806341f434341161018b57806341f434341461051157806342842e0e1461053c57806342966c6814610565578063438a67e71461058e57806355f804b3146105cb57610246565b806328ccdb771461041a57806332b77aac146104575780633625a351146104945780633ccfd60b146104bd5780633eaa169f146104d457610246565b806310a7eb5d1161020e57806310a7eb5d14610356578063156e29f61461037f57806318160ddd1461039b578063235b6ea1146103c657806323b872dd146103f157610246565b806301ffc9a71461024b578063030cdd4f1461028857806306fdde03146102c5578063081812fc146102f0578063095ea7b31461032d575b600080fd5b34801561025757600080fd5b50610272600480360381019061026d919061323e565b610994565b60405161027f9190613286565b60405180910390f35b34801561029457600080fd5b506102af60048036038101906102aa91906132ff565b6109a6565b6040516102bc9190613345565b60405180910390f35b3480156102d157600080fd5b506102da6109ef565b6040516102e791906133f0565b60405180910390f35b3480156102fc57600080fd5b506103176004803603810190610312919061343e565b610a81565b604051610324919061347a565b60405180910390f35b34801561033957600080fd5b50610354600480360381019061034f9190613495565b610ac7565b005b34801561036257600080fd5b5061037d60048036038101906103789190613513565b610bde565b005b61039960048036038101906103949190613540565b610c2a565b005b3480156103a757600080fd5b506103b0610f20565b6040516103bd9190613345565b60405180910390f35b3480156103d257600080fd5b506103db610f42565b6040516103e89190613345565b60405180910390f35b3480156103fd57600080fd5b5061041860048036038101906104139190613593565b610f48565b005b34801561042657600080fd5b50610441600480360381019061043c919061343e565b610ff2565b60405161044e9190613345565b60405180910390f35b34801561046357600080fd5b5061047e6004803603810190610479919061343e565b61101a565b60405161048b9190613345565b60405180910390f35b3480156104a057600080fd5b506104bb60048036038101906104b6919061372e565b61103e565b005b3480156104c957600080fd5b506104d2611060565b005b3480156104e057600080fd5b506104fb60048036038101906104f691906132ff565b611139565b6040516105089190613345565b60405180910390f35b34801561051d57600080fd5b50610526611151565b60405161053391906137d6565b60405180910390f35b34801561054857600080fd5b50610563600480360381019061055e9190613593565b611163565b005b34801561057157600080fd5b5061058c6004803603810190610587919061343e565b61120d565b005b34801561059a57600080fd5b506105b560048036038101906105b091906132ff565b61128f565b6040516105c29190613345565b60405180910390f35b3480156105d757600080fd5b506105f260048036038101906105ed91906138a6565b6112a7565b005b34801561060057600080fd5b5061061b600480360381019061061691906139e8565b6112c2565b005b34801561062957600080fd5b50610644600480360381019061063f919061343e565b6112e4565b604051610651919061347a565b60405180910390f35b34801561066657600080fd5b5061066f61136a565b60405161067c9190613345565b60405180910390f35b34801561069157600080fd5b506106ac60048036038101906106a791906132ff565b611374565b6040516106b99190613345565b60405180910390f35b3480156106ce57600080fd5b506106d761142b565b005b3480156106e557600080fd5b5061070060048036038101906106fb919061372e565b61143f565b005b34801561070e57600080fd5b50610717611461565b604051610724919061347a565b60405180910390f35b34801561073957600080fd5b50610742611487565b005b34801561075057600080fd5b506107596114ac565b604051610766919061347a565b60405180910390f35b34801561077b57600080fd5b506107846114d6565b60405161079191906133f0565b60405180910390f35b6107b460048036038101906107af9190613a8c565b611568565b005b3480156107c257600080fd5b506107dd60048036038101906107d89190613b52565b611902565b005b3480156107eb57600080fd5b506107f4611918565b60405161080191906133f0565b60405180910390f35b34801561081657600080fd5b50610831600480360381019061082c9190613c33565b6119a6565b005b34801561083f57600080fd5b5061085a600480360381019061085591906132ff565b6119f7565b6040516108679190613345565b60405180910390f35b34801561087c57600080fd5b506108976004803603810190610892919061343e565b611a40565b6040516108a491906133f0565b60405180910390f35b3480156108b957600080fd5b506108c2611adb565b6040516108cf91906133f0565b60405180910390f35b3480156108e457600080fd5b506108ed611b69565b6040516108fa91906133f0565b60405180910390f35b34801561090f57600080fd5b50610918611bf7565b60405161092591906133f0565b60405180910390f35b34801561093a57600080fd5b5061095560048036038101906109509190613cb6565b611c1f565b6040516109629190613286565b60405180910390f35b34801561097757600080fd5b50610992600480360381019061098d91906132ff565b611cb3565b005b600061099f82611d4c565b9050919050565b6000600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6060600c80546109fe90613d25565b80601f0160208091040260200160405190810160405280929190818152602001828054610a2a90613d25565b8015610a775780601f10610a4c57610100808354040283529160200191610a77565b820191906000526020600020905b815481529060010190602001808311610a5a57829003601f168201915b5050505050905090565b6000610a8c82611e2e565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610ad2826112e4565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610b42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3990613dc8565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b61611e79565b73ffffffffffffffffffffffffffffffffffffffff161480610b905750610b8f81610b8a611e79565b611c1f565b5b610bcf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bc690613e5a565b60405180910390fd5b610bd98383611e81565b505050565b610be6611f3a565b80601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b80600a54610c389190613ea9565b341015610c7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7190613f37565b60405180910390fd5b600e600081548110610c8f57610c8e613f57565b5b90600052602060002001544210158015610cc85750600e600181548110610cb957610cb8613f57565b5b90600052602060002001544211155b610d07576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cfe90613ff8565b60405180910390fd5b601260149054906101000a900460ff1615610d57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d4e90614064565b60405180910390fd5b60018210158015610d69575060098211155b610da8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9f906140f6565b60405180910390fd5b60115481600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610df69190614116565b1115610e37576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2e906141bc565b60405180910390fd5b60005b81811015610f1a576000610e4e6013611fb8565b9050610e5a8582611fc6565b610e6481856121e3565b610e6e6013611d36565b6000600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050600181610ebf9190614116565b905080600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050508080610f12906141dc565b915050610e3a565b50505050565b6000806001610f2f6013611fb8565b610f399190614224565b90508091505090565b600a5481565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610f8657610f8533612247565b5b610f91848484612344565b818373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a450505050565b60006010828154811061100857611007613f57565b5b90600052602060002001549050919050565b600e818154811061102a57600080fd5b906000526020600020016000915090505481565b611046611f3a565b80600e908051906020019061105c9291906130fe565b5050565b611068611f3a565b6000601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16476040516110b090614289565b60006040518083038185875af1925050503d80600081146110ed576040519150601f19603f3d011682016040523d82523d6000602084013e6110f2565b606091505b5050905080611136576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112d906142ea565b60405180910390fd5b50565b60076020528060005260406000206000915090505481565b6daaeb6d7670e522a718067333cd4e81565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146111a1576111a033612247565b5b6111ac8484846123a4565b818373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a450505050565b3373ffffffffffffffffffffffffffffffffffffffff1661122d826112e4565b73ffffffffffffffffffffffffffffffffffffffff1614611283576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127a90614356565b60405180910390fd5b61128c816123c4565b50565b60086020528060005260406000206000915090505481565b6112af611f3a565b80600b90816112be9190614518565b5050565b6112ca611f3a565b80600f90805190602001906112e092919061314b565b5050565b6000806112f083612512565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611361576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135890614636565b60405180910390fd5b80915050919050565b6000601154905090565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036113e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113db906146c8565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611433611f3a565b61143d600061254f565b565b611447611f3a565b806010908051906020019061145d9291906130fe565b5050565b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61148f611f3a565b6001601260146101000a81548160ff021916908315150217905550565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600d80546114e590613d25565b80601f016020809104026020016040519081016040528092919081815260200182805461151190613d25565b801561155e5780601f106115335761010080835404028352916020019161155e565b820191906000526020600020905b81548152906001019060200180831161154157829003601f168201915b5050505050905090565b600e60008154811061157d5761157c613f57565b5b906000526020600020015442101580156115b65750600e6001815481106115a7576115a6613f57565b5b90600052602060002001544211155b6115f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ec90613ff8565b60405180910390fd5b6010828154811061160957611608613f57565b5b906000526020600020015481600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461165f9190614116565b11156116a0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611697906141bc565b60405180910390fd5b6000336040516020016116b39190614730565b604051602081830303815290604052805190602001209050611735858580806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600f858154811061172457611723613f57565b5b906000526020600020015483612615565b611774576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161176b90614797565b60405180910390fd5b601260149054906101000a900460ff16156117c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117bb90614064565b60405180910390fd5b600186101580156117d6575060098611155b611815576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161180c906140f6565b60405180910390fd5b60005b828110156118f857600061182c6013611fb8565b90506118388982611fc6565b61184281896121e3565b61184c6013611d36565b6000600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905060018161189d9190614116565b905080600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505080806118f0906141dc565b915050611818565b5050505050505050565b61191461190d611e79565b838361262c565b5050565b600d805461192590613d25565b80601f016020809104026020016040519081016040528092919081815260200182805461195190613d25565b801561199e5780601f106119735761010080835404028352916020019161199e565b820191906000526020600020905b81548152906001019060200180831161198157829003601f168201915b505050505081565b833373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146119e4576119e333612247565b5b6119f085858585612798565b5050505050565b6000600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6060611a4b826127fa565b611a8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a8190614829565b60405180910390fd5b6000600960008481526020019081526020016000205490506000600b611aaf8361283b565b604051602001611ac092919061492e565b60405160208183030381529060405290508092505050919050565b600c8054611ae890613d25565b80601f0160208091040260200160405190810160405280929190818152602001828054611b1490613d25565b8015611b615780601f10611b3657610100808354040283529160200191611b61565b820191906000526020600020905b815481529060010190602001808311611b4457829003601f168201915b505050505081565b600b8054611b7690613d25565b80601f0160208091040260200160405190810160405280929190818152602001828054611ba290613d25565b8015611bef5780601f10611bc457610100808354040283529160200191611bef565b820191906000526020600020905b815481529060010190602001808311611bd257829003601f168201915b505050505081565b6060600b604051602001611c0b9190614987565b604051602081830303815290604052905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611cbb611f3a565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611d2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d2190614a1f565b60405180910390fd5b611d338161254f565b50565b6001816000016000828254019250508190555050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611e1757507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611e275750611e2682612909565b5b9050919050565b611e37816127fa565b611e76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e6d90614636565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611ef4836112e4565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b611f42611e79565b73ffffffffffffffffffffffffffffffffffffffff16611f606114ac565b73ffffffffffffffffffffffffffffffffffffffff1614611fb6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fad90614a8b565b60405180910390fd5b565b600081600001549050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612035576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161202c90614af7565b60405180910390fd5b61203e816127fa565b1561207e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161207590614b63565b60405180910390fd5b61208c600083836001612973565b612095816127fa565b156120d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120cc90614b63565b60405180910390fd5b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46121df600083836001612979565b5050565b6121ec826127fa565b61222b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161222290614bf5565b60405180910390fd5b8060096000848152602001908152602001600020819055505050565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115612341576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b81526004016122be929190614c15565b602060405180830381865afa1580156122db573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122ff9190614c53565b61234057806040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401612337919061347a565b60405180910390fd5b5b50565b61235561234f611e79565b8261297f565b612394576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161238b90614cf2565b60405180910390fd5b61239f838383612a14565b505050565b6123bf838383604051806020016040528060008152506119a6565b505050565b60006123cf826112e4565b90506123df816000846001612973565b6123e8826112e4565b90506004600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461250e816000846001612979565b5050565b60006002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000826126228584612d0d565b1490509392505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361269a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161269190614d5e565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161278b9190613286565b60405180910390a3505050565b6127a96127a3611e79565b8361297f565b6127e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127df90614cf2565b60405180910390fd5b6127f484848484612d63565b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff1661281c83612512565b73ffffffffffffffffffffffffffffffffffffffff1614159050919050565b60606000600161284a84612dbf565b01905060008167ffffffffffffffff811115612869576128686135eb565b5b6040519080825280601f01601f19166020018201604052801561289b5781602001600182028036833780820191505090505b509050600082602001820190505b6001156128fe578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a85816128f2576128f1614d7e565b5b049450600085036128a9575b819350505050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b50505050565b50505050565b60008061298b836112e4565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806129cd57506129cc8185611c1f565b5b80612a0b57508373ffffffffffffffffffffffffffffffffffffffff166129f384610a81565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612a34826112e4565b73ffffffffffffffffffffffffffffffffffffffff1614612a8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a8190614e1f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612af9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612af090614eb1565b60405180910390fd5b612b068383836001612973565b8273ffffffffffffffffffffffffffffffffffffffff16612b26826112e4565b73ffffffffffffffffffffffffffffffffffffffff1614612b7c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b7390614e1f565b60405180910390fd5b6004600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612d088383836001612979565b505050565b60008082905060005b8451811015612d5857612d4382868381518110612d3657612d35613f57565b5b6020026020010151612f12565b91508080612d50906141dc565b915050612d16565b508091505092915050565b612d6e848484612a14565b612d7a84848484612f3d565b612db9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612db090614f43565b60405180910390fd5b50505050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310612e1d577a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008381612e1357612e12614d7e565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310612e5a576d04ee2d6d415b85acef81000000008381612e5057612e4f614d7e565b5b0492506020810190505b662386f26fc100008310612e8957662386f26fc100008381612e7f57612e7e614d7e565b5b0492506010810190505b6305f5e1008310612eb2576305f5e1008381612ea857612ea7614d7e565b5b0492506008810190505b6127108310612ed7576127108381612ecd57612ecc614d7e565b5b0492506004810190505b60648310612efa5760648381612ef057612eef614d7e565b5b0492506002810190505b600a8310612f09576001810190505b80915050919050565b6000818310612f2a57612f2582846130c4565b612f35565b612f3483836130c4565b5b905092915050565b6000612f5e8473ffffffffffffffffffffffffffffffffffffffff166130db565b156130b7578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612f87611e79565b8786866040518563ffffffff1660e01b8152600401612fa99493929190614fb8565b6020604051808303816000875af1925050508015612fe557506040513d601f19601f82011682018060405250810190612fe29190615019565b60015b613067573d8060008114613015576040519150601f19603f3d011682016040523d82523d6000602084013e61301a565b606091505b50600081510361305f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161305690614f43565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506130bc565b600190505b949350505050565b600082600052816020526040600020905092915050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b82805482825590600052602060002090810192821561313a579160200282015b8281111561313957825182559160200191906001019061311e565b5b5090506131479190613198565b5090565b828054828255906000526020600020908101928215613187579160200282015b8281111561318657825182559160200191906001019061316b565b5b50905061319491906131b5565b5090565b5b808211156131b1576000816000905550600101613199565b5090565b5b808211156131ce5760008160009055506001016131b6565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61321b816131e6565b811461322657600080fd5b50565b60008135905061323881613212565b92915050565b600060208284031215613254576132536131dc565b5b600061326284828501613229565b91505092915050565b60008115159050919050565b6132808161326b565b82525050565b600060208201905061329b6000830184613277565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006132cc826132a1565b9050919050565b6132dc816132c1565b81146132e757600080fd5b50565b6000813590506132f9816132d3565b92915050565b600060208284031215613315576133146131dc565b5b6000613323848285016132ea565b91505092915050565b6000819050919050565b61333f8161332c565b82525050565b600060208201905061335a6000830184613336565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561339a57808201518184015260208101905061337f565b60008484015250505050565b6000601f19601f8301169050919050565b60006133c282613360565b6133cc818561336b565b93506133dc81856020860161337c565b6133e5816133a6565b840191505092915050565b6000602082019050818103600083015261340a81846133b7565b905092915050565b61341b8161332c565b811461342657600080fd5b50565b60008135905061343881613412565b92915050565b600060208284031215613454576134536131dc565b5b600061346284828501613429565b91505092915050565b613474816132c1565b82525050565b600060208201905061348f600083018461346b565b92915050565b600080604083850312156134ac576134ab6131dc565b5b60006134ba858286016132ea565b92505060206134cb85828601613429565b9150509250929050565b60006134e0826132a1565b9050919050565b6134f0816134d5565b81146134fb57600080fd5b50565b60008135905061350d816134e7565b92915050565b600060208284031215613529576135286131dc565b5b6000613537848285016134fe565b91505092915050565b600080600060608486031215613559576135586131dc565b5b6000613567868287016132ea565b935050602061357886828701613429565b925050604061358986828701613429565b9150509250925092565b6000806000606084860312156135ac576135ab6131dc565b5b60006135ba868287016132ea565b93505060206135cb868287016132ea565b92505060406135dc86828701613429565b9150509250925092565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613623826133a6565b810181811067ffffffffffffffff82111715613642576136416135eb565b5b80604052505050565b60006136556131d2565b9050613661828261361a565b919050565b600067ffffffffffffffff821115613681576136806135eb565b5b602082029050602081019050919050565b600080fd5b60006136aa6136a584613666565b61364b565b905080838252602082019050602084028301858111156136cd576136cc613692565b5b835b818110156136f657806136e28882613429565b8452602084019350506020810190506136cf565b5050509392505050565b600082601f830112613715576137146135e6565b5b8135613725848260208601613697565b91505092915050565b600060208284031215613744576137436131dc565b5b600082013567ffffffffffffffff811115613762576137616131e1565b5b61376e84828501613700565b91505092915050565b6000819050919050565b600061379c613797613792846132a1565b613777565b6132a1565b9050919050565b60006137ae82613781565b9050919050565b60006137c0826137a3565b9050919050565b6137d0816137b5565b82525050565b60006020820190506137eb60008301846137c7565b92915050565b600080fd5b600067ffffffffffffffff821115613811576138106135eb565b5b61381a826133a6565b9050602081019050919050565b82818337600083830152505050565b6000613849613844846137f6565b61364b565b905082815260208101848484011115613865576138646137f1565b5b613870848285613827565b509392505050565b600082601f83011261388d5761388c6135e6565b5b813561389d848260208601613836565b91505092915050565b6000602082840312156138bc576138bb6131dc565b5b600082013567ffffffffffffffff8111156138da576138d96131e1565b5b6138e684828501613878565b91505092915050565b600067ffffffffffffffff82111561390a576139096135eb565b5b602082029050602081019050919050565b6000819050919050565b61392e8161391b565b811461393957600080fd5b50565b60008135905061394b81613925565b92915050565b600061396461395f846138ef565b61364b565b9050808382526020820190506020840283018581111561398757613986613692565b5b835b818110156139b0578061399c888261393c565b845260208401935050602081019050613989565b5050509392505050565b600082601f8301126139cf576139ce6135e6565b5b81356139df848260208601613951565b91505092915050565b6000602082840312156139fe576139fd6131dc565b5b600082013567ffffffffffffffff811115613a1c57613a1b6131e1565b5b613a28848285016139ba565b91505092915050565b600080fd5b60008083601f840112613a4c57613a4b6135e6565b5b8235905067ffffffffffffffff811115613a6957613a68613a31565b5b602083019150836020820283011115613a8557613a84613692565b5b9250929050565b60008060008060008060a08789031215613aa957613aa86131dc565b5b6000613ab789828a016132ea565b9650506020613ac889828a01613429565b955050604087013567ffffffffffffffff811115613ae957613ae86131e1565b5b613af589828a01613a36565b94509450506060613b0889828a01613429565b9250506080613b1989828a01613429565b9150509295509295509295565b613b2f8161326b565b8114613b3a57600080fd5b50565b600081359050613b4c81613b26565b92915050565b60008060408385031215613b6957613b686131dc565b5b6000613b77858286016132ea565b9250506020613b8885828601613b3d565b9150509250929050565b600067ffffffffffffffff821115613bad57613bac6135eb565b5b613bb6826133a6565b9050602081019050919050565b6000613bd6613bd184613b92565b61364b565b905082815260208101848484011115613bf257613bf16137f1565b5b613bfd848285613827565b509392505050565b600082601f830112613c1a57613c196135e6565b5b8135613c2a848260208601613bc3565b91505092915050565b60008060008060808587031215613c4d57613c4c6131dc565b5b6000613c5b878288016132ea565b9450506020613c6c878288016132ea565b9350506040613c7d87828801613429565b925050606085013567ffffffffffffffff811115613c9e57613c9d6131e1565b5b613caa87828801613c05565b91505092959194509250565b60008060408385031215613ccd57613ccc6131dc565b5b6000613cdb858286016132ea565b9250506020613cec858286016132ea565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613d3d57607f821691505b602082108103613d5057613d4f613cf6565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000613db260218361336b565b9150613dbd82613d56565b604082019050919050565b60006020820190508181036000830152613de181613da5565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c000000602082015250565b6000613e44603d8361336b565b9150613e4f82613de8565b604082019050919050565b60006020820190508181036000830152613e7381613e37565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613eb48261332c565b9150613ebf8361332c565b9250828202613ecd8161332c565b91508282048414831517613ee457613ee3613e7a565b5b5092915050565b7f4e6f7420656e6f7567682065746865722073656e742e00000000000000000000600082015250565b6000613f2160168361336b565b9150613f2c82613eeb565b602082019050919050565b60006020820190508181036000830152613f5081613f14565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4d696e74696e67206e6f7420616c6c6f776564206f757473696465206f66207360008201527f7461727420616e6420656e642074696d65000000000000000000000000000000602082015250565b6000613fe260318361336b565b9150613fed82613f86565b604082019050919050565b6000602082019050818103600083015261401181613fd5565b9050919050565b7f4d696e74696e6720686173206265656e20636c6f73656420666f72657665722e600082015250565b600061404e60208361336b565b915061405982614018565b602082019050919050565b6000602082019050818103600083015261407d81614041565b9050919050565b7f56657273696f6e2073686f756c64206265206265747765656e203120616e642060008201527f3900000000000000000000000000000000000000000000000000000000000000602082015250565b60006140e060218361336b565b91506140eb82614084565b604082019050919050565b6000602082019050818103600083015261410f816140d3565b9050919050565b60006141218261332c565b915061412c8361332c565b925082820190508082111561414457614143613e7a565b5b92915050565b7f596f75206861766520616c7265616479206d696e74656420746865206d61786960008201527f6d756d206e756d626572206f6620746f6b656e73000000000000000000000000602082015250565b60006141a660348361336b565b91506141b18261414a565b604082019050919050565b600060208201905081810360008301526141d581614199565b9050919050565b60006141e78261332c565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361421957614218613e7a565b5b600182019050919050565b600061422f8261332c565b915061423a8361332c565b925082820390508181111561425257614251613e7a565b5b92915050565b600081905092915050565b50565b6000614273600083614258565b915061427e82614263565b600082019050919050565b600061429482614266565b9150819050919050565b7f436f756c64206e6f742077697468647261770000000000000000000000000000600082015250565b60006142d460128361336b565b91506142df8261429e565b602082019050919050565b60006020820190508181036000830152614303816142c7565b9050919050565b7f43616c6c6572206973206e6f742074686520746f6b656e206f776e6572000000600082015250565b6000614340601d8361336b565b915061434b8261430a565b602082019050919050565b6000602082019050818103600083015261436f81614333565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026143d87fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8261439b565b6143e2868361439b565b95508019841693508086168417925050509392505050565b600061441561441061440b8461332c565b613777565b61332c565b9050919050565b6000819050919050565b61442f836143fa565b61444361443b8261441c565b8484546143a8565b825550505050565b600090565b61445861444b565b614463818484614426565b505050565b5b818110156144875761447c600082614450565b600181019050614469565b5050565b601f8211156144cc5761449d81614376565b6144a68461438b565b810160208510156144b5578190505b6144c96144c18561438b565b830182614468565b50505b505050565b600082821c905092915050565b60006144ef600019846008026144d1565b1980831691505092915050565b600061450883836144de565b9150826002028217905092915050565b61452182613360565b67ffffffffffffffff81111561453a576145396135eb565b5b6145448254613d25565b61454f82828561448b565b600060209050601f8311600181146145825760008415614570578287015190505b61457a85826144fc565b8655506145e2565b601f19841661459086614376565b60005b828110156145b857848901518255600182019150602085019450602081019050614593565b868310156145d557848901516145d1601f8916826144de565b8355505b6001600288020188555050505b505050505050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b600061462060188361336b565b915061462b826145ea565b602082019050919050565b6000602082019050818103600083015261464f81614613565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b60006146b260298361336b565b91506146bd82614656565b604082019050919050565b600060208201905081810360008301526146e1816146a5565b9050919050565b60008160601b9050919050565b6000614700826146e8565b9050919050565b6000614712826146f5565b9050919050565b61472a614725826132c1565b614707565b82525050565b600061473c8284614719565b60148201915081905092915050565b7f496e76616c6964204d65726b6c652050726f6f662e0000000000000000000000600082015250565b600061478160158361336b565b915061478c8261474b565b602082019050919050565b600060208201905081810360008301526147b081614774565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000614813602f8361336b565b915061481e826147b7565b604082019050919050565b6000602082019050818103600083015261484281614806565b9050919050565b600081905092915050565b6000815461486181613d25565b61486b8186614849565b94506001821660008114614886576001811461489b576148ce565b60ff19831686528115158202860193506148ce565b6148a485614376565b60005b838110156148c6578154818901526001820191506020810190506148a7565b838801955050505b50505092915050565b60006148e282613360565b6148ec8185614849565b93506148fc81856020860161337c565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000815250565b600061493a8285614854565b915061494682846148d7565b915061495182614908565b6005820191508190509392505050565b7f6d657461646174612e6a736f6e00000000000000000000000000000000000000815250565b60006149938284614854565b915061499e82614961565b600d8201915081905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614a0960268361336b565b9150614a14826149ad565b604082019050919050565b60006020820190508181036000830152614a38816149fc565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614a7560208361336b565b9150614a8082614a3f565b602082019050919050565b60006020820190508181036000830152614aa481614a68565b9050919050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000614ae160208361336b565b9150614aec82614aab565b602082019050919050565b60006020820190508181036000830152614b1081614ad4565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000614b4d601c8361336b565b9150614b5882614b17565b602082019050919050565b60006020820190508181036000830152614b7c81614b40565b9050919050565b7f4552433732314d657461646174613a2056657273696f6e20736574206f66206e60008201527f6f6e6578697374656e7420746f6b656e00000000000000000000000000000000602082015250565b6000614bdf60308361336b565b9150614bea82614b83565b604082019050919050565b60006020820190508181036000830152614c0e81614bd2565b9050919050565b6000604082019050614c2a600083018561346b565b614c37602083018461346b565b9392505050565b600081519050614c4d81613b26565b92915050565b600060208284031215614c6957614c686131dc565b5b6000614c7784828501614c3e565b91505092915050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206f7220617070726f76656400000000000000000000000000000000000000602082015250565b6000614cdc602d8361336b565b9150614ce782614c80565b604082019050919050565b60006020820190508181036000830152614d0b81614ccf565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000614d4860198361336b565b9150614d5382614d12565b602082019050919050565b60006020820190508181036000830152614d7781614d3b565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000614e0960258361336b565b9150614e1482614dad565b604082019050919050565b60006020820190508181036000830152614e3881614dfc565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000614e9b60248361336b565b9150614ea682614e3f565b604082019050919050565b60006020820190508181036000830152614eca81614e8e565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000614f2d60328361336b565b9150614f3882614ed1565b604082019050919050565b60006020820190508181036000830152614f5c81614f20565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000614f8a82614f63565b614f948185614f6e565b9350614fa481856020860161337c565b614fad816133a6565b840191505092915050565b6000608082019050614fcd600083018761346b565b614fda602083018661346b565b614fe76040830185613336565b8181036060830152614ff98184614f7f565b905095945050505050565b60008151905061501381613212565b92915050565b60006020828403121561502f5761502e6131dc565b5b600061503d84828501615004565b9150509291505056fea26469706673582212201650d995d40c097b508704a80e0b9b4280d1d459db68dae1ae1d19e083a38f3464736f6c6343000811003300000000000000000000000000000000000000000000000000354a6ba7a180000000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000000090000000000000000000000000000000000000000000000000000000000000ba00000000000000000000000000000000000000000000000000000000000000c200000000000000000000000000000000000000000000000000000000000000c600000000000000000000000000000000000000000000000000000000000000ca0000000000000000000000000c6f5b5853f7a021a5113b2f1bcb0c8ea6c7fe16d0000000000000000000000000000000000000000000000000000000000000029f6d9c1de008d2cc6c395d6ff1abfa06ccb806969dad97d07e5d53297a44b9c1c2006b1b4916b269e0d3fff09ea9821a323a2141f4bd19959291daafcd97929513bbad13d1d622b2fecb11305d8f4c36f6f242934928e1156b9ab9a05cb6f7c8e15c45a243eac24ca50fd161141d15018e2145aef2448a7df8ed3a8cc8e662a6a4b877543c258f52fc322580f6e2efadf56fcb3458a944f1dd4dbed1ee7aac1082c2d399a6009edecdf7e6c2d321da6aebbda72bb59f3d6c1453048d0e0fb7eae118993024042406cae801828410e3c13470b519b9af061de2660eedf6b05dc8845850a80c645b7a4a20efaa4aaf315be74eb7e80fb5afb8d0e83f85d7421c92e11fd035d27a2d33dcdf1265a73407908a3ac9e47f1abc8ee2380291e2a3148855123a929d13f775927e4cc0f8d4b6c7d9801d6bd580a59a9e359256c3aeb10449d6618d01f14f8907d8b9f096137da574cd915d40445ee0adea831a289ffe6ab7d3fbc66e9163f772c85a0f4808ada07ecc144a141672f711883b905bf6128f984a4dd97b33611ece6f245e9e60dcc96611d7de8f34018b017499d0c58534f72aa5e3520fe94ac594406e4aa38e12b6f11d3b836b19056ec9ba867c5fd0a43f8f877a8651767b5484b0fd5d9ce6891733ad56c9c28d0653501dab00db8eff6341cd39e3fe2421d605aa3878c90b7ff510723402a947f11a2e1ae28d97c2401e43ab5fc23c0029f05ae07a804dea2472ed25f1b99f672db0ada4a428188eb92b5c1334a19ecc943a1b33ac52e5e34a9fd8789b45143c851a8ad0bfd70d2157dcfc67fe336e10b8b4f2e22227bc99aefdbac6c37eb1581d0cea9e10082051d5a8c8ce0a1b4adeab1c51ed0c198100f2b99b173aafdc4ccd160a03b3193e7dce0f093d1020e8f5b9f5c8bdd3f9ac9d1081db34990844e6a9a50af659a94556af5e25cd9c795718a253088b566274f07e61886d554b6569e2cb4ad81b61254f19c027a5e47ffd29789a718266df373a85cab89581ae7b98f58a7b750839ba3db3da4f0c066ac7058b54a44eab63734cdd06e2c2d5a808ae001f62ce46f2c087945ca73cbc9eecab97578e47a26dcbb01353a1629b671c4a2aba66616e2ec9a501a7afd393bd6bb13ca3730f9f85644aa59ceb208f69922157316757dd7e693be570c8e592dab801ec469fcdbf24103ac6bee64ea1e61f957fb3d5d83775dc40abba8f050da5edf1144fc31e2b52c734e53305da4ec340e52d062bfd80f4d3df19e666d0c3187387c8d39cb08b35bf5581950bfc9d5cda42a4ec7fc2beaf7538987f4474b2bc3719e825b8e787e087a62e0860241caaac1909f59175cacf8c5c79560dbf7c11f55f379c184615016195657ca96cc9bdd6495061cd92a03f0a70b8a827e5b5e58b4ce2febac29732cd32248ebc0cdb3cfde1900943d764774349c3f164fbf224e3150177f43c6838fef887e6094bad046d0aa2b50273940a4d2579d9654503f0b7f8a5629fc7d149a5f82b3d0c8469967b69d46ac23ebb6e7954db597b4252c5d0f6def9c68e82c42e7f1a52df542bb0e26c6fce80e80900611fef2bd680806f3ce29b447c6991b4ab4fb20f04b6f14f14e160eb4a26e61520fd95a45d2ed6c437b6120ae5613f1e20fec6659b4af1567cfb107d142b6baa28061d0a2fa4993cf0e3187635e59133e1a6d74c42b7c988ac45a9f2c20396962889fbe7822eef1c755eaee341c24325738efae5f9e9917e7dda1184cdf422fd4864c802e017733afdb44f397d8ca941c4a16afad957a26a047ae93b3547c3fe3664ecb2640d3babd8d320ecf18247f405af5a5303ba599d7be111037dc25dab3fdf362d00000000000000000000000000000000000000000000000000000000000000029000000000000000000000000000000000000000000000000000000000000005800000000000000000000000000000000000000000000000000000000000000570000000000000000000000000000000000000000000000000000000000000056000000000000000000000000000000000000000000000000000000000000004f00000000000000000000000000000000000000000000000000000000000000490000000000000000000000000000000000000000000000000000000000000048000000000000000000000000000000000000000000000000000000000000004200000000000000000000000000000000000000000000000000000000000000410000000000000000000000000000000000000000000000000000000000000033000000000000000000000000000000000000000000000000000000000000002800000000000000000000000000000000000000000000000000000000000000260000000000000000000000000000000000000000000000000000000000000025000000000000000000000000000000000000000000000000000000000000002400000000000000000000000000000000000000000000000000000000000000230000000000000000000000000000000000000000000000000000000000000022000000000000000000000000000000000000000000000000000000000000001d000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000001900000000000000000000000000000000000000000000000000000000000000170000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001500000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000013000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000110000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000f000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000000d000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000b000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000009000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000043697066733a2f2f6261667962656964377268776f346972706164726272703634787263696e36777465676c6e78747762346e327236766662687573777836363334652f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001d43616e647920436f6c6c6563746976653a2043616e64792050696c6c73000000000000000000000000000000000000000000000000000000000000000000000943414e445950494c4c0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000643ecc900000000000000000000000000000000000000000000000000000000064401e10

Deployed Bytecode

0x6080604052600436106102465760003560e01c80635b5da8a4116101395780639875e483116100b6578063c87b56dd1161007a578063c87b56dd14610870578063d28d8852146108ad578063dbddb26a146108d8578063e8a3d48514610903578063e985e9c51461092e578063f2fde38b1461096b57610246565b80639875e4831461079a578063a22cb465146107b6578063b09f1266146107df578063b88d4fde1461080a578063c1b8aad91461083357610246565b806383883929116100fd57806383883929146106d9578063850a3fd01461070257806387491c601461072d5780638da5cb5b1461074457806395d89b411461076f57610246565b80635b5da8a4146105f45780636352211e1461061d5780636bbc42911461065a57806370a0823114610685578063715018a6146106c257610246565b806328ccdb77116101c757806341f434341161018b57806341f434341461051157806342842e0e1461053c57806342966c6814610565578063438a67e71461058e57806355f804b3146105cb57610246565b806328ccdb771461041a57806332b77aac146104575780633625a351146104945780633ccfd60b146104bd5780633eaa169f146104d457610246565b806310a7eb5d1161020e57806310a7eb5d14610356578063156e29f61461037f57806318160ddd1461039b578063235b6ea1146103c657806323b872dd146103f157610246565b806301ffc9a71461024b578063030cdd4f1461028857806306fdde03146102c5578063081812fc146102f0578063095ea7b31461032d575b600080fd5b34801561025757600080fd5b50610272600480360381019061026d919061323e565b610994565b60405161027f9190613286565b60405180910390f35b34801561029457600080fd5b506102af60048036038101906102aa91906132ff565b6109a6565b6040516102bc9190613345565b60405180910390f35b3480156102d157600080fd5b506102da6109ef565b6040516102e791906133f0565b60405180910390f35b3480156102fc57600080fd5b506103176004803603810190610312919061343e565b610a81565b604051610324919061347a565b60405180910390f35b34801561033957600080fd5b50610354600480360381019061034f9190613495565b610ac7565b005b34801561036257600080fd5b5061037d60048036038101906103789190613513565b610bde565b005b61039960048036038101906103949190613540565b610c2a565b005b3480156103a757600080fd5b506103b0610f20565b6040516103bd9190613345565b60405180910390f35b3480156103d257600080fd5b506103db610f42565b6040516103e89190613345565b60405180910390f35b3480156103fd57600080fd5b5061041860048036038101906104139190613593565b610f48565b005b34801561042657600080fd5b50610441600480360381019061043c919061343e565b610ff2565b60405161044e9190613345565b60405180910390f35b34801561046357600080fd5b5061047e6004803603810190610479919061343e565b61101a565b60405161048b9190613345565b60405180910390f35b3480156104a057600080fd5b506104bb60048036038101906104b6919061372e565b61103e565b005b3480156104c957600080fd5b506104d2611060565b005b3480156104e057600080fd5b506104fb60048036038101906104f691906132ff565b611139565b6040516105089190613345565b60405180910390f35b34801561051d57600080fd5b50610526611151565b60405161053391906137d6565b60405180910390f35b34801561054857600080fd5b50610563600480360381019061055e9190613593565b611163565b005b34801561057157600080fd5b5061058c6004803603810190610587919061343e565b61120d565b005b34801561059a57600080fd5b506105b560048036038101906105b091906132ff565b61128f565b6040516105c29190613345565b60405180910390f35b3480156105d757600080fd5b506105f260048036038101906105ed91906138a6565b6112a7565b005b34801561060057600080fd5b5061061b600480360381019061061691906139e8565b6112c2565b005b34801561062957600080fd5b50610644600480360381019061063f919061343e565b6112e4565b604051610651919061347a565b60405180910390f35b34801561066657600080fd5b5061066f61136a565b60405161067c9190613345565b60405180910390f35b34801561069157600080fd5b506106ac60048036038101906106a791906132ff565b611374565b6040516106b99190613345565b60405180910390f35b3480156106ce57600080fd5b506106d761142b565b005b3480156106e557600080fd5b5061070060048036038101906106fb919061372e565b61143f565b005b34801561070e57600080fd5b50610717611461565b604051610724919061347a565b60405180910390f35b34801561073957600080fd5b50610742611487565b005b34801561075057600080fd5b506107596114ac565b604051610766919061347a565b60405180910390f35b34801561077b57600080fd5b506107846114d6565b60405161079191906133f0565b60405180910390f35b6107b460048036038101906107af9190613a8c565b611568565b005b3480156107c257600080fd5b506107dd60048036038101906107d89190613b52565b611902565b005b3480156107eb57600080fd5b506107f4611918565b60405161080191906133f0565b60405180910390f35b34801561081657600080fd5b50610831600480360381019061082c9190613c33565b6119a6565b005b34801561083f57600080fd5b5061085a600480360381019061085591906132ff565b6119f7565b6040516108679190613345565b60405180910390f35b34801561087c57600080fd5b506108976004803603810190610892919061343e565b611a40565b6040516108a491906133f0565b60405180910390f35b3480156108b957600080fd5b506108c2611adb565b6040516108cf91906133f0565b60405180910390f35b3480156108e457600080fd5b506108ed611b69565b6040516108fa91906133f0565b60405180910390f35b34801561090f57600080fd5b50610918611bf7565b60405161092591906133f0565b60405180910390f35b34801561093a57600080fd5b5061095560048036038101906109509190613cb6565b611c1f565b6040516109629190613286565b60405180910390f35b34801561097757600080fd5b50610992600480360381019061098d91906132ff565b611cb3565b005b600061099f82611d4c565b9050919050565b6000600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6060600c80546109fe90613d25565b80601f0160208091040260200160405190810160405280929190818152602001828054610a2a90613d25565b8015610a775780601f10610a4c57610100808354040283529160200191610a77565b820191906000526020600020905b815481529060010190602001808311610a5a57829003601f168201915b5050505050905090565b6000610a8c82611e2e565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610ad2826112e4565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610b42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3990613dc8565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b61611e79565b73ffffffffffffffffffffffffffffffffffffffff161480610b905750610b8f81610b8a611e79565b611c1f565b5b610bcf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bc690613e5a565b60405180910390fd5b610bd98383611e81565b505050565b610be6611f3a565b80601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b80600a54610c389190613ea9565b341015610c7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7190613f37565b60405180910390fd5b600e600081548110610c8f57610c8e613f57565b5b90600052602060002001544210158015610cc85750600e600181548110610cb957610cb8613f57565b5b90600052602060002001544211155b610d07576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cfe90613ff8565b60405180910390fd5b601260149054906101000a900460ff1615610d57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d4e90614064565b60405180910390fd5b60018210158015610d69575060098211155b610da8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9f906140f6565b60405180910390fd5b60115481600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610df69190614116565b1115610e37576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2e906141bc565b60405180910390fd5b60005b81811015610f1a576000610e4e6013611fb8565b9050610e5a8582611fc6565b610e6481856121e3565b610e6e6013611d36565b6000600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050600181610ebf9190614116565b905080600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050508080610f12906141dc565b915050610e3a565b50505050565b6000806001610f2f6013611fb8565b610f399190614224565b90508091505090565b600a5481565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610f8657610f8533612247565b5b610f91848484612344565b818373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a450505050565b60006010828154811061100857611007613f57565b5b90600052602060002001549050919050565b600e818154811061102a57600080fd5b906000526020600020016000915090505481565b611046611f3a565b80600e908051906020019061105c9291906130fe565b5050565b611068611f3a565b6000601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16476040516110b090614289565b60006040518083038185875af1925050503d80600081146110ed576040519150601f19603f3d011682016040523d82523d6000602084013e6110f2565b606091505b5050905080611136576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112d906142ea565b60405180910390fd5b50565b60076020528060005260406000206000915090505481565b6daaeb6d7670e522a718067333cd4e81565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146111a1576111a033612247565b5b6111ac8484846123a4565b818373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a450505050565b3373ffffffffffffffffffffffffffffffffffffffff1661122d826112e4565b73ffffffffffffffffffffffffffffffffffffffff1614611283576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127a90614356565b60405180910390fd5b61128c816123c4565b50565b60086020528060005260406000206000915090505481565b6112af611f3a565b80600b90816112be9190614518565b5050565b6112ca611f3a565b80600f90805190602001906112e092919061314b565b5050565b6000806112f083612512565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611361576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135890614636565b60405180910390fd5b80915050919050565b6000601154905090565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036113e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113db906146c8565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611433611f3a565b61143d600061254f565b565b611447611f3a565b806010908051906020019061145d9291906130fe565b5050565b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61148f611f3a565b6001601260146101000a81548160ff021916908315150217905550565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600d80546114e590613d25565b80601f016020809104026020016040519081016040528092919081815260200182805461151190613d25565b801561155e5780601f106115335761010080835404028352916020019161155e565b820191906000526020600020905b81548152906001019060200180831161154157829003601f168201915b5050505050905090565b600e60008154811061157d5761157c613f57565b5b906000526020600020015442101580156115b65750600e6001815481106115a7576115a6613f57565b5b90600052602060002001544211155b6115f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ec90613ff8565b60405180910390fd5b6010828154811061160957611608613f57565b5b906000526020600020015481600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461165f9190614116565b11156116a0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611697906141bc565b60405180910390fd5b6000336040516020016116b39190614730565b604051602081830303815290604052805190602001209050611735858580806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600f858154811061172457611723613f57565b5b906000526020600020015483612615565b611774576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161176b90614797565b60405180910390fd5b601260149054906101000a900460ff16156117c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117bb90614064565b60405180910390fd5b600186101580156117d6575060098611155b611815576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161180c906140f6565b60405180910390fd5b60005b828110156118f857600061182c6013611fb8565b90506118388982611fc6565b61184281896121e3565b61184c6013611d36565b6000600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905060018161189d9190614116565b905080600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505080806118f0906141dc565b915050611818565b5050505050505050565b61191461190d611e79565b838361262c565b5050565b600d805461192590613d25565b80601f016020809104026020016040519081016040528092919081815260200182805461195190613d25565b801561199e5780601f106119735761010080835404028352916020019161199e565b820191906000526020600020905b81548152906001019060200180831161198157829003601f168201915b505050505081565b833373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146119e4576119e333612247565b5b6119f085858585612798565b5050505050565b6000600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6060611a4b826127fa565b611a8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a8190614829565b60405180910390fd5b6000600960008481526020019081526020016000205490506000600b611aaf8361283b565b604051602001611ac092919061492e565b60405160208183030381529060405290508092505050919050565b600c8054611ae890613d25565b80601f0160208091040260200160405190810160405280929190818152602001828054611b1490613d25565b8015611b615780601f10611b3657610100808354040283529160200191611b61565b820191906000526020600020905b815481529060010190602001808311611b4457829003601f168201915b505050505081565b600b8054611b7690613d25565b80601f0160208091040260200160405190810160405280929190818152602001828054611ba290613d25565b8015611bef5780601f10611bc457610100808354040283529160200191611bef565b820191906000526020600020905b815481529060010190602001808311611bd257829003601f168201915b505050505081565b6060600b604051602001611c0b9190614987565b604051602081830303815290604052905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611cbb611f3a565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611d2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d2190614a1f565b60405180910390fd5b611d338161254f565b50565b6001816000016000828254019250508190555050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611e1757507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611e275750611e2682612909565b5b9050919050565b611e37816127fa565b611e76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e6d90614636565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611ef4836112e4565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b611f42611e79565b73ffffffffffffffffffffffffffffffffffffffff16611f606114ac565b73ffffffffffffffffffffffffffffffffffffffff1614611fb6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fad90614a8b565b60405180910390fd5b565b600081600001549050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612035576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161202c90614af7565b60405180910390fd5b61203e816127fa565b1561207e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161207590614b63565b60405180910390fd5b61208c600083836001612973565b612095816127fa565b156120d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120cc90614b63565b60405180910390fd5b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46121df600083836001612979565b5050565b6121ec826127fa565b61222b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161222290614bf5565b60405180910390fd5b8060096000848152602001908152602001600020819055505050565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115612341576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b81526004016122be929190614c15565b602060405180830381865afa1580156122db573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122ff9190614c53565b61234057806040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401612337919061347a565b60405180910390fd5b5b50565b61235561234f611e79565b8261297f565b612394576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161238b90614cf2565b60405180910390fd5b61239f838383612a14565b505050565b6123bf838383604051806020016040528060008152506119a6565b505050565b60006123cf826112e4565b90506123df816000846001612973565b6123e8826112e4565b90506004600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461250e816000846001612979565b5050565b60006002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000826126228584612d0d565b1490509392505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361269a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161269190614d5e565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161278b9190613286565b60405180910390a3505050565b6127a96127a3611e79565b8361297f565b6127e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127df90614cf2565b60405180910390fd5b6127f484848484612d63565b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff1661281c83612512565b73ffffffffffffffffffffffffffffffffffffffff1614159050919050565b60606000600161284a84612dbf565b01905060008167ffffffffffffffff811115612869576128686135eb565b5b6040519080825280601f01601f19166020018201604052801561289b5781602001600182028036833780820191505090505b509050600082602001820190505b6001156128fe578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a85816128f2576128f1614d7e565b5b049450600085036128a9575b819350505050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b50505050565b50505050565b60008061298b836112e4565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806129cd57506129cc8185611c1f565b5b80612a0b57508373ffffffffffffffffffffffffffffffffffffffff166129f384610a81565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612a34826112e4565b73ffffffffffffffffffffffffffffffffffffffff1614612a8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a8190614e1f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612af9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612af090614eb1565b60405180910390fd5b612b068383836001612973565b8273ffffffffffffffffffffffffffffffffffffffff16612b26826112e4565b73ffffffffffffffffffffffffffffffffffffffff1614612b7c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b7390614e1f565b60405180910390fd5b6004600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612d088383836001612979565b505050565b60008082905060005b8451811015612d5857612d4382868381518110612d3657612d35613f57565b5b6020026020010151612f12565b91508080612d50906141dc565b915050612d16565b508091505092915050565b612d6e848484612a14565b612d7a84848484612f3d565b612db9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612db090614f43565b60405180910390fd5b50505050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310612e1d577a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008381612e1357612e12614d7e565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310612e5a576d04ee2d6d415b85acef81000000008381612e5057612e4f614d7e565b5b0492506020810190505b662386f26fc100008310612e8957662386f26fc100008381612e7f57612e7e614d7e565b5b0492506010810190505b6305f5e1008310612eb2576305f5e1008381612ea857612ea7614d7e565b5b0492506008810190505b6127108310612ed7576127108381612ecd57612ecc614d7e565b5b0492506004810190505b60648310612efa5760648381612ef057612eef614d7e565b5b0492506002810190505b600a8310612f09576001810190505b80915050919050565b6000818310612f2a57612f2582846130c4565b612f35565b612f3483836130c4565b5b905092915050565b6000612f5e8473ffffffffffffffffffffffffffffffffffffffff166130db565b156130b7578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612f87611e79565b8786866040518563ffffffff1660e01b8152600401612fa99493929190614fb8565b6020604051808303816000875af1925050508015612fe557506040513d601f19601f82011682018060405250810190612fe29190615019565b60015b613067573d8060008114613015576040519150601f19603f3d011682016040523d82523d6000602084013e61301a565b606091505b50600081510361305f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161305690614f43565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506130bc565b600190505b949350505050565b600082600052816020526040600020905092915050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b82805482825590600052602060002090810192821561313a579160200282015b8281111561313957825182559160200191906001019061311e565b5b5090506131479190613198565b5090565b828054828255906000526020600020908101928215613187579160200282015b8281111561318657825182559160200191906001019061316b565b5b50905061319491906131b5565b5090565b5b808211156131b1576000816000905550600101613199565b5090565b5b808211156131ce5760008160009055506001016131b6565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61321b816131e6565b811461322657600080fd5b50565b60008135905061323881613212565b92915050565b600060208284031215613254576132536131dc565b5b600061326284828501613229565b91505092915050565b60008115159050919050565b6132808161326b565b82525050565b600060208201905061329b6000830184613277565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006132cc826132a1565b9050919050565b6132dc816132c1565b81146132e757600080fd5b50565b6000813590506132f9816132d3565b92915050565b600060208284031215613315576133146131dc565b5b6000613323848285016132ea565b91505092915050565b6000819050919050565b61333f8161332c565b82525050565b600060208201905061335a6000830184613336565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561339a57808201518184015260208101905061337f565b60008484015250505050565b6000601f19601f8301169050919050565b60006133c282613360565b6133cc818561336b565b93506133dc81856020860161337c565b6133e5816133a6565b840191505092915050565b6000602082019050818103600083015261340a81846133b7565b905092915050565b61341b8161332c565b811461342657600080fd5b50565b60008135905061343881613412565b92915050565b600060208284031215613454576134536131dc565b5b600061346284828501613429565b91505092915050565b613474816132c1565b82525050565b600060208201905061348f600083018461346b565b92915050565b600080604083850312156134ac576134ab6131dc565b5b60006134ba858286016132ea565b92505060206134cb85828601613429565b9150509250929050565b60006134e0826132a1565b9050919050565b6134f0816134d5565b81146134fb57600080fd5b50565b60008135905061350d816134e7565b92915050565b600060208284031215613529576135286131dc565b5b6000613537848285016134fe565b91505092915050565b600080600060608486031215613559576135586131dc565b5b6000613567868287016132ea565b935050602061357886828701613429565b925050604061358986828701613429565b9150509250925092565b6000806000606084860312156135ac576135ab6131dc565b5b60006135ba868287016132ea565b93505060206135cb868287016132ea565b92505060406135dc86828701613429565b9150509250925092565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613623826133a6565b810181811067ffffffffffffffff82111715613642576136416135eb565b5b80604052505050565b60006136556131d2565b9050613661828261361a565b919050565b600067ffffffffffffffff821115613681576136806135eb565b5b602082029050602081019050919050565b600080fd5b60006136aa6136a584613666565b61364b565b905080838252602082019050602084028301858111156136cd576136cc613692565b5b835b818110156136f657806136e28882613429565b8452602084019350506020810190506136cf565b5050509392505050565b600082601f830112613715576137146135e6565b5b8135613725848260208601613697565b91505092915050565b600060208284031215613744576137436131dc565b5b600082013567ffffffffffffffff811115613762576137616131e1565b5b61376e84828501613700565b91505092915050565b6000819050919050565b600061379c613797613792846132a1565b613777565b6132a1565b9050919050565b60006137ae82613781565b9050919050565b60006137c0826137a3565b9050919050565b6137d0816137b5565b82525050565b60006020820190506137eb60008301846137c7565b92915050565b600080fd5b600067ffffffffffffffff821115613811576138106135eb565b5b61381a826133a6565b9050602081019050919050565b82818337600083830152505050565b6000613849613844846137f6565b61364b565b905082815260208101848484011115613865576138646137f1565b5b613870848285613827565b509392505050565b600082601f83011261388d5761388c6135e6565b5b813561389d848260208601613836565b91505092915050565b6000602082840312156138bc576138bb6131dc565b5b600082013567ffffffffffffffff8111156138da576138d96131e1565b5b6138e684828501613878565b91505092915050565b600067ffffffffffffffff82111561390a576139096135eb565b5b602082029050602081019050919050565b6000819050919050565b61392e8161391b565b811461393957600080fd5b50565b60008135905061394b81613925565b92915050565b600061396461395f846138ef565b61364b565b9050808382526020820190506020840283018581111561398757613986613692565b5b835b818110156139b0578061399c888261393c565b845260208401935050602081019050613989565b5050509392505050565b600082601f8301126139cf576139ce6135e6565b5b81356139df848260208601613951565b91505092915050565b6000602082840312156139fe576139fd6131dc565b5b600082013567ffffffffffffffff811115613a1c57613a1b6131e1565b5b613a28848285016139ba565b91505092915050565b600080fd5b60008083601f840112613a4c57613a4b6135e6565b5b8235905067ffffffffffffffff811115613a6957613a68613a31565b5b602083019150836020820283011115613a8557613a84613692565b5b9250929050565b60008060008060008060a08789031215613aa957613aa86131dc565b5b6000613ab789828a016132ea565b9650506020613ac889828a01613429565b955050604087013567ffffffffffffffff811115613ae957613ae86131e1565b5b613af589828a01613a36565b94509450506060613b0889828a01613429565b9250506080613b1989828a01613429565b9150509295509295509295565b613b2f8161326b565b8114613b3a57600080fd5b50565b600081359050613b4c81613b26565b92915050565b60008060408385031215613b6957613b686131dc565b5b6000613b77858286016132ea565b9250506020613b8885828601613b3d565b9150509250929050565b600067ffffffffffffffff821115613bad57613bac6135eb565b5b613bb6826133a6565b9050602081019050919050565b6000613bd6613bd184613b92565b61364b565b905082815260208101848484011115613bf257613bf16137f1565b5b613bfd848285613827565b509392505050565b600082601f830112613c1a57613c196135e6565b5b8135613c2a848260208601613bc3565b91505092915050565b60008060008060808587031215613c4d57613c4c6131dc565b5b6000613c5b878288016132ea565b9450506020613c6c878288016132ea565b9350506040613c7d87828801613429565b925050606085013567ffffffffffffffff811115613c9e57613c9d6131e1565b5b613caa87828801613c05565b91505092959194509250565b60008060408385031215613ccd57613ccc6131dc565b5b6000613cdb858286016132ea565b9250506020613cec858286016132ea565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613d3d57607f821691505b602082108103613d5057613d4f613cf6565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000613db260218361336b565b9150613dbd82613d56565b604082019050919050565b60006020820190508181036000830152613de181613da5565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c000000602082015250565b6000613e44603d8361336b565b9150613e4f82613de8565b604082019050919050565b60006020820190508181036000830152613e7381613e37565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613eb48261332c565b9150613ebf8361332c565b9250828202613ecd8161332c565b91508282048414831517613ee457613ee3613e7a565b5b5092915050565b7f4e6f7420656e6f7567682065746865722073656e742e00000000000000000000600082015250565b6000613f2160168361336b565b9150613f2c82613eeb565b602082019050919050565b60006020820190508181036000830152613f5081613f14565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4d696e74696e67206e6f7420616c6c6f776564206f757473696465206f66207360008201527f7461727420616e6420656e642074696d65000000000000000000000000000000602082015250565b6000613fe260318361336b565b9150613fed82613f86565b604082019050919050565b6000602082019050818103600083015261401181613fd5565b9050919050565b7f4d696e74696e6720686173206265656e20636c6f73656420666f72657665722e600082015250565b600061404e60208361336b565b915061405982614018565b602082019050919050565b6000602082019050818103600083015261407d81614041565b9050919050565b7f56657273696f6e2073686f756c64206265206265747765656e203120616e642060008201527f3900000000000000000000000000000000000000000000000000000000000000602082015250565b60006140e060218361336b565b91506140eb82614084565b604082019050919050565b6000602082019050818103600083015261410f816140d3565b9050919050565b60006141218261332c565b915061412c8361332c565b925082820190508082111561414457614143613e7a565b5b92915050565b7f596f75206861766520616c7265616479206d696e74656420746865206d61786960008201527f6d756d206e756d626572206f6620746f6b656e73000000000000000000000000602082015250565b60006141a660348361336b565b91506141b18261414a565b604082019050919050565b600060208201905081810360008301526141d581614199565b9050919050565b60006141e78261332c565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361421957614218613e7a565b5b600182019050919050565b600061422f8261332c565b915061423a8361332c565b925082820390508181111561425257614251613e7a565b5b92915050565b600081905092915050565b50565b6000614273600083614258565b915061427e82614263565b600082019050919050565b600061429482614266565b9150819050919050565b7f436f756c64206e6f742077697468647261770000000000000000000000000000600082015250565b60006142d460128361336b565b91506142df8261429e565b602082019050919050565b60006020820190508181036000830152614303816142c7565b9050919050565b7f43616c6c6572206973206e6f742074686520746f6b656e206f776e6572000000600082015250565b6000614340601d8361336b565b915061434b8261430a565b602082019050919050565b6000602082019050818103600083015261436f81614333565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026143d87fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8261439b565b6143e2868361439b565b95508019841693508086168417925050509392505050565b600061441561441061440b8461332c565b613777565b61332c565b9050919050565b6000819050919050565b61442f836143fa565b61444361443b8261441c565b8484546143a8565b825550505050565b600090565b61445861444b565b614463818484614426565b505050565b5b818110156144875761447c600082614450565b600181019050614469565b5050565b601f8211156144cc5761449d81614376565b6144a68461438b565b810160208510156144b5578190505b6144c96144c18561438b565b830182614468565b50505b505050565b600082821c905092915050565b60006144ef600019846008026144d1565b1980831691505092915050565b600061450883836144de565b9150826002028217905092915050565b61452182613360565b67ffffffffffffffff81111561453a576145396135eb565b5b6145448254613d25565b61454f82828561448b565b600060209050601f8311600181146145825760008415614570578287015190505b61457a85826144fc565b8655506145e2565b601f19841661459086614376565b60005b828110156145b857848901518255600182019150602085019450602081019050614593565b868310156145d557848901516145d1601f8916826144de565b8355505b6001600288020188555050505b505050505050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b600061462060188361336b565b915061462b826145ea565b602082019050919050565b6000602082019050818103600083015261464f81614613565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b60006146b260298361336b565b91506146bd82614656565b604082019050919050565b600060208201905081810360008301526146e1816146a5565b9050919050565b60008160601b9050919050565b6000614700826146e8565b9050919050565b6000614712826146f5565b9050919050565b61472a614725826132c1565b614707565b82525050565b600061473c8284614719565b60148201915081905092915050565b7f496e76616c6964204d65726b6c652050726f6f662e0000000000000000000000600082015250565b600061478160158361336b565b915061478c8261474b565b602082019050919050565b600060208201905081810360008301526147b081614774565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000614813602f8361336b565b915061481e826147b7565b604082019050919050565b6000602082019050818103600083015261484281614806565b9050919050565b600081905092915050565b6000815461486181613d25565b61486b8186614849565b94506001821660008114614886576001811461489b576148ce565b60ff19831686528115158202860193506148ce565b6148a485614376565b60005b838110156148c6578154818901526001820191506020810190506148a7565b838801955050505b50505092915050565b60006148e282613360565b6148ec8185614849565b93506148fc81856020860161337c565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000815250565b600061493a8285614854565b915061494682846148d7565b915061495182614908565b6005820191508190509392505050565b7f6d657461646174612e6a736f6e00000000000000000000000000000000000000815250565b60006149938284614854565b915061499e82614961565b600d8201915081905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614a0960268361336b565b9150614a14826149ad565b604082019050919050565b60006020820190508181036000830152614a38816149fc565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614a7560208361336b565b9150614a8082614a3f565b602082019050919050565b60006020820190508181036000830152614aa481614a68565b9050919050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000614ae160208361336b565b9150614aec82614aab565b602082019050919050565b60006020820190508181036000830152614b1081614ad4565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000614b4d601c8361336b565b9150614b5882614b17565b602082019050919050565b60006020820190508181036000830152614b7c81614b40565b9050919050565b7f4552433732314d657461646174613a2056657273696f6e20736574206f66206e60008201527f6f6e6578697374656e7420746f6b656e00000000000000000000000000000000602082015250565b6000614bdf60308361336b565b9150614bea82614b83565b604082019050919050565b60006020820190508181036000830152614c0e81614bd2565b9050919050565b6000604082019050614c2a600083018561346b565b614c37602083018461346b565b9392505050565b600081519050614c4d81613b26565b92915050565b600060208284031215614c6957614c686131dc565b5b6000614c7784828501614c3e565b91505092915050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206f7220617070726f76656400000000000000000000000000000000000000602082015250565b6000614cdc602d8361336b565b9150614ce782614c80565b604082019050919050565b60006020820190508181036000830152614d0b81614ccf565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000614d4860198361336b565b9150614d5382614d12565b602082019050919050565b60006020820190508181036000830152614d7781614d3b565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000614e0960258361336b565b9150614e1482614dad565b604082019050919050565b60006020820190508181036000830152614e3881614dfc565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000614e9b60248361336b565b9150614ea682614e3f565b604082019050919050565b60006020820190508181036000830152614eca81614e8e565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000614f2d60328361336b565b9150614f3882614ed1565b604082019050919050565b60006020820190508181036000830152614f5c81614f20565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000614f8a82614f63565b614f948185614f6e565b9350614fa481856020860161337c565b614fad816133a6565b840191505092915050565b6000608082019050614fcd600083018761346b565b614fda602083018661346b565b614fe76040830185613336565b8181036060830152614ff98184614f7f565b905095945050505050565b60008151905061501381613212565b92915050565b60006020828403121561502f5761502e6131dc565b5b600061503d84828501615004565b9150509291505056fea26469706673582212201650d995d40c097b508704a80e0b9b4280d1d459db68dae1ae1d19e083a38f3464736f6c63430008110033

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

00000000000000000000000000000000000000000000000000354a6ba7a180000000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000066000000000000000000000000000000000000000000000000000000000000000090000000000000000000000000000000000000000000000000000000000000ba00000000000000000000000000000000000000000000000000000000000000c200000000000000000000000000000000000000000000000000000000000000c600000000000000000000000000000000000000000000000000000000000000ca0000000000000000000000000c6f5b5853f7a021a5113b2f1bcb0c8ea6c7fe16d0000000000000000000000000000000000000000000000000000000000000029f6d9c1de008d2cc6c395d6ff1abfa06ccb806969dad97d07e5d53297a44b9c1c2006b1b4916b269e0d3fff09ea9821a323a2141f4bd19959291daafcd97929513bbad13d1d622b2fecb11305d8f4c36f6f242934928e1156b9ab9a05cb6f7c8e15c45a243eac24ca50fd161141d15018e2145aef2448a7df8ed3a8cc8e662a6a4b877543c258f52fc322580f6e2efadf56fcb3458a944f1dd4dbed1ee7aac1082c2d399a6009edecdf7e6c2d321da6aebbda72bb59f3d6c1453048d0e0fb7eae118993024042406cae801828410e3c13470b519b9af061de2660eedf6b05dc8845850a80c645b7a4a20efaa4aaf315be74eb7e80fb5afb8d0e83f85d7421c92e11fd035d27a2d33dcdf1265a73407908a3ac9e47f1abc8ee2380291e2a3148855123a929d13f775927e4cc0f8d4b6c7d9801d6bd580a59a9e359256c3aeb10449d6618d01f14f8907d8b9f096137da574cd915d40445ee0adea831a289ffe6ab7d3fbc66e9163f772c85a0f4808ada07ecc144a141672f711883b905bf6128f984a4dd97b33611ece6f245e9e60dcc96611d7de8f34018b017499d0c58534f72aa5e3520fe94ac594406e4aa38e12b6f11d3b836b19056ec9ba867c5fd0a43f8f877a8651767b5484b0fd5d9ce6891733ad56c9c28d0653501dab00db8eff6341cd39e3fe2421d605aa3878c90b7ff510723402a947f11a2e1ae28d97c2401e43ab5fc23c0029f05ae07a804dea2472ed25f1b99f672db0ada4a428188eb92b5c1334a19ecc943a1b33ac52e5e34a9fd8789b45143c851a8ad0bfd70d2157dcfc67fe336e10b8b4f2e22227bc99aefdbac6c37eb1581d0cea9e10082051d5a8c8ce0a1b4adeab1c51ed0c198100f2b99b173aafdc4ccd160a03b3193e7dce0f093d1020e8f5b9f5c8bdd3f9ac9d1081db34990844e6a9a50af659a94556af5e25cd9c795718a253088b566274f07e61886d554b6569e2cb4ad81b61254f19c027a5e47ffd29789a718266df373a85cab89581ae7b98f58a7b750839ba3db3da4f0c066ac7058b54a44eab63734cdd06e2c2d5a808ae001f62ce46f2c087945ca73cbc9eecab97578e47a26dcbb01353a1629b671c4a2aba66616e2ec9a501a7afd393bd6bb13ca3730f9f85644aa59ceb208f69922157316757dd7e693be570c8e592dab801ec469fcdbf24103ac6bee64ea1e61f957fb3d5d83775dc40abba8f050da5edf1144fc31e2b52c734e53305da4ec340e52d062bfd80f4d3df19e666d0c3187387c8d39cb08b35bf5581950bfc9d5cda42a4ec7fc2beaf7538987f4474b2bc3719e825b8e787e087a62e0860241caaac1909f59175cacf8c5c79560dbf7c11f55f379c184615016195657ca96cc9bdd6495061cd92a03f0a70b8a827e5b5e58b4ce2febac29732cd32248ebc0cdb3cfde1900943d764774349c3f164fbf224e3150177f43c6838fef887e6094bad046d0aa2b50273940a4d2579d9654503f0b7f8a5629fc7d149a5f82b3d0c8469967b69d46ac23ebb6e7954db597b4252c5d0f6def9c68e82c42e7f1a52df542bb0e26c6fce80e80900611fef2bd680806f3ce29b447c6991b4ab4fb20f04b6f14f14e160eb4a26e61520fd95a45d2ed6c437b6120ae5613f1e20fec6659b4af1567cfb107d142b6baa28061d0a2fa4993cf0e3187635e59133e1a6d74c42b7c988ac45a9f2c20396962889fbe7822eef1c755eaee341c24325738efae5f9e9917e7dda1184cdf422fd4864c802e017733afdb44f397d8ca941c4a16afad957a26a047ae93b3547c3fe3664ecb2640d3babd8d320ecf18247f405af5a5303ba599d7be111037dc25dab3fdf362d00000000000000000000000000000000000000000000000000000000000000029000000000000000000000000000000000000000000000000000000000000005800000000000000000000000000000000000000000000000000000000000000570000000000000000000000000000000000000000000000000000000000000056000000000000000000000000000000000000000000000000000000000000004f00000000000000000000000000000000000000000000000000000000000000490000000000000000000000000000000000000000000000000000000000000048000000000000000000000000000000000000000000000000000000000000004200000000000000000000000000000000000000000000000000000000000000410000000000000000000000000000000000000000000000000000000000000033000000000000000000000000000000000000000000000000000000000000002800000000000000000000000000000000000000000000000000000000000000260000000000000000000000000000000000000000000000000000000000000025000000000000000000000000000000000000000000000000000000000000002400000000000000000000000000000000000000000000000000000000000000230000000000000000000000000000000000000000000000000000000000000022000000000000000000000000000000000000000000000000000000000000001d000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000001900000000000000000000000000000000000000000000000000000000000000170000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001500000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000013000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000110000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000f000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000000d000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000b000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000009000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000043697066733a2f2f6261667962656964377268776f346972706164726272703634787263696e36777465676c6e78747762346e327236766662687573777836363334652f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001d43616e647920436f6c6c6563746976653a2043616e64792050696c6c73000000000000000000000000000000000000000000000000000000000000000000000943414e445950494c4c0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000643ecc900000000000000000000000000000000000000000000000000000000064401e10

-----Decoded View---------------
Arg [0] : price_ (uint256): 15000000000000000
Arg [1] : roots_ (bytes32[]): System.Byte[],System.Byte[],System.Byte[],System.Byte[],System.Byte[],System.Byte[],System.Byte[],System.Byte[],System.Byte[],System.Byte[],System.Byte[],System.Byte[],System.Byte[],System.Byte[],System.Byte[],System.Byte[],System.Byte[],System.Byte[],System.Byte[],System.Byte[],System.Byte[],System.Byte[],System.Byte[],System.Byte[],System.Byte[],System.Byte[],System.Byte[],System.Byte[],System.Byte[],System.Byte[],System.Byte[],System.Byte[],System.Byte[],System.Byte[],System.Byte[],System.Byte[],System.Byte[],System.Byte[],System.Byte[],System.Byte[],System.Byte[]
Arg [2] : maxPerWalletWL_ (uint256[]): 88,87,86,79,73,72,66,65,51,40,38,37,36,35,34,29,28,25,23,22,21,20,19,18,17,16,15,14,13,12,11,10,9,8,7,6,5,4,3,2,1
Arg [3] : maxPerWallet_ (uint256): 9
Arg [4] : baseUri (string): ipfs://bafybeid7rhwo4irpadrbrp64xrcin6wteglnxtwb4n2r6vfbhuswx6634e/
Arg [5] : name_ (string): Candy Collective: Candy Pills
Arg [6] : symbol_ (string): CANDYPILL
Arg [7] : times_ (uint256[]): 1681837200,1681923600
Arg [8] : fundsRecipient_ (address): 0xc6F5B5853f7a021A5113B2F1BCB0c8eA6C7Fe16D

-----Encoded View---------------
104 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000354a6ba7a18000
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000660
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000009
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000ba0
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000c20
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000c60
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000ca0
Arg [8] : 000000000000000000000000c6f5b5853f7a021a5113b2f1bcb0c8ea6c7fe16d
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000029
Arg [10] : f6d9c1de008d2cc6c395d6ff1abfa06ccb806969dad97d07e5d53297a44b9c1c
Arg [11] : 2006b1b4916b269e0d3fff09ea9821a323a2141f4bd19959291daafcd9792951
Arg [12] : 3bbad13d1d622b2fecb11305d8f4c36f6f242934928e1156b9ab9a05cb6f7c8e
Arg [13] : 15c45a243eac24ca50fd161141d15018e2145aef2448a7df8ed3a8cc8e662a6a
Arg [14] : 4b877543c258f52fc322580f6e2efadf56fcb3458a944f1dd4dbed1ee7aac108
Arg [15] : 2c2d399a6009edecdf7e6c2d321da6aebbda72bb59f3d6c1453048d0e0fb7eae
Arg [16] : 118993024042406cae801828410e3c13470b519b9af061de2660eedf6b05dc88
Arg [17] : 45850a80c645b7a4a20efaa4aaf315be74eb7e80fb5afb8d0e83f85d7421c92e
Arg [18] : 11fd035d27a2d33dcdf1265a73407908a3ac9e47f1abc8ee2380291e2a314885
Arg [19] : 5123a929d13f775927e4cc0f8d4b6c7d9801d6bd580a59a9e359256c3aeb1044
Arg [20] : 9d6618d01f14f8907d8b9f096137da574cd915d40445ee0adea831a289ffe6ab
Arg [21] : 7d3fbc66e9163f772c85a0f4808ada07ecc144a141672f711883b905bf6128f9
Arg [22] : 84a4dd97b33611ece6f245e9e60dcc96611d7de8f34018b017499d0c58534f72
Arg [23] : aa5e3520fe94ac594406e4aa38e12b6f11d3b836b19056ec9ba867c5fd0a43f8
Arg [24] : f877a8651767b5484b0fd5d9ce6891733ad56c9c28d0653501dab00db8eff634
Arg [25] : 1cd39e3fe2421d605aa3878c90b7ff510723402a947f11a2e1ae28d97c2401e4
Arg [26] : 3ab5fc23c0029f05ae07a804dea2472ed25f1b99f672db0ada4a428188eb92b5
Arg [27] : c1334a19ecc943a1b33ac52e5e34a9fd8789b45143c851a8ad0bfd70d2157dcf
Arg [28] : c67fe336e10b8b4f2e22227bc99aefdbac6c37eb1581d0cea9e10082051d5a8c
Arg [29] : 8ce0a1b4adeab1c51ed0c198100f2b99b173aafdc4ccd160a03b3193e7dce0f0
Arg [30] : 93d1020e8f5b9f5c8bdd3f9ac9d1081db34990844e6a9a50af659a94556af5e2
Arg [31] : 5cd9c795718a253088b566274f07e61886d554b6569e2cb4ad81b61254f19c02
Arg [32] : 7a5e47ffd29789a718266df373a85cab89581ae7b98f58a7b750839ba3db3da4
Arg [33] : f0c066ac7058b54a44eab63734cdd06e2c2d5a808ae001f62ce46f2c087945ca
Arg [34] : 73cbc9eecab97578e47a26dcbb01353a1629b671c4a2aba66616e2ec9a501a7a
Arg [35] : fd393bd6bb13ca3730f9f85644aa59ceb208f69922157316757dd7e693be570c
Arg [36] : 8e592dab801ec469fcdbf24103ac6bee64ea1e61f957fb3d5d83775dc40abba8
Arg [37] : f050da5edf1144fc31e2b52c734e53305da4ec340e52d062bfd80f4d3df19e66
Arg [38] : 6d0c3187387c8d39cb08b35bf5581950bfc9d5cda42a4ec7fc2beaf7538987f4
Arg [39] : 474b2bc3719e825b8e787e087a62e0860241caaac1909f59175cacf8c5c79560
Arg [40] : dbf7c11f55f379c184615016195657ca96cc9bdd6495061cd92a03f0a70b8a82
Arg [41] : 7e5b5e58b4ce2febac29732cd32248ebc0cdb3cfde1900943d764774349c3f16
Arg [42] : 4fbf224e3150177f43c6838fef887e6094bad046d0aa2b50273940a4d2579d96
Arg [43] : 54503f0b7f8a5629fc7d149a5f82b3d0c8469967b69d46ac23ebb6e7954db597
Arg [44] : b4252c5d0f6def9c68e82c42e7f1a52df542bb0e26c6fce80e80900611fef2bd
Arg [45] : 680806f3ce29b447c6991b4ab4fb20f04b6f14f14e160eb4a26e61520fd95a45
Arg [46] : d2ed6c437b6120ae5613f1e20fec6659b4af1567cfb107d142b6baa28061d0a2
Arg [47] : fa4993cf0e3187635e59133e1a6d74c42b7c988ac45a9f2c20396962889fbe78
Arg [48] : 22eef1c755eaee341c24325738efae5f9e9917e7dda1184cdf422fd4864c802e
Arg [49] : 017733afdb44f397d8ca941c4a16afad957a26a047ae93b3547c3fe3664ecb26
Arg [50] : 40d3babd8d320ecf18247f405af5a5303ba599d7be111037dc25dab3fdf362d0
Arg [51] : 0000000000000000000000000000000000000000000000000000000000000029
Arg [52] : 0000000000000000000000000000000000000000000000000000000000000058
Arg [53] : 0000000000000000000000000000000000000000000000000000000000000057
Arg [54] : 0000000000000000000000000000000000000000000000000000000000000056
Arg [55] : 000000000000000000000000000000000000000000000000000000000000004f
Arg [56] : 0000000000000000000000000000000000000000000000000000000000000049
Arg [57] : 0000000000000000000000000000000000000000000000000000000000000048
Arg [58] : 0000000000000000000000000000000000000000000000000000000000000042
Arg [59] : 0000000000000000000000000000000000000000000000000000000000000041
Arg [60] : 0000000000000000000000000000000000000000000000000000000000000033
Arg [61] : 0000000000000000000000000000000000000000000000000000000000000028
Arg [62] : 0000000000000000000000000000000000000000000000000000000000000026
Arg [63] : 0000000000000000000000000000000000000000000000000000000000000025
Arg [64] : 0000000000000000000000000000000000000000000000000000000000000024
Arg [65] : 0000000000000000000000000000000000000000000000000000000000000023
Arg [66] : 0000000000000000000000000000000000000000000000000000000000000022
Arg [67] : 000000000000000000000000000000000000000000000000000000000000001d
Arg [68] : 000000000000000000000000000000000000000000000000000000000000001c
Arg [69] : 0000000000000000000000000000000000000000000000000000000000000019
Arg [70] : 0000000000000000000000000000000000000000000000000000000000000017
Arg [71] : 0000000000000000000000000000000000000000000000000000000000000016
Arg [72] : 0000000000000000000000000000000000000000000000000000000000000015
Arg [73] : 0000000000000000000000000000000000000000000000000000000000000014
Arg [74] : 0000000000000000000000000000000000000000000000000000000000000013
Arg [75] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [76] : 0000000000000000000000000000000000000000000000000000000000000011
Arg [77] : 0000000000000000000000000000000000000000000000000000000000000010
Arg [78] : 000000000000000000000000000000000000000000000000000000000000000f
Arg [79] : 000000000000000000000000000000000000000000000000000000000000000e
Arg [80] : 000000000000000000000000000000000000000000000000000000000000000d
Arg [81] : 000000000000000000000000000000000000000000000000000000000000000c
Arg [82] : 000000000000000000000000000000000000000000000000000000000000000b
Arg [83] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [84] : 0000000000000000000000000000000000000000000000000000000000000009
Arg [85] : 0000000000000000000000000000000000000000000000000000000000000008
Arg [86] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [87] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [88] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [89] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [90] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [91] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [92] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [93] : 0000000000000000000000000000000000000000000000000000000000000043
Arg [94] : 697066733a2f2f6261667962656964377268776f346972706164726272703634
Arg [95] : 787263696e36777465676c6e78747762346e3272367666626875737778363633
Arg [96] : 34652f0000000000000000000000000000000000000000000000000000000000
Arg [97] : 000000000000000000000000000000000000000000000000000000000000001d
Arg [98] : 43616e647920436f6c6c6563746976653a2043616e64792050696c6c73000000
Arg [99] : 0000000000000000000000000000000000000000000000000000000000000009
Arg [100] : 43414e445950494c4c0000000000000000000000000000000000000000000000
Arg [101] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [102] : 00000000000000000000000000000000000000000000000000000000643ecc90
Arg [103] : 0000000000000000000000000000000000000000000000000000000064401e10


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.