ETH Price: $3,106.31 (+0.60%)

Token

NFT2040 Crates (NFT2040Crates)
 

Overview

Max Total Supply

2,527 NFT2040Crates

Holders

784

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
talas.eth
Balance
1 NFT2040Crates
0x43743b802f7606078ee5b1562386177793558cef
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

The Blockchain-Based Battle Royale for NFTs provide utility to existing NFT collections, and a common meeting ground for communities. Drop NFT into the Arena and compete to be the last fighter standing.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
NFT2040Crates

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 1 : Crates.sol
/**
 *Submitted for verification at Etherscan.io on 2021-06-27
 */

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant alphabet = "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] = alphabet[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }
}

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;
        // solhint-disable-next-line no-inline-assembly
        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"
        );

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) private 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

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

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

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

pragma solidity ^0.8.0;

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

pragma solidity ^0.8.0;

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

pragma solidity ^0.8.0;

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

pragma solidity ^0.8.0;

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

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) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

pragma solidity ^0.8.0;

/**
 * @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() {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), 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 {
        emit OwnershipTransferred(_owner, address(0));
        _owner = 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"
        );
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

pragma solidity ^0.8.0;

/**
 * @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}. Empty by default, can be overriden
     * in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

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

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, ``from``'s `tokenId` will be burned.
     * - `from` 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 {}
}

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, ``from``'s `tokenId` will be burned.
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual override {
        super._beforeTokenTransfer(from, to, tokenId);

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

contract NFT2040Crates is ERC721Enumerable, Ownable {
    using SafeMath for uint256;
    using Address for address;
    using Strings for uint256;
    uint256 public constant NFT_PRICE = 100000000000000000;
    uint256 public constant MAX_NFT_PURCHASE = 7;
    uint256 public MAX_SUPPLY = 10000;
    bool public saleIsActive = false;

    uint256 public startingIndex;
    uint256 public startingIndexBlock;

    string private _baseURIExtended;
    mapping(uint256 => string) _tokenURIs;

    address public store;

    constructor(address _store) ERC721("NFT2040 Crates", "NFT2040Crates") {
        store = _store;
    }

    function toggleSaleStatus() public onlyOwner {
        saleIsActive = !saleIsActive;
    }

    function withdraw() public onlyOwner {
        uint256 balance = address(this).balance;
        (bool sent, ) = store.call{value: balance}("");
        require(sent, "Failed to send Ether");
    }

    function reserveTokens() public onlyOwner {
        uint256 supply = totalSupply();
        uint256 i;
        for (i = 0; i < 30; i++) {
            _safeMint(msg.sender, supply + i);
        }

        if (startingIndexBlock == 0) {
            startingIndexBlock = block.number;
        }
    }

    function mint(uint256 count) public payable {
        require(saleIsActive, "Sale is not active");
        require(count > 0, "Number of tokens must be positive");
        require(
            totalSupply().add(count) <= MAX_SUPPLY,
            "Purchase would exceed max supply of crates"
        );
        require(
            count <= MAX_NFT_PURCHASE,
            "Can only mint up to 7 per purchase"
        );
        require(
            NFT_PRICE.mul(count) == msg.value,
            "Sent ether value is incorrect"
        );

        for (uint256 i = 0; i < count; i++) {
            _safeMint(msg.sender, totalSupply());
        }
    }

    function calcStartingIndex() public onlyOwner {
        require(startingIndex == 0, "Starting index has already been set");
        require(startingIndexBlock != 0, "Starting index has not been set yet");

        startingIndex = uint256(blockhash(startingIndexBlock)) % MAX_SUPPLY;
        // Just a sanity case in the worst case if this function is called late (EVM only stores last 256 block hashes)
        if (block.number.sub(startingIndexBlock) > 255) {
            startingIndex = uint256(blockhash(block.number - 1)) % MAX_SUPPLY;
        }

        // To prevent original sequence
        if (startingIndex == 0) {
            startingIndex = startingIndex.add(1);
        }
    }

    function emergencySetStartingIndexBlock() public onlyOwner {
        require(startingIndex == 0, "Starting index is already set");
        startingIndexBlock = block.number;
    }

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

    // Sets base URI for all tokens, only able to be called by contract owner
    function setBaseURI(string memory baseURI_) external onlyOwner {
        _baseURIExtended = baseURI_;
    }

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

        string memory _tokenURI = _tokenURIs[tokenId];
        string memory base = _baseURI();

        // If there is no base URI, return the token URI.
        if (bytes(base).length == 0) {
            return _tokenURI;
        }
        // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked).
        if (bytes(_tokenURI).length > 0) {
            return string(abi.encodePacked(base, _tokenURI));
        }
        // If there is a baseURI but no tokenURI, concatenate the tokenID to the baseURI.
        return string(abi.encodePacked(base, tokenId.toString()));
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_store","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_NFT_PURCHASE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"NFT_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"calcStartingIndex","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"emergencySetStartingIndexBlock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"count","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reserveTokens","outputs":[],"stateMutability":"nonpayable","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":[],"name":"saleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startingIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startingIndexBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"store","outputs":[{"internalType":"address","name":"","type":"address"}],"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":[],"name":"toggleSaleStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052612710600b556000600c60006101000a81548160ff0219169083151502179055503480156200003257600080fd5b5060405162004abe38038062004abe8339818101604052810190620000589190620002c0565b6040518060400160405280600e81526020017f4e465432303430204372617465730000000000000000000000000000000000008152506040518060400160405280600d81526020017f4e465432303430437261746573000000000000000000000000000000000000008152508160009080519060200190620000dc929190620001f9565b508060019080519060200190620000f5929190620001f9565b50505060006200010a620001f160201b60201c565b905080600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35080601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550506200039f565b600033905090565b828054620002079062000320565b90600052602060002090601f0160209004810192826200022b576000855562000277565b82601f106200024657805160ff191683800117855562000277565b8280016001018555821562000277579182015b828111156200027657825182559160200191906001019062000259565b5b5090506200028691906200028a565b5090565b5b80821115620002a55760008160009055506001016200028b565b5090565b600081519050620002ba8162000385565b92915050565b600060208284031215620002d357600080fd5b6000620002e384828501620002a9565b91505092915050565b6000620002f98262000300565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600060028204905060018216806200033957607f821691505b6020821081141562000350576200034f62000356565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6200039081620002ec565b81146200039c57600080fd5b50565b61470f80620003af6000396000f3fe6080604052600436106101ee5760003560e01c8063676dd5631161010d578063a22cb465116100a0578063e13f351a1161006f578063e13f351a146106a6578063e36d6498146106bd578063e985e9c5146106e8578063eb8d244414610725578063f2fde38b14610750576101ee565b8063a22cb465146105ec578063b88d4fde14610615578063c87b56dd1461063e578063cb774d471461067b576101ee565b80638da5cb5b116100dc5780638da5cb5b1461054f57806395d89b411461057a578063975057e7146105a5578063a0712d68146105d0576101ee565b8063676dd563146104b957806370a08231146104e4578063715018a6146105215780637d17fcbe14610538576101ee565b806327ac36c41161018557806342842e0e1161015457806342842e0e146103ed5780634f6ccce71461041657806355f804b3146104535780636352211e1461047c576101ee565b806327ac36c4146103575780632f745c591461036e57806332cb6b0c146103ab5780633ccfd60b146103d6576101ee565b8063081812fc116101c1578063081812fc1461029d578063095ea7b3146102da57806318160ddd1461030357806323b872dd1461032e576101ee565b806301ffc9a7146101f3578063020b39cc14610230578063049c5c491461025b57806306fdde0314610272575b600080fd5b3480156101ff57600080fd5b5061021a60048036038101906102159190613153565b610779565b6040516102279190613753565b60405180910390f35b34801561023c57600080fd5b506102456107f3565b6040516102529190613af0565b60405180910390f35b34801561026757600080fd5b506102706107f8565b005b34801561027e57600080fd5b506102876108a0565b604051610294919061376e565b60405180910390f35b3480156102a957600080fd5b506102c460048036038101906102bf91906131e6565b610932565b6040516102d191906136ec565b60405180910390f35b3480156102e657600080fd5b5061030160048036038101906102fc9190613117565b6109b7565b005b34801561030f57600080fd5b50610318610acf565b6040516103259190613af0565b60405180910390f35b34801561033a57600080fd5b5061035560048036038101906103509190613011565b610adc565b005b34801561036357600080fd5b5061036c610b3c565b005b34801561037a57600080fd5b5061039560048036038101906103909190613117565b610c0f565b6040516103a29190613af0565b60405180910390f35b3480156103b757600080fd5b506103c0610cb4565b6040516103cd9190613af0565b60405180910390f35b3480156103e257600080fd5b506103eb610cba565b005b3480156103f957600080fd5b50610414600480360381019061040f9190613011565b610e0d565b005b34801561042257600080fd5b5061043d600480360381019061043891906131e6565b610e2d565b60405161044a9190613af0565b60405180910390f35b34801561045f57600080fd5b5061047a600480360381019061047591906131a5565b610ec4565b005b34801561048857600080fd5b506104a3600480360381019061049e91906131e6565b610f5a565b6040516104b091906136ec565b60405180910390f35b3480156104c557600080fd5b506104ce61100c565b6040516104db9190613af0565b60405180910390f35b3480156104f057600080fd5b5061050b60048036038101906105069190612fac565b611018565b6040516105189190613af0565b60405180910390f35b34801561052d57600080fd5b506105366110d0565b005b34801561054457600080fd5b5061054d61120d565b005b34801561055b57600080fd5b506105646112d7565b60405161057191906136ec565b60405180910390f35b34801561058657600080fd5b5061058f611301565b60405161059c919061376e565b60405180910390f35b3480156105b157600080fd5b506105ba611393565b6040516105c791906136ec565b60405180910390f35b6105ea60048036038101906105e591906131e6565b6113b9565b005b3480156105f857600080fd5b50610613600480360381019061060e91906130db565b61157c565b005b34801561062157600080fd5b5061063c60048036038101906106379190613060565b6116fd565b005b34801561064a57600080fd5b50610665600480360381019061066091906131e6565b61175f565b604051610672919061376e565b60405180910390f35b34801561068757600080fd5b506106906118d2565b60405161069d9190613af0565b60405180910390f35b3480156106b257600080fd5b506106bb6118d8565b005b3480156106c957600080fd5b506106d2611a65565b6040516106df9190613af0565b60405180910390f35b3480156106f457600080fd5b5061070f600480360381019061070a9190612fd5565b611a6b565b60405161071c9190613753565b60405180910390f35b34801561073157600080fd5b5061073a611aff565b6040516107479190613753565b60405180910390f35b34801561075c57600080fd5b5061077760048036038101906107729190612fac565b611b12565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806107ec57506107eb82611cbe565b5b9050919050565b600781565b610800611da0565b73ffffffffffffffffffffffffffffffffffffffff1661081e6112d7565b73ffffffffffffffffffffffffffffffffffffffff1614610874576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161086b906139d0565b60405180910390fd5b600c60009054906101000a900460ff1615600c60006101000a81548160ff021916908315150217905550565b6060600080546108af90613dab565b80601f01602080910402602001604051908101604052809291908181526020018280546108db90613dab565b80156109285780601f106108fd57610100808354040283529160200191610928565b820191906000526020600020905b81548152906001019060200180831161090b57829003601f168201915b5050505050905090565b600061093d82611da8565b61097c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610973906139b0565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006109c282610f5a565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a2a90613a50565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a52611da0565b73ffffffffffffffffffffffffffffffffffffffff161480610a815750610a8081610a7b611da0565b611a6b565b5b610ac0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ab790613910565b60405180910390fd5b610aca8383611e14565b505050565b6000600880549050905090565b610aed610ae7611da0565b82611ecd565b610b2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b2390613a90565b60405180910390fd5b610b37838383611fab565b505050565b610b44611da0565b73ffffffffffffffffffffffffffffffffffffffff16610b626112d7565b73ffffffffffffffffffffffffffffffffffffffff1614610bb8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610baf906139d0565b60405180910390fd5b6000610bc2610acf565b905060005b601e811015610bf857610be5338284610be09190613be0565b612207565b8080610bf090613e0e565b915050610bc7565b6000600e541415610c0b5743600e819055505b5050565b6000610c1a83611018565b8210610c5b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c52906137b0565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b600b5481565b610cc2611da0565b73ffffffffffffffffffffffffffffffffffffffff16610ce06112d7565b73ffffffffffffffffffffffffffffffffffffffff1614610d36576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2d906139d0565b60405180910390fd5b60004790506000601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1682604051610d83906136d7565b60006040518083038185875af1925050503d8060008114610dc0576040519150601f19603f3d011682016040523d82523d6000602084013e610dc5565b606091505b5050905080610e09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e0090613830565b60405180910390fd5b5050565b610e28838383604051806020016040528060008152506116fd565b505050565b6000610e37610acf565b8210610e78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6f90613ab0565b60405180910390fd5b60088281548110610eb2577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b610ecc611da0565b73ffffffffffffffffffffffffffffffffffffffff16610eea6112d7565b73ffffffffffffffffffffffffffffffffffffffff1614610f40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f37906139d0565b60405180910390fd5b80600f9080519060200190610f56929190612dd0565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611003576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ffa90613950565b60405180910390fd5b80915050919050565b67016345785d8a000081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611089576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108090613930565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6110d8611da0565b73ffffffffffffffffffffffffffffffffffffffff166110f66112d7565b73ffffffffffffffffffffffffffffffffffffffff161461114c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611143906139d0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b611215611da0565b73ffffffffffffffffffffffffffffffffffffffff166112336112d7565b73ffffffffffffffffffffffffffffffffffffffff1614611289576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611280906139d0565b60405180910390fd5b6000600d54146112ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112c5906138f0565b60405180910390fd5b43600e81905550565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461131090613dab565b80601f016020809104026020016040519081016040528092919081815260200182805461133c90613dab565b80156113895780601f1061135e57610100808354040283529160200191611389565b820191906000526020600020905b81548152906001019060200180831161136c57829003601f168201915b5050505050905090565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600c60009054906101000a900460ff16611408576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113ff90613890565b60405180910390fd5b6000811161144b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611442906139f0565b60405180910390fd5b600b546114688261145a610acf565b61222590919063ffffffff16565b11156114a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114a090613a70565b60405180910390fd5b60078111156114ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e4906138d0565b60405180910390fd5b346115098267016345785d8a000061223b90919063ffffffff16565b14611549576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154090613970565b60405180910390fd5b60005b818110156115785761156533611560610acf565b612207565b808061157090613e0e565b91505061154c565b5050565b611584611da0565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156115f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115e990613870565b60405180910390fd5b80600560006115ff611da0565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166116ac611da0565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516116f19190613753565b60405180910390a35050565b61170e611708611da0565b83611ecd565b61174d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174490613a90565b60405180910390fd5b61175984848484612251565b50505050565b606061176a82611da8565b6117a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117a090613a30565b60405180910390fd5b60006010600084815260200190815260200160002080546117c990613dab565b80601f01602080910402602001604051908101604052809291908181526020018280546117f590613dab565b80156118425780601f1061181757610100808354040283529160200191611842565b820191906000526020600020905b81548152906001019060200180831161182557829003601f168201915b5050505050905060006118536122ad565b90506000815114156118695781925050506118cd565b60008251111561189e5780826040516020016118869291906136b3565b604051602081830303815290604052925050506118cd565b806118a88561233f565b6040516020016118b99291906136b3565b604051602081830303815290604052925050505b919050565b600d5481565b6118e0611da0565b73ffffffffffffffffffffffffffffffffffffffff166118fe6112d7565b73ffffffffffffffffffffffffffffffffffffffff1614611954576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161194b906139d0565b60405180910390fd5b6000600d5414611999576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199090613ad0565b60405180910390fd5b6000600e5414156119df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119d690613790565b60405180910390fd5b600b54600e544060001c6119f39190613e57565b600d8190555060ff611a10600e54436124ec90919063ffffffff16565b1115611a3b57600b54600143611a269190613cc1565b4060001c611a349190613e57565b600d819055505b6000600d541415611a6357611a5c6001600d5461222590919063ffffffff16565b600d819055505b565b600e5481565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600c60009054906101000a900460ff1681565b611b1a611da0565b73ffffffffffffffffffffffffffffffffffffffff16611b386112d7565b73ffffffffffffffffffffffffffffffffffffffff1614611b8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b85906139d0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611bfe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bf5906137f0565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611d8957507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611d995750611d9882612502565b5b9050919050565b600033905090565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611e8783610f5a565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611ed882611da8565b611f17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f0e906138b0565b60405180910390fd5b6000611f2283610f5a565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611f9157508373ffffffffffffffffffffffffffffffffffffffff16611f7984610932565b73ffffffffffffffffffffffffffffffffffffffff16145b80611fa25750611fa18185611a6b565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611fcb82610f5a565b73ffffffffffffffffffffffffffffffffffffffff1614612021576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161201890613a10565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612091576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161208890613850565b60405180910390fd5b61209c83838361256c565b6120a7600082611e14565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546120f79190613cc1565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461214e9190613be0565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b612221828260405180602001604052806000815250612680565b5050565b600081836122339190613be0565b905092915050565b600081836122499190613c67565b905092915050565b61225c848484611fab565b612268848484846126db565b6122a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161229e906137d0565b60405180910390fd5b50505050565b6060600f80546122bc90613dab565b80601f01602080910402602001604051908101604052809291908181526020018280546122e890613dab565b80156123355780601f1061230a57610100808354040283529160200191612335565b820191906000526020600020905b81548152906001019060200180831161231857829003601f168201915b5050505050905090565b60606000821415612387576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506124e7565b600082905060005b600082146123b95780806123a290613e0e565b915050600a826123b29190613c36565b915061238f565b60008167ffffffffffffffff8111156123fb577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561242d5781602001600182028036833780820191505090505b5090505b600085146124e0576001826124469190613cc1565b9150600a856124559190613e57565b60306124619190613be0565b60f81b81838151811061249d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856124d99190613c36565b9450612431565b8093505050505b919050565b600081836124fa9190613cc1565b905092915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612577838383612872565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156125ba576125b581612877565b6125f9565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146125f8576125f783826128c0565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561263c5761263781612a2d565b61267b565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461267a576126798282612b70565b5b5b505050565b61268a8383612bef565b61269760008484846126db565b6126d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126cd906137d0565b60405180910390fd5b505050565b60006126fc8473ffffffffffffffffffffffffffffffffffffffff16612dbd565b15612865578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612725611da0565b8786866040518563ffffffff1660e01b81526004016127479493929190613707565b602060405180830381600087803b15801561276157600080fd5b505af192505050801561279257506040513d601f19601f8201168201806040525081019061278f919061317c565b60015b612815573d80600081146127c2576040519150601f19603f3d011682016040523d82523d6000602084013e6127c7565b606091505b5060008151141561280d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612804906137d0565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061286a565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016128cd84611018565b6128d79190613cc1565b90506000600760008481526020019081526020016000205490508181146129bc576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050612a419190613cc1565b9050600060096000848152602001908152602001600020549050600060088381548110612a97577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110612adf577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480612b54577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000612b7b83611018565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612c5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c5690613990565b60405180910390fd5b612c6881611da8565b15612ca8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c9f90613810565b60405180910390fd5b612cb46000838361256c565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612d049190613be0565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b828054612ddc90613dab565b90600052602060002090601f016020900481019282612dfe5760008555612e45565b82601f10612e1757805160ff1916838001178555612e45565b82800160010185558215612e45579182015b82811115612e44578251825591602001919060010190612e29565b5b509050612e529190612e56565b5090565b5b80821115612e6f576000816000905550600101612e57565b5090565b6000612e86612e8184613b30565b613b0b565b905082815260208101848484011115612e9e57600080fd5b612ea9848285613d69565b509392505050565b6000612ec4612ebf84613b61565b613b0b565b905082815260208101848484011115612edc57600080fd5b612ee7848285613d69565b509392505050565b600081359050612efe8161467d565b92915050565b600081359050612f1381614694565b92915050565b600081359050612f28816146ab565b92915050565b600081519050612f3d816146ab565b92915050565b600082601f830112612f5457600080fd5b8135612f64848260208601612e73565b91505092915050565b600082601f830112612f7e57600080fd5b8135612f8e848260208601612eb1565b91505092915050565b600081359050612fa6816146c2565b92915050565b600060208284031215612fbe57600080fd5b6000612fcc84828501612eef565b91505092915050565b60008060408385031215612fe857600080fd5b6000612ff685828601612eef565b925050602061300785828601612eef565b9150509250929050565b60008060006060848603121561302657600080fd5b600061303486828701612eef565b935050602061304586828701612eef565b925050604061305686828701612f97565b9150509250925092565b6000806000806080858703121561307657600080fd5b600061308487828801612eef565b945050602061309587828801612eef565b93505060406130a687828801612f97565b925050606085013567ffffffffffffffff8111156130c357600080fd5b6130cf87828801612f43565b91505092959194509250565b600080604083850312156130ee57600080fd5b60006130fc85828601612eef565b925050602061310d85828601612f04565b9150509250929050565b6000806040838503121561312a57600080fd5b600061313885828601612eef565b925050602061314985828601612f97565b9150509250929050565b60006020828403121561316557600080fd5b600061317384828501612f19565b91505092915050565b60006020828403121561318e57600080fd5b600061319c84828501612f2e565b91505092915050565b6000602082840312156131b757600080fd5b600082013567ffffffffffffffff8111156131d157600080fd5b6131dd84828501612f6d565b91505092915050565b6000602082840312156131f857600080fd5b600061320684828501612f97565b91505092915050565b61321881613cf5565b82525050565b61322781613d07565b82525050565b600061323882613b92565b6132428185613ba8565b9350613252818560208601613d78565b61325b81613f44565b840191505092915050565b600061327182613b9d565b61327b8185613bc4565b935061328b818560208601613d78565b61329481613f44565b840191505092915050565b60006132aa82613b9d565b6132b48185613bd5565b93506132c4818560208601613d78565b80840191505092915050565b60006132dd602383613bc4565b91506132e882613f55565b604082019050919050565b6000613300602b83613bc4565b915061330b82613fa4565b604082019050919050565b6000613323603283613bc4565b915061332e82613ff3565b604082019050919050565b6000613346602683613bc4565b915061335182614042565b604082019050919050565b6000613369601c83613bc4565b915061337482614091565b602082019050919050565b600061338c601483613bc4565b9150613397826140ba565b602082019050919050565b60006133af602483613bc4565b91506133ba826140e3565b604082019050919050565b60006133d2601983613bc4565b91506133dd82614132565b602082019050919050565b60006133f5601283613bc4565b91506134008261415b565b602082019050919050565b6000613418602c83613bc4565b915061342382614184565b604082019050919050565b600061343b602283613bc4565b9150613446826141d3565b604082019050919050565b600061345e601d83613bc4565b915061346982614222565b602082019050919050565b6000613481603883613bc4565b915061348c8261424b565b604082019050919050565b60006134a4602a83613bc4565b91506134af8261429a565b604082019050919050565b60006134c7602983613bc4565b91506134d2826142e9565b604082019050919050565b60006134ea601d83613bc4565b91506134f582614338565b602082019050919050565b600061350d602083613bc4565b915061351882614361565b602082019050919050565b6000613530602c83613bc4565b915061353b8261438a565b604082019050919050565b6000613553602083613bc4565b915061355e826143d9565b602082019050919050565b6000613576602183613bc4565b915061358182614402565b604082019050919050565b6000613599602983613bc4565b91506135a482614451565b604082019050919050565b60006135bc602f83613bc4565b91506135c7826144a0565b604082019050919050565b60006135df602183613bc4565b91506135ea826144ef565b604082019050919050565b6000613602602a83613bc4565b915061360d8261453e565b604082019050919050565b6000613625600083613bb9565b91506136308261458d565b600082019050919050565b6000613648603183613bc4565b915061365382614590565b604082019050919050565b600061366b602c83613bc4565b9150613676826145df565b604082019050919050565b600061368e602383613bc4565b91506136998261462e565b604082019050919050565b6136ad81613d5f565b82525050565b60006136bf828561329f565b91506136cb828461329f565b91508190509392505050565b60006136e282613618565b9150819050919050565b6000602082019050613701600083018461320f565b92915050565b600060808201905061371c600083018761320f565b613729602083018661320f565b61373660408301856136a4565b8181036060830152613748818461322d565b905095945050505050565b6000602082019050613768600083018461321e565b92915050565b600060208201905081810360008301526137888184613266565b905092915050565b600060208201905081810360008301526137a9816132d0565b9050919050565b600060208201905081810360008301526137c9816132f3565b9050919050565b600060208201905081810360008301526137e981613316565b9050919050565b6000602082019050818103600083015261380981613339565b9050919050565b600060208201905081810360008301526138298161335c565b9050919050565b600060208201905081810360008301526138498161337f565b9050919050565b60006020820190508181036000830152613869816133a2565b9050919050565b60006020820190508181036000830152613889816133c5565b9050919050565b600060208201905081810360008301526138a9816133e8565b9050919050565b600060208201905081810360008301526138c98161340b565b9050919050565b600060208201905081810360008301526138e98161342e565b9050919050565b6000602082019050818103600083015261390981613451565b9050919050565b6000602082019050818103600083015261392981613474565b9050919050565b6000602082019050818103600083015261394981613497565b9050919050565b60006020820190508181036000830152613969816134ba565b9050919050565b60006020820190508181036000830152613989816134dd565b9050919050565b600060208201905081810360008301526139a981613500565b9050919050565b600060208201905081810360008301526139c981613523565b9050919050565b600060208201905081810360008301526139e981613546565b9050919050565b60006020820190508181036000830152613a0981613569565b9050919050565b60006020820190508181036000830152613a298161358c565b9050919050565b60006020820190508181036000830152613a49816135af565b9050919050565b60006020820190508181036000830152613a69816135d2565b9050919050565b60006020820190508181036000830152613a89816135f5565b9050919050565b60006020820190508181036000830152613aa98161363b565b9050919050565b60006020820190508181036000830152613ac98161365e565b9050919050565b60006020820190508181036000830152613ae981613681565b9050919050565b6000602082019050613b0560008301846136a4565b92915050565b6000613b15613b26565b9050613b218282613ddd565b919050565b6000604051905090565b600067ffffffffffffffff821115613b4b57613b4a613f15565b5b613b5482613f44565b9050602081019050919050565b600067ffffffffffffffff821115613b7c57613b7b613f15565b5b613b8582613f44565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000613beb82613d5f565b9150613bf683613d5f565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613c2b57613c2a613e88565b5b828201905092915050565b6000613c4182613d5f565b9150613c4c83613d5f565b925082613c5c57613c5b613eb7565b5b828204905092915050565b6000613c7282613d5f565b9150613c7d83613d5f565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613cb657613cb5613e88565b5b828202905092915050565b6000613ccc82613d5f565b9150613cd783613d5f565b925082821015613cea57613ce9613e88565b5b828203905092915050565b6000613d0082613d3f565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613d96578082015181840152602081019050613d7b565b83811115613da5576000848401525b50505050565b60006002820490506001821680613dc357607f821691505b60208210811415613dd757613dd6613ee6565b5b50919050565b613de682613f44565b810181811067ffffffffffffffff82111715613e0557613e04613f15565b5b80604052505050565b6000613e1982613d5f565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613e4c57613e4b613e88565b5b600182019050919050565b6000613e6282613d5f565b9150613e6d83613d5f565b925082613e7d57613e7c613eb7565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f5374617274696e6720696e64657820686173206e6f74206265656e207365742060008201527f7965740000000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4661696c656420746f2073656e64204574686572000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f53616c65206973206e6f74206163746976650000000000000000000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f43616e206f6e6c79206d696e7420757020746f2037207065722070757263686160008201527f7365000000000000000000000000000000000000000000000000000000000000602082015250565b7f5374617274696e6720696e64657820697320616c726561647920736574000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f53656e742065746865722076616c756520697320696e636f7272656374000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4e756d626572206f6620746f6b656e73206d75737420626520706f736974697660008201527f6500000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f507572636861736520776f756c6420657863656564206d617820737570706c7960008201527f206f662063726174657300000000000000000000000000000000000000000000602082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f5374617274696e6720696e6465782068617320616c7265616479206265656e2060008201527f7365740000000000000000000000000000000000000000000000000000000000602082015250565b61468681613cf5565b811461469157600080fd5b50565b61469d81613d07565b81146146a857600080fd5b50565b6146b481613d13565b81146146bf57600080fd5b50565b6146cb81613d5f565b81146146d657600080fd5b5056fea26469706673582212208cfb5ee2a03112e27d8e8ee7a9f48a85bde9f1f9b3d0b310c4c11f338746854c64736f6c63430008040033000000000000000000000000e786259457eb1b7418b689b06c4f55e13d4fcd07

Deployed Bytecode

0x6080604052600436106101ee5760003560e01c8063676dd5631161010d578063a22cb465116100a0578063e13f351a1161006f578063e13f351a146106a6578063e36d6498146106bd578063e985e9c5146106e8578063eb8d244414610725578063f2fde38b14610750576101ee565b8063a22cb465146105ec578063b88d4fde14610615578063c87b56dd1461063e578063cb774d471461067b576101ee565b80638da5cb5b116100dc5780638da5cb5b1461054f57806395d89b411461057a578063975057e7146105a5578063a0712d68146105d0576101ee565b8063676dd563146104b957806370a08231146104e4578063715018a6146105215780637d17fcbe14610538576101ee565b806327ac36c41161018557806342842e0e1161015457806342842e0e146103ed5780634f6ccce71461041657806355f804b3146104535780636352211e1461047c576101ee565b806327ac36c4146103575780632f745c591461036e57806332cb6b0c146103ab5780633ccfd60b146103d6576101ee565b8063081812fc116101c1578063081812fc1461029d578063095ea7b3146102da57806318160ddd1461030357806323b872dd1461032e576101ee565b806301ffc9a7146101f3578063020b39cc14610230578063049c5c491461025b57806306fdde0314610272575b600080fd5b3480156101ff57600080fd5b5061021a60048036038101906102159190613153565b610779565b6040516102279190613753565b60405180910390f35b34801561023c57600080fd5b506102456107f3565b6040516102529190613af0565b60405180910390f35b34801561026757600080fd5b506102706107f8565b005b34801561027e57600080fd5b506102876108a0565b604051610294919061376e565b60405180910390f35b3480156102a957600080fd5b506102c460048036038101906102bf91906131e6565b610932565b6040516102d191906136ec565b60405180910390f35b3480156102e657600080fd5b5061030160048036038101906102fc9190613117565b6109b7565b005b34801561030f57600080fd5b50610318610acf565b6040516103259190613af0565b60405180910390f35b34801561033a57600080fd5b5061035560048036038101906103509190613011565b610adc565b005b34801561036357600080fd5b5061036c610b3c565b005b34801561037a57600080fd5b5061039560048036038101906103909190613117565b610c0f565b6040516103a29190613af0565b60405180910390f35b3480156103b757600080fd5b506103c0610cb4565b6040516103cd9190613af0565b60405180910390f35b3480156103e257600080fd5b506103eb610cba565b005b3480156103f957600080fd5b50610414600480360381019061040f9190613011565b610e0d565b005b34801561042257600080fd5b5061043d600480360381019061043891906131e6565b610e2d565b60405161044a9190613af0565b60405180910390f35b34801561045f57600080fd5b5061047a600480360381019061047591906131a5565b610ec4565b005b34801561048857600080fd5b506104a3600480360381019061049e91906131e6565b610f5a565b6040516104b091906136ec565b60405180910390f35b3480156104c557600080fd5b506104ce61100c565b6040516104db9190613af0565b60405180910390f35b3480156104f057600080fd5b5061050b60048036038101906105069190612fac565b611018565b6040516105189190613af0565b60405180910390f35b34801561052d57600080fd5b506105366110d0565b005b34801561054457600080fd5b5061054d61120d565b005b34801561055b57600080fd5b506105646112d7565b60405161057191906136ec565b60405180910390f35b34801561058657600080fd5b5061058f611301565b60405161059c919061376e565b60405180910390f35b3480156105b157600080fd5b506105ba611393565b6040516105c791906136ec565b60405180910390f35b6105ea60048036038101906105e591906131e6565b6113b9565b005b3480156105f857600080fd5b50610613600480360381019061060e91906130db565b61157c565b005b34801561062157600080fd5b5061063c60048036038101906106379190613060565b6116fd565b005b34801561064a57600080fd5b50610665600480360381019061066091906131e6565b61175f565b604051610672919061376e565b60405180910390f35b34801561068757600080fd5b506106906118d2565b60405161069d9190613af0565b60405180910390f35b3480156106b257600080fd5b506106bb6118d8565b005b3480156106c957600080fd5b506106d2611a65565b6040516106df9190613af0565b60405180910390f35b3480156106f457600080fd5b5061070f600480360381019061070a9190612fd5565b611a6b565b60405161071c9190613753565b60405180910390f35b34801561073157600080fd5b5061073a611aff565b6040516107479190613753565b60405180910390f35b34801561075c57600080fd5b5061077760048036038101906107729190612fac565b611b12565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806107ec57506107eb82611cbe565b5b9050919050565b600781565b610800611da0565b73ffffffffffffffffffffffffffffffffffffffff1661081e6112d7565b73ffffffffffffffffffffffffffffffffffffffff1614610874576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161086b906139d0565b60405180910390fd5b600c60009054906101000a900460ff1615600c60006101000a81548160ff021916908315150217905550565b6060600080546108af90613dab565b80601f01602080910402602001604051908101604052809291908181526020018280546108db90613dab565b80156109285780601f106108fd57610100808354040283529160200191610928565b820191906000526020600020905b81548152906001019060200180831161090b57829003601f168201915b5050505050905090565b600061093d82611da8565b61097c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610973906139b0565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006109c282610f5a565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a2a90613a50565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a52611da0565b73ffffffffffffffffffffffffffffffffffffffff161480610a815750610a8081610a7b611da0565b611a6b565b5b610ac0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ab790613910565b60405180910390fd5b610aca8383611e14565b505050565b6000600880549050905090565b610aed610ae7611da0565b82611ecd565b610b2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b2390613a90565b60405180910390fd5b610b37838383611fab565b505050565b610b44611da0565b73ffffffffffffffffffffffffffffffffffffffff16610b626112d7565b73ffffffffffffffffffffffffffffffffffffffff1614610bb8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610baf906139d0565b60405180910390fd5b6000610bc2610acf565b905060005b601e811015610bf857610be5338284610be09190613be0565b612207565b8080610bf090613e0e565b915050610bc7565b6000600e541415610c0b5743600e819055505b5050565b6000610c1a83611018565b8210610c5b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c52906137b0565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b600b5481565b610cc2611da0565b73ffffffffffffffffffffffffffffffffffffffff16610ce06112d7565b73ffffffffffffffffffffffffffffffffffffffff1614610d36576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2d906139d0565b60405180910390fd5b60004790506000601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1682604051610d83906136d7565b60006040518083038185875af1925050503d8060008114610dc0576040519150601f19603f3d011682016040523d82523d6000602084013e610dc5565b606091505b5050905080610e09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e0090613830565b60405180910390fd5b5050565b610e28838383604051806020016040528060008152506116fd565b505050565b6000610e37610acf565b8210610e78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6f90613ab0565b60405180910390fd5b60088281548110610eb2577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b610ecc611da0565b73ffffffffffffffffffffffffffffffffffffffff16610eea6112d7565b73ffffffffffffffffffffffffffffffffffffffff1614610f40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f37906139d0565b60405180910390fd5b80600f9080519060200190610f56929190612dd0565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611003576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ffa90613950565b60405180910390fd5b80915050919050565b67016345785d8a000081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611089576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108090613930565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6110d8611da0565b73ffffffffffffffffffffffffffffffffffffffff166110f66112d7565b73ffffffffffffffffffffffffffffffffffffffff161461114c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611143906139d0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b611215611da0565b73ffffffffffffffffffffffffffffffffffffffff166112336112d7565b73ffffffffffffffffffffffffffffffffffffffff1614611289576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611280906139d0565b60405180910390fd5b6000600d54146112ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112c5906138f0565b60405180910390fd5b43600e81905550565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461131090613dab565b80601f016020809104026020016040519081016040528092919081815260200182805461133c90613dab565b80156113895780601f1061135e57610100808354040283529160200191611389565b820191906000526020600020905b81548152906001019060200180831161136c57829003601f168201915b5050505050905090565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600c60009054906101000a900460ff16611408576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113ff90613890565b60405180910390fd5b6000811161144b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611442906139f0565b60405180910390fd5b600b546114688261145a610acf565b61222590919063ffffffff16565b11156114a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114a090613a70565b60405180910390fd5b60078111156114ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e4906138d0565b60405180910390fd5b346115098267016345785d8a000061223b90919063ffffffff16565b14611549576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154090613970565b60405180910390fd5b60005b818110156115785761156533611560610acf565b612207565b808061157090613e0e565b91505061154c565b5050565b611584611da0565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156115f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115e990613870565b60405180910390fd5b80600560006115ff611da0565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166116ac611da0565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516116f19190613753565b60405180910390a35050565b61170e611708611da0565b83611ecd565b61174d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174490613a90565b60405180910390fd5b61175984848484612251565b50505050565b606061176a82611da8565b6117a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117a090613a30565b60405180910390fd5b60006010600084815260200190815260200160002080546117c990613dab565b80601f01602080910402602001604051908101604052809291908181526020018280546117f590613dab565b80156118425780601f1061181757610100808354040283529160200191611842565b820191906000526020600020905b81548152906001019060200180831161182557829003601f168201915b5050505050905060006118536122ad565b90506000815114156118695781925050506118cd565b60008251111561189e5780826040516020016118869291906136b3565b604051602081830303815290604052925050506118cd565b806118a88561233f565b6040516020016118b99291906136b3565b604051602081830303815290604052925050505b919050565b600d5481565b6118e0611da0565b73ffffffffffffffffffffffffffffffffffffffff166118fe6112d7565b73ffffffffffffffffffffffffffffffffffffffff1614611954576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161194b906139d0565b60405180910390fd5b6000600d5414611999576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199090613ad0565b60405180910390fd5b6000600e5414156119df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119d690613790565b60405180910390fd5b600b54600e544060001c6119f39190613e57565b600d8190555060ff611a10600e54436124ec90919063ffffffff16565b1115611a3b57600b54600143611a269190613cc1565b4060001c611a349190613e57565b600d819055505b6000600d541415611a6357611a5c6001600d5461222590919063ffffffff16565b600d819055505b565b600e5481565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600c60009054906101000a900460ff1681565b611b1a611da0565b73ffffffffffffffffffffffffffffffffffffffff16611b386112d7565b73ffffffffffffffffffffffffffffffffffffffff1614611b8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b85906139d0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611bfe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bf5906137f0565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611d8957507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611d995750611d9882612502565b5b9050919050565b600033905090565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611e8783610f5a565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611ed882611da8565b611f17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f0e906138b0565b60405180910390fd5b6000611f2283610f5a565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611f9157508373ffffffffffffffffffffffffffffffffffffffff16611f7984610932565b73ffffffffffffffffffffffffffffffffffffffff16145b80611fa25750611fa18185611a6b565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611fcb82610f5a565b73ffffffffffffffffffffffffffffffffffffffff1614612021576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161201890613a10565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612091576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161208890613850565b60405180910390fd5b61209c83838361256c565b6120a7600082611e14565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546120f79190613cc1565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461214e9190613be0565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b612221828260405180602001604052806000815250612680565b5050565b600081836122339190613be0565b905092915050565b600081836122499190613c67565b905092915050565b61225c848484611fab565b612268848484846126db565b6122a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161229e906137d0565b60405180910390fd5b50505050565b6060600f80546122bc90613dab565b80601f01602080910402602001604051908101604052809291908181526020018280546122e890613dab565b80156123355780601f1061230a57610100808354040283529160200191612335565b820191906000526020600020905b81548152906001019060200180831161231857829003601f168201915b5050505050905090565b60606000821415612387576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506124e7565b600082905060005b600082146123b95780806123a290613e0e565b915050600a826123b29190613c36565b915061238f565b60008167ffffffffffffffff8111156123fb577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561242d5781602001600182028036833780820191505090505b5090505b600085146124e0576001826124469190613cc1565b9150600a856124559190613e57565b60306124619190613be0565b60f81b81838151811061249d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856124d99190613c36565b9450612431565b8093505050505b919050565b600081836124fa9190613cc1565b905092915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612577838383612872565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156125ba576125b581612877565b6125f9565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146125f8576125f783826128c0565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561263c5761263781612a2d565b61267b565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461267a576126798282612b70565b5b5b505050565b61268a8383612bef565b61269760008484846126db565b6126d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126cd906137d0565b60405180910390fd5b505050565b60006126fc8473ffffffffffffffffffffffffffffffffffffffff16612dbd565b15612865578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612725611da0565b8786866040518563ffffffff1660e01b81526004016127479493929190613707565b602060405180830381600087803b15801561276157600080fd5b505af192505050801561279257506040513d601f19601f8201168201806040525081019061278f919061317c565b60015b612815573d80600081146127c2576040519150601f19603f3d011682016040523d82523d6000602084013e6127c7565b606091505b5060008151141561280d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612804906137d0565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061286a565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016128cd84611018565b6128d79190613cc1565b90506000600760008481526020019081526020016000205490508181146129bc576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050612a419190613cc1565b9050600060096000848152602001908152602001600020549050600060088381548110612a97577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110612adf577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480612b54577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000612b7b83611018565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612c5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c5690613990565b60405180910390fd5b612c6881611da8565b15612ca8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c9f90613810565b60405180910390fd5b612cb46000838361256c565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612d049190613be0565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b828054612ddc90613dab565b90600052602060002090601f016020900481019282612dfe5760008555612e45565b82601f10612e1757805160ff1916838001178555612e45565b82800160010185558215612e45579182015b82811115612e44578251825591602001919060010190612e29565b5b509050612e529190612e56565b5090565b5b80821115612e6f576000816000905550600101612e57565b5090565b6000612e86612e8184613b30565b613b0b565b905082815260208101848484011115612e9e57600080fd5b612ea9848285613d69565b509392505050565b6000612ec4612ebf84613b61565b613b0b565b905082815260208101848484011115612edc57600080fd5b612ee7848285613d69565b509392505050565b600081359050612efe8161467d565b92915050565b600081359050612f1381614694565b92915050565b600081359050612f28816146ab565b92915050565b600081519050612f3d816146ab565b92915050565b600082601f830112612f5457600080fd5b8135612f64848260208601612e73565b91505092915050565b600082601f830112612f7e57600080fd5b8135612f8e848260208601612eb1565b91505092915050565b600081359050612fa6816146c2565b92915050565b600060208284031215612fbe57600080fd5b6000612fcc84828501612eef565b91505092915050565b60008060408385031215612fe857600080fd5b6000612ff685828601612eef565b925050602061300785828601612eef565b9150509250929050565b60008060006060848603121561302657600080fd5b600061303486828701612eef565b935050602061304586828701612eef565b925050604061305686828701612f97565b9150509250925092565b6000806000806080858703121561307657600080fd5b600061308487828801612eef565b945050602061309587828801612eef565b93505060406130a687828801612f97565b925050606085013567ffffffffffffffff8111156130c357600080fd5b6130cf87828801612f43565b91505092959194509250565b600080604083850312156130ee57600080fd5b60006130fc85828601612eef565b925050602061310d85828601612f04565b9150509250929050565b6000806040838503121561312a57600080fd5b600061313885828601612eef565b925050602061314985828601612f97565b9150509250929050565b60006020828403121561316557600080fd5b600061317384828501612f19565b91505092915050565b60006020828403121561318e57600080fd5b600061319c84828501612f2e565b91505092915050565b6000602082840312156131b757600080fd5b600082013567ffffffffffffffff8111156131d157600080fd5b6131dd84828501612f6d565b91505092915050565b6000602082840312156131f857600080fd5b600061320684828501612f97565b91505092915050565b61321881613cf5565b82525050565b61322781613d07565b82525050565b600061323882613b92565b6132428185613ba8565b9350613252818560208601613d78565b61325b81613f44565b840191505092915050565b600061327182613b9d565b61327b8185613bc4565b935061328b818560208601613d78565b61329481613f44565b840191505092915050565b60006132aa82613b9d565b6132b48185613bd5565b93506132c4818560208601613d78565b80840191505092915050565b60006132dd602383613bc4565b91506132e882613f55565b604082019050919050565b6000613300602b83613bc4565b915061330b82613fa4565b604082019050919050565b6000613323603283613bc4565b915061332e82613ff3565b604082019050919050565b6000613346602683613bc4565b915061335182614042565b604082019050919050565b6000613369601c83613bc4565b915061337482614091565b602082019050919050565b600061338c601483613bc4565b9150613397826140ba565b602082019050919050565b60006133af602483613bc4565b91506133ba826140e3565b604082019050919050565b60006133d2601983613bc4565b91506133dd82614132565b602082019050919050565b60006133f5601283613bc4565b91506134008261415b565b602082019050919050565b6000613418602c83613bc4565b915061342382614184565b604082019050919050565b600061343b602283613bc4565b9150613446826141d3565b604082019050919050565b600061345e601d83613bc4565b915061346982614222565b602082019050919050565b6000613481603883613bc4565b915061348c8261424b565b604082019050919050565b60006134a4602a83613bc4565b91506134af8261429a565b604082019050919050565b60006134c7602983613bc4565b91506134d2826142e9565b604082019050919050565b60006134ea601d83613bc4565b91506134f582614338565b602082019050919050565b600061350d602083613bc4565b915061351882614361565b602082019050919050565b6000613530602c83613bc4565b915061353b8261438a565b604082019050919050565b6000613553602083613bc4565b915061355e826143d9565b602082019050919050565b6000613576602183613bc4565b915061358182614402565b604082019050919050565b6000613599602983613bc4565b91506135a482614451565b604082019050919050565b60006135bc602f83613bc4565b91506135c7826144a0565b604082019050919050565b60006135df602183613bc4565b91506135ea826144ef565b604082019050919050565b6000613602602a83613bc4565b915061360d8261453e565b604082019050919050565b6000613625600083613bb9565b91506136308261458d565b600082019050919050565b6000613648603183613bc4565b915061365382614590565b604082019050919050565b600061366b602c83613bc4565b9150613676826145df565b604082019050919050565b600061368e602383613bc4565b91506136998261462e565b604082019050919050565b6136ad81613d5f565b82525050565b60006136bf828561329f565b91506136cb828461329f565b91508190509392505050565b60006136e282613618565b9150819050919050565b6000602082019050613701600083018461320f565b92915050565b600060808201905061371c600083018761320f565b613729602083018661320f565b61373660408301856136a4565b8181036060830152613748818461322d565b905095945050505050565b6000602082019050613768600083018461321e565b92915050565b600060208201905081810360008301526137888184613266565b905092915050565b600060208201905081810360008301526137a9816132d0565b9050919050565b600060208201905081810360008301526137c9816132f3565b9050919050565b600060208201905081810360008301526137e981613316565b9050919050565b6000602082019050818103600083015261380981613339565b9050919050565b600060208201905081810360008301526138298161335c565b9050919050565b600060208201905081810360008301526138498161337f565b9050919050565b60006020820190508181036000830152613869816133a2565b9050919050565b60006020820190508181036000830152613889816133c5565b9050919050565b600060208201905081810360008301526138a9816133e8565b9050919050565b600060208201905081810360008301526138c98161340b565b9050919050565b600060208201905081810360008301526138e98161342e565b9050919050565b6000602082019050818103600083015261390981613451565b9050919050565b6000602082019050818103600083015261392981613474565b9050919050565b6000602082019050818103600083015261394981613497565b9050919050565b60006020820190508181036000830152613969816134ba565b9050919050565b60006020820190508181036000830152613989816134dd565b9050919050565b600060208201905081810360008301526139a981613500565b9050919050565b600060208201905081810360008301526139c981613523565b9050919050565b600060208201905081810360008301526139e981613546565b9050919050565b60006020820190508181036000830152613a0981613569565b9050919050565b60006020820190508181036000830152613a298161358c565b9050919050565b60006020820190508181036000830152613a49816135af565b9050919050565b60006020820190508181036000830152613a69816135d2565b9050919050565b60006020820190508181036000830152613a89816135f5565b9050919050565b60006020820190508181036000830152613aa98161363b565b9050919050565b60006020820190508181036000830152613ac98161365e565b9050919050565b60006020820190508181036000830152613ae981613681565b9050919050565b6000602082019050613b0560008301846136a4565b92915050565b6000613b15613b26565b9050613b218282613ddd565b919050565b6000604051905090565b600067ffffffffffffffff821115613b4b57613b4a613f15565b5b613b5482613f44565b9050602081019050919050565b600067ffffffffffffffff821115613b7c57613b7b613f15565b5b613b8582613f44565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000613beb82613d5f565b9150613bf683613d5f565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613c2b57613c2a613e88565b5b828201905092915050565b6000613c4182613d5f565b9150613c4c83613d5f565b925082613c5c57613c5b613eb7565b5b828204905092915050565b6000613c7282613d5f565b9150613c7d83613d5f565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613cb657613cb5613e88565b5b828202905092915050565b6000613ccc82613d5f565b9150613cd783613d5f565b925082821015613cea57613ce9613e88565b5b828203905092915050565b6000613d0082613d3f565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613d96578082015181840152602081019050613d7b565b83811115613da5576000848401525b50505050565b60006002820490506001821680613dc357607f821691505b60208210811415613dd757613dd6613ee6565b5b50919050565b613de682613f44565b810181811067ffffffffffffffff82111715613e0557613e04613f15565b5b80604052505050565b6000613e1982613d5f565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613e4c57613e4b613e88565b5b600182019050919050565b6000613e6282613d5f565b9150613e6d83613d5f565b925082613e7d57613e7c613eb7565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f5374617274696e6720696e64657820686173206e6f74206265656e207365742060008201527f7965740000000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4661696c656420746f2073656e64204574686572000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f53616c65206973206e6f74206163746976650000000000000000000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f43616e206f6e6c79206d696e7420757020746f2037207065722070757263686160008201527f7365000000000000000000000000000000000000000000000000000000000000602082015250565b7f5374617274696e6720696e64657820697320616c726561647920736574000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f53656e742065746865722076616c756520697320696e636f7272656374000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4e756d626572206f6620746f6b656e73206d75737420626520706f736974697660008201527f6500000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f507572636861736520776f756c6420657863656564206d617820737570706c7960008201527f206f662063726174657300000000000000000000000000000000000000000000602082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f5374617274696e6720696e6465782068617320616c7265616479206265656e2060008201527f7365740000000000000000000000000000000000000000000000000000000000602082015250565b61468681613cf5565b811461469157600080fd5b50565b61469d81613d07565b81146146a857600080fd5b50565b6146b481613d13565b81146146bf57600080fd5b50565b6146cb81613d5f565b81146146d657600080fd5b5056fea26469706673582212208cfb5ee2a03112e27d8e8ee7a9f48a85bde9f1f9b3d0b310c4c11f338746854c64736f6c63430008040033

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

000000000000000000000000e786259457eb1b7418b689b06c4f55e13d4fcd07

-----Decoded View---------------
Arg [0] : _store (address): 0xe786259457Eb1B7418b689b06c4f55e13D4FCD07

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000e786259457eb1b7418b689b06c4f55e13d4fcd07


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.