ETH Price: $2,507.60 (-5.23%)

Token

Koala Society (KoalaSociety)
 

Overview

Max Total Supply

286 KoalaSociety

Holders

169

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
2 KoalaSociety
0xacaba8f67d3ffcc78bc1bee9fe1a34fdf009436a
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
KoalaSocietyNFT

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

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

/**
 *Submitted for verification at Etherscan.io on 2021-12-24
*/

// File: @openzeppelin/contracts/utils/Strings.sol


// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

// File: @openzeppelin/contracts/utils/Address.sol


// OpenZeppelin Contracts v4.4.1 (utils/Address.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

// File: @openzeppelin/contracts/utils/introspection/IERC165.sol


// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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

// File: @openzeppelin/contracts/utils/introspection/ERC165.sol


// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

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

// File: @openzeppelin/contracts/token/ERC721/IERC721.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)

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

// File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Enumerable.sol)

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

// File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

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

// File: @openzeppelin/contracts/utils/math/SafeMath.sol


// OpenZeppelin Contracts v4.4.1 (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/utils/Context.sol


// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

// File: @openzeppelin/contracts/token/ERC721/ERC721.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC721/ERC721.sol)

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(),".json")) : "";
    }

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

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

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

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

// File: @openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol)

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

// File: @openzeppelin/contracts/access/Ownable.sol


// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

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() {
        _transferOwnership(_msgSender());
    }

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

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

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

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

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

// File: @openzeppelin/contracts/utils/Counters.sol


// OpenZeppelin Contracts v4.4.1 (utils/Counters.sol)

pragma solidity ^0.8.0;

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(Counter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }

    function reset(Counter storage counter) internal {
        counter._value = 0;
    }
}

// File: token.sol

//SPDX-License-Identifier: MIT

pragma solidity >=0.4.22 <0.9.0;

contract KoalaSocietyNFT is ERC721Enumerable, Ownable {
    using SafeMath for uint256;
    using Counters for Counters.Counter;

    Counters.Counter private _tokenIds;

    uint256 public MAX_SUPPLY = 10000;

    // Public sale
    uint256 public PRICE =100000000000000000;

    // Pre-sale
    bool public presale = true;
    uint256 public PRE_PRICE = 80000000000000000;
    mapping (address => uint256) public preMinted;
    uint256 public preNFTsMinted;
    mapping (address => bool) public isWhitelisted;
    mapping (address => uint256) public VIPAmounts;
    string public baseTokenURI;
    constructor(string memory baseUR) ERC721("Koala Society", "KoalaSociety") {
        setBaseURI(baseUR);
    }

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

    function setBaseURI(string memory _baseTokenURI) public onlyOwner {
        baseTokenURI = _baseTokenURI;
    }
    function setPriPrice(uint256 _preprice) public onlyOwner {
        PRE_PRICE = _preprice;
    }
    function setPublicPrice(uint256 _price) public onlyOwner {
        PRICE = _price;
    }
    function setMaxSupply(uint256 _baseTokenURI) public onlyOwner {
        MAX_SUPPLY = _baseTokenURI;
    }

    function mintNFTs(uint256 _count) public payable {
        uint256 totalMinted = _tokenIds.current();

        require(totalMinted.add(_count) <= MAX_SUPPLY, "Not enough NFTs left!");
        require(_count > 0, "Cannot mint 0 NFTs.");
        require(msg.value >= calculatePrice(_count),"Not enough ether to purchase NFTs.");
        
        if (presale) {
            require(isWhitelisted[msg.sender], "Address is not whitelisted!");
            preNFTsMinted += _count;
            require(preNFTsMinted <= 1000, "Pre-sale is over.");            
            preMinted[msg.sender] += _count;
            require(preMinted[msg.sender] <= 5, "Address can't mint more NFTs in pre-sale.");
            
        }

        for (uint256 i = 0; i < _count; i++) {
            _mintSingleNFT();
        }
    }

    function claimFreeNFTsVIP() public {
        require(VIPAmounts[msg.sender] > 0, "No free NFTs left!");
        uint256 _count = VIPAmounts[msg.sender];
        VIPAmounts[msg.sender] = 0;
        for (uint256 i = 0; i < _count; i++) {
            _mintSingleNFT();
        }
    }

    function calculatePrice(uint256 _count) public view returns(uint256) {
        if (presale) {
            return _count * PRE_PRICE;
        }        
        return _count * PRICE;
    }

    function _mintSingleNFT() private {
        uint256 newTokenID = _tokenIds.current();
        if (newTokenID == 0) {
            _tokenIds.increment();
            newTokenID = _tokenIds.current();
        }
        _safeMint(msg.sender, newTokenID);
        _tokenIds.increment();
    }

    function tokensOfOwner(address _owner)
        external
        view
        returns (uint256[] memory)
    {
        uint256 tokenCount = balanceOf(_owner);
        uint256[] memory tokensId = new uint256[](tokenCount);

        for (uint256 i = 0; i < tokenCount; i++) {
            tokensId[i] = tokenOfOwnerByIndex(_owner, i);
        }
        return tokensId;
    }

    function withdraw() public payable onlyOwner {
        uint256 balance = address(this).balance;
        require(balance > 0, "No ether left to withdraw");

        (bool success, ) = (msg.sender).call{value: balance}("");
        require(success, "Transfer failed.");
    }

    function startPublicSale() external onlyOwner {
        presale = false;
    }

    function addToVIPlist (address[] memory _addresses, uint256[] memory _amounts) external onlyOwner {
        for (uint256 i = 0;i < _addresses.length;i++) {
            VIPAmounts[_addresses[i]] = _amounts[i];
        }
    }

    function removeFromVIPlist (address[] memory _addresses) external onlyOwner {
        for (uint256 i = 0;i < _addresses.length;i++) {
            VIPAmounts[_addresses[i]] = 0;
        }
    }

    function addToWhitelist(address[] memory _addresses) external onlyOwner {
        for (uint256 i = 0;i < _addresses.length;i++) {
            isWhitelisted[_addresses[i]] = true;
        }
    }

    function removeFromWhitelist (address[] memory _addresses) external onlyOwner {
        for (uint256 i = 0;i < _addresses.length;i++) {
            isWhitelisted[_addresses[i]] = false;
        }
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"baseUR","type":"string"}],"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_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRE_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"VIPAmounts","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addresses","type":"address[]"},{"internalType":"uint256[]","name":"_amounts","type":"uint256[]"}],"name":"addToVIPlist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addresses","type":"address[]"}],"name":"addToWhitelist","outputs":[],"stateMutability":"nonpayable","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":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_count","type":"uint256"}],"name":"calculatePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimFreeNFTsVIP","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":"address","name":"","type":"address"}],"name":"isWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_count","type":"uint256"}],"name":"mintNFTs","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":[{"internalType":"address","name":"","type":"address"}],"name":"preMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"preNFTsMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addresses","type":"address[]"}],"name":"removeFromVIPlist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addresses","type":"address[]"}],"name":"removeFromWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","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":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseTokenURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_baseTokenURI","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_preprice","type":"uint256"}],"name":"setPriPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPublicPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startPublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]

6080604052612710600c5567016345785d8a0000600d55600e805460ff1916600117905567011c37937e080000600f553480156200003c57600080fd5b5060405162002e5238038062002e528339810160408190526200005f9162000271565b604080518082018252600d81526c4b6f616c6120536f636965747960981b60208083019182528351808501909452600c84526b4b6f616c61536f636965747960a01b908401528151919291620000b891600091620001cb565b508051620000ce906001906020840190620001cb565b505050620000eb620000e5620000fd60201b60201c565b62000101565b620000f68162000153565b50620003a0565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600a546001600160a01b03163314620001b25760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b8051620001c7906014906020840190620001cb565b5050565b828054620001d9906200034d565b90600052602060002090601f016020900481019282620001fd576000855562000248565b82601f106200021857805160ff191683800117855562000248565b8280016001018555821562000248579182015b82811115620002485782518255916020019190600101906200022b565b50620002569291506200025a565b5090565b5b808211156200025657600081556001016200025b565b600060208083850312156200028557600080fd5b82516001600160401b03808211156200029d57600080fd5b818501915085601f830112620002b257600080fd5b815181811115620002c757620002c76200038a565b604051601f8201601f19908116603f01168101908382118183101715620002f257620002f26200038a565b8160405282815288868487010111156200030b57600080fd5b600093505b828410156200032f578484018601518185018701529285019262000310565b82841115620003415760008684830101525b98975050505050505050565b600181811c908216806200036257607f821691505b602082108114156200038457634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b612aa280620003b06000396000f3fe6080604052600436106102515760003560e01c8063715018a611610139578063ae104265116100b6578063e81223a71161007a578063e81223a7146106aa578063e84a2c72146106ca578063e8a70acf146106ea578063e985e9c514610717578063f2fde38b14610760578063fdea8e0b1461078057600080fd5b8063ae10426514610615578063b88d4fde14610635578063c627525514610655578063c87b56dd14610675578063d547cfb71461069557600080fd5b80638da5cb5b116100fd5780638da5cb5b1461057f57806395d89b411461059d578063963c4177146105b25780639da70495146105df578063a22cb465146105f557600080fd5b8063715018a6146104f25780637f649783146105075780637f690c33146105275780638462151c1461053c5780638d859f3e1461056957600080fd5b80633af32abf116101d2578063548db17411610196578063548db1741461043c578063556fedd21461045c57806355f804b3146104725780636352211e146104925780636f8b44b0146104b257806370a08231146104d257600080fd5b80633af32abf146103b15780633b4b1381146103e15780633ccfd60b146103f457806342842e0e146103fc5780634f6ccce71461041c57600080fd5b806317756f891161021957806317756f891461031c57806318160ddd1461033c57806323b872dd1461035b5780632f745c591461037b57806332cb6b0c1461039b57600080fd5b806301ffc9a71461025657806306fdde031461028b578063081812fc146102ad578063095ea7b3146102e55780630c1c972a14610307575b600080fd5b34801561026257600080fd5b50610276610271366004612628565b61079a565b60405190151581526020015b60405180910390f35b34801561029757600080fd5b506102a06107c5565b60405161028291906127b0565b3480156102b957600080fd5b506102cd6102c83660046126ab565b610857565b6040516001600160a01b039091168152602001610282565b3480156102f157600080fd5b50610305610300366004612507565b6108f1565b005b34801561031357600080fd5b50610305610a07565b34801561032857600080fd5b50610305610337366004612531565b610a3d565b34801561034857600080fd5b506008545b604051908152602001610282565b34801561036757600080fd5b50610305610376366004612413565b610ace565b34801561038757600080fd5b5061034d610396366004612507565b610aff565b3480156103a757600080fd5b5061034d600c5481565b3480156103bd57600080fd5b506102766103cc3660046123c5565b60126020526000908152604090205460ff1681565b6103056103ef3660046126ab565b610b95565b610305610e23565b34801561040857600080fd5b50610305610417366004612413565b610f26565b34801561042857600080fd5b5061034d6104373660046126ab565b610f41565b34801561044857600080fd5b50610305610457366004612531565b610fd4565b34801561046857600080fd5b5061034d600f5481565b34801561047e57600080fd5b5061030561048d366004612662565b611066565b34801561049e57600080fd5b506102cd6104ad3660046126ab565b6110a3565b3480156104be57600080fd5b506103056104cd3660046126ab565b61111a565b3480156104de57600080fd5b5061034d6104ed3660046123c5565b611149565b3480156104fe57600080fd5b506103056111d0565b34801561051357600080fd5b50610305610522366004612531565b611206565b34801561053357600080fd5b50610305611298565b34801561054857600080fd5b5061055c6105573660046123c5565b611322565b604051610282919061276c565b34801561057557600080fd5b5061034d600d5481565b34801561058b57600080fd5b50600a546001600160a01b03166102cd565b3480156105a957600080fd5b506102a06113c4565b3480156105be57600080fd5b5061034d6105cd3660046123c5565b60106020526000908152604090205481565b3480156105eb57600080fd5b5061034d60115481565b34801561060157600080fd5b506103056106103660046124cb565b6113d3565b34801561062157600080fd5b5061034d6106303660046126ab565b6113de565b34801561064157600080fd5b5061030561065036600461244f565b611406565b34801561066157600080fd5b506103056106703660046126ab565b61143e565b34801561068157600080fd5b506102a06106903660046126ab565b61146d565b3480156106a157600080fd5b506102a0611548565b3480156106b657600080fd5b506103056106c5366004612566565b6115d6565b3480156106d657600080fd5b506103056106e53660046126ab565b61167b565b3480156106f657600080fd5b5061034d6107053660046123c5565b60136020526000908152604090205481565b34801561072357600080fd5b506102766107323660046123e0565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561076c57600080fd5b5061030561077b3660046123c5565b6116aa565b34801561078c57600080fd5b50600e546102769060ff1681565b60006001600160e01b0319821663780e9d6360e01b14806107bf57506107bf82611745565b92915050565b6060600080546107d49061297e565b80601f01602080910402602001604051908101604052809291908181526020018280546108009061297e565b801561084d5780601f106108225761010080835404028352916020019161084d565b820191906000526020600020905b81548152906001019060200180831161083057829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166108d55760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006108fc826110a3565b9050806001600160a01b0316836001600160a01b0316141561096a5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016108cc565b336001600160a01b038216148061098657506109868133610732565b6109f85760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016108cc565b610a028383611795565b505050565b600a546001600160a01b03163314610a315760405162461bcd60e51b81526004016108cc90612815565b600e805460ff19169055565b600a546001600160a01b03163314610a675760405162461bcd60e51b81526004016108cc90612815565b60005b8151811015610aca57600060136000848481518110610a8b57610a8b612a2a565b60200260200101516001600160a01b03166001600160a01b03168152602001908152602001600020819055508080610ac2906129b9565b915050610a6a565b5050565b610ad83382611803565b610af45760405162461bcd60e51b81526004016108cc9061284a565b610a028383836118fa565b6000610b0a83611149565b8210610b6c5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016108cc565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b6000610ba0600b5490565b600c54909150610bb08284611aa5565b1115610bf65760405162461bcd60e51b81526020600482015260156024820152744e6f7420656e6f756768204e465473206c6566742160581b60448201526064016108cc565b60008211610c3c5760405162461bcd60e51b815260206004820152601360248201527221b0b73737ba1036b4b73a10181027232a399760691b60448201526064016108cc565b610c45826113de565b341015610c9f5760405162461bcd60e51b815260206004820152602260248201527f4e6f7420656e6f75676820657468657220746f207075726368617365204e4654604482015261399760f11b60648201526084016108cc565b600e5460ff1615610dfe573360009081526012602052604090205460ff16610d095760405162461bcd60e51b815260206004820152601b60248201527f41646472657373206973206e6f742077686974656c697374656421000000000060448201526064016108cc565b8160116000828254610d1b91906128f0565b90915550506011546103e81015610d685760405162461bcd60e51b815260206004820152601160248201527028393296b9b0b6329034b99037bb32b91760791b60448201526064016108cc565b3360009081526010602052604081208054849290610d879084906128f0565b90915550503360009081526010602052604090205460051015610dfe5760405162461bcd60e51b815260206004820152602960248201527f416464726573732063616e2774206d696e74206d6f7265204e46547320696e2060448201526838393296b9b0b6329760b91b60648201526084016108cc565b60005b82811015610a0257610e11611ab1565b80610e1b816129b9565b915050610e01565b600a546001600160a01b03163314610e4d5760405162461bcd60e51b81526004016108cc90612815565b4780610e9b5760405162461bcd60e51b815260206004820152601960248201527f4e6f206574686572206c65667420746f2077697468647261770000000000000060448201526064016108cc565b604051600090339083908381818185875af1925050503d8060008114610edd576040519150601f19603f3d011682016040523d82523d6000602084013e610ee2565b606091505b5050905080610aca5760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b60448201526064016108cc565b610a0283838360405180602001604052806000815250611406565b6000610f4c60085490565b8210610faf5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016108cc565b60088281548110610fc257610fc2612a2a565b90600052602060002001549050919050565b600a546001600160a01b03163314610ffe5760405162461bcd60e51b81526004016108cc90612815565b60005b8151811015610aca5760006012600084848151811061102257611022612a2a565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff19169115159190911790558061105e816129b9565b915050611001565b600a546001600160a01b031633146110905760405162461bcd60e51b81526004016108cc90612815565b8051610aca90601490602084019061223f565b6000818152600260205260408120546001600160a01b0316806107bf5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016108cc565b600a546001600160a01b031633146111445760405162461bcd60e51b81526004016108cc90612815565b600c55565b60006001600160a01b0382166111b45760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016108cc565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b031633146111fa5760405162461bcd60e51b81526004016108cc90612815565b6112046000611aee565b565b600a546001600160a01b031633146112305760405162461bcd60e51b81526004016108cc90612815565b60005b8151811015610aca5760016012600084848151811061125457611254612a2a565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191691151591909117905580611290816129b9565b915050611233565b336000908152601360205260409020546112e95760405162461bcd60e51b81526020600482015260126024820152714e6f2066726565204e465473206c6566742160701b60448201526064016108cc565b336000908152601360205260408120805490829055905b81811015610aca57611310611ab1565b8061131a816129b9565b915050611300565b6060600061132f83611149565b905060008167ffffffffffffffff81111561134c5761134c612a40565b604051908082528060200260200182016040528015611375578160200160208202803683370190505b50905060005b828110156113bc5761138d8582610aff565b82828151811061139f5761139f612a2a565b6020908102919091010152806113b4816129b9565b91505061137b565b509392505050565b6060600180546107d49061297e565b610aca338383611b40565b600e5460009060ff16156113f957600f546107bf908361291c565b600d546107bf908361291c565b6114103383611803565b61142c5760405162461bcd60e51b81526004016108cc9061284a565b61143884848484611c0f565b50505050565b600a546001600160a01b031633146114685760405162461bcd60e51b81526004016108cc90612815565b600d55565b6000818152600260205260409020546060906001600160a01b03166114ec5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016108cc565b60006114f6611c42565b905060008151116115165760405180602001604052806000815250611541565b8061152084611c51565b6040516020016115319291906126f0565b6040516020818303038152906040525b9392505050565b601480546115559061297e565b80601f01602080910402602001604051908101604052809291908181526020018280546115819061297e565b80156115ce5780601f106115a3576101008083540402835291602001916115ce565b820191906000526020600020905b8154815290600101906020018083116115b157829003601f168201915b505050505081565b600a546001600160a01b031633146116005760405162461bcd60e51b81526004016108cc90612815565b60005b8251811015610a025781818151811061161e5761161e612a2a565b60200260200101516013600085848151811061163c5761163c612a2a565b60200260200101516001600160a01b03166001600160a01b03168152602001908152602001600020819055508080611673906129b9565b915050611603565b600a546001600160a01b031633146116a55760405162461bcd60e51b81526004016108cc90612815565b600f55565b600a546001600160a01b031633146116d45760405162461bcd60e51b81526004016108cc90612815565b6001600160a01b0381166117395760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108cc565b61174281611aee565b50565b60006001600160e01b031982166380ac58cd60e01b148061177657506001600160e01b03198216635b5e139f60e01b145b806107bf57506301ffc9a760e01b6001600160e01b03198316146107bf565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906117ca826110a3565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b031661187c5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016108cc565b6000611887836110a3565b9050806001600160a01b0316846001600160a01b031614806118c25750836001600160a01b03166118b784610857565b6001600160a01b0316145b806118f257506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661190d826110a3565b6001600160a01b0316146119755760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016108cc565b6001600160a01b0382166119d75760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016108cc565b6119e2838383611d4f565b6119ed600082611795565b6001600160a01b0383166000908152600360205260408120805460019290611a1690849061293b565b90915550506001600160a01b0382166000908152600360205260408120805460019290611a449084906128f0565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600061154182846128f0565b6000611abc600b5490565b905080611ad657611ad1600b80546001019055565b50600b545b611ae03382611e07565b611742600b80546001019055565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b03161415611ba25760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016108cc565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611c1a8484846118fa565b611c2684848484611e21565b6114385760405162461bcd60e51b81526004016108cc906127c3565b6060601480546107d49061297e565b606081611c755750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611c9f5780611c89816129b9565b9150611c989050600a83612908565b9150611c79565b60008167ffffffffffffffff811115611cba57611cba612a40565b6040519080825280601f01601f191660200182016040528015611ce4576020820181803683370190505b5090505b84156118f257611cf960018361293b565b9150611d06600a866129d4565b611d119060306128f0565b60f81b818381518110611d2657611d26612a2a565b60200101906001600160f81b031916908160001a905350611d48600a86612908565b9450611ce8565b6001600160a01b038316611daa57611da581600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b611dcd565b816001600160a01b0316836001600160a01b031614611dcd57611dcd8382611f2e565b6001600160a01b038216611de457610a0281611fcb565b826001600160a01b0316826001600160a01b031614610a0257610a02828261207a565b610aca8282604051806020016040528060008152506120be565b60006001600160a01b0384163b15611f2357604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611e6590339089908890889060040161272f565b602060405180830381600087803b158015611e7f57600080fd5b505af1925050508015611eaf575060408051601f3d908101601f19168201909252611eac91810190612645565b60015b611f09573d808015611edd576040519150601f19603f3d011682016040523d82523d6000602084013e611ee2565b606091505b508051611f015760405162461bcd60e51b81526004016108cc906127c3565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506118f2565b506001949350505050565b60006001611f3b84611149565b611f45919061293b565b600083815260076020526040902054909150808214611f98576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090611fdd9060019061293b565b6000838152600960205260408120546008805493945090928490811061200557612005612a2a565b90600052602060002001549050806008838154811061202657612026612a2a565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061205e5761205e612a14565b6001900381819060005260206000200160009055905550505050565b600061208583611149565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6120c883836120f1565b6120d56000848484611e21565b610a025760405162461bcd60e51b81526004016108cc906127c3565b6001600160a01b0382166121475760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016108cc565b6000818152600260205260409020546001600160a01b0316156121ac5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016108cc565b6121b860008383611d4f565b6001600160a01b03821660009081526003602052604081208054600192906121e19084906128f0565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82805461224b9061297e565b90600052602060002090601f01602090048101928261226d57600085556122b3565b82601f1061228657805160ff19168380011785556122b3565b828001600101855582156122b3579182015b828111156122b3578251825591602001919060010190612298565b506122bf9291506122c3565b5090565b5b808211156122bf57600081556001016122c4565b600067ffffffffffffffff8311156122f2576122f2612a40565b612305601f8401601f191660200161289b565b905082815283838301111561231957600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b038116811461234757600080fd5b919050565b600082601f83011261235d57600080fd5b8135602061237261236d836128cc565b61289b565b80838252828201915082860187848660051b890101111561239257600080fd5b60005b858110156123b8576123a682612330565b84529284019290840190600101612395565b5090979650505050505050565b6000602082840312156123d757600080fd5b61154182612330565b600080604083850312156123f357600080fd5b6123fc83612330565b915061240a60208401612330565b90509250929050565b60008060006060848603121561242857600080fd5b61243184612330565b925061243f60208501612330565b9150604084013590509250925092565b6000806000806080858703121561246557600080fd5b61246e85612330565b935061247c60208601612330565b925060408501359150606085013567ffffffffffffffff81111561249f57600080fd5b8501601f810187136124b057600080fd5b6124bf878235602084016122d8565b91505092959194509250565b600080604083850312156124de57600080fd5b6124e783612330565b9150602083013580151581146124fc57600080fd5b809150509250929050565b6000806040838503121561251a57600080fd5b61252383612330565b946020939093013593505050565b60006020828403121561254357600080fd5b813567ffffffffffffffff81111561255a57600080fd5b6118f28482850161234c565b6000806040838503121561257957600080fd5b823567ffffffffffffffff8082111561259157600080fd5b61259d8683870161234c565b93506020915081850135818111156125b457600080fd5b85019050601f810186136125c757600080fd5b80356125d561236d826128cc565b80828252848201915084840189868560051b87010111156125f557600080fd5b600094505b838510156126185780358352600194909401939185019185016125fa565b5080955050505050509250929050565b60006020828403121561263a57600080fd5b813561154181612a56565b60006020828403121561265757600080fd5b815161154181612a56565b60006020828403121561267457600080fd5b813567ffffffffffffffff81111561268b57600080fd5b8201601f8101841361269c57600080fd5b6118f2848235602084016122d8565b6000602082840312156126bd57600080fd5b5035919050565b600081518084526126dc816020860160208601612952565b601f01601f19169290920160200192915050565b60008351612702818460208801612952565b835190830190612716818360208801612952565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612762908301846126c4565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b818110156127a457835183529284019291840191600101612788565b50909695505050505050565b60208152600061154160208301846126c4565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b604051601f8201601f1916810167ffffffffffffffff811182821017156128c4576128c4612a40565b604052919050565b600067ffffffffffffffff8211156128e6576128e6612a40565b5060051b60200190565b60008219821115612903576129036129e8565b500190565b600082612917576129176129fe565b500490565b6000816000190483118215151615612936576129366129e8565b500290565b60008282101561294d5761294d6129e8565b500390565b60005b8381101561296d578181015183820152602001612955565b838111156114385750506000910152565b600181811c9082168061299257607f821691505b602082108114156129b357634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156129cd576129cd6129e8565b5060010190565b6000826129e3576129e36129fe565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461174257600080fdfea264697066735822122042440c54c030137da229623abcdda7c0e70980e66824e0c7aee58fb0362e7af764736f6c6343000807003300000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000029687474703a2f2f6d696e742d6b6f616c61736f63696574796e66742e636f6d2f6d657461646174612f0000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106102515760003560e01c8063715018a611610139578063ae104265116100b6578063e81223a71161007a578063e81223a7146106aa578063e84a2c72146106ca578063e8a70acf146106ea578063e985e9c514610717578063f2fde38b14610760578063fdea8e0b1461078057600080fd5b8063ae10426514610615578063b88d4fde14610635578063c627525514610655578063c87b56dd14610675578063d547cfb71461069557600080fd5b80638da5cb5b116100fd5780638da5cb5b1461057f57806395d89b411461059d578063963c4177146105b25780639da70495146105df578063a22cb465146105f557600080fd5b8063715018a6146104f25780637f649783146105075780637f690c33146105275780638462151c1461053c5780638d859f3e1461056957600080fd5b80633af32abf116101d2578063548db17411610196578063548db1741461043c578063556fedd21461045c57806355f804b3146104725780636352211e146104925780636f8b44b0146104b257806370a08231146104d257600080fd5b80633af32abf146103b15780633b4b1381146103e15780633ccfd60b146103f457806342842e0e146103fc5780634f6ccce71461041c57600080fd5b806317756f891161021957806317756f891461031c57806318160ddd1461033c57806323b872dd1461035b5780632f745c591461037b57806332cb6b0c1461039b57600080fd5b806301ffc9a71461025657806306fdde031461028b578063081812fc146102ad578063095ea7b3146102e55780630c1c972a14610307575b600080fd5b34801561026257600080fd5b50610276610271366004612628565b61079a565b60405190151581526020015b60405180910390f35b34801561029757600080fd5b506102a06107c5565b60405161028291906127b0565b3480156102b957600080fd5b506102cd6102c83660046126ab565b610857565b6040516001600160a01b039091168152602001610282565b3480156102f157600080fd5b50610305610300366004612507565b6108f1565b005b34801561031357600080fd5b50610305610a07565b34801561032857600080fd5b50610305610337366004612531565b610a3d565b34801561034857600080fd5b506008545b604051908152602001610282565b34801561036757600080fd5b50610305610376366004612413565b610ace565b34801561038757600080fd5b5061034d610396366004612507565b610aff565b3480156103a757600080fd5b5061034d600c5481565b3480156103bd57600080fd5b506102766103cc3660046123c5565b60126020526000908152604090205460ff1681565b6103056103ef3660046126ab565b610b95565b610305610e23565b34801561040857600080fd5b50610305610417366004612413565b610f26565b34801561042857600080fd5b5061034d6104373660046126ab565b610f41565b34801561044857600080fd5b50610305610457366004612531565b610fd4565b34801561046857600080fd5b5061034d600f5481565b34801561047e57600080fd5b5061030561048d366004612662565b611066565b34801561049e57600080fd5b506102cd6104ad3660046126ab565b6110a3565b3480156104be57600080fd5b506103056104cd3660046126ab565b61111a565b3480156104de57600080fd5b5061034d6104ed3660046123c5565b611149565b3480156104fe57600080fd5b506103056111d0565b34801561051357600080fd5b50610305610522366004612531565b611206565b34801561053357600080fd5b50610305611298565b34801561054857600080fd5b5061055c6105573660046123c5565b611322565b604051610282919061276c565b34801561057557600080fd5b5061034d600d5481565b34801561058b57600080fd5b50600a546001600160a01b03166102cd565b3480156105a957600080fd5b506102a06113c4565b3480156105be57600080fd5b5061034d6105cd3660046123c5565b60106020526000908152604090205481565b3480156105eb57600080fd5b5061034d60115481565b34801561060157600080fd5b506103056106103660046124cb565b6113d3565b34801561062157600080fd5b5061034d6106303660046126ab565b6113de565b34801561064157600080fd5b5061030561065036600461244f565b611406565b34801561066157600080fd5b506103056106703660046126ab565b61143e565b34801561068157600080fd5b506102a06106903660046126ab565b61146d565b3480156106a157600080fd5b506102a0611548565b3480156106b657600080fd5b506103056106c5366004612566565b6115d6565b3480156106d657600080fd5b506103056106e53660046126ab565b61167b565b3480156106f657600080fd5b5061034d6107053660046123c5565b60136020526000908152604090205481565b34801561072357600080fd5b506102766107323660046123e0565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561076c57600080fd5b5061030561077b3660046123c5565b6116aa565b34801561078c57600080fd5b50600e546102769060ff1681565b60006001600160e01b0319821663780e9d6360e01b14806107bf57506107bf82611745565b92915050565b6060600080546107d49061297e565b80601f01602080910402602001604051908101604052809291908181526020018280546108009061297e565b801561084d5780601f106108225761010080835404028352916020019161084d565b820191906000526020600020905b81548152906001019060200180831161083057829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166108d55760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006108fc826110a3565b9050806001600160a01b0316836001600160a01b0316141561096a5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016108cc565b336001600160a01b038216148061098657506109868133610732565b6109f85760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016108cc565b610a028383611795565b505050565b600a546001600160a01b03163314610a315760405162461bcd60e51b81526004016108cc90612815565b600e805460ff19169055565b600a546001600160a01b03163314610a675760405162461bcd60e51b81526004016108cc90612815565b60005b8151811015610aca57600060136000848481518110610a8b57610a8b612a2a565b60200260200101516001600160a01b03166001600160a01b03168152602001908152602001600020819055508080610ac2906129b9565b915050610a6a565b5050565b610ad83382611803565b610af45760405162461bcd60e51b81526004016108cc9061284a565b610a028383836118fa565b6000610b0a83611149565b8210610b6c5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016108cc565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b6000610ba0600b5490565b600c54909150610bb08284611aa5565b1115610bf65760405162461bcd60e51b81526020600482015260156024820152744e6f7420656e6f756768204e465473206c6566742160581b60448201526064016108cc565b60008211610c3c5760405162461bcd60e51b815260206004820152601360248201527221b0b73737ba1036b4b73a10181027232a399760691b60448201526064016108cc565b610c45826113de565b341015610c9f5760405162461bcd60e51b815260206004820152602260248201527f4e6f7420656e6f75676820657468657220746f207075726368617365204e4654604482015261399760f11b60648201526084016108cc565b600e5460ff1615610dfe573360009081526012602052604090205460ff16610d095760405162461bcd60e51b815260206004820152601b60248201527f41646472657373206973206e6f742077686974656c697374656421000000000060448201526064016108cc565b8160116000828254610d1b91906128f0565b90915550506011546103e81015610d685760405162461bcd60e51b815260206004820152601160248201527028393296b9b0b6329034b99037bb32b91760791b60448201526064016108cc565b3360009081526010602052604081208054849290610d879084906128f0565b90915550503360009081526010602052604090205460051015610dfe5760405162461bcd60e51b815260206004820152602960248201527f416464726573732063616e2774206d696e74206d6f7265204e46547320696e2060448201526838393296b9b0b6329760b91b60648201526084016108cc565b60005b82811015610a0257610e11611ab1565b80610e1b816129b9565b915050610e01565b600a546001600160a01b03163314610e4d5760405162461bcd60e51b81526004016108cc90612815565b4780610e9b5760405162461bcd60e51b815260206004820152601960248201527f4e6f206574686572206c65667420746f2077697468647261770000000000000060448201526064016108cc565b604051600090339083908381818185875af1925050503d8060008114610edd576040519150601f19603f3d011682016040523d82523d6000602084013e610ee2565b606091505b5050905080610aca5760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b60448201526064016108cc565b610a0283838360405180602001604052806000815250611406565b6000610f4c60085490565b8210610faf5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016108cc565b60088281548110610fc257610fc2612a2a565b90600052602060002001549050919050565b600a546001600160a01b03163314610ffe5760405162461bcd60e51b81526004016108cc90612815565b60005b8151811015610aca5760006012600084848151811061102257611022612a2a565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff19169115159190911790558061105e816129b9565b915050611001565b600a546001600160a01b031633146110905760405162461bcd60e51b81526004016108cc90612815565b8051610aca90601490602084019061223f565b6000818152600260205260408120546001600160a01b0316806107bf5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016108cc565b600a546001600160a01b031633146111445760405162461bcd60e51b81526004016108cc90612815565b600c55565b60006001600160a01b0382166111b45760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016108cc565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b031633146111fa5760405162461bcd60e51b81526004016108cc90612815565b6112046000611aee565b565b600a546001600160a01b031633146112305760405162461bcd60e51b81526004016108cc90612815565b60005b8151811015610aca5760016012600084848151811061125457611254612a2a565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191691151591909117905580611290816129b9565b915050611233565b336000908152601360205260409020546112e95760405162461bcd60e51b81526020600482015260126024820152714e6f2066726565204e465473206c6566742160701b60448201526064016108cc565b336000908152601360205260408120805490829055905b81811015610aca57611310611ab1565b8061131a816129b9565b915050611300565b6060600061132f83611149565b905060008167ffffffffffffffff81111561134c5761134c612a40565b604051908082528060200260200182016040528015611375578160200160208202803683370190505b50905060005b828110156113bc5761138d8582610aff565b82828151811061139f5761139f612a2a565b6020908102919091010152806113b4816129b9565b91505061137b565b509392505050565b6060600180546107d49061297e565b610aca338383611b40565b600e5460009060ff16156113f957600f546107bf908361291c565b600d546107bf908361291c565b6114103383611803565b61142c5760405162461bcd60e51b81526004016108cc9061284a565b61143884848484611c0f565b50505050565b600a546001600160a01b031633146114685760405162461bcd60e51b81526004016108cc90612815565b600d55565b6000818152600260205260409020546060906001600160a01b03166114ec5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016108cc565b60006114f6611c42565b905060008151116115165760405180602001604052806000815250611541565b8061152084611c51565b6040516020016115319291906126f0565b6040516020818303038152906040525b9392505050565b601480546115559061297e565b80601f01602080910402602001604051908101604052809291908181526020018280546115819061297e565b80156115ce5780601f106115a3576101008083540402835291602001916115ce565b820191906000526020600020905b8154815290600101906020018083116115b157829003601f168201915b505050505081565b600a546001600160a01b031633146116005760405162461bcd60e51b81526004016108cc90612815565b60005b8251811015610a025781818151811061161e5761161e612a2a565b60200260200101516013600085848151811061163c5761163c612a2a565b60200260200101516001600160a01b03166001600160a01b03168152602001908152602001600020819055508080611673906129b9565b915050611603565b600a546001600160a01b031633146116a55760405162461bcd60e51b81526004016108cc90612815565b600f55565b600a546001600160a01b031633146116d45760405162461bcd60e51b81526004016108cc90612815565b6001600160a01b0381166117395760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108cc565b61174281611aee565b50565b60006001600160e01b031982166380ac58cd60e01b148061177657506001600160e01b03198216635b5e139f60e01b145b806107bf57506301ffc9a760e01b6001600160e01b03198316146107bf565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906117ca826110a3565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b031661187c5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016108cc565b6000611887836110a3565b9050806001600160a01b0316846001600160a01b031614806118c25750836001600160a01b03166118b784610857565b6001600160a01b0316145b806118f257506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661190d826110a3565b6001600160a01b0316146119755760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016108cc565b6001600160a01b0382166119d75760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016108cc565b6119e2838383611d4f565b6119ed600082611795565b6001600160a01b0383166000908152600360205260408120805460019290611a1690849061293b565b90915550506001600160a01b0382166000908152600360205260408120805460019290611a449084906128f0565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600061154182846128f0565b6000611abc600b5490565b905080611ad657611ad1600b80546001019055565b50600b545b611ae03382611e07565b611742600b80546001019055565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b03161415611ba25760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016108cc565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611c1a8484846118fa565b611c2684848484611e21565b6114385760405162461bcd60e51b81526004016108cc906127c3565b6060601480546107d49061297e565b606081611c755750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611c9f5780611c89816129b9565b9150611c989050600a83612908565b9150611c79565b60008167ffffffffffffffff811115611cba57611cba612a40565b6040519080825280601f01601f191660200182016040528015611ce4576020820181803683370190505b5090505b84156118f257611cf960018361293b565b9150611d06600a866129d4565b611d119060306128f0565b60f81b818381518110611d2657611d26612a2a565b60200101906001600160f81b031916908160001a905350611d48600a86612908565b9450611ce8565b6001600160a01b038316611daa57611da581600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b611dcd565b816001600160a01b0316836001600160a01b031614611dcd57611dcd8382611f2e565b6001600160a01b038216611de457610a0281611fcb565b826001600160a01b0316826001600160a01b031614610a0257610a02828261207a565b610aca8282604051806020016040528060008152506120be565b60006001600160a01b0384163b15611f2357604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611e6590339089908890889060040161272f565b602060405180830381600087803b158015611e7f57600080fd5b505af1925050508015611eaf575060408051601f3d908101601f19168201909252611eac91810190612645565b60015b611f09573d808015611edd576040519150601f19603f3d011682016040523d82523d6000602084013e611ee2565b606091505b508051611f015760405162461bcd60e51b81526004016108cc906127c3565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506118f2565b506001949350505050565b60006001611f3b84611149565b611f45919061293b565b600083815260076020526040902054909150808214611f98576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090611fdd9060019061293b565b6000838152600960205260408120546008805493945090928490811061200557612005612a2a565b90600052602060002001549050806008838154811061202657612026612a2a565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061205e5761205e612a14565b6001900381819060005260206000200160009055905550505050565b600061208583611149565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6120c883836120f1565b6120d56000848484611e21565b610a025760405162461bcd60e51b81526004016108cc906127c3565b6001600160a01b0382166121475760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016108cc565b6000818152600260205260409020546001600160a01b0316156121ac5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016108cc565b6121b860008383611d4f565b6001600160a01b03821660009081526003602052604081208054600192906121e19084906128f0565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82805461224b9061297e565b90600052602060002090601f01602090048101928261226d57600085556122b3565b82601f1061228657805160ff19168380011785556122b3565b828001600101855582156122b3579182015b828111156122b3578251825591602001919060010190612298565b506122bf9291506122c3565b5090565b5b808211156122bf57600081556001016122c4565b600067ffffffffffffffff8311156122f2576122f2612a40565b612305601f8401601f191660200161289b565b905082815283838301111561231957600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b038116811461234757600080fd5b919050565b600082601f83011261235d57600080fd5b8135602061237261236d836128cc565b61289b565b80838252828201915082860187848660051b890101111561239257600080fd5b60005b858110156123b8576123a682612330565b84529284019290840190600101612395565b5090979650505050505050565b6000602082840312156123d757600080fd5b61154182612330565b600080604083850312156123f357600080fd5b6123fc83612330565b915061240a60208401612330565b90509250929050565b60008060006060848603121561242857600080fd5b61243184612330565b925061243f60208501612330565b9150604084013590509250925092565b6000806000806080858703121561246557600080fd5b61246e85612330565b935061247c60208601612330565b925060408501359150606085013567ffffffffffffffff81111561249f57600080fd5b8501601f810187136124b057600080fd5b6124bf878235602084016122d8565b91505092959194509250565b600080604083850312156124de57600080fd5b6124e783612330565b9150602083013580151581146124fc57600080fd5b809150509250929050565b6000806040838503121561251a57600080fd5b61252383612330565b946020939093013593505050565b60006020828403121561254357600080fd5b813567ffffffffffffffff81111561255a57600080fd5b6118f28482850161234c565b6000806040838503121561257957600080fd5b823567ffffffffffffffff8082111561259157600080fd5b61259d8683870161234c565b93506020915081850135818111156125b457600080fd5b85019050601f810186136125c757600080fd5b80356125d561236d826128cc565b80828252848201915084840189868560051b87010111156125f557600080fd5b600094505b838510156126185780358352600194909401939185019185016125fa565b5080955050505050509250929050565b60006020828403121561263a57600080fd5b813561154181612a56565b60006020828403121561265757600080fd5b815161154181612a56565b60006020828403121561267457600080fd5b813567ffffffffffffffff81111561268b57600080fd5b8201601f8101841361269c57600080fd5b6118f2848235602084016122d8565b6000602082840312156126bd57600080fd5b5035919050565b600081518084526126dc816020860160208601612952565b601f01601f19169290920160200192915050565b60008351612702818460208801612952565b835190830190612716818360208801612952565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612762908301846126c4565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b818110156127a457835183529284019291840191600101612788565b50909695505050505050565b60208152600061154160208301846126c4565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b604051601f8201601f1916810167ffffffffffffffff811182821017156128c4576128c4612a40565b604052919050565b600067ffffffffffffffff8211156128e6576128e6612a40565b5060051b60200190565b60008219821115612903576129036129e8565b500190565b600082612917576129176129fe565b500490565b6000816000190483118215151615612936576129366129e8565b500290565b60008282101561294d5761294d6129e8565b500390565b60005b8381101561296d578181015183820152602001612955565b838111156114385750506000910152565b600181811c9082168061299257607f821691505b602082108114156129b357634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156129cd576129cd6129e8565b5060010190565b6000826129e3576129e36129fe565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461174257600080fdfea264697066735822122042440c54c030137da229623abcdda7c0e70980e66824e0c7aee58fb0362e7af764736f6c63430008070033

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

00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000029687474703a2f2f6d696e742d6b6f616c61736f63696574796e66742e636f6d2f6d657461646174612f0000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : baseUR (string): http://mint-koalasocietynft.com/metadata/

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000029
Arg [2] : 687474703a2f2f6d696e742d6b6f616c61736f63696574796e66742e636f6d2f
Arg [3] : 6d657461646174612f0000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

53055:4545:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42820:224;;;;;;;;;;-1:-1:-1;42820:224:0;;;;;:::i;:::-;;:::i;:::-;;;8626:14:1;;8619:22;8601:41;;8589:2;8574:18;42820:224:0;;;;;;;;30312:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;31879:221::-;;;;;;;;;;-1:-1:-1;31879:221:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;7287:32:1;;;7269:51;;7257:2;7242:18;31879:221:0;7123:203:1;31402:411:0;;;;;;;;;;-1:-1:-1;31402:411:0;;;;;:::i;:::-;;:::i;:::-;;56658:80;;;;;;;;;;;;;:::i;56982:196::-;;;;;;;;;;-1:-1:-1;56982:196:0;;;;;:::i;:::-;;:::i;43460:113::-;;;;;;;;;;-1:-1:-1;43548:10:0;:17;43460:113;;;19489:25:1;;;19477:2;19462:18;43460:113:0;19343:177:1;32629:339:0;;;;;;;;;;-1:-1:-1;32629:339:0;;;;;:::i;:::-;;:::i;43128:256::-;;;;;;;;;;-1:-1:-1;43128:256:0;;;;;:::i;:::-;;:::i;53236:33::-;;;;;;;;;;;;;;;;53535:46;;;;;;;;;;-1:-1:-1;53535:46:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;54347:826;;;;;;:::i;:::-;;:::i;56371:279::-;;;:::i;33039:185::-;;;;;;;;;;-1:-1:-1;33039:185:0;;;;;:::i;:::-;;:::i;43650:233::-;;;;;;;;;;-1:-1:-1;43650:233:0;;;;;:::i;:::-;;:::i;57392:205::-;;;;;;;;;;-1:-1:-1;57392:205:0;;;;;:::i;:::-;;:::i;53397:44::-;;;;;;;;;;;;;;;;53914:113;;;;;;;;;;-1:-1:-1;53914:113:0;;;;;:::i;:::-;;:::i;30006:239::-;;;;;;;;;;-1:-1:-1;30006:239:0;;;;;:::i;:::-;;:::i;54232:107::-;;;;;;;;;;-1:-1:-1;54232:107:0;;;;;:::i;:::-;;:::i;29736:208::-;;;;;;;;;;-1:-1:-1;29736:208:0;;;;;:::i;:::-;;:::i;50681:103::-;;;;;;;;;;;;;:::i;57186:198::-;;;;;;;;;;-1:-1:-1;57186:198:0;;;;;:::i;:::-;;:::i;55181:288::-;;;;;;;;;;;;;:::i;55980:383::-;;;;;;;;;;-1:-1:-1;55980:383:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;53298:40::-;;;;;;;;;;;;;;;;50030:87;;;;;;;;;;-1:-1:-1;50103:6:0;;-1:-1:-1;;;;;50103:6:0;50030:87;;30481:104;;;;;;;;;;;;;:::i;53448:45::-;;;;;;;;;;-1:-1:-1;53448:45:0;;;;;:::i;:::-;;;;;;;;;;;;;;53500:28;;;;;;;;;;;;;;;;32172:155;;;;;;;;;;-1:-1:-1;32172:155:0;;;;;:::i;:::-;;:::i;55477:192::-;;;;;;;;;;-1:-1:-1;55477:192:0;;;;;:::i;:::-;;:::i;33295:328::-;;;;;;;;;;-1:-1:-1;33295:328:0;;;;;:::i;:::-;;:::i;54136:90::-;;;;;;;;;;-1:-1:-1;54136:90:0;;;;;:::i;:::-;;:::i;30656:342::-;;;;;;;;;;-1:-1:-1;30656:342:0;;;;;:::i;:::-;;:::i;53641:26::-;;;;;;;;;;;;;:::i;56746:228::-;;;;;;;;;;-1:-1:-1;56746:228:0;;;;;:::i;:::-;;:::i;54033:97::-;;;;;;;;;;-1:-1:-1;54033:97:0;;;;;:::i;:::-;;:::i;53588:46::-;;;;;;;;;;-1:-1:-1;53588:46:0;;;;;:::i;:::-;;;;;;;;;;;;;;32398:164;;;;;;;;;;-1:-1:-1;32398:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;32519:25:0;;;32495:4;32519:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;32398:164;50939:201;;;;;;;;;;-1:-1:-1;50939:201:0;;;;;:::i;:::-;;:::i;53364:26::-;;;;;;;;;;-1:-1:-1;53364:26:0;;;;;;;;42820:224;42922:4;-1:-1:-1;;;;;;42946:50:0;;-1:-1:-1;;;42946:50:0;;:90;;;43000:36;43024:11;43000:23;:36::i;:::-;42939:97;42820:224;-1:-1:-1;;42820:224:0:o;30312:100::-;30366:13;30399:5;30392:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30312:100;:::o;31879:221::-;31955:7;35222:16;;;:7;:16;;;;;;-1:-1:-1;;;;;35222:16:0;31975:73;;;;-1:-1:-1;;;31975:73:0;;16021:2:1;31975:73:0;;;16003:21:1;16060:2;16040:18;;;16033:30;16099:34;16079:18;;;16072:62;-1:-1:-1;;;16150:18:1;;;16143:42;16202:19;;31975:73:0;;;;;;;;;-1:-1:-1;32068:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;32068:24:0;;31879:221::o;31402:411::-;31483:13;31499:23;31514:7;31499:14;:23::i;:::-;31483:39;;31547:5;-1:-1:-1;;;;;31541:11:0;:2;-1:-1:-1;;;;;31541:11:0;;;31533:57;;;;-1:-1:-1;;;31533:57:0;;17621:2:1;31533:57:0;;;17603:21:1;17660:2;17640:18;;;17633:30;17699:34;17679:18;;;17672:62;-1:-1:-1;;;17750:18:1;;;17743:31;17791:19;;31533:57:0;17419:397:1;31533:57:0;27857:10;-1:-1:-1;;;;;31625:21:0;;;;:62;;-1:-1:-1;31650:37:0;31667:5;27857:10;32398:164;:::i;31650:37::-;31603:168;;;;-1:-1:-1;;;31603:168:0;;13357:2:1;31603:168:0;;;13339:21:1;13396:2;13376:18;;;13369:30;13435:34;13415:18;;;13408:62;13506:26;13486:18;;;13479:54;13550:19;;31603:168:0;13155:420:1;31603:168:0;31784:21;31793:2;31797:7;31784:8;:21::i;:::-;31472:341;31402:411;;:::o;56658:80::-;50103:6;;-1:-1:-1;;;;;50103:6:0;27857:10;50250:23;50242:68;;;;-1:-1:-1;;;50242:68:0;;;;;;;:::i;:::-;56715:7:::1;:15:::0;;-1:-1:-1;;56715:15:0::1;::::0;;56658:80::o;56982:196::-;50103:6;;-1:-1:-1;;;;;50103:6:0;27857:10;50250:23;50242:68;;;;-1:-1:-1;;;50242:68:0;;;;;;;:::i;:::-;57074:9:::1;57069:102;57092:10;:17;57088:1;:21;57069:102;;;57158:1;57130:10;:25;57141:10;57152:1;57141:13;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1::0;;;;;57130:25:0::1;-1:-1:-1::0;;;;;57130:25:0::1;;;;;;;;;;;;:29;;;;57110:3;;;;;:::i;:::-;;;;57069:102;;;;56982:196:::0;:::o;32629:339::-;32824:41;27857:10;32857:7;32824:18;:41::i;:::-;32816:103;;;;-1:-1:-1;;;32816:103:0;;;;;;;:::i;:::-;32932:28;32942:4;32948:2;32952:7;32932:9;:28::i;43128:256::-;43225:7;43261:23;43278:5;43261:16;:23::i;:::-;43253:5;:31;43245:87;;;;-1:-1:-1;;;43245:87:0;;9079:2:1;43245:87:0;;;9061:21:1;9118:2;9098:18;;;9091:30;9157:34;9137:18;;;9130:62;-1:-1:-1;;;9208:18:1;;;9201:41;9259:19;;43245:87:0;8877:407:1;43245:87:0;-1:-1:-1;;;;;;43350:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;43128:256::o;54347:826::-;54407:19;54429;:9;52462:14;;52370:114;54429:19;54496:10;;54407:41;;-1:-1:-1;54469:23:0;54407:41;54485:6;54469:15;:23::i;:::-;:37;;54461:71;;;;-1:-1:-1;;;54461:71:0;;12246:2:1;54461:71:0;;;12228:21:1;12285:2;12265:18;;;12258:30;-1:-1:-1;;;12304:18:1;;;12297:51;12365:18;;54461:71:0;12044:345:1;54461:71:0;54560:1;54551:6;:10;54543:42;;;;-1:-1:-1;;;54543:42:0;;13009:2:1;54543:42:0;;;12991:21:1;13048:2;13028:18;;;13021:30;-1:-1:-1;;;13067:18:1;;;13060:49;13126:18;;54543:42:0;12807:343:1;54543:42:0;54617:22;54632:6;54617:14;:22::i;:::-;54604:9;:35;;54596:81;;;;-1:-1:-1;;;54596:81:0;;11843:2:1;54596:81:0;;;11825:21:1;11882:2;11862:18;;;11855:30;11921:34;11901:18;;;11894:62;-1:-1:-1;;;11972:18:1;;;11965:32;12014:19;;54596:81:0;11641:398:1;54596:81:0;54702:7;;;;54698:376;;;54748:10;54734:25;;;;:13;:25;;;;;;;;54726:65;;;;-1:-1:-1;;;54726:65:0;;15665:2:1;54726:65:0;;;15647:21:1;15704:2;15684:18;;;15677:30;15743:29;15723:18;;;15716:57;15790:18;;54726:65:0;15463:351:1;54726:65:0;54823:6;54806:13;;:23;;;;;;;:::i;:::-;;;;-1:-1:-1;;54852:13:0;;54869:4;-1:-1:-1;54852:21:0;54844:51;;;;-1:-1:-1;;;54844:51:0;;19199:2:1;54844:51:0;;;19181:21:1;19238:2;19218:18;;;19211:30;-1:-1:-1;;;19257:18:1;;;19250:47;19314:18;;54844:51:0;18997:341:1;54844:51:0;54932:10;54922:21;;;;:9;:21;;;;;:31;;54947:6;;54922:21;:31;;54947:6;;54922:31;:::i;:::-;;;;-1:-1:-1;;54986:10:0;54976:21;;;;:9;:21;;;;;;55001:1;-1:-1:-1;54976:26:0;54968:80;;;;-1:-1:-1;;;54968:80:0;;11433:2:1;54968:80:0;;;11415:21:1;11472:2;11452:18;;;11445:30;11511:34;11491:18;;;11484:62;-1:-1:-1;;;11562:18:1;;;11555:39;11611:19;;54968:80:0;11231:405:1;54968:80:0;55091:9;55086:80;55110:6;55106:1;:10;55086:80;;;55138:16;:14;:16::i;:::-;55118:3;;;;:::i;:::-;;;;55086:80;;56371:279;50103:6;;-1:-1:-1;;;;;50103:6:0;27857:10;50250:23;50242:68;;;;-1:-1:-1;;;50242:68:0;;;;;;;:::i;:::-;56445:21:::1;56485:11:::0;56477:49:::1;;;::::0;-1:-1:-1;;;56477:49:0;;15311:2:1;56477:49:0::1;::::0;::::1;15293:21:1::0;15350:2;15330:18;;;15323:30;15389:27;15369:18;;;15362:55;15434:18;;56477:49:0::1;15109:349:1::0;56477:49:0::1;56558:37;::::0;56540:12:::1;::::0;56559:10:::1;::::0;56583:7;;56540:12;56558:37;56540:12;56558:37;56583:7;56559:10;56558:37:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56539:56;;;56614:7;56606:36;;;::::0;-1:-1:-1;;;56606:36:0;;18023:2:1;56606:36:0::1;::::0;::::1;18005:21:1::0;18062:2;18042:18;;;18035:30;-1:-1:-1;;;18081:18:1;;;18074:46;18137:18;;56606:36:0::1;17821:340:1::0;33039:185:0;33177:39;33194:4;33200:2;33204:7;33177:39;;;;;;;;;;;;:16;:39::i;43650:233::-;43725:7;43761:30;43548:10;:17;;43460:113;43761:30;43753:5;:38;43745:95;;;;-1:-1:-1;;;43745:95:0;;18786:2:1;43745:95:0;;;18768:21:1;18825:2;18805:18;;;18798:30;18864:34;18844:18;;;18837:62;-1:-1:-1;;;18915:18:1;;;18908:42;18967:19;;43745:95:0;18584:408:1;43745:95:0;43858:10;43869:5;43858:17;;;;;;;;:::i;:::-;;;;;;;;;43851:24;;43650:233;;;:::o;57392:205::-;50103:6;;-1:-1:-1;;;;;50103:6:0;27857:10;50250:23;50242:68;;;;-1:-1:-1;;;50242:68:0;;;;;;;:::i;:::-;57486:9:::1;57481:109;57504:10;:17;57500:1;:21;57481:109;;;57573:5;57542:13;:28;57556:10;57567:1;57556:13;;;;;;;;:::i;:::-;;::::0;;::::1;::::0;;;;;;;-1:-1:-1;;;;;57542:28:0::1;::::0;;;::::1;::::0;;;;;;-1:-1:-1;57542:28:0;:36;;-1:-1:-1;;57542:36:0::1;::::0;::::1;;::::0;;;::::1;::::0;;57522:3;::::1;::::0;::::1;:::i;:::-;;;;57481:109;;53914:113:::0;50103:6;;-1:-1:-1;;;;;50103:6:0;27857:10;50250:23;50242:68;;;;-1:-1:-1;;;50242:68:0;;;;;;;:::i;:::-;53991:28;;::::1;::::0;:12:::1;::::0;:28:::1;::::0;::::1;::::0;::::1;:::i;30006:239::-:0;30078:7;30114:16;;;:7;:16;;;;;;-1:-1:-1;;;;;30114:16:0;30149:19;30141:73;;;;-1:-1:-1;;;30141:73:0;;14193:2:1;30141:73:0;;;14175:21:1;14232:2;14212:18;;;14205:30;14271:34;14251:18;;;14244:62;-1:-1:-1;;;14322:18:1;;;14315:39;14371:19;;30141:73:0;13991:405:1;54232:107:0;50103:6;;-1:-1:-1;;;;;50103:6:0;27857:10;50250:23;50242:68;;;;-1:-1:-1;;;50242:68:0;;;;;;;:::i;:::-;54305:10:::1;:26:::0;54232:107::o;29736:208::-;29808:7;-1:-1:-1;;;;;29836:19:0;;29828:74;;;;-1:-1:-1;;;29828:74:0;;13782:2:1;29828:74:0;;;13764:21:1;13821:2;13801:18;;;13794:30;13860:34;13840:18;;;13833:62;-1:-1:-1;;;13911:18:1;;;13904:40;13961:19;;29828:74:0;13580:406:1;29828:74:0;-1:-1:-1;;;;;;29920:16:0;;;;;:9;:16;;;;;;;29736:208::o;50681:103::-;50103:6;;-1:-1:-1;;;;;50103:6:0;27857:10;50250:23;50242:68;;;;-1:-1:-1;;;50242:68:0;;;;;;;:::i;:::-;50746:30:::1;50773:1;50746:18;:30::i;:::-;50681:103::o:0;57186:198::-;50103:6;;-1:-1:-1;;;;;50103:6:0;27857:10;50250:23;50242:68;;;;-1:-1:-1;;;50242:68:0;;;;;;;:::i;:::-;57274:9:::1;57269:108;57292:10;:17;57288:1;:21;57269:108;;;57361:4;57330:13;:28;57344:10;57355:1;57344:13;;;;;;;;:::i;:::-;;::::0;;::::1;::::0;;;;;;;-1:-1:-1;;;;;57330:28:0::1;::::0;;;::::1;::::0;;;;;;-1:-1:-1;57330:28:0;:35;;-1:-1:-1;;57330:35:0::1;::::0;::::1;;::::0;;;::::1;::::0;;57310:3;::::1;::::0;::::1;:::i;:::-;;;;57269:108;;55181:288:::0;55246:10;55260:1;55235:22;;;:10;:22;;;;;;55227:57;;;;-1:-1:-1;;;55227:57:0;;14603:2:1;55227:57:0;;;14585:21:1;14642:2;14622:18;;;14615:30;-1:-1:-1;;;14661:18:1;;;14654:48;14719:18;;55227:57:0;14401:342:1;55227:57:0;55323:10;55295:14;55312:22;;;:10;:22;;;;;;;55345:26;;;;55312:22;55382:80;55406:6;55402:1;:10;55382:80;;;55434:16;:14;:16::i;:::-;55414:3;;;;:::i;:::-;;;;55382:80;;55980:383;56069:16;56103:18;56124:17;56134:6;56124:9;:17::i;:::-;56103:38;;56152:25;56194:10;56180:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;56180:25:0;;56152:53;;56223:9;56218:112;56242:10;56238:1;:14;56218:112;;;56288:30;56308:6;56316:1;56288:19;:30::i;:::-;56274:8;56283:1;56274:11;;;;;;;;:::i;:::-;;;;;;;;;;:44;56254:3;;;;:::i;:::-;;;;56218:112;;;-1:-1:-1;56347:8:0;55980:383;-1:-1:-1;;;55980:383:0:o;30481:104::-;30537:13;30570:7;30563:14;;;;;:::i;32172:155::-;32267:52;27857:10;32300:8;32310;32267:18;:52::i;55477:192::-;55561:7;;55537;;55561;;55557:65;;;55601:9;;55592:18;;:6;:18;:::i;55557:65::-;55656:5;;55647:14;;:6;:14;:::i;33295:328::-;33470:41;27857:10;33503:7;33470:18;:41::i;:::-;33462:103;;;;-1:-1:-1;;;33462:103:0;;;;;;;:::i;:::-;33576:39;33590:4;33596:2;33600:7;33609:5;33576:13;:39::i;:::-;33295:328;;;;:::o;54136:90::-;50103:6;;-1:-1:-1;;;;;50103:6:0;27857:10;50250:23;50242:68;;;;-1:-1:-1;;;50242:68:0;;;;;;;:::i;:::-;54204:5:::1;:14:::0;54136:90::o;30656:342::-;35198:4;35222:16;;;:7;:16;;;;;;30729:13;;-1:-1:-1;;;;;35222:16:0;30755:76;;;;-1:-1:-1;;;30755:76:0;;17205:2:1;30755:76:0;;;17187:21:1;17244:2;17224:18;;;17217:30;17283:34;17263:18;;;17256:62;-1:-1:-1;;;17334:18:1;;;17327:45;17389:19;;30755:76:0;17003:411:1;30755:76:0;30844:21;30868:10;:8;:10::i;:::-;30844:34;;30920:1;30902:7;30896:21;:25;:94;;;;;;;;;;;;;;;;;30948:7;30957:18;:7;:16;:18::i;:::-;30931:53;;;;;;;;;:::i;:::-;;;;;;;;;;;;;30896:94;30889:101;30656:342;-1:-1:-1;;;30656:342:0:o;53641:26::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;56746:228::-;50103:6;;-1:-1:-1;;;;;50103:6:0;27857:10;50250:23;50242:68;;;;-1:-1:-1;;;50242:68:0;;;;;;;:::i;:::-;56860:9:::1;56855:112;56878:10;:17;56874:1;:21;56855:112;;;56944:8;56953:1;56944:11;;;;;;;;:::i;:::-;;;;;;;56916:10;:25;56927:10;56938:1;56927:13;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1::0;;;;;56916:25:0::1;-1:-1:-1::0;;;;;56916:25:0::1;;;;;;;;;;;;:39;;;;56896:3;;;;;:::i;:::-;;;;56855:112;;54033:97:::0;50103:6;;-1:-1:-1;;;;;50103:6:0;27857:10;50250:23;50242:68;;;;-1:-1:-1;;;50242:68:0;;;;;;;:::i;:::-;54101:9:::1;:21:::0;54033:97::o;50939:201::-;50103:6;;-1:-1:-1;;;;;50103:6:0;27857:10;50250:23;50242:68;;;;-1:-1:-1;;;50242:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;51028:22:0;::::1;51020:73;;;::::0;-1:-1:-1;;;51020:73:0;;9910:2:1;51020:73:0::1;::::0;::::1;9892:21:1::0;9949:2;9929:18;;;9922:30;9988:34;9968:18;;;9961:62;-1:-1:-1;;;10039:18:1;;;10032:36;10085:19;;51020:73:0::1;9708:402:1::0;51020:73:0::1;51104:28;51123:8;51104:18;:28::i;:::-;50939:201:::0;:::o;29367:305::-;29469:4;-1:-1:-1;;;;;;29506:40:0;;-1:-1:-1;;;29506:40:0;;:105;;-1:-1:-1;;;;;;;29563:48:0;;-1:-1:-1;;;29563:48:0;29506:105;:158;;;-1:-1:-1;;;;;;;;;;13268:40:0;;;29628:36;13159:157;39115:174;39190:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;39190:29:0;-1:-1:-1;;;;;39190:29:0;;;;;;;;:24;;39244:23;39190:24;39244:14;:23::i;:::-;-1:-1:-1;;;;;39235:46:0;;;;;;;;;;;39115:174;;:::o;35427:348::-;35520:4;35222:16;;;:7;:16;;;;;;-1:-1:-1;;;;;35222:16:0;35537:73;;;;-1:-1:-1;;;35537:73:0;;12596:2:1;35537:73:0;;;12578:21:1;12635:2;12615:18;;;12608:30;12674:34;12654:18;;;12647:62;-1:-1:-1;;;12725:18:1;;;12718:42;12777:19;;35537:73:0;12394:408:1;35537:73:0;35621:13;35637:23;35652:7;35637:14;:23::i;:::-;35621:39;;35690:5;-1:-1:-1;;;;;35679:16:0;:7;-1:-1:-1;;;;;35679:16:0;;:51;;;;35723:7;-1:-1:-1;;;;;35699:31:0;:20;35711:7;35699:11;:20::i;:::-;-1:-1:-1;;;;;35699:31:0;;35679:51;:87;;;-1:-1:-1;;;;;;32519:25:0;;;32495:4;32519:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;35734:32;35671:96;35427:348;-1:-1:-1;;;;35427:348:0:o;38419:578::-;38578:4;-1:-1:-1;;;;;38551:31:0;:23;38566:7;38551:14;:23::i;:::-;-1:-1:-1;;;;;38551:31:0;;38543:85;;;;-1:-1:-1;;;38543:85:0;;16795:2:1;38543:85:0;;;16777:21:1;16834:2;16814:18;;;16807:30;16873:34;16853:18;;;16846:62;-1:-1:-1;;;16924:18:1;;;16917:39;16973:19;;38543:85:0;16593:405:1;38543:85:0;-1:-1:-1;;;;;38647:16:0;;38639:65;;;;-1:-1:-1;;;38639:65:0;;10674:2:1;38639:65:0;;;10656:21:1;10713:2;10693:18;;;10686:30;10752:34;10732:18;;;10725:62;-1:-1:-1;;;10803:18:1;;;10796:34;10847:19;;38639:65:0;10472:400:1;38639:65:0;38717:39;38738:4;38744:2;38748:7;38717:20;:39::i;:::-;38821:29;38838:1;38842:7;38821:8;:29::i;:::-;-1:-1:-1;;;;;38863:15:0;;;;;;:9;:15;;;;;:20;;38882:1;;38863:15;:20;;38882:1;;38863:20;:::i;:::-;;;;-1:-1:-1;;;;;;;38894:13:0;;;;;;:9;:13;;;;;:18;;38911:1;;38894:13;:18;;38911:1;;38894:18;:::i;:::-;;;;-1:-1:-1;;38923:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;38923:21:0;-1:-1:-1;;;;;38923:21:0;;;;;;;;;38962:27;;38923:16;;38962:27;;;;;;;38419:578;;;:::o;22933:98::-;22991:7;23018:5;23022:1;23018;:5;:::i;55677:295::-;55722:18;55743:19;:9;52462:14;;52370:114;55743:19;55722:40;-1:-1:-1;55777:15:0;55773:116;;55809:21;:9;52581:19;;52599:1;52581:19;;;52492:127;55809:21;-1:-1:-1;55858:9:0;52462:14;55773:116;55899:33;55909:10;55921;55899:9;:33::i;:::-;55943:21;:9;52581:19;;52599:1;52581:19;;;52492:127;51300:191;51393:6;;;-1:-1:-1;;;;;51410:17:0;;;-1:-1:-1;;;;;;51410:17:0;;;;;;;51443:40;;51393:6;;;51410:17;51393:6;;51443:40;;51374:16;;51443:40;51363:128;51300:191;:::o;39431:315::-;39586:8;-1:-1:-1;;;;;39577:17:0;:5;-1:-1:-1;;;;;39577:17:0;;;39569:55;;;;-1:-1:-1;;;39569:55:0;;11079:2:1;39569:55:0;;;11061:21:1;11118:2;11098:18;;;11091:30;11157:27;11137:18;;;11130:55;11202:18;;39569:55:0;10877:349:1;39569:55:0;-1:-1:-1;;;;;39635:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;39635:46:0;;;;;;;;;;39697:41;;8601::1;;;39697::0;;8574:18:1;39697:41:0;;;;;;;39431:315;;;:::o;34505:::-;34662:28;34672:4;34678:2;34682:7;34662:9;:28::i;:::-;34709:48;34732:4;34738:2;34742:7;34751:5;34709:22;:48::i;:::-;34701:111;;;;-1:-1:-1;;;34701:111:0;;;;;;;:::i;53793:113::-;53853:13;53886:12;53879:19;;;;;:::i;436:723::-;492:13;713:10;709:53;;-1:-1:-1;;740:10:0;;;;;;;;;;;;-1:-1:-1;;;740:10:0;;;;;436:723::o;709:53::-;787:5;772:12;828:78;835:9;;828:78;;861:8;;;;:::i;:::-;;-1:-1:-1;884:10:0;;-1:-1:-1;892:2:0;884:10;;:::i;:::-;;;828:78;;;916:19;948:6;938:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;938:17:0;;916:39;;966:154;973:10;;966:154;;1000:11;1010:1;1000:11;;:::i;:::-;;-1:-1:-1;1069:10:0;1077:2;1069:5;:10;:::i;:::-;1056:24;;:2;:24;:::i;:::-;1043:39;;1026:6;1033;1026:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;1026:56:0;;;;;;;;-1:-1:-1;1097:11:0;1106:2;1097:11;;:::i;:::-;;;966:154;;44496:589;-1:-1:-1;;;;;44702:18:0;;44698:187;;44737:40;44769:7;45912:10;:17;;45885:24;;;;:15;:24;;;;;:44;;;45940:24;;;;;;;;;;;;45808:164;44737:40;44698:187;;;44807:2;-1:-1:-1;;;;;44799:10:0;:4;-1:-1:-1;;;;;44799:10:0;;44795:90;;44826:47;44859:4;44865:7;44826:32;:47::i;:::-;-1:-1:-1;;;;;44899:16:0;;44895:183;;44932:45;44969:7;44932:36;:45::i;44895:183::-;45005:4;-1:-1:-1;;;;;44999:10:0;:2;-1:-1:-1;;;;;44999:10:0;;44995:83;;45026:40;45054:2;45058:7;45026:27;:40::i;36117:110::-;36193:26;36203:2;36207:7;36193:26;;;;;;;;;;;;:9;:26::i;40311:799::-;40466:4;-1:-1:-1;;;;;40487:13:0;;3338:20;3386:8;40483:620;;40523:72;;-1:-1:-1;;;40523:72:0;;-1:-1:-1;;;;;40523:36:0;;;;;:72;;27857:10;;40574:4;;40580:7;;40589:5;;40523:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;40523:72:0;;;;;;;;-1:-1:-1;;40523:72:0;;;;;;;;;;;;:::i;:::-;;;40519:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;40765:13:0;;40761:272;;40808:60;;-1:-1:-1;;;40808:60:0;;;;;;;:::i;40761:272::-;40983:6;40977:13;40968:6;40964:2;40960:15;40953:38;40519:529;-1:-1:-1;;;;;;40646:51:0;-1:-1:-1;;;40646:51:0;;-1:-1:-1;40639:58:0;;40483:620;-1:-1:-1;41087:4:0;40311:799;;;;;;:::o;46599:988::-;46865:22;46915:1;46890:22;46907:4;46890:16;:22::i;:::-;:26;;;;:::i;:::-;46927:18;46948:26;;;:17;:26;;;;;;46865:51;;-1:-1:-1;47081:28:0;;;47077:328;;-1:-1:-1;;;;;47148:18:0;;47126:19;47148:18;;;:12;:18;;;;;;;;:34;;;;;;;;;47199:30;;;;;;:44;;;47316:30;;:17;:30;;;;;:43;;;47077:328;-1:-1:-1;47501:26:0;;;;:17;:26;;;;;;;;47494:33;;;-1:-1:-1;;;;;47545:18:0;;;;;:12;:18;;;;;:34;;;;;;;47538:41;46599:988::o;47882:1079::-;48160:10;:17;48135:22;;48160:21;;48180:1;;48160:21;:::i;:::-;48192:18;48213:24;;;:15;:24;;;;;;48586:10;:26;;48135:46;;-1:-1:-1;48213:24:0;;48135:46;;48586:26;;;;;;:::i;:::-;;;;;;;;;48564:48;;48650:11;48625:10;48636;48625:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;48730:28;;;:15;:28;;;;;;;:41;;;48902:24;;;;;48895:31;48937:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;47953:1008;;;47882:1079;:::o;45386:221::-;45471:14;45488:20;45505:2;45488:16;:20::i;:::-;-1:-1:-1;;;;;45519:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;45564:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;45386:221:0:o;36454:321::-;36584:18;36590:2;36594:7;36584:5;:18::i;:::-;36635:54;36666:1;36670:2;36674:7;36683:5;36635:22;:54::i;:::-;36613:154;;;;-1:-1:-1;;;36613:154:0;;;;;;;:::i;37111:382::-;-1:-1:-1;;;;;37191:16:0;;37183:61;;;;-1:-1:-1;;;37183:61:0;;14950:2:1;37183:61:0;;;14932:21:1;;;14969:18;;;14962:30;15028:34;15008:18;;;15001:62;15080:18;;37183:61:0;14748:356:1;37183:61:0;35198:4;35222:16;;;:7;:16;;;;;;-1:-1:-1;;;;;35222:16:0;:30;37255:58;;;;-1:-1:-1;;;37255:58:0;;10317:2:1;37255:58:0;;;10299:21:1;10356:2;10336:18;;;10329:30;10395;10375:18;;;10368:58;10443:18;;37255:58:0;10115:352:1;37255:58:0;37326:45;37355:1;37359:2;37363:7;37326:20;:45::i;:::-;-1:-1:-1;;;;;37384:13:0;;;;;;:9;:13;;;;;:18;;37401:1;;37384:13;:18;;37401:1;;37384:18;:::i;:::-;;;;-1:-1:-1;;37413:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;37413:21:0;-1:-1:-1;;;;;37413:21:0;;;;;;;;37452:33;;37413:16;;;37452:33;;37413:16;;37452:33;37111:382;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:406:1;78:5;112:18;104:6;101:30;98:56;;;134:18;;:::i;:::-;172:57;217:2;196:15;;-1:-1:-1;;192:29:1;223:4;188:40;172:57;:::i;:::-;163:66;;252:6;245:5;238:21;292:3;283:6;278:3;274:16;271:25;268:45;;;309:1;306;299:12;268:45;358:6;353:3;346:4;339:5;335:16;322:43;412:1;405:4;396:6;389:5;385:18;381:29;374:40;14:406;;;;;:::o;425:173::-;493:20;;-1:-1:-1;;;;;542:31:1;;532:42;;522:70;;588:1;585;578:12;522:70;425:173;;;:::o;603:679::-;657:5;710:3;703:4;695:6;691:17;687:27;677:55;;728:1;725;718:12;677:55;764:6;751:20;790:4;814:60;830:43;870:2;830:43;:::i;:::-;814:60;:::i;:::-;896:3;920:2;915:3;908:15;948:2;943:3;939:12;932:19;;983:2;975:6;971:15;1035:3;1030:2;1024;1021:1;1017:10;1009:6;1005:23;1001:32;998:41;995:61;;;1052:1;1049;1042:12;995:61;1074:1;1084:169;1098:2;1095:1;1092:9;1084:169;;;1155:23;1174:3;1155:23;:::i;:::-;1143:36;;1199:12;;;;1231;;;;1116:1;1109:9;1084:169;;;-1:-1:-1;1271:5:1;;603:679;-1:-1:-1;;;;;;;603:679:1:o;1287:186::-;1346:6;1399:2;1387:9;1378:7;1374:23;1370:32;1367:52;;;1415:1;1412;1405:12;1367:52;1438:29;1457:9;1438:29;:::i;1478:260::-;1546:6;1554;1607:2;1595:9;1586:7;1582:23;1578:32;1575:52;;;1623:1;1620;1613:12;1575:52;1646:29;1665:9;1646:29;:::i;:::-;1636:39;;1694:38;1728:2;1717:9;1713:18;1694:38;:::i;:::-;1684:48;;1478:260;;;;;:::o;1743:328::-;1820:6;1828;1836;1889:2;1877:9;1868:7;1864:23;1860:32;1857:52;;;1905:1;1902;1895:12;1857:52;1928:29;1947:9;1928:29;:::i;:::-;1918:39;;1976:38;2010:2;1999:9;1995:18;1976:38;:::i;:::-;1966:48;;2061:2;2050:9;2046:18;2033:32;2023:42;;1743:328;;;;;:::o;2076:666::-;2171:6;2179;2187;2195;2248:3;2236:9;2227:7;2223:23;2219:33;2216:53;;;2265:1;2262;2255:12;2216:53;2288:29;2307:9;2288:29;:::i;:::-;2278:39;;2336:38;2370:2;2359:9;2355:18;2336:38;:::i;:::-;2326:48;;2421:2;2410:9;2406:18;2393:32;2383:42;;2476:2;2465:9;2461:18;2448:32;2503:18;2495:6;2492:30;2489:50;;;2535:1;2532;2525:12;2489:50;2558:22;;2611:4;2603:13;;2599:27;-1:-1:-1;2589:55:1;;2640:1;2637;2630:12;2589:55;2663:73;2728:7;2723:2;2710:16;2705:2;2701;2697:11;2663:73;:::i;:::-;2653:83;;;2076:666;;;;;;;:::o;2747:347::-;2812:6;2820;2873:2;2861:9;2852:7;2848:23;2844:32;2841:52;;;2889:1;2886;2879:12;2841:52;2912:29;2931:9;2912:29;:::i;:::-;2902:39;;2991:2;2980:9;2976:18;2963:32;3038:5;3031:13;3024:21;3017:5;3014:32;3004:60;;3060:1;3057;3050:12;3004:60;3083:5;3073:15;;;2747:347;;;;;:::o;3099:254::-;3167:6;3175;3228:2;3216:9;3207:7;3203:23;3199:32;3196:52;;;3244:1;3241;3234:12;3196:52;3267:29;3286:9;3267:29;:::i;:::-;3257:39;3343:2;3328:18;;;;3315:32;;-1:-1:-1;;;3099:254:1:o;3358:348::-;3442:6;3495:2;3483:9;3474:7;3470:23;3466:32;3463:52;;;3511:1;3508;3501:12;3463:52;3551:9;3538:23;3584:18;3576:6;3573:30;3570:50;;;3616:1;3613;3606:12;3570:50;3639:61;3692:7;3683:6;3672:9;3668:22;3639:61;:::i;3711:1149::-;3829:6;3837;3890:2;3878:9;3869:7;3865:23;3861:32;3858:52;;;3906:1;3903;3896:12;3858:52;3946:9;3933:23;3975:18;4016:2;4008:6;4005:14;4002:34;;;4032:1;4029;4022:12;4002:34;4055:61;4108:7;4099:6;4088:9;4084:22;4055:61;:::i;:::-;4045:71;;4135:2;4125:12;;4190:2;4179:9;4175:18;4162:32;4219:2;4209:8;4206:16;4203:36;;;4235:1;4232;4225:12;4203:36;4258:24;;;-1:-1:-1;4313:4:1;4305:13;;4301:27;-1:-1:-1;4291:55:1;;4342:1;4339;4332:12;4291:55;4378:2;4365:16;4401:60;4417:43;4457:2;4417:43;:::i;4401:60::-;4483:3;4507:2;4502:3;4495:15;4535:2;4530:3;4526:12;4519:19;;4566:2;4562;4558:11;4614:7;4609:2;4603;4600:1;4596:10;4592:2;4588:19;4584:28;4581:41;4578:61;;;4635:1;4632;4625:12;4578:61;4657:1;4648:10;;4667:163;4681:2;4678:1;4675:9;4667:163;;;4738:17;;4726:30;;4699:1;4692:9;;;;;4776:12;;;;4808;;4667:163;;;4671:3;4849:5;4839:15;;;;;;;3711:1149;;;;;:::o;4865:245::-;4923:6;4976:2;4964:9;4955:7;4951:23;4947:32;4944:52;;;4992:1;4989;4982:12;4944:52;5031:9;5018:23;5050:30;5074:5;5050:30;:::i;5115:249::-;5184:6;5237:2;5225:9;5216:7;5212:23;5208:32;5205:52;;;5253:1;5250;5243:12;5205:52;5285:9;5279:16;5304:30;5328:5;5304:30;:::i;5369:450::-;5438:6;5491:2;5479:9;5470:7;5466:23;5462:32;5459:52;;;5507:1;5504;5497:12;5459:52;5547:9;5534:23;5580:18;5572:6;5569:30;5566:50;;;5612:1;5609;5602:12;5566:50;5635:22;;5688:4;5680:13;;5676:27;-1:-1:-1;5666:55:1;;5717:1;5714;5707:12;5666:55;5740:73;5805:7;5800:2;5787:16;5782:2;5778;5774:11;5740:73;:::i;5824:180::-;5883:6;5936:2;5924:9;5915:7;5911:23;5907:32;5904:52;;;5952:1;5949;5942:12;5904:52;-1:-1:-1;5975:23:1;;5824:180;-1:-1:-1;5824:180:1:o;6009:257::-;6050:3;6088:5;6082:12;6115:6;6110:3;6103:19;6131:63;6187:6;6180:4;6175:3;6171:14;6164:4;6157:5;6153:16;6131:63;:::i;:::-;6248:2;6227:15;-1:-1:-1;;6223:29:1;6214:39;;;;6255:4;6210:50;;6009:257;-1:-1:-1;;6009:257:1:o;6271:637::-;6551:3;6589:6;6583:13;6605:53;6651:6;6646:3;6639:4;6631:6;6627:17;6605:53;:::i;:::-;6721:13;;6680:16;;;;6743:57;6721:13;6680:16;6777:4;6765:17;;6743:57;:::i;:::-;-1:-1:-1;;;6822:20:1;;6851:22;;;6900:1;6889:13;;6271:637;-1:-1:-1;;;;6271:637:1:o;7331:488::-;-1:-1:-1;;;;;7600:15:1;;;7582:34;;7652:15;;7647:2;7632:18;;7625:43;7699:2;7684:18;;7677:34;;;7747:3;7742:2;7727:18;;7720:31;;;7525:4;;7768:45;;7793:19;;7785:6;7768:45;:::i;:::-;7760:53;7331:488;-1:-1:-1;;;;;;7331:488:1:o;7824:632::-;7995:2;8047:21;;;8117:13;;8020:18;;;8139:22;;;7966:4;;7995:2;8218:15;;;;8192:2;8177:18;;;7966:4;8261:169;8275:6;8272:1;8269:13;8261:169;;;8336:13;;8324:26;;8405:15;;;;8370:12;;;;8297:1;8290:9;8261:169;;;-1:-1:-1;8447:3:1;;7824:632;-1:-1:-1;;;;;;7824:632:1:o;8653:219::-;8802:2;8791:9;8784:21;8765:4;8822:44;8862:2;8851:9;8847:18;8839:6;8822:44;:::i;9289:414::-;9491:2;9473:21;;;9530:2;9510:18;;;9503:30;9569:34;9564:2;9549:18;;9542:62;-1:-1:-1;;;9635:2:1;9620:18;;9613:48;9693:3;9678:19;;9289:414::o;16232:356::-;16434:2;16416:21;;;16453:18;;;16446:30;16512:34;16507:2;16492:18;;16485:62;16579:2;16564:18;;16232:356::o;18166:413::-;18368:2;18350:21;;;18407:2;18387:18;;;18380:30;18446:34;18441:2;18426:18;;18419:62;-1:-1:-1;;;18512:2:1;18497:18;;18490:47;18569:3;18554:19;;18166:413::o;19525:275::-;19596:2;19590:9;19661:2;19642:13;;-1:-1:-1;;19638:27:1;19626:40;;19696:18;19681:34;;19717:22;;;19678:62;19675:88;;;19743:18;;:::i;:::-;19779:2;19772:22;19525:275;;-1:-1:-1;19525:275:1:o;19805:183::-;19865:4;19898:18;19890:6;19887:30;19884:56;;;19920:18;;:::i;:::-;-1:-1:-1;19965:1:1;19961:14;19977:4;19957:25;;19805:183::o;19993:128::-;20033:3;20064:1;20060:6;20057:1;20054:13;20051:39;;;20070:18;;:::i;:::-;-1:-1:-1;20106:9:1;;19993:128::o;20126:120::-;20166:1;20192;20182:35;;20197:18;;:::i;:::-;-1:-1:-1;20231:9:1;;20126:120::o;20251:168::-;20291:7;20357:1;20353;20349:6;20345:14;20342:1;20339:21;20334:1;20327:9;20320:17;20316:45;20313:71;;;20364:18;;:::i;:::-;-1:-1:-1;20404:9:1;;20251:168::o;20424:125::-;20464:4;20492:1;20489;20486:8;20483:34;;;20497:18;;:::i;:::-;-1:-1:-1;20534:9:1;;20424:125::o;20554:258::-;20626:1;20636:113;20650:6;20647:1;20644:13;20636:113;;;20726:11;;;20720:18;20707:11;;;20700:39;20672:2;20665:10;20636:113;;;20767:6;20764:1;20761:13;20758:48;;;-1:-1:-1;;20802:1:1;20784:16;;20777:27;20554:258::o;20817:380::-;20896:1;20892:12;;;;20939;;;20960:61;;21014:4;21006:6;21002:17;20992:27;;20960:61;21067:2;21059:6;21056:14;21036:18;21033:38;21030:161;;;21113:10;21108:3;21104:20;21101:1;21094:31;21148:4;21145:1;21138:15;21176:4;21173:1;21166:15;21030:161;;20817:380;;;:::o;21202:135::-;21241:3;-1:-1:-1;;21262:17:1;;21259:43;;;21282:18;;:::i;:::-;-1:-1:-1;21329:1:1;21318:13;;21202:135::o;21342:112::-;21374:1;21400;21390:35;;21405:18;;:::i;:::-;-1:-1:-1;21439:9:1;;21342:112::o;21459:127::-;21520:10;21515:3;21511:20;21508:1;21501:31;21551:4;21548:1;21541:15;21575:4;21572:1;21565:15;21591:127;21652:10;21647:3;21643:20;21640:1;21633:31;21683:4;21680:1;21673:15;21707:4;21704:1;21697:15;21723:127;21784:10;21779:3;21775:20;21772:1;21765:31;21815:4;21812:1;21805:15;21839:4;21836:1;21829:15;21855:127;21916:10;21911:3;21907:20;21904:1;21897:31;21947:4;21944:1;21937:15;21971:4;21968:1;21961:15;21987:127;22048:10;22043:3;22039:20;22036:1;22029:31;22079:4;22076:1;22069:15;22103:4;22100:1;22093:15;22119:131;-1:-1:-1;;;;;;22193:32:1;;22183:43;;22173:71;;22240:1;22237;22230:12

Swarm Source

ipfs://42440c54c030137da229623abcdda7c0e70980e66824e0c7aee58fb0362e7af7
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.