ETH Price: $3,130.31 (-0.20%)
Gas: 9.59 Gwei

Contract

0x9Bf252f97891b907F002F2887EfF9246e3054080
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

More Info

Private Name Tags

TokenTracker

Multichain Info

1 address found via
Transaction Hash
Method
Block
From
To
Set Approval For...212004182024-11-16 13:00:2342 hrs ago1731762023IN
Ape kids Club: AKC Token
0 ETH0.0004916710.65704619
Set Approval For...211562362024-11-10 9:01:357 days ago1731229295IN
Ape kids Club: AKC Token
0 ETH0.0003303613.63782173
Transfer From211002232024-11-02 13:21:5915 days ago1730553719IN
Ape kids Club: AKC Token
0 ETH0.000447314.75880096
Set Approval For...210766722024-10-30 6:28:4719 days ago1730269727IN
Ape kids Club: AKC Token
0 ETH0.0005458511.83141962
Set Approval For...210764982024-10-30 5:53:4719 days ago1730267627IN
Ape kids Club: AKC Token
0 ETH0.000263710.84848638
Set Approval For...210722752024-10-29 15:45:5919 days ago1730216759IN
Ape kids Club: AKC Token
0 ETH0.0006100913.22383238
Transfer From210703442024-10-29 9:17:5919 days ago1730193479IN
Ape kids Club: AKC Token
0 ETH0.000860539.94806577
Transfer From210703382024-10-29 9:16:4719 days ago1730193407IN
Ape kids Club: AKC Token
0 ETH0.0007337210.27581157
Transfer From210703232024-10-29 9:13:4719 days ago1730193227IN
Ape kids Club: AKC Token
0 ETH0.000813279.40164467
Set Approval For...210208482024-10-22 11:34:1126 days ago1729596851IN
Ape kids Club: AKC Token
0 ETH0.000363597.86661918
Set Approval For...210062492024-10-20 10:39:3528 days ago1729420775IN
Ape kids Club: AKC Token
0 ETH0.000413018.93583608
Set Approval For...209822672024-10-17 2:21:4732 days ago1729131707IN
Ape kids Club: AKC Token
0 ETH0.000442119.58281143
Set Approval For...209532902024-10-13 1:06:5936 days ago1728781619IN
Ape kids Club: AKC Token
0 ETH0.000357527.74940548
Set Approval For...209512502024-10-12 18:16:1136 days ago1728756971IN
Ape kids Club: AKC Token
0 ETH0.0009741321.11439236
Set Approval For...209496442024-10-12 12:53:2336 days ago1728737603IN
Ape kids Club: AKC Token
0 ETH0.0003224913.3
Set Approval For...209496432024-10-12 12:53:1136 days ago1728737591IN
Ape kids Club: AKC Token
0 ETH0.0003155613.02687597
Set Approval For...209496422024-10-12 12:52:5936 days ago1728737579IN
Ape kids Club: AKC Token
0 ETH0.0003178913.07777445
Set Approval For...209008982024-10-05 17:42:1143 days ago1728150131IN
Ape kids Club: AKC Token
0 ETH0.0004645719.1120869
Set Approval For...208527302024-09-29 0:31:4750 days ago1727569907IN
Ape kids Club: AKC Token
0 ETH0.000165876.8475336
Set Approval For...207765102024-09-18 9:13:3560 days ago1726650815IN
Ape kids Club: AKC Token
0 ETH0.000291546.31935641
Set Approval For...207382602024-09-13 0:59:1166 days ago1726189151IN
Ape kids Club: AKC Token
0 ETH0.000053472.2
Set Approval For...206990192024-09-07 13:27:4771 days ago1725715667IN
Ape kids Club: AKC Token
0 ETH0.000049082.01949652
Set Approval For...206500932024-08-31 17:38:1178 days ago1725125891IN
Ape kids Club: AKC Token
0 ETH0.000104742.266304
Set Approval For...206500922024-08-31 17:37:5978 days ago1725125879IN
Ape kids Club: AKC Token
0 ETH0.00010432.26081171
Set Approval For...206485542024-08-31 12:28:3578 days ago1725107315IN
Ape kids Club: AKC Token
0 ETH0.000021160.87360072
View all transactions

Latest 18 internal transactions

Advanced mode:
Parent Transaction Hash Block From To
137244332021-12-02 1:16:181082 days ago1638407778
Ape kids Club: AKC Token
124.22565 ETH
137244332021-12-02 1:16:181082 days ago1638407778
Ape kids Club: AKC Token
124.22565 ETH
137244332021-12-02 1:16:181082 days ago1638407778
Ape kids Club: AKC Token
16.78725 ETH
137244332021-12-02 1:16:181082 days ago1638407778
Ape kids Club: AKC Token
16.78725 ETH
137244332021-12-02 1:16:181082 days ago1638407778
Ape kids Club: AKC Token
50.36175 ETH
137244332021-12-02 1:16:181082 days ago1638407778
Ape kids Club: AKC Token
3.35745 ETH
137194632021-12-01 6:12:291083 days ago1638339149
Ape kids Club: AKC Token
24.3497 ETH
137194632021-12-01 6:12:291083 days ago1638339149
Ape kids Club: AKC Token
24.3497 ETH
137194632021-12-01 6:12:291083 days ago1638339149
Ape kids Club: AKC Token
3.2905 ETH
137194632021-12-01 6:12:291083 days ago1638339149
Ape kids Club: AKC Token
3.2905 ETH
137194632021-12-01 6:12:291083 days ago1638339149
Ape kids Club: AKC Token
9.8715 ETH
137194632021-12-01 6:12:291083 days ago1638339149
Ape kids Club: AKC Token
0.6581 ETH
137184702021-12-01 2:26:491083 days ago1638325609
Ape kids Club: AKC Token
18.8552 ETH
137184702021-12-01 2:26:491083 days ago1638325609
Ape kids Club: AKC Token
18.8552 ETH
137184702021-12-01 2:26:491083 days ago1638325609
Ape kids Club: AKC Token
2.548 ETH
137184702021-12-01 2:26:491083 days ago1638325609
Ape kids Club: AKC Token
2.548 ETH
137184702021-12-01 2:26:491083 days ago1638325609
Ape kids Club: AKC Token
7.644 ETH
137184702021-12-01 2:26:491083 days ago1638325609
Ape kids Club: AKC Token
0.5096 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
ApeKidsClub

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2021-11-30
*/

// SPDX-License-Identifier: MIT

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);
}






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

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

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

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

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

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

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

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

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

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

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

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




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

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

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

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

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




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

















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







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





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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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









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


/**
 * @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: balance query for the zero address");
        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: owner query for nonexistent token");
        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) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

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

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

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public 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 owner nor approved for all"
        );

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        require(_exists(tokenId), "ERC721: approved query for nonexistent token");

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        require(operator != _msgSender(), "ERC721: approve to caller");

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

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

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not 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: transfer caller is not 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) {
        require(_exists(tokenId), "ERC721: operator query for nonexistent token");
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, 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);
    }

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

    /**
     * @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 of token that is not own");
        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);
    }

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

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







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

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

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


/**
 * @dev This implements an optional extension of {ERC721} defined in the EIP that adds
 * enumerability of all the token ids in the contract as well as all token ids owned by each
 * account.
 */
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
    // Mapping from owner to list of owned token IDs
    mapping(address => mapping(uint256 => uint256)) private _ownedTokens;

    // Mapping from token ID to index of the owner tokens list
    mapping(uint256 => uint256) private _ownedTokensIndex;

    // Array with all token ids, used for enumeration
    uint256[] private _allTokens;

    // Mapping from token id to position in the allTokens array
    mapping(uint256 => uint256) private _allTokensIndex;

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

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds");
        return _ownedTokens[owner][index];
    }

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _allTokens.length;
    }

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds");
        return _allTokens[index];
    }

    /**
     * @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` cannot be the zero address.
     * - `to` cannot be the zero address.
     *
     * 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 override {
        super._beforeTokenTransfer(from, to, tokenId);

        if (from == address(0)) {
            _addTokenToAllTokensEnumeration(tokenId);
        } else if (from != to) {
            _removeTokenFromOwnerEnumeration(from, tokenId);
        }
        if (to == address(0)) {
            _removeTokenFromAllTokensEnumeration(tokenId);
        } else if (to != from) {
            _addTokenToOwnerEnumeration(to, tokenId);
        }
    }

    /**
     * @dev Private function to add a token to this extension's ownership-tracking data structures.
     * @param to address representing the new owner of the given token ID
     * @param tokenId uint256 ID of the token to be added to the tokens list of the given address
     */
    function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {
        uint256 length = ERC721.balanceOf(to);
        _ownedTokens[to][length] = tokenId;
        _ownedTokensIndex[tokenId] = length;
    }

    /**
     * @dev Private function to add a token to this extension's token tracking data structures.
     * @param tokenId uint256 ID of the token to be added to the tokens list
     */
    function _addTokenToAllTokensEnumeration(uint256 tokenId) private {
        _allTokensIndex[tokenId] = _allTokens.length;
        _allTokens.push(tokenId);
    }

    /**
     * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that
     * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for
     * gas optimizations e.g. when performing a transfer operation (avoiding double writes).
     * This has O(1) time complexity, but alters the order of the _ownedTokens array.
     * @param from address representing the previous owner of the given token ID
     * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address
     */
    function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private {
        // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = ERC721.balanceOf(from) - 1;
        uint256 tokenIndex = _ownedTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary
        if (tokenIndex != lastTokenIndex) {
            uint256 lastTokenId = _ownedTokens[from][lastTokenIndex];

            _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
            _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
        }

        // This also deletes the contents at the last position of the array
        delete _ownedTokensIndex[tokenId];
        delete _ownedTokens[from][lastTokenIndex];
    }

    /**
     * @dev Private function to remove a token from this extension's token tracking data structures.
     * This has O(1) time complexity, but alters the order of the _allTokens array.
     * @param tokenId uint256 ID of the token to be removed from the tokens list
     */
    function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private {
        // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = _allTokens.length - 1;
        uint256 tokenIndex = _allTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so
        // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding
        // an 'if' statement (like in _removeTokenFromOwnerEnumeration)
        uint256 lastTokenId = _allTokens[lastTokenIndex];

        _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
        _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index

        // This also deletes the contents at the last position of the array
        delete _allTokensIndex[tokenId];
        _allTokens.pop();
    }
}







/**
 * @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() {
        _setOwner(_msgSender());
    }

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

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

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _setOwner(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");
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}





// 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 no longer needed starting with Solidity 0.8. 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 substraction 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;
        }
    }
}


contract ApeKidsClub is ERC721Enumerable, Ownable {
  using Strings for uint256;
  using SafeMath for uint256;

  //NFT params
  string public baseURI;
  string public defaultURI;
  string public mycontractURI;
  bool public finalizeBaseUri = false;

  //sale stages:
  //stage 0: init(no minting)
  //stage 1: free-mint
  //stage 2: pre-sale
  //stage 3: pre-sale clearance
  //stage 4: public sale
  uint8 public stage = 0;

  //free-mint (stage=1)
  mapping(address => uint8) public free_whitelisted;

  //pre-sale (stage=2)
  mapping(address => bool) public presale_whitelisted;

  uint256 public presalePrice = 0.04 ether;
  uint256 public presaleSupply;  //2500
  uint256 public presaleMintMax = 1;
  mapping(address => uint8) public presaleMintCount;

  //pre-sale-clearance (stage=3)
  uint256 public clearanceMintMax = 2; //one more than presaleMintMax

  //public sale (stage=4)
  uint256 public salePrice = 0.05 ether;
  uint256 public saleMintMax = 3;
  uint256 public totalSaleSupply;  //9999
  mapping(address => uint8) public saleMintCount;

  //others
  bool public paused = false;

  //sale holders
  address[6] public fundRecipients = [
    0x5012811582438641C9dfAbFa5dD11763A2918743,
    0x20c606439a3ee9988453C192f825893FF5CB40A1,
    0x64b2F353eBd93D9630F116F9d8d3cF6393Ed9937,
    0x4C963D2F3c57a2FaC9713A1b1bCC16e3667EDd5d,
    0x4bf12f7f7E8DC6a2ba19C648eF02fFEEcE383594,
    0x493a401122d858324517C5eC95145dc970c2C363
  ];
  uint256[] public receivePercentagePt = [100, 1500, 500, 500, 3700];   //distribution in basis points

  //royalty
  address public royaltyAddr;
  uint256 public royaltyBasis;

  constructor(
    string memory _name,
    string memory _symbol,
    string memory _initBaseURI,
    string memory _defaultURI,
    uint256 _presaleSupply,
    uint256 _totalSaleSupply
  ) ERC721(_name, _symbol) {
    setBaseURI(_initBaseURI);
    defaultURI = _defaultURI;
    presaleSupply = _presaleSupply;
    totalSaleSupply = _totalSaleSupply;
  }

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

  function supportsInterface(bytes4 interfaceId) public view override(ERC721Enumerable) returns (bool) {
      return interfaceId == type(IERC721Enumerable).interfaceId || 
      interfaceId == 0xe8a3d485 /* contractURI() */ ||
      interfaceId == 0x2a55205a /* ERC-2981 royaltyInfo() */ ||
      super.supportsInterface(interfaceId);
  }

  // public
  function mint(uint8 _mintAmount) public payable {
    uint256 supply = totalSupply();
    require(!paused);
    require(stage > 0);
    require(_mintAmount > 0);

    if (stage == 1) {
      //free-mint
      require(free_whitelisted[msg.sender] - _mintAmount >= 0);
      free_whitelisted[msg.sender] -= _mintAmount;
    } else if (stage == 2) {
      //pre-sale
      require(presale_whitelisted[msg.sender]);
      require(supply + _mintAmount <= presaleSupply);
      require(_mintAmount + presaleMintCount[msg.sender] <= presaleMintMax);      
      require(msg.value >= presalePrice * _mintAmount);
      presaleMintCount[msg.sender] += _mintAmount;

    }  else if (stage == 3) {
      //pre-sale clearance
      require(presale_whitelisted[msg.sender]);
      require(supply + _mintAmount <= presaleSupply);
      require(_mintAmount + presaleMintCount[msg.sender] <= clearanceMintMax);      
      require(msg.value >= presalePrice * _mintAmount);
      presaleMintCount[msg.sender] += _mintAmount;

    }  else if (stage == 4) {
      //public sale
      require(supply + _mintAmount <= totalSaleSupply);
      require(_mintAmount + saleMintCount[msg.sender] <= saleMintMax);
      require(msg.value >= salePrice * _mintAmount);
      saleMintCount[msg.sender] += _mintAmount;
    } else {
      assert(false);
    }

    for (uint256 i = 1; i <= _mintAmount; i++) {
      _safeMint(msg.sender, supply + i);
    }
  }

  function walletOfOwner(address _owner)
    public
    view
    returns (uint256[] memory)
  {
    uint256 ownerTokenCount = balanceOf(_owner);
    uint256[] memory tokenIds = new uint256[](ownerTokenCount);
    for (uint256 i; i < ownerTokenCount; i++) {
      tokenIds[i] = tokenOfOwnerByIndex(_owner, i);
    }
    return tokenIds;
  }

  function tokenURI(uint256 tokenId)
    public
    view
    virtual
    override
    returns (string memory)
  {
    require(
      _exists(tokenId),
      "ERC721Metadata: URI query for nonexistent token"
    );

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

  function contractURI() public view returns (string memory) {
        return string(abi.encodePacked(mycontractURI));
  }

  //ERC-2981
  function royaltyInfo(uint256 _tokenId, uint256 _salePrice) external view 
  returns (address receiver, uint256 royaltyAmount){
    return (royaltyAddr, _salePrice.mul(royaltyBasis).div(10000));
  }

  //only owner functions ---

  function nextStage() public onlyOwner() {
    require(stage < 4);
    stage++;
  }

  function setBaseURI(string memory _newBaseURI) public onlyOwner {
    require(!finalizeBaseUri);
    baseURI = _newBaseURI;
  }

  function finalizeBaseURI() public onlyOwner {
    finalizeBaseUri = true;
  }

  function setContractURI(string memory _contractURI) public onlyOwner {
    mycontractURI = _contractURI;
    //return format based on https://docs.opensea.io/docs/contract-level-metadata
  }

  function setRoyalty(address _royaltyAddr, uint256 _royaltyBasis) public onlyOwner {
    royaltyAddr = _royaltyAddr;
    royaltyBasis = _royaltyBasis;
  }

  function pause(bool _state) public onlyOwner {
    paused = _state;
  }
 
  function whitelistFreeUsers(address[] memory _users, uint8[] memory _num_mints) public onlyOwner {
     for(uint i=0;i<_users.length;i++)
       free_whitelisted[_users[i]] = _num_mints[i];
  }

  function whitelistPresaleUsers(address[] memory _users) public onlyOwner {
     for(uint i=0;i<_users.length;i++)
       presale_whitelisted[_users[i]] = true;
  }

  function removeFreeWhitelistUser(address _user) public onlyOwner {
      free_whitelisted[_user] = 0;
  }

  function removePresaleWhitelistUser(address _user) public onlyOwner {
      presale_whitelisted[_user] = false;
  }

  function reserveMint(uint256 _mintAmount, address _to) public onlyOwner {
    uint256 supply = totalSupply();
    for (uint256 i = 1; i <= _mintAmount; i++) {
      _safeMint(_to, supply + i);
    }
  }

  //fund withdraw functions ---
  function withdrawFund() public onlyOwner {
    uint256 currentBal = address(this).balance;
    require(currentBal > 0);
    for (uint256 i = 0; i < fundRecipients.length-1; i++) {
      _withdraw(fundRecipients[i], currentBal.mul(receivePercentagePt[i]).div(10000));
    }
    //final address receives remainder to prevent ether dust
    _withdraw(fundRecipients[fundRecipients.length-1], address(this).balance);
  }

  function _withdraw(address _addr, uint256 _amt) private {
    (bool success,) = _addr.call{value: _amt}("");
    require(success, "Transfer failed");
  }

}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"string","name":"_initBaseURI","type":"string"},{"internalType":"string","name":"_defaultURI","type":"string"},{"internalType":"uint256","name":"_presaleSupply","type":"uint256"},{"internalType":"uint256","name":"_totalSaleSupply","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"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":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"clearanceMintMax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"defaultURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"finalizeBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"finalizeBaseUri","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"free_whitelisted","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"fundRecipients","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"_mintAmount","type":"uint8"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mycontractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextStage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"presaleMintCount","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleMintMax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presalePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"presale_whitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"receivePercentagePt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"removeFreeWhitelistUser","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"removePresaleWhitelistUser","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"address","name":"_to","type":"address"}],"name":"reserveMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"royaltyAddr","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"royaltyBasis","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"saleMintCount","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"saleMintMax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"salePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_contractURI","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_royaltyAddr","type":"address"},{"internalType":"uint256","name":"_royaltyBasis","type":"uint256"}],"name":"setRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stage","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"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":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSaleSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_users","type":"address[]"},{"internalType":"uint8[]","name":"_num_mints","type":"uint8[]"}],"name":"whitelistFreeUsers","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_users","type":"address[]"}],"name":"whitelistPresaleUsers","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawFund","outputs":[],"stateMutability":"nonpayable","type":"function"}]

600e805461ffff19169055668e1bc9bf0400006011556001601355600260155566b1a2bc2ec500006016556003601755601a805460ff19169055610140604052735012811582438641c9dfabfa5dd11763a291874360809081527320c606439a3ee9988453c192f825893ff5cb40a160a0527364b2f353ebd93d9630f116f9d8d3cf6393ed993760c052734c963d2f3c57a2fac9713a1b1bcc16e3667edd5d60e052734bf12f7f7e8dc6a2ba19c648ef02ffeece3835946101005273493a401122d858324517c5ec95145dc970c2c36361012052620000e390601b906006620002b4565b506040805160a081018252606481526105dc60208201526101f49181018290526060810191909152610e7460808201526200012390602190600562000311565b503480156200013157600080fd5b50604051620036ee380380620036ee8339810160408190526200015491620004a0565b8551869086906200016d90600090602085019062000355565b5080516200018390600190602084019062000355565b505050620001a06200019a620001d560201b60201c565b620001d9565b620001ab846200022b565b8251620001c090600c90602086019062000355565b5060129190915560185550620005be92505050565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600a546001600160a01b031633146200028a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b600e5460ff16156200029b57600080fd5b8051620002b090600b90602084019062000355565b5050565b8260068101928215620002ff579160200282015b82811115620002ff57825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190620002c8565b506200030d929150620003d2565b5090565b828054828255906000526020600020908101928215620002ff579160200282015b82811115620002ff578251829061ffff1690559160200191906001019062000332565b82805462000363906200056b565b90600052602060002090601f016020900481019282620003875760008555620002ff565b82601f10620003a257805160ff1916838001178555620002ff565b82800160010185558215620002ff579182015b82811115620002ff578251825591602001919060010190620003b5565b5b808211156200030d5760008155600101620003d3565b600082601f830112620003fb57600080fd5b81516001600160401b0380821115620004185762000418620005a8565b604051601f8301601f19908116603f01168101908282118183101715620004435762000443620005a8565b816040528381526020925086838588010111156200046057600080fd5b600091505b8382101562000484578582018301518183018401529082019062000465565b83821115620004965760008385830101525b9695505050505050565b60008060008060008060c08789031215620004ba57600080fd5b86516001600160401b0380821115620004d257600080fd5b620004e08a838b01620003e9565b97506020890151915080821115620004f757600080fd5b620005058a838b01620003e9565b965060408901519150808211156200051c57600080fd5b6200052a8a838b01620003e9565b955060608901519150808211156200054157600080fd5b506200055089828a01620003e9565b9350506080870151915060a087015190509295509295509295565b600181811c908216806200058057607f821691505b60208210811415620005a257634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b61312080620005ce6000396000f3fe60806040526004361061036a5760003560e01c80636ecd2306116101c6578063c040e6b8116100f7578063e8a3d48511610095578063f053d3701161006f578063f053d37014610a15578063f2fde38b14610a2f578063f51f96dd14610a4f578063f75f030214610a6557600080fd5b8063e8a3d485146109a2578063e985e9c5146109b7578063ee3743ab14610a0057600080fd5b8063c87b56dd116100d1578063c87b56dd14610937578063e07fa3c114610957578063e6cbb6b11461096c578063e7e989c01461098257600080fd5b8063c040e6b8146108d2578063c0f6baa4146108f1578063c6ec69091461092157600080fd5b806395d89b4111610164578063af7a8ffc1161013e578063af7a8ffc1461085c578063b3a196e91461087c578063b7aa670a14610892578063b88d4fde146108b257600080fd5b806395d89b4114610807578063a22cb4651461081c578063a2aa4e451461083c57600080fd5b806378231978116101a057806378231978146107835780637911242c146107995780638da5cb5b146107c9578063938e3d7b146107e757600080fd5b80636ecd23061461073b57806370a082311461074e578063715018a61461076e57600080fd5b80633009c083116102a057806359fd1b661161023e5780636352211e116102185780636352211e146106db578063639d7e11146106fb57806366d6ae1a146107105780636c0360eb1461072657600080fd5b806359fd1b66146106815780635c975abb146106a157806360b02f70146106bb57600080fd5b806342842e0e1161027a57806342842e0e146105f4578063438b6300146106145780634f6ccce71461064157806355f804b31461066157600080fd5b80633009c083146105aa57806337c3fdbc146105ca5780633a367a67146105df57600080fd5b80630dd575351161030d57806323b872dd116102e757806323b872dd1461050b5780632a55205a1461052b5780632e124ec31461056a5780632f745c591461058a57600080fd5b80630dd57535146104a657806310fd332b146104d657806318160ddd146104f657600080fd5b806306fdde031161034957806306fdde03146103ea578063081812fc1461040c578063094e407214610444578063095ea7b31461048657600080fd5b80620e7fa81461036f57806301ffc9a71461039857806302329a29146103c8575b600080fd5b34801561037b57600080fd5b5061038560115481565b6040519081526020015b60405180910390f35b3480156103a457600080fd5b506103b86103b3366004612b3c565b610a7b565b604051901515815260200161038f565b3480156103d457600080fd5b506103e86103e3366004612b21565b610adc565b005b3480156103f657600080fd5b506103ff610b22565b60405161038f9190612db0565b34801561041857600080fd5b5061042c610427366004612bbf565b610bb4565b6040516001600160a01b03909116815260200161038f565b34801561045057600080fd5b5061047461045f3660046128c9565b60146020526000908152604090205460ff1681565b60405160ff909116815260200161038f565b34801561049257600080fd5b506103e86104a13660046129f9565b610c49565b3480156104b257600080fd5b506104746104c13660046128c9565b600f6020526000908152604090205460ff1681565b3480156104e257600080fd5b506103e86104f13660046129f9565b610d5f565b34801561050257600080fd5b50600854610385565b34801561051757600080fd5b506103e8610526366004612917565b610daf565b34801561053757600080fd5b5061054b610546366004612bfb565b610de0565b604080516001600160a01b03909316835260208301919091520161038f565b34801561057657600080fd5b506103e86105853660046128c9565b610e1b565b34801561059657600080fd5b506103856105a53660046129f9565b610e66565b3480156105b657600080fd5b5060225461042c906001600160a01b031681565b3480156105d657600080fd5b506103e8610efc565b3480156105eb57600080fd5b506103ff610f35565b34801561060057600080fd5b506103e861060f366004612917565b610fc3565b34801561062057600080fd5b5061063461062f3660046128c9565b610fde565b60405161038f9190612d6c565b34801561064d57600080fd5b5061038561065c366004612bbf565b611080565b34801561066d57600080fd5b506103e861067c366004612b76565b611113565b34801561068d57600080fd5b506103e861069c366004612a23565b611164565b3480156106ad57600080fd5b50601a546103b89060ff1681565b3480156106c757600080fd5b506103e86106d6366004612bd8565b6111f6565b3480156106e757600080fd5b5061042c6106f6366004612bbf565b611262565b34801561070757600080fd5b506103ff6112d9565b34801561071c57600080fd5b5061038560175481565b34801561073257600080fd5b506103ff6112e6565b6103e8610749366004612c1d565b6112f3565b34801561075a57600080fd5b506103856107693660046128c9565b6115a5565b34801561077a57600080fd5b506103e861162c565b34801561078f57600080fd5b5061038560185481565b3480156107a557600080fd5b506103b86107b43660046128c9565b60106020526000908152604090205460ff1681565b3480156107d557600080fd5b50600a546001600160a01b031661042c565b3480156107f357600080fd5b506103e8610802366004612b76565b611662565b34801561081357600080fd5b506103ff61169f565b34801561082857600080fd5b506103e86108373660046129cf565b6116ae565b34801561084857600080fd5b506103e86108573660046128c9565b611773565b34801561086857600080fd5b506103e8610877366004612a58565b6117be565b34801561088857600080fd5b5061038560125481565b34801561089e57600080fd5b5061042c6108ad366004612bbf565b611877565b3480156108be57600080fd5b506103e86108cd366004612953565b611897565b3480156108de57600080fd5b50600e5461047490610100900460ff1681565b3480156108fd57600080fd5b5061047461090c3660046128c9565b60196020526000908152604090205460ff1681565b34801561092d57600080fd5b5061038560235481565b34801561094357600080fd5b506103ff610952366004612bbf565b6118c9565b34801561096357600080fd5b506103e8611a1f565b34801561097857600080fd5b5061038560135481565b34801561098e57600080fd5b5061038561099d366004612bbf565b611b18565b3480156109ae57600080fd5b506103ff611b39565b3480156109c357600080fd5b506103b86109d23660046128e4565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b348015610a0c57600080fd5b506103e8611b61565b348015610a2157600080fd5b50600e546103b89060ff1681565b348015610a3b57600080fd5b506103e8610a4a3660046128c9565b611bd6565b348015610a5b57600080fd5b5061038560165481565b348015610a7157600080fd5b5061038560155481565b60006001600160e01b0319821663780e9d6360e01b1480610aac575063e8a3d48560e01b6001600160e01b03198316145b80610ac7575063152a902d60e11b6001600160e01b03198316145b80610ad65750610ad682611c6e565b92915050565b600a546001600160a01b03163314610b0f5760405162461bcd60e51b8152600401610b0690612e15565b60405180910390fd5b601a805460ff1916911515919091179055565b606060008054610b3190612fc6565b80601f0160208091040260200160405190810160405280929190818152602001828054610b5d90612fc6565b8015610baa5780601f10610b7f57610100808354040283529160200191610baa565b820191906000526020600020905b815481529060010190602001808311610b8d57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b0316610c2d5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610b06565b506000908152600460205260409020546001600160a01b031690565b6000610c5482611262565b9050806001600160a01b0316836001600160a01b03161415610cc25760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610b06565b336001600160a01b0382161480610cde5750610cde81336109d2565b610d505760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610b06565b610d5a8383611c93565b505050565b600a546001600160a01b03163314610d895760405162461bcd60e51b8152600401610b0690612e15565b602280546001600160a01b0319166001600160a01b039390931692909217909155602355565b610db93382611d01565b610dd55760405162461bcd60e51b8152600401610b0690612e4a565b610d5a838383611df8565b60225460235460009182916001600160a01b0390911690610e109061271090610e0a908790611fa3565b90611faf565b915091509250929050565b600a546001600160a01b03163314610e455760405162461bcd60e51b8152600401610b0690612e15565b6001600160a01b03166000908152600f60205260409020805460ff19169055565b6000610e71836115a5565b8210610ed35760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610b06565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600a546001600160a01b03163314610f265760405162461bcd60e51b8152600401610b0690612e15565b600e805460ff19166001179055565b600c8054610f4290612fc6565b80601f0160208091040260200160405190810160405280929190818152602001828054610f6e90612fc6565b8015610fbb5780601f10610f9057610100808354040283529160200191610fbb565b820191906000526020600020905b815481529060010190602001808311610f9e57829003601f168201915b505050505081565b610d5a83838360405180602001604052806000815250611897565b60606000610feb836115a5565b905060008167ffffffffffffffff811115611008576110086130be565b604051908082528060200260200182016040528015611031578160200160208202803683370190505b50905060005b82811015611078576110498582610e66565b82828151811061105b5761105b6130a8565b60209081029190910101528061107081613001565b915050611037565b509392505050565b600061108b60085490565b82106110ee5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610b06565b60088281548110611101576111016130a8565b90600052602060002001549050919050565b600a546001600160a01b0316331461113d5760405162461bcd60e51b8152600401610b0690612e15565b600e5460ff161561114d57600080fd5b805161116090600b906020840190612722565b5050565b600a546001600160a01b0316331461118e5760405162461bcd60e51b8152600401610b0690612e15565b60005b8151811015611160576001601060008484815181106111b2576111b26130a8565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff1916911515919091179055806111ee81613001565b915050611191565b600a546001600160a01b031633146112205760405162461bcd60e51b8152600401610b0690612e15565b600061122b60085490565b905060015b83811161125c5761124a836112458385612ef0565b611fbb565b8061125481613001565b915050611230565b50505050565b6000818152600260205260408120546001600160a01b031680610ad65760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610b06565b600d8054610f4290612fc6565b600b8054610f4290612fc6565b60006112fe60085490565b601a5490915060ff161561131157600080fd5b600e54610100900460ff1661132557600080fd5b60008260ff161161133557600080fd5b600e5460ff61010090910416600114156113b457336000908152600f602052604081205461136790849060ff16612f77565b60ff16101561137557600080fd5b336000908152600f60205260408120805484929061139790849060ff16612f77565b92506101000a81548160ff021916908360ff160217905550611578565b600e54610100900460ff166002141561146b573360009081526010602052604090205460ff166113e357600080fd5b6012546113f360ff841683612ef0565b11156113fe57600080fd5b6013543360009081526014602052604090205461141e9060ff1684612f08565b60ff16111561142c57600080fd5b8160ff1660115461143d9190612f41565b34101561144957600080fd5b336000908152601460205260408120805484929061139790849060ff16612f08565b600e54610100900460ff16600314156114d5573360009081526010602052604090205460ff1661149a57600080fd5b6012546114aa60ff841683612ef0565b11156114b557600080fd5b6015543360009081526014602052604090205461141e9060ff1684612f08565b600e54610100900460ff1660041415611570576018546114f860ff841683612ef0565b111561150357600080fd5b601754336000908152601960205260409020546115239060ff1684612f08565b60ff16111561153157600080fd5b8160ff166016546115429190612f41565b34101561154e57600080fd5b336000908152601960205260408120805484929061139790849060ff16612f08565b611578613050565b60015b8260ff168111610d5a57611593336112458385612ef0565b8061159d81613001565b91505061157b565b60006001600160a01b0382166116105760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610b06565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b031633146116565760405162461bcd60e51b8152600401610b0690612e15565b6116606000611fd5565b565b600a546001600160a01b0316331461168c5760405162461bcd60e51b8152600401610b0690612e15565b805161116090600d906020840190612722565b606060018054610b3190612fc6565b6001600160a01b0382163314156117075760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610b06565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600a546001600160a01b0316331461179d5760405162461bcd60e51b8152600401610b0690612e15565b6001600160a01b03166000908152601060205260409020805460ff19169055565b600a546001600160a01b031633146117e85760405162461bcd60e51b8152600401610b0690612e15565b60005b8251811015610d5a57818181518110611806576118066130a8565b6020026020010151600f6000858481518110611824576118246130a8565b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a81548160ff021916908360ff160217905550808061186f90613001565b9150506117eb565b601b816006811061188757600080fd5b01546001600160a01b0316905081565b6118a13383611d01565b6118bd5760405162461bcd60e51b8152600401610b0690612e4a565b61125c84848484612027565b6000818152600260205260409020546060906001600160a01b03166119485760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610b06565b600061195261205a565b905060008151116119ed57600c805461196a90612fc6565b80601f016020809104026020016040519081016040528092919081815260200182805461199690612fc6565b80156119e35780601f106119b8576101008083540402835291602001916119e3565b820191906000526020600020905b8154815290600101906020018083116119c657829003601f168201915b5050505050611a18565b806119f784612069565b604051602001611a08929190612c64565b6040516020818303038152906040525b9392505050565b600a546001600160a01b03163314611a495760405162461bcd60e51b8152600401610b0690612e15565b4780611a5457600080fd5b60005b611a6360016006612f60565b811015611ae257611ad0601b8260068110611a8057611a806130a8565b0160009054906101000a90046001600160a01b0316611acb612710610e0a60218681548110611ab157611ab16130a8565b906000526020600020015487611fa390919063ffffffff16565b612167565b80611ada81613001565b915050611a57565b50611b15601b611af460016006612f60565b60068110611b0457611b046130a8565b01546001600160a01b031647612167565b50565b60218181548110611b2857600080fd5b600091825260209091200154905081565b6060600d604051602001611b4d9190612c93565b604051602081830303815290604052905090565b600a546001600160a01b03163314611b8b5760405162461bcd60e51b8152600401610b0690612e15565b600e54600461010090910460ff1610611ba357600080fd5b600e8054610100900460ff16906001611bbb8361301c565b91906101000a81548160ff021916908360ff16021790555050565b600a546001600160a01b03163314611c005760405162461bcd60e51b8152600401610b0690612e15565b6001600160a01b038116611c655760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b06565b611b1581611fd5565b60006001600160e01b0319821663780e9d6360e01b1480610ad65750610ad6826121fc565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611cc882611262565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b0316611d7a5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610b06565b6000611d8583611262565b9050806001600160a01b0316846001600160a01b03161480611dc05750836001600160a01b0316611db584610bb4565b6001600160a01b0316145b80611df057506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316611e0b82611262565b6001600160a01b031614611e735760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610b06565b6001600160a01b038216611ed55760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610b06565b611ee083838361224c565b611eeb600082611c93565b6001600160a01b0383166000908152600360205260408120805460019290611f14908490612f60565b90915550506001600160a01b0382166000908152600360205260408120805460019290611f42908490612ef0565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000611a188284612f41565b6000611a188284612f2d565b611160828260405180602001604052806000815250612304565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b612032848484611df8565b61203e84848484612337565b61125c5760405162461bcd60e51b8152600401610b0690612dc3565b6060600b8054610b3190612fc6565b60608161208d5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156120b757806120a181613001565b91506120b09050600a83612f2d565b9150612091565b60008167ffffffffffffffff8111156120d2576120d26130be565b6040519080825280601f01601f1916602001820160405280156120fc576020820181803683370190505b5090505b8415611df057612111600183612f60565b915061211e600a8661303c565b612129906030612ef0565b60f81b81838151811061213e5761213e6130a8565b60200101906001600160f81b031916908160001a905350612160600a86612f2d565b9450612100565b6000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146121b4576040519150601f19603f3d011682016040523d82523d6000602084013e6121b9565b606091505b5050905080610d5a5760405162461bcd60e51b815260206004820152600f60248201526e151c985b9cd9995c8819985a5b1959608a1b6044820152606401610b06565b60006001600160e01b031982166380ac58cd60e01b148061222d57506001600160e01b03198216635b5e139f60e01b145b80610ad657506301ffc9a760e01b6001600160e01b0319831614610ad6565b6001600160a01b0383166122a7576122a281600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b6122ca565b816001600160a01b0316836001600160a01b0316146122ca576122ca8382612444565b6001600160a01b0382166122e157610d5a816124e1565b826001600160a01b0316826001600160a01b031614610d5a57610d5a8282612590565b61230e83836125d4565b61231b6000848484612337565b610d5a5760405162461bcd60e51b8152600401610b0690612dc3565b60006001600160a01b0384163b1561243957604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061237b903390899088908890600401612d2f565b602060405180830381600087803b15801561239557600080fd5b505af19250505080156123c5575060408051601f3d908101601f191682019092526123c291810190612b59565b60015b61241f573d8080156123f3576040519150601f19603f3d011682016040523d82523d6000602084013e6123f8565b606091505b5080516124175760405162461bcd60e51b8152600401610b0690612dc3565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611df0565b506001949350505050565b60006001612451846115a5565b61245b9190612f60565b6000838152600760205260409020549091508082146124ae576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b6008546000906124f390600190612f60565b6000838152600960205260408120546008805493945090928490811061251b5761251b6130a8565b90600052602060002001549050806008838154811061253c5761253c6130a8565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061257457612574613092565b6001900381819060005260206000200160009055905550505050565b600061259b836115a5565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b03821661262a5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610b06565b6000818152600260205260409020546001600160a01b03161561268f5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610b06565b61269b6000838361224c565b6001600160a01b03821660009081526003602052604081208054600192906126c4908490612ef0565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82805461272e90612fc6565b90600052602060002090601f0160209004810192826127505760008555612796565b82601f1061276957805160ff1916838001178555612796565b82800160010185558215612796579182015b8281111561279657825182559160200191906001019061277b565b506127a29291506127a6565b5090565b5b808211156127a257600081556001016127a7565b600067ffffffffffffffff8311156127d5576127d56130be565b6127e8601f8401601f1916602001612e9b565b90508281528383830111156127fc57600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b038116811461282a57600080fd5b919050565b600082601f83011261284057600080fd5b8135602061285561285083612ecc565b612e9b565b80838252828201915082860187848660051b890101111561287557600080fd5b60005b8581101561289b5761288982612813565b84529284019290840190600101612878565b5090979650505050505050565b8035801515811461282a57600080fd5b803560ff8116811461282a57600080fd5b6000602082840312156128db57600080fd5b611a1882612813565b600080604083850312156128f757600080fd5b61290083612813565b915061290e60208401612813565b90509250929050565b60008060006060848603121561292c57600080fd5b61293584612813565b925061294360208501612813565b9150604084013590509250925092565b6000806000806080858703121561296957600080fd5b61297285612813565b935061298060208601612813565b925060408501359150606085013567ffffffffffffffff8111156129a357600080fd5b8501601f810187136129b457600080fd5b6129c3878235602084016127bb565b91505092959194509250565b600080604083850312156129e257600080fd5b6129eb83612813565b915061290e602084016128a8565b60008060408385031215612a0c57600080fd5b612a1583612813565b946020939093013593505050565b600060208284031215612a3557600080fd5b813567ffffffffffffffff811115612a4c57600080fd5b611df08482850161282f565b60008060408385031215612a6b57600080fd5b823567ffffffffffffffff80821115612a8357600080fd5b612a8f8683870161282f565b9350602091508185013581811115612aa657600080fd5b85019050601f81018613612ab957600080fd5b8035612ac761285082612ecc565b80828252848201915084840189868560051b8701011115612ae757600080fd5b600094505b83851015612b1157612afd816128b8565b835260019490940193918501918501612aec565b5080955050505050509250929050565b600060208284031215612b3357600080fd5b611a18826128a8565b600060208284031215612b4e57600080fd5b8135611a18816130d4565b600060208284031215612b6b57600080fd5b8151611a18816130d4565b600060208284031215612b8857600080fd5b813567ffffffffffffffff811115612b9f57600080fd5b8201601f81018413612bb057600080fd5b611df0848235602084016127bb565b600060208284031215612bd157600080fd5b5035919050565b60008060408385031215612beb57600080fd5b8235915061290e60208401612813565b60008060408385031215612c0e57600080fd5b50508035926020909101359150565b600060208284031215612c2f57600080fd5b611a18826128b8565b60008151808452612c50816020860160208601612f9a565b601f01601f19169290920160200192915050565b60008351612c76818460208801612f9a565b835190830190612c8a818360208801612f9a565b01949350505050565b600080835481600182811c915080831680612caf57607f831692505b6020808410821415612ccf57634e487b7160e01b86526022600452602486fd5b818015612ce35760018114612cf457612d21565b60ff19861689528489019650612d21565b60008a81526020902060005b86811015612d195781548b820152908501908301612d00565b505084890196505b509498975050505050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612d6290830184612c38565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015612da457835183529284019291840191600101612d88565b50909695505050505050565b602081526000611a186020830184612c38565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b604051601f8201601f1916810167ffffffffffffffff81118282101715612ec457612ec46130be565b604052919050565b600067ffffffffffffffff821115612ee657612ee66130be565b5060051b60200190565b60008219821115612f0357612f03613066565b500190565b600060ff821660ff84168060ff03821115612f2557612f25613066565b019392505050565b600082612f3c57612f3c61307c565b500490565b6000816000190483118215151615612f5b57612f5b613066565b500290565b600082821015612f7257612f72613066565b500390565b600060ff821660ff841680821015612f9157612f91613066565b90039392505050565b60005b83811015612fb5578181015183820152602001612f9d565b8381111561125c5750506000910152565b600181811c90821680612fda57607f821691505b60208210811415612ffb57634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561301557613015613066565b5060010190565b600060ff821660ff81141561303357613033613066565b60010192915050565b60008261304b5761304b61307c565b500690565b634e487b7160e01b600052600160045260246000fd5b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114611b1557600080fdfea2646970667358221220411b0406ff3a25df94ee5f072bc6a57a5fcfabf1c79183d60409862748e713b164736f6c6343000807003300000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000000000bb8000000000000000000000000000000000000000000000000000000000000270f000000000000000000000000000000000000000000000000000000000000000b6170656b696473636c75620000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003414b43000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x60806040526004361061036a5760003560e01c80636ecd2306116101c6578063c040e6b8116100f7578063e8a3d48511610095578063f053d3701161006f578063f053d37014610a15578063f2fde38b14610a2f578063f51f96dd14610a4f578063f75f030214610a6557600080fd5b8063e8a3d485146109a2578063e985e9c5146109b7578063ee3743ab14610a0057600080fd5b8063c87b56dd116100d1578063c87b56dd14610937578063e07fa3c114610957578063e6cbb6b11461096c578063e7e989c01461098257600080fd5b8063c040e6b8146108d2578063c0f6baa4146108f1578063c6ec69091461092157600080fd5b806395d89b4111610164578063af7a8ffc1161013e578063af7a8ffc1461085c578063b3a196e91461087c578063b7aa670a14610892578063b88d4fde146108b257600080fd5b806395d89b4114610807578063a22cb4651461081c578063a2aa4e451461083c57600080fd5b806378231978116101a057806378231978146107835780637911242c146107995780638da5cb5b146107c9578063938e3d7b146107e757600080fd5b80636ecd23061461073b57806370a082311461074e578063715018a61461076e57600080fd5b80633009c083116102a057806359fd1b661161023e5780636352211e116102185780636352211e146106db578063639d7e11146106fb57806366d6ae1a146107105780636c0360eb1461072657600080fd5b806359fd1b66146106815780635c975abb146106a157806360b02f70146106bb57600080fd5b806342842e0e1161027a57806342842e0e146105f4578063438b6300146106145780634f6ccce71461064157806355f804b31461066157600080fd5b80633009c083146105aa57806337c3fdbc146105ca5780633a367a67146105df57600080fd5b80630dd575351161030d57806323b872dd116102e757806323b872dd1461050b5780632a55205a1461052b5780632e124ec31461056a5780632f745c591461058a57600080fd5b80630dd57535146104a657806310fd332b146104d657806318160ddd146104f657600080fd5b806306fdde031161034957806306fdde03146103ea578063081812fc1461040c578063094e407214610444578063095ea7b31461048657600080fd5b80620e7fa81461036f57806301ffc9a71461039857806302329a29146103c8575b600080fd5b34801561037b57600080fd5b5061038560115481565b6040519081526020015b60405180910390f35b3480156103a457600080fd5b506103b86103b3366004612b3c565b610a7b565b604051901515815260200161038f565b3480156103d457600080fd5b506103e86103e3366004612b21565b610adc565b005b3480156103f657600080fd5b506103ff610b22565b60405161038f9190612db0565b34801561041857600080fd5b5061042c610427366004612bbf565b610bb4565b6040516001600160a01b03909116815260200161038f565b34801561045057600080fd5b5061047461045f3660046128c9565b60146020526000908152604090205460ff1681565b60405160ff909116815260200161038f565b34801561049257600080fd5b506103e86104a13660046129f9565b610c49565b3480156104b257600080fd5b506104746104c13660046128c9565b600f6020526000908152604090205460ff1681565b3480156104e257600080fd5b506103e86104f13660046129f9565b610d5f565b34801561050257600080fd5b50600854610385565b34801561051757600080fd5b506103e8610526366004612917565b610daf565b34801561053757600080fd5b5061054b610546366004612bfb565b610de0565b604080516001600160a01b03909316835260208301919091520161038f565b34801561057657600080fd5b506103e86105853660046128c9565b610e1b565b34801561059657600080fd5b506103856105a53660046129f9565b610e66565b3480156105b657600080fd5b5060225461042c906001600160a01b031681565b3480156105d657600080fd5b506103e8610efc565b3480156105eb57600080fd5b506103ff610f35565b34801561060057600080fd5b506103e861060f366004612917565b610fc3565b34801561062057600080fd5b5061063461062f3660046128c9565b610fde565b60405161038f9190612d6c565b34801561064d57600080fd5b5061038561065c366004612bbf565b611080565b34801561066d57600080fd5b506103e861067c366004612b76565b611113565b34801561068d57600080fd5b506103e861069c366004612a23565b611164565b3480156106ad57600080fd5b50601a546103b89060ff1681565b3480156106c757600080fd5b506103e86106d6366004612bd8565b6111f6565b3480156106e757600080fd5b5061042c6106f6366004612bbf565b611262565b34801561070757600080fd5b506103ff6112d9565b34801561071c57600080fd5b5061038560175481565b34801561073257600080fd5b506103ff6112e6565b6103e8610749366004612c1d565b6112f3565b34801561075a57600080fd5b506103856107693660046128c9565b6115a5565b34801561077a57600080fd5b506103e861162c565b34801561078f57600080fd5b5061038560185481565b3480156107a557600080fd5b506103b86107b43660046128c9565b60106020526000908152604090205460ff1681565b3480156107d557600080fd5b50600a546001600160a01b031661042c565b3480156107f357600080fd5b506103e8610802366004612b76565b611662565b34801561081357600080fd5b506103ff61169f565b34801561082857600080fd5b506103e86108373660046129cf565b6116ae565b34801561084857600080fd5b506103e86108573660046128c9565b611773565b34801561086857600080fd5b506103e8610877366004612a58565b6117be565b34801561088857600080fd5b5061038560125481565b34801561089e57600080fd5b5061042c6108ad366004612bbf565b611877565b3480156108be57600080fd5b506103e86108cd366004612953565b611897565b3480156108de57600080fd5b50600e5461047490610100900460ff1681565b3480156108fd57600080fd5b5061047461090c3660046128c9565b60196020526000908152604090205460ff1681565b34801561092d57600080fd5b5061038560235481565b34801561094357600080fd5b506103ff610952366004612bbf565b6118c9565b34801561096357600080fd5b506103e8611a1f565b34801561097857600080fd5b5061038560135481565b34801561098e57600080fd5b5061038561099d366004612bbf565b611b18565b3480156109ae57600080fd5b506103ff611b39565b3480156109c357600080fd5b506103b86109d23660046128e4565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b348015610a0c57600080fd5b506103e8611b61565b348015610a2157600080fd5b50600e546103b89060ff1681565b348015610a3b57600080fd5b506103e8610a4a3660046128c9565b611bd6565b348015610a5b57600080fd5b5061038560165481565b348015610a7157600080fd5b5061038560155481565b60006001600160e01b0319821663780e9d6360e01b1480610aac575063e8a3d48560e01b6001600160e01b03198316145b80610ac7575063152a902d60e11b6001600160e01b03198316145b80610ad65750610ad682611c6e565b92915050565b600a546001600160a01b03163314610b0f5760405162461bcd60e51b8152600401610b0690612e15565b60405180910390fd5b601a805460ff1916911515919091179055565b606060008054610b3190612fc6565b80601f0160208091040260200160405190810160405280929190818152602001828054610b5d90612fc6565b8015610baa5780601f10610b7f57610100808354040283529160200191610baa565b820191906000526020600020905b815481529060010190602001808311610b8d57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b0316610c2d5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610b06565b506000908152600460205260409020546001600160a01b031690565b6000610c5482611262565b9050806001600160a01b0316836001600160a01b03161415610cc25760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610b06565b336001600160a01b0382161480610cde5750610cde81336109d2565b610d505760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610b06565b610d5a8383611c93565b505050565b600a546001600160a01b03163314610d895760405162461bcd60e51b8152600401610b0690612e15565b602280546001600160a01b0319166001600160a01b039390931692909217909155602355565b610db93382611d01565b610dd55760405162461bcd60e51b8152600401610b0690612e4a565b610d5a838383611df8565b60225460235460009182916001600160a01b0390911690610e109061271090610e0a908790611fa3565b90611faf565b915091509250929050565b600a546001600160a01b03163314610e455760405162461bcd60e51b8152600401610b0690612e15565b6001600160a01b03166000908152600f60205260409020805460ff19169055565b6000610e71836115a5565b8210610ed35760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610b06565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600a546001600160a01b03163314610f265760405162461bcd60e51b8152600401610b0690612e15565b600e805460ff19166001179055565b600c8054610f4290612fc6565b80601f0160208091040260200160405190810160405280929190818152602001828054610f6e90612fc6565b8015610fbb5780601f10610f9057610100808354040283529160200191610fbb565b820191906000526020600020905b815481529060010190602001808311610f9e57829003601f168201915b505050505081565b610d5a83838360405180602001604052806000815250611897565b60606000610feb836115a5565b905060008167ffffffffffffffff811115611008576110086130be565b604051908082528060200260200182016040528015611031578160200160208202803683370190505b50905060005b82811015611078576110498582610e66565b82828151811061105b5761105b6130a8565b60209081029190910101528061107081613001565b915050611037565b509392505050565b600061108b60085490565b82106110ee5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610b06565b60088281548110611101576111016130a8565b90600052602060002001549050919050565b600a546001600160a01b0316331461113d5760405162461bcd60e51b8152600401610b0690612e15565b600e5460ff161561114d57600080fd5b805161116090600b906020840190612722565b5050565b600a546001600160a01b0316331461118e5760405162461bcd60e51b8152600401610b0690612e15565b60005b8151811015611160576001601060008484815181106111b2576111b26130a8565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff1916911515919091179055806111ee81613001565b915050611191565b600a546001600160a01b031633146112205760405162461bcd60e51b8152600401610b0690612e15565b600061122b60085490565b905060015b83811161125c5761124a836112458385612ef0565b611fbb565b8061125481613001565b915050611230565b50505050565b6000818152600260205260408120546001600160a01b031680610ad65760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610b06565b600d8054610f4290612fc6565b600b8054610f4290612fc6565b60006112fe60085490565b601a5490915060ff161561131157600080fd5b600e54610100900460ff1661132557600080fd5b60008260ff161161133557600080fd5b600e5460ff61010090910416600114156113b457336000908152600f602052604081205461136790849060ff16612f77565b60ff16101561137557600080fd5b336000908152600f60205260408120805484929061139790849060ff16612f77565b92506101000a81548160ff021916908360ff160217905550611578565b600e54610100900460ff166002141561146b573360009081526010602052604090205460ff166113e357600080fd5b6012546113f360ff841683612ef0565b11156113fe57600080fd5b6013543360009081526014602052604090205461141e9060ff1684612f08565b60ff16111561142c57600080fd5b8160ff1660115461143d9190612f41565b34101561144957600080fd5b336000908152601460205260408120805484929061139790849060ff16612f08565b600e54610100900460ff16600314156114d5573360009081526010602052604090205460ff1661149a57600080fd5b6012546114aa60ff841683612ef0565b11156114b557600080fd5b6015543360009081526014602052604090205461141e9060ff1684612f08565b600e54610100900460ff1660041415611570576018546114f860ff841683612ef0565b111561150357600080fd5b601754336000908152601960205260409020546115239060ff1684612f08565b60ff16111561153157600080fd5b8160ff166016546115429190612f41565b34101561154e57600080fd5b336000908152601960205260408120805484929061139790849060ff16612f08565b611578613050565b60015b8260ff168111610d5a57611593336112458385612ef0565b8061159d81613001565b91505061157b565b60006001600160a01b0382166116105760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610b06565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b031633146116565760405162461bcd60e51b8152600401610b0690612e15565b6116606000611fd5565b565b600a546001600160a01b0316331461168c5760405162461bcd60e51b8152600401610b0690612e15565b805161116090600d906020840190612722565b606060018054610b3190612fc6565b6001600160a01b0382163314156117075760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610b06565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600a546001600160a01b0316331461179d5760405162461bcd60e51b8152600401610b0690612e15565b6001600160a01b03166000908152601060205260409020805460ff19169055565b600a546001600160a01b031633146117e85760405162461bcd60e51b8152600401610b0690612e15565b60005b8251811015610d5a57818181518110611806576118066130a8565b6020026020010151600f6000858481518110611824576118246130a8565b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a81548160ff021916908360ff160217905550808061186f90613001565b9150506117eb565b601b816006811061188757600080fd5b01546001600160a01b0316905081565b6118a13383611d01565b6118bd5760405162461bcd60e51b8152600401610b0690612e4a565b61125c84848484612027565b6000818152600260205260409020546060906001600160a01b03166119485760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610b06565b600061195261205a565b905060008151116119ed57600c805461196a90612fc6565b80601f016020809104026020016040519081016040528092919081815260200182805461199690612fc6565b80156119e35780601f106119b8576101008083540402835291602001916119e3565b820191906000526020600020905b8154815290600101906020018083116119c657829003601f168201915b5050505050611a18565b806119f784612069565b604051602001611a08929190612c64565b6040516020818303038152906040525b9392505050565b600a546001600160a01b03163314611a495760405162461bcd60e51b8152600401610b0690612e15565b4780611a5457600080fd5b60005b611a6360016006612f60565b811015611ae257611ad0601b8260068110611a8057611a806130a8565b0160009054906101000a90046001600160a01b0316611acb612710610e0a60218681548110611ab157611ab16130a8565b906000526020600020015487611fa390919063ffffffff16565b612167565b80611ada81613001565b915050611a57565b50611b15601b611af460016006612f60565b60068110611b0457611b046130a8565b01546001600160a01b031647612167565b50565b60218181548110611b2857600080fd5b600091825260209091200154905081565b6060600d604051602001611b4d9190612c93565b604051602081830303815290604052905090565b600a546001600160a01b03163314611b8b5760405162461bcd60e51b8152600401610b0690612e15565b600e54600461010090910460ff1610611ba357600080fd5b600e8054610100900460ff16906001611bbb8361301c565b91906101000a81548160ff021916908360ff16021790555050565b600a546001600160a01b03163314611c005760405162461bcd60e51b8152600401610b0690612e15565b6001600160a01b038116611c655760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b06565b611b1581611fd5565b60006001600160e01b0319821663780e9d6360e01b1480610ad65750610ad6826121fc565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611cc882611262565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b0316611d7a5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610b06565b6000611d8583611262565b9050806001600160a01b0316846001600160a01b03161480611dc05750836001600160a01b0316611db584610bb4565b6001600160a01b0316145b80611df057506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316611e0b82611262565b6001600160a01b031614611e735760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610b06565b6001600160a01b038216611ed55760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610b06565b611ee083838361224c565b611eeb600082611c93565b6001600160a01b0383166000908152600360205260408120805460019290611f14908490612f60565b90915550506001600160a01b0382166000908152600360205260408120805460019290611f42908490612ef0565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000611a188284612f41565b6000611a188284612f2d565b611160828260405180602001604052806000815250612304565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b612032848484611df8565b61203e84848484612337565b61125c5760405162461bcd60e51b8152600401610b0690612dc3565b6060600b8054610b3190612fc6565b60608161208d5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156120b757806120a181613001565b91506120b09050600a83612f2d565b9150612091565b60008167ffffffffffffffff8111156120d2576120d26130be565b6040519080825280601f01601f1916602001820160405280156120fc576020820181803683370190505b5090505b8415611df057612111600183612f60565b915061211e600a8661303c565b612129906030612ef0565b60f81b81838151811061213e5761213e6130a8565b60200101906001600160f81b031916908160001a905350612160600a86612f2d565b9450612100565b6000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146121b4576040519150601f19603f3d011682016040523d82523d6000602084013e6121b9565b606091505b5050905080610d5a5760405162461bcd60e51b815260206004820152600f60248201526e151c985b9cd9995c8819985a5b1959608a1b6044820152606401610b06565b60006001600160e01b031982166380ac58cd60e01b148061222d57506001600160e01b03198216635b5e139f60e01b145b80610ad657506301ffc9a760e01b6001600160e01b0319831614610ad6565b6001600160a01b0383166122a7576122a281600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b6122ca565b816001600160a01b0316836001600160a01b0316146122ca576122ca8382612444565b6001600160a01b0382166122e157610d5a816124e1565b826001600160a01b0316826001600160a01b031614610d5a57610d5a8282612590565b61230e83836125d4565b61231b6000848484612337565b610d5a5760405162461bcd60e51b8152600401610b0690612dc3565b60006001600160a01b0384163b1561243957604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061237b903390899088908890600401612d2f565b602060405180830381600087803b15801561239557600080fd5b505af19250505080156123c5575060408051601f3d908101601f191682019092526123c291810190612b59565b60015b61241f573d8080156123f3576040519150601f19603f3d011682016040523d82523d6000602084013e6123f8565b606091505b5080516124175760405162461bcd60e51b8152600401610b0690612dc3565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611df0565b506001949350505050565b60006001612451846115a5565b61245b9190612f60565b6000838152600760205260409020549091508082146124ae576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b6008546000906124f390600190612f60565b6000838152600960205260408120546008805493945090928490811061251b5761251b6130a8565b90600052602060002001549050806008838154811061253c5761253c6130a8565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061257457612574613092565b6001900381819060005260206000200160009055905550505050565b600061259b836115a5565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b03821661262a5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610b06565b6000818152600260205260409020546001600160a01b03161561268f5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610b06565b61269b6000838361224c565b6001600160a01b03821660009081526003602052604081208054600192906126c4908490612ef0565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82805461272e90612fc6565b90600052602060002090601f0160209004810192826127505760008555612796565b82601f1061276957805160ff1916838001178555612796565b82800160010185558215612796579182015b8281111561279657825182559160200191906001019061277b565b506127a29291506127a6565b5090565b5b808211156127a257600081556001016127a7565b600067ffffffffffffffff8311156127d5576127d56130be565b6127e8601f8401601f1916602001612e9b565b90508281528383830111156127fc57600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b038116811461282a57600080fd5b919050565b600082601f83011261284057600080fd5b8135602061285561285083612ecc565b612e9b565b80838252828201915082860187848660051b890101111561287557600080fd5b60005b8581101561289b5761288982612813565b84529284019290840190600101612878565b5090979650505050505050565b8035801515811461282a57600080fd5b803560ff8116811461282a57600080fd5b6000602082840312156128db57600080fd5b611a1882612813565b600080604083850312156128f757600080fd5b61290083612813565b915061290e60208401612813565b90509250929050565b60008060006060848603121561292c57600080fd5b61293584612813565b925061294360208501612813565b9150604084013590509250925092565b6000806000806080858703121561296957600080fd5b61297285612813565b935061298060208601612813565b925060408501359150606085013567ffffffffffffffff8111156129a357600080fd5b8501601f810187136129b457600080fd5b6129c3878235602084016127bb565b91505092959194509250565b600080604083850312156129e257600080fd5b6129eb83612813565b915061290e602084016128a8565b60008060408385031215612a0c57600080fd5b612a1583612813565b946020939093013593505050565b600060208284031215612a3557600080fd5b813567ffffffffffffffff811115612a4c57600080fd5b611df08482850161282f565b60008060408385031215612a6b57600080fd5b823567ffffffffffffffff80821115612a8357600080fd5b612a8f8683870161282f565b9350602091508185013581811115612aa657600080fd5b85019050601f81018613612ab957600080fd5b8035612ac761285082612ecc565b80828252848201915084840189868560051b8701011115612ae757600080fd5b600094505b83851015612b1157612afd816128b8565b835260019490940193918501918501612aec565b5080955050505050509250929050565b600060208284031215612b3357600080fd5b611a18826128a8565b600060208284031215612b4e57600080fd5b8135611a18816130d4565b600060208284031215612b6b57600080fd5b8151611a18816130d4565b600060208284031215612b8857600080fd5b813567ffffffffffffffff811115612b9f57600080fd5b8201601f81018413612bb057600080fd5b611df0848235602084016127bb565b600060208284031215612bd157600080fd5b5035919050565b60008060408385031215612beb57600080fd5b8235915061290e60208401612813565b60008060408385031215612c0e57600080fd5b50508035926020909101359150565b600060208284031215612c2f57600080fd5b611a18826128b8565b60008151808452612c50816020860160208601612f9a565b601f01601f19169290920160200192915050565b60008351612c76818460208801612f9a565b835190830190612c8a818360208801612f9a565b01949350505050565b600080835481600182811c915080831680612caf57607f831692505b6020808410821415612ccf57634e487b7160e01b86526022600452602486fd5b818015612ce35760018114612cf457612d21565b60ff19861689528489019650612d21565b60008a81526020902060005b86811015612d195781548b820152908501908301612d00565b505084890196505b509498975050505050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612d6290830184612c38565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015612da457835183529284019291840191600101612d88565b50909695505050505050565b602081526000611a186020830184612c38565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b604051601f8201601f1916810167ffffffffffffffff81118282101715612ec457612ec46130be565b604052919050565b600067ffffffffffffffff821115612ee657612ee66130be565b5060051b60200190565b60008219821115612f0357612f03613066565b500190565b600060ff821660ff84168060ff03821115612f2557612f25613066565b019392505050565b600082612f3c57612f3c61307c565b500490565b6000816000190483118215151615612f5b57612f5b613066565b500290565b600082821015612f7257612f72613066565b500390565b600060ff821660ff841680821015612f9157612f91613066565b90039392505050565b60005b83811015612fb5578181015183820152602001612f9d565b8381111561125c5750506000910152565b600181811c90821680612fda57607f821691505b60208210811415612ffb57634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561301557613015613066565b5060010190565b600060ff821660ff81141561303357613033613066565b60010192915050565b60008261304b5761304b61307c565b500690565b634e487b7160e01b600052600160045260246000fd5b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114611b1557600080fdfea2646970667358221220411b0406ff3a25df94ee5f072bc6a57a5fcfabf1c79183d60409862748e713b164736f6c63430008070033

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

00000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000000000bb8000000000000000000000000000000000000000000000000000000000000270f000000000000000000000000000000000000000000000000000000000000000b6170656b696473636c75620000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003414b43000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _name (string): apekidsclub
Arg [1] : _symbol (string): AKC
Arg [2] : _initBaseURI (string):
Arg [3] : _defaultURI (string):
Arg [4] : _presaleSupply (uint256): 3000
Arg [5] : _totalSaleSupply (uint256): 9999

-----Encoded View---------------
12 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000160
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000bb8
Arg [5] : 000000000000000000000000000000000000000000000000000000000000270f
Arg [6] : 000000000000000000000000000000000000000000000000000000000000000b
Arg [7] : 6170656b696473636c7562000000000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [9] : 414b430000000000000000000000000000000000000000000000000000000000
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

48986:7366:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49596:40;;;;;;;;;;;;;;;;;;;18909:25:1;;;18897:2;18882:18;49596:40:0;;;;;;;;51163:342;;;;;;;;;;-1:-1:-1;51163:342:0;;;;;:::i;:::-;;:::i;:::-;;;10961:14:1;;10954:22;10936:41;;10924:2;10909:18;51163:342:0;10796:187:1;54825:73:0;;;;;;;;;;-1:-1:-1;54825:73:0;;;;;:::i;:::-;;:::i;:::-;;20878:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;22437:221::-;;;;;;;;;;-1:-1:-1;22437:221:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;9343:32:1;;;9325:51;;9313:2;9298:18;22437:221:0;9179:203:1;49720:49:0;;;;;;;;;;-1:-1:-1;49720:49:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;19117:4:1;19105:17;;;19087:36;;19075:2;19060:18;49720:49:0;18945:184:1;21960:411:0;;;;;;;;;;-1:-1:-1;21960:411:0;;;;;:::i;:::-;;:::i;49458:49::-;;;;;;;;;;-1:-1:-1;49458:49:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;54663:156;;;;;;;;;;-1:-1:-1;54663:156:0;;;;;:::i;:::-;;:::i;34400:113::-;;;;;;;;;;-1:-1:-1;34488:10:0;:17;34400:113;;23327:339;;;;;;;;;;-1:-1:-1;23327:339:0;;;;;:::i;:::-;;:::i;53914:200::-;;;;;;;;;;-1:-1:-1;53914:200:0;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;10072:32:1;;;10054:51;;10136:2;10121:18;;10114:34;;;;10027:18;53914:200:0;9880:274:1;55279:107:0;;;;;;;;;;-1:-1:-1;55279:107:0;;;;;:::i;:::-;;:::i;34068:256::-;;;;;;;;;;-1:-1:-1;34068:256:0;;;;;:::i;:::-;;:::i;50604:26::-;;;;;;;;;;-1:-1:-1;50604:26:0;;;;-1:-1:-1;;;;;50604:26:0;;;54379:79;;;;;;;;;;;;;:::i;49146:24::-;;;;;;;;;;;;;:::i;23737:185::-;;;;;;;;;;-1:-1:-1;23737:185:0;;;;;:::i;:::-;;:::i;52996:348::-;;;;;;;;;;-1:-1:-1;52996:348:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;34590:233::-;;;;;;;;;;-1:-1:-1;34590:233:0;;;;;:::i;:::-;;:::i;54243:130::-;;;;;;;;;;-1:-1:-1;54243:130:0;;;;;:::i;:::-;;:::i;55107:166::-;;;;;;;;;;-1:-1:-1;55107:166:0;;;;;:::i;:::-;;:::i;50095:26::-;;;;;;;;;;-1:-1:-1;50095:26:0;;;;;;;;55515:207;;;;;;;;;;-1:-1:-1;55515:207:0;;;;;:::i;:::-;;:::i;20572:239::-;;;;;;;;;;-1:-1:-1;20572:239:0;;;;;:::i;:::-;;:::i;49175:27::-;;;;;;;;;;;;;:::i;49952:30::-;;;;;;;;;;;;;;;;49120:21;;;;;;;;;;;;;:::i;51524:1466::-;;;;;;:::i;:::-;;:::i;20302:208::-;;;;;;;;;;-1:-1:-1;20302:208:0;;;;;:::i;:::-;;:::i;41481:94::-;;;;;;;;;;;;;:::i;49987:30::-;;;;;;;;;;;;;;;;49538:51;;;;;;;;;;-1:-1:-1;49538:51:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;40830:87;;;;;;;;;;-1:-1:-1;40903:6:0;;-1:-1:-1;;;;;40903:6:0;40830:87;;54464:193;;;;;;;;;;-1:-1:-1;54464:193:0;;;;;:::i;:::-;;:::i;21047:104::-;;;;;;;;;;;;;:::i;22730:295::-;;;;;;;;;;-1:-1:-1;22730:295:0;;;;;:::i;:::-;;:::i;55392:117::-;;;;;;;;;;-1:-1:-1;55392:117:0;;;;;:::i;:::-;;:::i;54905:196::-;;;;;;;;;;-1:-1:-1;54905:196:0;;;;;:::i;:::-;;:::i;49641:28::-;;;;;;;;;;;;;;;;50146:334;;;;;;;;;;-1:-1:-1;50146:334:0;;;;;:::i;:::-;;:::i;23993:328::-;;;;;;;;;;-1:-1:-1;23993:328:0;;;;;:::i;:::-;;:::i;49404:22::-;;;;;;;;;;-1:-1:-1;49404:22:0;;;;;;;;;;;50030:46;;;;;;;;;;-1:-1:-1;50030:46:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;50635:27;;;;;;;;;;;;;;;;53350:416;;;;;;;;;;-1:-1:-1;53350:416:0;;;;;:::i;:::-;;:::i;55761:424::-;;;;;;;;;;;;;:::i;49682:33::-;;;;;;;;;;;;;;;;50485:66;;;;;;;;;;-1:-1:-1;50485:66:0;;;;;:::i;:::-;;:::i;53772:122::-;;;;;;;;;;;;;:::i;23096:164::-;;;;;;;;;;-1:-1:-1;23096:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;23217:25:0;;;23193:4;23217:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;23096:164;54152:85;;;;;;;;;;;;;:::i;49207:35::-;;;;;;;;;;-1:-1:-1;49207:35:0;;;;;;;;41730:192;;;;;;;;;;-1:-1:-1;41730:192:0;;;;;:::i;:::-;;:::i;49910:37::-;;;;;;;;;;;;;;;;49810:35;;;;;;;;;;;;;;;;51163:342;51258:4;-1:-1:-1;;;;;;51280:50:0;;-1:-1:-1;;;51280:50:0;;:87;;-1:-1:-1;;;;;;;;;;51342:25:0;;;51280:87;:143;;;-1:-1:-1;;;;;;;;;;51398:25:0;;;51280:143;:219;;;;51463:36;51487:11;51463:23;:36::i;:::-;51273:226;51163:342;-1:-1:-1;;51163:342:0:o;54825:73::-;40903:6;;-1:-1:-1;;;;;40903:6:0;8146:10;41050:23;41042:68;;;;-1:-1:-1;;;41042:68:0;;;;;;;:::i;:::-;;;;;;;;;54877:6:::1;:15:::0;;-1:-1:-1;;54877:15:0::1;::::0;::::1;;::::0;;;::::1;::::0;;54825:73::o;20878:100::-;20932:13;20965:5;20958:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20878:100;:::o;22437:221::-;22513:7;25920:16;;;:7;:16;;;;;;-1:-1:-1;;;;;25920:16:0;22533:73;;;;-1:-1:-1;;;22533:73:0;;16132:2:1;22533:73:0;;;16114:21:1;16171:2;16151:18;;;16144:30;16210:34;16190:18;;;16183:62;-1:-1:-1;;;16261:18:1;;;16254:42;16313:19;;22533:73:0;15930:408:1;22533:73:0;-1:-1:-1;22626:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;22626:24:0;;22437:221::o;21960:411::-;22041:13;22057:23;22072:7;22057:14;:23::i;:::-;22041:39;;22105:5;-1:-1:-1;;;;;22099:11:0;:2;-1:-1:-1;;;;;22099:11:0;;;22091:57;;;;-1:-1:-1;;;22091:57:0;;17732:2:1;22091:57:0;;;17714:21:1;17771:2;17751:18;;;17744:30;17810:34;17790:18;;;17783:62;-1:-1:-1;;;17861:18:1;;;17854:31;17902:19;;22091:57:0;17530:397:1;22091:57:0;8146:10;-1:-1:-1;;;;;22183:21:0;;;;:62;;-1:-1:-1;22208:37:0;22225:5;8146:10;23096:164;:::i;22208:37::-;22161:168;;;;-1:-1:-1;;;22161:168:0;;14525:2:1;22161:168:0;;;14507:21:1;14564:2;14544:18;;;14537:30;14603:34;14583:18;;;14576:62;14674:26;14654:18;;;14647:54;14718:19;;22161:168:0;14323:420:1;22161:168:0;22342:21;22351:2;22355:7;22342:8;:21::i;:::-;22030:341;21960:411;;:::o;54663:156::-;40903:6;;-1:-1:-1;;;;;40903:6:0;8146:10;41050:23;41042:68;;;;-1:-1:-1;;;41042:68:0;;;;;;;:::i;:::-;54752:11:::1;:26:::0;;-1:-1:-1;;;;;;54752:26:0::1;-1:-1:-1::0;;;;;54752:26:0;;;::::1;::::0;;;::::1;::::0;;;54785:12:::1;:28:::0;54663:156::o;23327:339::-;23522:41;8146:10;23555:7;23522:18;:41::i;:::-;23514:103;;;;-1:-1:-1;;;23514:103:0;;;;;;;:::i;:::-;23630:28;23640:4;23646:2;23650:7;23630:9;:28::i;53914:200::-;54055:11;;54083:12;;54000:16;;;;-1:-1:-1;;;;;54055:11:0;;;;54068:39;;54101:5;;54068:28;;:10;;:14;:28::i;:::-;:32;;:39::i;:::-;54047:61;;;;53914:200;;;;;:::o;55279:107::-;40903:6;;-1:-1:-1;;;;;40903:6:0;8146:10;41050:23;41042:68;;;;-1:-1:-1;;;41042:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;55353:23:0::1;55379:1;55353:23:::0;;;:16:::1;:23;::::0;;;;:27;;-1:-1:-1;;55353:27:0::1;::::0;;55279:107::o;34068:256::-;34165:7;34201:23;34218:5;34201:16;:23::i;:::-;34193:5;:31;34185:87;;;;-1:-1:-1;;;34185:87:0;;11414:2:1;34185:87:0;;;11396:21:1;11453:2;11433:18;;;11426:30;11492:34;11472:18;;;11465:62;-1:-1:-1;;;11543:18:1;;;11536:41;11594:19;;34185:87:0;11212:407:1;34185:87:0;-1:-1:-1;;;;;;34290:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;34068:256::o;54379:79::-;40903:6;;-1:-1:-1;;;;;40903:6:0;8146:10;41050:23;41042:68;;;;-1:-1:-1;;;41042:68:0;;;;;;;:::i;:::-;54430:15:::1;:22:::0;;-1:-1:-1;;54430:22:0::1;54448:4;54430:22;::::0;;54379:79::o;49146:24::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;23737:185::-;23875:39;23892:4;23898:2;23902:7;23875:39;;;;;;;;;;;;:16;:39::i;52996:348::-;53071:16;53099:23;53125:17;53135:6;53125:9;:17::i;:::-;53099:43;;53149:25;53191:15;53177:30;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53177:30:0;;53149:58;;53219:9;53214:103;53234:15;53230:1;:19;53214:103;;;53279:30;53299:6;53307:1;53279:19;:30::i;:::-;53265:8;53274:1;53265:11;;;;;;;;:::i;:::-;;;;;;;;;;:44;53251:3;;;;:::i;:::-;;;;53214:103;;;-1:-1:-1;53330:8:0;52996:348;-1:-1:-1;;;52996:348:0:o;34590:233::-;34665:7;34701:30;34488:10;:17;;34400:113;34701:30;34693:5;:38;34685:95;;;;-1:-1:-1;;;34685:95:0;;18552:2:1;34685:95:0;;;18534:21:1;18591:2;18571:18;;;18564:30;18630:34;18610:18;;;18603:62;-1:-1:-1;;;18681:18:1;;;18674:42;18733:19;;34685:95:0;18350:408:1;34685:95:0;34798:10;34809:5;34798:17;;;;;;;;:::i;:::-;;;;;;;;;34791:24;;34590:233;;;:::o;54243:130::-;40903:6;;-1:-1:-1;;;;;40903:6:0;8146:10;41050:23;41042:68;;;;-1:-1:-1;;;41042:68:0;;;;;;;:::i;:::-;54323:15:::1;::::0;::::1;;54322:16;54314:25;;;::::0;::::1;;54346:21:::0;;::::1;::::0;:7:::1;::::0;:21:::1;::::0;::::1;::::0;::::1;:::i;:::-;;54243:130:::0;:::o;55107:166::-;40903:6;;-1:-1:-1;;;;;40903:6:0;8146:10;41050:23;41042:68;;;;-1:-1:-1;;;41042:68:0;;;;;;;:::i;:::-;55192:6:::1;55188:79;55203:6;:13;55201:1;:15;55188:79;;;55263:4;55230:19;:30;55250:6;55257:1;55250:9;;;;;;;;:::i;:::-;;::::0;;::::1;::::0;;;;;;;-1:-1:-1;;;;;55230:30:0::1;::::0;;;::::1;::::0;;;;;;-1:-1:-1;55230:30:0;:37;;-1:-1:-1;;55230:37:0::1;::::0;::::1;;::::0;;;::::1;::::0;;55217:3;::::1;::::0;::::1;:::i;:::-;;;;55188:79;;55515:207:::0;40903:6;;-1:-1:-1;;;;;40903:6:0;8146:10;41050:23;41042:68;;;;-1:-1:-1;;;41042:68:0;;;;;;;:::i;:::-;55594:14:::1;55611:13;34488:10:::0;:17;;34400:113;55611:13:::1;55594:30:::0;-1:-1:-1;55648:1:0::1;55631:86;55656:11;55651:1;:16;55631:86;;55683:26;55693:3:::0;55698:10:::1;55707:1:::0;55698:6;:10:::1;:::i;:::-;55683:9;:26::i;:::-;55669:3:::0;::::1;::::0;::::1;:::i;:::-;;;;55631:86;;;;55587:135;55515:207:::0;;:::o;20572:239::-;20644:7;20680:16;;;:7;:16;;;;;;-1:-1:-1;;;;;20680:16:0;20715:19;20707:73;;;;-1:-1:-1;;;20707:73:0;;15361:2:1;20707:73:0;;;15343:21:1;15400:2;15380:18;;;15373:30;15439:34;15419:18;;;15412:62;-1:-1:-1;;;15490:18:1;;;15483:39;15539:19;;20707:73:0;15159:405:1;49175:27:0;;;;;;;:::i;49120:21::-;;;;;;;:::i;51524:1466::-;51579:14;51596:13;34488:10;:17;;34400:113;51596:13;51625:6;;51579:30;;-1:-1:-1;51625:6:0;;51624:7;51616:16;;;;;;51647:5;;;;;;;51639:18;;;;;;51686:1;51672:11;:15;;;51664:24;;;;;;51701:5;;;;;;;;;:10;51697:1187;;;51766:10;51795:1;51749:28;;;:16;:28;;;;;;:42;;51780:11;;51749:28;;:42;:::i;:::-;:47;;;;51741:56;;;;;;51823:10;51806:28;;;;:16;:28;;;;;:43;;51838:11;;51806:28;:43;;51838:11;;51806:43;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;51697:1187;;;51867:5;;;;;;;51876:1;51867:10;51863:1021;;;51934:10;51914:31;;;;:19;:31;;;;;;;;51906:40;;;;;;51987:13;;51963:20;;;;:6;:20;:::i;:::-;:37;;51955:46;;;;;;52064:14;;52049:10;52032:28;;;;:16;:28;;;;;;52018:42;;52032:28;;52018:11;:42;:::i;:::-;:60;;;;52010:69;;;;;;52130:11;52115:26;;:12;;:26;;;;:::i;:::-;52102:9;:39;;52094:48;;;;;;52168:10;52151:28;;;;:16;:28;;;;;:43;;52183:11;;52151:28;:43;;52183:11;;52151:43;;;:::i;51863:1021::-;52215:5;;;;;;;52224:1;52215:10;52211:673;;;52292:10;52272:31;;;;:19;:31;;;;;;;;52264:40;;;;;;52345:13;;52321:20;;;;:6;:20;:::i;:::-;:37;;52313:46;;;;;;52422:16;;52407:10;52390:28;;;;:16;:28;;;;;;52376:42;;52390:28;;52376:11;:42;:::i;52211:673::-;52575:5;;;;;;;52584:1;52575:10;52571:313;;;52649:15;;52625:20;;;;:6;:20;:::i;:::-;:39;;52617:48;;;;;;52725:11;;52710:10;52696:25;;;;:13;:25;;;;;;52682:39;;52696:25;;52682:11;:39;:::i;:::-;:54;;;;52674:63;;;;;;52779:11;52767:23;;:9;;:23;;;;:::i;:::-;52754:9;:36;;52746:45;;;;;;52814:10;52800:25;;;;:13;:25;;;;;:40;;52829:11;;52800:25;:40;;52829:11;;52800:40;;;:::i;52571:313::-;52863:13;;:::i;:::-;52909:1;52892:93;52917:11;52912:16;;:1;:16;52892:93;;52944:33;52954:10;52966;52975:1;52966:6;:10;:::i;52944:33::-;52930:3;;;;:::i;:::-;;;;52892:93;;20302:208;20374:7;-1:-1:-1;;;;;20402:19:0;;20394:74;;;;-1:-1:-1;;;20394:74:0;;14950:2:1;20394:74:0;;;14932:21:1;14989:2;14969:18;;;14962:30;15028:34;15008:18;;;15001:62;-1:-1:-1;;;15079:18:1;;;15072:40;15129:19;;20394:74:0;14748:406:1;20394:74:0;-1:-1:-1;;;;;;20486:16:0;;;;;:9;:16;;;;;;;20302:208::o;41481:94::-;40903:6;;-1:-1:-1;;;;;40903:6:0;8146:10;41050:23;41042:68;;;;-1:-1:-1;;;41042:68:0;;;;;;;:::i;:::-;41546:21:::1;41564:1;41546:9;:21::i;:::-;41481:94::o:0;54464:193::-;40903:6;;-1:-1:-1;;;;;40903:6:0;8146:10;41050:23;41042:68;;;;-1:-1:-1;;;41042:68:0;;;;;;;:::i;:::-;54540:28;;::::1;::::0;:13:::1;::::0;:28:::1;::::0;::::1;::::0;::::1;:::i;21047:104::-:0;21103:13;21136:7;21129:14;;;;;:::i;22730:295::-;-1:-1:-1;;;;;22833:24:0;;8146:10;22833:24;;22825:62;;;;-1:-1:-1;;;22825:62:0;;13758:2:1;22825:62:0;;;13740:21:1;13797:2;13777:18;;;13770:30;13836:27;13816:18;;;13809:55;13881:18;;22825:62:0;13556:349:1;22825:62:0;8146:10;22900:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;22900:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;22900:53:0;;;;;;;;;;22969:48;;10936:41:1;;;22900:42:0;;8146:10;22969:48;;10909:18:1;22969:48:0;;;;;;;22730:295;;:::o;55392:117::-;40903:6;;-1:-1:-1;;;;;40903:6:0;8146:10;41050:23;41042:68;;;;-1:-1:-1;;;41042:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;55469:26:0::1;55498:5;55469:26:::0;;;:19:::1;:26;::::0;;;;:34;;-1:-1:-1;;55469:34:0::1;::::0;;55392:117::o;54905:196::-;40903:6;;-1:-1:-1;;;;;40903:6:0;8146:10;41050:23;41042:68;;;;-1:-1:-1;;;41042:68:0;;;;;;;:::i;:::-;55014:6:::1;55010:85;55025:6;:13;55023:1;:15;55010:85;;;55082:10;55093:1;55082:13;;;;;;;;:::i;:::-;;;;;;;55052:16;:27;55069:6;55076:1;55069:9;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1::0;;;;;55052:27:0::1;-1:-1:-1::0;;;;;55052:27:0::1;;;;;;;;;;;;;:43;;;;;;;;;;;;;;;;;;55039:3;;;;;:::i;:::-;;;;55010:85;;50146:334:::0;;;;;;;;;;;;;;-1:-1:-1;;;;;50146:334:0;;-1:-1:-1;50146:334:0;:::o;23993:328::-;24168:41;8146:10;24201:7;24168:18;:41::i;:::-;24160:103;;;;-1:-1:-1;;;24160:103:0;;;;;;;:::i;:::-;24274:39;24288:4;24294:2;24298:7;24307:5;24274:13;:39::i;53350:416::-;25896:4;25920:16;;;:7;:16;;;;;;53448:13;;-1:-1:-1;;;;;25920:16:0;53473:97;;;;-1:-1:-1;;;53473:97:0;;17316:2:1;53473:97:0;;;17298:21:1;17355:2;17335:18;;;17328:30;17394:34;17374:18;;;17367:62;-1:-1:-1;;;17445:18:1;;;17438:45;17500:19;;53473:97:0;17114:411:1;53473:97:0;53579:28;53610:10;:8;:10::i;:::-;53579:41;;53665:1;53640:14;53634:28;:32;:126;;53750:10;53634:126;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53702:14;53718:18;:7;:16;:18::i;:::-;53685:52;;;;;;;;;:::i;:::-;;;;;;;;;;;;;53634:126;53627:133;53350:416;-1:-1:-1;;;53350:416:0:o;55761:424::-;40903:6;;-1:-1:-1;;;;;40903:6:0;8146:10;41050:23;41042:68;;;;-1:-1:-1;;;41042:68:0;;;;;;;:::i;:::-;55830:21:::1;55866:14:::0;55858:23:::1;;;::::0;::::1;;55893:9;55888:150;55912:23;55934:1;55912:21;:23;:::i;:::-;55908:1;:27;55888:150;;;55951:79;55961:14;55976:1;55961:17;;;;;;;:::i;:::-;;;;;;;;;;-1:-1:-1::0;;;;;55961:17:0::1;55980:49;56023:5;55980:38;55995:19;56015:1;55995:22;;;;;;;;:::i;:::-;;;;;;;;;55980:10;:14;;:38;;;;:::i;:49::-;55951:9;:79::i;:::-;55937:3:::0;::::1;::::0;::::1;:::i;:::-;;;;55888:150;;;-1:-1:-1::0;56106:73:0::1;56116:14;56131:23;56153:1;56131:21;:23;:::i;:::-;56116:39;;;;;;;:::i;:::-;;::::0;-1:-1:-1;;;;;56116:39:0::1;56157:21;56106:9;:73::i;:::-;55802:383;55761:424::o:0;50485:66::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;50485:66:0;:::o;53772:122::-;53816:13;53873;53856:31;;;;;;;;:::i;:::-;;;;;;;;;;;;;53842:46;;53772:122;:::o;54152:85::-;40903:6;;-1:-1:-1;;;;;40903:6:0;8146:10;41050:23;41042:68;;;;-1:-1:-1;;;41042:68:0;;;;;;;:::i;:::-;54207:5:::1;::::0;54215:1:::1;54207:5;::::0;;::::1;;;:9;54199:18;;;::::0;::::1;;54224:5;:7:::0;;::::1;::::0;::::1;;;::::0;:5:::1;:7;::::0;::::1;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;54152:85::o:0;41730:192::-;40903:6;;-1:-1:-1;;;;;40903:6:0;8146:10;41050:23;41042:68;;;;-1:-1:-1;;;41042:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;41819:22:0;::::1;41811:73;;;::::0;-1:-1:-1;;;41811:73:0;;12245:2:1;41811:73:0::1;::::0;::::1;12227:21:1::0;12284:2;12264:18;;;12257:30;12323:34;12303:18;;;12296:62;-1:-1:-1;;;12374:18:1;;;12367:36;12420:19;;41811:73:0::1;12043:402:1::0;41811:73:0::1;41895:19;41905:8;41895:9;:19::i;33760:224::-:0;33862:4;-1:-1:-1;;;;;;33886:50:0;;-1:-1:-1;;;33886:50:0;;:90;;;33940:36;33964:11;33940:23;:36::i;29813:174::-;29888:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;29888:29:0;-1:-1:-1;;;;;29888:29:0;;;;;;;;:24;;29942:23;29888:24;29942:14;:23::i;:::-;-1:-1:-1;;;;;29933:46:0;;;;;;;;;;;29813:174;;:::o;26125:348::-;26218:4;25920:16;;;:7;:16;;;;;;-1:-1:-1;;;;;25920:16:0;26235:73;;;;-1:-1:-1;;;26235:73:0;;14112:2:1;26235:73:0;;;14094:21:1;14151:2;14131:18;;;14124:30;14190:34;14170:18;;;14163:62;-1:-1:-1;;;14241:18:1;;;14234:42;14293:19;;26235:73:0;13910:408:1;26235:73:0;26319:13;26335:23;26350:7;26335:14;:23::i;:::-;26319:39;;26388:5;-1:-1:-1;;;;;26377:16:0;:7;-1:-1:-1;;;;;26377:16:0;;:51;;;;26421:7;-1:-1:-1;;;;;26397:31:0;:20;26409:7;26397:11;:20::i;:::-;-1:-1:-1;;;;;26397:31:0;;26377:51;:87;;;-1:-1:-1;;;;;;23217:25:0;;;23193:4;23217:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;26432:32;26369:96;26125:348;-1:-1:-1;;;;26125:348:0:o;29117:578::-;29276:4;-1:-1:-1;;;;;29249:31:0;:23;29264:7;29249:14;:23::i;:::-;-1:-1:-1;;;;;29249:31:0;;29241:85;;;;-1:-1:-1;;;29241:85:0;;16906:2:1;29241:85:0;;;16888:21:1;16945:2;16925:18;;;16918:30;16984:34;16964:18;;;16957:62;-1:-1:-1;;;17035:18:1;;;17028:39;17084:19;;29241:85:0;16704:405:1;29241:85:0;-1:-1:-1;;;;;29345:16:0;;29337:65;;;;-1:-1:-1;;;29337:65:0;;13353:2:1;29337:65:0;;;13335:21:1;13392:2;13372:18;;;13365:30;13431:34;13411:18;;;13404:62;-1:-1:-1;;;13482:18:1;;;13475:34;13526:19;;29337:65:0;13151:400:1;29337:65:0;29415:39;29436:4;29442:2;29446:7;29415:20;:39::i;:::-;29519:29;29536:1;29540:7;29519:8;:29::i;:::-;-1:-1:-1;;;;;29561:15:0;;;;;;:9;:15;;;;;:20;;29580:1;;29561:15;:20;;29580:1;;29561:20;:::i;:::-;;;;-1:-1:-1;;;;;;;29592:13:0;;;;;;:9;:13;;;;;:18;;29609:1;;29592:13;:18;;29609:1;;29592:18;:::i;:::-;;;;-1:-1:-1;;29621:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;29621:21:0;-1:-1:-1;;;;;29621:21:0;;;;;;;;;29660:27;;29621:16;;29660:27;;;;;;;29117:578;;;:::o;45557:98::-;45615:7;45642:5;45646:1;45642;:5;:::i;45956:98::-;46014:7;46041:5;46045:1;46041;:5;:::i;26815:110::-;26891:26;26901:2;26905:7;26891:26;;;;;;;;;;;;:9;:26::i;41930:173::-;42005:6;;;-1:-1:-1;;;;;42022:17:0;;;-1:-1:-1;;;;;;42022:17:0;;;;;;;42055:40;;42005:6;;;42022:17;42005:6;;42055:40;;41986:16;;42055:40;41975:128;41930:173;:::o;25203:315::-;25360:28;25370:4;25376:2;25380:7;25360:9;:28::i;:::-;25407:48;25430:4;25436:2;25440:7;25449:5;25407:22;:48::i;:::-;25399:111;;;;-1:-1:-1;;;25399:111:0;;;;;;;:::i;51055:102::-;51115:13;51144:7;51137:14;;;;;:::i;5761:723::-;5817:13;6038:10;6034:53;;-1:-1:-1;;6065:10:0;;;;;;;;;;;;-1:-1:-1;;;6065:10:0;;;;;5761:723::o;6034:53::-;6112:5;6097:12;6153:78;6160:9;;6153:78;;6186:8;;;;:::i;:::-;;-1:-1:-1;6209:10:0;;-1:-1:-1;6217:2:0;6209:10;;:::i;:::-;;;6153:78;;;6241:19;6273:6;6263:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;6263:17:0;;6241:39;;6291:154;6298:10;;6291:154;;6325:11;6335:1;6325:11;;:::i;:::-;;-1:-1:-1;6394:10:0;6402:2;6394:5;:10;:::i;:::-;6381:24;;:2;:24;:::i;:::-;6368:39;;6351:6;6358;6351:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;6351:56:0;;;;;;;;-1:-1:-1;6422:11:0;6431:2;6422:11;;:::i;:::-;;;6291:154;;56191:156;56255:12;56272:5;-1:-1:-1;;;;;56272:10:0;56290:4;56272:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56254:45;;;56314:7;56306:35;;;;-1:-1:-1;;;56306:35:0;;12652:2:1;56306:35:0;;;12634:21:1;12691:2;12671:18;;;12664:30;-1:-1:-1;;;12710:18:1;;;12703:45;12765:18;;56306:35:0;12450:339:1;19933:305:0;20035:4;-1:-1:-1;;;;;;20072:40:0;;-1:-1:-1;;;20072:40:0;;:105;;-1:-1:-1;;;;;;;20129:48:0;;-1:-1:-1;;;20129:48:0;20072:105;:158;;;-1:-1:-1;;;;;;;;;;18649:40:0;;;20194:36;18540:157;35436:589;-1:-1:-1;;;;;35642:18:0;;35638:187;;35677:40;35709:7;36852:10;:17;;36825:24;;;;:15;:24;;;;;:44;;;36880:24;;;;;;;;;;;;36748:164;35677:40;35638:187;;;35747:2;-1:-1:-1;;;;;35739:10:0;:4;-1:-1:-1;;;;;35739:10:0;;35735:90;;35766:47;35799:4;35805:7;35766:32;:47::i;:::-;-1:-1:-1;;;;;35839:16:0;;35835:183;;35872:45;35909:7;35872:36;:45::i;35835:183::-;35945:4;-1:-1:-1;;;;;35939:10:0;:2;-1:-1:-1;;;;;35939:10:0;;35935:83;;35966:40;35994:2;35998:7;35966:27;:40::i;27152:321::-;27282:18;27288:2;27292:7;27282:5;:18::i;:::-;27333:54;27364:1;27368:2;27372:7;27381:5;27333:22;:54::i;:::-;27311:154;;;;-1:-1:-1;;;27311:154:0;;;;;;;:::i;30552:799::-;30707:4;-1:-1:-1;;;;;30728:13:0;;10818:20;10866:8;30724:620;;30764:72;;-1:-1:-1;;;30764:72:0;;-1:-1:-1;;;;;30764:36:0;;;;;:72;;8146:10;;30815:4;;30821:7;;30830:5;;30764:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;30764:72:0;;;;;;;;-1:-1:-1;;30764:72:0;;;;;;;;;;;;:::i;:::-;;;30760:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;31006:13:0;;31002:272;;31049:60;;-1:-1:-1;;;31049:60:0;;;;;;;:::i;31002:272::-;31224:6;31218:13;31209:6;31205:2;31201:15;31194:38;30760:529;-1:-1:-1;;;;;;30887:51:0;-1:-1:-1;;;30887:51:0;;-1:-1:-1;30880:58:0;;30724:620;-1:-1:-1;31328:4:0;30552:799;;;;;;:::o;37539:988::-;37805:22;37855:1;37830:22;37847:4;37830:16;:22::i;:::-;:26;;;;:::i;:::-;37867:18;37888:26;;;:17;:26;;;;;;37805:51;;-1:-1:-1;38021:28:0;;;38017:328;;-1:-1:-1;;;;;38088:18:0;;38066:19;38088:18;;;:12;:18;;;;;;;;:34;;;;;;;;;38139:30;;;;;;:44;;;38256:30;;:17;:30;;;;;:43;;;38017:328;-1:-1:-1;38441:26:0;;;;:17;:26;;;;;;;;38434:33;;;-1:-1:-1;;;;;38485:18:0;;;;;:12;:18;;;;;:34;;;;;;;38478:41;37539:988::o;38822:1079::-;39100:10;:17;39075:22;;39100:21;;39120:1;;39100:21;:::i;:::-;39132:18;39153:24;;;:15;:24;;;;;;39526:10;:26;;39075:46;;-1:-1:-1;39153:24:0;;39075:46;;39526:26;;;;;;:::i;:::-;;;;;;;;;39504:48;;39590:11;39565:10;39576;39565:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;39670:28;;;:15;:28;;;;;;;:41;;;39842:24;;;;;39835:31;39877:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;38893:1008;;;38822:1079;:::o;36326:221::-;36411:14;36428:20;36445:2;36428:16;:20::i;:::-;-1:-1:-1;;;;;36459:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;36504:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;36326:221:0:o;27809:382::-;-1:-1:-1;;;;;27889:16:0;;27881:61;;;;-1:-1:-1;;;27881:61:0;;15771:2:1;27881:61:0;;;15753:21:1;;;15790:18;;;15783:30;15849:34;15829:18;;;15822:62;15901:18;;27881:61:0;15569:356:1;27881:61:0;25896:4;25920:16;;;:7;:16;;;;;;-1:-1:-1;;;;;25920:16:0;:30;27953:58;;;;-1:-1:-1;;;27953:58:0;;12996:2:1;27953:58:0;;;12978:21:1;13035:2;13015:18;;;13008:30;13074;13054:18;;;13047:58;13122:18;;27953:58:0;12794:352:1;27953:58:0;28024:45;28053:1;28057:2;28061:7;28024:20;:45::i;:::-;-1:-1:-1;;;;;28082:13:0;;;;;;:9;:13;;;;;:18;;28099:1;;28082:13;:18;;28099:1;;28082:18;:::i;:::-;;;;-1:-1:-1;;28111:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;28111:21:0;-1:-1:-1;;;;;28111:21:0;;;;;;;;28150:33;;28111:16;;;28150:33;;28111:16;;28150:33;27809:382;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:406:1;78:5;112:18;104:6;101:30;98:56;;;134:18;;:::i;:::-;172:57;217:2;196:15;;-1:-1:-1;;192:29:1;223:4;188:40;172:57;:::i;:::-;163:66;;252:6;245:5;238:21;292:3;283:6;278:3;274:16;271:25;268:45;;;309:1;306;299:12;268:45;358:6;353:3;346:4;339:5;335:16;322:43;412:1;405:4;396:6;389:5;385:18;381:29;374:40;14:406;;;;;:::o;425:173::-;493:20;;-1:-1:-1;;;;;542:31:1;;532:42;;522:70;;588:1;585;578:12;522:70;425:173;;;:::o;603:679::-;657:5;710:3;703:4;695:6;691:17;687:27;677:55;;728:1;725;718:12;677:55;764:6;751:20;790:4;814:60;830:43;870:2;830:43;:::i;:::-;814:60;:::i;:::-;896:3;920:2;915:3;908:15;948:2;943:3;939:12;932:19;;983:2;975:6;971:15;1035:3;1030:2;1024;1021:1;1017:10;1009:6;1005:23;1001:32;998:41;995:61;;;1052:1;1049;1042:12;995:61;1074:1;1084:169;1098:2;1095:1;1092:9;1084:169;;;1155:23;1174:3;1155:23;:::i;:::-;1143:36;;1199:12;;;;1231;;;;1116:1;1109:9;1084:169;;;-1:-1:-1;1271:5:1;;603:679;-1:-1:-1;;;;;;;603:679:1:o;1287:160::-;1352:20;;1408:13;;1401:21;1391:32;;1381:60;;1437:1;1434;1427:12;1452:156;1518:20;;1578:4;1567:16;;1557:27;;1547:55;;1598:1;1595;1588:12;1613:186;1672:6;1725:2;1713:9;1704:7;1700:23;1696:32;1693:52;;;1741:1;1738;1731:12;1693:52;1764:29;1783:9;1764:29;:::i;1804:260::-;1872:6;1880;1933:2;1921:9;1912:7;1908:23;1904:32;1901:52;;;1949:1;1946;1939:12;1901:52;1972:29;1991:9;1972:29;:::i;:::-;1962:39;;2020:38;2054:2;2043:9;2039:18;2020:38;:::i;:::-;2010:48;;1804:260;;;;;:::o;2069:328::-;2146:6;2154;2162;2215:2;2203:9;2194:7;2190:23;2186:32;2183:52;;;2231:1;2228;2221:12;2183:52;2254:29;2273:9;2254:29;:::i;:::-;2244:39;;2302:38;2336:2;2325:9;2321:18;2302:38;:::i;:::-;2292:48;;2387:2;2376:9;2372:18;2359:32;2349:42;;2069:328;;;;;:::o;2402:666::-;2497:6;2505;2513;2521;2574:3;2562:9;2553:7;2549:23;2545:33;2542:53;;;2591:1;2588;2581:12;2542:53;2614:29;2633:9;2614:29;:::i;:::-;2604:39;;2662:38;2696:2;2685:9;2681:18;2662:38;:::i;:::-;2652:48;;2747:2;2736:9;2732:18;2719:32;2709:42;;2802:2;2791:9;2787:18;2774:32;2829:18;2821:6;2818:30;2815:50;;;2861:1;2858;2851:12;2815:50;2884:22;;2937:4;2929:13;;2925:27;-1:-1:-1;2915:55:1;;2966:1;2963;2956:12;2915:55;2989:73;3054:7;3049:2;3036:16;3031:2;3027;3023:11;2989:73;:::i;:::-;2979:83;;;2402:666;;;;;;;:::o;3073:254::-;3138:6;3146;3199:2;3187:9;3178:7;3174:23;3170:32;3167:52;;;3215:1;3212;3205:12;3167:52;3238:29;3257:9;3238:29;:::i;:::-;3228:39;;3286:35;3317:2;3306:9;3302:18;3286:35;:::i;3332:254::-;3400:6;3408;3461:2;3449:9;3440:7;3436:23;3432:32;3429:52;;;3477:1;3474;3467:12;3429:52;3500:29;3519:9;3500:29;:::i;:::-;3490:39;3576:2;3561:18;;;;3548:32;;-1:-1:-1;;;3332:254:1:o;3591:348::-;3675:6;3728:2;3716:9;3707:7;3703:23;3699:32;3696:52;;;3744:1;3741;3734:12;3696:52;3784:9;3771:23;3817:18;3809:6;3806:30;3803:50;;;3849:1;3846;3839:12;3803:50;3872:61;3925:7;3916:6;3905:9;3901:22;3872:61;:::i;3944:1151::-;4060:6;4068;4121:2;4109:9;4100:7;4096:23;4092:32;4089:52;;;4137:1;4134;4127:12;4089:52;4177:9;4164:23;4206:18;4247:2;4239:6;4236:14;4233:34;;;4263:1;4260;4253:12;4233:34;4286:61;4339:7;4330:6;4319:9;4315:22;4286:61;:::i;:::-;4276:71;;4366:2;4356:12;;4421:2;4410:9;4406:18;4393:32;4450:2;4440:8;4437:16;4434:36;;;4466:1;4463;4456:12;4434:36;4489:24;;;-1:-1:-1;4544:4:1;4536:13;;4532:27;-1:-1:-1;4522:55:1;;4573:1;4570;4563:12;4522:55;4609:2;4596:16;4632:60;4648:43;4688:2;4648:43;:::i;4632:60::-;4714:3;4738:2;4733:3;4726:15;4766:2;4761:3;4757:12;4750:19;;4797:2;4793;4789:11;4845:7;4840:2;4834;4831:1;4827:10;4823:2;4819:19;4815:28;4812:41;4809:61;;;4866:1;4863;4856:12;4809:61;4888:1;4879:10;;4898:167;4912:2;4909:1;4906:9;4898:167;;;4969:21;4986:3;4969:21;:::i;:::-;4957:34;;4930:1;4923:9;;;;;5011:12;;;;5043;;4898:167;;;4902:3;5084:5;5074:15;;;;;;;3944:1151;;;;;:::o;5100:180::-;5156:6;5209:2;5197:9;5188:7;5184:23;5180:32;5177:52;;;5225:1;5222;5215:12;5177:52;5248:26;5264:9;5248:26;:::i;5285:245::-;5343:6;5396:2;5384:9;5375:7;5371:23;5367:32;5364:52;;;5412:1;5409;5402:12;5364:52;5451:9;5438:23;5470:30;5494:5;5470:30;:::i;5535:249::-;5604:6;5657:2;5645:9;5636:7;5632:23;5628:32;5625:52;;;5673:1;5670;5663:12;5625:52;5705:9;5699:16;5724:30;5748:5;5724:30;:::i;5789:450::-;5858:6;5911:2;5899:9;5890:7;5886:23;5882:32;5879:52;;;5927:1;5924;5917:12;5879:52;5967:9;5954:23;6000:18;5992:6;5989:30;5986:50;;;6032:1;6029;6022:12;5986:50;6055:22;;6108:4;6100:13;;6096:27;-1:-1:-1;6086:55:1;;6137:1;6134;6127:12;6086:55;6160:73;6225:7;6220:2;6207:16;6202:2;6198;6194:11;6160:73;:::i;6244:180::-;6303:6;6356:2;6344:9;6335:7;6331:23;6327:32;6324:52;;;6372:1;6369;6362:12;6324:52;-1:-1:-1;6395:23:1;;6244:180;-1:-1:-1;6244:180:1:o;6429:254::-;6497:6;6505;6558:2;6546:9;6537:7;6533:23;6529:32;6526:52;;;6574:1;6571;6564:12;6526:52;6610:9;6597:23;6587:33;;6639:38;6673:2;6662:9;6658:18;6639:38;:::i;6688:248::-;6756:6;6764;6817:2;6805:9;6796:7;6792:23;6788:32;6785:52;;;6833:1;6830;6823:12;6785:52;-1:-1:-1;;6856:23:1;;;6926:2;6911:18;;;6898:32;;-1:-1:-1;6688:248:1:o;6941:182::-;6998:6;7051:2;7039:9;7030:7;7026:23;7022:32;7019:52;;;7067:1;7064;7057:12;7019:52;7090:27;7107:9;7090:27;:::i;7128:257::-;7169:3;7207:5;7201:12;7234:6;7229:3;7222:19;7250:63;7306:6;7299:4;7294:3;7290:14;7283:4;7276:5;7272:16;7250:63;:::i;:::-;7367:2;7346:15;-1:-1:-1;;7342:29:1;7333:39;;;;7374:4;7329:50;;7128:257;-1:-1:-1;;7128:257:1:o;7390:470::-;7569:3;7607:6;7601:13;7623:53;7669:6;7664:3;7657:4;7649:6;7645:17;7623:53;:::i;:::-;7739:13;;7698:16;;;;7761:57;7739:13;7698:16;7795:4;7783:17;;7761:57;:::i;:::-;7834:20;;7390:470;-1:-1:-1;;;;7390:470:1:o;7865:1099::-;7993:3;8022:1;8055:6;8049:13;8085:3;8107:1;8135:9;8131:2;8127:18;8117:28;;8195:2;8184:9;8180:18;8217;8207:61;;8261:4;8253:6;8249:17;8239:27;;8207:61;8287:2;8335;8327:6;8324:14;8304:18;8301:38;8298:165;;;-1:-1:-1;;;8362:33:1;;8418:4;8415:1;8408:15;8448:4;8369:3;8436:17;8298:165;8479:18;8506:104;;;;8624:1;8619:320;;;;8472:467;;8506:104;-1:-1:-1;;8539:24:1;;8527:37;;8584:16;;;;-1:-1:-1;8506:104:1;;8619:320;19675:1;19668:14;;;19712:4;19699:18;;8714:1;8728:165;8742:6;8739:1;8736:13;8728:165;;;8820:14;;8807:11;;;8800:35;8863:16;;;;8757:10;;8728:165;;;8732:3;;8922:6;8917:3;8913:16;8906:23;;8472:467;-1:-1:-1;8955:3:1;;7865:1099;-1:-1:-1;;;;;;;;7865:1099:1:o;9387:488::-;-1:-1:-1;;;;;9656:15:1;;;9638:34;;9708:15;;9703:2;9688:18;;9681:43;9755:2;9740:18;;9733:34;;;9803:3;9798:2;9783:18;;9776:31;;;9581:4;;9824:45;;9849:19;;9841:6;9824:45;:::i;:::-;9816:53;9387:488;-1:-1:-1;;;;;;9387:488:1:o;10159:632::-;10330:2;10382:21;;;10452:13;;10355:18;;;10474:22;;;10301:4;;10330:2;10553:15;;;;10527:2;10512:18;;;10301:4;10596:169;10610:6;10607:1;10604:13;10596:169;;;10671:13;;10659:26;;10740:15;;;;10705:12;;;;10632:1;10625:9;10596:169;;;-1:-1:-1;10782:3:1;;10159:632;-1:-1:-1;;;;;;10159:632:1:o;10988:219::-;11137:2;11126:9;11119:21;11100:4;11157:44;11197:2;11186:9;11182:18;11174:6;11157:44;:::i;11624:414::-;11826:2;11808:21;;;11865:2;11845:18;;;11838:30;11904:34;11899:2;11884:18;;11877:62;-1:-1:-1;;;11970:2:1;11955:18;;11948:48;12028:3;12013:19;;11624:414::o;16343:356::-;16545:2;16527:21;;;16564:18;;;16557:30;16623:34;16618:2;16603:18;;16596:62;16690:2;16675:18;;16343:356::o;17932:413::-;18134:2;18116:21;;;18173:2;18153:18;;;18146:30;18212:34;18207:2;18192:18;;18185:62;-1:-1:-1;;;18278:2:1;18263:18;;18256:47;18335:3;18320:19;;17932:413::o;19134:275::-;19205:2;19199:9;19270:2;19251:13;;-1:-1:-1;;19247:27:1;19235:40;;19305:18;19290:34;;19326:22;;;19287:62;19284:88;;;19352:18;;:::i;:::-;19388:2;19381:22;19134:275;;-1:-1:-1;19134:275:1:o;19414:183::-;19474:4;19507:18;19499:6;19496:30;19493:56;;;19529:18;;:::i;:::-;-1:-1:-1;19574:1:1;19570:14;19586:4;19566:25;;19414:183::o;19728:128::-;19768:3;19799:1;19795:6;19792:1;19789:13;19786:39;;;19805:18;;:::i;:::-;-1:-1:-1;19841:9:1;;19728:128::o;19861:204::-;19899:3;19935:4;19932:1;19928:12;19967:4;19964:1;19960:12;20002:3;19996:4;19992:14;19987:3;19984:23;19981:49;;;20010:18;;:::i;:::-;20046:13;;19861:204;-1:-1:-1;;;19861:204:1:o;20070:120::-;20110:1;20136;20126:35;;20141:18;;:::i;:::-;-1:-1:-1;20175:9:1;;20070:120::o;20195:168::-;20235:7;20301:1;20297;20293:6;20289:14;20286:1;20283:21;20278:1;20271:9;20264:17;20260:45;20257:71;;;20308:18;;:::i;:::-;-1:-1:-1;20348:9:1;;20195:168::o;20368:125::-;20408:4;20436:1;20433;20430:8;20427:34;;;20441:18;;:::i;:::-;-1:-1:-1;20478:9:1;;20368:125::o;20498:195::-;20536:4;20573;20570:1;20566:12;20605:4;20602:1;20598:12;20630:3;20625;20622:12;20619:38;;;20637:18;;:::i;:::-;20674:13;;;20498:195;-1:-1:-1;;;20498:195:1:o;20698:258::-;20770:1;20780:113;20794:6;20791:1;20788:13;20780:113;;;20870:11;;;20864:18;20851:11;;;20844:39;20816:2;20809:10;20780:113;;;20911:6;20908:1;20905:13;20902:48;;;-1:-1:-1;;20946:1:1;20928:16;;20921:27;20698:258::o;20961:380::-;21040:1;21036:12;;;;21083;;;21104:61;;21158:4;21150:6;21146:17;21136:27;;21104:61;21211:2;21203:6;21200:14;21180:18;21177:38;21174:161;;;21257:10;21252:3;21248:20;21245:1;21238:31;21292:4;21289:1;21282:15;21320:4;21317:1;21310:15;21174:161;;20961:380;;;:::o;21346:135::-;21385:3;-1:-1:-1;;21406:17:1;;21403:43;;;21426:18;;:::i;:::-;-1:-1:-1;21473:1:1;21462:13;;21346:135::o;21486:175::-;21523:3;21567:4;21560:5;21556:16;21596:4;21587:7;21584:17;21581:43;;;21604:18;;:::i;:::-;21653:1;21640:15;;21486:175;-1:-1:-1;;21486:175:1:o;21666:112::-;21698:1;21724;21714:35;;21729:18;;:::i;:::-;-1:-1:-1;21763:9:1;;21666:112::o;21783:127::-;21844:10;21839:3;21835:20;21832:1;21825:31;21875:4;21872:1;21865:15;21899:4;21896:1;21889:15;21915:127;21976:10;21971:3;21967:20;21964:1;21957:31;22007:4;22004:1;21997:15;22031:4;22028:1;22021:15;22047:127;22108:10;22103:3;22099:20;22096:1;22089:31;22139:4;22136:1;22129:15;22163:4;22160:1;22153:15;22179:127;22240:10;22235:3;22231:20;22228:1;22221:31;22271:4;22268:1;22261:15;22295:4;22292:1;22285:15;22311:127;22372:10;22367:3;22363:20;22360:1;22353:31;22403:4;22400:1;22393:15;22427:4;22424:1;22417:15;22443:127;22504:10;22499:3;22495:20;22492:1;22485:31;22535:4;22532:1;22525:15;22559:4;22556:1;22549:15;22575:131;-1:-1:-1;;;;;;22649:32:1;;22639:43;;22629:71;;22696:1;22693;22686:12

Swarm Source

ipfs://411b0406ff3a25df94ee5f072bc6a57a5fcfabf1c79183d60409862748e713b1

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

OVERVIEW

In a magical world where apes ruled the metaverse, a magical thousand-year-old tree sprouted cute baby apes. A flock of storks were the loyal companions of the thousand-year-old tree. One sunny day, a total of 9999 baby apes were born. Storks followed their inner call and deli...

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.