ETH Price: $3,422.10 (+3.32%)

Contract

0xacA8f5ed70F615a6A9fC000ad38f478F386c5cb2
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Approval For...210670912024-10-28 22:23:3525 days ago1730154215IN
0xacA8f5ed...F386c5cb2
0 ETH0.0006347213.59916298
Transfer From204130882024-07-29 15:22:35117 days ago1722266555IN
0xacA8f5ed...F386c5cb2
0 ETH0.000268536.49743514
Set Approval For...204130822024-07-29 15:21:23117 days ago1722266483IN
0xacA8f5ed...F386c5cb2
0 ETH0.000317766.82037088
Set Approval For...201310652024-06-20 6:10:47156 days ago1718863847IN
0xacA8f5ed...F386c5cb2
0 ETH0.0006120213.1363187
Set Approval For...200585212024-06-10 2:43:11166 days ago1717987391IN
0xacA8f5ed...F386c5cb2
0 ETH0.000162663.48506175
Set Approval For...199798432024-05-30 3:00:23177 days ago1717038023IN
0xacA8f5ed...F386c5cb2
0 ETH0.000348317.47617271
Set Approval For...195154462024-03-26 1:48:23242 days ago1711417703IN
0xacA8f5ed...F386c5cb2
0 ETH0.0008247317.70202336
Set Approval For...194947452024-03-23 3:52:35245 days ago1711165955IN
0xacA8f5ed...F386c5cb2
0 ETH0.0007780716.70041921
Safe Transfer Fr...192229052024-02-14 1:20:59283 days ago1707873659IN
0xacA8f5ed...F386c5cb2
0 ETH0.0011647319
Transfer From191205932024-01-30 16:43:47297 days ago1706633027IN
0xacA8f5ed...F386c5cb2
0 ETH0.0030528952.23894085
Set Approval For...190995602024-01-27 17:59:35300 days ago1706378375IN
0xacA8f5ed...F386c5cb2
0 ETH0.0007480416.02693068
Set Approval For...190662032024-01-23 1:47:11305 days ago1705974431IN
0xacA8f5ed...F386c5cb2
0 ETH0.000220548.93677957
Set Approval For...189095442024-01-01 2:11:59327 days ago1704075119IN
0xacA8f5ed...F386c5cb2
0 ETH0.000464459.96896169
Set Approval For...188551502023-12-24 10:52:23335 days ago1703415143IN
0xacA8f5ed...F386c5cb2
0 ETH0.0010249822
Safe Transfer Fr...188071182023-12-17 17:06:59341 days ago1702832819IN
0xacA8f5ed...F386c5cb2
0 ETH0.0016909738.20027945
Set Approval For...187996662023-12-16 15:58:47343 days ago1702742327IN
0xacA8f5ed...F386c5cb2
0 ETH0.0013038652.83523648
Set Approval For...187996652023-12-16 15:58:35343 days ago1702742315IN
0xacA8f5ed...F386c5cb2
0 ETH0.001301252.54826188
Set Approval For...187996642023-12-16 15:58:23343 days ago1702742303IN
0xacA8f5ed...F386c5cb2
0 ETH0.0012880452.01682054
Set Approval For...186441402023-11-24 21:07:11364 days ago1700860031IN
0xacA8f5ed...F386c5cb2
0 ETH0.0014752531.66470694
Set Approval For...186135982023-11-20 14:29:11369 days ago1700490551IN
0xacA8f5ed...F386c5cb2
0 ETH0.0017574237.72097065
Set Approval For...185917002023-11-17 12:48:47372 days ago1700225327IN
0xacA8f5ed...F386c5cb2
0 ETH0.0006019424.39212388
Set Approval For...185910962023-11-17 10:47:23372 days ago1700218043IN
0xacA8f5ed...F386c5cb2
0 ETH0.0010288422.04332012
Set Approval For...185902222023-11-17 7:50:23372 days ago1700207423IN
0xacA8f5ed...F386c5cb2
0 ETH0.0010118721.67957376
Safe Transfer Fr...185900672023-11-17 7:18:47372 days ago1700205527IN
0xacA8f5ed...F386c5cb2
0 ETH0.0010986517.8998929
Set Approval For...185899692023-11-17 6:58:59372 days ago1700204339IN
0xacA8f5ed...F386c5cb2
0 ETH0.0008986519.28867455
View all transactions

Latest 1 internal transaction

Advanced mode:
Parent Transaction Hash Block From To
155263202022-09-13 10:11:03802 days ago1663063863
0xacA8f5ed...F386c5cb2
20 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
InPeakGenesis

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 14 : InPeakGenesis.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
// import "hardhat/console.sol";

contract InPeakGenesis is ERC721, Ownable, ReentrancyGuard {

    error Overflow(uint256 z, uint256 x);

    enum Stage {
        Inactive,
        AllowList,
        WaitList,
        Public
    }
    
    using MerkleProof for bytes32[];

    uint256 public mintStart;
    uint256 public publicPrice = 0.3 ether;


    uint256 public maxSupply = 0;
    uint256 public tokenCounter = 0;
    uint256 public pendingReservedSupply;
    uint32 public stageDuration = 3 hours;
    uint8 public activeList;

    mapping(Stage => bytes32) public rootByStage;
    mapping(uint8 => string) public tokenURIByLevel;
    mapping(uint256 => uint8) public tokenLevelOf;
    mapping(address => bool) public minted;

     constructor(uint256 pMaxSupply, uint256 pPendingReservedSupply, uint256 pMintStart, uint32 pStageDuration, uint256 pPublicPrice) ERC721("Inpeak Genesis", "IPGEN") {
        maxSupply = pMaxSupply;
        pendingReservedSupply = pPendingReservedSupply;
        mintStart = pMintStart;
        stageDuration = pStageDuration;
        publicPrice =pPublicPrice;
     }

    /// @dev Mint 1 token to `recipient`. The `price` parameter is used to validate the proof. Incorrect price reverts the tx.
    function mint(address recipient, uint256 price, bytes32[] memory proof) nonReentrant external payable {
        Stage curStage = getCurrentStage();

        require(minted[recipient] == false, 'already minted');
        require(curStage != Stage.Inactive, 'not started');
        require(getPublicRemainingSupply() > 0, "max supply reached");
        
        // Price is checked either from the proof or from public price (if on Public Stage)
        if(curStage == Stage.Public) {
            price = publicPrice;
        } else {
            require(rootByStage[curStage] != 0, "root not set for stage");// Check merkle root for stage
            require(proof.verify(rootByStage[curStage], keccak256(abi.encodePacked(recipient, price))), "invalid proof");
        } 

        require(msg.value == price, "invalid price paid");

        tokenCounter += 1;        
        minted[recipient] = true;
        _mint(recipient, tokenCounter);
    }
    
    /// @dev Mint 1 token to each `recipient` of `recipients`.
    function mintReserved(address[] memory recipients) onlyOwner external {
        require(recipients.length > 0, "invalid number of recipients");
        require(pendingReservedSupply >= recipients.length, "not enough reserved supply");
        require(maxSupply -tokenCounter > 0, "max supply reached");

        for(uint256 i = 0; i < recipients.length; i++) {
            _mint(recipients[i], tokenCounter + i + 1);
        }
        tokenCounter += recipients.length;
        pendingReservedSupply -= recipients.length;
    }

    function withdraw() nonReentrant public {
        require(address(this).balance > 0, "no balance to withdraw");
        address payable to = payable(owner());
        to.transfer(address(this).balance);
    }

    /*** SETTERS ***/

    function setTokenURI(uint8 level, string memory pURI) onlyOwner public {
        tokenURIByLevel[level] = pURI;
    }

    function setStageDuration(uint32 pDuration) onlyOwner public {
        stageDuration = pDuration;
    }

    function setTokenLevel(uint256 pTokenId, uint8 pLevel) onlyOwner public {
        tokenLevelOf[pTokenId] = pLevel;
    }

    function setTokensLevel(uint256[] calldata pTokenIds, uint8 pLevel) onlyOwner public {
        for(uint256 i; i < pTokenIds.length; i++) {
            tokenLevelOf[pTokenIds[i]] = pLevel;
        }
    }

    function setTokensLevels(uint256[] calldata pTokenIds, uint8[] calldata pLevels) onlyOwner public {
        require(pTokenIds.length == pLevels.length, "invalid array lengths");
        for(uint256 i; i < pTokenIds.length; i++) {
            tokenLevelOf[pTokenIds[i]] = pLevels[i];
        }
    }

    function setMerkleRoot(Stage pStage, bytes32 pRoot) onlyOwner public {
        rootByStage[pStage] = pRoot;
    }

    function setMaxSupply(uint256 pMaxSupply) onlyOwner public {
        require(pMaxSupply - tokenCounter - pendingReservedSupply > 0, "invalid max supply");
        maxSupply = pMaxSupply;
    }

    /// @dev Set the reserved supply for marketing.
    function setPendingReservedSupply(uint256 pPendingReservedSupply) onlyOwner public {
        require(tokenCounter + pPendingReservedSupply <= maxSupply, "cant reserve more than maximum supply");
        pendingReservedSupply = pPendingReservedSupply;
    }

    /// @dev Set the mint start date
    function setMintStart(uint256 pMintStart) onlyOwner public {
        require(pMintStart > block.timestamp, "mint start must be in the future");
        require(mintStart == 0 || mintStart > block.timestamp, "mint already started");
        mintStart = pMintStart;
    }

    /// @dev Set the price for Public Stage minting
    function setPublicPrice(uint256 pPublicPrice) onlyOwner public {
        publicPrice = pPublicPrice;
    }
    
    /*** VIEWS ***/

       /// @dev Returns the URI of a token.
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "invalid token id");
        return tokenURIByLevel[tokenLevelOf[tokenId]];
    }

    /// @dev Returns the current stage of minting.
    function getCurrentStage() public view returns(Stage stage) {
        if(mintStart == 0 || block.timestamp < mintStart) return Stage.Inactive;
        if(block.timestamp < mintStart + stageDuration) return Stage.AllowList;
        if(block.timestamp < mintStart + (stageDuration * 2)) return Stage.WaitList;
        if(block.timestamp >= mintStart + (stageDuration * 2)) return Stage.Public;
    }

    function timeUntilStage(Stage pStage) public view returns (uint256 timeRemaining) {
        if(pStage == Stage.Inactive) return 0;
        if(pStage == Stage.AllowList) return block.timestamp > mintStart ? 0 : mintStart - block.timestamp;
        if(pStage == Stage.WaitList) return block.timestamp > (mintStart + stageDuration) ? 0 : mintStart + stageDuration - block.timestamp;
        if(pStage == Stage.Public) return block.timestamp > mintStart + (stageDuration * 2) ? 0 : mintStart + (stageDuration *  2) - block.timestamp;   
    }

    /// @dev Returns the remaining supply for public mints
    function getPublicRemainingSupply() public view returns (uint256) {
        return maxSupply - tokenCounter - pendingReservedSupply;
    }

    /// @dev Returns the remaining real remaining supply without considering pending reserved
    function getRemainingSupply() public view returns (uint256) {
        return maxSupply - tokenCounter;
    }
}

File 2 of 14 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * `data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(
        address from,
        address to,
        uint256 tokenId,
        bytes memory data
    ) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer");
    }

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

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

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

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

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

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

        _balances[to] += 1;
        _owners[tokenId] = to;

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

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

    /**
     * @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 {
        address owner = ERC721.ownerOf(tokenId);

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

        // Clear approvals
        _approve(address(0), tokenId);

        _balances[owner] -= 1;
        delete _owners[tokenId];

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

        _balances[from] -= 1;
        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

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

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

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

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

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * 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, ``from``'s `tokenId` will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

File 4 of 14 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Tree 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 Calldata version of {verify}
     *
     * _Available since v4.7._
     */
    function verifyCalldata(
        bytes32[] calldata proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProofCalldata(proof, leaf) == root;
    }

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

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

    /**
     * @dev Returns true if the `leaves` can be proved to be a part of a Merkle tree defined by
     * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}.
     *
     * _Available since v4.7._
     */
    function multiProofVerify(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProof(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Calldata version of {multiProofVerify}
     *
     * _Available since v4.7._
     */
    function multiProofVerifyCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProofCalldata(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Returns the root of a tree reconstructed from `leaves` and the sibling nodes in `proof`,
     * consuming from one or the other at each step according to the instructions given by
     * `proofFlags`.
     *
     * _Available since v4.7._
     */
    function processMultiProof(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

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

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

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

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

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

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

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

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

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

File 5 of 14 : 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 14 : SafeMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

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

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

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

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

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

File 7 of 14 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 11 of 14 : 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 12 of 14 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

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

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // 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);
    }

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

File 13 of 14 : 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 14 of 14 : 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":"uint256","name":"pMaxSupply","type":"uint256"},{"internalType":"uint256","name":"pPendingReservedSupply","type":"uint256"},{"internalType":"uint256","name":"pMintStart","type":"uint256"},{"internalType":"uint32","name":"pStageDuration","type":"uint32"},{"internalType":"uint256","name":"pPublicPrice","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"uint256","name":"z","type":"uint256"},{"internalType":"uint256","name":"x","type":"uint256"}],"name":"Overflow","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":"activeList","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getCurrentStage","outputs":[{"internalType":"enum InPeakGenesis.Stage","name":"stage","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPublicRemainingSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getRemainingSupply","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":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address[]","name":"recipients","type":"address[]"}],"name":"mintReserved","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintStart","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"minted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pendingReservedSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum InPeakGenesis.Stage","name":"","type":"uint8"}],"name":"rootByStage","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"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":"uint256","name":"pMaxSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum InPeakGenesis.Stage","name":"pStage","type":"uint8"},{"internalType":"bytes32","name":"pRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"pMintStart","type":"uint256"}],"name":"setMintStart","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"pPendingReservedSupply","type":"uint256"}],"name":"setPendingReservedSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"pPublicPrice","type":"uint256"}],"name":"setPublicPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"pDuration","type":"uint32"}],"name":"setStageDuration","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"pTokenId","type":"uint256"},{"internalType":"uint8","name":"pLevel","type":"uint8"}],"name":"setTokenLevel","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"level","type":"uint8"},{"internalType":"string","name":"pURI","type":"string"}],"name":"setTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"pTokenIds","type":"uint256[]"},{"internalType":"uint8","name":"pLevel","type":"uint8"}],"name":"setTokensLevel","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"pTokenIds","type":"uint256[]"},{"internalType":"uint8[]","name":"pLevels","type":"uint8[]"}],"name":"setTokensLevels","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stageDuration","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","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":"enum InPeakGenesis.Stage","name":"pStage","type":"uint8"}],"name":"timeUntilStage","outputs":[{"internalType":"uint256","name":"timeRemaining","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenCounter","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenLevelOf","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"","type":"uint8"}],"name":"tokenURIByLevel","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052670429d069189e00006009556000600a556000600b55612a30600d60006101000a81548163ffffffff021916908363ffffffff1602179055503480156200004a57600080fd5b50604051620050833803806200508383398181016040528101906200007091906200037f565b6040518060400160405280600e81526020017f496e7065616b2047656e657369730000000000000000000000000000000000008152506040518060400160405280600581526020017f495047454e0000000000000000000000000000000000000000000000000000008152508160009080519060200190620000f49291906200024e565b5080600190805190602001906200010d9291906200024e565b50505062000130620001246200018060201b60201c565b6200018860201b60201c565b600160078190555084600a8190555083600c819055508260088190555081600d60006101000a81548163ffffffff021916908363ffffffff1602179055508060098190555050505050506200046c565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200025c9062000436565b90600052602060002090601f016020900481019282620002805760008555620002cc565b82601f106200029b57805160ff1916838001178555620002cc565b82800160010185558215620002cc579182015b82811115620002cb578251825591602001919060010190620002ae565b5b509050620002db9190620002df565b5090565b5b80821115620002fa576000816000905550600101620002e0565b5090565b600080fd5b6000819050919050565b620003188162000303565b81146200032457600080fd5b50565b60008151905062000338816200030d565b92915050565b600063ffffffff82169050919050565b62000359816200033e565b81146200036557600080fd5b50565b60008151905062000379816200034e565b92915050565b600080600080600060a086880312156200039e576200039d620002fe565b5b6000620003ae8882890162000327565b9550506020620003c18882890162000327565b9450506040620003d48882890162000327565b9350506060620003e78882890162000368565b9250506080620003fa8882890162000327565b9150509295509295909350565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200044f57607f821691505b6020821081141562000466576200046562000407565b5b50919050565b614c07806200047c6000396000f3fe6080604052600436106102675760003560e01c80638bde180511610144578063c6275255116100b6578063d61d44361161007a578063d61d44361461091b578063dba57f9314610944578063e4b7fb7314610981578063e985e9c5146109ac578063eedbe31d146109e9578063f2fde38b14610a1457610267565b8063c627525514610822578063c87b56dd1461084b578063cb4447b614610888578063d082e381146108c5578063d5abeb01146108f057610267565b8063a22cb46511610108578063a22cb46514610726578063a945bf801461074f578063aafb088e1461077a578063ad8c8a04146107a5578063b88d4fde146107ce578063ba21d6be146107f757610267565b80638bde1805146106415780638da5cb5b1461066a57806395d89b411461069557806398de3209146106c05780639c83aecc146106fd57610267565b80633ccfd60b116101dd5780636f8b44b0116101a15780636f8b44b01461054957806370a0823114610572578063715018a6146105af5780637960c27f146105c6578063820c6353146105ef578063850f3f3f1461061857610267565b80633ccfd60b1461048757806342842e0e1461049e57806354d77e0e146104c75780636352211e146104f0578063641ce1401461052d57610267565b80630f92ce1f1161022f5780630f92ce1f146103635780631e7269c51461038e57806323b872dd146103cb578063255e4685146103f457806326a1610b1461041f5780633c30abd71461044a57610267565b806301ffc9a71461026c57806306fdde03146102a9578063081812fc146102d457806308ad480b14610311578063095ea7b31461033a575b600080fd5b34801561027857600080fd5b50610293600480360381019061028e9190612de7565b610a3d565b6040516102a09190612e2f565b60405180910390f35b3480156102b557600080fd5b506102be610b1f565b6040516102cb9190612ee3565b60405180910390f35b3480156102e057600080fd5b506102fb60048036038101906102f69190612f3b565b610bb1565b6040516103089190612fa9565b60405180910390f35b34801561031d57600080fd5b5061033860048036038101906103339190612ffd565b610bf7565b005b34801561034657600080fd5b50610361600480360381019061035c9190613069565b610c2f565b005b34801561036f57600080fd5b50610378610d47565b60405161038591906130b8565b60405180910390f35b34801561039a57600080fd5b506103b560048036038101906103b091906130d3565b610d4d565b6040516103c29190612e2f565b60405180910390f35b3480156103d757600080fd5b506103f260048036038101906103ed9190613100565b610d6d565b005b34801561040057600080fd5b50610409610dcd565b60405161041691906130b8565b60405180910390f35b34801561042b57600080fd5b50610434610dd3565b60405161044191906130b8565b60405180910390f35b34801561045657600080fd5b50610471600480360381019061046c9190613153565b610df7565b60405161047e9190612ee3565b60405180910390f35b34801561049357600080fd5b5061049c610e97565b005b3480156104aa57600080fd5b506104c560048036038101906104c09190613100565b610f86565b005b3480156104d357600080fd5b506104ee60048036038101906104e991906131db565b610fa6565b005b3480156104fc57600080fd5b5061051760048036038101906105129190612f3b565b610fee565b6040516105249190612fa9565b60405180910390f35b61054760048036038101906105429190613363565b6110a0565b005b34801561055557600080fd5b50610570600480360381019061056b9190612f3b565b611474565b005b34801561057e57600080fd5b50610599600480360381019061059491906130d3565b6114e3565b6040516105a691906130b8565b60405180910390f35b3480156105bb57600080fd5b506105c461159b565b005b3480156105d257600080fd5b506105ed60048036038101906105e89190612f3b565b6115af565b005b3480156105fb57600080fd5b506106166004803603810190610611919061340e565b611654565b005b34801561062457600080fd5b5061063f600480360381019061063a91906134fe565b611680565b005b34801561064d57600080fd5b50610668600480360381019061066391906135a2565b6117f8565b005b34801561067657600080fd5b5061067f61186c565b60405161068c9190612fa9565b60405180910390f35b3480156106a157600080fd5b506106aa611896565b6040516106b79190612ee3565b60405180910390f35b3480156106cc57600080fd5b506106e760048036038101906106e29190612f3b565b611928565b6040516106f49190613611565b60405180910390f35b34801561070957600080fd5b50610724600480360381019061071f91906136e1565b611948565b005b34801561073257600080fd5b5061074d60048036038101906107489190613769565b611982565b005b34801561075b57600080fd5b50610764611998565b60405161077191906130b8565b60405180910390f35b34801561078657600080fd5b5061078f61199e565b60405161079c91906137b8565b60405180910390f35b3480156107b157600080fd5b506107cc60048036038101906107c79190612f3b565b6119b4565b005b3480156107da57600080fd5b506107f560048036038101906107f09190613874565b611a18565b005b34801561080357600080fd5b5061080c611a7a565b6040516108199190613611565b60405180910390f35b34801561082e57600080fd5b5061084960048036038101906108449190612f3b565b611a8d565b005b34801561085757600080fd5b50610872600480360381019061086d9190612f3b565b611a9f565b60405161087f9190612ee3565b60405180910390f35b34801561089457600080fd5b506108af60048036038101906108aa91906138f7565b611bb2565b6040516108bc91906130b8565b60405180910390f35b3480156108d157600080fd5b506108da611d8b565b6040516108e791906130b8565b60405180910390f35b3480156108fc57600080fd5b50610905611d91565b60405161091291906130b8565b60405180910390f35b34801561092757600080fd5b50610942600480360381019061093d919061397a565b611d97565b005b34801561095057600080fd5b5061096b600480360381019061096691906138f7565b611e7b565b6040516109789190613a0a565b60405180910390f35b34801561098d57600080fd5b50610996611e93565b6040516109a391906130b8565b60405180910390f35b3480156109b857600080fd5b506109d360048036038101906109ce9190613a25565b611eaa565b6040516109e09190612e2f565b60405180910390f35b3480156109f557600080fd5b506109fe611f3e565b604051610a0b9190613adc565b60405180910390f35b348015610a2057600080fd5b50610a3b6004803603810190610a3691906130d3565b61201c565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610b0857507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610b185750610b17826120a0565b5b9050919050565b606060008054610b2e90613b26565b80601f0160208091040260200160405190810160405280929190818152602001828054610b5a90613b26565b8015610ba75780601f10610b7c57610100808354040283529160200191610ba7565b820191906000526020600020905b815481529060010190602001808311610b8a57829003601f168201915b5050505050905090565b6000610bbc8261210a565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b610bff612155565b806010600084815260200190815260200160002060006101000a81548160ff021916908360ff1602179055505050565b6000610c3a82610fee565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610cab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ca290613bca565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610cca6121d3565b73ffffffffffffffffffffffffffffffffffffffff161480610cf95750610cf881610cf36121d3565b611eaa565b5b610d38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2f90613c5c565b60405180910390fd5b610d4283836121db565b505050565b600c5481565b60116020528060005260406000206000915054906101000a900460ff1681565b610d7e610d786121d3565b82612294565b610dbd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610db490613cee565b60405180910390fd5b610dc8838383612329565b505050565b60085481565b6000600c54600b54600a54610de89190613d3d565b610df29190613d3d565b905090565b600f6020528060005260406000206000915090508054610e1690613b26565b80601f0160208091040260200160405190810160405280929190818152602001828054610e4290613b26565b8015610e8f5780601f10610e6457610100808354040283529160200191610e8f565b820191906000526020600020905b815481529060010190602001808311610e7257829003601f168201915b505050505081565b60026007541415610edd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed490613dbd565b60405180910390fd5b600260078190555060004711610f28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1f90613e29565b60405180910390fd5b6000610f3261186c565b90508073ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610f7a573d6000803e3d6000fd5b50506001600781905550565b610fa183838360405180602001604052806000815250611a18565b505050565b610fae612155565b80600e6000846003811115610fc657610fc5613a65565b5b6003811115610fd857610fd7613a65565b5b8152602001908152602001600020819055505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611097576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108e90613e95565b60405180910390fd5b80915050919050565b600260075414156110e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110dd90613dbd565b60405180910390fd5b600260078190555060006110f8611f3e565b905060001515601160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615151461118d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118490613f01565b60405180910390fd5b600060038111156111a1576111a0613a65565b5b8160038111156111b4576111b3613a65565b5b14156111f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111ec90613f6d565b60405180910390fd5b60006111ff610dd3565b1161123f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161123690613fd9565b60405180910390fd5b60038081111561125257611251613a65565b5b81600381111561126557611264613a65565b5b14156112755760095492506113a6565b6000801b600e60008360038111156112905761128f613a65565b5b60038111156112a2576112a1613a65565b5b81526020019081526020016000205414156112f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112e990614045565b60405180910390fd5b611366600e600083600381111561130c5761130b613a65565b5b600381111561131e5761131d613a65565b5b81526020019081526020016000205485856040516020016113409291906140ce565b60405160208183030381529060405280519060200120846125909092919063ffffffff16565b6113a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161139c90614146565b60405180910390fd5b5b8234146113e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113df906141b2565b60405180910390fd5b6001600b60008282546113fb91906141d2565b925050819055506001601160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061146684600b546125a7565b506001600781905550505050565b61147c612155565b6000600c54600b548361148f9190613d3d565b6114999190613d3d565b116114d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d090614274565b60405180910390fd5b80600a8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611554576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154b90614306565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6115a3612155565b6115ad6000612781565b565b6115b7612155565b4281116115f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115f090614372565b60405180910390fd5b6000600854148061160b575042600854115b61164a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611641906143de565b60405180910390fd5b8060088190555050565b61165c612155565b80600d60006101000a81548163ffffffff021916908363ffffffff16021790555050565b611688612155565b60008151116116cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116c39061444a565b60405180910390fd5b8051600c541015611712576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611709906144b6565b60405180910390fd5b6000600b54600a546117249190613d3d565b11611764576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175b90613fd9565b60405180910390fd5b60005b81518110156117c0576117ad828281518110611786576117856144d6565b5b6020026020010151600183600b5461179e91906141d2565b6117a891906141d2565b6125a7565b80806117b890614505565b915050611767565b508051600b60008282546117d491906141d2565b925050819055508051600c60008282546117ee9190613d3d565b9250508190555050565b611800612155565b60005b83839050811015611866578160106000868685818110611826576118256144d6565b5b90506020020135815260200190815260200160002060006101000a81548160ff021916908360ff160217905550808061185e90614505565b915050611803565b50505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546118a590613b26565b80601f01602080910402602001604051908101604052809291908181526020018280546118d190613b26565b801561191e5780601f106118f35761010080835404028352916020019161191e565b820191906000526020600020905b81548152906001019060200180831161190157829003601f168201915b5050505050905090565b60106020528060005260406000206000915054906101000a900460ff1681565b611950612155565b80600f60008460ff1660ff168152602001908152602001600020908051906020019061197d929190612cd8565b505050565b61199461198d6121d3565b8383612847565b5050565b60095481565b600d60009054906101000a900463ffffffff1681565b6119bc612155565b600a5481600b546119cd91906141d2565b1115611a0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a05906145c0565b60405180910390fd5b80600c8190555050565b611a29611a236121d3565b83612294565b611a68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a5f90613cee565b60405180910390fd5b611a74848484846129b4565b50505050565b600d60049054906101000a900460ff1681565b611a95612155565b8060098190555050565b6060611aaa82612a10565b611ae9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ae09061462c565b60405180910390fd5b600f60006010600085815260200190815260200160002060009054906101000a900460ff1660ff1660ff1681526020019081526020016000208054611b2d90613b26565b80601f0160208091040260200160405190810160405280929190818152602001828054611b5990613b26565b8015611ba65780601f10611b7b57610100808354040283529160200191611ba6565b820191906000526020600020905b815481529060010190602001808311611b8957829003601f168201915b50505050509050919050565b6000806003811115611bc757611bc6613a65565b5b826003811115611bda57611bd9613a65565b5b1415611be95760009050611d86565b60016003811115611bfd57611bfc613a65565b5b826003811115611c1057611c0f613a65565b5b1415611c3c576008544211611c325742600854611c2d9190613d3d565b611c35565b60005b9050611d86565b60026003811115611c5057611c4f613a65565b5b826003811115611c6357611c62613a65565b5b1415611cd557600d60009054906101000a900463ffffffff1663ffffffff16600854611c8f91906141d2565b4211611ccb5742600d60009054906101000a900463ffffffff1663ffffffff16600854611cbc91906141d2565b611cc69190613d3d565b611cce565b60005b9050611d86565b600380811115611ce857611ce7613a65565b5b826003811115611cfb57611cfa613a65565b5b1415611d85576002600d60009054906101000a900463ffffffff16611d20919061464c565b63ffffffff16600854611d3391906141d2565b4211611d7b57426002600d60009054906101000a900463ffffffff16611d59919061464c565b63ffffffff16600854611d6c91906141d2565b611d769190613d3d565b611d7e565b60005b9050611d86565b5b919050565b600b5481565b600a5481565b611d9f612155565b818190508484905014611de7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dde906146d6565b60405180910390fd5b60005b84849050811015611e7457828282818110611e0857611e076144d6565b5b9050602002016020810190611e1d9190613153565b60106000878785818110611e3457611e336144d6565b5b90506020020135815260200190815260200160002060006101000a81548160ff021916908360ff1602179055508080611e6c90614505565b915050611dea565b5050505050565b600e6020528060005260406000206000915090505481565b6000600b54600a54611ea59190613d3d565b905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000806008541480611f51575060085442105b15611f5f5760009050612019565b600d60009054906101000a900463ffffffff1663ffffffff16600854611f8591906141d2565b421015611f955760019050612019565b6002600d60009054906101000a900463ffffffff16611fb4919061464c565b63ffffffff16600854611fc791906141d2565b421015611fd75760029050612019565b6002600d60009054906101000a900463ffffffff16611ff6919061464c565b63ffffffff1660085461200991906141d2565b42106120185760039050612019565b5b90565b612024612155565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612094576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161208b90614768565b60405180910390fd5b61209d81612781565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61211381612a10565b612152576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161214990613e95565b60405180910390fd5b50565b61215d6121d3565b73ffffffffffffffffffffffffffffffffffffffff1661217b61186c565b73ffffffffffffffffffffffffffffffffffffffff16146121d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121c8906147d4565b60405180910390fd5b565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661224e83610fee565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000806122a083610fee565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806122e257506122e18185611eaa565b5b8061232057508373ffffffffffffffffffffffffffffffffffffffff1661230884610bb1565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661234982610fee565b73ffffffffffffffffffffffffffffffffffffffff161461239f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161239690614866565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561240f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612406906148f8565b60405180910390fd5b61241a838383612a7c565b6124256000826121db565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546124759190613d3d565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546124cc91906141d2565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461258b838383612a81565b505050565b60008261259d8584612a86565b1490509392505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612617576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161260e90614964565b60405180910390fd5b61262081612a10565b15612660576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612657906149d0565b60405180910390fd5b61266c60008383612a7c565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546126bc91906141d2565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461277d60008383612a81565b5050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156128b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128ad90614a3c565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516129a79190612e2f565b60405180910390a3505050565b6129bf848484612329565b6129cb84848484612adc565b612a0a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a0190614ace565b60405180910390fd5b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b505050565b505050565b60008082905060005b8451811015612ad157612abc82868381518110612aaf57612aae6144d6565b5b6020026020010151612c73565b91508080612ac990614505565b915050612a8f565b508091505092915050565b6000612afd8473ffffffffffffffffffffffffffffffffffffffff16612c9e565b15612c66578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612b266121d3565b8786866040518563ffffffff1660e01b8152600401612b489493929190614b43565b602060405180830381600087803b158015612b6257600080fd5b505af1925050508015612b9357506040513d601f19601f82011682018060405250810190612b909190614ba4565b60015b612c16573d8060008114612bc3576040519150601f19603f3d011682016040523d82523d6000602084013e612bc8565b606091505b50600081511415612c0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c0590614ace565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612c6b565b600190505b949350505050565b6000818310612c8b57612c868284612cc1565b612c96565b612c958383612cc1565b5b905092915050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600082600052816020526040600020905092915050565b828054612ce490613b26565b90600052602060002090601f016020900481019282612d065760008555612d4d565b82601f10612d1f57805160ff1916838001178555612d4d565b82800160010185558215612d4d579182015b82811115612d4c578251825591602001919060010190612d31565b5b509050612d5a9190612d5e565b5090565b5b80821115612d77576000816000905550600101612d5f565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612dc481612d8f565b8114612dcf57600080fd5b50565b600081359050612de181612dbb565b92915050565b600060208284031215612dfd57612dfc612d85565b5b6000612e0b84828501612dd2565b91505092915050565b60008115159050919050565b612e2981612e14565b82525050565b6000602082019050612e446000830184612e20565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612e84578082015181840152602081019050612e69565b83811115612e93576000848401525b50505050565b6000601f19601f8301169050919050565b6000612eb582612e4a565b612ebf8185612e55565b9350612ecf818560208601612e66565b612ed881612e99565b840191505092915050565b60006020820190508181036000830152612efd8184612eaa565b905092915050565b6000819050919050565b612f1881612f05565b8114612f2357600080fd5b50565b600081359050612f3581612f0f565b92915050565b600060208284031215612f5157612f50612d85565b5b6000612f5f84828501612f26565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612f9382612f68565b9050919050565b612fa381612f88565b82525050565b6000602082019050612fbe6000830184612f9a565b92915050565b600060ff82169050919050565b612fda81612fc4565b8114612fe557600080fd5b50565b600081359050612ff781612fd1565b92915050565b6000806040838503121561301457613013612d85565b5b600061302285828601612f26565b925050602061303385828601612fe8565b9150509250929050565b61304681612f88565b811461305157600080fd5b50565b6000813590506130638161303d565b92915050565b600080604083850312156130805761307f612d85565b5b600061308e85828601613054565b925050602061309f85828601612f26565b9150509250929050565b6130b281612f05565b82525050565b60006020820190506130cd60008301846130a9565b92915050565b6000602082840312156130e9576130e8612d85565b5b60006130f784828501613054565b91505092915050565b60008060006060848603121561311957613118612d85565b5b600061312786828701613054565b935050602061313886828701613054565b925050604061314986828701612f26565b9150509250925092565b60006020828403121561316957613168612d85565b5b600061317784828501612fe8565b91505092915050565b6004811061318d57600080fd5b50565b60008135905061319f81613180565b92915050565b6000819050919050565b6131b8816131a5565b81146131c357600080fd5b50565b6000813590506131d5816131af565b92915050565b600080604083850312156131f2576131f1612d85565b5b600061320085828601613190565b9250506020613211858286016131c6565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61325882612e99565b810181811067ffffffffffffffff8211171561327757613276613220565b5b80604052505050565b600061328a612d7b565b9050613296828261324f565b919050565b600067ffffffffffffffff8211156132b6576132b5613220565b5b602082029050602081019050919050565b600080fd5b60006132df6132da8461329b565b613280565b90508083825260208201905060208402830185811115613302576133016132c7565b5b835b8181101561332b578061331788826131c6565b845260208401935050602081019050613304565b5050509392505050565b600082601f83011261334a5761334961321b565b5b813561335a8482602086016132cc565b91505092915050565b60008060006060848603121561337c5761337b612d85565b5b600061338a86828701613054565b935050602061339b86828701612f26565b925050604084013567ffffffffffffffff8111156133bc576133bb612d8a565b5b6133c886828701613335565b9150509250925092565b600063ffffffff82169050919050565b6133eb816133d2565b81146133f657600080fd5b50565b600081359050613408816133e2565b92915050565b60006020828403121561342457613423612d85565b5b6000613432848285016133f9565b91505092915050565b600067ffffffffffffffff82111561345657613455613220565b5b602082029050602081019050919050565b600061347a6134758461343b565b613280565b9050808382526020820190506020840283018581111561349d5761349c6132c7565b5b835b818110156134c657806134b28882613054565b84526020840193505060208101905061349f565b5050509392505050565b600082601f8301126134e5576134e461321b565b5b81356134f5848260208601613467565b91505092915050565b60006020828403121561351457613513612d85565b5b600082013567ffffffffffffffff81111561353257613531612d8a565b5b61353e848285016134d0565b91505092915050565b600080fd5b60008083601f8401126135625761356161321b565b5b8235905067ffffffffffffffff81111561357f5761357e613547565b5b60208301915083602082028301111561359b5761359a6132c7565b5b9250929050565b6000806000604084860312156135bb576135ba612d85565b5b600084013567ffffffffffffffff8111156135d9576135d8612d8a565b5b6135e58682870161354c565b935093505060206135f886828701612fe8565b9150509250925092565b61360b81612fc4565b82525050565b60006020820190506136266000830184613602565b92915050565b600080fd5b600067ffffffffffffffff82111561364c5761364b613220565b5b61365582612e99565b9050602081019050919050565b82818337600083830152505050565b600061368461367f84613631565b613280565b9050828152602081018484840111156136a05761369f61362c565b5b6136ab848285613662565b509392505050565b600082601f8301126136c8576136c761321b565b5b81356136d8848260208601613671565b91505092915050565b600080604083850312156136f8576136f7612d85565b5b600061370685828601612fe8565b925050602083013567ffffffffffffffff81111561372757613726612d8a565b5b613733858286016136b3565b9150509250929050565b61374681612e14565b811461375157600080fd5b50565b6000813590506137638161373d565b92915050565b600080604083850312156137805761377f612d85565b5b600061378e85828601613054565b925050602061379f85828601613754565b9150509250929050565b6137b2816133d2565b82525050565b60006020820190506137cd60008301846137a9565b92915050565b600067ffffffffffffffff8211156137ee576137ed613220565b5b6137f782612e99565b9050602081019050919050565b6000613817613812846137d3565b613280565b9050828152602081018484840111156138335761383261362c565b5b61383e848285613662565b509392505050565b600082601f83011261385b5761385a61321b565b5b813561386b848260208601613804565b91505092915050565b6000806000806080858703121561388e5761388d612d85565b5b600061389c87828801613054565b94505060206138ad87828801613054565b93505060406138be87828801612f26565b925050606085013567ffffffffffffffff8111156138df576138de612d8a565b5b6138eb87828801613846565b91505092959194509250565b60006020828403121561390d5761390c612d85565b5b600061391b84828501613190565b91505092915050565b60008083601f84011261393a5761393961321b565b5b8235905067ffffffffffffffff81111561395757613956613547565b5b602083019150836020820283011115613973576139726132c7565b5b9250929050565b6000806000806040858703121561399457613993612d85565b5b600085013567ffffffffffffffff8111156139b2576139b1612d8a565b5b6139be8782880161354c565b9450945050602085013567ffffffffffffffff8111156139e1576139e0612d8a565b5b6139ed87828801613924565b925092505092959194509250565b613a04816131a5565b82525050565b6000602082019050613a1f60008301846139fb565b92915050565b60008060408385031215613a3c57613a3b612d85565b5b6000613a4a85828601613054565b9250506020613a5b85828601613054565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b60048110613aa557613aa4613a65565b5b50565b6000819050613ab682613a94565b919050565b6000613ac682613aa8565b9050919050565b613ad681613abb565b82525050565b6000602082019050613af16000830184613acd565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613b3e57607f821691505b60208210811415613b5257613b51613af7565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000613bb4602183612e55565b9150613bbf82613b58565b604082019050919050565b60006020820190508181036000830152613be381613ba7565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b6000613c46603e83612e55565b9150613c5182613bea565b604082019050919050565b60006020820190508181036000830152613c7581613c39565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b6000613cd8602e83612e55565b9150613ce382613c7c565b604082019050919050565b60006020820190508181036000830152613d0781613ccb565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613d4882612f05565b9150613d5383612f05565b925082821015613d6657613d65613d0e565b5b828203905092915050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000613da7601f83612e55565b9150613db282613d71565b602082019050919050565b60006020820190508181036000830152613dd681613d9a565b9050919050565b7f6e6f2062616c616e636520746f20776974686472617700000000000000000000600082015250565b6000613e13601683612e55565b9150613e1e82613ddd565b602082019050919050565b60006020820190508181036000830152613e4281613e06565b9050919050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b6000613e7f601883612e55565b9150613e8a82613e49565b602082019050919050565b60006020820190508181036000830152613eae81613e72565b9050919050565b7f616c7265616479206d696e746564000000000000000000000000000000000000600082015250565b6000613eeb600e83612e55565b9150613ef682613eb5565b602082019050919050565b60006020820190508181036000830152613f1a81613ede565b9050919050565b7f6e6f742073746172746564000000000000000000000000000000000000000000600082015250565b6000613f57600b83612e55565b9150613f6282613f21565b602082019050919050565b60006020820190508181036000830152613f8681613f4a565b9050919050565b7f6d617820737570706c7920726561636865640000000000000000000000000000600082015250565b6000613fc3601283612e55565b9150613fce82613f8d565b602082019050919050565b60006020820190508181036000830152613ff281613fb6565b9050919050565b7f726f6f74206e6f742073657420666f7220737461676500000000000000000000600082015250565b600061402f601683612e55565b915061403a82613ff9565b602082019050919050565b6000602082019050818103600083015261405e81614022565b9050919050565b60008160601b9050919050565b600061407d82614065565b9050919050565b600061408f82614072565b9050919050565b6140a76140a282612f88565b614084565b82525050565b6000819050919050565b6140c86140c382612f05565b6140ad565b82525050565b60006140da8285614096565b6014820191506140ea82846140b7565b6020820191508190509392505050565b7f696e76616c69642070726f6f6600000000000000000000000000000000000000600082015250565b6000614130600d83612e55565b915061413b826140fa565b602082019050919050565b6000602082019050818103600083015261415f81614123565b9050919050565b7f696e76616c696420707269636520706169640000000000000000000000000000600082015250565b600061419c601283612e55565b91506141a782614166565b602082019050919050565b600060208201905081810360008301526141cb8161418f565b9050919050565b60006141dd82612f05565b91506141e883612f05565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561421d5761421c613d0e565b5b828201905092915050565b7f696e76616c6964206d617820737570706c790000000000000000000000000000600082015250565b600061425e601283612e55565b915061426982614228565b602082019050919050565b6000602082019050818103600083015261428d81614251565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b60006142f0602983612e55565b91506142fb82614294565b604082019050919050565b6000602082019050818103600083015261431f816142e3565b9050919050565b7f6d696e74207374617274206d75737420626520696e2074686520667574757265600082015250565b600061435c602083612e55565b915061436782614326565b602082019050919050565b6000602082019050818103600083015261438b8161434f565b9050919050565b7f6d696e7420616c72656164792073746172746564000000000000000000000000600082015250565b60006143c8601483612e55565b91506143d382614392565b602082019050919050565b600060208201905081810360008301526143f7816143bb565b9050919050565b7f696e76616c6964206e756d626572206f6620726563697069656e747300000000600082015250565b6000614434601c83612e55565b915061443f826143fe565b602082019050919050565b6000602082019050818103600083015261446381614427565b9050919050565b7f6e6f7420656e6f75676820726573657276656420737570706c79000000000000600082015250565b60006144a0601a83612e55565b91506144ab8261446a565b602082019050919050565b600060208201905081810360008301526144cf81614493565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600061451082612f05565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561454357614542613d0e565b5b600182019050919050565b7f63616e742072657365727665206d6f7265207468616e206d6178696d756d207360008201527f7570706c79000000000000000000000000000000000000000000000000000000602082015250565b60006145aa602583612e55565b91506145b58261454e565b604082019050919050565b600060208201905081810360008301526145d98161459d565b9050919050565b7f696e76616c696420746f6b656e20696400000000000000000000000000000000600082015250565b6000614616601083612e55565b9150614621826145e0565b602082019050919050565b6000602082019050818103600083015261464581614609565b9050919050565b6000614657826133d2565b9150614662836133d2565b92508163ffffffff048311821515161561467f5761467e613d0e565b5b828202905092915050565b7f696e76616c6964206172726179206c656e677468730000000000000000000000600082015250565b60006146c0601583612e55565b91506146cb8261468a565b602082019050919050565b600060208201905081810360008301526146ef816146b3565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614752602683612e55565b915061475d826146f6565b604082019050919050565b6000602082019050818103600083015261478181614745565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006147be602083612e55565b91506147c982614788565b602082019050919050565b600060208201905081810360008301526147ed816147b1565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000614850602583612e55565b915061485b826147f4565b604082019050919050565b6000602082019050818103600083015261487f81614843565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006148e2602483612e55565b91506148ed82614886565b604082019050919050565b60006020820190508181036000830152614911816148d5565b9050919050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b600061494e602083612e55565b915061495982614918565b602082019050919050565b6000602082019050818103600083015261497d81614941565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b60006149ba601c83612e55565b91506149c582614984565b602082019050919050565b600060208201905081810360008301526149e9816149ad565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000614a26601983612e55565b9150614a31826149f0565b602082019050919050565b60006020820190508181036000830152614a5581614a19565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000614ab8603283612e55565b9150614ac382614a5c565b604082019050919050565b60006020820190508181036000830152614ae781614aab565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000614b1582614aee565b614b1f8185614af9565b9350614b2f818560208601612e66565b614b3881612e99565b840191505092915050565b6000608082019050614b586000830187612f9a565b614b656020830186612f9a565b614b7260408301856130a9565b8181036060830152614b848184614b0a565b905095945050505050565b600081519050614b9e81612dbb565b92915050565b600060208284031215614bba57614bb9612d85565b5b6000614bc884828501614b8f565b9150509291505056fea264697066735822122009fdace6319d7fbf21ded49b43650a441dbad15ff233f0b8628069f8fc083c4764736f6c6343000809003300000000000000000000000000000000000000000000000000000000000004e200000000000000000000000000000000000000000000000000000000000000fa00000000000000000000000000000000000000000000000000000000631f3b600000000000000000000000000000000000000000000000000000000000002a30000000000000000000000000000000000000000000000000016345785d8a0000

Deployed Bytecode

0x6080604052600436106102675760003560e01c80638bde180511610144578063c6275255116100b6578063d61d44361161007a578063d61d44361461091b578063dba57f9314610944578063e4b7fb7314610981578063e985e9c5146109ac578063eedbe31d146109e9578063f2fde38b14610a1457610267565b8063c627525514610822578063c87b56dd1461084b578063cb4447b614610888578063d082e381146108c5578063d5abeb01146108f057610267565b8063a22cb46511610108578063a22cb46514610726578063a945bf801461074f578063aafb088e1461077a578063ad8c8a04146107a5578063b88d4fde146107ce578063ba21d6be146107f757610267565b80638bde1805146106415780638da5cb5b1461066a57806395d89b411461069557806398de3209146106c05780639c83aecc146106fd57610267565b80633ccfd60b116101dd5780636f8b44b0116101a15780636f8b44b01461054957806370a0823114610572578063715018a6146105af5780637960c27f146105c6578063820c6353146105ef578063850f3f3f1461061857610267565b80633ccfd60b1461048757806342842e0e1461049e57806354d77e0e146104c75780636352211e146104f0578063641ce1401461052d57610267565b80630f92ce1f1161022f5780630f92ce1f146103635780631e7269c51461038e57806323b872dd146103cb578063255e4685146103f457806326a1610b1461041f5780633c30abd71461044a57610267565b806301ffc9a71461026c57806306fdde03146102a9578063081812fc146102d457806308ad480b14610311578063095ea7b31461033a575b600080fd5b34801561027857600080fd5b50610293600480360381019061028e9190612de7565b610a3d565b6040516102a09190612e2f565b60405180910390f35b3480156102b557600080fd5b506102be610b1f565b6040516102cb9190612ee3565b60405180910390f35b3480156102e057600080fd5b506102fb60048036038101906102f69190612f3b565b610bb1565b6040516103089190612fa9565b60405180910390f35b34801561031d57600080fd5b5061033860048036038101906103339190612ffd565b610bf7565b005b34801561034657600080fd5b50610361600480360381019061035c9190613069565b610c2f565b005b34801561036f57600080fd5b50610378610d47565b60405161038591906130b8565b60405180910390f35b34801561039a57600080fd5b506103b560048036038101906103b091906130d3565b610d4d565b6040516103c29190612e2f565b60405180910390f35b3480156103d757600080fd5b506103f260048036038101906103ed9190613100565b610d6d565b005b34801561040057600080fd5b50610409610dcd565b60405161041691906130b8565b60405180910390f35b34801561042b57600080fd5b50610434610dd3565b60405161044191906130b8565b60405180910390f35b34801561045657600080fd5b50610471600480360381019061046c9190613153565b610df7565b60405161047e9190612ee3565b60405180910390f35b34801561049357600080fd5b5061049c610e97565b005b3480156104aa57600080fd5b506104c560048036038101906104c09190613100565b610f86565b005b3480156104d357600080fd5b506104ee60048036038101906104e991906131db565b610fa6565b005b3480156104fc57600080fd5b5061051760048036038101906105129190612f3b565b610fee565b6040516105249190612fa9565b60405180910390f35b61054760048036038101906105429190613363565b6110a0565b005b34801561055557600080fd5b50610570600480360381019061056b9190612f3b565b611474565b005b34801561057e57600080fd5b50610599600480360381019061059491906130d3565b6114e3565b6040516105a691906130b8565b60405180910390f35b3480156105bb57600080fd5b506105c461159b565b005b3480156105d257600080fd5b506105ed60048036038101906105e89190612f3b565b6115af565b005b3480156105fb57600080fd5b506106166004803603810190610611919061340e565b611654565b005b34801561062457600080fd5b5061063f600480360381019061063a91906134fe565b611680565b005b34801561064d57600080fd5b50610668600480360381019061066391906135a2565b6117f8565b005b34801561067657600080fd5b5061067f61186c565b60405161068c9190612fa9565b60405180910390f35b3480156106a157600080fd5b506106aa611896565b6040516106b79190612ee3565b60405180910390f35b3480156106cc57600080fd5b506106e760048036038101906106e29190612f3b565b611928565b6040516106f49190613611565b60405180910390f35b34801561070957600080fd5b50610724600480360381019061071f91906136e1565b611948565b005b34801561073257600080fd5b5061074d60048036038101906107489190613769565b611982565b005b34801561075b57600080fd5b50610764611998565b60405161077191906130b8565b60405180910390f35b34801561078657600080fd5b5061078f61199e565b60405161079c91906137b8565b60405180910390f35b3480156107b157600080fd5b506107cc60048036038101906107c79190612f3b565b6119b4565b005b3480156107da57600080fd5b506107f560048036038101906107f09190613874565b611a18565b005b34801561080357600080fd5b5061080c611a7a565b6040516108199190613611565b60405180910390f35b34801561082e57600080fd5b5061084960048036038101906108449190612f3b565b611a8d565b005b34801561085757600080fd5b50610872600480360381019061086d9190612f3b565b611a9f565b60405161087f9190612ee3565b60405180910390f35b34801561089457600080fd5b506108af60048036038101906108aa91906138f7565b611bb2565b6040516108bc91906130b8565b60405180910390f35b3480156108d157600080fd5b506108da611d8b565b6040516108e791906130b8565b60405180910390f35b3480156108fc57600080fd5b50610905611d91565b60405161091291906130b8565b60405180910390f35b34801561092757600080fd5b50610942600480360381019061093d919061397a565b611d97565b005b34801561095057600080fd5b5061096b600480360381019061096691906138f7565b611e7b565b6040516109789190613a0a565b60405180910390f35b34801561098d57600080fd5b50610996611e93565b6040516109a391906130b8565b60405180910390f35b3480156109b857600080fd5b506109d360048036038101906109ce9190613a25565b611eaa565b6040516109e09190612e2f565b60405180910390f35b3480156109f557600080fd5b506109fe611f3e565b604051610a0b9190613adc565b60405180910390f35b348015610a2057600080fd5b50610a3b6004803603810190610a3691906130d3565b61201c565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610b0857507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610b185750610b17826120a0565b5b9050919050565b606060008054610b2e90613b26565b80601f0160208091040260200160405190810160405280929190818152602001828054610b5a90613b26565b8015610ba75780601f10610b7c57610100808354040283529160200191610ba7565b820191906000526020600020905b815481529060010190602001808311610b8a57829003601f168201915b5050505050905090565b6000610bbc8261210a565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b610bff612155565b806010600084815260200190815260200160002060006101000a81548160ff021916908360ff1602179055505050565b6000610c3a82610fee565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610cab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ca290613bca565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610cca6121d3565b73ffffffffffffffffffffffffffffffffffffffff161480610cf95750610cf881610cf36121d3565b611eaa565b5b610d38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2f90613c5c565b60405180910390fd5b610d4283836121db565b505050565b600c5481565b60116020528060005260406000206000915054906101000a900460ff1681565b610d7e610d786121d3565b82612294565b610dbd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610db490613cee565b60405180910390fd5b610dc8838383612329565b505050565b60085481565b6000600c54600b54600a54610de89190613d3d565b610df29190613d3d565b905090565b600f6020528060005260406000206000915090508054610e1690613b26565b80601f0160208091040260200160405190810160405280929190818152602001828054610e4290613b26565b8015610e8f5780601f10610e6457610100808354040283529160200191610e8f565b820191906000526020600020905b815481529060010190602001808311610e7257829003601f168201915b505050505081565b60026007541415610edd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed490613dbd565b60405180910390fd5b600260078190555060004711610f28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1f90613e29565b60405180910390fd5b6000610f3261186c565b90508073ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610f7a573d6000803e3d6000fd5b50506001600781905550565b610fa183838360405180602001604052806000815250611a18565b505050565b610fae612155565b80600e6000846003811115610fc657610fc5613a65565b5b6003811115610fd857610fd7613a65565b5b8152602001908152602001600020819055505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611097576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108e90613e95565b60405180910390fd5b80915050919050565b600260075414156110e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110dd90613dbd565b60405180910390fd5b600260078190555060006110f8611f3e565b905060001515601160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615151461118d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118490613f01565b60405180910390fd5b600060038111156111a1576111a0613a65565b5b8160038111156111b4576111b3613a65565b5b14156111f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111ec90613f6d565b60405180910390fd5b60006111ff610dd3565b1161123f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161123690613fd9565b60405180910390fd5b60038081111561125257611251613a65565b5b81600381111561126557611264613a65565b5b14156112755760095492506113a6565b6000801b600e60008360038111156112905761128f613a65565b5b60038111156112a2576112a1613a65565b5b81526020019081526020016000205414156112f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112e990614045565b60405180910390fd5b611366600e600083600381111561130c5761130b613a65565b5b600381111561131e5761131d613a65565b5b81526020019081526020016000205485856040516020016113409291906140ce565b60405160208183030381529060405280519060200120846125909092919063ffffffff16565b6113a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161139c90614146565b60405180910390fd5b5b8234146113e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113df906141b2565b60405180910390fd5b6001600b60008282546113fb91906141d2565b925050819055506001601160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061146684600b546125a7565b506001600781905550505050565b61147c612155565b6000600c54600b548361148f9190613d3d565b6114999190613d3d565b116114d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d090614274565b60405180910390fd5b80600a8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611554576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154b90614306565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6115a3612155565b6115ad6000612781565b565b6115b7612155565b4281116115f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115f090614372565b60405180910390fd5b6000600854148061160b575042600854115b61164a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611641906143de565b60405180910390fd5b8060088190555050565b61165c612155565b80600d60006101000a81548163ffffffff021916908363ffffffff16021790555050565b611688612155565b60008151116116cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116c39061444a565b60405180910390fd5b8051600c541015611712576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611709906144b6565b60405180910390fd5b6000600b54600a546117249190613d3d565b11611764576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175b90613fd9565b60405180910390fd5b60005b81518110156117c0576117ad828281518110611786576117856144d6565b5b6020026020010151600183600b5461179e91906141d2565b6117a891906141d2565b6125a7565b80806117b890614505565b915050611767565b508051600b60008282546117d491906141d2565b925050819055508051600c60008282546117ee9190613d3d565b9250508190555050565b611800612155565b60005b83839050811015611866578160106000868685818110611826576118256144d6565b5b90506020020135815260200190815260200160002060006101000a81548160ff021916908360ff160217905550808061185e90614505565b915050611803565b50505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546118a590613b26565b80601f01602080910402602001604051908101604052809291908181526020018280546118d190613b26565b801561191e5780601f106118f35761010080835404028352916020019161191e565b820191906000526020600020905b81548152906001019060200180831161190157829003601f168201915b5050505050905090565b60106020528060005260406000206000915054906101000a900460ff1681565b611950612155565b80600f60008460ff1660ff168152602001908152602001600020908051906020019061197d929190612cd8565b505050565b61199461198d6121d3565b8383612847565b5050565b60095481565b600d60009054906101000a900463ffffffff1681565b6119bc612155565b600a5481600b546119cd91906141d2565b1115611a0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a05906145c0565b60405180910390fd5b80600c8190555050565b611a29611a236121d3565b83612294565b611a68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a5f90613cee565b60405180910390fd5b611a74848484846129b4565b50505050565b600d60049054906101000a900460ff1681565b611a95612155565b8060098190555050565b6060611aaa82612a10565b611ae9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ae09061462c565b60405180910390fd5b600f60006010600085815260200190815260200160002060009054906101000a900460ff1660ff1660ff1681526020019081526020016000208054611b2d90613b26565b80601f0160208091040260200160405190810160405280929190818152602001828054611b5990613b26565b8015611ba65780601f10611b7b57610100808354040283529160200191611ba6565b820191906000526020600020905b815481529060010190602001808311611b8957829003601f168201915b50505050509050919050565b6000806003811115611bc757611bc6613a65565b5b826003811115611bda57611bd9613a65565b5b1415611be95760009050611d86565b60016003811115611bfd57611bfc613a65565b5b826003811115611c1057611c0f613a65565b5b1415611c3c576008544211611c325742600854611c2d9190613d3d565b611c35565b60005b9050611d86565b60026003811115611c5057611c4f613a65565b5b826003811115611c6357611c62613a65565b5b1415611cd557600d60009054906101000a900463ffffffff1663ffffffff16600854611c8f91906141d2565b4211611ccb5742600d60009054906101000a900463ffffffff1663ffffffff16600854611cbc91906141d2565b611cc69190613d3d565b611cce565b60005b9050611d86565b600380811115611ce857611ce7613a65565b5b826003811115611cfb57611cfa613a65565b5b1415611d85576002600d60009054906101000a900463ffffffff16611d20919061464c565b63ffffffff16600854611d3391906141d2565b4211611d7b57426002600d60009054906101000a900463ffffffff16611d59919061464c565b63ffffffff16600854611d6c91906141d2565b611d769190613d3d565b611d7e565b60005b9050611d86565b5b919050565b600b5481565b600a5481565b611d9f612155565b818190508484905014611de7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dde906146d6565b60405180910390fd5b60005b84849050811015611e7457828282818110611e0857611e076144d6565b5b9050602002016020810190611e1d9190613153565b60106000878785818110611e3457611e336144d6565b5b90506020020135815260200190815260200160002060006101000a81548160ff021916908360ff1602179055508080611e6c90614505565b915050611dea565b5050505050565b600e6020528060005260406000206000915090505481565b6000600b54600a54611ea59190613d3d565b905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000806008541480611f51575060085442105b15611f5f5760009050612019565b600d60009054906101000a900463ffffffff1663ffffffff16600854611f8591906141d2565b421015611f955760019050612019565b6002600d60009054906101000a900463ffffffff16611fb4919061464c565b63ffffffff16600854611fc791906141d2565b421015611fd75760029050612019565b6002600d60009054906101000a900463ffffffff16611ff6919061464c565b63ffffffff1660085461200991906141d2565b42106120185760039050612019565b5b90565b612024612155565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612094576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161208b90614768565b60405180910390fd5b61209d81612781565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61211381612a10565b612152576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161214990613e95565b60405180910390fd5b50565b61215d6121d3565b73ffffffffffffffffffffffffffffffffffffffff1661217b61186c565b73ffffffffffffffffffffffffffffffffffffffff16146121d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121c8906147d4565b60405180910390fd5b565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661224e83610fee565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000806122a083610fee565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806122e257506122e18185611eaa565b5b8061232057508373ffffffffffffffffffffffffffffffffffffffff1661230884610bb1565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661234982610fee565b73ffffffffffffffffffffffffffffffffffffffff161461239f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161239690614866565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561240f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612406906148f8565b60405180910390fd5b61241a838383612a7c565b6124256000826121db565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546124759190613d3d565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546124cc91906141d2565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461258b838383612a81565b505050565b60008261259d8584612a86565b1490509392505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612617576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161260e90614964565b60405180910390fd5b61262081612a10565b15612660576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612657906149d0565b60405180910390fd5b61266c60008383612a7c565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546126bc91906141d2565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461277d60008383612a81565b5050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156128b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128ad90614a3c565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516129a79190612e2f565b60405180910390a3505050565b6129bf848484612329565b6129cb84848484612adc565b612a0a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a0190614ace565b60405180910390fd5b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b505050565b505050565b60008082905060005b8451811015612ad157612abc82868381518110612aaf57612aae6144d6565b5b6020026020010151612c73565b91508080612ac990614505565b915050612a8f565b508091505092915050565b6000612afd8473ffffffffffffffffffffffffffffffffffffffff16612c9e565b15612c66578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612b266121d3565b8786866040518563ffffffff1660e01b8152600401612b489493929190614b43565b602060405180830381600087803b158015612b6257600080fd5b505af1925050508015612b9357506040513d601f19601f82011682018060405250810190612b909190614ba4565b60015b612c16573d8060008114612bc3576040519150601f19603f3d011682016040523d82523d6000602084013e612bc8565b606091505b50600081511415612c0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c0590614ace565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612c6b565b600190505b949350505050565b6000818310612c8b57612c868284612cc1565b612c96565b612c958383612cc1565b5b905092915050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600082600052816020526040600020905092915050565b828054612ce490613b26565b90600052602060002090601f016020900481019282612d065760008555612d4d565b82601f10612d1f57805160ff1916838001178555612d4d565b82800160010185558215612d4d579182015b82811115612d4c578251825591602001919060010190612d31565b5b509050612d5a9190612d5e565b5090565b5b80821115612d77576000816000905550600101612d5f565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612dc481612d8f565b8114612dcf57600080fd5b50565b600081359050612de181612dbb565b92915050565b600060208284031215612dfd57612dfc612d85565b5b6000612e0b84828501612dd2565b91505092915050565b60008115159050919050565b612e2981612e14565b82525050565b6000602082019050612e446000830184612e20565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612e84578082015181840152602081019050612e69565b83811115612e93576000848401525b50505050565b6000601f19601f8301169050919050565b6000612eb582612e4a565b612ebf8185612e55565b9350612ecf818560208601612e66565b612ed881612e99565b840191505092915050565b60006020820190508181036000830152612efd8184612eaa565b905092915050565b6000819050919050565b612f1881612f05565b8114612f2357600080fd5b50565b600081359050612f3581612f0f565b92915050565b600060208284031215612f5157612f50612d85565b5b6000612f5f84828501612f26565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612f9382612f68565b9050919050565b612fa381612f88565b82525050565b6000602082019050612fbe6000830184612f9a565b92915050565b600060ff82169050919050565b612fda81612fc4565b8114612fe557600080fd5b50565b600081359050612ff781612fd1565b92915050565b6000806040838503121561301457613013612d85565b5b600061302285828601612f26565b925050602061303385828601612fe8565b9150509250929050565b61304681612f88565b811461305157600080fd5b50565b6000813590506130638161303d565b92915050565b600080604083850312156130805761307f612d85565b5b600061308e85828601613054565b925050602061309f85828601612f26565b9150509250929050565b6130b281612f05565b82525050565b60006020820190506130cd60008301846130a9565b92915050565b6000602082840312156130e9576130e8612d85565b5b60006130f784828501613054565b91505092915050565b60008060006060848603121561311957613118612d85565b5b600061312786828701613054565b935050602061313886828701613054565b925050604061314986828701612f26565b9150509250925092565b60006020828403121561316957613168612d85565b5b600061317784828501612fe8565b91505092915050565b6004811061318d57600080fd5b50565b60008135905061319f81613180565b92915050565b6000819050919050565b6131b8816131a5565b81146131c357600080fd5b50565b6000813590506131d5816131af565b92915050565b600080604083850312156131f2576131f1612d85565b5b600061320085828601613190565b9250506020613211858286016131c6565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61325882612e99565b810181811067ffffffffffffffff8211171561327757613276613220565b5b80604052505050565b600061328a612d7b565b9050613296828261324f565b919050565b600067ffffffffffffffff8211156132b6576132b5613220565b5b602082029050602081019050919050565b600080fd5b60006132df6132da8461329b565b613280565b90508083825260208201905060208402830185811115613302576133016132c7565b5b835b8181101561332b578061331788826131c6565b845260208401935050602081019050613304565b5050509392505050565b600082601f83011261334a5761334961321b565b5b813561335a8482602086016132cc565b91505092915050565b60008060006060848603121561337c5761337b612d85565b5b600061338a86828701613054565b935050602061339b86828701612f26565b925050604084013567ffffffffffffffff8111156133bc576133bb612d8a565b5b6133c886828701613335565b9150509250925092565b600063ffffffff82169050919050565b6133eb816133d2565b81146133f657600080fd5b50565b600081359050613408816133e2565b92915050565b60006020828403121561342457613423612d85565b5b6000613432848285016133f9565b91505092915050565b600067ffffffffffffffff82111561345657613455613220565b5b602082029050602081019050919050565b600061347a6134758461343b565b613280565b9050808382526020820190506020840283018581111561349d5761349c6132c7565b5b835b818110156134c657806134b28882613054565b84526020840193505060208101905061349f565b5050509392505050565b600082601f8301126134e5576134e461321b565b5b81356134f5848260208601613467565b91505092915050565b60006020828403121561351457613513612d85565b5b600082013567ffffffffffffffff81111561353257613531612d8a565b5b61353e848285016134d0565b91505092915050565b600080fd5b60008083601f8401126135625761356161321b565b5b8235905067ffffffffffffffff81111561357f5761357e613547565b5b60208301915083602082028301111561359b5761359a6132c7565b5b9250929050565b6000806000604084860312156135bb576135ba612d85565b5b600084013567ffffffffffffffff8111156135d9576135d8612d8a565b5b6135e58682870161354c565b935093505060206135f886828701612fe8565b9150509250925092565b61360b81612fc4565b82525050565b60006020820190506136266000830184613602565b92915050565b600080fd5b600067ffffffffffffffff82111561364c5761364b613220565b5b61365582612e99565b9050602081019050919050565b82818337600083830152505050565b600061368461367f84613631565b613280565b9050828152602081018484840111156136a05761369f61362c565b5b6136ab848285613662565b509392505050565b600082601f8301126136c8576136c761321b565b5b81356136d8848260208601613671565b91505092915050565b600080604083850312156136f8576136f7612d85565b5b600061370685828601612fe8565b925050602083013567ffffffffffffffff81111561372757613726612d8a565b5b613733858286016136b3565b9150509250929050565b61374681612e14565b811461375157600080fd5b50565b6000813590506137638161373d565b92915050565b600080604083850312156137805761377f612d85565b5b600061378e85828601613054565b925050602061379f85828601613754565b9150509250929050565b6137b2816133d2565b82525050565b60006020820190506137cd60008301846137a9565b92915050565b600067ffffffffffffffff8211156137ee576137ed613220565b5b6137f782612e99565b9050602081019050919050565b6000613817613812846137d3565b613280565b9050828152602081018484840111156138335761383261362c565b5b61383e848285613662565b509392505050565b600082601f83011261385b5761385a61321b565b5b813561386b848260208601613804565b91505092915050565b6000806000806080858703121561388e5761388d612d85565b5b600061389c87828801613054565b94505060206138ad87828801613054565b93505060406138be87828801612f26565b925050606085013567ffffffffffffffff8111156138df576138de612d8a565b5b6138eb87828801613846565b91505092959194509250565b60006020828403121561390d5761390c612d85565b5b600061391b84828501613190565b91505092915050565b60008083601f84011261393a5761393961321b565b5b8235905067ffffffffffffffff81111561395757613956613547565b5b602083019150836020820283011115613973576139726132c7565b5b9250929050565b6000806000806040858703121561399457613993612d85565b5b600085013567ffffffffffffffff8111156139b2576139b1612d8a565b5b6139be8782880161354c565b9450945050602085013567ffffffffffffffff8111156139e1576139e0612d8a565b5b6139ed87828801613924565b925092505092959194509250565b613a04816131a5565b82525050565b6000602082019050613a1f60008301846139fb565b92915050565b60008060408385031215613a3c57613a3b612d85565b5b6000613a4a85828601613054565b9250506020613a5b85828601613054565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b60048110613aa557613aa4613a65565b5b50565b6000819050613ab682613a94565b919050565b6000613ac682613aa8565b9050919050565b613ad681613abb565b82525050565b6000602082019050613af16000830184613acd565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613b3e57607f821691505b60208210811415613b5257613b51613af7565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000613bb4602183612e55565b9150613bbf82613b58565b604082019050919050565b60006020820190508181036000830152613be381613ba7565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b6000613c46603e83612e55565b9150613c5182613bea565b604082019050919050565b60006020820190508181036000830152613c7581613c39565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b6000613cd8602e83612e55565b9150613ce382613c7c565b604082019050919050565b60006020820190508181036000830152613d0781613ccb565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613d4882612f05565b9150613d5383612f05565b925082821015613d6657613d65613d0e565b5b828203905092915050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000613da7601f83612e55565b9150613db282613d71565b602082019050919050565b60006020820190508181036000830152613dd681613d9a565b9050919050565b7f6e6f2062616c616e636520746f20776974686472617700000000000000000000600082015250565b6000613e13601683612e55565b9150613e1e82613ddd565b602082019050919050565b60006020820190508181036000830152613e4281613e06565b9050919050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b6000613e7f601883612e55565b9150613e8a82613e49565b602082019050919050565b60006020820190508181036000830152613eae81613e72565b9050919050565b7f616c7265616479206d696e746564000000000000000000000000000000000000600082015250565b6000613eeb600e83612e55565b9150613ef682613eb5565b602082019050919050565b60006020820190508181036000830152613f1a81613ede565b9050919050565b7f6e6f742073746172746564000000000000000000000000000000000000000000600082015250565b6000613f57600b83612e55565b9150613f6282613f21565b602082019050919050565b60006020820190508181036000830152613f8681613f4a565b9050919050565b7f6d617820737570706c7920726561636865640000000000000000000000000000600082015250565b6000613fc3601283612e55565b9150613fce82613f8d565b602082019050919050565b60006020820190508181036000830152613ff281613fb6565b9050919050565b7f726f6f74206e6f742073657420666f7220737461676500000000000000000000600082015250565b600061402f601683612e55565b915061403a82613ff9565b602082019050919050565b6000602082019050818103600083015261405e81614022565b9050919050565b60008160601b9050919050565b600061407d82614065565b9050919050565b600061408f82614072565b9050919050565b6140a76140a282612f88565b614084565b82525050565b6000819050919050565b6140c86140c382612f05565b6140ad565b82525050565b60006140da8285614096565b6014820191506140ea82846140b7565b6020820191508190509392505050565b7f696e76616c69642070726f6f6600000000000000000000000000000000000000600082015250565b6000614130600d83612e55565b915061413b826140fa565b602082019050919050565b6000602082019050818103600083015261415f81614123565b9050919050565b7f696e76616c696420707269636520706169640000000000000000000000000000600082015250565b600061419c601283612e55565b91506141a782614166565b602082019050919050565b600060208201905081810360008301526141cb8161418f565b9050919050565b60006141dd82612f05565b91506141e883612f05565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561421d5761421c613d0e565b5b828201905092915050565b7f696e76616c6964206d617820737570706c790000000000000000000000000000600082015250565b600061425e601283612e55565b915061426982614228565b602082019050919050565b6000602082019050818103600083015261428d81614251565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b60006142f0602983612e55565b91506142fb82614294565b604082019050919050565b6000602082019050818103600083015261431f816142e3565b9050919050565b7f6d696e74207374617274206d75737420626520696e2074686520667574757265600082015250565b600061435c602083612e55565b915061436782614326565b602082019050919050565b6000602082019050818103600083015261438b8161434f565b9050919050565b7f6d696e7420616c72656164792073746172746564000000000000000000000000600082015250565b60006143c8601483612e55565b91506143d382614392565b602082019050919050565b600060208201905081810360008301526143f7816143bb565b9050919050565b7f696e76616c6964206e756d626572206f6620726563697069656e747300000000600082015250565b6000614434601c83612e55565b915061443f826143fe565b602082019050919050565b6000602082019050818103600083015261446381614427565b9050919050565b7f6e6f7420656e6f75676820726573657276656420737570706c79000000000000600082015250565b60006144a0601a83612e55565b91506144ab8261446a565b602082019050919050565b600060208201905081810360008301526144cf81614493565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600061451082612f05565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561454357614542613d0e565b5b600182019050919050565b7f63616e742072657365727665206d6f7265207468616e206d6178696d756d207360008201527f7570706c79000000000000000000000000000000000000000000000000000000602082015250565b60006145aa602583612e55565b91506145b58261454e565b604082019050919050565b600060208201905081810360008301526145d98161459d565b9050919050565b7f696e76616c696420746f6b656e20696400000000000000000000000000000000600082015250565b6000614616601083612e55565b9150614621826145e0565b602082019050919050565b6000602082019050818103600083015261464581614609565b9050919050565b6000614657826133d2565b9150614662836133d2565b92508163ffffffff048311821515161561467f5761467e613d0e565b5b828202905092915050565b7f696e76616c6964206172726179206c656e677468730000000000000000000000600082015250565b60006146c0601583612e55565b91506146cb8261468a565b602082019050919050565b600060208201905081810360008301526146ef816146b3565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614752602683612e55565b915061475d826146f6565b604082019050919050565b6000602082019050818103600083015261478181614745565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006147be602083612e55565b91506147c982614788565b602082019050919050565b600060208201905081810360008301526147ed816147b1565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000614850602583612e55565b915061485b826147f4565b604082019050919050565b6000602082019050818103600083015261487f81614843565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006148e2602483612e55565b91506148ed82614886565b604082019050919050565b60006020820190508181036000830152614911816148d5565b9050919050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b600061494e602083612e55565b915061495982614918565b602082019050919050565b6000602082019050818103600083015261497d81614941565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b60006149ba601c83612e55565b91506149c582614984565b602082019050919050565b600060208201905081810360008301526149e9816149ad565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000614a26601983612e55565b9150614a31826149f0565b602082019050919050565b60006020820190508181036000830152614a5581614a19565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000614ab8603283612e55565b9150614ac382614a5c565b604082019050919050565b60006020820190508181036000830152614ae781614aab565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000614b1582614aee565b614b1f8185614af9565b9350614b2f818560208601612e66565b614b3881612e99565b840191505092915050565b6000608082019050614b586000830187612f9a565b614b656020830186612f9a565b614b7260408301856130a9565b8181036060830152614b848184614b0a565b905095945050505050565b600081519050614b9e81612dbb565b92915050565b600060208284031215614bba57614bb9612d85565b5b6000614bc884828501614b8f565b9150509291505056fea264697066735822122009fdace6319d7fbf21ded49b43650a441dbad15ff233f0b8628069f8fc083c4764736f6c63430008090033

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

00000000000000000000000000000000000000000000000000000000000004e200000000000000000000000000000000000000000000000000000000000000fa00000000000000000000000000000000000000000000000000000000631f3b600000000000000000000000000000000000000000000000000000000000002a30000000000000000000000000000000000000000000000000016345785d8a0000

-----Decoded View---------------
Arg [0] : pMaxSupply (uint256): 1250
Arg [1] : pPendingReservedSupply (uint256): 250
Arg [2] : pMintStart (uint256): 1662991200
Arg [3] : pStageDuration (uint32): 10800
Arg [4] : pPublicPrice (uint256): 100000000000000000

-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000004e2
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000fa
Arg [2] : 00000000000000000000000000000000000000000000000000000000631f3b60
Arg [3] : 0000000000000000000000000000000000000000000000000000000000002a30
Arg [4] : 000000000000000000000000000000000000000000000000016345785d8a0000


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.