ETH Price: $3,225.85 (-3.87%)

Token

Cartoons (TOON)
 

Overview

Max Total Supply

7,777 TOON

Holders

4,503

Market

Volume (24H)

0.0045 ETH

Min Price (24H)

$14.52 @ 0.004500 ETH

Max Price (24H)

$14.52 @ 0.004500 ETH
Filtered by Token Holder
nftsir.eth
Balance
2 TOON
0xb5c1bbd13f127Bd1807d6434bB016ec93e6CB107
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

A community driven nft project by eur0, celly, mao, york & cloudy.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Cartoons

Compiler Version
v0.8.6+commit.11564f7e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 15 : Cartoons.sol
import '@openzeppelin/contracts/access/Ownable.sol';
import './merkle/MerkleProof.sol';
import './interfaces/IERC20.sol';
import './ReentrancyGuard.sol';
import './ERC721A.sol';

pragma solidity ^0.8.6;

/*
    .----------------.  .----------------.  .----------------.  .----------------.  .----------------.  .----------------.  .-----------------. .----------------. 
    | .--------------. || .--------------. || .--------------. || .--------------. || .--------------. || .--------------. || .--------------. || .--------------. |
    | |     ______   | || |      __      | || |  _______     | || |  _________   | || |     ____     | || |     ____     | || | ____  _____  | || |    _______   | |
    | |   .' ___  |  | || |     /  \     | || | |_   __ \    | || | |  _   _  |  | || |   .'    `.   | || |   .'    `.   | || ||_   \|_   _| | || |   /  ___  |  | |
    | |  / .'   \_|  | || |    / /\ \    | || |   | |__) |   | || | |_/ | | \_|  | || |  /  .--.  \  | || |  /  .--.  \  | || |  |   \ | |   | || |  |  (__ \_|  | |
    | |  | |         | || |   / ____ \   | || |   |  __ /    | || |     | |      | || |  | |    | |  | || |  | |    | |  | || |  | |\ \| |   | || |   '.___`-.   | |
    | |  \ `.___.'\  | || | _/ /    \ \_ | || |  _| |  \ \_  | || |    _| |_     | || |  \  `--'  /  | || |  \  `--'  /  | || | _| |_\   |_  | || |  |`\____) |  | |
    | |   `._____.'  | || ||____|  |____|| || | |____| |___| | || |   |_____|    | || |   `.____.'   | || |   `.____.'   | || ||_____|\____| | || |  |_______.'  | |
    | |              | || |              | || |              | || |              | || |              | || |              | || |              | || |              | |
    | '--------------' || '--------------' || '--------------' || '--------------' || '--------------' || '--------------' || '--------------' || '--------------' |
    '----------------'  '----------------'  '----------------'  '----------------'  '----------------'  '----------------'  '----------------'  '----------------'                                                                                                                                                      
*/
contract Cartoons is ERC721A, Ownable, ReentrancyGuard {
    using Strings for uint256;
    
    uint256 public rootMintAmt; // Mints allocated from whitelist mint for each whitelisted address
    uint256 public pubMintMaxPerTx = 1; // Max mint per transaction for public mint
    uint256 public constant MAX_SUPPLY = 7777;  // Max supply allowed to be minted
    uint256 public totalReserved = 125; // total reserved amount to be minted by team + community wallet
    uint256 public itemPrice = 0.07 ether;  // Mint price
    bytes32 public root;    // Merkle root
    string public baseURI = 'https://gateway.pinata.cloud/ipfs/Qmbh34FKCmPcyA7xN73aujqnFhtYe4Erb5mGxvYjzPfYwF/'; // Base URI for tokenURI
    bool public isWhitelistActive;  // Access modifier for whitelist mint function
    bool public isPublicMintActive; // Access modifier for public mint function
    mapping (address=>uint256) reservations;    // Mapping tracks reservation mints (250 total reserved)
    mapping (address=>uint256) share; // Mapping tracks share amounts for withdraw 1000 = 100% so we can handle 1 decimal place

    constructor (bytes32 _root, uint256 _rootMintAmt) ERC721A("Cartoons", "TOON") {
        root = _root;
        rootMintAmt = _rootMintAmt;

        reservations[0x1A0cAAb1AdDdbB12dd61B7f7873c69C18f80AACf] = 25;
        reservations[0xED96E702e654343297D5c56E49C4de4f882f8f8B] = 25;
        reservations[0x0515c23D04B3C078e40363B9b3142303004F343c] = 25;
        reservations[0x19F32B6D6912023c47BC0DF991d80CAAB52620a3] = 25;
        reservations[0xFC56e522504348833BCE63a6c15101d28E9BC1c2] = 25;

        share[0x1A0cAAb1AdDdbB12dd61B7f7873c69C18f80AACf] = 225;
        share[0xED96E702e654343297D5c56E49C4de4f882f8f8B] = 225;
        share[0x0515c23D04B3C078e40363B9b3142303004F343c] = 200;
        share[0x19F32B6D6912023c47BC0DF991d80CAAB52620a3] = 125;
        share[0xFC56e522504348833BCE63a6c15101d28E9BC1c2] = 75;
        share[0x7f7602CFba48a032247e403E551886b8A9ea7267] = 10;
        share[0xbEB82e72F032631E6B3FF0b5Fa04aceA1D6bC0eb] = 140;

        transferOwnership(address(0xbEB82e72F032631E6B3FF0b5Fa04aceA1D6bC0eb));
    }

    /*
        Mint for Whitelisted Addresses - Reentrancy Guarded
        _proof - bytes32 array to verify hash of msg.sender(leaf) is contained in merkle tree
        _amt - uint256 specifies amount to mint (must be no greater than rootMintAmt)
    */
    function whitelistMint(bytes32[] calldata _proof, uint256 _amt) external payable nonReentrant {
        require(totalSupply() + _amt <= MAX_SUPPLY - totalReserved, "Mint Amount Exceeds Total Allowed Mints");
        require(msg.sender == tx.origin, "Minting from Contract not Allowed");
        require(isWhitelistActive, "Cartoons Whitelist Mint Not Active");
        uint64 newClaimTotal = _getAux(msg.sender) + uint64(_amt);
        require(newClaimTotal <= rootMintAmt, "Requested Claim Amount Invalid");
        require(itemPrice * _amt == msg.value,  "Incorrect Payment");
        bytes32 leaf = keccak256(abi.encodePacked(msg.sender));
        require(MerkleProof.verify(_proof,root,leaf), "Invalid Proof/Root/Leaf");

        _setAux(msg.sender, newClaimTotal);

        _safeMint(msg.sender, _amt);
    }

    /*
        Public Mint - Reentrancy Guarded
        _amt - uint256 amount to mint
    */
    function publicMint(uint256 _amt) external payable nonReentrant {
        require(totalSupply() + _amt <= MAX_SUPPLY - totalReserved, "Mint Amount Exceeds Total Allowed Mints");
        require(msg.sender == tx.origin, "Minting from Contract not Allowed");
        require(isPublicMintActive, "Cartoons Public Mint Not Active");
        require(_amt <= pubMintMaxPerTx, "Requested Mint Amount Exceeds Limit Per Tx");
        require(itemPrice * _amt == msg.value,  "Incorrect Payment");

        _safeMint(msg.sender, _amt);
    }

    /*
        Reserved Team Mint, 250 Total - Reentrancy Guarded
        _amt - uint256 amount to mint
    */
    function reservationMint(uint256 _amt) external nonReentrant {
        uint256 amtReserved = reservations[msg.sender];
        require(totalSupply() + _amt <= MAX_SUPPLY,"Requested Amount Exceeds Total Supply");
        require(amtReserved >= _amt, "No Reservation for requested amount");
        require(amtReserved <= totalReserved, "Amount Exceeds Total Reserved");
        reservations[msg.sender] -= _amt;
        totalReserved -= _amt;

        _safeMint(msg.sender, _amt);
    }

    /*
        SETTORS - onlyOwner access
    */

    /* 
        Access modifier for whitelist mint function
        _val - TRUE for active / FALSE for inactive mint
    */
    function setWhitelistMintActive(bool _val) external onlyOwner {
        isWhitelistActive = _val;
    }

    /* 
        Access modifier for public mint function
        _val - TRUE for active / FALSE for inactive mint
    */
    function setPublicMintActive(bool _val) external onlyOwner {
        isPublicMintActive = _val;
    }

    /*
        Plant new merkle root to replace whitelist
        _root - bytes32 value of new merkle root
        _amt - uint256 amount each whitelisted address can mint
    */

    function plantNewRoot(bytes32 _root, uint256 _amt) external onlyOwner {
        require(!isWhitelistActive, "Whitelist Minting Not Disabled");
        root = _root;
        rootMintAmt = _amt;
    }

    /*
        Sets new base URI for Cartoons NFT as _uri
        _uri - string value to be new base URI
    */
    function setBaseURI(string memory _uri) external onlyOwner {
        baseURI = _uri;
    }

    /*
        Sets new mint price
        _price - uint256 value to be new price
    */
    function setItemPrice(uint256 _price) external onlyOwner {
		itemPrice = _price;
	}

    /*
        Sets new max mint amount per transaction
        _amount - uint256 value to be new max mint amount per transaction
    */
    function setMaxMintPerTx(uint256 _amt) external onlyOwner {
		pubMintMaxPerTx = _amt;
	}

    /*
        GETTORS - view functions
    */

    /*
        Getter function returns how many whitelist mints a specified _user has remaining for current merkle root
        _proof - bytes32 array used to verify that _user is a whitelisted address
        _user - address to check remaining mints for
        amount - uint256 RETURN value that specifies number of remaining mints
    */
    function getAllowedMintAmount(bytes32[] calldata _proof, address _user) public view returns (uint256 amount) {
        bytes32 leaf = keccak256(abi.encodePacked(_user));
        amount = MerkleProof.verify(_proof,root,leaf) ? (rootMintAmt - _getAux(_user)) : 0;
    }

    /*
        Returns mint price
    */
    function getItemPrice() public view returns (uint256) {
		return itemPrice;
	}

    /*
        Returns baseURI string value
    */
    function _baseURI() internal view override returns (string memory){
        return baseURI;
    }

    /*
        Returns tokenURI for specified _tokenID
    */
    function tokenURI(uint256 _tokenID) public view virtual override returns (string memory) {
        require(_exists(_tokenID), "ERC721Metadata: URI query for nonexistent token");
        return bytes(baseURI).length > 0 ? string(abi.encodePacked(_baseURI(), _tokenID.toString(), ".json")) : "";
    }
    
    /*
        Utility Functions - onlyOwner access
    */

    /*
        Transfers ETH from this contract to predesignated addresses
    */
    function withdrawEth() public onlyOwner nonReentrant {
        uint256 total = address(this).balance;
        uint256 amt1 = total*share[0x1A0cAAb1AdDdbB12dd61B7f7873c69C18f80AACf]/1000;
        uint256 amt2 = total*share[0xED96E702e654343297D5c56E49C4de4f882f8f8B]/1000;
        uint256 amt3 = total*share[0x0515c23D04B3C078e40363B9b3142303004F343c]/1000;
        uint256 amt4 = total*share[0x19F32B6D6912023c47BC0DF991d80CAAB52620a3]/1000;
        uint256 amt5 = total*share[0xFC56e522504348833BCE63a6c15101d28E9BC1c2]/1000;
        uint256 amt6 = total*share[0x7f7602CFba48a032247e403E551886b8A9ea7267]/1000;
        uint256 amt7 = total*share[0xbEB82e72F032631E6B3FF0b5Fa04aceA1D6bC0eb]/1000;

        require(payable(0x1A0cAAb1AdDdbB12dd61B7f7873c69C18f80AACf).send(amt1));
        require(payable(0xED96E702e654343297D5c56E49C4de4f882f8f8B).send(amt2));
        require(payable(0x0515c23D04B3C078e40363B9b3142303004F343c).send(amt3));
        require(payable(0x19F32B6D6912023c47BC0DF991d80CAAB52620a3).send(amt4));
        require(payable(0xFC56e522504348833BCE63a6c15101d28E9BC1c2).send(amt5));
        require(payable(0x7f7602CFba48a032247e403E551886b8A9ea7267).send(amt6));
        require(payable(0xbEB82e72F032631E6B3FF0b5Fa04aceA1D6bC0eb).send(amt7));
    }

    /*
        Rescue any ERC-20 tokens that are sent to this contract mistakenly
    */
    function withdrawToken(IERC20 _token, uint256 _amount) public onlyOwner {
        _token.transferFrom(address(this), owner(), _amount);
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}

File 4 of 15 : IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

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

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

File 6 of 15 : ERC721A.sol
// SPDX-License-Identifier: MIT
// Creator: Chiru Labs

pragma solidity ^0.8.4;

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

error ApprovalCallerNotOwnerNorApproved();
error ApprovalQueryForNonexistentToken();
error ApproveToCaller();
error ApprovalToCurrentOwner();
error BalanceQueryForZeroAddress();
error MintedQueryForZeroAddress();
error BurnedQueryForZeroAddress();
error AuxQueryForZeroAddress();
error MintToZeroAddress();
error MintZeroQuantity();
error OwnerIndexOutOfBounds();
error OwnerQueryForNonexistentToken();
error TokenIndexOutOfBounds();
error TransferCallerNotOwnerNorApproved();
error TransferFromIncorrectOwner();
error TransferToNonERC721ReceiverImplementer();
error TransferToZeroAddress();
error URIQueryForNonexistentToken();

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension. Built to optimize for lower gas during batch mints.
 *
 * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..).
 *
 * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
 *
 * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256).
 */
contract ERC721A is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

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

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

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId, owner);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        if (prevOwnership.addr != from) revert TransferFromIncorrectOwner();
        if (to == address(0)) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

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

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256.
        unchecked {
            _addressData[from].balance -= 1;
            _addressData[to].balance += 1;

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

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

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

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

        _beforeTokenTransfers(prevOwnership.addr, address(0), tokenId, 1);

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

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256.
        unchecked {
            _addressData[prevOwnership.addr].balance -= 1;
            _addressData[prevOwnership.addr].numberBurned += 1;

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

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

        emit Transfer(prevOwnership.addr, address(0), tokenId);
        _afterTokenTransfers(prevOwnership.addr, address(0), tokenId, 1);

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

File 8 of 15 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

File 9 of 15 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"bytes32","name":"_root","type":"bytes32"},{"internalType":"uint256","name":"_rootMintAmt","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"AuxQueryForZeroAddress","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"},{"internalType":"address","name":"_user","type":"address"}],"name":"getAllowedMintAmount","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getItemPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPublicMintActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isWhitelistActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"itemPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_root","type":"bytes32"},{"internalType":"uint256","name":"_amt","type":"uint256"}],"name":"plantNewRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"pubMintMaxPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amt","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amt","type":"uint256"}],"name":"reservationMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"root","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rootMintAmt","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":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setItemPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amt","type":"uint256"}],"name":"setMaxMintPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_val","type":"bool"}],"name":"setPublicMintActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_val","type":"bool"}],"name":"setWhitelistMintActive","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":"totalReserved","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"},{"internalType":"uint256","name":"_amt","type":"uint256"}],"name":"whitelistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"withdrawEth","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"_token","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdrawToken","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526001600b55607d600c5566f8b0a10e470000600d5560405180608001604052806051815260200162005bbb60519139600f90805190602001906200004a929190620007d6565b503480156200005857600080fd5b5060405162005c0c38038062005c0c83398181016040528101906200007e9190620008b4565b6040518060400160405280600881526020017f436172746f6f6e730000000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f544f4f4e00000000000000000000000000000000000000000000000000000000815250816002908051906020019062000102929190620007d6565b5080600390805190602001906200011b929190620007d6565b506200012c620005c360201b60201c565b60008190555050506200015462000148620005c860201b60201c565b620005d060201b60201c565b600160098190555081600e8190555080600a81905550601960116000731a0caab1adddbb12dd61b7f7873c69c18f80aacf73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060196011600073ed96e702e654343297d5c56e49c4de4f882f8f8b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550601960116000730515c23d04b3c078e40363b9b3142303004f343c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506019601160007319f32b6d6912023c47bc0df991d80caab52620a373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060196011600073fc56e522504348833bce63a6c15101d28e9bc1c273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060e160126000731a0caab1adddbb12dd61b7f7873c69c18f80aacf73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060e16012600073ed96e702e654343297d5c56e49c4de4f882f8f8b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060c860126000730515c23d04b3c078e40363b9b3142303004f343c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550607d601260007319f32b6d6912023c47bc0df991d80caab52620a373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550604b6012600073fc56e522504348833bce63a6c15101d28e9bc1c273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600a60126000737f7602cfba48a032247e403e551886b8a9ea726773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550608c6012600073beb82e72f032631e6b3ff0b5fa04acea1d6bc0eb73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550620005bb73beb82e72f032631e6b3ff0b5fa04acea1d6bc0eb6200069660201b60201c565b505062000ac8565b600090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620006a6620005c860201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620006cc620007ac60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff161462000725576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200071c906200096b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141562000798576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200078f9062000949565b60405180910390fd5b620007a981620005d060201b60201c565b50565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b828054620007e490620009b2565b90600052602060002090601f01602090048101928262000808576000855562000854565b82601f106200082357805160ff191683800117855562000854565b8280016001018555821562000854579182015b828111156200085357825182559160200191906001019062000836565b5b50905062000863919062000867565b5090565b5b808211156200088257600081600090555060010162000868565b5090565b600081519050620008978162000a94565b92915050565b600081519050620008ae8162000aae565b92915050565b60008060408385031215620008ce57620008cd62000a17565b5b6000620008de8582860162000886565b9250506020620008f1858286016200089d565b9150509250929050565b60006200090a6026836200098d565b9150620009178262000a1c565b604082019050919050565b6000620009316020836200098d565b91506200093e8262000a6b565b602082019050919050565b600060208201905081810360008301526200096481620008fb565b9050919050565b60006020820190508181036000830152620009868162000922565b9050919050565b600082825260208201905092915050565b6000819050919050565b6000819050919050565b60006002820490506001821680620009cb57607f821691505b60208210811415620009e257620009e1620009e8565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600080fd5b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b62000a9f816200099e565b811462000aab57600080fd5b50565b62000ab981620009a8565b811462000ac557600080fd5b50565b6150e38062000ad86000396000f3fe6080604052600436106102305760003560e01c80636352211e1161012e578063a22cb465116100ab578063cf856aa01161006f578063cf856aa0146107f7578063dac6db1c14610822578063e985e9c51461084d578063ebf0c7171461088a578063f2fde38b146108b557610230565b8063a22cb46514610700578063b88d4fde14610729578063bb98107114610752578063c71b0e1c1461078f578063c87b56dd146107ba57610230565b80638e448490116100f25780638e4484901461064357806395d89b411461066c57806398ca7795146106975780639e281a98146106c0578063a0ef91df146106e957610230565b80636352211e1461055c5780636c0360eb1461059957806370a08231146105c4578063715018a6146106015780638da5cb5b1461061857610230565b80632904e6d9116101bc57806342842e0e1161018057806342842e0e1461048b578063524513d6146104b457806355f804b3146104df5780635ae57b8a14610508578063616cdb1e1461053357610230565b80632904e6d9146103d45780632b707c71146103f05780632d6b6224146104195780632db115441461044457806332cb6b0c1461046057610230565b806318160ddd1161020357806318160ddd1461030357806318bea1c41461032e5780631d581b4e146103575780632083ad821461038057806323b872dd146103ab57610230565b806301ffc9a71461023557806306fdde0314610272578063081812fc1461029d578063095ea7b3146102da575b600080fd5b34801561024157600080fd5b5061025c60048036038101906102579190613f5b565b6108de565b604051610269919061449c565b60405180910390f35b34801561027e57600080fd5b506102876109c0565b60405161029491906144d2565b60405180910390f35b3480156102a957600080fd5b506102c460048036038101906102bf919061403e565b610a52565b6040516102d191906143fe565b60405180910390f35b3480156102e657600080fd5b5061030160048036038101906102fc9190613dc1565b610ace565b005b34801561030f57600080fd5b50610318610bd9565b60405161032591906146f4565b60405180910390f35b34801561033a57600080fd5b5061035560048036038101906103509190613ec1565b610bf0565b005b34801561036357600080fd5b5061037e60048036038101906103799190613f1b565b610c89565b005b34801561038c57600080fd5b50610395610d67565b6040516103a291906146f4565b60405180910390f35b3480156103b757600080fd5b506103d260048036038101906103cd9190613cab565b610d71565b005b6103ee60048036038101906103e99190613e61565b610d81565b005b3480156103fc57600080fd5b5061041760048036038101906104129190613ec1565b611081565b005b34801561042557600080fd5b5061042e61111a565b60405161043b919061449c565b60405180910390f35b61045e6004803603810190610459919061403e565b61112d565b005b34801561046c57600080fd5b50610475611345565b60405161048291906146f4565b60405180910390f35b34801561049757600080fd5b506104b260048036038101906104ad9190613cab565b61134b565b005b3480156104c057600080fd5b506104c961136b565b6040516104d6919061449c565b60405180910390f35b3480156104eb57600080fd5b5061050660048036038101906105019190613ff5565b61137e565b005b34801561051457600080fd5b5061051d611414565b60405161052a91906146f4565b60405180910390f35b34801561053f57600080fd5b5061055a6004803603810190610555919061403e565b61141a565b005b34801561056857600080fd5b50610583600480360381019061057e919061403e565b6114a0565b60405161059091906143fe565b60405180910390f35b3480156105a557600080fd5b506105ae6114b6565b6040516105bb91906144d2565b60405180910390f35b3480156105d057600080fd5b506105eb60048036038101906105e69190613c3e565b611544565b6040516105f891906146f4565b60405180910390f35b34801561060d57600080fd5b50610616611614565b005b34801561062457600080fd5b5061062d61169c565b60405161063a91906143fe565b60405180910390f35b34801561064f57600080fd5b5061066a6004803603810190610665919061403e565b6116c6565b005b34801561067857600080fd5b506106816118bc565b60405161068e91906144d2565b60405180910390f35b3480156106a357600080fd5b506106be60048036038101906106b9919061403e565b61194e565b005b3480156106cc57600080fd5b506106e760048036038101906106e29190613fb5565b6119d4565b005b3480156106f557600080fd5b506106fe611aeb565b005b34801561070c57600080fd5b5061072760048036038101906107229190613d81565b61211a565b005b34801561073557600080fd5b50610750600480360381019061074b9190613cfe565b612292565b005b34801561075e57600080fd5b5061077960048036038101906107749190613e01565b61230e565b60405161078691906146f4565b60405180910390f35b34801561079b57600080fd5b506107a46123be565b6040516107b191906146f4565b60405180910390f35b3480156107c657600080fd5b506107e160048036038101906107dc919061403e565b6123c4565b6040516107ee91906144d2565b60405180910390f35b34801561080357600080fd5b5061080c612472565b60405161081991906146f4565b60405180910390f35b34801561082e57600080fd5b50610837612478565b60405161084491906146f4565b60405180910390f35b34801561085957600080fd5b50610874600480360381019061086f9190613c6b565b61247e565b604051610881919061449c565b60405180910390f35b34801561089657600080fd5b5061089f612512565b6040516108ac91906144b7565b60405180910390f35b3480156108c157600080fd5b506108dc60048036038101906108d79190613c3e565b612518565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806109a957507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806109b957506109b882612610565b5b9050919050565b6060600280546109cf90614a12565b80601f01602080910402602001604051908101604052809291908181526020018280546109fb90614a12565b8015610a485780601f10610a1d57610100808354040283529160200191610a48565b820191906000526020600020905b815481529060010190602001808311610a2b57829003601f168201915b5050505050905090565b6000610a5d8261267a565b610a93576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610ad9826114a0565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b41576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b606126c8565b73ffffffffffffffffffffffffffffffffffffffff1614158015610b925750610b9081610b8b6126c8565b61247e565b155b15610bc9576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610bd48383836126d0565b505050565b6000610be3612782565b6001546000540303905090565b610bf86126c8565b73ffffffffffffffffffffffffffffffffffffffff16610c1661169c565b73ffffffffffffffffffffffffffffffffffffffff1614610c6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c6390614614565b60405180910390fd5b80601060006101000a81548160ff02191690831515021790555050565b610c916126c8565b73ffffffffffffffffffffffffffffffffffffffff16610caf61169c565b73ffffffffffffffffffffffffffffffffffffffff1614610d05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cfc90614614565b60405180910390fd5b601060009054906101000a900460ff1615610d55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d4c90614694565b60405180910390fd5b81600e8190555080600a819055505050565b6000600d54905090565b610d7c838383612787565b505050565b60026009541415610dc7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dbe906146b4565b60405180910390fd5b6002600981905550600c54611e61610ddf91906148f8565b81610de8610bd9565b610df291906147d9565b1115610e33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2a90614674565b60405180910390fd5b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610ea1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e98906144f4565b60405180910390fd5b601060009054906101000a900460ff16610ef0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee790614594565b60405180910390fd5b600081610efc33612c78565b610f06919061482f565b9050600a548167ffffffffffffffff161115610f57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f4e90614554565b60405180910390fd5b3482600d54610f66919061489e565b14610fa6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9d906146d4565b60405180910390fd5b600033604051602001610fb991906143b4565b60405160208183030381529060405280519060200120905061101f858580806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600e5483612d3e565b61105e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161105590614654565b60405180910390fd5b6110683383612d55565b6110723384612e29565b50506001600981905550505050565b6110896126c8565b73ffffffffffffffffffffffffffffffffffffffff166110a761169c565b73ffffffffffffffffffffffffffffffffffffffff16146110fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110f490614614565b60405180910390fd5b80601060016101000a81548160ff02191690831515021790555050565b601060019054906101000a900460ff1681565b60026009541415611173576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161116a906146b4565b60405180910390fd5b6002600981905550600c54611e6161118b91906148f8565b81611194610bd9565b61119e91906147d9565b11156111df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111d690614674565b60405180910390fd5b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461124d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611244906144f4565b60405180910390fd5b601060019054906101000a900460ff1661129c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129390614514565b60405180910390fd5b600b548111156112e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112d8906145f4565b60405180910390fd5b3481600d546112f0919061489e565b14611330576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611327906146d4565b60405180910390fd5b61133a3382612e29565b600160098190555050565b611e6181565b61136683838360405180602001604052806000815250612292565b505050565b601060009054906101000a900460ff1681565b6113866126c8565b73ffffffffffffffffffffffffffffffffffffffff166113a461169c565b73ffffffffffffffffffffffffffffffffffffffff16146113fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113f190614614565b60405180910390fd5b80600f908051906020019061141092919061397a565b5050565b600b5481565b6114226126c8565b73ffffffffffffffffffffffffffffffffffffffff1661144061169c565b73ffffffffffffffffffffffffffffffffffffffff1614611496576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148d90614614565b60405180910390fd5b80600b8190555050565b60006114ab82612e47565b600001519050919050565b600f80546114c390614a12565b80601f01602080910402602001604051908101604052809291908181526020018280546114ef90614a12565b801561153c5780601f106115115761010080835404028352916020019161153c565b820191906000526020600020905b81548152906001019060200180831161151f57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156115ac576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b61161c6126c8565b73ffffffffffffffffffffffffffffffffffffffff1661163a61169c565b73ffffffffffffffffffffffffffffffffffffffff1614611690576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168790614614565b60405180910390fd5b61169a60006130d6565b565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6002600954141561170c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611703906146b4565b60405180910390fd5b60026009819055506000601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050611e6182611764610bd9565b61176e91906147d9565b11156117af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117a690614574565b60405180910390fd5b818110156117f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117e9906145d4565b60405180910390fd5b600c54811115611837576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161182e906145b4565b60405180910390fd5b81601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461188691906148f8565b9250508190555081600c600082825461189f91906148f8565b925050819055506118b03383612e29565b50600160098190555050565b6060600380546118cb90614a12565b80601f01602080910402602001604051908101604052809291908181526020018280546118f790614a12565b80156119445780601f1061191957610100808354040283529160200191611944565b820191906000526020600020905b81548152906001019060200180831161192757829003601f168201915b5050505050905090565b6119566126c8565b73ffffffffffffffffffffffffffffffffffffffff1661197461169c565b73ffffffffffffffffffffffffffffffffffffffff16146119ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119c190614614565b60405180910390fd5b80600d8190555050565b6119dc6126c8565b73ffffffffffffffffffffffffffffffffffffffff166119fa61169c565b73ffffffffffffffffffffffffffffffffffffffff1614611a50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a4790614614565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff166323b872dd30611a7561169c565b846040518463ffffffff1660e01b8152600401611a9493929190614419565b602060405180830381600087803b158015611aae57600080fd5b505af1158015611ac2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ae69190613eee565b505050565b611af36126c8565b73ffffffffffffffffffffffffffffffffffffffff16611b1161169c565b73ffffffffffffffffffffffffffffffffffffffff1614611b67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b5e90614614565b60405180910390fd5b60026009541415611bad576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ba4906146b4565b60405180910390fd5b6002600981905550600047905060006103e860126000731a0caab1adddbb12dd61b7f7873c69c18f80aacf73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205483611c1e919061489e565b611c28919061486d565b905060006103e86012600073ed96e702e654343297d5c56e49c4de4f882f8f8b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205484611c8e919061489e565b611c98919061486d565b905060006103e860126000730515c23d04b3c078e40363b9b3142303004f343c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205485611cfe919061489e565b611d08919061486d565b905060006103e8601260007319f32b6d6912023c47bc0df991d80caab52620a373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205486611d6e919061489e565b611d78919061486d565b905060006103e86012600073fc56e522504348833bce63a6c15101d28e9bc1c273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205487611dde919061489e565b611de8919061486d565b905060006103e860126000737f7602cfba48a032247e403e551886b8a9ea726773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205488611e4e919061489e565b611e58919061486d565b905060006103e86012600073beb82e72f032631e6b3ff0b5fa04acea1d6bc0eb73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205489611ebe919061489e565b611ec8919061486d565b9050731a0caab1adddbb12dd61b7f7873c69c18f80aacf73ffffffffffffffffffffffffffffffffffffffff166108fc889081150290604051600060405180830381858888f19350505050611f1c57600080fd5b73ed96e702e654343297d5c56e49c4de4f882f8f8b73ffffffffffffffffffffffffffffffffffffffff166108fc879081150290604051600060405180830381858888f19350505050611f6e57600080fd5b730515c23d04b3c078e40363b9b3142303004f343c73ffffffffffffffffffffffffffffffffffffffff166108fc869081150290604051600060405180830381858888f19350505050611fc057600080fd5b7319f32b6d6912023c47bc0df991d80caab52620a373ffffffffffffffffffffffffffffffffffffffff166108fc859081150290604051600060405180830381858888f1935050505061201257600080fd5b73fc56e522504348833bce63a6c15101d28e9bc1c273ffffffffffffffffffffffffffffffffffffffff166108fc849081150290604051600060405180830381858888f1935050505061206457600080fd5b737f7602cfba48a032247e403e551886b8a9ea726773ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f193505050506120b657600080fd5b73beb82e72f032631e6b3ff0b5fa04acea1d6bc0eb73ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505061210857600080fd5b50505050505050506001600981905550565b6121226126c8565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612187576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600760006121946126c8565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166122416126c8565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612286919061449c565b60405180910390a35050565b61229d848484612787565b6122bc8373ffffffffffffffffffffffffffffffffffffffff1661319c565b80156122d157506122cf848484846131af565b155b15612308576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b6000808260405160200161232291906143b4565b604051602081830303815290604052805190602001209050612388858580806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600e5483612d3e565b6123935760006123b4565b61239c83612c78565b67ffffffffffffffff16600a546123b391906148f8565b5b9150509392505050565b600c5481565b60606123cf8261267a565b61240e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161240590614634565b60405180910390fd5b6000600f805461241d90614a12565b905011612439576040518060200160405280600081525061246b565b61244161330f565b61244a836133a1565b60405160200161245b9291906143cf565b6040516020818303038152906040525b9050919050565b600a5481565b600d5481565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600e5481565b6125206126c8565b73ffffffffffffffffffffffffffffffffffffffff1661253e61169c565b73ffffffffffffffffffffffffffffffffffffffff1614612594576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161258b90614614565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612604576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125fb90614534565b60405180910390fd5b61260d816130d6565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600081612685612782565b11158015612694575060005482105b80156126c1575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600090565b600061279282612e47565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff166127b96126c8565b73ffffffffffffffffffffffffffffffffffffffff1614806127ec57506127eb82600001516127e66126c8565b61247e565b5b8061283157506127fa6126c8565b73ffffffffffffffffffffffffffffffffffffffff1661281984610a52565b73ffffffffffffffffffffffffffffffffffffffff16145b90508061286a576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff16146128d3576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561293a576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6129478585856001613502565b61295760008484600001516126d0565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836004600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600085815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600184019050600073ffffffffffffffffffffffffffffffffffffffff166004600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612c0857600054811015612c075782600001516004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001516004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b50828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612c718585856001613508565b5050505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612ce0576040517fac3727ba00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160189054906101000a900467ffffffffffffffff169050919050565b600082612d4b858461350e565b1490509392505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612dbc576040517fac3727ba00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160186101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505050565b612e43828260405180602001604052806000815250613583565b5050565b612e4f613a00565b600082905080612e5d612782565b11158015612e6c575060005481105b1561309f576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050806040015161309d57600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612f815780925050506130d1565b5b60011561309c57818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146130975780925050506130d1565b612f82565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600080823b905060008111915050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026131d56126c8565b8786866040518563ffffffff1660e01b81526004016131f79493929190614450565b602060405180830381600087803b15801561321157600080fd5b505af192505050801561324257506040513d601f19601f8201168201806040525081019061323f9190613f88565b60015b6132bc573d8060008114613272576040519150601f19603f3d011682016040523d82523d6000602084013e613277565b606091505b506000815114156132b4576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600f805461331e90614a12565b80601f016020809104026020016040519081016040528092919081815260200182805461334a90614a12565b80156133975780601f1061336c57610100808354040283529160200191613397565b820191906000526020600020905b81548152906001019060200180831161337a57829003601f168201915b5050505050905090565b606060008214156133e9576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506134fd565b600082905060005b6000821461341b57808061340490614a75565b915050600a82613414919061486d565b91506133f1565b60008167ffffffffffffffff81111561343757613436614bcf565b5b6040519080825280601f01601f1916602001820160405280156134695781602001600182028036833780820191505090505b5090505b600085146134f65760018261348291906148f8565b9150600a856134919190614ae2565b603061349d91906147d9565b60f81b8183815181106134b3576134b2614ba0565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856134ef919061486d565b945061346d565b8093505050505b919050565b50505050565b50505050565b60008082905060005b845181101561357857600085828151811061353557613534614ba0565b5b60200260200101519050808311613557576135508382613595565b9250613564565b6135618184613595565b92505b50808061357090614a75565b915050613517565b508091505092915050565b61359083838360016135ac565b505050565b600082600052816020526040600020905092915050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415613619576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000841415613654576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6136616000868387613502565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060008190506000858201905083801561382b575061382a8773ffffffffffffffffffffffffffffffffffffffff1661319c565b5b156138f1575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46138a060008884806001019550886131af565b6138d6576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b808214156138315782600054146138ec57600080fd5b61395d565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808214156138f2575b8160008190555050506139736000868387613508565b5050505050565b82805461398690614a12565b90600052602060002090601f0160209004810192826139a857600085556139ef565b82601f106139c157805160ff19168380011785556139ef565b828001600101855582156139ef579182015b828111156139ee5782518255916020019190600101906139d3565b5b5090506139fc9190613a43565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b80821115613a5c576000816000905550600101613a44565b5090565b6000613a73613a6e84614734565b61470f565b905082815260208101848484011115613a8f57613a8e614c0d565b5b613a9a8482856149d0565b509392505050565b6000613ab5613ab084614765565b61470f565b905082815260208101848484011115613ad157613ad0614c0d565b5b613adc8482856149d0565b509392505050565b600081359050613af381615023565b92915050565b60008083601f840112613b0f57613b0e614c03565b5b8235905067ffffffffffffffff811115613b2c57613b2b614bfe565b5b602083019150836020820283011115613b4857613b47614c08565b5b9250929050565b600081359050613b5e8161503a565b92915050565b600081519050613b738161503a565b92915050565b600081359050613b8881615051565b92915050565b600081359050613b9d81615068565b92915050565b600081519050613bb281615068565b92915050565b600082601f830112613bcd57613bcc614c03565b5b8135613bdd848260208601613a60565b91505092915050565b600081359050613bf58161507f565b92915050565b600082601f830112613c1057613c0f614c03565b5b8135613c20848260208601613aa2565b91505092915050565b600081359050613c3881615096565b92915050565b600060208284031215613c5457613c53614c17565b5b6000613c6284828501613ae4565b91505092915050565b60008060408385031215613c8257613c81614c17565b5b6000613c9085828601613ae4565b9250506020613ca185828601613ae4565b9150509250929050565b600080600060608486031215613cc457613cc3614c17565b5b6000613cd286828701613ae4565b9350506020613ce386828701613ae4565b9250506040613cf486828701613c29565b9150509250925092565b60008060008060808587031215613d1857613d17614c17565b5b6000613d2687828801613ae4565b9450506020613d3787828801613ae4565b9350506040613d4887828801613c29565b925050606085013567ffffffffffffffff811115613d6957613d68614c12565b5b613d7587828801613bb8565b91505092959194509250565b60008060408385031215613d9857613d97614c17565b5b6000613da685828601613ae4565b9250506020613db785828601613b4f565b9150509250929050565b60008060408385031215613dd857613dd7614c17565b5b6000613de685828601613ae4565b9250506020613df785828601613c29565b9150509250929050565b600080600060408486031215613e1a57613e19614c17565b5b600084013567ffffffffffffffff811115613e3857613e37614c12565b5b613e4486828701613af9565b93509350506020613e5786828701613ae4565b9150509250925092565b600080600060408486031215613e7a57613e79614c17565b5b600084013567ffffffffffffffff811115613e9857613e97614c12565b5b613ea486828701613af9565b93509350506020613eb786828701613c29565b9150509250925092565b600060208284031215613ed757613ed6614c17565b5b6000613ee584828501613b4f565b91505092915050565b600060208284031215613f0457613f03614c17565b5b6000613f1284828501613b64565b91505092915050565b60008060408385031215613f3257613f31614c17565b5b6000613f4085828601613b79565b9250506020613f5185828601613c29565b9150509250929050565b600060208284031215613f7157613f70614c17565b5b6000613f7f84828501613b8e565b91505092915050565b600060208284031215613f9e57613f9d614c17565b5b6000613fac84828501613ba3565b91505092915050565b60008060408385031215613fcc57613fcb614c17565b5b6000613fda85828601613be6565b9250506020613feb85828601613c29565b9150509250929050565b60006020828403121561400b5761400a614c17565b5b600082013567ffffffffffffffff81111561402957614028614c12565b5b61403584828501613bfb565b91505092915050565b60006020828403121561405457614053614c17565b5b600061406284828501613c29565b91505092915050565b6140748161492c565b82525050565b61408b6140868261492c565b614abe565b82525050565b61409a8161493e565b82525050565b6140a98161494a565b82525050565b60006140ba82614796565b6140c481856147ac565b93506140d48185602086016149df565b6140dd81614c1c565b840191505092915050565b60006140f3826147a1565b6140fd81856147bd565b935061410d8185602086016149df565b61411681614c1c565b840191505092915050565b600061412c826147a1565b61413681856147ce565b93506141468185602086016149df565b80840191505092915050565b600061415f6021836147bd565b915061416a82614c3a565b604082019050919050565b6000614182601f836147bd565b915061418d82614c89565b602082019050919050565b60006141a56026836147bd565b91506141b082614cb2565b604082019050919050565b60006141c8601e836147bd565b91506141d382614d01565b602082019050919050565b60006141eb6025836147bd565b91506141f682614d2a565b604082019050919050565b600061420e6022836147bd565b915061421982614d79565b604082019050919050565b6000614231601d836147bd565b915061423c82614dc8565b602082019050919050565b60006142546023836147bd565b915061425f82614df1565b604082019050919050565b6000614277602a836147bd565b915061428282614e40565b604082019050919050565b600061429a6005836147ce565b91506142a582614e8f565b600582019050919050565b60006142bd6020836147bd565b91506142c882614eb8565b602082019050919050565b60006142e0602f836147bd565b91506142eb82614ee1565b604082019050919050565b60006143036017836147bd565b915061430e82614f30565b602082019050919050565b60006143266027836147bd565b915061433182614f59565b604082019050919050565b6000614349601e836147bd565b915061435482614fa8565b602082019050919050565b600061436c601f836147bd565b915061437782614fd1565b602082019050919050565b600061438f6011836147bd565b915061439a82614ffa565b602082019050919050565b6143ae816149b2565b82525050565b60006143c0828461407a565b60148201915081905092915050565b60006143db8285614121565b91506143e78284614121565b91506143f28261428d565b91508190509392505050565b6000602082019050614413600083018461406b565b92915050565b600060608201905061442e600083018661406b565b61443b602083018561406b565b61444860408301846143a5565b949350505050565b6000608082019050614465600083018761406b565b614472602083018661406b565b61447f60408301856143a5565b818103606083015261449181846140af565b905095945050505050565b60006020820190506144b16000830184614091565b92915050565b60006020820190506144cc60008301846140a0565b92915050565b600060208201905081810360008301526144ec81846140e8565b905092915050565b6000602082019050818103600083015261450d81614152565b9050919050565b6000602082019050818103600083015261452d81614175565b9050919050565b6000602082019050818103600083015261454d81614198565b9050919050565b6000602082019050818103600083015261456d816141bb565b9050919050565b6000602082019050818103600083015261458d816141de565b9050919050565b600060208201905081810360008301526145ad81614201565b9050919050565b600060208201905081810360008301526145cd81614224565b9050919050565b600060208201905081810360008301526145ed81614247565b9050919050565b6000602082019050818103600083015261460d8161426a565b9050919050565b6000602082019050818103600083015261462d816142b0565b9050919050565b6000602082019050818103600083015261464d816142d3565b9050919050565b6000602082019050818103600083015261466d816142f6565b9050919050565b6000602082019050818103600083015261468d81614319565b9050919050565b600060208201905081810360008301526146ad8161433c565b9050919050565b600060208201905081810360008301526146cd8161435f565b9050919050565b600060208201905081810360008301526146ed81614382565b9050919050565b600060208201905061470960008301846143a5565b92915050565b600061471961472a565b90506147258282614a44565b919050565b6000604051905090565b600067ffffffffffffffff82111561474f5761474e614bcf565b5b61475882614c1c565b9050602081019050919050565b600067ffffffffffffffff8211156147805761477f614bcf565b5b61478982614c1c565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006147e4826149b2565b91506147ef836149b2565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561482457614823614b13565b5b828201905092915050565b600061483a826149bc565b9150614845836149bc565b92508267ffffffffffffffff0382111561486257614861614b13565b5b828201905092915050565b6000614878826149b2565b9150614883836149b2565b92508261489357614892614b42565b5b828204905092915050565b60006148a9826149b2565b91506148b4836149b2565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156148ed576148ec614b13565b5b828202905092915050565b6000614903826149b2565b915061490e836149b2565b92508282101561492157614920614b13565b5b828203905092915050565b600061493782614992565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600061498b8261492c565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600067ffffffffffffffff82169050919050565b82818337600083830152505050565b60005b838110156149fd5780820151818401526020810190506149e2565b83811115614a0c576000848401525b50505050565b60006002820490506001821680614a2a57607f821691505b60208210811415614a3e57614a3d614b71565b5b50919050565b614a4d82614c1c565b810181811067ffffffffffffffff82111715614a6c57614a6b614bcf565b5b80604052505050565b6000614a80826149b2565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614ab357614ab2614b13565b5b600182019050919050565b6000614ac982614ad0565b9050919050565b6000614adb82614c2d565b9050919050565b6000614aed826149b2565b9150614af8836149b2565b925082614b0857614b07614b42565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f4d696e74696e672066726f6d20436f6e7472616374206e6f7420416c6c6f776560008201527f6400000000000000000000000000000000000000000000000000000000000000602082015250565b7f436172746f6f6e73205075626c6963204d696e74204e6f742041637469766500600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f52657175657374656420436c61696d20416d6f756e7420496e76616c69640000600082015250565b7f52657175657374656420416d6f756e74204578636565647320546f74616c205360008201527f7570706c79000000000000000000000000000000000000000000000000000000602082015250565b7f436172746f6f6e732057686974656c697374204d696e74204e6f74204163746960008201527f7665000000000000000000000000000000000000000000000000000000000000602082015250565b7f416d6f756e74204578636565647320546f74616c205265736572766564000000600082015250565b7f4e6f205265736572766174696f6e20666f722072657175657374656420616d6f60008201527f756e740000000000000000000000000000000000000000000000000000000000602082015250565b7f526571756573746564204d696e7420416d6f756e742045786365656473204c6960008201527f6d69742050657220547800000000000000000000000000000000000000000000602082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f496e76616c69642050726f6f662f526f6f742f4c656166000000000000000000600082015250565b7f4d696e7420416d6f756e74204578636565647320546f74616c20416c6c6f776560008201527f64204d696e747300000000000000000000000000000000000000000000000000602082015250565b7f57686974656c697374204d696e74696e67204e6f742044697361626c65640000600082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f496e636f7272656374205061796d656e74000000000000000000000000000000600082015250565b61502c8161492c565b811461503757600080fd5b50565b6150438161493e565b811461504e57600080fd5b50565b61505a8161494a565b811461506557600080fd5b50565b61507181614954565b811461507c57600080fd5b50565b61508881614980565b811461509357600080fd5b50565b61509f816149b2565b81146150aa57600080fd5b5056fea2646970667358221220fb98b1428bb1fceb837a9373200eddb7b8c6ccf8ce1df3f7d0d4094dd333dc3664736f6c6343000806003368747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d62683334464b436d5063794137784e373361756a716e466874596534457262356d477876596a7a50665977462fe101f6a03f5678e28b45e53a770f3accaeb7f1a764cbda48ccf585f8d8852d490000000000000000000000000000000000000000000000000000000000000002

Deployed Bytecode

0x6080604052600436106102305760003560e01c80636352211e1161012e578063a22cb465116100ab578063cf856aa01161006f578063cf856aa0146107f7578063dac6db1c14610822578063e985e9c51461084d578063ebf0c7171461088a578063f2fde38b146108b557610230565b8063a22cb46514610700578063b88d4fde14610729578063bb98107114610752578063c71b0e1c1461078f578063c87b56dd146107ba57610230565b80638e448490116100f25780638e4484901461064357806395d89b411461066c57806398ca7795146106975780639e281a98146106c0578063a0ef91df146106e957610230565b80636352211e1461055c5780636c0360eb1461059957806370a08231146105c4578063715018a6146106015780638da5cb5b1461061857610230565b80632904e6d9116101bc57806342842e0e1161018057806342842e0e1461048b578063524513d6146104b457806355f804b3146104df5780635ae57b8a14610508578063616cdb1e1461053357610230565b80632904e6d9146103d45780632b707c71146103f05780632d6b6224146104195780632db115441461044457806332cb6b0c1461046057610230565b806318160ddd1161020357806318160ddd1461030357806318bea1c41461032e5780631d581b4e146103575780632083ad821461038057806323b872dd146103ab57610230565b806301ffc9a71461023557806306fdde0314610272578063081812fc1461029d578063095ea7b3146102da575b600080fd5b34801561024157600080fd5b5061025c60048036038101906102579190613f5b565b6108de565b604051610269919061449c565b60405180910390f35b34801561027e57600080fd5b506102876109c0565b60405161029491906144d2565b60405180910390f35b3480156102a957600080fd5b506102c460048036038101906102bf919061403e565b610a52565b6040516102d191906143fe565b60405180910390f35b3480156102e657600080fd5b5061030160048036038101906102fc9190613dc1565b610ace565b005b34801561030f57600080fd5b50610318610bd9565b60405161032591906146f4565b60405180910390f35b34801561033a57600080fd5b5061035560048036038101906103509190613ec1565b610bf0565b005b34801561036357600080fd5b5061037e60048036038101906103799190613f1b565b610c89565b005b34801561038c57600080fd5b50610395610d67565b6040516103a291906146f4565b60405180910390f35b3480156103b757600080fd5b506103d260048036038101906103cd9190613cab565b610d71565b005b6103ee60048036038101906103e99190613e61565b610d81565b005b3480156103fc57600080fd5b5061041760048036038101906104129190613ec1565b611081565b005b34801561042557600080fd5b5061042e61111a565b60405161043b919061449c565b60405180910390f35b61045e6004803603810190610459919061403e565b61112d565b005b34801561046c57600080fd5b50610475611345565b60405161048291906146f4565b60405180910390f35b34801561049757600080fd5b506104b260048036038101906104ad9190613cab565b61134b565b005b3480156104c057600080fd5b506104c961136b565b6040516104d6919061449c565b60405180910390f35b3480156104eb57600080fd5b5061050660048036038101906105019190613ff5565b61137e565b005b34801561051457600080fd5b5061051d611414565b60405161052a91906146f4565b60405180910390f35b34801561053f57600080fd5b5061055a6004803603810190610555919061403e565b61141a565b005b34801561056857600080fd5b50610583600480360381019061057e919061403e565b6114a0565b60405161059091906143fe565b60405180910390f35b3480156105a557600080fd5b506105ae6114b6565b6040516105bb91906144d2565b60405180910390f35b3480156105d057600080fd5b506105eb60048036038101906105e69190613c3e565b611544565b6040516105f891906146f4565b60405180910390f35b34801561060d57600080fd5b50610616611614565b005b34801561062457600080fd5b5061062d61169c565b60405161063a91906143fe565b60405180910390f35b34801561064f57600080fd5b5061066a6004803603810190610665919061403e565b6116c6565b005b34801561067857600080fd5b506106816118bc565b60405161068e91906144d2565b60405180910390f35b3480156106a357600080fd5b506106be60048036038101906106b9919061403e565b61194e565b005b3480156106cc57600080fd5b506106e760048036038101906106e29190613fb5565b6119d4565b005b3480156106f557600080fd5b506106fe611aeb565b005b34801561070c57600080fd5b5061072760048036038101906107229190613d81565b61211a565b005b34801561073557600080fd5b50610750600480360381019061074b9190613cfe565b612292565b005b34801561075e57600080fd5b5061077960048036038101906107749190613e01565b61230e565b60405161078691906146f4565b60405180910390f35b34801561079b57600080fd5b506107a46123be565b6040516107b191906146f4565b60405180910390f35b3480156107c657600080fd5b506107e160048036038101906107dc919061403e565b6123c4565b6040516107ee91906144d2565b60405180910390f35b34801561080357600080fd5b5061080c612472565b60405161081991906146f4565b60405180910390f35b34801561082e57600080fd5b50610837612478565b60405161084491906146f4565b60405180910390f35b34801561085957600080fd5b50610874600480360381019061086f9190613c6b565b61247e565b604051610881919061449c565b60405180910390f35b34801561089657600080fd5b5061089f612512565b6040516108ac91906144b7565b60405180910390f35b3480156108c157600080fd5b506108dc60048036038101906108d79190613c3e565b612518565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806109a957507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806109b957506109b882612610565b5b9050919050565b6060600280546109cf90614a12565b80601f01602080910402602001604051908101604052809291908181526020018280546109fb90614a12565b8015610a485780601f10610a1d57610100808354040283529160200191610a48565b820191906000526020600020905b815481529060010190602001808311610a2b57829003601f168201915b5050505050905090565b6000610a5d8261267a565b610a93576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610ad9826114a0565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b41576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b606126c8565b73ffffffffffffffffffffffffffffffffffffffff1614158015610b925750610b9081610b8b6126c8565b61247e565b155b15610bc9576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610bd48383836126d0565b505050565b6000610be3612782565b6001546000540303905090565b610bf86126c8565b73ffffffffffffffffffffffffffffffffffffffff16610c1661169c565b73ffffffffffffffffffffffffffffffffffffffff1614610c6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c6390614614565b60405180910390fd5b80601060006101000a81548160ff02191690831515021790555050565b610c916126c8565b73ffffffffffffffffffffffffffffffffffffffff16610caf61169c565b73ffffffffffffffffffffffffffffffffffffffff1614610d05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cfc90614614565b60405180910390fd5b601060009054906101000a900460ff1615610d55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d4c90614694565b60405180910390fd5b81600e8190555080600a819055505050565b6000600d54905090565b610d7c838383612787565b505050565b60026009541415610dc7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dbe906146b4565b60405180910390fd5b6002600981905550600c54611e61610ddf91906148f8565b81610de8610bd9565b610df291906147d9565b1115610e33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2a90614674565b60405180910390fd5b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610ea1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e98906144f4565b60405180910390fd5b601060009054906101000a900460ff16610ef0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee790614594565b60405180910390fd5b600081610efc33612c78565b610f06919061482f565b9050600a548167ffffffffffffffff161115610f57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f4e90614554565b60405180910390fd5b3482600d54610f66919061489e565b14610fa6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9d906146d4565b60405180910390fd5b600033604051602001610fb991906143b4565b60405160208183030381529060405280519060200120905061101f858580806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600e5483612d3e565b61105e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161105590614654565b60405180910390fd5b6110683383612d55565b6110723384612e29565b50506001600981905550505050565b6110896126c8565b73ffffffffffffffffffffffffffffffffffffffff166110a761169c565b73ffffffffffffffffffffffffffffffffffffffff16146110fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110f490614614565b60405180910390fd5b80601060016101000a81548160ff02191690831515021790555050565b601060019054906101000a900460ff1681565b60026009541415611173576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161116a906146b4565b60405180910390fd5b6002600981905550600c54611e6161118b91906148f8565b81611194610bd9565b61119e91906147d9565b11156111df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111d690614674565b60405180910390fd5b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461124d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611244906144f4565b60405180910390fd5b601060019054906101000a900460ff1661129c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129390614514565b60405180910390fd5b600b548111156112e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112d8906145f4565b60405180910390fd5b3481600d546112f0919061489e565b14611330576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611327906146d4565b60405180910390fd5b61133a3382612e29565b600160098190555050565b611e6181565b61136683838360405180602001604052806000815250612292565b505050565b601060009054906101000a900460ff1681565b6113866126c8565b73ffffffffffffffffffffffffffffffffffffffff166113a461169c565b73ffffffffffffffffffffffffffffffffffffffff16146113fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113f190614614565b60405180910390fd5b80600f908051906020019061141092919061397a565b5050565b600b5481565b6114226126c8565b73ffffffffffffffffffffffffffffffffffffffff1661144061169c565b73ffffffffffffffffffffffffffffffffffffffff1614611496576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148d90614614565b60405180910390fd5b80600b8190555050565b60006114ab82612e47565b600001519050919050565b600f80546114c390614a12565b80601f01602080910402602001604051908101604052809291908181526020018280546114ef90614a12565b801561153c5780601f106115115761010080835404028352916020019161153c565b820191906000526020600020905b81548152906001019060200180831161151f57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156115ac576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b61161c6126c8565b73ffffffffffffffffffffffffffffffffffffffff1661163a61169c565b73ffffffffffffffffffffffffffffffffffffffff1614611690576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168790614614565b60405180910390fd5b61169a60006130d6565b565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6002600954141561170c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611703906146b4565b60405180910390fd5b60026009819055506000601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050611e6182611764610bd9565b61176e91906147d9565b11156117af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117a690614574565b60405180910390fd5b818110156117f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117e9906145d4565b60405180910390fd5b600c54811115611837576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161182e906145b4565b60405180910390fd5b81601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461188691906148f8565b9250508190555081600c600082825461189f91906148f8565b925050819055506118b03383612e29565b50600160098190555050565b6060600380546118cb90614a12565b80601f01602080910402602001604051908101604052809291908181526020018280546118f790614a12565b80156119445780601f1061191957610100808354040283529160200191611944565b820191906000526020600020905b81548152906001019060200180831161192757829003601f168201915b5050505050905090565b6119566126c8565b73ffffffffffffffffffffffffffffffffffffffff1661197461169c565b73ffffffffffffffffffffffffffffffffffffffff16146119ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119c190614614565b60405180910390fd5b80600d8190555050565b6119dc6126c8565b73ffffffffffffffffffffffffffffffffffffffff166119fa61169c565b73ffffffffffffffffffffffffffffffffffffffff1614611a50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a4790614614565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff166323b872dd30611a7561169c565b846040518463ffffffff1660e01b8152600401611a9493929190614419565b602060405180830381600087803b158015611aae57600080fd5b505af1158015611ac2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ae69190613eee565b505050565b611af36126c8565b73ffffffffffffffffffffffffffffffffffffffff16611b1161169c565b73ffffffffffffffffffffffffffffffffffffffff1614611b67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b5e90614614565b60405180910390fd5b60026009541415611bad576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ba4906146b4565b60405180910390fd5b6002600981905550600047905060006103e860126000731a0caab1adddbb12dd61b7f7873c69c18f80aacf73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205483611c1e919061489e565b611c28919061486d565b905060006103e86012600073ed96e702e654343297d5c56e49c4de4f882f8f8b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205484611c8e919061489e565b611c98919061486d565b905060006103e860126000730515c23d04b3c078e40363b9b3142303004f343c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205485611cfe919061489e565b611d08919061486d565b905060006103e8601260007319f32b6d6912023c47bc0df991d80caab52620a373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205486611d6e919061489e565b611d78919061486d565b905060006103e86012600073fc56e522504348833bce63a6c15101d28e9bc1c273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205487611dde919061489e565b611de8919061486d565b905060006103e860126000737f7602cfba48a032247e403e551886b8a9ea726773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205488611e4e919061489e565b611e58919061486d565b905060006103e86012600073beb82e72f032631e6b3ff0b5fa04acea1d6bc0eb73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205489611ebe919061489e565b611ec8919061486d565b9050731a0caab1adddbb12dd61b7f7873c69c18f80aacf73ffffffffffffffffffffffffffffffffffffffff166108fc889081150290604051600060405180830381858888f19350505050611f1c57600080fd5b73ed96e702e654343297d5c56e49c4de4f882f8f8b73ffffffffffffffffffffffffffffffffffffffff166108fc879081150290604051600060405180830381858888f19350505050611f6e57600080fd5b730515c23d04b3c078e40363b9b3142303004f343c73ffffffffffffffffffffffffffffffffffffffff166108fc869081150290604051600060405180830381858888f19350505050611fc057600080fd5b7319f32b6d6912023c47bc0df991d80caab52620a373ffffffffffffffffffffffffffffffffffffffff166108fc859081150290604051600060405180830381858888f1935050505061201257600080fd5b73fc56e522504348833bce63a6c15101d28e9bc1c273ffffffffffffffffffffffffffffffffffffffff166108fc849081150290604051600060405180830381858888f1935050505061206457600080fd5b737f7602cfba48a032247e403e551886b8a9ea726773ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f193505050506120b657600080fd5b73beb82e72f032631e6b3ff0b5fa04acea1d6bc0eb73ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505061210857600080fd5b50505050505050506001600981905550565b6121226126c8565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612187576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600760006121946126c8565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166122416126c8565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612286919061449c565b60405180910390a35050565b61229d848484612787565b6122bc8373ffffffffffffffffffffffffffffffffffffffff1661319c565b80156122d157506122cf848484846131af565b155b15612308576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b6000808260405160200161232291906143b4565b604051602081830303815290604052805190602001209050612388858580806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600e5483612d3e565b6123935760006123b4565b61239c83612c78565b67ffffffffffffffff16600a546123b391906148f8565b5b9150509392505050565b600c5481565b60606123cf8261267a565b61240e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161240590614634565b60405180910390fd5b6000600f805461241d90614a12565b905011612439576040518060200160405280600081525061246b565b61244161330f565b61244a836133a1565b60405160200161245b9291906143cf565b6040516020818303038152906040525b9050919050565b600a5481565b600d5481565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600e5481565b6125206126c8565b73ffffffffffffffffffffffffffffffffffffffff1661253e61169c565b73ffffffffffffffffffffffffffffffffffffffff1614612594576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161258b90614614565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612604576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125fb90614534565b60405180910390fd5b61260d816130d6565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600081612685612782565b11158015612694575060005482105b80156126c1575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600090565b600061279282612e47565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff166127b96126c8565b73ffffffffffffffffffffffffffffffffffffffff1614806127ec57506127eb82600001516127e66126c8565b61247e565b5b8061283157506127fa6126c8565b73ffffffffffffffffffffffffffffffffffffffff1661281984610a52565b73ffffffffffffffffffffffffffffffffffffffff16145b90508061286a576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff16146128d3576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561293a576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6129478585856001613502565b61295760008484600001516126d0565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836004600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600085815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600184019050600073ffffffffffffffffffffffffffffffffffffffff166004600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612c0857600054811015612c075782600001516004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001516004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b50828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612c718585856001613508565b5050505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612ce0576040517fac3727ba00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160189054906101000a900467ffffffffffffffff169050919050565b600082612d4b858461350e565b1490509392505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612dbc576040517fac3727ba00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160186101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505050565b612e43828260405180602001604052806000815250613583565b5050565b612e4f613a00565b600082905080612e5d612782565b11158015612e6c575060005481105b1561309f576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050806040015161309d57600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612f815780925050506130d1565b5b60011561309c57818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146130975780925050506130d1565b612f82565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600080823b905060008111915050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026131d56126c8565b8786866040518563ffffffff1660e01b81526004016131f79493929190614450565b602060405180830381600087803b15801561321157600080fd5b505af192505050801561324257506040513d601f19601f8201168201806040525081019061323f9190613f88565b60015b6132bc573d8060008114613272576040519150601f19603f3d011682016040523d82523d6000602084013e613277565b606091505b506000815114156132b4576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600f805461331e90614a12565b80601f016020809104026020016040519081016040528092919081815260200182805461334a90614a12565b80156133975780601f1061336c57610100808354040283529160200191613397565b820191906000526020600020905b81548152906001019060200180831161337a57829003601f168201915b5050505050905090565b606060008214156133e9576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506134fd565b600082905060005b6000821461341b57808061340490614a75565b915050600a82613414919061486d565b91506133f1565b60008167ffffffffffffffff81111561343757613436614bcf565b5b6040519080825280601f01601f1916602001820160405280156134695781602001600182028036833780820191505090505b5090505b600085146134f65760018261348291906148f8565b9150600a856134919190614ae2565b603061349d91906147d9565b60f81b8183815181106134b3576134b2614ba0565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856134ef919061486d565b945061346d565b8093505050505b919050565b50505050565b50505050565b60008082905060005b845181101561357857600085828151811061353557613534614ba0565b5b60200260200101519050808311613557576135508382613595565b9250613564565b6135618184613595565b92505b50808061357090614a75565b915050613517565b508091505092915050565b61359083838360016135ac565b505050565b600082600052816020526040600020905092915050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415613619576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000841415613654576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6136616000868387613502565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060008190506000858201905083801561382b575061382a8773ffffffffffffffffffffffffffffffffffffffff1661319c565b5b156138f1575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46138a060008884806001019550886131af565b6138d6576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b808214156138315782600054146138ec57600080fd5b61395d565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808214156138f2575b8160008190555050506139736000868387613508565b5050505050565b82805461398690614a12565b90600052602060002090601f0160209004810192826139a857600085556139ef565b82601f106139c157805160ff19168380011785556139ef565b828001600101855582156139ef579182015b828111156139ee5782518255916020019190600101906139d3565b5b5090506139fc9190613a43565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b80821115613a5c576000816000905550600101613a44565b5090565b6000613a73613a6e84614734565b61470f565b905082815260208101848484011115613a8f57613a8e614c0d565b5b613a9a8482856149d0565b509392505050565b6000613ab5613ab084614765565b61470f565b905082815260208101848484011115613ad157613ad0614c0d565b5b613adc8482856149d0565b509392505050565b600081359050613af381615023565b92915050565b60008083601f840112613b0f57613b0e614c03565b5b8235905067ffffffffffffffff811115613b2c57613b2b614bfe565b5b602083019150836020820283011115613b4857613b47614c08565b5b9250929050565b600081359050613b5e8161503a565b92915050565b600081519050613b738161503a565b92915050565b600081359050613b8881615051565b92915050565b600081359050613b9d81615068565b92915050565b600081519050613bb281615068565b92915050565b600082601f830112613bcd57613bcc614c03565b5b8135613bdd848260208601613a60565b91505092915050565b600081359050613bf58161507f565b92915050565b600082601f830112613c1057613c0f614c03565b5b8135613c20848260208601613aa2565b91505092915050565b600081359050613c3881615096565b92915050565b600060208284031215613c5457613c53614c17565b5b6000613c6284828501613ae4565b91505092915050565b60008060408385031215613c8257613c81614c17565b5b6000613c9085828601613ae4565b9250506020613ca185828601613ae4565b9150509250929050565b600080600060608486031215613cc457613cc3614c17565b5b6000613cd286828701613ae4565b9350506020613ce386828701613ae4565b9250506040613cf486828701613c29565b9150509250925092565b60008060008060808587031215613d1857613d17614c17565b5b6000613d2687828801613ae4565b9450506020613d3787828801613ae4565b9350506040613d4887828801613c29565b925050606085013567ffffffffffffffff811115613d6957613d68614c12565b5b613d7587828801613bb8565b91505092959194509250565b60008060408385031215613d9857613d97614c17565b5b6000613da685828601613ae4565b9250506020613db785828601613b4f565b9150509250929050565b60008060408385031215613dd857613dd7614c17565b5b6000613de685828601613ae4565b9250506020613df785828601613c29565b9150509250929050565b600080600060408486031215613e1a57613e19614c17565b5b600084013567ffffffffffffffff811115613e3857613e37614c12565b5b613e4486828701613af9565b93509350506020613e5786828701613ae4565b9150509250925092565b600080600060408486031215613e7a57613e79614c17565b5b600084013567ffffffffffffffff811115613e9857613e97614c12565b5b613ea486828701613af9565b93509350506020613eb786828701613c29565b9150509250925092565b600060208284031215613ed757613ed6614c17565b5b6000613ee584828501613b4f565b91505092915050565b600060208284031215613f0457613f03614c17565b5b6000613f1284828501613b64565b91505092915050565b60008060408385031215613f3257613f31614c17565b5b6000613f4085828601613b79565b9250506020613f5185828601613c29565b9150509250929050565b600060208284031215613f7157613f70614c17565b5b6000613f7f84828501613b8e565b91505092915050565b600060208284031215613f9e57613f9d614c17565b5b6000613fac84828501613ba3565b91505092915050565b60008060408385031215613fcc57613fcb614c17565b5b6000613fda85828601613be6565b9250506020613feb85828601613c29565b9150509250929050565b60006020828403121561400b5761400a614c17565b5b600082013567ffffffffffffffff81111561402957614028614c12565b5b61403584828501613bfb565b91505092915050565b60006020828403121561405457614053614c17565b5b600061406284828501613c29565b91505092915050565b6140748161492c565b82525050565b61408b6140868261492c565b614abe565b82525050565b61409a8161493e565b82525050565b6140a98161494a565b82525050565b60006140ba82614796565b6140c481856147ac565b93506140d48185602086016149df565b6140dd81614c1c565b840191505092915050565b60006140f3826147a1565b6140fd81856147bd565b935061410d8185602086016149df565b61411681614c1c565b840191505092915050565b600061412c826147a1565b61413681856147ce565b93506141468185602086016149df565b80840191505092915050565b600061415f6021836147bd565b915061416a82614c3a565b604082019050919050565b6000614182601f836147bd565b915061418d82614c89565b602082019050919050565b60006141a56026836147bd565b91506141b082614cb2565b604082019050919050565b60006141c8601e836147bd565b91506141d382614d01565b602082019050919050565b60006141eb6025836147bd565b91506141f682614d2a565b604082019050919050565b600061420e6022836147bd565b915061421982614d79565b604082019050919050565b6000614231601d836147bd565b915061423c82614dc8565b602082019050919050565b60006142546023836147bd565b915061425f82614df1565b604082019050919050565b6000614277602a836147bd565b915061428282614e40565b604082019050919050565b600061429a6005836147ce565b91506142a582614e8f565b600582019050919050565b60006142bd6020836147bd565b91506142c882614eb8565b602082019050919050565b60006142e0602f836147bd565b91506142eb82614ee1565b604082019050919050565b60006143036017836147bd565b915061430e82614f30565b602082019050919050565b60006143266027836147bd565b915061433182614f59565b604082019050919050565b6000614349601e836147bd565b915061435482614fa8565b602082019050919050565b600061436c601f836147bd565b915061437782614fd1565b602082019050919050565b600061438f6011836147bd565b915061439a82614ffa565b602082019050919050565b6143ae816149b2565b82525050565b60006143c0828461407a565b60148201915081905092915050565b60006143db8285614121565b91506143e78284614121565b91506143f28261428d565b91508190509392505050565b6000602082019050614413600083018461406b565b92915050565b600060608201905061442e600083018661406b565b61443b602083018561406b565b61444860408301846143a5565b949350505050565b6000608082019050614465600083018761406b565b614472602083018661406b565b61447f60408301856143a5565b818103606083015261449181846140af565b905095945050505050565b60006020820190506144b16000830184614091565b92915050565b60006020820190506144cc60008301846140a0565b92915050565b600060208201905081810360008301526144ec81846140e8565b905092915050565b6000602082019050818103600083015261450d81614152565b9050919050565b6000602082019050818103600083015261452d81614175565b9050919050565b6000602082019050818103600083015261454d81614198565b9050919050565b6000602082019050818103600083015261456d816141bb565b9050919050565b6000602082019050818103600083015261458d816141de565b9050919050565b600060208201905081810360008301526145ad81614201565b9050919050565b600060208201905081810360008301526145cd81614224565b9050919050565b600060208201905081810360008301526145ed81614247565b9050919050565b6000602082019050818103600083015261460d8161426a565b9050919050565b6000602082019050818103600083015261462d816142b0565b9050919050565b6000602082019050818103600083015261464d816142d3565b9050919050565b6000602082019050818103600083015261466d816142f6565b9050919050565b6000602082019050818103600083015261468d81614319565b9050919050565b600060208201905081810360008301526146ad8161433c565b9050919050565b600060208201905081810360008301526146cd8161435f565b9050919050565b600060208201905081810360008301526146ed81614382565b9050919050565b600060208201905061470960008301846143a5565b92915050565b600061471961472a565b90506147258282614a44565b919050565b6000604051905090565b600067ffffffffffffffff82111561474f5761474e614bcf565b5b61475882614c1c565b9050602081019050919050565b600067ffffffffffffffff8211156147805761477f614bcf565b5b61478982614c1c565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006147e4826149b2565b91506147ef836149b2565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561482457614823614b13565b5b828201905092915050565b600061483a826149bc565b9150614845836149bc565b92508267ffffffffffffffff0382111561486257614861614b13565b5b828201905092915050565b6000614878826149b2565b9150614883836149b2565b92508261489357614892614b42565b5b828204905092915050565b60006148a9826149b2565b91506148b4836149b2565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156148ed576148ec614b13565b5b828202905092915050565b6000614903826149b2565b915061490e836149b2565b92508282101561492157614920614b13565b5b828203905092915050565b600061493782614992565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600061498b8261492c565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600067ffffffffffffffff82169050919050565b82818337600083830152505050565b60005b838110156149fd5780820151818401526020810190506149e2565b83811115614a0c576000848401525b50505050565b60006002820490506001821680614a2a57607f821691505b60208210811415614a3e57614a3d614b71565b5b50919050565b614a4d82614c1c565b810181811067ffffffffffffffff82111715614a6c57614a6b614bcf565b5b80604052505050565b6000614a80826149b2565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614ab357614ab2614b13565b5b600182019050919050565b6000614ac982614ad0565b9050919050565b6000614adb82614c2d565b9050919050565b6000614aed826149b2565b9150614af8836149b2565b925082614b0857614b07614b42565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f4d696e74696e672066726f6d20436f6e7472616374206e6f7420416c6c6f776560008201527f6400000000000000000000000000000000000000000000000000000000000000602082015250565b7f436172746f6f6e73205075626c6963204d696e74204e6f742041637469766500600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f52657175657374656420436c61696d20416d6f756e7420496e76616c69640000600082015250565b7f52657175657374656420416d6f756e74204578636565647320546f74616c205360008201527f7570706c79000000000000000000000000000000000000000000000000000000602082015250565b7f436172746f6f6e732057686974656c697374204d696e74204e6f74204163746960008201527f7665000000000000000000000000000000000000000000000000000000000000602082015250565b7f416d6f756e74204578636565647320546f74616c205265736572766564000000600082015250565b7f4e6f205265736572766174696f6e20666f722072657175657374656420616d6f60008201527f756e740000000000000000000000000000000000000000000000000000000000602082015250565b7f526571756573746564204d696e7420416d6f756e742045786365656473204c6960008201527f6d69742050657220547800000000000000000000000000000000000000000000602082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f496e76616c69642050726f6f662f526f6f742f4c656166000000000000000000600082015250565b7f4d696e7420416d6f756e74204578636565647320546f74616c20416c6c6f776560008201527f64204d696e747300000000000000000000000000000000000000000000000000602082015250565b7f57686974656c697374204d696e74696e67204e6f742044697361626c65640000600082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f496e636f7272656374205061796d656e74000000000000000000000000000000600082015250565b61502c8161492c565b811461503757600080fd5b50565b6150438161493e565b811461504e57600080fd5b50565b61505a8161494a565b811461506557600080fd5b50565b61507181614954565b811461507c57600080fd5b50565b61508881614980565b811461509357600080fd5b50565b61509f816149b2565b81146150aa57600080fd5b5056fea2646970667358221220fb98b1428bb1fceb837a9373200eddb7b8c6ccf8ce1df3f7d0d4094dd333dc3664736f6c63430008060033

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

e101f6a03f5678e28b45e53a770f3accaeb7f1a764cbda48ccf585f8d8852d490000000000000000000000000000000000000000000000000000000000000002

-----Decoded View---------------
Arg [0] : _root (bytes32): 0xe101f6a03f5678e28b45e53a770f3accaeb7f1a764cbda48ccf585f8d8852d49
Arg [1] : _rootMintAmt (uint256): 2

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : e101f6a03f5678e28b45e53a770f3accaeb7f1a764cbda48ccf585f8d8852d49
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000002


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.