ETH Price: $3,572.55 (-1.03%)
 

Overview

Max Total Supply

0 HOOMANS

Holders

671

Transfers

-
1 ( -75.00%)

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

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

Click here to update the token information / general information

Contract Source Code Verified (Exact Match)

Contract Name:
Hoomans

Compiler Version
v0.8.26+commit.8a97fa7a

Optimization Enabled:
No with 200 runs

Other Settings:
paris EvmVersion
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.26;

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/utils/ReentrancyGuard.sol";

contract Hoomans is ERC721, Ownable, ReentrancyGuard {
    // Merkle Root Variables
    bytes32 public wlMerkleRoot;
    bytes32 public fcfsMerkleRoot;

    mapping(address => uint256) public wlMintedCount;
    mapping(address => uint256) public fcfsMintedCount;
    mapping(address => uint256) public publicMintedCount;

    // Contract Variables
    string private revealedBaseURI;
    string private unrevealedURI;

    uint256 public wlMintPrice = 4200000000000000; //0.0042 ETH mint price
    uint256 public publicMintPrice = 5000000000000000; //0.005 ETH mint price for whitelist

    uint256 public constant MAX_WL_MINT = 5; // Whitelist max mint number
    uint256 public constant MAX_FCFS_MINT = 10; // FCFS max mint number
    uint256 public constant MAX_PUBLIC_MINT = 10; // Public max mint number
    uint256 public constant MAX_SUPPLY = 2000; // Maximum number of NFTs

    uint256 public wlMinted = 0; // Total number of WL NFTs minted so far
    uint256 public fcfsMinted = 0; // Total number of FCFS NFTs minted so far
    uint256 public publicMinted = 0; // Total number of Public NFTs minted so far
    uint256 public totalMinted = 0; // Total number of NFTs minted so far

    // State Variables
    bool public isPaused = false;
    bool public revealed = false;
    bool public whitelistOpen = false;
    bool public fcfsOpen = false;
    bool public publicOpen = false;

    // Events
    event WhitelistMinted(address indexed to, uint256 tokenId);
    event FcfsMinted(address indexed to, uint256 tokenId);
    event PublicMinted(address indexed to, uint256 tokenId);
    event OwnerMinted(address indexed to, uint256 tokenId);
    event OwnerMintedToFriends(address indexed to, uint256 tokenId);
    event Airdrop(address indexed to, uint256 tokenId);

    event Withdrawn(uint256 amount, address withdrawnTo);
    event BaseURIUpdated(string newBaseURI, address updatedBy);
    event CollectionRevealed(string newBaseURI);
    event EtherReceived(address sender, uint amount);

    // Constructor
    constructor(
        bytes32 wlMerkleRoot_,
        bytes32 fcfsMerkleRoot_,
        address initialOwner
    ) ERC721("Hoomans", "HOOMANS") Ownable(initialOwner) {
        unrevealedURI = "https://arweave.net/rl-SkK2bA9K1Ahs4SstMlPJdXjjSPDJFGBtIuCQ10Ro/"; // Default URI
        wlMerkleRoot = wlMerkleRoot_;
        fcfsMerkleRoot = fcfsMerkleRoot_;
    }

    // Check if address is whitelisted
    function checkIsWhitelisted(
        bytes32[] calldata _merkleProof
    ) public view returns (bool) {
        bytes32 leaf = keccak256(abi.encodePacked(msg.sender));

        // Check against the WL Merkle Root
        if (MerkleProof.verify(_merkleProof, wlMerkleRoot, leaf)) {
            return true;
        }

        // Address is not whitelisted
        return false;
    }

    // Check if address is FCFS
    function checkIsFcfs(
        bytes32[] calldata _merkleProof
    ) public view returns (bool) {
        bytes32 leaf = keccak256(abi.encodePacked(msg.sender));

        // Check against the FCFS Merkle Root
        if (MerkleProof.verify(_merkleProof, fcfsMerkleRoot, leaf)) {
            return true;
        }

        // Address is not FCFS
        return false;
    }

    // Airdrop NFTs to Whitelisted Addresses
    function airdrop(
        address[] calldata toAddresses
    ) public onlyOwner whenNotPaused {
        require(
            totalMinted + toAddresses.length <= MAX_SUPPLY,
            "Minting would exceed max supply"
        );

        for (uint256 i = 0; i < toAddresses.length; i++) {
            address to = toAddresses[i];

            mintTokens(to, 1, MintType.Airdrop);
        }
    }

    // Whitelist Mint
    function whitelistMint(
        bytes32[] calldata _merkleProof,
        uint256 numTokens
    ) public payable nonReentrant whenNotPaused {
        require(whitelistOpen, "Whitelist sale is not open");
        require(totalMinted + numTokens <= MAX_SUPPLY, "Exceeds max supply");
        require(
            numTokens > 0 && numTokens <= MAX_WL_MINT,
            "Cannot mint more than allowed"
        );
        require(
            wlMintedCount[msg.sender] + numTokens <= MAX_WL_MINT,
            "Exceeds WL limit"
        );

        // Find Leaf
        bytes32 leaf = keccak256(abi.encodePacked(msg.sender));
        bytes32 merkleRoot = wlMerkleRoot;

        require(
            MerkleProof.verify(_merkleProof, merkleRoot, leaf),
            "Invalid Address: WL Group"
        );

        // Calculate token cost
        uint256 cost = calculateCost(numTokens);
        require(msg.value == cost, "Incorrect ETH value sent");

        // Mint tokens
        mintTokens(msg.sender, numTokens, MintType.Whitelist);

        // Add WL token count
        wlMintedCount[msg.sender] += numTokens;
        wlMinted += numTokens;
    }

    // FCFS Mint
    function fcfsMint(
        bytes32[] calldata _merkleProof,
        uint256 numTokens
    ) public payable nonReentrant whenNotPaused {
        require(fcfsOpen, "FCFS sale is not open");
        require(totalMinted + numTokens <= MAX_SUPPLY, "Exceeds max supply");
        require(
            numTokens > 0 && numTokens <= MAX_FCFS_MINT,
            "Cannot mint more than allowed"
        );
        require(
            fcfsMintedCount[msg.sender] + numTokens <= MAX_FCFS_MINT,
            "Exceeds FCFS limit"
        );

        // Find Leaf
        bytes32 leaf = keccak256(abi.encodePacked(msg.sender));
        bytes32 merkleRoot = fcfsMerkleRoot;

        require(
            MerkleProof.verify(_merkleProof, merkleRoot, leaf),
            "Invalid Address: FCFS Group"
        );

        // Calculate token cost
        uint256 cost = calculateCost(numTokens);
        require(msg.value == cost, "Incorrect ETH value sent");

        // Mint tokens
        mintTokens(msg.sender, numTokens, MintType.Fcfs);

        // Add FCFS token count
        fcfsMintedCount[msg.sender] += numTokens;
        fcfsMinted += numTokens;
    }

    // Public Mint
    function publicMint(
        uint256 numTokens
    ) public payable nonReentrant whenNotPaused {
        require(publicOpen, "Public sale is not open");
        require(numTokens > 0, "Must mint at least one token");
        require(totalMinted + numTokens <= MAX_SUPPLY, "Exceeds max supply");
        require(
            numTokens > 0 && numTokens <= MAX_PUBLIC_MINT,
            "Cannot mint more than allowed"
        );
        require(
            publicMintedCount[msg.sender] + numTokens <= MAX_PUBLIC_MINT,
            "Exceeds public mint limit"
        );
        require(
            msg.value == publicMintPrice * numTokens,
            "Incorrect ETH value sent"
        );

        // Mint Tokens
        mintTokens(msg.sender, numTokens, MintType.Public);

        // Add Public token count
        publicMintedCount[msg.sender] += numTokens;
        publicMinted += numTokens;
    }

    // Owner Mint
    function ownerMint(
        address to,
        uint256 numTokens
    ) public onlyOwner whenNotPaused {
        require(
            totalMinted + numTokens <= MAX_SUPPLY,
            "Minting would exceed max supply"
        );
        require(numTokens > 0, "Must mint at least one token");
        require(
            numTokens <= 20,
            "Owner can only mint up to 20 tokens at a time"
        );

        mintTokens(to, numTokens, MintType.Owner);
    }

    // Withdraw Function
    function withdraw(
        address payable withdrawalAddress,
        uint256 amount
    ) external onlyOwner nonReentrant {
        require(withdrawalAddress != address(0), "Invalid withdrawal address");
        require(amount > 0, "Amount must be greater than 0");
        require(
            address(this).balance >= amount,
            "Insufficient contract balance"
        );

        (bool sent, ) = withdrawalAddress.call{value: amount}("");
        require(sent, "Failed to send Ether");
        emit Withdrawn(amount, withdrawalAddress);
    }

    //Reveal NFTs
    function reveal(string memory _newBaseURI) external onlyOwner {
        revealed = true;
        revealedBaseURI = _newBaseURI;
        emit CollectionRevealed(_newBaseURI);
    }

    // Sale State Functions
    function startWhitelistSale() external onlyOwner {
        whitelistOpen = true;
    }

    function startFcfsSale() external onlyOwner {
        fcfsOpen = true;
    }

    function startPublicSale() external onlyOwner {
        publicOpen = true;
    }

    function stopWhitelistSale() external onlyOwner {
        whitelistOpen = false;
    }

    function stopFcfsSale() external onlyOwner {
        fcfsOpen = false;
    }

    function stopPublicSale() external onlyOwner {
        publicOpen = false;
    }

    // Pause Functions
    modifier whenNotPaused() {
        require(!isPaused, "Contract is paused");
        _;
    }

    function pause() external onlyOwner {
        isPaused = true;
    }

    function unpause() external onlyOwner {
        isPaused = false;
    }

    // Override Functions
    function tokenURI(
        uint256 tokenId
    ) public view virtual override returns (string memory) {
        _requireOwned(tokenId);
        string memory baseURI = revealed ? revealedBaseURI : unrevealedURI;

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

    // Calculate cost
    function calculateCost(uint256 numTokens) private view returns (uint256) {
        uint256 cost = 0;
        cost = numTokens * wlMintPrice;
        return cost;
    }

    // Mint tokens
    enum MintType {
        Public,
        Whitelist,
        Fcfs,
        Owner,
        Airdrop
    }

    function mintTokens(
        address to,
        uint256 numTokens,
        MintType mintType
    ) private {
        for (uint256 i = 0; i < numTokens; i++) {
            uint256 newTokenId = totalMinted + 1;
            _mint(to, newTokenId);
            totalMinted++;
            if (mintType == MintType.Public) {
                emit PublicMinted(to, newTokenId);
            } else if (mintType == MintType.Whitelist) {
                emit WhitelistMinted(to, newTokenId);
            } else if (mintType == MintType.Fcfs) {
                emit FcfsMinted(to, newTokenId);
            } else if (mintType == MintType.Owner) {
                emit OwnerMinted(to, newTokenId);
            } else if (mintType == MintType.Airdrop) {
                emit Airdrop(to, newTokenId);
            }
        }
    }

    // Setter Functions
    function setRevealedBaseURI(string memory newBaseURI) external onlyOwner {
        revealedBaseURI = newBaseURI;
        emit BaseURIUpdated(newBaseURI, msg.sender);
    }

    function setWlMintPrice(uint256 newWlMintPrice) external onlyOwner {
        wlMintPrice = newWlMintPrice;
    }

    function setPublicMintPrice(uint256 newPublicMintPrice) external onlyOwner {
        publicMintPrice = newPublicMintPrice;
    }

    function setWl(bytes32 wlMerkleRoot_) external onlyOwner {
        wlMerkleRoot = wlMerkleRoot_;
    }

    function setFcfs(bytes32 fcfsMerkleRoot_) external onlyOwner {
        fcfsMerkleRoot = fcfsMerkleRoot_;
    }

    // Fallback Functions
    fallback() external payable {
        emit EtherReceived(msg.sender, msg.value);
    }

    receive() external payable {
        emit EtherReceived(msg.sender, msg.value);
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)

pragma solidity ^0.8.20;

import {Context} from "../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.
 *
 * The initial owner is set to the address provided by the deployer. 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;

    /**
     * @dev The caller account is not authorized to perform an operation.
     */
    error OwnableUnauthorizedAccount(address account);

    /**
     * @dev The owner is not a valid owner account. (eg. `address(0)`)
     */
    error OwnableInvalidOwner(address owner);

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

    /**
     * @dev Initializes the contract setting the address provided by the deployer as the initial owner.
     */
    constructor(address initialOwner) {
        if (initialOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(initialOwner);
    }

    /**
     * @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 {
        if (owner() != _msgSender()) {
            revert OwnableUnauthorizedAccount(_msgSender());
        }
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby disabling 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 {
        if (newOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _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);
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/draft-IERC6093.sol)
pragma solidity ^0.8.20;

/**
 * @dev Standard ERC20 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC20 tokens.
 */
interface IERC20Errors {
    /**
     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param balance Current balance for the interacting account.
     * @param needed Minimum amount required to perform a transfer.
     */
    error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC20InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC20InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers.
     * @param spender Address that may be allowed to operate on tokens without being their owner.
     * @param allowance Amount of tokens a `spender` is allowed to operate with.
     * @param needed Minimum amount required to perform a transfer.
     */
    error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC20InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `spender` to be approved. Used in approvals.
     * @param spender Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC20InvalidSpender(address spender);
}

/**
 * @dev Standard ERC721 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC721 tokens.
 */
interface IERC721Errors {
    /**
     * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in EIP-20.
     * Used in balance queries.
     * @param owner Address of the current owner of a token.
     */
    error ERC721InvalidOwner(address owner);

    /**
     * @dev Indicates a `tokenId` whose `owner` is the zero address.
     * @param tokenId Identifier number of a token.
     */
    error ERC721NonexistentToken(uint256 tokenId);

    /**
     * @dev Indicates an error related to the ownership over a particular token. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param tokenId Identifier number of a token.
     * @param owner Address of the current owner of a token.
     */
    error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC721InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC721InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     * @param tokenId Identifier number of a token.
     */
    error ERC721InsufficientApproval(address operator, uint256 tokenId);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC721InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC721InvalidOperator(address operator);
}

/**
 * @dev Standard ERC1155 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC1155 tokens.
 */
interface IERC1155Errors {
    /**
     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param balance Current balance for the interacting account.
     * @param needed Minimum amount required to perform a transfer.
     * @param tokenId Identifier number of a token.
     */
    error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC1155InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC1155InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     * @param owner Address of the current owner of a token.
     */
    error ERC1155MissingApprovalForAll(address operator, address owner);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC1155InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC1155InvalidOperator(address operator);

    /**
     * @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation.
     * Used in batch transfers.
     * @param idsLength Length of the array of token identifiers
     * @param valuesLength Length of the array of token amounts
     */
    error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength);
}

File 4 of 15 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/ERC721.sol)

pragma solidity ^0.8.20;

import {IERC721} from "./IERC721.sol";
import {IERC721Receiver} from "./IERC721Receiver.sol";
import {IERC721Metadata} from "./extensions/IERC721Metadata.sol";
import {Context} from "../../utils/Context.sol";
import {Strings} from "../../utils/Strings.sol";
import {IERC165, ERC165} from "../../utils/introspection/ERC165.sol";
import {IERC721Errors} from "../../interfaces/draft-IERC6093.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}.
 */
abstract contract ERC721 is Context, ERC165, IERC721, IERC721Metadata, IERC721Errors {
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    mapping(uint256 tokenId => address) private _owners;

    mapping(address owner => uint256) private _balances;

    mapping(uint256 tokenId => address) private _tokenApprovals;

    mapping(address owner => mapping(address operator => 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 returns (uint256) {
        if (owner == address(0)) {
            revert ERC721InvalidOwner(address(0));
        }
        return _balances[owner];
    }

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

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

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

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

        string memory baseURI = _baseURI();
        return bytes(baseURI).length > 0 ? string.concat(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 {
        _approve(to, tokenId, _msgSender());
    }

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

        return _getApproved(tokenId);
    }

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

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

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(address from, address to, uint256 tokenId) public virtual {
        if (to == address(0)) {
            revert ERC721InvalidReceiver(address(0));
        }
        // Setting an "auth" arguments enables the `_isAuthorized` check which verifies that the token exists
        // (from != 0). Therefore, it is not needed to verify that the return value is not 0 here.
        address previousOwner = _update(to, tokenId, _msgSender());
        if (previousOwner != from) {
            revert ERC721IncorrectOwner(from, tokenId, previousOwner);
        }
    }

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

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public virtual {
        transferFrom(from, to, tokenId);
        _checkOnERC721Received(from, to, tokenId, data);
    }

    /**
     * @dev Returns the owner of the `tokenId`. Does NOT revert if token doesn't exist
     *
     * IMPORTANT: Any overrides to this function that add ownership of tokens not tracked by the
     * core ERC721 logic MUST be matched with the use of {_increaseBalance} to keep balances
     * consistent with ownership. The invariant to preserve is 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`.
     */
    function _ownerOf(uint256 tokenId) internal view virtual returns (address) {
        return _owners[tokenId];
    }

    /**
     * @dev Returns the approved address for `tokenId`. Returns 0 if `tokenId` is not minted.
     */
    function _getApproved(uint256 tokenId) internal view virtual returns (address) {
        return _tokenApprovals[tokenId];
    }

    /**
     * @dev Returns whether `spender` is allowed to manage `owner`'s tokens, or `tokenId` in
     * particular (ignoring whether it is owned by `owner`).
     *
     * WARNING: This function assumes that `owner` is the actual owner of `tokenId` and does not verify this
     * assumption.
     */
    function _isAuthorized(address owner, address spender, uint256 tokenId) internal view virtual returns (bool) {
        return
            spender != address(0) &&
            (owner == spender || isApprovedForAll(owner, spender) || _getApproved(tokenId) == spender);
    }

    /**
     * @dev Checks if `spender` can operate on `tokenId`, assuming the provided `owner` is the actual owner.
     * Reverts if `spender` does not have approval from the provided `owner` for the given token or for all its assets
     * the `spender` for the specific `tokenId`.
     *
     * WARNING: This function assumes that `owner` is the actual owner of `tokenId` and does not verify this
     * assumption.
     */
    function _checkAuthorized(address owner, address spender, uint256 tokenId) internal view virtual {
        if (!_isAuthorized(owner, spender, tokenId)) {
            if (owner == address(0)) {
                revert ERC721NonexistentToken(tokenId);
            } else {
                revert ERC721InsufficientApproval(spender, tokenId);
            }
        }
    }

    /**
     * @dev Unsafe write access to the balances, used by extensions that "mint" tokens using an {ownerOf} override.
     *
     * NOTE: the value is limited to type(uint128).max. This protect against _balance overflow. It is unrealistic that
     * a uint256 would ever overflow from increments when these increments are bounded to uint128 values.
     *
     * WARNING: Increasing an account's balance using this function tends to be paired with an override of the
     * {_ownerOf} function to resolve the ownership of the corresponding tokens so that balances and ownership
     * remain consistent with one another.
     */
    function _increaseBalance(address account, uint128 value) internal virtual {
        unchecked {
            _balances[account] += value;
        }
    }

    /**
     * @dev Transfers `tokenId` from its current owner to `to`, or alternatively mints (or burns) if the current owner
     * (or `to`) is the zero address. Returns the owner of the `tokenId` before the update.
     *
     * The `auth` argument is optional. If the value passed is non 0, then this function will check that
     * `auth` is either the owner of the token, or approved to operate on the token (by the owner).
     *
     * Emits a {Transfer} event.
     *
     * NOTE: If overriding this function in a way that tracks balances, see also {_increaseBalance}.
     */
    function _update(address to, uint256 tokenId, address auth) internal virtual returns (address) {
        address from = _ownerOf(tokenId);

        // Perform (optional) operator check
        if (auth != address(0)) {
            _checkAuthorized(from, auth, tokenId);
        }

        // Execute the update
        if (from != address(0)) {
            // Clear approval. No need to re-authorize or emit the Approval event
            _approve(address(0), tokenId, address(0), false);

            unchecked {
                _balances[from] -= 1;
            }
        }

        if (to != address(0)) {
            unchecked {
                _balances[to] += 1;
            }
        }

        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);

        return from;
    }

    /**
     * @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 {
        if (to == address(0)) {
            revert ERC721InvalidReceiver(address(0));
        }
        address previousOwner = _update(to, tokenId, address(0));
        if (previousOwner != address(0)) {
            revert ERC721InvalidSender(address(0));
        }
    }

    /**
     * @dev Mints `tokenId`, transfers it to `to` and checks for `to` acceptance.
     *
     * 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 {
        _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);
        _checkOnERC721Received(address(0), to, tokenId, data);
    }

    /**
     * @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 {
        address previousOwner = _update(address(0), tokenId, address(0));
        if (previousOwner == address(0)) {
            revert ERC721NonexistentToken(tokenId);
        }
    }

    /**
     * @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 {
        if (to == address(0)) {
            revert ERC721InvalidReceiver(address(0));
        }
        address previousOwner = _update(to, tokenId, address(0));
        if (previousOwner == address(0)) {
            revert ERC721NonexistentToken(tokenId);
        } else if (previousOwner != from) {
            revert ERC721IncorrectOwner(from, tokenId, previousOwner);
        }
    }

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking that contract recipients
     * are aware of the ERC721 standard 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 like {safeTransferFrom} in the sense that it invokes
     * {IERC721Receiver-onERC721Received} on the receiver, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `tokenId` token must exist and be owned by `from`.
     * - `to` cannot be the zero address.
     * - `from` cannot be the zero address.
     * - 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) internal {
        _safeTransfer(from, to, tokenId, "");
    }

    /**
     * @dev Same as {xref-ERC721-_safeTransfer-address-address-uint256-}[`_safeTransfer`], with an additional `data` parameter which is
     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
     */
    function _safeTransfer(address from, address to, uint256 tokenId, bytes memory data) internal virtual {
        _transfer(from, to, tokenId);
        _checkOnERC721Received(from, to, tokenId, data);
    }

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * The `auth` argument is optional. If the value passed is non 0, then this function will check that `auth` is
     * either the owner of the token, or approved to operate on all tokens held by this owner.
     *
     * Emits an {Approval} event.
     *
     * Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument.
     */
    function _approve(address to, uint256 tokenId, address auth) internal {
        _approve(to, tokenId, auth, true);
    }

    /**
     * @dev Variant of `_approve` with an optional flag to enable or disable the {Approval} event. The event is not
     * emitted in the context of transfers.
     */
    function _approve(address to, uint256 tokenId, address auth, bool emitEvent) internal virtual {
        // Avoid reading the owner unless necessary
        if (emitEvent || auth != address(0)) {
            address owner = _requireOwned(tokenId);

            // We do not use _isAuthorized because single-token approvals should not be able to call approve
            if (auth != address(0) && owner != auth && !isApprovedForAll(owner, auth)) {
                revert ERC721InvalidApprover(auth);
            }

            if (emitEvent) {
                emit Approval(owner, to, tokenId);
            }
        }

        _tokenApprovals[tokenId] = to;
    }

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Requirements:
     * - operator can't be the address zero.
     *
     * Emits an {ApprovalForAll} event.
     */
    function _setApprovalForAll(address owner, address operator, bool approved) internal virtual {
        if (operator == address(0)) {
            revert ERC721InvalidOperator(operator);
        }
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @dev Reverts if the `tokenId` doesn't have a current owner (it hasn't been minted, or it has been burned).
     * Returns the owner.
     *
     * Overrides to ownership logic should be done to {_ownerOf}.
     */
    function _requireOwned(uint256 tokenId) internal view returns (address) {
        address owner = _ownerOf(tokenId);
        if (owner == address(0)) {
            revert ERC721NonexistentToken(tokenId);
        }
        return owner;
    }

    /**
     * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target address. This will revert if the
     * recipient doesn't accept the token transfer. 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
     */
    function _checkOnERC721Received(address from, address to, uint256 tokenId, bytes memory data) private {
        if (to.code.length > 0) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) {
                if (retval != IERC721Receiver.onERC721Received.selector) {
                    revert ERC721InvalidReceiver(to);
                }
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert ERC721InvalidReceiver(to);
                } else {
                    /// @solidity memory-safe-assembly
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        }
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.20;

import {IERC721} from "../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);
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.20;

import {IERC165} from "../../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 address zero.
     *
     * 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 7 of 15 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.20;

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

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)

pragma solidity ^0.8.20;

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

    function _contextSuffixLength() internal view virtual returns (uint256) {
        return 0;
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.20;

/**
 * @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 The multiproof provided is not valid.
     */
    error MerkleProofInvalidMultiproof();

    /**
     * @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}
     */
    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.
     */
    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}
     */
    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.
     */
    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.
     */
    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).
     */
    function processMultiProof(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuilds 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 proofLen = proof.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        if (leavesLen + proofLen != totalHashes + 1) {
            revert MerkleProofInvalidMultiproof();
        }

        // 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 from 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) {
            if (proofPos != proofLen) {
                revert MerkleProofInvalidMultiproof();
            }
            unchecked {
                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.
     */
    function processMultiProofCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuilds 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 proofLen = proof.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        if (leavesLen + proofLen != totalHashes + 1) {
            revert MerkleProofInvalidMultiproof();
        }

        // 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 from 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) {
            if (proofPos != proofLen) {
                revert MerkleProofInvalidMultiproof();
            }
            unchecked {
                return hashes[totalHashes - 1];
            }
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    /**
     * @dev Sorts the pair (a, b) and hashes the result.
     */
    function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) {
        return a < b ? _efficientHash(a, b) : _efficientHash(b, a);
    }

    /**
     * @dev Implementation of keccak256(abi.encode(a, b)) that doesn't allocate or expand memory.
     */
    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)
        }
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/ERC165.sol)

pragma solidity ^0.8.20;

import {IERC165} from "./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);
 * }
 * ```
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/IERC165.sol)

pragma solidity ^0.8.20;

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

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/math/Math.sol)

pragma solidity ^0.8.20;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    /**
     * @dev Muldiv operation overflow.
     */
    error MathOverflowedMulDiv();

    enum Rounding {
        Floor, // Toward negative infinity
        Ceil, // Toward positive infinity
        Trunc, // Toward zero
        Expand // Away from zero
    }

    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

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

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

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

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

    /**
     * @dev Returns the 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 towards infinity instead
     * of rounding towards zero.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        if (b == 0) {
            // Guarantee the same behavior as in a regular Solidity division.
            return a / b;
        }

        // (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 = x * y; // Least significant 256 bits of the product
            uint256 prod1; // Most significant 256 bits of the product
            assembly {
                let mm := mulmod(x, y, not(0))
                prod1 := sub(sub(mm, prod0), lt(mm, prod0))
            }

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                // Solidity will revert if denominator == 0, unlike the div opcode on its own.
                // The surrounding unchecked block does not change this fact.
                // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic.
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            if (denominator <= prod1) {
                revert MathOverflowedMulDiv();
            }

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

            uint256 twos = denominator & (0 - denominator);
            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 (unsignedRoundsUp(rounding) && 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
     * towards zero.
     *
     * 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 + (unsignedRoundsUp(rounding) && result * result < a ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 2 of a positive value rounded towards zero.
     * 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 + (unsignedRoundsUp(rounding) && 1 << result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 10 of a positive value rounded towards zero.
     * 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 + (unsignedRoundsUp(rounding) && 10 ** result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 256 of a positive value rounded towards zero.
     * 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 256, 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 + (unsignedRoundsUp(rounding) && 1 << (result << 3) < value ? 1 : 0);
        }
    }

    /**
     * @dev Returns whether a provided rounding mode is considered rounding up for unsigned integers.
     */
    function unsignedRoundsUp(Rounding rounding) internal pure returns (bool) {
        return uint8(rounding) % 2 == 1;
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/math/SignedMath.sol)

pragma solidity ^0.8.20;

/**
 * @dev Standard signed math utilities missing in the Solidity language.
 */
library SignedMath {
    /**
     * @dev Returns the largest of two signed numbers.
     */
    function max(int256 a, int256 b) internal pure returns (int256) {
        return a > b ? a : b;
    }

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

    /**
     * @dev Returns the average of two signed numbers without overflow.
     * The result is rounded towards zero.
     */
    function average(int256 a, int256 b) internal pure returns (int256) {
        // Formula from the book "Hacker's Delight"
        int256 x = (a & b) + ((a ^ b) >> 1);
        return x + (int256(uint256(x) >> 255) & (a ^ b));
    }

    /**
     * @dev Returns the absolute unsigned value of a signed value.
     */
    function abs(int256 n) internal pure returns (uint256) {
        unchecked {
            // must be unchecked in order to support `n = type(int256).min`
            return uint256(n >= 0 ? n : -n);
        }
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/ReentrancyGuard.sol)

pragma solidity ^0.8.20;

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

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

    uint256 private _status;

    /**
     * @dev Unauthorized reentrant call.
     */
    error ReentrancyGuardReentrantCall();

    constructor() {
        _status = NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        _nonReentrantBefore();
        _;
        _nonReentrantAfter();
    }

    function _nonReentrantBefore() private {
        // On the first call to nonReentrant, _status will be NOT_ENTERED
        if (_status == ENTERED) {
            revert ReentrancyGuardReentrantCall();
        }

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

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

    /**
     * @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a
     * `nonReentrant` function in the call stack.
     */
    function _reentrancyGuardEntered() internal view returns (bool) {
        return _status == ENTERED;
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/Strings.sol)

pragma solidity ^0.8.20;

import {Math} from "./math/Math.sol";
import {SignedMath} from "./math/SignedMath.sol";

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

    /**
     * @dev The `value` string doesn't fit in the specified `length`.
     */
    error StringsInsufficientHexLength(uint256 value, uint256 length);

    /**
     * @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), HEX_DIGITS))
                }
                value /= 10;
                if (value == 0) break;
            }
            return buffer;
        }
    }

    /**
     * @dev Converts a `int256` to its ASCII `string` decimal representation.
     */
    function toStringSigned(int256 value) internal pure returns (string memory) {
        return string.concat(value < 0 ? "-" : "", toString(SignedMath.abs(value)));
    }

    /**
     * @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) {
        uint256 localValue = value;
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = HEX_DIGITS[localValue & 0xf];
            localValue >>= 4;
        }
        if (localValue != 0) {
            revert StringsInsufficientHexLength(value, length);
        }
        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);
    }

    /**
     * @dev Returns true if the two strings are equal.
     */
    function equal(string memory a, string memory b) internal pure returns (bool) {
        return bytes(a).length == bytes(b).length && keccak256(bytes(a)) == keccak256(bytes(b));
    }
}

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

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"bytes32","name":"wlMerkleRoot_","type":"bytes32"},{"internalType":"bytes32","name":"fcfsMerkleRoot_","type":"bytes32"},{"internalType":"address","name":"initialOwner","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"owner","type":"address"}],"name":"ERC721IncorrectOwner","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ERC721InsufficientApproval","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC721InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"ERC721InvalidOperator","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"ERC721InvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC721InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC721InvalidSender","type":"error"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ERC721NonexistentToken","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"inputs":[],"name":"ReentrancyGuardReentrantCall","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Airdrop","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"newBaseURI","type":"string"},{"indexed":false,"internalType":"address","name":"updatedBy","type":"address"}],"name":"BaseURIUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"newBaseURI","type":"string"}],"name":"CollectionRevealed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"EtherReceived","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"FcfsMinted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"OwnerMinted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"OwnerMintedToFriends","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":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"PublicMinted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"WhitelistMinted","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"address","name":"withdrawnTo","type":"address"}],"name":"Withdrawn","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"MAX_FCFS_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PUBLIC_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_WL_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"toAddresses","type":"address[]"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"checkIsFcfs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"checkIsWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"fcfsMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"},{"internalType":"uint256","name":"numTokens","type":"uint256"}],"name":"fcfsMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"fcfsMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"fcfsMintedCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"fcfsOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"numTokens","type":"uint256"}],"name":"ownerMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"numTokens","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"publicMintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"publicMintedCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"fcfsMerkleRoot_","type":"bytes32"}],"name":"setFcfs","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPublicMintPrice","type":"uint256"}],"name":"setPublicMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newBaseURI","type":"string"}],"name":"setRevealedBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"wlMerkleRoot_","type":"bytes32"}],"name":"setWl","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newWlMintPrice","type":"uint256"}],"name":"setWlMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startFcfsSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startPublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startWhitelistSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stopFcfsSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stopPublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stopWhitelistSale","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":"totalMinted","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":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"},{"internalType":"uint256","name":"numTokens","type":"uint256"}],"name":"whitelistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"whitelistOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"withdrawalAddress","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"wlMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"wlMintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"wlMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"wlMintedCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

6080604052660eebe0b40e8000600f556611c37937e0800060105560006011556000601255600060135560006014556000601560006101000a81548160ff0219169083151502179055506000601560016101000a81548160ff0219169083151502179055506000601560026101000a81548160ff0219169083151502179055506000601560036101000a81548160ff0219169083151502179055506000601560046101000a81548160ff0219169083151502179055503480156100c157600080fd5b506040516159dc3803806159dc83398181016040528101906100e39190610399565b806040518060400160405280600781526020017f486f6f6d616e73000000000000000000000000000000000000000000000000008152506040518060400160405280600781526020017f484f4f4d414e5300000000000000000000000000000000000000000000000000815250816000908161015f919061063c565b50806001908161016f919061063c565b505050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036101e45760006040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081526004016101db919061071d565b60405180910390fd5b6101f38161023a60201b60201c565b50600160078190555060405180606001604052806040815260200161599c60409139600e9081610223919061063c565b508260088190555081600981905550505050610738565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600080fd5b6000819050919050565b61031881610305565b811461032357600080fd5b50565b6000815190506103358161030f565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006103668261033b565b9050919050565b6103768161035b565b811461038157600080fd5b50565b6000815190506103938161036d565b92915050565b6000806000606084860312156103b2576103b1610300565b5b60006103c086828701610326565b93505060206103d186828701610326565b92505060406103e286828701610384565b9150509250925092565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061046d57607f821691505b6020821081036104805761047f610426565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026104e87fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826104ab565b6104f286836104ab565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b600061053961053461052f8461050a565b610514565b61050a565b9050919050565b6000819050919050565b6105538361051e565b61056761055f82610540565b8484546104b8565b825550505050565b600090565b61057c61056f565b61058781848461054a565b505050565b5b818110156105ab576105a0600082610574565b60018101905061058d565b5050565b601f8211156105f0576105c181610486565b6105ca8461049b565b810160208510156105d9578190505b6105ed6105e58561049b565b83018261058c565b50505b505050565b600082821c905092915050565b6000610613600019846008026105f5565b1980831691505092915050565b600061062c8383610602565b9150826002028217905092915050565b610645826103ec565b67ffffffffffffffff81111561065e5761065d6103f7565b5b6106688254610455565b6106738282856105af565b600060209050601f8311600181146106a65760008415610694578287015190505b61069e8582610620565b865550610706565b601f1984166106b486610486565b60005b828110156106dc578489015182556001820191506020850194506020810190506106b7565b868310156106f957848901516106f5601f891682610602565b8355505b6001600288020188555050505b505050505050565b6107178161035b565b82525050565b6000602082019050610732600083018461070e565b92915050565b615255806107476000396000f3fe6080604052600436106103855760003560e01c80636e83843a116101d1578063b187bd2611610102578063dc53fd92116100a0578063f0074ab71161006f578063f0074ab714610cdf578063f2fde38b14610d1c578063f3fef3a314610d45578063ff44e91514610d6e576103c5565b8063dc53fd9214610c35578063e81e1c8314610c60578063e985e9c514610c8b578063e9b7472914610cc8576103c5565b8063ba70c515116100dc578063ba70c51514610b8b578063c40af69914610bb6578063c87b56dd14610be1578063da1b91c314610c1e576103c5565b8063b187bd2614610b0e578063b2aa4c9214610b39578063b88d4fde14610b62576103c5565b80638da5cb5b1161016f5780639cc1de1a116101495780639cc1de1a14610a66578063a22cb46514610a8f578063a2309ff814610ab8578063a4f4f8af14610ae3576103c5565b80638da5cb5b146109f4578063922886af14610a1f57806395d89b4114610a3b576103c5565b8063729ad39e116101ab578063729ad39e1461095e5780637bb23e3a146109875780637db3aecc146109b25780638456cb59146109dd576103c5565b80636e83843a146108e157806370a082311461090a578063715018a614610947576103c5565b806334c48943116102b65780634c261247116102545780635d82cf6e116102235780635d82cf6e146108135780636352211e1461083c578063646318831461087957806365f13097146108b6576103c5565b80634c261247146107575780634e8914001461078057806351830227146107bd57806354c06aee146107e8576103c5565b806342842e0e1161029057806342842e0e1461069d578063463fb323146106c6578063484b973c146106f157806348571b351461071a576103c5565b806334c48943146106205780633d2722941461065d5780633f4ba83a14610686576103c5565b80630fd5fc72116103235780632904e6d9116102fd5780632904e6d9146105925780632c4e9fc6146105ae5780632db11544146105d957806332cb6b0c146105f5576103c5565b80630fd5fc721461052757806321b853991461055257806323b872dd14610569576103c5565b806306fdde031161035f57806306fdde031461047f578063081812fc146104aa578063095ea7b3146104e75780630c1c972a14610510576103c5565b80630109c52e1461040057806301ffc9a71461042b5780630474b69614610468576103c5565b366103c5577f1e57e3bb474320be3d2c77138f75b7c3941292d647f5f9634e33a8e94e0e069b33346040516103bb929190613947565b60405180910390a1005b7f1e57e3bb474320be3d2c77138f75b7c3941292d647f5f9634e33a8e94e0e069b33346040516103f6929190613947565b60405180910390a1005b34801561040c57600080fd5b50610415610d85565b6040516104229190613970565b60405180910390f35b34801561043757600080fd5b50610452600480360381019061044d91906139f7565b610d8a565b60405161045f9190613a3f565b60405180910390f35b34801561047457600080fd5b5061047d610e6c565b005b34801561048b57600080fd5b50610494610e91565b6040516104a19190613aea565b60405180910390f35b3480156104b657600080fd5b506104d160048036038101906104cc9190613b38565b610f23565b6040516104de9190613b65565b60405180910390f35b3480156104f357600080fd5b5061050e60048036038101906105099190613bac565b610f3f565b005b34801561051c57600080fd5b50610525610f55565b005b34801561053357600080fd5b5061053c610f7a565b6040516105499190613a3f565b60405180910390f35b34801561055e57600080fd5b50610567610f8d565b005b34801561057557600080fd5b50610590600480360381019061058b9190613bec565b610fb2565b005b6105ac60048036038101906105a79190613ca4565b6110b4565b005b3480156105ba57600080fd5b506105c3611422565b6040516105d09190613970565b60405180910390f35b6105f360048036038101906105ee9190613b38565b611428565b005b34801561060157600080fd5b5061060a611717565b6040516106179190613970565b60405180910390f35b34801561062c57600080fd5b5061064760048036038101906106429190613d04565b61171d565b6040516106549190613970565b60405180910390f35b34801561066957600080fd5b50610684600480360381019061067f9190613b38565b611735565b005b34801561069257600080fd5b5061069b611747565b005b3480156106a957600080fd5b506106c460048036038101906106bf9190613bec565b61176c565b005b3480156106d257600080fd5b506106db61178c565b6040516106e89190613970565b60405180910390f35b3480156106fd57600080fd5b5061071860048036038101906107139190613bac565b611792565b005b34801561072657600080fd5b50610741600480360381019061073c9190613d31565b6118d3565b60405161074e9190613a3f565b60405180910390f35b34801561076357600080fd5b5061077e60048036038101906107799190613eae565b611968565b005b34801561078c57600080fd5b506107a760048036038101906107a29190613d04565b6119d5565b6040516107b49190613970565b60405180910390f35b3480156107c957600080fd5b506107d26119ed565b6040516107df9190613a3f565b60405180910390f35b3480156107f457600080fd5b506107fd611a00565b60405161080a9190613f10565b60405180910390f35b34801561081f57600080fd5b5061083a60048036038101906108359190613b38565b611a06565b005b34801561084857600080fd5b50610863600480360381019061085e9190613b38565b611a18565b6040516108709190613b65565b60405180910390f35b34801561088557600080fd5b506108a0600480360381019061089b9190613d04565b611a2a565b6040516108ad9190613970565b60405180910390f35b3480156108c257600080fd5b506108cb611a42565b6040516108d89190613970565b60405180910390f35b3480156108ed57600080fd5b5061090860048036038101906109039190613eae565b611a47565b005b34801561091657600080fd5b50610931600480360381019061092c9190613d04565b611a9b565b60405161093e9190613970565b60405180910390f35b34801561095357600080fd5b5061095c611b55565b005b34801561096a57600080fd5b5061098560048036038101906109809190613f81565b611b69565b005b34801561099357600080fd5b5061099c611c70565b6040516109a99190613f10565b60405180910390f35b3480156109be57600080fd5b506109c7611c76565b6040516109d49190613a3f565b60405180910390f35b3480156109e957600080fd5b506109f2611c89565b005b348015610a0057600080fd5b50610a09611cae565b604051610a169190613b65565b60405180910390f35b610a396004803603810190610a349190613ca4565b611cd8565b005b348015610a4757600080fd5b50610a50612046565b604051610a5d9190613aea565b60405180910390f35b348015610a7257600080fd5b50610a8d6004803603810190610a889190613ffa565b6120d8565b005b348015610a9b57600080fd5b50610ab66004803603810190610ab19190614053565b6120ea565b005b348015610ac457600080fd5b50610acd612100565b604051610ada9190613970565b60405180910390f35b348015610aef57600080fd5b50610af8612106565b604051610b059190613970565b60405180910390f35b348015610b1a57600080fd5b50610b2361210c565b604051610b309190613a3f565b60405180910390f35b348015610b4557600080fd5b50610b606004803603810190610b5b9190613ffa565b61211f565b005b348015610b6e57600080fd5b50610b896004803603810190610b849190614134565b612131565b005b348015610b9757600080fd5b50610ba061214e565b604051610bad9190613a3f565b60405180910390f35b348015610bc257600080fd5b50610bcb612161565b604051610bd89190613970565b60405180910390f35b348015610bed57600080fd5b50610c086004803603810190610c039190613b38565b612166565b604051610c159190613aea565b60405180910390f35b348015610c2a57600080fd5b50610c3361226e565b005b348015610c4157600080fd5b50610c4a612293565b604051610c579190613970565b60405180910390f35b348015610c6c57600080fd5b50610c75612299565b604051610c829190613970565b60405180910390f35b348015610c9757600080fd5b50610cb26004803603810190610cad91906141b7565b61229f565b604051610cbf9190613a3f565b60405180910390f35b348015610cd457600080fd5b50610cdd612333565b005b348015610ceb57600080fd5b50610d066004803603810190610d019190613d31565b612358565b604051610d139190613a3f565b60405180910390f35b348015610d2857600080fd5b50610d436004803603810190610d3e9190613d04565b6123ed565b005b348015610d5157600080fd5b50610d6c6004803603810190610d679190614235565b612473565b005b348015610d7a57600080fd5b50610d8361266a565b005b600581565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610e5557507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610e655750610e648261268f565b5b9050919050565b610e746126f9565b6000601560026101000a81548160ff021916908315150217905550565b606060008054610ea0906142a4565b80601f0160208091040260200160405190810160405280929190818152602001828054610ecc906142a4565b8015610f195780601f10610eee57610100808354040283529160200191610f19565b820191906000526020600020905b815481529060010190602001808311610efc57829003601f168201915b5050505050905090565b6000610f2e82612780565b50610f3882612808565b9050919050565b610f518282610f4c612845565b61284d565b5050565b610f5d6126f9565b6001601560046101000a81548160ff021916908315150217905550565b601560039054906101000a900460ff1681565b610f956126f9565b6000601560036101000a81548160ff021916908315150217905550565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036110245760006040517f64a0ae9200000000000000000000000000000000000000000000000000000000815260040161101b9190613b65565b60405180910390fd5b60006110388383611033612845565b61285f565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146110ae578382826040517f64283d7b0000000000000000000000000000000000000000000000000000000081526004016110a5939291906142d5565b60405180910390fd5b50505050565b6110bc612a79565b601560009054906101000a900460ff161561110c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110390614358565b60405180910390fd5b601560029054906101000a900460ff1661115b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611152906143c4565b60405180910390fd5b6107d08160145461116c9190614413565b11156111ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111a490614493565b60405180910390fd5b6000811180156111be575060058111155b6111fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f4906144ff565b60405180910390fd5b600581600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461124a9190614413565b111561128b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112829061456b565b60405180910390fd5b60003360405160200161129e91906145d3565b60405160208183030381529060405280519060200120905060006008549050611309858580806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050508284612abf565b611348576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133f9061463a565b60405180910390fd5b600061135384612ad6565b9050803414611397576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138e906146a6565b60405180910390fd5b6113a333856001612af6565b83600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546113f29190614413565b92505081905550836011600082825461140b9190614413565b9250508190555050505061141d612dc4565b505050565b600f5481565b611430612a79565b601560009054906101000a900460ff1615611480576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147790614358565b60405180910390fd5b601560049054906101000a900460ff166114cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114c690614712565b60405180910390fd5b60008111611512576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115099061477e565b60405180910390fd5b6107d0816014546115239190614413565b1115611564576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155b90614493565b60405180910390fd5b6000811180156115755750600a8111155b6115b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ab906144ff565b60405180910390fd5b600a81600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546116019190614413565b1115611642576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611639906147ea565b60405180910390fd5b80601054611650919061480a565b3414611691576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611688906146a6565b60405180910390fd5b61169d33826000612af6565b80600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546116ec9190614413565b9250508190555080601360008282546117059190614413565b92505081905550611714612dc4565b50565b6107d081565b600c6020528060005260406000206000915090505481565b61173d6126f9565b80600f8190555050565b61174f6126f9565b6000601560006101000a81548160ff021916908315150217905550565b61178783838360405180602001604052806000815250612131565b505050565b60115481565b61179a6126f9565b601560009054906101000a900460ff16156117ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117e190614358565b60405180910390fd5b6107d0816014546117fb9190614413565b111561183c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183390614898565b60405180910390fd5b6000811161187f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118769061477e565b60405180910390fd5b60148111156118c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118ba9061492a565b60405180910390fd5b6118cf82826003612af6565b5050565b600080336040516020016118e791906145d3565b60405160208183030381529060405280519060200120905061194d848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060085483612abf565b1561195c576001915050611962565b60009150505b92915050565b6119706126f9565b6001601560016101000a81548160ff02191690831515021790555080600d908161199a9190614af6565b507f09aeffebf08fc44a38a139bbfafcc95e27b04cc8690c84246a34c2bd67f3d9b9816040516119ca9190613aea565b60405180910390a150565b600b6020528060005260406000206000915090505481565b601560019054906101000a900460ff1681565b60085481565b611a0e6126f9565b8060108190555050565b6000611a2382612780565b9050919050565b600a6020528060005260406000206000915090505481565b600a81565b611a4f6126f9565b80600d9081611a5e9190614af6565b507f287fb35d24416ff0dd04e0934f29883f30a8ed9a5a8aef3bf65d165b01aa0e428133604051611a90929190614bc8565b60405180910390a150565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611b0e5760006040517f89c62b64000000000000000000000000000000000000000000000000000000008152600401611b059190613b65565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611b5d6126f9565b611b676000612dce565b565b611b716126f9565b601560009054906101000a900460ff1615611bc1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bb890614358565b60405180910390fd5b6107d082829050601454611bd59190614413565b1115611c16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c0d90614898565b60405180910390fd5b60005b82829050811015611c6b576000838383818110611c3957611c38614bf8565b5b9050602002016020810190611c4e9190613d04565b9050611c5d8160016004612af6565b508080600101915050611c19565b505050565b60095481565b601560029054906101000a900460ff1681565b611c916126f9565b6001601560006101000a81548160ff021916908315150217905550565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611ce0612a79565b601560009054906101000a900460ff1615611d30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d2790614358565b60405180910390fd5b601560039054906101000a900460ff16611d7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d7690614c73565b60405180910390fd5b6107d081601454611d909190614413565b1115611dd1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dc890614493565b60405180910390fd5b600081118015611de25750600a8111155b611e21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e18906144ff565b60405180910390fd5b600a81600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611e6e9190614413565b1115611eaf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ea690614cdf565b60405180910390fd5b600033604051602001611ec291906145d3565b60405160208183030381529060405280519060200120905060006009549050611f2d858580806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050508284612abf565b611f6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f6390614d4b565b60405180910390fd5b6000611f7784612ad6565b9050803414611fbb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fb2906146a6565b60405180910390fd5b611fc733856002612af6565b83600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546120169190614413565b92505081905550836012600082825461202f9190614413565b92505081905550505050612041612dc4565b505050565b606060018054612055906142a4565b80601f0160208091040260200160405190810160405280929190818152602001828054612081906142a4565b80156120ce5780601f106120a3576101008083540402835291602001916120ce565b820191906000526020600020905b8154815290600101906020018083116120b157829003601f168201915b5050505050905090565b6120e06126f9565b8060088190555050565b6120fc6120f5612845565b8383612e94565b5050565b60145481565b60135481565b601560009054906101000a900460ff1681565b6121276126f9565b8060098190555050565b61213c848484610fb2565b61214884848484613003565b50505050565b601560049054906101000a900460ff1681565b600a81565b606061217182612780565b506000601560019054906101000a900460ff1661218f57600e612192565b600d5b805461219d906142a4565b80601f01602080910402602001604051908101604052809291908181526020018280546121c9906142a4565b80156122165780601f106121eb57610100808354040283529160200191612216565b820191906000526020600020905b8154815290600101906020018083116121f957829003601f168201915b50505050509050600081511161223b5760405180602001604052806000815250612266565b80612245846131ba565b604051602001612256929190614df3565b6040516020818303038152906040525b915050919050565b6122766126f9565b6000601560046101000a81548160ff021916908315150217905550565b60105481565b60125481565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61233b6126f9565b6001601560036101000a81548160ff021916908315150217905550565b6000803360405160200161236c91906145d3565b6040516020818303038152906040528051906020012090506123d2848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060095483612abf565b156123e15760019150506123e7565b60009150505b92915050565b6123f56126f9565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036124675760006040517f1e4fbdf700000000000000000000000000000000000000000000000000000000815260040161245e9190613b65565b60405180910390fd5b61247081612dce565b50565b61247b6126f9565b612483612a79565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036124f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124e990614e6e565b60405180910390fd5b60008111612535576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161252c90614eda565b60405180910390fd5b80471015612578576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161256f90614f46565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff168260405161259e90614f97565b60006040518083038185875af1925050503d80600081146125db576040519150601f19603f3d011682016040523d82523d6000602084013e6125e0565b606091505b5050905080612624576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161261b90614ff8565b60405180910390fd5b7f8c7cdad0d12a8db3e23561b42da6f10c8137914c97beff202213a410e1f520a3828460405161265592919061506d565b60405180910390a150612666612dc4565b5050565b6126726126f9565b6001601560026101000a81548160ff021916908315150217905550565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612701612845565b73ffffffffffffffffffffffffffffffffffffffff1661271f611cae565b73ffffffffffffffffffffffffffffffffffffffff161461277e57612742612845565b6040517f118cdaa70000000000000000000000000000000000000000000000000000000081526004016127759190613b65565b60405180910390fd5b565b60008061278c83613288565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036127ff57826040517f7e2732890000000000000000000000000000000000000000000000000000000081526004016127f69190613970565b60405180910390fd5b80915050919050565b60006004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600033905090565b61285a83838360016132c5565b505050565b60008061286b84613288565b9050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146128ad576128ac81848661348a565b5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461293e576128ef6000856000806132c5565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055505b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16146129c1576001600360008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055505b846002600086815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550838573ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4809150509392505050565b600260075403612ab5576040517f3ee5aeb500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6002600781905550565b600082612acc858461354e565b1490509392505050565b60008060009050600f5483612aeb919061480a565b905080915050919050565b60005b82811015612dbe5760006001601454612b129190614413565b9050612b1e858261359e565b60146000815480929190612b3190615096565b919050555060006004811115612b4a57612b496150de565b5b836004811115612b5d57612b5c6150de565b5b03612bb5578473ffffffffffffffffffffffffffffffffffffffff167fab9980fb1d2916bce9017edd1be458e3f56d0899b3367cb3a8be97483fbe069b82604051612ba89190613970565b60405180910390a2612db0565b60016004811115612bc957612bc86150de565b5b836004811115612bdc57612bdb6150de565b5b03612c34578473ffffffffffffffffffffffffffffffffffffffff167fce77e469b386be007f957632f6f65216f2e74c5daa303aff682e8296f628d01082604051612c279190613970565b60405180910390a2612daf565b60026004811115612c4857612c476150de565b5b836004811115612c5b57612c5a6150de565b5b03612cb3578473ffffffffffffffffffffffffffffffffffffffff167f3f62d5ee59be75eae7f5e8f2e87cfb92c4fb1e63075f8747f0b3e7fd1f045bd582604051612ca69190613970565b60405180910390a2612dae565b60036004811115612cc757612cc66150de565b5b836004811115612cda57612cd96150de565b5b03612d32578473ffffffffffffffffffffffffffffffffffffffff167fb50eb0c1f59aa2c3398e720d868b9224179e36125bff674d6df4bae98b2591a582604051612d259190613970565b60405180910390a2612dad565b600480811115612d4557612d446150de565b5b836004811115612d5857612d576150de565b5b03612dac578473ffffffffffffffffffffffffffffffffffffffff167f8c32c568416fcf97be35ce5b27844cfddcd63a67a1a602c3595ba5dac38f303a82604051612da39190613970565b60405180910390a25b5b5b5b5b508080600101915050612af9565b50505050565b6001600781905550565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612f0557816040517f5b08ba18000000000000000000000000000000000000000000000000000000008152600401612efc9190613b65565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612ff69190613a3f565b60405180910390a3505050565b60008373ffffffffffffffffffffffffffffffffffffffff163b11156131b4578273ffffffffffffffffffffffffffffffffffffffff1663150b7a02613047612845565b8685856040518563ffffffff1660e01b81526004016130699493929190615162565b6020604051808303816000875af19250505080156130a557506040513d601f19601f820116820180604052508101906130a291906151c3565b60015b613129573d80600081146130d5576040519150601f19603f3d011682016040523d82523d6000602084013e6130da565b606091505b50600081510361312157836040517f64a0ae920000000000000000000000000000000000000000000000000000000081526004016131189190613b65565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146131b257836040517f64a0ae920000000000000000000000000000000000000000000000000000000081526004016131a99190613b65565b60405180910390fd5b505b50505050565b6060600060016131c984613697565b01905060008167ffffffffffffffff8111156131e8576131e7613d83565b5b6040519080825280601f01601f19166020018201604052801561321a5781602001600182028036833780820191505090505b509050600082602001820190505b60011561327d578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a8581613271576132706151f0565b5b04945060008503613228575b819350505050919050565b60006002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b80806132fe5750600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b1561343257600061330e84612780565b9050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415801561337957508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614155b801561338c575061338a818461229f565b155b156133ce57826040517fa9fbf51f0000000000000000000000000000000000000000000000000000000081526004016133c59190613b65565b60405180910390fd5b811561343057838573ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45b505b836004600085815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050505050565b6134958383836137ea565b61354957600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361350a57806040517f7e2732890000000000000000000000000000000000000000000000000000000081526004016135019190613970565b60405180910390fd5b81816040517f177e802f000000000000000000000000000000000000000000000000000000008152600401613540929190613947565b60405180910390fd5b505050565b60008082905060005b8451811015613593576135848286838151811061357757613576614bf8565b5b60200260200101516138ab565b91508080600101915050613557565b508091505092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036136105760006040517f64a0ae920000000000000000000000000000000000000000000000000000000081526004016136079190613b65565b60405180910390fd5b600061361e8383600061285f565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146136925760006040517f73c6ac6e0000000000000000000000000000000000000000000000000000000081526004016136899190613b65565b60405180910390fd5b505050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083106136f5577a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083816136eb576136ea6151f0565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310613732576d04ee2d6d415b85acef81000000008381613728576137276151f0565b5b0492506020810190505b662386f26fc10000831061376157662386f26fc100008381613757576137566151f0565b5b0492506010810190505b6305f5e100831061378a576305f5e10083816137805761377f6151f0565b5b0492506008810190505b61271083106137af5761271083816137a5576137a46151f0565b5b0492506004810190505b606483106137d257606483816137c8576137c76151f0565b5b0492506002810190505b600a83106137e1576001810190505b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141580156138a257508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806138635750613862848461229f565b5b806138a157508273ffffffffffffffffffffffffffffffffffffffff1661388983612808565b73ffffffffffffffffffffffffffffffffffffffff16145b5b90509392505050565b60008183106138c3576138be82846138d6565b6138ce565b6138cd83836138d6565b5b905092915050565b600082600052816020526040600020905092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613918826138ed565b9050919050565b6139288161390d565b82525050565b6000819050919050565b6139418161392e565b82525050565b600060408201905061395c600083018561391f565b6139696020830184613938565b9392505050565b60006020820190506139856000830184613938565b92915050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6139d48161399f565b81146139df57600080fd5b50565b6000813590506139f1816139cb565b92915050565b600060208284031215613a0d57613a0c613995565b5b6000613a1b848285016139e2565b91505092915050565b60008115159050919050565b613a3981613a24565b82525050565b6000602082019050613a546000830184613a30565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613a94578082015181840152602081019050613a79565b60008484015250505050565b6000601f19601f8301169050919050565b6000613abc82613a5a565b613ac68185613a65565b9350613ad6818560208601613a76565b613adf81613aa0565b840191505092915050565b60006020820190508181036000830152613b048184613ab1565b905092915050565b613b158161392e565b8114613b2057600080fd5b50565b600081359050613b3281613b0c565b92915050565b600060208284031215613b4e57613b4d613995565b5b6000613b5c84828501613b23565b91505092915050565b6000602082019050613b7a600083018461391f565b92915050565b613b898161390d565b8114613b9457600080fd5b50565b600081359050613ba681613b80565b92915050565b60008060408385031215613bc357613bc2613995565b5b6000613bd185828601613b97565b9250506020613be285828601613b23565b9150509250929050565b600080600060608486031215613c0557613c04613995565b5b6000613c1386828701613b97565b9350506020613c2486828701613b97565b9250506040613c3586828701613b23565b9150509250925092565b600080fd5b600080fd5b600080fd5b60008083601f840112613c6457613c63613c3f565b5b8235905067ffffffffffffffff811115613c8157613c80613c44565b5b602083019150836020820283011115613c9d57613c9c613c49565b5b9250929050565b600080600060408486031215613cbd57613cbc613995565b5b600084013567ffffffffffffffff811115613cdb57613cda61399a565b5b613ce786828701613c4e565b93509350506020613cfa86828701613b23565b9150509250925092565b600060208284031215613d1a57613d19613995565b5b6000613d2884828501613b97565b91505092915050565b60008060208385031215613d4857613d47613995565b5b600083013567ffffffffffffffff811115613d6657613d6561399a565b5b613d7285828601613c4e565b92509250509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613dbb82613aa0565b810181811067ffffffffffffffff82111715613dda57613dd9613d83565b5b80604052505050565b6000613ded61398b565b9050613df98282613db2565b919050565b600067ffffffffffffffff821115613e1957613e18613d83565b5b613e2282613aa0565b9050602081019050919050565b82818337600083830152505050565b6000613e51613e4c84613dfe565b613de3565b905082815260208101848484011115613e6d57613e6c613d7e565b5b613e78848285613e2f565b509392505050565b600082601f830112613e9557613e94613c3f565b5b8135613ea5848260208601613e3e565b91505092915050565b600060208284031215613ec457613ec3613995565b5b600082013567ffffffffffffffff811115613ee257613ee161399a565b5b613eee84828501613e80565b91505092915050565b6000819050919050565b613f0a81613ef7565b82525050565b6000602082019050613f256000830184613f01565b92915050565b60008083601f840112613f4157613f40613c3f565b5b8235905067ffffffffffffffff811115613f5e57613f5d613c44565b5b602083019150836020820283011115613f7a57613f79613c49565b5b9250929050565b60008060208385031215613f9857613f97613995565b5b600083013567ffffffffffffffff811115613fb657613fb561399a565b5b613fc285828601613f2b565b92509250509250929050565b613fd781613ef7565b8114613fe257600080fd5b50565b600081359050613ff481613fce565b92915050565b6000602082840312156140105761400f613995565b5b600061401e84828501613fe5565b91505092915050565b61403081613a24565b811461403b57600080fd5b50565b60008135905061404d81614027565b92915050565b6000806040838503121561406a57614069613995565b5b600061407885828601613b97565b92505060206140898582860161403e565b9150509250929050565b600067ffffffffffffffff8211156140ae576140ad613d83565b5b6140b782613aa0565b9050602081019050919050565b60006140d76140d284614093565b613de3565b9050828152602081018484840111156140f3576140f2613d7e565b5b6140fe848285613e2f565b509392505050565b600082601f83011261411b5761411a613c3f565b5b813561412b8482602086016140c4565b91505092915050565b6000806000806080858703121561414e5761414d613995565b5b600061415c87828801613b97565b945050602061416d87828801613b97565b935050604061417e87828801613b23565b925050606085013567ffffffffffffffff81111561419f5761419e61399a565b5b6141ab87828801614106565b91505092959194509250565b600080604083850312156141ce576141cd613995565b5b60006141dc85828601613b97565b92505060206141ed85828601613b97565b9150509250929050565b6000614202826138ed565b9050919050565b614212816141f7565b811461421d57600080fd5b50565b60008135905061422f81614209565b92915050565b6000806040838503121561424c5761424b613995565b5b600061425a85828601614220565b925050602061426b85828601613b23565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806142bc57607f821691505b6020821081036142cf576142ce614275565b5b50919050565b60006060820190506142ea600083018661391f565b6142f76020830185613938565b614304604083018461391f565b949350505050565b7f436f6e7472616374206973207061757365640000000000000000000000000000600082015250565b6000614342601283613a65565b915061434d8261430c565b602082019050919050565b6000602082019050818103600083015261437181614335565b9050919050565b7f57686974656c6973742073616c65206973206e6f74206f70656e000000000000600082015250565b60006143ae601a83613a65565b91506143b982614378565b602082019050919050565b600060208201905081810360008301526143dd816143a1565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061441e8261392e565b91506144298361392e565b9250828201905080821115614441576144406143e4565b5b92915050565b7f45786365656473206d617820737570706c790000000000000000000000000000600082015250565b600061447d601283613a65565b915061448882614447565b602082019050919050565b600060208201905081810360008301526144ac81614470565b9050919050565b7f43616e6e6f74206d696e74206d6f7265207468616e20616c6c6f776564000000600082015250565b60006144e9601d83613a65565b91506144f4826144b3565b602082019050919050565b60006020820190508181036000830152614518816144dc565b9050919050565b7f4578636565647320574c206c696d697400000000000000000000000000000000600082015250565b6000614555601083613a65565b91506145608261451f565b602082019050919050565b6000602082019050818103600083015261458481614548565b9050919050565b60008160601b9050919050565b60006145a38261458b565b9050919050565b60006145b582614598565b9050919050565b6145cd6145c88261390d565b6145aa565b82525050565b60006145df82846145bc565b60148201915081905092915050565b7f496e76616c696420416464726573733a20574c2047726f757000000000000000600082015250565b6000614624601983613a65565b915061462f826145ee565b602082019050919050565b6000602082019050818103600083015261465381614617565b9050919050565b7f496e636f7272656374204554482076616c75652073656e740000000000000000600082015250565b6000614690601883613a65565b915061469b8261465a565b602082019050919050565b600060208201905081810360008301526146bf81614683565b9050919050565b7f5075626c69632073616c65206973206e6f74206f70656e000000000000000000600082015250565b60006146fc601783613a65565b9150614707826146c6565b602082019050919050565b6000602082019050818103600083015261472b816146ef565b9050919050565b7f4d757374206d696e74206174206c65617374206f6e6520746f6b656e00000000600082015250565b6000614768601c83613a65565b915061477382614732565b602082019050919050565b600060208201905081810360008301526147978161475b565b9050919050565b7f45786365656473207075626c6963206d696e74206c696d697400000000000000600082015250565b60006147d4601983613a65565b91506147df8261479e565b602082019050919050565b60006020820190508181036000830152614803816147c7565b9050919050565b60006148158261392e565b91506148208361392e565b925082820261482e8161392e565b91508282048414831517614845576148446143e4565b5b5092915050565b7f4d696e74696e6720776f756c6420657863656564206d617820737570706c7900600082015250565b6000614882601f83613a65565b915061488d8261484c565b602082019050919050565b600060208201905081810360008301526148b181614875565b9050919050565b7f4f776e65722063616e206f6e6c79206d696e7420757020746f20323020746f6b60008201527f656e7320617420612074696d6500000000000000000000000000000000000000602082015250565b6000614914602d83613a65565b915061491f826148b8565b604082019050919050565b6000602082019050818103600083015261494381614907565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026149ac7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8261496f565b6149b6868361496f565b95508019841693508086168417925050509392505050565b6000819050919050565b60006149f36149ee6149e98461392e565b6149ce565b61392e565b9050919050565b6000819050919050565b614a0d836149d8565b614a21614a19826149fa565b84845461497c565b825550505050565b600090565b614a36614a29565b614a41818484614a04565b505050565b5b81811015614a6557614a5a600082614a2e565b600181019050614a47565b5050565b601f821115614aaa57614a7b8161494a565b614a848461495f565b81016020851015614a93578190505b614aa7614a9f8561495f565b830182614a46565b50505b505050565b600082821c905092915050565b6000614acd60001984600802614aaf565b1980831691505092915050565b6000614ae68383614abc565b9150826002028217905092915050565b614aff82613a5a565b67ffffffffffffffff811115614b1857614b17613d83565b5b614b2282546142a4565b614b2d828285614a69565b600060209050601f831160018114614b605760008415614b4e578287015190505b614b588582614ada565b865550614bc0565b601f198416614b6e8661494a565b60005b82811015614b9657848901518255600182019150602085019450602081019050614b71565b86831015614bb35784890151614baf601f891682614abc565b8355505b6001600288020188555050505b505050505050565b60006040820190508181036000830152614be28185613ab1565b9050614bf1602083018461391f565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f464346532073616c65206973206e6f74206f70656e0000000000000000000000600082015250565b6000614c5d601583613a65565b9150614c6882614c27565b602082019050919050565b60006020820190508181036000830152614c8c81614c50565b9050919050565b7f457863656564732046434653206c696d69740000000000000000000000000000600082015250565b6000614cc9601283613a65565b9150614cd482614c93565b602082019050919050565b60006020820190508181036000830152614cf881614cbc565b9050919050565b7f496e76616c696420416464726573733a20464346532047726f75700000000000600082015250565b6000614d35601b83613a65565b9150614d4082614cff565b602082019050919050565b60006020820190508181036000830152614d6481614d28565b9050919050565b600081905092915050565b6000614d8182613a5a565b614d8b8185614d6b565b9350614d9b818560208601613a76565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b6000614ddd600583614d6b565b9150614de882614da7565b600582019050919050565b6000614dff8285614d76565b9150614e0b8284614d76565b9150614e1682614dd0565b91508190509392505050565b7f496e76616c6964207769746864726177616c2061646472657373000000000000600082015250565b6000614e58601a83613a65565b9150614e6382614e22565b602082019050919050565b60006020820190508181036000830152614e8781614e4b565b9050919050565b7f416d6f756e74206d7573742062652067726561746572207468616e2030000000600082015250565b6000614ec4601d83613a65565b9150614ecf82614e8e565b602082019050919050565b60006020820190508181036000830152614ef381614eb7565b9050919050565b7f496e73756666696369656e7420636f6e74726163742062616c616e6365000000600082015250565b6000614f30601d83613a65565b9150614f3b82614efa565b602082019050919050565b60006020820190508181036000830152614f5f81614f23565b9050919050565b600081905092915050565b50565b6000614f81600083614f66565b9150614f8c82614f71565b600082019050919050565b6000614fa282614f74565b9150819050919050565b7f4661696c656420746f2073656e64204574686572000000000000000000000000600082015250565b6000614fe2601483613a65565b9150614fed82614fac565b602082019050919050565b6000602082019050818103600083015261501181614fd5565b9050919050565b600061503361502e615029846138ed565b6149ce565b6138ed565b9050919050565b600061504582615018565b9050919050565b60006150578261503a565b9050919050565b6150678161504c565b82525050565b60006040820190506150826000830185613938565b61508f602083018461505e565b9392505050565b60006150a18261392e565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036150d3576150d26143e4565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600081519050919050565b600082825260208201905092915050565b60006151348261510d565b61513e8185615118565b935061514e818560208601613a76565b61515781613aa0565b840191505092915050565b6000608082019050615177600083018761391f565b615184602083018661391f565b6151916040830185613938565b81810360608301526151a38184615129565b905095945050505050565b6000815190506151bd816139cb565b92915050565b6000602082840312156151d9576151d8613995565b5b60006151e7848285016151ae565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fdfea264697066735822122099a6cd6e6d8e9986db01101326f9f0473152fabfdd04ec2ad7993255f268905364736f6c634300081a003368747470733a2f2f617277656176652e6e65742f726c2d536b4b326241394b31416873345373744d6c504a64586a6a5350444a46474274497543513130526f2f2b76e341ca0b849ea770f365cf79f2bd8048257f57992b42d9cfe3204827c6b2fc2a536c8e0af110e891db9cae48c50aec54be9464903ce616fc86afa2cda09a0000000000000000000000007ce4fa787582c9e5c9fee9f1b6803fd794359a69

Deployed Bytecode

0x6080604052600436106103855760003560e01c80636e83843a116101d1578063b187bd2611610102578063dc53fd92116100a0578063f0074ab71161006f578063f0074ab714610cdf578063f2fde38b14610d1c578063f3fef3a314610d45578063ff44e91514610d6e576103c5565b8063dc53fd9214610c35578063e81e1c8314610c60578063e985e9c514610c8b578063e9b7472914610cc8576103c5565b8063ba70c515116100dc578063ba70c51514610b8b578063c40af69914610bb6578063c87b56dd14610be1578063da1b91c314610c1e576103c5565b8063b187bd2614610b0e578063b2aa4c9214610b39578063b88d4fde14610b62576103c5565b80638da5cb5b1161016f5780639cc1de1a116101495780639cc1de1a14610a66578063a22cb46514610a8f578063a2309ff814610ab8578063a4f4f8af14610ae3576103c5565b80638da5cb5b146109f4578063922886af14610a1f57806395d89b4114610a3b576103c5565b8063729ad39e116101ab578063729ad39e1461095e5780637bb23e3a146109875780637db3aecc146109b25780638456cb59146109dd576103c5565b80636e83843a146108e157806370a082311461090a578063715018a614610947576103c5565b806334c48943116102b65780634c261247116102545780635d82cf6e116102235780635d82cf6e146108135780636352211e1461083c578063646318831461087957806365f13097146108b6576103c5565b80634c261247146107575780634e8914001461078057806351830227146107bd57806354c06aee146107e8576103c5565b806342842e0e1161029057806342842e0e1461069d578063463fb323146106c6578063484b973c146106f157806348571b351461071a576103c5565b806334c48943146106205780633d2722941461065d5780633f4ba83a14610686576103c5565b80630fd5fc72116103235780632904e6d9116102fd5780632904e6d9146105925780632c4e9fc6146105ae5780632db11544146105d957806332cb6b0c146105f5576103c5565b80630fd5fc721461052757806321b853991461055257806323b872dd14610569576103c5565b806306fdde031161035f57806306fdde031461047f578063081812fc146104aa578063095ea7b3146104e75780630c1c972a14610510576103c5565b80630109c52e1461040057806301ffc9a71461042b5780630474b69614610468576103c5565b366103c5577f1e57e3bb474320be3d2c77138f75b7c3941292d647f5f9634e33a8e94e0e069b33346040516103bb929190613947565b60405180910390a1005b7f1e57e3bb474320be3d2c77138f75b7c3941292d647f5f9634e33a8e94e0e069b33346040516103f6929190613947565b60405180910390a1005b34801561040c57600080fd5b50610415610d85565b6040516104229190613970565b60405180910390f35b34801561043757600080fd5b50610452600480360381019061044d91906139f7565b610d8a565b60405161045f9190613a3f565b60405180910390f35b34801561047457600080fd5b5061047d610e6c565b005b34801561048b57600080fd5b50610494610e91565b6040516104a19190613aea565b60405180910390f35b3480156104b657600080fd5b506104d160048036038101906104cc9190613b38565b610f23565b6040516104de9190613b65565b60405180910390f35b3480156104f357600080fd5b5061050e60048036038101906105099190613bac565b610f3f565b005b34801561051c57600080fd5b50610525610f55565b005b34801561053357600080fd5b5061053c610f7a565b6040516105499190613a3f565b60405180910390f35b34801561055e57600080fd5b50610567610f8d565b005b34801561057557600080fd5b50610590600480360381019061058b9190613bec565b610fb2565b005b6105ac60048036038101906105a79190613ca4565b6110b4565b005b3480156105ba57600080fd5b506105c3611422565b6040516105d09190613970565b60405180910390f35b6105f360048036038101906105ee9190613b38565b611428565b005b34801561060157600080fd5b5061060a611717565b6040516106179190613970565b60405180910390f35b34801561062c57600080fd5b5061064760048036038101906106429190613d04565b61171d565b6040516106549190613970565b60405180910390f35b34801561066957600080fd5b50610684600480360381019061067f9190613b38565b611735565b005b34801561069257600080fd5b5061069b611747565b005b3480156106a957600080fd5b506106c460048036038101906106bf9190613bec565b61176c565b005b3480156106d257600080fd5b506106db61178c565b6040516106e89190613970565b60405180910390f35b3480156106fd57600080fd5b5061071860048036038101906107139190613bac565b611792565b005b34801561072657600080fd5b50610741600480360381019061073c9190613d31565b6118d3565b60405161074e9190613a3f565b60405180910390f35b34801561076357600080fd5b5061077e60048036038101906107799190613eae565b611968565b005b34801561078c57600080fd5b506107a760048036038101906107a29190613d04565b6119d5565b6040516107b49190613970565b60405180910390f35b3480156107c957600080fd5b506107d26119ed565b6040516107df9190613a3f565b60405180910390f35b3480156107f457600080fd5b506107fd611a00565b60405161080a9190613f10565b60405180910390f35b34801561081f57600080fd5b5061083a60048036038101906108359190613b38565b611a06565b005b34801561084857600080fd5b50610863600480360381019061085e9190613b38565b611a18565b6040516108709190613b65565b60405180910390f35b34801561088557600080fd5b506108a0600480360381019061089b9190613d04565b611a2a565b6040516108ad9190613970565b60405180910390f35b3480156108c257600080fd5b506108cb611a42565b6040516108d89190613970565b60405180910390f35b3480156108ed57600080fd5b5061090860048036038101906109039190613eae565b611a47565b005b34801561091657600080fd5b50610931600480360381019061092c9190613d04565b611a9b565b60405161093e9190613970565b60405180910390f35b34801561095357600080fd5b5061095c611b55565b005b34801561096a57600080fd5b5061098560048036038101906109809190613f81565b611b69565b005b34801561099357600080fd5b5061099c611c70565b6040516109a99190613f10565b60405180910390f35b3480156109be57600080fd5b506109c7611c76565b6040516109d49190613a3f565b60405180910390f35b3480156109e957600080fd5b506109f2611c89565b005b348015610a0057600080fd5b50610a09611cae565b604051610a169190613b65565b60405180910390f35b610a396004803603810190610a349190613ca4565b611cd8565b005b348015610a4757600080fd5b50610a50612046565b604051610a5d9190613aea565b60405180910390f35b348015610a7257600080fd5b50610a8d6004803603810190610a889190613ffa565b6120d8565b005b348015610a9b57600080fd5b50610ab66004803603810190610ab19190614053565b6120ea565b005b348015610ac457600080fd5b50610acd612100565b604051610ada9190613970565b60405180910390f35b348015610aef57600080fd5b50610af8612106565b604051610b059190613970565b60405180910390f35b348015610b1a57600080fd5b50610b2361210c565b604051610b309190613a3f565b60405180910390f35b348015610b4557600080fd5b50610b606004803603810190610b5b9190613ffa565b61211f565b005b348015610b6e57600080fd5b50610b896004803603810190610b849190614134565b612131565b005b348015610b9757600080fd5b50610ba061214e565b604051610bad9190613a3f565b60405180910390f35b348015610bc257600080fd5b50610bcb612161565b604051610bd89190613970565b60405180910390f35b348015610bed57600080fd5b50610c086004803603810190610c039190613b38565b612166565b604051610c159190613aea565b60405180910390f35b348015610c2a57600080fd5b50610c3361226e565b005b348015610c4157600080fd5b50610c4a612293565b604051610c579190613970565b60405180910390f35b348015610c6c57600080fd5b50610c75612299565b604051610c829190613970565b60405180910390f35b348015610c9757600080fd5b50610cb26004803603810190610cad91906141b7565b61229f565b604051610cbf9190613a3f565b60405180910390f35b348015610cd457600080fd5b50610cdd612333565b005b348015610ceb57600080fd5b50610d066004803603810190610d019190613d31565b612358565b604051610d139190613a3f565b60405180910390f35b348015610d2857600080fd5b50610d436004803603810190610d3e9190613d04565b6123ed565b005b348015610d5157600080fd5b50610d6c6004803603810190610d679190614235565b612473565b005b348015610d7a57600080fd5b50610d8361266a565b005b600581565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610e5557507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610e655750610e648261268f565b5b9050919050565b610e746126f9565b6000601560026101000a81548160ff021916908315150217905550565b606060008054610ea0906142a4565b80601f0160208091040260200160405190810160405280929190818152602001828054610ecc906142a4565b8015610f195780601f10610eee57610100808354040283529160200191610f19565b820191906000526020600020905b815481529060010190602001808311610efc57829003601f168201915b5050505050905090565b6000610f2e82612780565b50610f3882612808565b9050919050565b610f518282610f4c612845565b61284d565b5050565b610f5d6126f9565b6001601560046101000a81548160ff021916908315150217905550565b601560039054906101000a900460ff1681565b610f956126f9565b6000601560036101000a81548160ff021916908315150217905550565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036110245760006040517f64a0ae9200000000000000000000000000000000000000000000000000000000815260040161101b9190613b65565b60405180910390fd5b60006110388383611033612845565b61285f565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146110ae578382826040517f64283d7b0000000000000000000000000000000000000000000000000000000081526004016110a5939291906142d5565b60405180910390fd5b50505050565b6110bc612a79565b601560009054906101000a900460ff161561110c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110390614358565b60405180910390fd5b601560029054906101000a900460ff1661115b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611152906143c4565b60405180910390fd5b6107d08160145461116c9190614413565b11156111ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111a490614493565b60405180910390fd5b6000811180156111be575060058111155b6111fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f4906144ff565b60405180910390fd5b600581600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461124a9190614413565b111561128b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112829061456b565b60405180910390fd5b60003360405160200161129e91906145d3565b60405160208183030381529060405280519060200120905060006008549050611309858580806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050508284612abf565b611348576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133f9061463a565b60405180910390fd5b600061135384612ad6565b9050803414611397576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138e906146a6565b60405180910390fd5b6113a333856001612af6565b83600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546113f29190614413565b92505081905550836011600082825461140b9190614413565b9250508190555050505061141d612dc4565b505050565b600f5481565b611430612a79565b601560009054906101000a900460ff1615611480576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147790614358565b60405180910390fd5b601560049054906101000a900460ff166114cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114c690614712565b60405180910390fd5b60008111611512576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115099061477e565b60405180910390fd5b6107d0816014546115239190614413565b1115611564576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155b90614493565b60405180910390fd5b6000811180156115755750600a8111155b6115b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ab906144ff565b60405180910390fd5b600a81600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546116019190614413565b1115611642576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611639906147ea565b60405180910390fd5b80601054611650919061480a565b3414611691576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611688906146a6565b60405180910390fd5b61169d33826000612af6565b80600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546116ec9190614413565b9250508190555080601360008282546117059190614413565b92505081905550611714612dc4565b50565b6107d081565b600c6020528060005260406000206000915090505481565b61173d6126f9565b80600f8190555050565b61174f6126f9565b6000601560006101000a81548160ff021916908315150217905550565b61178783838360405180602001604052806000815250612131565b505050565b60115481565b61179a6126f9565b601560009054906101000a900460ff16156117ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117e190614358565b60405180910390fd5b6107d0816014546117fb9190614413565b111561183c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183390614898565b60405180910390fd5b6000811161187f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118769061477e565b60405180910390fd5b60148111156118c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118ba9061492a565b60405180910390fd5b6118cf82826003612af6565b5050565b600080336040516020016118e791906145d3565b60405160208183030381529060405280519060200120905061194d848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060085483612abf565b1561195c576001915050611962565b60009150505b92915050565b6119706126f9565b6001601560016101000a81548160ff02191690831515021790555080600d908161199a9190614af6565b507f09aeffebf08fc44a38a139bbfafcc95e27b04cc8690c84246a34c2bd67f3d9b9816040516119ca9190613aea565b60405180910390a150565b600b6020528060005260406000206000915090505481565b601560019054906101000a900460ff1681565b60085481565b611a0e6126f9565b8060108190555050565b6000611a2382612780565b9050919050565b600a6020528060005260406000206000915090505481565b600a81565b611a4f6126f9565b80600d9081611a5e9190614af6565b507f287fb35d24416ff0dd04e0934f29883f30a8ed9a5a8aef3bf65d165b01aa0e428133604051611a90929190614bc8565b60405180910390a150565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611b0e5760006040517f89c62b64000000000000000000000000000000000000000000000000000000008152600401611b059190613b65565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611b5d6126f9565b611b676000612dce565b565b611b716126f9565b601560009054906101000a900460ff1615611bc1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bb890614358565b60405180910390fd5b6107d082829050601454611bd59190614413565b1115611c16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c0d90614898565b60405180910390fd5b60005b82829050811015611c6b576000838383818110611c3957611c38614bf8565b5b9050602002016020810190611c4e9190613d04565b9050611c5d8160016004612af6565b508080600101915050611c19565b505050565b60095481565b601560029054906101000a900460ff1681565b611c916126f9565b6001601560006101000a81548160ff021916908315150217905550565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611ce0612a79565b601560009054906101000a900460ff1615611d30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d2790614358565b60405180910390fd5b601560039054906101000a900460ff16611d7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d7690614c73565b60405180910390fd5b6107d081601454611d909190614413565b1115611dd1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dc890614493565b60405180910390fd5b600081118015611de25750600a8111155b611e21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e18906144ff565b60405180910390fd5b600a81600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611e6e9190614413565b1115611eaf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ea690614cdf565b60405180910390fd5b600033604051602001611ec291906145d3565b60405160208183030381529060405280519060200120905060006009549050611f2d858580806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050508284612abf565b611f6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f6390614d4b565b60405180910390fd5b6000611f7784612ad6565b9050803414611fbb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fb2906146a6565b60405180910390fd5b611fc733856002612af6565b83600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546120169190614413565b92505081905550836012600082825461202f9190614413565b92505081905550505050612041612dc4565b505050565b606060018054612055906142a4565b80601f0160208091040260200160405190810160405280929190818152602001828054612081906142a4565b80156120ce5780601f106120a3576101008083540402835291602001916120ce565b820191906000526020600020905b8154815290600101906020018083116120b157829003601f168201915b5050505050905090565b6120e06126f9565b8060088190555050565b6120fc6120f5612845565b8383612e94565b5050565b60145481565b60135481565b601560009054906101000a900460ff1681565b6121276126f9565b8060098190555050565b61213c848484610fb2565b61214884848484613003565b50505050565b601560049054906101000a900460ff1681565b600a81565b606061217182612780565b506000601560019054906101000a900460ff1661218f57600e612192565b600d5b805461219d906142a4565b80601f01602080910402602001604051908101604052809291908181526020018280546121c9906142a4565b80156122165780601f106121eb57610100808354040283529160200191612216565b820191906000526020600020905b8154815290600101906020018083116121f957829003601f168201915b50505050509050600081511161223b5760405180602001604052806000815250612266565b80612245846131ba565b604051602001612256929190614df3565b6040516020818303038152906040525b915050919050565b6122766126f9565b6000601560046101000a81548160ff021916908315150217905550565b60105481565b60125481565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61233b6126f9565b6001601560036101000a81548160ff021916908315150217905550565b6000803360405160200161236c91906145d3565b6040516020818303038152906040528051906020012090506123d2848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060095483612abf565b156123e15760019150506123e7565b60009150505b92915050565b6123f56126f9565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036124675760006040517f1e4fbdf700000000000000000000000000000000000000000000000000000000815260040161245e9190613b65565b60405180910390fd5b61247081612dce565b50565b61247b6126f9565b612483612a79565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036124f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124e990614e6e565b60405180910390fd5b60008111612535576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161252c90614eda565b60405180910390fd5b80471015612578576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161256f90614f46565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff168260405161259e90614f97565b60006040518083038185875af1925050503d80600081146125db576040519150601f19603f3d011682016040523d82523d6000602084013e6125e0565b606091505b5050905080612624576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161261b90614ff8565b60405180910390fd5b7f8c7cdad0d12a8db3e23561b42da6f10c8137914c97beff202213a410e1f520a3828460405161265592919061506d565b60405180910390a150612666612dc4565b5050565b6126726126f9565b6001601560026101000a81548160ff021916908315150217905550565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612701612845565b73ffffffffffffffffffffffffffffffffffffffff1661271f611cae565b73ffffffffffffffffffffffffffffffffffffffff161461277e57612742612845565b6040517f118cdaa70000000000000000000000000000000000000000000000000000000081526004016127759190613b65565b60405180910390fd5b565b60008061278c83613288565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036127ff57826040517f7e2732890000000000000000000000000000000000000000000000000000000081526004016127f69190613970565b60405180910390fd5b80915050919050565b60006004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600033905090565b61285a83838360016132c5565b505050565b60008061286b84613288565b9050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146128ad576128ac81848661348a565b5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461293e576128ef6000856000806132c5565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055505b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16146129c1576001600360008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055505b846002600086815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550838573ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4809150509392505050565b600260075403612ab5576040517f3ee5aeb500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6002600781905550565b600082612acc858461354e565b1490509392505050565b60008060009050600f5483612aeb919061480a565b905080915050919050565b60005b82811015612dbe5760006001601454612b129190614413565b9050612b1e858261359e565b60146000815480929190612b3190615096565b919050555060006004811115612b4a57612b496150de565b5b836004811115612b5d57612b5c6150de565b5b03612bb5578473ffffffffffffffffffffffffffffffffffffffff167fab9980fb1d2916bce9017edd1be458e3f56d0899b3367cb3a8be97483fbe069b82604051612ba89190613970565b60405180910390a2612db0565b60016004811115612bc957612bc86150de565b5b836004811115612bdc57612bdb6150de565b5b03612c34578473ffffffffffffffffffffffffffffffffffffffff167fce77e469b386be007f957632f6f65216f2e74c5daa303aff682e8296f628d01082604051612c279190613970565b60405180910390a2612daf565b60026004811115612c4857612c476150de565b5b836004811115612c5b57612c5a6150de565b5b03612cb3578473ffffffffffffffffffffffffffffffffffffffff167f3f62d5ee59be75eae7f5e8f2e87cfb92c4fb1e63075f8747f0b3e7fd1f045bd582604051612ca69190613970565b60405180910390a2612dae565b60036004811115612cc757612cc66150de565b5b836004811115612cda57612cd96150de565b5b03612d32578473ffffffffffffffffffffffffffffffffffffffff167fb50eb0c1f59aa2c3398e720d868b9224179e36125bff674d6df4bae98b2591a582604051612d259190613970565b60405180910390a2612dad565b600480811115612d4557612d446150de565b5b836004811115612d5857612d576150de565b5b03612dac578473ffffffffffffffffffffffffffffffffffffffff167f8c32c568416fcf97be35ce5b27844cfddcd63a67a1a602c3595ba5dac38f303a82604051612da39190613970565b60405180910390a25b5b5b5b5b508080600101915050612af9565b50505050565b6001600781905550565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612f0557816040517f5b08ba18000000000000000000000000000000000000000000000000000000008152600401612efc9190613b65565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612ff69190613a3f565b60405180910390a3505050565b60008373ffffffffffffffffffffffffffffffffffffffff163b11156131b4578273ffffffffffffffffffffffffffffffffffffffff1663150b7a02613047612845565b8685856040518563ffffffff1660e01b81526004016130699493929190615162565b6020604051808303816000875af19250505080156130a557506040513d601f19601f820116820180604052508101906130a291906151c3565b60015b613129573d80600081146130d5576040519150601f19603f3d011682016040523d82523d6000602084013e6130da565b606091505b50600081510361312157836040517f64a0ae920000000000000000000000000000000000000000000000000000000081526004016131189190613b65565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146131b257836040517f64a0ae920000000000000000000000000000000000000000000000000000000081526004016131a99190613b65565b60405180910390fd5b505b50505050565b6060600060016131c984613697565b01905060008167ffffffffffffffff8111156131e8576131e7613d83565b5b6040519080825280601f01601f19166020018201604052801561321a5781602001600182028036833780820191505090505b509050600082602001820190505b60011561327d578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a8581613271576132706151f0565b5b04945060008503613228575b819350505050919050565b60006002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b80806132fe5750600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b1561343257600061330e84612780565b9050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415801561337957508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614155b801561338c575061338a818461229f565b155b156133ce57826040517fa9fbf51f0000000000000000000000000000000000000000000000000000000081526004016133c59190613b65565b60405180910390fd5b811561343057838573ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45b505b836004600085815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050505050565b6134958383836137ea565b61354957600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361350a57806040517f7e2732890000000000000000000000000000000000000000000000000000000081526004016135019190613970565b60405180910390fd5b81816040517f177e802f000000000000000000000000000000000000000000000000000000008152600401613540929190613947565b60405180910390fd5b505050565b60008082905060005b8451811015613593576135848286838151811061357757613576614bf8565b5b60200260200101516138ab565b91508080600101915050613557565b508091505092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036136105760006040517f64a0ae920000000000000000000000000000000000000000000000000000000081526004016136079190613b65565b60405180910390fd5b600061361e8383600061285f565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146136925760006040517f73c6ac6e0000000000000000000000000000000000000000000000000000000081526004016136899190613b65565b60405180910390fd5b505050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083106136f5577a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083816136eb576136ea6151f0565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310613732576d04ee2d6d415b85acef81000000008381613728576137276151f0565b5b0492506020810190505b662386f26fc10000831061376157662386f26fc100008381613757576137566151f0565b5b0492506010810190505b6305f5e100831061378a576305f5e10083816137805761377f6151f0565b5b0492506008810190505b61271083106137af5761271083816137a5576137a46151f0565b5b0492506004810190505b606483106137d257606483816137c8576137c76151f0565b5b0492506002810190505b600a83106137e1576001810190505b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141580156138a257508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806138635750613862848461229f565b5b806138a157508273ffffffffffffffffffffffffffffffffffffffff1661388983612808565b73ffffffffffffffffffffffffffffffffffffffff16145b5b90509392505050565b60008183106138c3576138be82846138d6565b6138ce565b6138cd83836138d6565b5b905092915050565b600082600052816020526040600020905092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613918826138ed565b9050919050565b6139288161390d565b82525050565b6000819050919050565b6139418161392e565b82525050565b600060408201905061395c600083018561391f565b6139696020830184613938565b9392505050565b60006020820190506139856000830184613938565b92915050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6139d48161399f565b81146139df57600080fd5b50565b6000813590506139f1816139cb565b92915050565b600060208284031215613a0d57613a0c613995565b5b6000613a1b848285016139e2565b91505092915050565b60008115159050919050565b613a3981613a24565b82525050565b6000602082019050613a546000830184613a30565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613a94578082015181840152602081019050613a79565b60008484015250505050565b6000601f19601f8301169050919050565b6000613abc82613a5a565b613ac68185613a65565b9350613ad6818560208601613a76565b613adf81613aa0565b840191505092915050565b60006020820190508181036000830152613b048184613ab1565b905092915050565b613b158161392e565b8114613b2057600080fd5b50565b600081359050613b3281613b0c565b92915050565b600060208284031215613b4e57613b4d613995565b5b6000613b5c84828501613b23565b91505092915050565b6000602082019050613b7a600083018461391f565b92915050565b613b898161390d565b8114613b9457600080fd5b50565b600081359050613ba681613b80565b92915050565b60008060408385031215613bc357613bc2613995565b5b6000613bd185828601613b97565b9250506020613be285828601613b23565b9150509250929050565b600080600060608486031215613c0557613c04613995565b5b6000613c1386828701613b97565b9350506020613c2486828701613b97565b9250506040613c3586828701613b23565b9150509250925092565b600080fd5b600080fd5b600080fd5b60008083601f840112613c6457613c63613c3f565b5b8235905067ffffffffffffffff811115613c8157613c80613c44565b5b602083019150836020820283011115613c9d57613c9c613c49565b5b9250929050565b600080600060408486031215613cbd57613cbc613995565b5b600084013567ffffffffffffffff811115613cdb57613cda61399a565b5b613ce786828701613c4e565b93509350506020613cfa86828701613b23565b9150509250925092565b600060208284031215613d1a57613d19613995565b5b6000613d2884828501613b97565b91505092915050565b60008060208385031215613d4857613d47613995565b5b600083013567ffffffffffffffff811115613d6657613d6561399a565b5b613d7285828601613c4e565b92509250509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613dbb82613aa0565b810181811067ffffffffffffffff82111715613dda57613dd9613d83565b5b80604052505050565b6000613ded61398b565b9050613df98282613db2565b919050565b600067ffffffffffffffff821115613e1957613e18613d83565b5b613e2282613aa0565b9050602081019050919050565b82818337600083830152505050565b6000613e51613e4c84613dfe565b613de3565b905082815260208101848484011115613e6d57613e6c613d7e565b5b613e78848285613e2f565b509392505050565b600082601f830112613e9557613e94613c3f565b5b8135613ea5848260208601613e3e565b91505092915050565b600060208284031215613ec457613ec3613995565b5b600082013567ffffffffffffffff811115613ee257613ee161399a565b5b613eee84828501613e80565b91505092915050565b6000819050919050565b613f0a81613ef7565b82525050565b6000602082019050613f256000830184613f01565b92915050565b60008083601f840112613f4157613f40613c3f565b5b8235905067ffffffffffffffff811115613f5e57613f5d613c44565b5b602083019150836020820283011115613f7a57613f79613c49565b5b9250929050565b60008060208385031215613f9857613f97613995565b5b600083013567ffffffffffffffff811115613fb657613fb561399a565b5b613fc285828601613f2b565b92509250509250929050565b613fd781613ef7565b8114613fe257600080fd5b50565b600081359050613ff481613fce565b92915050565b6000602082840312156140105761400f613995565b5b600061401e84828501613fe5565b91505092915050565b61403081613a24565b811461403b57600080fd5b50565b60008135905061404d81614027565b92915050565b6000806040838503121561406a57614069613995565b5b600061407885828601613b97565b92505060206140898582860161403e565b9150509250929050565b600067ffffffffffffffff8211156140ae576140ad613d83565b5b6140b782613aa0565b9050602081019050919050565b60006140d76140d284614093565b613de3565b9050828152602081018484840111156140f3576140f2613d7e565b5b6140fe848285613e2f565b509392505050565b600082601f83011261411b5761411a613c3f565b5b813561412b8482602086016140c4565b91505092915050565b6000806000806080858703121561414e5761414d613995565b5b600061415c87828801613b97565b945050602061416d87828801613b97565b935050604061417e87828801613b23565b925050606085013567ffffffffffffffff81111561419f5761419e61399a565b5b6141ab87828801614106565b91505092959194509250565b600080604083850312156141ce576141cd613995565b5b60006141dc85828601613b97565b92505060206141ed85828601613b97565b9150509250929050565b6000614202826138ed565b9050919050565b614212816141f7565b811461421d57600080fd5b50565b60008135905061422f81614209565b92915050565b6000806040838503121561424c5761424b613995565b5b600061425a85828601614220565b925050602061426b85828601613b23565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806142bc57607f821691505b6020821081036142cf576142ce614275565b5b50919050565b60006060820190506142ea600083018661391f565b6142f76020830185613938565b614304604083018461391f565b949350505050565b7f436f6e7472616374206973207061757365640000000000000000000000000000600082015250565b6000614342601283613a65565b915061434d8261430c565b602082019050919050565b6000602082019050818103600083015261437181614335565b9050919050565b7f57686974656c6973742073616c65206973206e6f74206f70656e000000000000600082015250565b60006143ae601a83613a65565b91506143b982614378565b602082019050919050565b600060208201905081810360008301526143dd816143a1565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061441e8261392e565b91506144298361392e565b9250828201905080821115614441576144406143e4565b5b92915050565b7f45786365656473206d617820737570706c790000000000000000000000000000600082015250565b600061447d601283613a65565b915061448882614447565b602082019050919050565b600060208201905081810360008301526144ac81614470565b9050919050565b7f43616e6e6f74206d696e74206d6f7265207468616e20616c6c6f776564000000600082015250565b60006144e9601d83613a65565b91506144f4826144b3565b602082019050919050565b60006020820190508181036000830152614518816144dc565b9050919050565b7f4578636565647320574c206c696d697400000000000000000000000000000000600082015250565b6000614555601083613a65565b91506145608261451f565b602082019050919050565b6000602082019050818103600083015261458481614548565b9050919050565b60008160601b9050919050565b60006145a38261458b565b9050919050565b60006145b582614598565b9050919050565b6145cd6145c88261390d565b6145aa565b82525050565b60006145df82846145bc565b60148201915081905092915050565b7f496e76616c696420416464726573733a20574c2047726f757000000000000000600082015250565b6000614624601983613a65565b915061462f826145ee565b602082019050919050565b6000602082019050818103600083015261465381614617565b9050919050565b7f496e636f7272656374204554482076616c75652073656e740000000000000000600082015250565b6000614690601883613a65565b915061469b8261465a565b602082019050919050565b600060208201905081810360008301526146bf81614683565b9050919050565b7f5075626c69632073616c65206973206e6f74206f70656e000000000000000000600082015250565b60006146fc601783613a65565b9150614707826146c6565b602082019050919050565b6000602082019050818103600083015261472b816146ef565b9050919050565b7f4d757374206d696e74206174206c65617374206f6e6520746f6b656e00000000600082015250565b6000614768601c83613a65565b915061477382614732565b602082019050919050565b600060208201905081810360008301526147978161475b565b9050919050565b7f45786365656473207075626c6963206d696e74206c696d697400000000000000600082015250565b60006147d4601983613a65565b91506147df8261479e565b602082019050919050565b60006020820190508181036000830152614803816147c7565b9050919050565b60006148158261392e565b91506148208361392e565b925082820261482e8161392e565b91508282048414831517614845576148446143e4565b5b5092915050565b7f4d696e74696e6720776f756c6420657863656564206d617820737570706c7900600082015250565b6000614882601f83613a65565b915061488d8261484c565b602082019050919050565b600060208201905081810360008301526148b181614875565b9050919050565b7f4f776e65722063616e206f6e6c79206d696e7420757020746f20323020746f6b60008201527f656e7320617420612074696d6500000000000000000000000000000000000000602082015250565b6000614914602d83613a65565b915061491f826148b8565b604082019050919050565b6000602082019050818103600083015261494381614907565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026149ac7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8261496f565b6149b6868361496f565b95508019841693508086168417925050509392505050565b6000819050919050565b60006149f36149ee6149e98461392e565b6149ce565b61392e565b9050919050565b6000819050919050565b614a0d836149d8565b614a21614a19826149fa565b84845461497c565b825550505050565b600090565b614a36614a29565b614a41818484614a04565b505050565b5b81811015614a6557614a5a600082614a2e565b600181019050614a47565b5050565b601f821115614aaa57614a7b8161494a565b614a848461495f565b81016020851015614a93578190505b614aa7614a9f8561495f565b830182614a46565b50505b505050565b600082821c905092915050565b6000614acd60001984600802614aaf565b1980831691505092915050565b6000614ae68383614abc565b9150826002028217905092915050565b614aff82613a5a565b67ffffffffffffffff811115614b1857614b17613d83565b5b614b2282546142a4565b614b2d828285614a69565b600060209050601f831160018114614b605760008415614b4e578287015190505b614b588582614ada565b865550614bc0565b601f198416614b6e8661494a565b60005b82811015614b9657848901518255600182019150602085019450602081019050614b71565b86831015614bb35784890151614baf601f891682614abc565b8355505b6001600288020188555050505b505050505050565b60006040820190508181036000830152614be28185613ab1565b9050614bf1602083018461391f565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f464346532073616c65206973206e6f74206f70656e0000000000000000000000600082015250565b6000614c5d601583613a65565b9150614c6882614c27565b602082019050919050565b60006020820190508181036000830152614c8c81614c50565b9050919050565b7f457863656564732046434653206c696d69740000000000000000000000000000600082015250565b6000614cc9601283613a65565b9150614cd482614c93565b602082019050919050565b60006020820190508181036000830152614cf881614cbc565b9050919050565b7f496e76616c696420416464726573733a20464346532047726f75700000000000600082015250565b6000614d35601b83613a65565b9150614d4082614cff565b602082019050919050565b60006020820190508181036000830152614d6481614d28565b9050919050565b600081905092915050565b6000614d8182613a5a565b614d8b8185614d6b565b9350614d9b818560208601613a76565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b6000614ddd600583614d6b565b9150614de882614da7565b600582019050919050565b6000614dff8285614d76565b9150614e0b8284614d76565b9150614e1682614dd0565b91508190509392505050565b7f496e76616c6964207769746864726177616c2061646472657373000000000000600082015250565b6000614e58601a83613a65565b9150614e6382614e22565b602082019050919050565b60006020820190508181036000830152614e8781614e4b565b9050919050565b7f416d6f756e74206d7573742062652067726561746572207468616e2030000000600082015250565b6000614ec4601d83613a65565b9150614ecf82614e8e565b602082019050919050565b60006020820190508181036000830152614ef381614eb7565b9050919050565b7f496e73756666696369656e7420636f6e74726163742062616c616e6365000000600082015250565b6000614f30601d83613a65565b9150614f3b82614efa565b602082019050919050565b60006020820190508181036000830152614f5f81614f23565b9050919050565b600081905092915050565b50565b6000614f81600083614f66565b9150614f8c82614f71565b600082019050919050565b6000614fa282614f74565b9150819050919050565b7f4661696c656420746f2073656e64204574686572000000000000000000000000600082015250565b6000614fe2601483613a65565b9150614fed82614fac565b602082019050919050565b6000602082019050818103600083015261501181614fd5565b9050919050565b600061503361502e615029846138ed565b6149ce565b6138ed565b9050919050565b600061504582615018565b9050919050565b60006150578261503a565b9050919050565b6150678161504c565b82525050565b60006040820190506150826000830185613938565b61508f602083018461505e565b9392505050565b60006150a18261392e565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036150d3576150d26143e4565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600081519050919050565b600082825260208201905092915050565b60006151348261510d565b61513e8185615118565b935061514e818560208601613a76565b61515781613aa0565b840191505092915050565b6000608082019050615177600083018761391f565b615184602083018661391f565b6151916040830185613938565b81810360608301526151a38184615129565b905095945050505050565b6000815190506151bd816139cb565b92915050565b6000602082840312156151d9576151d8613995565b5b60006151e7848285016151ae565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fdfea264697066735822122099a6cd6e6d8e9986db01101326f9f0473152fabfdd04ec2ad7993255f268905364736f6c634300081a0033

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

2b76e341ca0b849ea770f365cf79f2bd8048257f57992b42d9cfe3204827c6b2fc2a536c8e0af110e891db9cae48c50aec54be9464903ce616fc86afa2cda09a0000000000000000000000007ce4fa787582c9e5c9fee9f1b6803fd794359a69

-----Decoded View---------------
Arg [0] : wlMerkleRoot_ (bytes32): 0x2b76e341ca0b849ea770f365cf79f2bd8048257f57992b42d9cfe3204827c6b2
Arg [1] : fcfsMerkleRoot_ (bytes32): 0xfc2a536c8e0af110e891db9cae48c50aec54be9464903ce616fc86afa2cda09a
Arg [2] : initialOwner (address): 0x7CE4FA787582C9e5c9fEe9F1B6803Fd794359A69

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 2b76e341ca0b849ea770f365cf79f2bd8048257f57992b42d9cfe3204827c6b2
Arg [1] : fc2a536c8e0af110e891db9cae48c50aec54be9464903ce616fc86afa2cda09a
Arg [2] : 0000000000000000000000007ce4fa787582c9e5c9fee9f1b6803fd794359a69


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.