ETH Price: $3,891.62 (-1.01%)

Token

NEKOMEKA (NEKOMEKA)
 

Overview

Max Total Supply

5,256 NEKOMEKA

Holders

1,530

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
cryptom-nft.eth
Balance
20 NEKOMEKA
0xb688f02b24accd0dc7dfcc604aad18e79f5db2c2
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
NekoMeka

Compiler Version
v0.8.10+commit.fc410830

Optimization Enabled:
Yes with 999999 runs

Other Settings:
default evmVersion
File 1 of 18 : NekoMeka.sol
//SPDX-License-Identifier: MIT
pragma solidity 0.8.10;

import "./AbstractNekoMeka.sol";

/**
 * @dev Contracat contains hard coded constructor for AbstractNekoMeka.
 */
contract NekoMeka is AbstractNekoMeka {
    /**
     * @notice The traits provenance hash is to prove the immutability of each NEKOMEKA's metadata attribute array, i.e.
     * to prove Gary and DW cannot change any attributes of any NEKOMEKA once the contract is deployed.
     * @dev This is a root hash of all 11,000 NEKOMEKA attributes hash, using the SHA-256 algorithm, concatenated in
     * sequential order of their token ids.
     */
    string public constant TRAITS_PROVENANCE_HASH =
        "696e2beb0c27691de6c27d55d08347577f7fb4aaf23a1147a8bcf63527cc11bd";

    /**
     * @notice The assets provenance hash is to prove the immutability of each NEKOMEKA's attached assets, including
     * the image files and model files. This is immutable once being set, and will be set before the reveal day.
     */
    string public ASSETS_PROVENANCE_HASH;

    constructor()
        AbstractNekoMeka(
            "NEKOMEKA",
            "NEKOMEKA",
            11000,
            1000,
            address(0x0A8EB54B0123778291a3CDDD2074c9CE8B2cFAE5),
            0.35 ether,
            0
        )
    // solhint-disable-next-line no-empty-blocks
    {

    }

    function setAssetsHash(string calldata _assetsHash) external onlyOwner {
        require(bytes(ASSETS_PROVENANCE_HASH).length == 0, "MEKA: assets hash must be immutable");
        ASSETS_PROVENANCE_HASH = _assetsHash;
    }
}

// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@   @@@@@@@@@@@ @@@@@@@@@@@
// @@@@@@@@@@@@@ @@@@         @ @@@@@@@@@@@
// @@@@@@@@@@@@@ @@@@@@@@@@@@@@ @@@@@@@@@@@
// @@@@@@@@@@@@@@ @@@@@@@@@@@@@ @@@@@@@@@@@
// @@@@@@@@@@@@@ @@@@@@   @@@@ @ @@@@@@@@@@
// @@@@@@@@@@@@@ @@@@@@@@@@@##@@ @@@@@@@@@@
// @@@@@@@@@@@@@@@  @@@@@@@ @@@ @@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@ @@@@    @@@@@@@@@@@@@
// @@@@@@@@@@@@@@@  @@@@@@@@@@@ @@@@@@@@@@@
// @@@@@  @@@  @    @@@@@@@@@@@  @@@@@@@@@@
// @@@@ @@ @@  @@@  @@@@@@@@@@@ @@@ @@@@@@@
// @@@@ @@@    @@@@@ @@@@%@@@@ @@@@ @@@@@@@
// @@@@@@@       @@@ @@@@ @@@@ @ @@@@@@@@@@
// @@@@@@@@@@@@@@................@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

File 2 of 18 : AbstractNekoMeka.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.10;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/utils/structs/BitMaps.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "./Schedulable.sol";
import "./NekoMekaEnumerable.sol";

/**
 * @dev Abstract contracat contains most of the business logic of NEKOMEKA.
 */
abstract contract AbstractNekoMeka is NekoMekaEnumerable, Schedulable, Ownable, Pausable {
    using BitMaps for BitMaps.BitMap;
    using Address for address;

    address public immutable nekoContractAddress;
    uint256 public immutable price;

    // Bsae URI of NekoMeka's metadata
    string private baseURI;

    // Mapping with all claimed neko token ids
    BitMaps.BitMap private _nekosClaimedBitMap;

    // Check
    bool public revealed = false;

    constructor(
        string memory name_,
        string memory symbol_,
        uint16 _mintable,
        uint16 _buyable,
        address _nekoContractAddress,
        uint256 _price,
        uint256 _startTime
    )
        NekoMekaEnumerable(_mintable, _buyable) // prettier-ignore
        ERC721(name_, symbol_) // prettier-ignore
        Schedulable(_startTime) // prettier-ignore
    {
        nekoContractAddress = _nekoContractAddress;
        price = _price;
    }

    function validMintAmount(uint256 _amount, uint256 _maxAmount) internal pure returns (bool) {
        return _amount > 0 && _amount <= _maxAmount;
    }

    function batchLimit() public view returns (uint256) {
        return revealed ? 3 : 20;
    }

    function isClaimed(uint256 _tokenId) public view returns (bool) {
        return _nekosClaimedBitMap.get(_tokenId);
    }

    function _setClaimed(uint256 _tokenId) internal {
        _nekosClaimedBitMap.set(_tokenId);
    }

    function claim(uint256[] calldata _nekoTokenIds) external whenSaleStarted whenNotPaused {
        uint256 _amount = _nekoTokenIds.length;
        require(validMintAmount(_amount, batchLimit()), "MEKA: Over batch limit");
        require(!msg.sender.isContract(), "MEKA: Caller cannot be contract");

        ERC721 nekoContract = ERC721(nekoContractAddress);
        uint256 currentMinted = totalSupply();
        _claimed += uint16(_amount);
        for (uint256 i; i < _amount; i++) {
            uint256 tokenId = _nekoTokenIds[i];
            require(!isClaimed(tokenId), "MEKA: Token claimed already");
            require(nekoContract.ownerOf(tokenId) == msg.sender, "MEKA: Owner not match");
            _setClaimed(tokenId);
            _mint(msg.sender, _pickRandomId(currentMinted + i));
        }
    }

    function mint(uint16 _amount) external payable whenSaleStarted whenNotPaused {
        require(_sold < buyable, "MEKA: All sold");
        require(_sold + _amount <= buyable, "MEKA: Exceeded buyable limit");
        require(validMintAmount(_amount, batchLimit()), "MEKA: Over batch limit");
        require(msg.value >= price * _amount, "MEKA: Incorrect price");
        require(!msg.sender.isContract(), "MEKA: Caller cannot be contract");

        uint256 currentMinted = totalSupply();
        _sold += _amount;
        for (uint256 i; i < _amount; i++) {
            _mint(msg.sender, _pickRandomId(currentMinted + i));
        }
    }

    function reserve() external onlyOwner {
        require(_sold == 0, "MEKA: Sales already started");
        _sold += 10;
        uint256 lastIndex = mintable;
        for (uint256 i; i < 10; i++) {
            lastIndex--;
            _tokensByReversedIndex[lastIndex] = uint16(i);
            _tokensByReversedIndex[i] = uint16(lastIndex);
            _mint(msg.sender, i);
        }
    }

    function setRevealed() external onlyOwner {
        revealed = true;
    }

    function withdrawAll() external payable onlyOwner {
        require(payable(msg.sender).send(address(this).balance), "MEKA: Cannot withdraw");
    }

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

    function setBaseURI(string calldata baseURI_) external onlyOwner {
        baseURI = baseURI_;
    }

    // Pausable related
    function pause() external onlyOwner {
        _pause();
    }

    function unpause() external onlyOwner {
        _unpause();
    }

    // Schedulable related
    function setStartTime(uint256 _start) external onlyOwner whenSaleNotStarted {
        // solhint-disable-next-line not-rely-on-time
        require(_start > block.timestamp, "MEKA: Cannot start from past");
        _setStartTime(_start);
    }

    // For validation only
    function claimedBitMaps(uint256[] calldata indexes)
        external
        view
        returns (uint256[] memory words)
    {
        words = new uint256[](indexes.length);
        for (uint256 i; i < indexes.length; i++) {
            words[i] = _nekosClaimedBitMap._data[i];
        }
    }
}

// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@@@@@@@@@@@@@   @@@@@@@@@@@ @@@@@@@@@@@
// @@@@@@@@@@@@@ @@@@         @ @@@@@@@@@@@
// @@@@@@@@@@@@@ @@@@@@@@@@@@@@ @@@@@@@@@@@
// @@@@@@@@@@@@@@ @@@@@@@@@@@@@ @@@@@@@@@@@
// @@@@@@@@@@@@@ @@@@@@   @@@@ @ @@@@@@@@@@
// @@@@@@@@@@@@@ @@@@@@@@@@@##@@ @@@@@@@@@@
// @@@@@@@@@@@@@@@  @@@@@@@ @@@ @@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@ @@@@    @@@@@@@@@@@@@
// @@@@@@@@@@@@@@@  @@@@@@@@@@@ @@@@@@@@@@@
// @@@@@  @@@  @    @@@@@@@@@@@  @@@@@@@@@@
// @@@@ @@ @@  @@@  @@@@@@@@@@@ @@@ @@@@@@@
// @@@@ @@@    @@@@@ @@@@%@@@@ @@@@ @@@@@@@
// @@@@@@@       @@@ @@@@ @@@@ @ @@@@@@@@@@
// @@@@@@@@@@@@@@................@@@@@@@@@@
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 4 of 18 : Pausable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/Pausable.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor() {
        _paused = false;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        require(!paused(), "Pausable: paused");
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        require(paused(), "Pausable: not paused");
        _;
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

File 5 of 18 : BitMaps.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/structs/BitMaps.sol)
pragma solidity ^0.8.0;

/**
 * @dev Library for managing uint256 to bool mapping in a compact and efficient way, providing the keys are sequential.
 * Largelly inspired by Uniswap's https://github.com/Uniswap/merkle-distributor/blob/master/contracts/MerkleDistributor.sol[merkle-distributor].
 */
library BitMaps {
    struct BitMap {
        mapping(uint256 => uint256) _data;
    }

    /**
     * @dev Returns whether the bit at `index` is set.
     */
    function get(BitMap storage bitmap, uint256 index) internal view returns (bool) {
        uint256 bucket = index >> 8;
        uint256 mask = 1 << (index & 0xff);
        return bitmap._data[bucket] & mask != 0;
    }

    /**
     * @dev Sets the bit at `index` to the boolean `value`.
     */
    function setTo(
        BitMap storage bitmap,
        uint256 index,
        bool value
    ) internal {
        if (value) {
            set(bitmap, index);
        } else {
            unset(bitmap, index);
        }
    }

    /**
     * @dev Sets the bit at `index`.
     */
    function set(BitMap storage bitmap, uint256 index) internal {
        uint256 bucket = index >> 8;
        uint256 mask = 1 << (index & 0xff);
        bitmap._data[bucket] |= mask;
    }

    /**
     * @dev Unsets the bit at `index`.
     */
    function unset(BitMap storage bitmap, uint256 index) internal {
        uint256 bucket = index >> 8;
        uint256 mask = 1 << (index & 0xff);
        bitmap._data[bucket] &= ~mask;
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        require(owner != address(0), "ERC721: 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 {
        _setApprovalForAll(_msgSender(), operator, approved);
    }

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

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: 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 Approve `operator` to operate on all of `owner` tokens
     *
     * Emits a {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC721: approve to caller");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

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

File 8 of 18 : Schedulable.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.8.10;

/**
 * @dev Allow schedule start time for a contract
 */
abstract contract Schedulable {
    uint256 private _startTime;

    modifier whenSaleStarted() {
        require(hasSaleStarted(), "Schedulable: Sales not yet started");
        _;
    }

    modifier whenSaleNotStarted() {
        require(!hasSaleStarted(), "Schedulable: Sales already started");
        _;
    }

    constructor(uint256 _start) {
        _startTime = _start;
    }

    function startTime() external view returns (uint256) {
        return _startTime;
    }

    function _setStartTime(uint256 _start) internal {
        _startTime = _start;
    }

    function hasSaleStarted() public view returns (bool) {
        // solhint-disable-next-line not-rely-on-time
        return _startTime > 0 && _startTime <= block.timestamp;
    }
}

File 9 of 18 : NekoMekaEnumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.8.10;

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol";
import "./INeko.sol";

/**
 * @dev This is a fork of openzeppelin ERC721Enumerable. It is gas-optimizated for NFT collection
 * with random picked token id when minting, and support sold and claimed count. The updated part includes:
 * - replaced the array `_allToken` with a mapping `_tokensByReversedIndex`,
 * - updated the functions `totalSupply`, `tokenByIndex`, and `_beforeTokenTransfer`.
 * - added functions `_pickRandomId` for picking a non-minted random token id, and some helper functions
 *   `sold`, `claimed`
 */
abstract contract NekoMekaEnumerable is ERC721, INeko, IERC721Enumerable {
    // the number of mintable tokens, including sellable and claimable
    uint16 public immutable mintable;

    // the number of sellable tokens
    uint16 public immutable buyable;

    // the number of sold count, need to be increased by its implementaion contract
    uint16 internal _sold;

    // the number of claimed count, need to be increased by its implementaion contract
    uint16 internal _claimed;

    // Array for all token ids and reversed mint index, used for randomized id pick up and token enumeration
    // Imagine it is defined as an array of [0, 1, 2, 3, ... mintable - 1]
    // Value at the end of mapping is the first minted token id after the first mint.
    // Hardcoded 11000 since we only serve at most 11000 tokens.
    uint16[11000] internal _tokensByReversedIndex;

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

    // Fix mintable and buyable number when initialize
    constructor(uint16 mintable_, uint16 buyable_) {
        mintable = mintable_;
        buyable = buyable_;
    }

    function sold() public view returns (uint256) {
        return _sold;
    }

    function claimed() public view returns (uint256) {
        return _claimed;
    }

    /// Return a random non-picked tokenId
    /// @dev See https://en.wikipedia.org/wiki/Fisher%E2%80%93Yates_shuffle for the details of shuffling algorithm
    function _pickRandomId(uint256 _currentlyMinted) internal returns (uint256 value) {
        // Step 1. Randomly pick a slot within the non-used slots
        uint256 remaining = mintable - _currentlyMinted;
        // Randomly get the slot index for this mint cycle
        uint256 randomlyPickedIndex = uint256(
            keccak256(
                abi.encodePacked(
                    msg.sender,
                    block.difficulty,
                    // solhint-disable-next-line not-rely-on-time
                    block.timestamp,
                    remaining
                )
            )
        ) % remaining;
        // If the slot is empty, means we didn't swap it before and assume its content is same as index,
        // Otherwise, use the stored value directly
        if (_tokensByReversedIndex[randomlyPickedIndex] == 0) {
            value = randomlyPickedIndex;
        } else {
            value = _tokensByReversedIndex[randomlyPickedIndex];
        }

        // Step 2. Swap the current slot with the random picked slot
        uint256 currentSlotIndex = remaining - 1;
        // If the current slot is empty, assuming the slot == curent slot index,
        // Otherwise, use the value inside the slot to swap
        if (_tokensByReversedIndex[currentSlotIndex] == 0) {
            _tokensByReversedIndex[randomlyPickedIndex] = uint16(currentSlotIndex);
        } else {
            _tokensByReversedIndex[randomlyPickedIndex] = _tokensByReversedIndex[currentSlotIndex];
        }

        // store the value to the current slot for `tokenByIndex`
        _tokensByReversedIndex[currentSlotIndex] = uint16(value);
    }

    // INeko implementation
    function tokensOfOwner(address _owner) external view override returns (uint256[] memory) {
        uint256 tokenCount = balanceOf(_owner);
        if (tokenCount == 0) {
            return new uint256[](0); // Return an empty array
        } else {
            uint256[] memory result = new uint256[](tokenCount);
            for (uint256 index; index < tokenCount; index++) {
                result[index] = tokenOfOwnerByIndex(_owner, index);
            }
            return result;
        }
    }

    // IERC721Enumerable Implementation

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

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view virtual override returns (uint256) {
        // solhint-disable-next-line reason-string
        require(index < totalSupply(), "ERC721Enumerable: global index out of bounds");
        return _tokensByReversedIndex[mintable - 1 - 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) && from != to) {
            _removeTokenFromOwnerEnumeration(from, tokenId);
        }

        if (to != address(0) && 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 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];
    }
}

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 18 of 18 : INeko.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.10;

import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol";

interface INeko {
    // Helper functions for getting all tokens of a owner
    function tokensOfOwner(address owner) external view returns (uint256[] memory tokenIds);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"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":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"ASSETS_PROVENANCE_HASH","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TRAITS_PROVENANCE_HASH","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"batchLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyable","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_nekoTokenIds","type":"uint256[]"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"indexes","type":"uint256[]"}],"name":"claimedBitMaps","outputs":[{"internalType":"uint256[]","name":"words","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hasSaleStarted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"uint256","name":"_tokenId","type":"uint256"}],"name":"isClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_amount","type":"uint16"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintable","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nekoContractAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reserve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_assetsHash","type":"string"}],"name":"setAssetsHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setRevealed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_start","type":"uint256"}],"name":"setStartTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[{"internalType":"address","name":"_owner","type":"address"}],"name":"tokensOfOwner","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":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"payable","type":"function"}]

6101006040526102bd805460ff191690553480156200001d57600080fd5b50604051806040016040528060088152602001674e454b4f4d454b4160c01b815250604051806040016040528060088152602001674e454b4f4d454b4160c01b815250612af86103e8730a8eb54b0123778291a3cddd2074c9ce8b2cfae56704db732547630000600080858589898160009080519060200190620000a392919062000156565b508051620000b990600190602084019062000156565b50505061ffff9182166080521660a0526102b955620000d83362000103565b506102ba805460ff60a01b191690556001600160a01b0390911660c05260e052506200023992505050565b6102ba80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200016490620001fc565b90600052602060002090601f016020900481019282620001885760008555620001d3565b82601f10620001a357805160ff1916838001178555620001d3565b82800160010185558215620001d3579182015b82811115620001d3578251825591602001919060010190620001b6565b50620001e1929150620001e5565b5090565b5b80821115620001e15760008155600101620001e6565b600181811c908216806200021157607f821691505b602082108114156200023357634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a05160c05160e05161422b620002a46000396000818161078d01526112510152600081816107c10152611bf10152600081816106f8015281816110a00152611132015260008181610548015281816118380152818161250f0152612c8e015261422b6000f3fe6080604052600436106102f25760003560e01c806355f804b31161018f5780638da5cb5b116100e1578063b88d4fde1161008a578063e834a83411610064578063e834a83414610858578063e985e9c514610877578063f2fde38b146108cd57600080fd5b8063b88d4fde14610803578063c87b56dd14610823578063cd3293de1461084357600080fd5b8063a035b1fe116100bb578063a035b1fe1461077b578063a0cf5681146107af578063a22cb465146107e357600080fd5b80638da5cb5b1461071a57806395d89b41146107465780639e34070f1461075b57600080fd5b8063715018a6116101435780638462151c1161011d5780638462151c146106be578063853828b6146106de57806388c7e397146106e657600080fd5b8063715018a61461067e57806378e97925146106935780638456cb59146106a957600080fd5b80636352211e116101745780636352211e1461061e5780636ba4c1381461063e57806370a082311461065e57600080fd5b806355f804b3146105cd5780635c975abb146105ed57600080fd5b806323cf0a221161024857806342842e0e116101fc5780634f6ccce7116101d65780634f6ccce71461057d578063518302271461059d57806355d645f1146105b857600080fd5b806342842e0e14610501578063474740b1146105215780634bf365df1461053657600080fd5b80633bd649681161022d5780633bd64968146104b75780633e0a322d146104cc5780633f4ba83a146104ec57600080fd5b806323cf0a22146104845780632f745c591461049757600080fd5b8063095ea7b3116102aa5780631c8b232d116102845780631c8b232d1461042f57806322c298021461044457806323b872dd1461046457600080fd5b8063095ea7b3146103cb57806318160ddd146103ed578063196648e81461040257600080fd5b8063036a123e116102db578063036a123e1461034f57806306fdde0314610371578063081812fc1461038657600080fd5b806301ffc9a7146102f757806302c7e7af1461032c575b600080fd5b34801561030357600080fd5b50610317610312366004613aa5565b6108ed565b60405190151581526020015b60405180910390f35b34801561033857600080fd5b5060065461ffff165b604051908152602001610323565b34801561035b57600080fd5b50610364610949565b6040516103239190613b38565b34801561037d57600080fd5b506103646109d8565b34801561039257600080fd5b506103a66103a1366004613b4b565b610a6a565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610323565b3480156103d757600080fd5b506103eb6103e6366004613b86565b610b49565b005b3480156103f957600080fd5b50610341610cd6565b34801561040e57600080fd5b5061042261041d366004613bb2565b610cfb565b6040516103239190613c27565b34801561043b57600080fd5b50610317610d95565b34801561045057600080fd5b506103eb61045f366004613c6b565b610db1565b34801561047057600080fd5b506103eb61047f366004613ccb565b610edd565b6103eb610492366004613d0c565b610f7e565b3480156104a357600080fd5b506103416104b2366004613b86565b6113c2565b3480156104c357600080fd5b506103eb611492565b3480156104d857600080fd5b506103eb6104e7366004613b4b565b611542565b3480156104f857600080fd5b506103eb6116cf565b34801561050d57600080fd5b506103eb61051c366004613ccb565b61175b565b34801561052d57600080fd5b50610341611776565b34801561054257600080fd5b5061056a7f000000000000000000000000000000000000000000000000000000000000000081565b60405161ffff9091168152602001610323565b34801561058957600080fd5b50610341610598366004613b4b565b611796565b3480156105a957600080fd5b506102bd546103179060ff1681565b3480156105c457600080fd5b5061036461189c565b3480156105d957600080fd5b506103eb6105e8366004613c6b565b6118b8565b3480156105f957600080fd5b506102ba5474010000000000000000000000000000000000000000900460ff16610317565b34801561062a57600080fd5b506103a6610639366004613b4b565b611947565b34801561064a57600080fd5b506103eb610659366004613bb2565b6119f9565b34801561066a57600080fd5b50610341610679366004613d30565b611e47565b34801561068a57600080fd5b506103eb611f15565b34801561069f57600080fd5b506102b954610341565b3480156106b557600080fd5b506103eb611fa1565b3480156106ca57600080fd5b506104226106d9366004613d30565b61202b565b6103eb6120ea565b3480156106f257600080fd5b5061056a7f000000000000000000000000000000000000000000000000000000000000000081565b34801561072657600080fd5b506102ba5473ffffffffffffffffffffffffffffffffffffffff166103a6565b34801561075257600080fd5b506103646121ed565b34801561076757600080fd5b50610317610776366004613b4b565b6121fc565b34801561078757600080fd5b506103417f000000000000000000000000000000000000000000000000000000000000000081565b3480156107bb57600080fd5b506103a67f000000000000000000000000000000000000000000000000000000000000000081565b3480156107ef57600080fd5b506103eb6107fe366004613d4d565b612220565b34801561080f57600080fd5b506103eb61081e366004613dba565b61222f565b34801561082f57600080fd5b5061036461083e366004613b4b565b6122d7565b34801561084f57600080fd5b506103eb6123e7565b34801561086457600080fd5b5060065462010000900461ffff16610341565b34801561088357600080fd5b50610317610892366004613eb8565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156108d957600080fd5b506103eb6108e8366004613d30565b6125dd565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f780e9d6300000000000000000000000000000000000000000000000000000000148061094357506109438261270b565b92915050565b6102be805461095790613ee6565b80601f016020809104026020016040519081016040528092919081815260200182805461098390613ee6565b80156109d05780601f106109a5576101008083540402835291602001916109d0565b820191906000526020600020905b8154815290600101906020018083116109b357829003601f168201915b505050505081565b6060600080546109e790613ee6565b80601f0160208091040260200160405190810160405280929190818152602001828054610a1390613ee6565b8015610a605780601f10610a3557610100808354040283529160200191610a60565b820191906000526020600020905b815481529060010190602001808311610a4357829003601f168201915b5050505050905090565b60008181526002602052604081205473ffffffffffffffffffffffffffffffffffffffff16610b20576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084015b60405180910390fd5b5060009081526004602052604090205473ffffffffffffffffffffffffffffffffffffffff1690565b6000610b5482611947565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c12576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610b17565b3373ffffffffffffffffffffffffffffffffffffffff82161480610c3b5750610c3b8133610892565b610cc7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610b17565b610cd183836127ee565b505050565b600654600090610cf29061ffff62010000820481169116613f63565b61ffff16905090565b60608167ffffffffffffffff811115610d1657610d16613d8b565b604051908082528060200260200182016040528015610d3f578160200160208202803683370190505b50905060005b82811015610d8e5760008181526102bc60205260409020548251839083908110610d7157610d71613f89565b602090810291909101015280610d8681613fb8565b915050610d45565b5092915050565b6000806102b954118015610dac5750426102b95411155b905090565b6102ba5473ffffffffffffffffffffffffffffffffffffffff163314610e33576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b17565b6102be8054610e4190613ee6565b159050610ed0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f4d454b413a206173736574732068617368206d75737420626520696d6d75746160448201527f626c6500000000000000000000000000000000000000000000000000000000006064820152608401610b17565b610cd16102be83836139c0565b610ee7338261288e565b610f73576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610b17565b610cd18383836129fe565b610f86610d95565b611012576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f5363686564756c61626c653a2053616c6573206e6f742079657420737461727460448201527f65640000000000000000000000000000000000000000000000000000000000006064820152608401610b17565b6102ba5474010000000000000000000000000000000000000000900460ff1615611098576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610b17565b60065461ffff7f0000000000000000000000000000000000000000000000000000000000000000811691161061112a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f4d454b413a20416c6c20736f6c640000000000000000000000000000000000006044820152606401610b17565b60065461ffff7f000000000000000000000000000000000000000000000000000000000000000081169161116091849116613f63565b61ffff1611156111cc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f4d454b413a2045786365656465642062757961626c65206c696d6974000000006044820152606401610b17565b6111e18161ffff166111dc611776565b612c70565b611247576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4d454b413a204f766572206261746368206c696d6974000000000000000000006044820152606401610b17565b61127561ffff82167f0000000000000000000000000000000000000000000000000000000000000000613ff1565b3410156112de576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f4d454b413a20496e636f727265637420707269636500000000000000000000006044820152606401610b17565b333b15611347576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f4d454b413a2043616c6c65722063616e6e6f7420626520636f6e7472616374006044820152606401610b17565b6000611351610cd6565b60068054919250839160009061136c90849061ffff16613f63565b92506101000a81548161ffff021916908361ffff16021790555060005b8261ffff16811015610cd1576113b0336113ab6113a6848661402e565b612c82565b612ebf565b806113ba81613fb8565b915050611389565b60006113cd83611e47565b821061145b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201527f74206f6620626f756e64730000000000000000000000000000000000000000006064820152608401610b17565b5073ffffffffffffffffffffffffffffffffffffffff9190911660009081526102b760209081526040808320938352929052205490565b6102ba5473ffffffffffffffffffffffffffffffffffffffff163314611514576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b17565b6102bd80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055565b6102ba5473ffffffffffffffffffffffffffffffffffffffff1633146115c4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b17565b6115cc610d95565b15611659576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f5363686564756c61626c653a2053616c657320616c726561647920737461727460448201527f65640000000000000000000000000000000000000000000000000000000000006064820152608401610b17565b4281116116c2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f4d454b413a2043616e6e6f742073746172742066726f6d2070617374000000006044820152606401610b17565b6116cc816102b955565b50565b6102ba5473ffffffffffffffffffffffffffffffffffffffff163314611751576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b17565b61175961308d565b565b610cd18383836040518060200160405280600081525061222f565b6102bd5460009060ff1661178b57601461178e565b60035b60ff16905090565b60006117a0610cd6565b821061182e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201527f7574206f6620626f756e647300000000000000000000000000000000000000006064820152608401610b17565b60078261185c60017f0000000000000000000000000000000000000000000000000000000000000000614046565b61ffff1661186a9190614069565b612af8811061187b5761187b613f89565b601081049190910154600f9091166002026101000a900461ffff1692915050565b6040518060600160405280604081526020016141b66040913981565b6102ba5473ffffffffffffffffffffffffffffffffffffffff16331461193a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b17565b610cd16102bb83836139c0565b60008181526002602052604081205473ffffffffffffffffffffffffffffffffffffffff1680610943576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610b17565b611a01610d95565b611a8d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f5363686564756c61626c653a2053616c6573206e6f742079657420737461727460448201527f65640000000000000000000000000000000000000000000000000000000000006064820152608401610b17565b6102ba5474010000000000000000000000000000000000000000900460ff1615611b13576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610b17565b80611b20816111dc611776565b611b86576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4d454b413a204f766572206261746368206c696d6974000000000000000000006044820152606401610b17565b333b15611bef576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f4d454b413a2043616c6c65722063616e6e6f7420626520636f6e7472616374006044820152606401610b17565b7f00000000000000000000000000000000000000000000000000000000000000006000611c1a610cd6565b905082600660028282829054906101000a900461ffff16611c3b9190613f63565b92506101000a81548161ffff021916908361ffff16021790555060005b83811015611e3f576000868683818110611c7457611c74613f89565b905060200201359050611c86816121fc565b15611ced576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f4d454b413a20546f6b656e20636c61696d656420616c726561647900000000006044820152606401610b17565b6040517f6352211e00000000000000000000000000000000000000000000000000000000815260048101829052339073ffffffffffffffffffffffffffffffffffffffff861690636352211e90602401602060405180830381865afa158015611d5a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d7e9190614080565b73ffffffffffffffffffffffffffffffffffffffff1614611dfb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f4d454b413a204f776e6572206e6f74206d6174636800000000000000000000006044820152606401610b17565b600881901c60009081526102bc602052604090208054600160ff84161b179055611e2c336113ab6113a6858761402e565b5080611e3781613fb8565b915050611c58565b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff8216611eec576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610b17565b5073ffffffffffffffffffffffffffffffffffffffff1660009081526003602052604090205490565b6102ba5473ffffffffffffffffffffffffffffffffffffffff163314611f97576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b17565b6117596000613188565b6102ba5473ffffffffffffffffffffffffffffffffffffffff163314612023576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b17565b611759613200565b6060600061203883611e47565b9050806120595760408051600080825260208201909252905b509392505050565b60008167ffffffffffffffff81111561207457612074613d8b565b60405190808252806020026020018201604052801561209d578160200160208202803683370190505b50905060005b82811015612051576120b585826113c2565b8282815181106120c7576120c7613f89565b6020908102919091010152806120dc81613fb8565b9150506120a3565b50919050565b6102ba5473ffffffffffffffffffffffffffffffffffffffff16331461216c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b17565b60405133904780156108fc02916000818181858888f19350505050611759576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f4d454b413a2043616e6e6f7420776974686472617700000000000000000000006044820152606401610b17565b6060600180546109e790613ee6565b600881901c60009081526102bc6020526040812054600160ff84161b161515610943565b61222b3383836132ee565b5050565b612239338361288e565b6122c5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610b17565b6122d18484848461341c565b50505050565b60008181526002602052604090205460609073ffffffffffffffffffffffffffffffffffffffff1661238b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006064820152608401610b17565b60006123956134bf565b905060008151116123b557604051806020016040528060008152506123e0565b806123bf846134cf565b6040516020016123d092919061409d565b6040516020818303038152906040525b9392505050565b6102ba5473ffffffffffffffffffffffffffffffffffffffff163314612469576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b17565b60065461ffff16156124d7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f4d454b413a2053616c657320616c7265616479207374617274656400000000006044820152606401610b17565b60068054600a91906000906124f190849061ffff16613f63565b92506101000a81548161ffff021916908361ffff16021790555060007f000000000000000000000000000000000000000000000000000000000000000061ffff16905060005b600a81101561222b578161254a816140c3565b92505080600783612af8811061256257612562613f89565b601091828204019190066002026101000a81548161ffff021916908361ffff16021790555081600782612af8811061259c5761259c613f89565b601091828204019190066002026101000a81548161ffff021916908361ffff1602179055506125cb3382612ebf565b806125d581613fb8565b915050612537565b6102ba5473ffffffffffffffffffffffffffffffffffffffff16331461265f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b17565b73ffffffffffffffffffffffffffffffffffffffff8116612702576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610b17565b6116cc81613188565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd00000000000000000000000000000000000000000000000000000000148061279e57507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061094357507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff00000000000000000000000000000000000000000000000000000000831614610943565b600081815260046020526040902080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8416908117909155819061284882611947565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008181526002602052604081205473ffffffffffffffffffffffffffffffffffffffff1661293f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610b17565b600061294a83611947565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806129b957508373ffffffffffffffffffffffffffffffffffffffff166129a184610a6a565b73ffffffffffffffffffffffffffffffffffffffff16145b806129f6575073ffffffffffffffffffffffffffffffffffffffff80821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b8273ffffffffffffffffffffffffffffffffffffffff16612a1e82611947565b73ffffffffffffffffffffffffffffffffffffffff1614612ac1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e00000000000000000000000000000000000000000000006064820152608401610b17565b73ffffffffffffffffffffffffffffffffffffffff8216612b63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610b17565b612b6e838383613601565b612b796000826127ee565b73ffffffffffffffffffffffffffffffffffffffff83166000908152600360205260408120805460019290612baf908490614069565b909155505073ffffffffffffffffffffffffffffffffffffffff82166000908152600360205260408120805460019290612bea90849061402e565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff86811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600080831180156123e0575050101590565b600080612cb38361ffff7f000000000000000000000000000000000000000000000000000000000000000016614069565b6040517fffffffffffffffffffffffffffffffffffffffff0000000000000000000000003360601b1660208201524460348201524260548201526074810182905290915060009082906094016040516020818303038152906040528051906020012060001c612d229190614127565b9050600781612af88110612d3857612d38613f89565b601081049190910154600f9091166002026101000a900461ffff16612d5f57809250612d94565b600781612af88110612d7357612d73613f89565b601091828204019190066002029054906101000a900461ffff1661ffff1692505b6000612da1600184614069565b9050600781612af88110612db757612db7613f89565b601081049190910154600f9091166002026101000a900461ffff16612e155780600783612af88110612deb57612deb613f89565b601091828204019190066002026101000a81548161ffff021916908361ffff160217905550612e7d565b600781612af88110612e2957612e29613f89565b601091828204019190066002029054906101000a900461ffff16600783612af88110612e5757612e57613f89565b601091828204019190066002026101000a81548161ffff021916908361ffff1602179055505b83600782612af88110612e9257612e92613f89565b601091828204019190066002026101000a81548161ffff021916908361ffff160217905550505050919050565b73ffffffffffffffffffffffffffffffffffffffff8216612f3c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610b17565b60008181526002602052604090205473ffffffffffffffffffffffffffffffffffffffff1615612fc8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610b17565b612fd460008383613601565b73ffffffffffffffffffffffffffffffffffffffff8216600090815260036020526040812080546001929061300a90849061402e565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6102ba5474010000000000000000000000000000000000000000900460ff16613112576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f5061757361626c653a206e6f74207061757365640000000000000000000000006044820152606401610b17565b6102ba80547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390a1565b6102ba805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6102ba5474010000000000000000000000000000000000000000900460ff1615613286576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610b17565b6102ba80547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff16740100000000000000000000000000000000000000001790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861315e3390565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415613384576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610b17565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526005602090815260408083209487168084529482529182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6134278484846129fe565b613433848484846136c1565b6122d1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610b17565b60606102bb80546109e790613ee6565b60608161350f57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115613539578061352381613fb8565b91506135329050600a8361413b565b9150613513565b60008167ffffffffffffffff81111561355457613554613d8b565b6040519080825280601f01601f19166020018201604052801561357e576020820181803683370190505b5090505b84156129f657613593600183614069565b91506135a0600a86614127565b6135ab90603061402e565b60f81b8183815181106135c0576135c0613f89565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506135fa600a8661413b565b9450613582565b73ffffffffffffffffffffffffffffffffffffffff83161580159061365257508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614155b156136615761366183826138b1565b73ffffffffffffffffffffffffffffffffffffffff8216158015906136b257508273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b15610cd157610cd1828261396d565b600073ffffffffffffffffffffffffffffffffffffffff84163b156138a6576040517f150b7a0200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85169063150b7a029061373890339089908890889060040161414f565b6020604051808303816000875af1925050508015613791575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016820190925261378e91810190614198565b60015b61385b573d8080156137bf576040519150601f19603f3d011682016040523d82523d6000602084013e6137c4565b606091505b508051613853576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610b17565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a02000000000000000000000000000000000000000000000000000000001490506129f6565b506001949350505050565b600060016138be84611e47565b6138c89190614069565b60008381526102b8602052604090205490915080821461392b5773ffffffffffffffffffffffffffffffffffffffff841660009081526102b76020908152604080832085845282528083205484845281842081905583526102b890915290208190555b5060009182526102b86020908152604080842084905573ffffffffffffffffffffffffffffffffffffffff90941683526102b781528383209183525290812055565b600061397883611e47565b73ffffffffffffffffffffffffffffffffffffffff90931660009081526102b76020908152604080832086845282528083208590559382526102b89052919091209190915550565b8280546139cc90613ee6565b90600052602060002090601f0160209004810192826139ee5760008555613a52565b82601f10613a25578280017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00823516178555613a52565b82800160010185558215613a52579182015b82811115613a52578235825591602001919060010190613a37565b50613a5e929150613a62565b5090565b5b80821115613a5e5760008155600101613a63565b7fffffffff00000000000000000000000000000000000000000000000000000000811681146116cc57600080fd5b600060208284031215613ab757600080fd5b81356123e081613a77565b60005b83811015613add578181015183820152602001613ac5565b838111156122d15750506000910152565b60008151808452613b06816020860160208601613ac2565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6020815260006123e06020830184613aee565b600060208284031215613b5d57600080fd5b5035919050565b73ffffffffffffffffffffffffffffffffffffffff811681146116cc57600080fd5b60008060408385031215613b9957600080fd5b8235613ba481613b64565b946020939093013593505050565b60008060208385031215613bc557600080fd5b823567ffffffffffffffff80821115613bdd57600080fd5b818501915085601f830112613bf157600080fd5b813581811115613c0057600080fd5b8660208260051b8501011115613c1557600080fd5b60209290920196919550909350505050565b6020808252825182820181905260009190848201906040850190845b81811015613c5f57835183529284019291840191600101613c43565b50909695505050505050565b60008060208385031215613c7e57600080fd5b823567ffffffffffffffff80821115613c9657600080fd5b818501915085601f830112613caa57600080fd5b813581811115613cb957600080fd5b866020828501011115613c1557600080fd5b600080600060608486031215613ce057600080fd5b8335613ceb81613b64565b92506020840135613cfb81613b64565b929592945050506040919091013590565b600060208284031215613d1e57600080fd5b813561ffff811681146123e057600080fd5b600060208284031215613d4257600080fd5b81356123e081613b64565b60008060408385031215613d6057600080fd5b8235613d6b81613b64565b915060208301358015158114613d8057600080fd5b809150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60008060008060808587031215613dd057600080fd5b8435613ddb81613b64565b93506020850135613deb81613b64565b925060408501359150606085013567ffffffffffffffff80821115613e0f57600080fd5b818701915087601f830112613e2357600080fd5b813581811115613e3557613e35613d8b565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f01168101908382118183101715613e7b57613e7b613d8b565b816040528281528a6020848701011115613e9457600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b60008060408385031215613ecb57600080fd5b8235613ed681613b64565b91506020830135613d8081613b64565b600181811c90821680613efa57607f821691505b602082108114156120e4577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061ffff808316818516808303821115613f8057613f80613f34565b01949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613fea57613fea613f34565b5060010190565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561402957614029613f34565b500290565b6000821982111561404157614041613f34565b500190565b600061ffff8381169083168181101561406157614061613f34565b039392505050565b60008282101561407b5761407b613f34565b500390565b60006020828403121561409257600080fd5b81516123e081613b64565b600083516140af818460208801613ac2565b835190830190613f80818360208801613ac2565b6000816140d2576140d2613f34565b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600082614136576141366140f8565b500690565b60008261414a5761414a6140f8565b500490565b600073ffffffffffffffffffffffffffffffffffffffff80871683528086166020840152508360408301526080606083015261418e6080830184613aee565b9695505050505050565b6000602082840312156141aa57600080fd5b81516123e081613a7756fe36393665326265623063323736393164653663323764353564303833343735373766376662346161663233613131343761386263663633353237636331316264a26469706673582212207de41159a7bf0fe2ae70b8a1ad96d41d7821a4d83343aaed7321ea2904b410c664736f6c634300080a0033

Deployed Bytecode

0x6080604052600436106102f25760003560e01c806355f804b31161018f5780638da5cb5b116100e1578063b88d4fde1161008a578063e834a83411610064578063e834a83414610858578063e985e9c514610877578063f2fde38b146108cd57600080fd5b8063b88d4fde14610803578063c87b56dd14610823578063cd3293de1461084357600080fd5b8063a035b1fe116100bb578063a035b1fe1461077b578063a0cf5681146107af578063a22cb465146107e357600080fd5b80638da5cb5b1461071a57806395d89b41146107465780639e34070f1461075b57600080fd5b8063715018a6116101435780638462151c1161011d5780638462151c146106be578063853828b6146106de57806388c7e397146106e657600080fd5b8063715018a61461067e57806378e97925146106935780638456cb59146106a957600080fd5b80636352211e116101745780636352211e1461061e5780636ba4c1381461063e57806370a082311461065e57600080fd5b806355f804b3146105cd5780635c975abb146105ed57600080fd5b806323cf0a221161024857806342842e0e116101fc5780634f6ccce7116101d65780634f6ccce71461057d578063518302271461059d57806355d645f1146105b857600080fd5b806342842e0e14610501578063474740b1146105215780634bf365df1461053657600080fd5b80633bd649681161022d5780633bd64968146104b75780633e0a322d146104cc5780633f4ba83a146104ec57600080fd5b806323cf0a22146104845780632f745c591461049757600080fd5b8063095ea7b3116102aa5780631c8b232d116102845780631c8b232d1461042f57806322c298021461044457806323b872dd1461046457600080fd5b8063095ea7b3146103cb57806318160ddd146103ed578063196648e81461040257600080fd5b8063036a123e116102db578063036a123e1461034f57806306fdde0314610371578063081812fc1461038657600080fd5b806301ffc9a7146102f757806302c7e7af1461032c575b600080fd5b34801561030357600080fd5b50610317610312366004613aa5565b6108ed565b60405190151581526020015b60405180910390f35b34801561033857600080fd5b5060065461ffff165b604051908152602001610323565b34801561035b57600080fd5b50610364610949565b6040516103239190613b38565b34801561037d57600080fd5b506103646109d8565b34801561039257600080fd5b506103a66103a1366004613b4b565b610a6a565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610323565b3480156103d757600080fd5b506103eb6103e6366004613b86565b610b49565b005b3480156103f957600080fd5b50610341610cd6565b34801561040e57600080fd5b5061042261041d366004613bb2565b610cfb565b6040516103239190613c27565b34801561043b57600080fd5b50610317610d95565b34801561045057600080fd5b506103eb61045f366004613c6b565b610db1565b34801561047057600080fd5b506103eb61047f366004613ccb565b610edd565b6103eb610492366004613d0c565b610f7e565b3480156104a357600080fd5b506103416104b2366004613b86565b6113c2565b3480156104c357600080fd5b506103eb611492565b3480156104d857600080fd5b506103eb6104e7366004613b4b565b611542565b3480156104f857600080fd5b506103eb6116cf565b34801561050d57600080fd5b506103eb61051c366004613ccb565b61175b565b34801561052d57600080fd5b50610341611776565b34801561054257600080fd5b5061056a7f0000000000000000000000000000000000000000000000000000000000002af881565b60405161ffff9091168152602001610323565b34801561058957600080fd5b50610341610598366004613b4b565b611796565b3480156105a957600080fd5b506102bd546103179060ff1681565b3480156105c457600080fd5b5061036461189c565b3480156105d957600080fd5b506103eb6105e8366004613c6b565b6118b8565b3480156105f957600080fd5b506102ba5474010000000000000000000000000000000000000000900460ff16610317565b34801561062a57600080fd5b506103a6610639366004613b4b565b611947565b34801561064a57600080fd5b506103eb610659366004613bb2565b6119f9565b34801561066a57600080fd5b50610341610679366004613d30565b611e47565b34801561068a57600080fd5b506103eb611f15565b34801561069f57600080fd5b506102b954610341565b3480156106b557600080fd5b506103eb611fa1565b3480156106ca57600080fd5b506104226106d9366004613d30565b61202b565b6103eb6120ea565b3480156106f257600080fd5b5061056a7f00000000000000000000000000000000000000000000000000000000000003e881565b34801561072657600080fd5b506102ba5473ffffffffffffffffffffffffffffffffffffffff166103a6565b34801561075257600080fd5b506103646121ed565b34801561076757600080fd5b50610317610776366004613b4b565b6121fc565b34801561078757600080fd5b506103417f00000000000000000000000000000000000000000000000004db73254763000081565b3480156107bb57600080fd5b506103a67f0000000000000000000000000a8eb54b0123778291a3cddd2074c9ce8b2cfae581565b3480156107ef57600080fd5b506103eb6107fe366004613d4d565b612220565b34801561080f57600080fd5b506103eb61081e366004613dba565b61222f565b34801561082f57600080fd5b5061036461083e366004613b4b565b6122d7565b34801561084f57600080fd5b506103eb6123e7565b34801561086457600080fd5b5060065462010000900461ffff16610341565b34801561088357600080fd5b50610317610892366004613eb8565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156108d957600080fd5b506103eb6108e8366004613d30565b6125dd565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f780e9d6300000000000000000000000000000000000000000000000000000000148061094357506109438261270b565b92915050565b6102be805461095790613ee6565b80601f016020809104026020016040519081016040528092919081815260200182805461098390613ee6565b80156109d05780601f106109a5576101008083540402835291602001916109d0565b820191906000526020600020905b8154815290600101906020018083116109b357829003601f168201915b505050505081565b6060600080546109e790613ee6565b80601f0160208091040260200160405190810160405280929190818152602001828054610a1390613ee6565b8015610a605780601f10610a3557610100808354040283529160200191610a60565b820191906000526020600020905b815481529060010190602001808311610a4357829003601f168201915b5050505050905090565b60008181526002602052604081205473ffffffffffffffffffffffffffffffffffffffff16610b20576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084015b60405180910390fd5b5060009081526004602052604090205473ffffffffffffffffffffffffffffffffffffffff1690565b6000610b5482611947565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c12576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610b17565b3373ffffffffffffffffffffffffffffffffffffffff82161480610c3b5750610c3b8133610892565b610cc7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610b17565b610cd183836127ee565b505050565b600654600090610cf29061ffff62010000820481169116613f63565b61ffff16905090565b60608167ffffffffffffffff811115610d1657610d16613d8b565b604051908082528060200260200182016040528015610d3f578160200160208202803683370190505b50905060005b82811015610d8e5760008181526102bc60205260409020548251839083908110610d7157610d71613f89565b602090810291909101015280610d8681613fb8565b915050610d45565b5092915050565b6000806102b954118015610dac5750426102b95411155b905090565b6102ba5473ffffffffffffffffffffffffffffffffffffffff163314610e33576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b17565b6102be8054610e4190613ee6565b159050610ed0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f4d454b413a206173736574732068617368206d75737420626520696d6d75746160448201527f626c6500000000000000000000000000000000000000000000000000000000006064820152608401610b17565b610cd16102be83836139c0565b610ee7338261288e565b610f73576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610b17565b610cd18383836129fe565b610f86610d95565b611012576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f5363686564756c61626c653a2053616c6573206e6f742079657420737461727460448201527f65640000000000000000000000000000000000000000000000000000000000006064820152608401610b17565b6102ba5474010000000000000000000000000000000000000000900460ff1615611098576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610b17565b60065461ffff7f00000000000000000000000000000000000000000000000000000000000003e8811691161061112a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f4d454b413a20416c6c20736f6c640000000000000000000000000000000000006044820152606401610b17565b60065461ffff7f00000000000000000000000000000000000000000000000000000000000003e881169161116091849116613f63565b61ffff1611156111cc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f4d454b413a2045786365656465642062757961626c65206c696d6974000000006044820152606401610b17565b6111e18161ffff166111dc611776565b612c70565b611247576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4d454b413a204f766572206261746368206c696d6974000000000000000000006044820152606401610b17565b61127561ffff82167f00000000000000000000000000000000000000000000000004db732547630000613ff1565b3410156112de576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f4d454b413a20496e636f727265637420707269636500000000000000000000006044820152606401610b17565b333b15611347576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f4d454b413a2043616c6c65722063616e6e6f7420626520636f6e7472616374006044820152606401610b17565b6000611351610cd6565b60068054919250839160009061136c90849061ffff16613f63565b92506101000a81548161ffff021916908361ffff16021790555060005b8261ffff16811015610cd1576113b0336113ab6113a6848661402e565b612c82565b612ebf565b806113ba81613fb8565b915050611389565b60006113cd83611e47565b821061145b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201527f74206f6620626f756e64730000000000000000000000000000000000000000006064820152608401610b17565b5073ffffffffffffffffffffffffffffffffffffffff9190911660009081526102b760209081526040808320938352929052205490565b6102ba5473ffffffffffffffffffffffffffffffffffffffff163314611514576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b17565b6102bd80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055565b6102ba5473ffffffffffffffffffffffffffffffffffffffff1633146115c4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b17565b6115cc610d95565b15611659576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f5363686564756c61626c653a2053616c657320616c726561647920737461727460448201527f65640000000000000000000000000000000000000000000000000000000000006064820152608401610b17565b4281116116c2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f4d454b413a2043616e6e6f742073746172742066726f6d2070617374000000006044820152606401610b17565b6116cc816102b955565b50565b6102ba5473ffffffffffffffffffffffffffffffffffffffff163314611751576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b17565b61175961308d565b565b610cd18383836040518060200160405280600081525061222f565b6102bd5460009060ff1661178b57601461178e565b60035b60ff16905090565b60006117a0610cd6565b821061182e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201527f7574206f6620626f756e647300000000000000000000000000000000000000006064820152608401610b17565b60078261185c60017f0000000000000000000000000000000000000000000000000000000000002af8614046565b61ffff1661186a9190614069565b612af8811061187b5761187b613f89565b601081049190910154600f9091166002026101000a900461ffff1692915050565b6040518060600160405280604081526020016141b66040913981565b6102ba5473ffffffffffffffffffffffffffffffffffffffff16331461193a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b17565b610cd16102bb83836139c0565b60008181526002602052604081205473ffffffffffffffffffffffffffffffffffffffff1680610943576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610b17565b611a01610d95565b611a8d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f5363686564756c61626c653a2053616c6573206e6f742079657420737461727460448201527f65640000000000000000000000000000000000000000000000000000000000006064820152608401610b17565b6102ba5474010000000000000000000000000000000000000000900460ff1615611b13576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610b17565b80611b20816111dc611776565b611b86576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4d454b413a204f766572206261746368206c696d6974000000000000000000006044820152606401610b17565b333b15611bef576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f4d454b413a2043616c6c65722063616e6e6f7420626520636f6e7472616374006044820152606401610b17565b7f0000000000000000000000000a8eb54b0123778291a3cddd2074c9ce8b2cfae56000611c1a610cd6565b905082600660028282829054906101000a900461ffff16611c3b9190613f63565b92506101000a81548161ffff021916908361ffff16021790555060005b83811015611e3f576000868683818110611c7457611c74613f89565b905060200201359050611c86816121fc565b15611ced576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f4d454b413a20546f6b656e20636c61696d656420616c726561647900000000006044820152606401610b17565b6040517f6352211e00000000000000000000000000000000000000000000000000000000815260048101829052339073ffffffffffffffffffffffffffffffffffffffff861690636352211e90602401602060405180830381865afa158015611d5a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d7e9190614080565b73ffffffffffffffffffffffffffffffffffffffff1614611dfb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f4d454b413a204f776e6572206e6f74206d6174636800000000000000000000006044820152606401610b17565b600881901c60009081526102bc602052604090208054600160ff84161b179055611e2c336113ab6113a6858761402e565b5080611e3781613fb8565b915050611c58565b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff8216611eec576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610b17565b5073ffffffffffffffffffffffffffffffffffffffff1660009081526003602052604090205490565b6102ba5473ffffffffffffffffffffffffffffffffffffffff163314611f97576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b17565b6117596000613188565b6102ba5473ffffffffffffffffffffffffffffffffffffffff163314612023576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b17565b611759613200565b6060600061203883611e47565b9050806120595760408051600080825260208201909252905b509392505050565b60008167ffffffffffffffff81111561207457612074613d8b565b60405190808252806020026020018201604052801561209d578160200160208202803683370190505b50905060005b82811015612051576120b585826113c2565b8282815181106120c7576120c7613f89565b6020908102919091010152806120dc81613fb8565b9150506120a3565b50919050565b6102ba5473ffffffffffffffffffffffffffffffffffffffff16331461216c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b17565b60405133904780156108fc02916000818181858888f19350505050611759576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f4d454b413a2043616e6e6f7420776974686472617700000000000000000000006044820152606401610b17565b6060600180546109e790613ee6565b600881901c60009081526102bc6020526040812054600160ff84161b161515610943565b61222b3383836132ee565b5050565b612239338361288e565b6122c5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610b17565b6122d18484848461341c565b50505050565b60008181526002602052604090205460609073ffffffffffffffffffffffffffffffffffffffff1661238b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006064820152608401610b17565b60006123956134bf565b905060008151116123b557604051806020016040528060008152506123e0565b806123bf846134cf565b6040516020016123d092919061409d565b6040516020818303038152906040525b9392505050565b6102ba5473ffffffffffffffffffffffffffffffffffffffff163314612469576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b17565b60065461ffff16156124d7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f4d454b413a2053616c657320616c7265616479207374617274656400000000006044820152606401610b17565b60068054600a91906000906124f190849061ffff16613f63565b92506101000a81548161ffff021916908361ffff16021790555060007f0000000000000000000000000000000000000000000000000000000000002af861ffff16905060005b600a81101561222b578161254a816140c3565b92505080600783612af8811061256257612562613f89565b601091828204019190066002026101000a81548161ffff021916908361ffff16021790555081600782612af8811061259c5761259c613f89565b601091828204019190066002026101000a81548161ffff021916908361ffff1602179055506125cb3382612ebf565b806125d581613fb8565b915050612537565b6102ba5473ffffffffffffffffffffffffffffffffffffffff16331461265f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b17565b73ffffffffffffffffffffffffffffffffffffffff8116612702576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610b17565b6116cc81613188565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd00000000000000000000000000000000000000000000000000000000148061279e57507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061094357507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff00000000000000000000000000000000000000000000000000000000831614610943565b600081815260046020526040902080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8416908117909155819061284882611947565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008181526002602052604081205473ffffffffffffffffffffffffffffffffffffffff1661293f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610b17565b600061294a83611947565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806129b957508373ffffffffffffffffffffffffffffffffffffffff166129a184610a6a565b73ffffffffffffffffffffffffffffffffffffffff16145b806129f6575073ffffffffffffffffffffffffffffffffffffffff80821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b8273ffffffffffffffffffffffffffffffffffffffff16612a1e82611947565b73ffffffffffffffffffffffffffffffffffffffff1614612ac1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e00000000000000000000000000000000000000000000006064820152608401610b17565b73ffffffffffffffffffffffffffffffffffffffff8216612b63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610b17565b612b6e838383613601565b612b796000826127ee565b73ffffffffffffffffffffffffffffffffffffffff83166000908152600360205260408120805460019290612baf908490614069565b909155505073ffffffffffffffffffffffffffffffffffffffff82166000908152600360205260408120805460019290612bea90849061402e565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff86811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600080831180156123e0575050101590565b600080612cb38361ffff7f0000000000000000000000000000000000000000000000000000000000002af816614069565b6040517fffffffffffffffffffffffffffffffffffffffff0000000000000000000000003360601b1660208201524460348201524260548201526074810182905290915060009082906094016040516020818303038152906040528051906020012060001c612d229190614127565b9050600781612af88110612d3857612d38613f89565b601081049190910154600f9091166002026101000a900461ffff16612d5f57809250612d94565b600781612af88110612d7357612d73613f89565b601091828204019190066002029054906101000a900461ffff1661ffff1692505b6000612da1600184614069565b9050600781612af88110612db757612db7613f89565b601081049190910154600f9091166002026101000a900461ffff16612e155780600783612af88110612deb57612deb613f89565b601091828204019190066002026101000a81548161ffff021916908361ffff160217905550612e7d565b600781612af88110612e2957612e29613f89565b601091828204019190066002029054906101000a900461ffff16600783612af88110612e5757612e57613f89565b601091828204019190066002026101000a81548161ffff021916908361ffff1602179055505b83600782612af88110612e9257612e92613f89565b601091828204019190066002026101000a81548161ffff021916908361ffff160217905550505050919050565b73ffffffffffffffffffffffffffffffffffffffff8216612f3c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610b17565b60008181526002602052604090205473ffffffffffffffffffffffffffffffffffffffff1615612fc8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610b17565b612fd460008383613601565b73ffffffffffffffffffffffffffffffffffffffff8216600090815260036020526040812080546001929061300a90849061402e565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6102ba5474010000000000000000000000000000000000000000900460ff16613112576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f5061757361626c653a206e6f74207061757365640000000000000000000000006044820152606401610b17565b6102ba80547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390a1565b6102ba805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6102ba5474010000000000000000000000000000000000000000900460ff1615613286576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610b17565b6102ba80547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff16740100000000000000000000000000000000000000001790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861315e3390565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415613384576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610b17565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526005602090815260408083209487168084529482529182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6134278484846129fe565b613433848484846136c1565b6122d1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610b17565b60606102bb80546109e790613ee6565b60608161350f57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115613539578061352381613fb8565b91506135329050600a8361413b565b9150613513565b60008167ffffffffffffffff81111561355457613554613d8b565b6040519080825280601f01601f19166020018201604052801561357e576020820181803683370190505b5090505b84156129f657613593600183614069565b91506135a0600a86614127565b6135ab90603061402e565b60f81b8183815181106135c0576135c0613f89565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506135fa600a8661413b565b9450613582565b73ffffffffffffffffffffffffffffffffffffffff83161580159061365257508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614155b156136615761366183826138b1565b73ffffffffffffffffffffffffffffffffffffffff8216158015906136b257508273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b15610cd157610cd1828261396d565b600073ffffffffffffffffffffffffffffffffffffffff84163b156138a6576040517f150b7a0200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85169063150b7a029061373890339089908890889060040161414f565b6020604051808303816000875af1925050508015613791575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016820190925261378e91810190614198565b60015b61385b573d8080156137bf576040519150601f19603f3d011682016040523d82523d6000602084013e6137c4565b606091505b508051613853576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610b17565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a02000000000000000000000000000000000000000000000000000000001490506129f6565b506001949350505050565b600060016138be84611e47565b6138c89190614069565b60008381526102b8602052604090205490915080821461392b5773ffffffffffffffffffffffffffffffffffffffff841660009081526102b76020908152604080832085845282528083205484845281842081905583526102b890915290208190555b5060009182526102b86020908152604080842084905573ffffffffffffffffffffffffffffffffffffffff90941683526102b781528383209183525290812055565b600061397883611e47565b73ffffffffffffffffffffffffffffffffffffffff90931660009081526102b76020908152604080832086845282528083208590559382526102b89052919091209190915550565b8280546139cc90613ee6565b90600052602060002090601f0160209004810192826139ee5760008555613a52565b82601f10613a25578280017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00823516178555613a52565b82800160010185558215613a52579182015b82811115613a52578235825591602001919060010190613a37565b50613a5e929150613a62565b5090565b5b80821115613a5e5760008155600101613a63565b7fffffffff00000000000000000000000000000000000000000000000000000000811681146116cc57600080fd5b600060208284031215613ab757600080fd5b81356123e081613a77565b60005b83811015613add578181015183820152602001613ac5565b838111156122d15750506000910152565b60008151808452613b06816020860160208601613ac2565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6020815260006123e06020830184613aee565b600060208284031215613b5d57600080fd5b5035919050565b73ffffffffffffffffffffffffffffffffffffffff811681146116cc57600080fd5b60008060408385031215613b9957600080fd5b8235613ba481613b64565b946020939093013593505050565b60008060208385031215613bc557600080fd5b823567ffffffffffffffff80821115613bdd57600080fd5b818501915085601f830112613bf157600080fd5b813581811115613c0057600080fd5b8660208260051b8501011115613c1557600080fd5b60209290920196919550909350505050565b6020808252825182820181905260009190848201906040850190845b81811015613c5f57835183529284019291840191600101613c43565b50909695505050505050565b60008060208385031215613c7e57600080fd5b823567ffffffffffffffff80821115613c9657600080fd5b818501915085601f830112613caa57600080fd5b813581811115613cb957600080fd5b866020828501011115613c1557600080fd5b600080600060608486031215613ce057600080fd5b8335613ceb81613b64565b92506020840135613cfb81613b64565b929592945050506040919091013590565b600060208284031215613d1e57600080fd5b813561ffff811681146123e057600080fd5b600060208284031215613d4257600080fd5b81356123e081613b64565b60008060408385031215613d6057600080fd5b8235613d6b81613b64565b915060208301358015158114613d8057600080fd5b809150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60008060008060808587031215613dd057600080fd5b8435613ddb81613b64565b93506020850135613deb81613b64565b925060408501359150606085013567ffffffffffffffff80821115613e0f57600080fd5b818701915087601f830112613e2357600080fd5b813581811115613e3557613e35613d8b565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f01168101908382118183101715613e7b57613e7b613d8b565b816040528281528a6020848701011115613e9457600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b60008060408385031215613ecb57600080fd5b8235613ed681613b64565b91506020830135613d8081613b64565b600181811c90821680613efa57607f821691505b602082108114156120e4577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061ffff808316818516808303821115613f8057613f80613f34565b01949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613fea57613fea613f34565b5060010190565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561402957614029613f34565b500290565b6000821982111561404157614041613f34565b500190565b600061ffff8381169083168181101561406157614061613f34565b039392505050565b60008282101561407b5761407b613f34565b500390565b60006020828403121561409257600080fd5b81516123e081613b64565b600083516140af818460208801613ac2565b835190830190613f80818360208801613ac2565b6000816140d2576140d2613f34565b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600082614136576141366140f8565b500690565b60008261414a5761414a6140f8565b500490565b600073ffffffffffffffffffffffffffffffffffffffff80871683528086166020840152508360408301526080606083015261418e6080830184613aee565b9695505050505050565b6000602082840312156141aa57600080fd5b81516123e081613a7756fe36393665326265623063323736393164653663323764353564303833343735373766376662346161663233613131343761386263663633353237636331316264a26469706673582212207de41159a7bf0fe2ae70b8a1ad96d41d7821a4d83343aaed7321ea2904b410c664736f6c634300080a0033

Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.