ETH Price: $2,976.50 (-4.10%)
Gas: 2 Gwei

Token

Gift Goat #16 (GG16)
 

Overview

Max Total Supply

555 GG16

Holders

449

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Balance
1 GG16
0xf68de51a6778d60645b05f44ce09ff15317755d0
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0x792204ed...Bd8dc5a54
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
VFToken

Compiler Version
v0.8.22+commit.4fc1097e

Optimization Enabled:
No with 200 runs

Other Settings:
paris EvmVersion
File 1 of 25 : IERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC2981.sol)

pragma solidity ^0.8.20;

import {IERC165} from "../utils/introspection/IERC165.sol";

/**
 * @dev Interface for the NFT Royalty Standard.
 *
 * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal
 * support for royalty payments across all NFT marketplaces and ecosystem participants.
 */
interface IERC2981 is IERC165 {
    /**
     * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of
     * exchange. The royalty amount is denominated and should be paid in that same unit of exchange.
     */
    function royaltyInfo(
        uint256 tokenId,
        uint256 salePrice
    ) external view returns (address receiver, uint256 royaltyAmount);
}

File 2 of 25 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.20;

import {IERC165} from "../../utils/introspection/IERC165.sol";

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

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

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

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

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

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

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

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721
     * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must
     * understand this adds an external call which potentially creates a reentrancy vulnerability.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address from, address to, uint256 tokenId) external;

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

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

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

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

File 3 of 25 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.20;

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

File 4 of 25 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/Address.sol)

pragma solidity ^0.8.20;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev The ETH balance of the account is not enough to perform the operation.
     */
    error AddressInsufficientBalance(address account);

    /**
     * @dev There's no code at `target` (it is not a contract).
     */
    error AddressEmptyCode(address target);

    /**
     * @dev A call to an address target failed. The target may have reverted.
     */
    error FailedInnerCall();

    /**
     * @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://consensys.net/diligence/blog/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.8.20/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        if (address(this).balance < amount) {
            revert AddressInsufficientBalance(address(this));
        }

        (bool success, ) = recipient.call{value: amount}("");
        if (!success) {
            revert FailedInnerCall();
        }
    }

    /**
     * @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 or custom error, it is bubbled
     * up by this function (like regular Solidity function calls). However, if
     * the call reverted with no returned reason, this function reverts with a
     * {FailedInnerCall} error.
     *
     * 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.
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0);
    }

    /**
     * @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`.
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
        if (address(this).balance < value) {
            revert AddressInsufficientBalance(address(this));
        }
        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResultFromTarget(target, success, returndata);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, success, returndata);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata);
    }

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and reverts if the target
     * was not a contract or bubbling up the revert reason (falling back to {FailedInnerCall}) in case of an
     * unsuccessful call.
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata
    ) internal view returns (bytes memory) {
        if (!success) {
            _revert(returndata);
        } else {
            // only check if target is a contract if the call was successful and the return data is empty
            // otherwise we already know that it was a contract
            if (returndata.length == 0 && target.code.length == 0) {
                revert AddressEmptyCode(target);
            }
            return returndata;
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and reverts if it wasn't, either by bubbling the
     * revert reason or with a default {FailedInnerCall} error.
     */
    function verifyCallResult(bool success, bytes memory returndata) internal pure returns (bytes memory) {
        if (!success) {
            _revert(returndata);
        } else {
            return returndata;
        }
    }

    /**
     * @dev Reverts with returndata if present. Otherwise reverts with {FailedInnerCall}.
     */
    function _revert(bytes memory returndata) private pure {
        // Look for revert reason and bubble it up if present
        if (returndata.length > 0) {
            // The easiest way to bubble the revert reason is using memory via assembly
            /// @solidity memory-safe-assembly
            assembly {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert FailedInnerCall();
        }
    }
}

File 5 of 25 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)

pragma solidity ^0.8.20;

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

    function _contextSuffixLength() internal view virtual returns (uint256) {
        return 0;
    }
}

File 6 of 25 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/ERC165.sol)

pragma solidity ^0.8.20;

import {IERC165} from "./IERC165.sol";

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

File 7 of 25 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/IERC165.sol)

pragma solidity ^0.8.20;

/**
 * @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 8 of 25 : Math.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/math/Math.sol)

pragma solidity ^0.8.20;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    /**
     * @dev Muldiv operation overflow.
     */
    error MathOverflowedMulDiv();

    enum Rounding {
        Floor, // Toward negative infinity
        Ceil, // Toward positive infinity
        Trunc, // Toward zero
        Expand // Away from zero
    }

    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, with an overflow flag.
     */
    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.
     */
    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.
     */
    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.
     */
    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 largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow.
        return (a & b) + (a ^ b) / 2;
    }

    /**
     * @dev Returns the ceiling of the division of two numbers.
     *
     * This differs from standard division with `/` in that it rounds towards infinity instead
     * of rounding towards zero.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        if (b == 0) {
            // Guarantee the same behavior as in a regular Solidity division.
            return a / b;
        }

        // (a + b - 1) / b can overflow on addition, so we distribute.
        return a == 0 ? 0 : (a - 1) / b + 1;
    }

    /**
     * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or
     * denominator == 0.
     * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) with further edits by
     * Uniswap Labs also under MIT license.
     */
    function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) {
        unchecked {
            // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use
            // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256
            // variables such that product = prod1 * 2^256 + prod0.
            uint256 prod0 = x * y; // Least significant 256 bits of the product
            uint256 prod1; // Most significant 256 bits of the product
            assembly {
                let mm := mulmod(x, y, not(0))
                prod1 := sub(sub(mm, prod0), lt(mm, prod0))
            }

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                // Solidity will revert if denominator == 0, unlike the div opcode on its own.
                // The surrounding unchecked block does not change this fact.
                // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic.
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            if (denominator <= prod1) {
                revert MathOverflowedMulDiv();
            }

            ///////////////////////////////////////////////
            // 512 by 256 division.
            ///////////////////////////////////////////////

            // Make division exact by subtracting the remainder from [prod1 prod0].
            uint256 remainder;
            assembly {
                // Compute remainder using mulmod.
                remainder := mulmod(x, y, denominator)

                // Subtract 256 bit number from 512 bit number.
                prod1 := sub(prod1, gt(remainder, prod0))
                prod0 := sub(prod0, remainder)
            }

            // Factor powers of two out of denominator and compute largest power of two divisor of denominator.
            // Always >= 1. See https://cs.stackexchange.com/q/138556/92363.

            uint256 twos = denominator & (0 - denominator);
            assembly {
                // Divide denominator by twos.
                denominator := div(denominator, twos)

                // Divide [prod1 prod0] by twos.
                prod0 := div(prod0, twos)

                // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.
                twos := add(div(sub(0, twos), twos), 1)
            }

            // Shift in bits from prod1 into prod0.
            prod0 |= prod1 * twos;

            // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such
            // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for
            // four bits. That is, denominator * inv = 1 mod 2^4.
            uint256 inverse = (3 * denominator) ^ 2;

            // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also
            // works in modular arithmetic, doubling the correct bits in each step.
            inverse *= 2 - denominator * inverse; // inverse mod 2^8
            inverse *= 2 - denominator * inverse; // inverse mod 2^16
            inverse *= 2 - denominator * inverse; // inverse mod 2^32
            inverse *= 2 - denominator * inverse; // inverse mod 2^64
            inverse *= 2 - denominator * inverse; // inverse mod 2^128
            inverse *= 2 - denominator * inverse; // inverse mod 2^256

            // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.
            // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is
            // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1
            // is no longer required.
            result = prod0 * inverse;
            return result;
        }
    }

    /**
     * @notice Calculates x * y / denominator with full precision, following the selected rounding direction.
     */
    function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) {
        uint256 result = mulDiv(x, y, denominator);
        if (unsignedRoundsUp(rounding) && mulmod(x, y, denominator) > 0) {
            result += 1;
        }
        return result;
    }

    /**
     * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded
     * towards zero.
     *
     * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11).
     */
    function sqrt(uint256 a) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }

        // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.
        //
        // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have
        // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.
        //
        // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`
        // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`
        // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`
        //
        // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.
        uint256 result = 1 << (log2(a) >> 1);

        // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,
        // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at
        // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision
        // into the expected uint128 result.
        unchecked {
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            return min(result, a / result);
        }
    }

    /**
     * @notice Calculates sqrt(a), following the selected rounding direction.
     */
    function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = sqrt(a);
            return result + (unsignedRoundsUp(rounding) && result * result < a ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 2 of a positive value rounded towards zero.
     * Returns 0 if given 0.
     */
    function log2(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 128;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 64;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 32;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 16;
            }
            if (value >> 8 > 0) {
                value >>= 8;
                result += 8;
            }
            if (value >> 4 > 0) {
                value >>= 4;
                result += 4;
            }
            if (value >> 2 > 0) {
                value >>= 2;
                result += 2;
            }
            if (value >> 1 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 2, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log2(value);
            return result + (unsignedRoundsUp(rounding) && 1 << result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 10 of a positive value rounded towards zero.
     * Returns 0 if given 0.
     */
    function log10(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >= 10 ** 64) {
                value /= 10 ** 64;
                result += 64;
            }
            if (value >= 10 ** 32) {
                value /= 10 ** 32;
                result += 32;
            }
            if (value >= 10 ** 16) {
                value /= 10 ** 16;
                result += 16;
            }
            if (value >= 10 ** 8) {
                value /= 10 ** 8;
                result += 8;
            }
            if (value >= 10 ** 4) {
                value /= 10 ** 4;
                result += 4;
            }
            if (value >= 10 ** 2) {
                value /= 10 ** 2;
                result += 2;
            }
            if (value >= 10 ** 1) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log10(value);
            return result + (unsignedRoundsUp(rounding) && 10 ** result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 256 of a positive value rounded towards zero.
     * Returns 0 if given 0.
     *
     * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.
     */
    function log256(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 16;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 8;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 4;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 2;
            }
            if (value >> 8 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 256, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log256(value);
            return result + (unsignedRoundsUp(rounding) && 1 << (result << 3) < value ? 1 : 0);
        }
    }

    /**
     * @dev Returns whether a provided rounding mode is considered rounding up for unsigned integers.
     */
    function unsignedRoundsUp(Rounding rounding) internal pure returns (bool) {
        return uint8(rounding) % 2 == 1;
    }
}

File 9 of 25 : SignedMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/math/SignedMath.sol)

pragma solidity ^0.8.20;

/**
 * @dev Standard signed math utilities missing in the Solidity language.
 */
library SignedMath {
    /**
     * @dev Returns the largest of two signed numbers.
     */
    function max(int256 a, int256 b) internal pure returns (int256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two signed numbers.
     */
    function min(int256 a, int256 b) internal pure returns (int256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two signed numbers without overflow.
     * The result is rounded towards zero.
     */
    function average(int256 a, int256 b) internal pure returns (int256) {
        // Formula from the book "Hacker's Delight"
        int256 x = (a & b) + ((a ^ b) >> 1);
        return x + (int256(uint256(x) >> 255) & (a ^ b));
    }

    /**
     * @dev Returns the absolute unsigned value of a signed value.
     */
    function abs(int256 n) internal pure returns (uint256) {
        unchecked {
            // must be unchecked in order to support `n = type(int256).min`
            return uint256(n >= 0 ? n : -n);
        }
    }
}

File 10 of 25 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/ReentrancyGuard.sol)

pragma solidity ^0.8.20;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant NOT_ENTERED = 1;
    uint256 private constant ENTERED = 2;

    uint256 private _status;

    /**
     * @dev Unauthorized reentrant call.
     */
    error ReentrancyGuardReentrantCall();

    constructor() {
        _status = NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        _nonReentrantBefore();
        _;
        _nonReentrantAfter();
    }

    function _nonReentrantBefore() private {
        // On the first call to nonReentrant, _status will be NOT_ENTERED
        if (_status == ENTERED) {
            revert ReentrancyGuardReentrantCall();
        }

        // Any calls to nonReentrant after this point will fail
        _status = ENTERED;
    }

    function _nonReentrantAfter() private {
        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = NOT_ENTERED;
    }

    /**
     * @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a
     * `nonReentrant` function in the call stack.
     */
    function _reentrancyGuardEntered() internal view returns (bool) {
        return _status == ENTERED;
    }
}

File 11 of 25 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/Strings.sol)

pragma solidity ^0.8.20;

import {Math} from "./math/Math.sol";
import {SignedMath} from "./math/SignedMath.sol";

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

    /**
     * @dev The `value` string doesn't fit in the specified `length`.
     */
    error StringsInsufficientHexLength(uint256 value, uint256 length);

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        unchecked {
            uint256 length = Math.log10(value) + 1;
            string memory buffer = new string(length);
            uint256 ptr;
            /// @solidity memory-safe-assembly
            assembly {
                ptr := add(buffer, add(32, length))
            }
            while (true) {
                ptr--;
                /// @solidity memory-safe-assembly
                assembly {
                    mstore8(ptr, byte(mod(value, 10), HEX_DIGITS))
                }
                value /= 10;
                if (value == 0) break;
            }
            return buffer;
        }
    }

    /**
     * @dev Converts a `int256` to its ASCII `string` decimal representation.
     */
    function toStringSigned(int256 value) internal pure returns (string memory) {
        return string.concat(value < 0 ? "-" : "", toString(SignedMath.abs(value)));
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        unchecked {
            return toHexString(value, Math.log256(value) + 1);
        }
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        uint256 localValue = value;
        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_DIGITS[localValue & 0xf];
            localValue >>= 4;
        }
        if (localValue != 0) {
            revert StringsInsufficientHexLength(value, length);
        }
        return string(buffer);
    }

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

    /**
     * @dev Returns true if the two strings are equal.
     */
    function equal(string memory a, string memory b) internal pure returns (bool) {
        return bytes(a).length == bytes(b).length && keccak256(bytes(a)) == keccak256(bytes(b));
    }
}

File 12 of 25 : IAccessControlVF.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.22;

interface IAccessControlVF {
    /**
     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
     *
     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
     * {RoleAdminChanged} not being emitted signaling this.
     *
     * _Available since v3.1._
     */
    event RoleAdminChanged(
        bytes32 indexed role,
        bytes32 indexed previousAdminRole,
        bytes32 indexed newAdminRole
    );

    /**
     * @dev Emitted when `account` is granted `role`.
     *
     * `sender` is the account that originated the contract call, an admin role
     * bearer except when using {AccessControl-_setupRole}.
     */
    event RoleGranted(
        bytes32 indexed role,
        address indexed account,
        address indexed sender
    );

    /**
     * @dev Emitted when `account` is revoked `role`.
     *
     * `sender` is the account that originated the contract call:
     *   - if using `revokeRole`, it is the admin role bearer
     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)
     */
    event RoleRevoked(
        bytes32 indexed role,
        address indexed account,
        address indexed sender
    );

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account)
        external
        view
        returns (bool);

    /**
     * @dev Revert with a standard message if `account` is missing `role`.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     */
    function checkRole(bytes32 role, address account) external view;

    /**
     * @dev Returns bytes of default admin role
     */
    function getAdminRole() external view returns (bytes32);

    /**
     * @dev Returns bytes of token contract role
     */
    function getTokenContractRole() external view returns (bytes32);

    /**
     * @dev Returns bytes of sales contract role
     */
    function getSalesContractRole() external view returns (bytes32);

    /**
     * @dev Returns bytes of burner role
     */
    function getBurnerRole() external view returns (bytes32);

    /**
     * @dev Returns bytes of minter role
     */
    function getMinterRole() external view returns (bytes32);

    /**
     * @dev Returns a bytes array of roles that can be minters
     */
    function getMinterRoles() external view returns (bytes32[] memory);

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) external view returns (bytes32);

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been revoked `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) external;

    /**
     * @dev Selects the next minter from the minters array using the current minter index.
     * The current minter index should be incremented after each selection.  If the
     * current minter index + 1 is equal to the minters array length then the current
     * minter index should be set back to 0
     *
     * Requirements:
     *
     * - the caller must be an admin role
     */
    function selectNextMinter() external returns (address payable);

    /**
     * @dev Grants `minter` minter role and adds `minter` to minters array
     *
     * Requirements:
     *
     * - the caller must be an admin role
     */
    function grantMinterRole(address minter) external;

    /**
     * @dev Revokes minter role from `minter` and removes `minter` from minters array
     *
     * Requirements:
     *
     * - the caller must be an admin role
     */
    function revokeMinterRole(address minter) external;

    /**
     * @dev Distributes ETH evenly to all addresses in minters array
     */
    function fundMinters() external payable;
}

File 13 of 25 : VFToken.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.8.22;

import "../token/ERC721VF.sol";
import "./VFTokenAllExtensions.sol";

contract VFToken is ERC721VF, VFTokenAllExtensions {
    //Token base URI
    string private _baseUri;

    /**
     * @dev Initializes the contract by setting a `initialBaseUri`, `name`, `symbol`,
     * and a `controlContractAddress` to the token collection.
     */
    constructor(
        string memory initialBaseUri,
        string memory name,
        string memory symbol,
        address controlContractAddress,
        address royaltiesContractAddress
    )
        ERC721VF(name, symbol)
        VFTokenAllExtensions(
            controlContractAddress,
            royaltiesContractAddress,
            _msgSender()
        )
    {
        string memory contractAddress = Strings.toHexString(
            uint160(address(this)),
            20
        );
        setBaseURI(
            string(
                abi.encodePacked(initialBaseUri, contractAddress, "/tokens/")
            )
        );
    }

    /**
     * @dev Get the base token URI
     */
    function _baseURI() internal view virtual override returns (string memory) {
        return _baseUri;
    }

    /**
     * @dev Update the base token URI
     *
     * Requirements:
     *
     * - the caller must be an admin role
     */
    function setBaseURI(string memory baseUri) public onlyRole(getAdminRole()) {
        _baseUri = baseUri;
    }

    /**
     * @dev Permanently lock minting
     *
     * Requirements:
     *
     * - the caller must be an admin role
     */
    function lockMintingPermanently() external onlyRole(getAdminRole()) {
        _lockMintingPermanently();
    }

    /**
     * @dev Set the active/inactive state of minting
     *
     * Requirements:
     *
     * - the caller must be an admin role
     */
    function toggleMintActive() external onlyRole(getAdminRole()) {
        _toggleMintActive();
    }

    /**
     * @dev Set the active/inactive state of burning
     *
     * Requirements:
     *
     * - the caller must be an admin role
     */
    function toggleBurnActive() external onlyRole(getAdminRole()) {
        _toggleBurnActive();
    }

    /**
     * @dev Airdrop `addresses` for `quantity` starting at `startTokenId`
     *
     * Requirements:
     *
     * - the caller must be a minter role
     * - minting must not be locked and must be active
     * - `addresses` and `quantities` must have the same length
     */
    function airdrop(
        address[] calldata addresses,
        uint256[] calldata quantities,
        uint256 startTokenId
    ) external onlyRoles(getMinterRoles()) notLocked mintActive {
        _airdrop(addresses, quantities, startTokenId);
    }

    /**
     * @dev mint batch `to` for `quantity` starting at `startTokenId`
     *
     * Requirements:
     *
     * - the caller must be a minter role
     * - minting must not be locked and must be active
     */
    function mintBatch(
        address to,
        uint8 quantity,
        uint256 startTokenId
    ) external onlyRoles(getMinterRoles()) notLocked mintActive {
        _mintBatch(to, quantity, startTokenId);
    }

    /**
     * @dev mint `to` token `tokenId`
     *
     * Requirements:
     *
     * - the caller must be a minter role
     * - minting must not be locked and must be active
     */
    function mint(
        address to,
        uint256 tokenId
    ) external onlyRoles(getMinterRoles()) notLocked mintActive {
        _mint(to, tokenId);
    }

    /**
     * @dev burn `from` token `tokenId`
     *
     * Requirements:
     *
     * - the caller must be a burner role
     * - burning must be active
     */
    function burn(
        address from,
        uint256 tokenId
    ) external onlyRole(getBurnerRole()) burnActive {
        _burn(from, tokenId, false);
    }
}

File 14 of 25 : VFTokenAllExtensions.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.22;

import {AccessControlVFExtension} from "../extensions/accesscontrol/AccessControlVFExtension.sol";
import {RoyaltiesVFExtension} from "../extensions/royalties/RoyaltiesVFExtension.sol";
import {WithdrawVFExtension} from "../extensions/withdraw/WithdrawVFExtension.sol";
import {OwnableVFExtension} from "../extensions/accesscontrol/OwnableVFExtension.sol";

abstract contract VFTokenAllExtensions is
    AccessControlVFExtension,
    RoyaltiesVFExtension,
    WithdrawVFExtension,
    OwnableVFExtension
{
    constructor(
        address controlContractAddress,
        address royaltiesContractAddress,
        address initialOwner
    )
        AccessControlVFExtension(controlContractAddress)
        RoyaltiesVFExtension(royaltiesContractAddress)
        OwnableVFExtension(initialOwner)
    {}

    function setRoyaltiesContract(
        address royaltiesContractAddress
    ) external onlyRole(getAdminRole()) {
        super._setRoyaltiesContract(royaltiesContractAddress);
    }

    function withdrawMoney() external onlyRole(getAdminRole()) {
        super._withdrawMoney();
    }

    function withdrawToken(
        address contractAddress,
        address to,
        uint256 tokenId
    ) external onlyRole(getAdminRole()) {
        super._withdrawToken(contractAddress, to, tokenId);
    }
}

File 15 of 25 : AccessControlVFExtension.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.22;

import {IAccessControlVF} from "../../access/IAccessControlVF.sol";
import {Context} from "@openzeppelin/contracts/utils/Context.sol";
import {IERC165} from "@openzeppelin/contracts/utils/introspection/IERC165.sol";

abstract contract AccessControlVFExtension is Context, IERC165 {
    //Contract for function access control
    IAccessControlVF private _controlContract;

    constructor(address controlContractAddress) {
        _controlContract = IAccessControlVF(controlContractAddress);
    }

    modifier onlyRole(bytes32 role) virtual {
        _controlContract.checkRole(role, _msgSender());
        _;
    }

    modifier onlyRoles(bytes32[] memory roles) virtual {
        bool hasRequiredRole = false;
        for (uint256 i; i < roles.length; i++) {
            bytes32 role = roles[i];
            if (_controlContract.hasRole(role, _msgSender())) {
                hasRequiredRole = true;
                break;
            }
        }
        require(hasRequiredRole, "Missing required role");
        _;
    }

    function getAdminRole() public view returns (bytes32) {
        return _controlContract.getAdminRole();
    }

    function getMinterRoles() public view returns (bytes32[] memory) {
        return _controlContract.getMinterRoles();
    }

    function getBurnerRole() public view returns (bytes32) {
        return _controlContract.getBurnerRole();
    }

    /**
     * @dev Update the access control contract
     *
     * Requirements:
     *
     * - the caller must be an admin role
     * - `controlContractAddress` must support the IVFAccesControl interface
     */
    function setControlContract(address controlContractAddress)
        external
        onlyRole(_controlContract.getAdminRole())
    {
        require(
            IERC165(controlContractAddress).supportsInterface(
                type(IAccessControlVF).interfaceId
            ),
            "Contract does not support required interface"
        );
        _controlContract = IAccessControlVF(controlContractAddress);
    }
}

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

pragma solidity 0.8.22;

import "@openzeppelin/contracts/utils/Context.sol";

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

    /**
     * @dev The caller account is not authorized to perform an operation.
     */
    error OwnableUnauthorizedAccount(address account);

    /**
     * @dev The owner is not a valid owner account. (eg. `address(0)`)
     */
    error OwnableInvalidOwner(address owner);

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

    /**
     * @dev Initializes the contract setting the address provided by the deployer as the initial owner.
     */
    constructor(address initialOwner) {
        if (initialOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(initialOwner);
    }

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

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        if (owner() != _msgSender()) {
            revert OwnableUnauthorizedAccount(_msgSender());
        }
    }

    /**
     * @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 {
        if (newOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _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 17 of 25 : RoyaltiesVFExtension.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.22;

import {IRoyaltiesVF} from "../../royalties/IRoyaltiesVF.sol";
import {Context} from "@openzeppelin/contracts/utils/Context.sol";
import {IERC165} from "@openzeppelin/contracts/utils/introspection/IERC165.sol";
import {IERC2981} from "@openzeppelin/contracts/interfaces/IERC2981.sol";

abstract contract RoyaltiesVFExtension is Context, IERC165, IERC2981 {
    //Contract for function access control
    IRoyaltiesVF private _royaltiesContract;

    constructor(address royaltiesContractAddress) {
        _royaltiesContract = IRoyaltiesVF(royaltiesContractAddress);
    }

    /**
     * @dev Get royalty information for a token based on the `salePrice`
     */
    function royaltyInfo(uint256 tokenId, uint256 salePrice)
        external
        view
        returns (address receiver, uint256 royaltyAmount)
    {
        return
            _royaltiesContract.royaltyInfo(tokenId, address(this), salePrice);
    }

    /**
     * @dev Update the royalties contract
     *
     * Requirements:
     *
     * - the caller must be an admin role
     * - `royaltiesContractAddress` must support the IRoyaltiesVF interface
     */
    function _setRoyaltiesContract(address royaltiesContractAddress) internal {
        require(
            IERC165(royaltiesContractAddress).supportsInterface(
                type(IRoyaltiesVF).interfaceId
            ),
            "Contract does not support required interface"
        );
        _royaltiesContract = IRoyaltiesVF(royaltiesContractAddress);
    }
}

File 18 of 25 : WithdrawVFExtension.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.22;

import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/utils/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/Context.sol";

abstract contract WithdrawVFExtension is Context, ReentrancyGuard {
    constructor() {}

    /**
     * @dev Withdraw balance on contact to msg sender
     *
     * Requirements:
     *
     * - the caller must be an admin role
     */
    function _withdrawMoney() internal nonReentrant {
        address payable to = payable(_msgSender());
        Address.sendValue(to, address(this).balance);
    }

    /**
     * @dev Withdraw token if we need to refund
     *
     * Requirements:
     *
     * - `contractAddress` must support the IVFToken interface
     * - the caller must be an admin role
     */
    function _withdrawToken(
        address contractAddress,
        address to,
        uint256 tokenId
    ) internal nonReentrant {
        IERC721(contractAddress).transferFrom(address(this), to, tokenId);
    }
}

File 19 of 25 : IRoyaltiesVF.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.22;

interface IRoyaltiesVF {
    /**
     * @dev Update the access control contract
     *
     * Requirements:
     *
     * - the caller must be an admin role
     * - `controlContractAddress` must support the IVFAccesControl interface
     */
    function setControlContract(address controlContractAddress) external;

    /**
     * @dev Get royalty information for a contract based on the `salePrice` of a token
     */
    function royaltyInfo(
        uint256,
        address contractAddress,
        uint256 salePrice
    ) external view returns (address receiver, uint256 royaltyAmount);

    /**
     * @dev Sets the royalty information that all ids in this contract will default to.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function setDefaultRoyalty(address receiver, uint96 feeNumerator) external;

    /**
     * @dev Removes default royalty information.
     */
    function deleteDefaultRoyalty() external;

    /**
     * @dev Sets the royalty information for `contractAddress`.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function setContractRoyalties(
        address contractAddress,
        address receiver,
        uint96 feeNumerator
    ) external;

    /**
     * @dev Removes royalty information for `contractAddress`.
     */
    function resetContractRoyalty(address contractAddress) external;
}

File 20 of 25 : ERC721VF.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.8.22;

import "./IERC721VF.sol";
import "operator-filter-registry/src/DefaultOperatorFilterer.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/introspection/ERC165.sol";

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension.
 */
contract ERC721VF is
    Context,
    ERC165,
    IERC721VF,
    DefaultOperatorFilterer
{
    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;

    // The number of tokens minted
    uint256 private _mintCounter;

    // The number of tokens burned
    uint256 private _burnCounter;

    //Flag to permanently lock minting
    bool public mintingPermanentlyLocked = false;
    //Flag to activate or disable minting
    bool public isMintActive = false;
    //Flag to activate or disable burning
    bool public isBurnActive = false;

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

    modifier notLocked() virtual {
        if (mintingPermanentlyLocked) {
            revert ERC721VFMintingPermanentlyLocked();
        }
        _;
    }

    modifier mintActive() virtual {
        if (!isMintActive) {
            revert ERC721VFMintIsNotActive();
        }
        _;
    }

    modifier burnActive() virtual {
        if (!isBurnActive) {
            revert ERC721VFBurnIsNotActive();
        }
        _;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(
        bytes4 interfaceId
    ) public view virtual override(ERC165, IERC165) returns (bool) {
        return
            interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721
            interfaceId == 0x5b5e139f || // ERC165 interface ID for ERC721Metadata
            interfaceId == type(IERC721VF).interfaceId || // ERC165 interface ID for ERC721VF.
            super.supportsInterface(interfaceId); // ERC165 interface ID for ERC165
    }

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(
        address owner
    ) public view virtual override returns (uint256) {
        if (owner == address(0)) {
            revert ERC721VFAddressZeroIsNotAValidOwner();
        }

        return _balances[owner];
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(
        uint256 tokenId
    ) public view virtual override returns (address) {
        address owner = _ownerOf(tokenId);
        if (owner == address(0)) {
            revert ERC721VFInvalidTokenID(tokenId);
        }
        return owner;
    }

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

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

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

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

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

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(
        address to,
        uint256 tokenId
    ) public virtual override onlyAllowedOperatorApproval(to) {
        address owner = ERC721VF.ownerOf(tokenId);
        if (to == owner) {
            revert ERC721VFApprovalToCurrentOwner(to, tokenId);
        }

        if (_msgSender() != owner && !isApprovedForAll(owner, _msgSender())) {
            revert ERC721VFApproveCallerIsNotTokenOwnerOrApprovedForAll(
                to,
                tokenId
            );
        }

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(
        address operator,
        bool approved
    ) public virtual override onlyAllowedOperatorApproval(operator) {
        _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 onlyAllowedOperator(from) {
        _transferFrom(from, to, tokenId, true);
    }

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

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory data
    ) public virtual override onlyAllowedOperator(from) {
        _safeTransferFrom(from, to, tokenId, true, data);
    }

    /**
     * @dev See {IERC721VF-totalSupply}.
     */
    function totalSupply() public view returns (uint256) {
        unchecked {
            return _mintCounter - _burnCounter;
        }
    }

    /**
     * @dev See {IERC721VF-totalMinted}.
     */
    function totalMinted() public view returns (uint256) {
        unchecked {
            return _mintCounter;
        }
    }

    /**
     * @dev See {IERC721VF-totalBurned}.
     */
    function totalBurned() public view returns (uint256) {
        unchecked {
            return _burnCounter;
        }
    }

    /**
     * @dev See {IERC721VF-tokensOfOwner}.
     */
    function tokensOfOwner(
        address owner
    ) public view returns (uint256[] memory ownerTokens) {
        address currentOwnerAddress;
        uint256 tokenCount = balanceOf(owner);

        if (tokenCount == 0) {
            return new uint256[](0);
        } else {
            uint256[] memory result = new uint256[](tokenCount);
            uint256 resultIndex = 0;

            uint256 index;
            for (index = 0; resultIndex != tokenCount; index++) {
                currentOwnerAddress = _owners[index];
                if (currentOwnerAddress == owner) {
                    result[resultIndex++] = index;
                }
            }

            return result;
        }
    }

    /**
     * @dev See {IERC721VF-tokensOfOwnerIn}.
     */
    function tokensOfOwnerIn(
        address owner,
        uint256 startIndex,
        uint256 endIndex
    ) public view returns (uint256[] memory ownerTokens) {
        address currentOwnerAddress;
        uint256 tokenCount = balanceOf(owner);

        if (tokenCount == 0) {
            return new uint256[](0);
        } else {
            uint256[] memory result = new uint256[](tokenCount);
            uint256 resultIndex = 0;

            uint256 index = startIndex;
            for (index; index <= endIndex; index++) {
                currentOwnerAddress = _owners[index];
                if (currentOwnerAddress == owner) {
                    result[resultIndex++] = index;
                }
            }

            // Downsize the array to fit.
            assembly {
                mstore(result, resultIndex)
            }

            return result;
        }
    }

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function _transferFrom(
        address from,
        address to,
        uint256 tokenId,
        bool approvalCheck
    ) internal virtual {
        //solhint-disable-next-line max-line-length

        if (approvalCheck) {
            if (!_isApprovedOrOwner(_msgSender(), tokenId)) {
                revert ERC721VFCallerIsNotTokenOwnerOrApproved(
                    from,
                    to,
                    tokenId
                );
            }
        }

        _transfer(from, to, tokenId);
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function _safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bool approvalCheck
    ) internal virtual {
        _safeTransferFrom(from, to, tokenId, approvalCheck, "");
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function _safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bool approvalCheck,
        bytes memory data
    ) internal virtual {
        if (approvalCheck) {
            if (!_isApprovedOrOwner(_msgSender(), tokenId)) {
                revert ERC721VFCallerIsNotTokenOwnerOrApproved(
                    from,
                    to,
                    tokenId
                );
            }
        }
        _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);
        _checkOnERC721Received(from, to, tokenId, data);
    }

    /**
     * @dev Returns the owner of the `tokenId`. Does NOT revert if token doesn't exist
     */
    function _ownerOf(uint256 tokenId) internal view virtual returns (address) {
        return _owners[tokenId];
    }

    /**
     * @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 _ownerOf(tokenId) != address(0);
    }

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

    /**
     * @dev Permanently lock minting
     *
     * Requirements:
     *
     * - the caller must be an admin role
     */
    function _lockMintingPermanently() internal {
        mintingPermanentlyLocked = true;
    }

    /**
     * @dev Set the active/inactive state of minting
     *
     * Requirements:
     *
     * - the caller must be an admin role
     */
    function _toggleMintActive() internal {
        isMintActive = !isMintActive;
    }

    /**
     * @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);
        _checkOnERC721Received(address(0), to, tokenId, data);
    }

    /**
     * @dev Safely batch mints tokens starting at `startTokenId` until `quantity` is met and transfers them 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.
     * - Transfer to only ERC721Reciever implementers
     *
     * Emits a {Transfer} event.
     */
    function _safeMintBatch(
        address to,
        uint256 quantity,
        uint256 startTokenId
    ) internal returns (uint256 endToken) {
        uint256 tokenId = startTokenId;
        for (uint256 i; i < quantity; i++) {
            if (to == address(0)) {
                revert ERC721VFMintToTheZeroAddress();
            }

            if (_exists(tokenId)) {
                revert ERC721VFTokenAlreadyMinted(tokenId);
            }

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

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

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

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

            _checkOnERC721Received(address(0), to, tokenId, "");

            tokenId++;
        }

        unchecked {
            _mintCounter += quantity;
        }

        return tokenId;
    }

    /**
     * @dev Airdrop `addresses` for `quantity` starting at `startTokenId`
     *
     * Requirements:
     *
     * - the caller must be a minter role
     * - minting must not be locked and must be active
     * - `addresses` and `quantities` must have the same length
     */
    function _airdrop(
        address[] calldata addresses,
        uint256[] calldata quantities,
        uint256 startTokenId
    ) internal virtual {
        if (addresses.length != quantities.length) {
            revert ERC721VFAddressAndQuantitiesNeedToBeEqualLength();
        }

        for (uint256 i; i < addresses.length; i++) {
            startTokenId = _mintBatch(
                addresses[i],
                quantities[i],
                startTokenId
            );
        }
    }

    /**
     * @dev Batch mints tokens starting at `startTokenId` until `quantity` is met and transfers them 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 _mintBatch(
        address to,
        uint256 quantity,
        uint256 startTokenId
    ) internal virtual returns (uint256 endToken) {
        uint256 tokenId = startTokenId;
        for (uint256 i; i < quantity; i++) {
            if (to == address(0)) {
                revert ERC721VFMintToTheZeroAddress();
            }

            if (_exists(tokenId)) {
                revert ERC721VFTokenAlreadyMinted(tokenId);
            }

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

            _owners[tokenId] = to;

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

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

            tokenId++;
        }

        unchecked {
            _balances[to] += quantity;
            _mintCounter += quantity;
        }

        return tokenId;
    }

    /**
     * @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 {
        if (to == address(0)) {
            revert ERC721VFMintToTheZeroAddress();
        }

        if (_exists(tokenId)) {
            revert ERC721VFTokenAlreadyMinted(tokenId);
        }

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

        unchecked {
            // Will not overflow unless all 2**256 token ids are minted to the same owner.
            // Given that tokens are minted one by one, it is impossible in practice that
            // this ever happens. Might change if we allow batch minting.
            // The ERC fails to describe this case.
            _balances[to] += 1;
        }

        _owners[tokenId] = to;

        unchecked {
            _mintCounter++;
        }

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

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

    /**
     * @dev Set the active/inactive state of burning
     *
     * Requirements:
     *
     * - the caller must be an admin role
     */
    function _toggleBurnActive() internal {
        isBurnActive = !isBurnActive;
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     * This is an internal function that does not check if the sender is authorized to operate on the token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(
        address from,
        uint256 tokenId,
        bool approvalCheck
    ) internal virtual {
        if (approvalCheck) {
            if (!_isApprovedOrOwner(from, tokenId)) {
                revert ERC721VFBurnCallerIsNotTokenOwnerOrApproved(
                    from,
                    tokenId
                );
            }
        }
        _burn(tokenId);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     * This is an internal function that does not check if the sender is authorized to operate on the token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual {
        address owner = ERC721VF.ownerOf(tokenId);

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

        // Clear approvals
        delete _tokenApprovals[tokenId];

        unchecked {
            // Cannot overflow, as that would require more tokens to be burned/transferred
            // out than the owner initially received through minting and transferring in.
            _balances[owner] -= 1;
        }
        delete _owners[tokenId];

        unchecked {
            _burnCounter++;
        }

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

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

    /**
     * @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 {
        if (to == address(0)) {
            revert ERC721VFTransferToTheZeroAddress();
        }

        if (ERC721VF.ownerOf(tokenId) != from) {
            revert ERC721VFTransferFromIncorrectOwner(from, tokenId);
        }

        _beforeTokenTransfer(from, to, tokenId, 1);

        // Clear approvals from the previous owner
        delete _tokenApprovals[tokenId];

        unchecked {
            // `_balances[from]` cannot overflow for the same reason as described in `_burn`:
            // `from`'s balance is the number of token held, which is at least one before the current
            // transfer.
            // `_balances[to]` could overflow in the conditions described in `_mint`. That would require
            // all 2**256 token ids to be minted, which in practice is impossible.
            _balances[from] -= 1;
            _balances[to] += 1;
        }
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId, 1);
    }

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

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits an {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        if (owner == operator) {
            revert ERC721VFApproveToCaller();
        }
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @dev Reverts if the `tokenId` has not been minted yet.
     */
    function _requireMinted(uint256 tokenId) internal view virtual {
        if (!_exists(tokenId)) {
            revert ERC721VFInvalidTokenID(tokenId);
        }
    }

    function _checkOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory data
    ) private {
        if (to.code.length > 0) {
            try
                IERC721Receiver(to).onERC721Received(
                    _msgSender(),
                    from,
                    tokenId,
                    data
                )
            returns (bytes4 retval) {
                if (retval != IERC721Receiver.onERC721Received.selector) {
                    revert ERC721VFTransferToNonERC721VFReceiverImplementer(
                        to,
                        tokenId
                    );
                }
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert ERC721VFTransferToNonERC721VFReceiverImplementer(
                        to,
                        tokenId
                    );
                } else {
                    /// @solidity memory-safe-assembly
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        }
    }

    /**
     * @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.
     * - `batchSize` is non-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,
        uint256 batchSize
    ) internal virtual {}

    /**
     * @dev Hook that is called after any token transfer. This includes minting and burning. If {ERC721Consecutive} is
     * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s tokens were transferred to `to`.
     * - When `from` is zero, the tokens were minted for `to`.
     * - When `to` is zero, ``from``'s tokens were burned.
     * - `from` and `to` are never both zero.
     * - `batchSize` is non-zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 firstTokenId,
        uint256 batchSize
    ) internal virtual {}
}

File 21 of 25 : IERC721VF.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.8.22;

import "@openzeppelin/contracts/utils/introspection/IERC165.sol";

/**
 * @dev Required interface of an ERC721VF compliant contract.
 */
interface IERC721VF is IERC165 {
    error ERC721VFAddressZeroIsNotAValidOwner();
    error ERC721VFInvalidTokenID(uint256 tokenId);
    error ERC721VFApprovalToCurrentOwner(address to, uint256 tokenId);
    error ERC721VFApproveCallerIsNotTokenOwnerOrApprovedForAll(
        address to,
        uint256 tokenId
    );
    error ERC721VFCallerIsNotTokenOwnerOrApproved(
        address from,
        address to,
        uint256 tokenId
    );
    error ERC721VFTransferToNonERC721VFReceiverImplementer(
        address to,
        uint256 tokenId
    );
    error ERC721VFAddressAndQuantitiesNeedToBeEqualLength();
    error ERC721VFMintToTheZeroAddress();
    error ERC721VFTokenAlreadyMinted(uint256 tokenId);
    error ERC721VFTransferToTheZeroAddress();
    error ERC721VFTransferFromIncorrectOwner(address from, uint256 tokenId);
    error ERC721VFApproveToCaller();
    error ERC721VFBurnCallerIsNotTokenOwnerOrApproved(
        address from,
        uint256 tokenId
    );
    error ERC721VFMintingPermanentlyLocked();
    error ERC721VFMintIsNotActive();
    error ERC721VFBurnIsNotActive();

    /**
     * @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 token collection name.
     */
    function name() external view returns (string memory);

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

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

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

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

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

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

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721
     * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must
     * understand this adds an external call which potentially creates a reentrancy vulnerability.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

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

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

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

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

File 22 of 25 : DefaultOperatorFilterer.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

import {OperatorFilterer} from "./OperatorFilterer.sol";
import {CANONICAL_CORI_SUBSCRIPTION} from "./lib/Constants.sol";
/**
 * @title  DefaultOperatorFilterer
 * @notice Inherits from OperatorFilterer and automatically subscribes to the default OpenSea subscription.
 * @dev    Please note that if your token contract does not provide an owner with EIP-173, it must provide
 *         administration methods on the contract itself to interact with the registry otherwise the subscription
 *         will be locked to the options set during construction.
 */

abstract contract DefaultOperatorFilterer is OperatorFilterer {
    /// @dev The constructor that is called when the contract is being deployed.
    constructor() OperatorFilterer(CANONICAL_CORI_SUBSCRIPTION, true) {}
}

File 23 of 25 : IOperatorFilterRegistry.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

interface IOperatorFilterRegistry {
    /**
     * @notice Returns true if operator is not filtered for a given token, either by address or codeHash. Also returns
     *         true if supplied registrant address is not registered.
     */
    function isOperatorAllowed(address registrant, address operator) external view returns (bool);

    /**
     * @notice Registers an address with the registry. May be called by address itself or by EIP-173 owner.
     */
    function register(address registrant) external;

    /**
     * @notice Registers an address with the registry and "subscribes" to another address's filtered operators and codeHashes.
     */
    function registerAndSubscribe(address registrant, address subscription) external;

    /**
     * @notice Registers an address with the registry and copies the filtered operators and codeHashes from another
     *         address without subscribing.
     */
    function registerAndCopyEntries(address registrant, address registrantToCopy) external;

    /**
     * @notice Unregisters an address with the registry and removes its subscription. May be called by address itself or by EIP-173 owner.
     *         Note that this does not remove any filtered addresses or codeHashes.
     *         Also note that any subscriptions to this registrant will still be active and follow the existing filtered addresses and codehashes.
     */
    function unregister(address addr) external;

    /**
     * @notice Update an operator address for a registered address - when filtered is true, the operator is filtered.
     */
    function updateOperator(address registrant, address operator, bool filtered) external;

    /**
     * @notice Update multiple operators for a registered address - when filtered is true, the operators will be filtered. Reverts on duplicates.
     */
    function updateOperators(address registrant, address[] calldata operators, bool filtered) external;

    /**
     * @notice Update a codeHash for a registered address - when filtered is true, the codeHash is filtered.
     */
    function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external;

    /**
     * @notice Update multiple codeHashes for a registered address - when filtered is true, the codeHashes will be filtered. Reverts on duplicates.
     */
    function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external;

    /**
     * @notice Subscribe an address to another registrant's filtered operators and codeHashes. Will remove previous
     *         subscription if present.
     *         Note that accounts with subscriptions may go on to subscribe to other accounts - in this case,
     *         subscriptions will not be forwarded. Instead the former subscription's existing entries will still be
     *         used.
     */
    function subscribe(address registrant, address registrantToSubscribe) external;

    /**
     * @notice Unsubscribe an address from its current subscribed registrant, and optionally copy its filtered operators and codeHashes.
     */
    function unsubscribe(address registrant, bool copyExistingEntries) external;

    /**
     * @notice Get the subscription address of a given registrant, if any.
     */
    function subscriptionOf(address addr) external returns (address registrant);

    /**
     * @notice Get the set of addresses subscribed to a given registrant.
     *         Note that order is not guaranteed as updates are made.
     */
    function subscribers(address registrant) external returns (address[] memory);

    /**
     * @notice Get the subscriber at a given index in the set of addresses subscribed to a given registrant.
     *         Note that order is not guaranteed as updates are made.
     */
    function subscriberAt(address registrant, uint256 index) external returns (address);

    /**
     * @notice Copy filtered operators and codeHashes from a different registrantToCopy to addr.
     */
    function copyEntriesOf(address registrant, address registrantToCopy) external;

    /**
     * @notice Returns true if operator is filtered by a given address or its subscription.
     */
    function isOperatorFiltered(address registrant, address operator) external returns (bool);

    /**
     * @notice Returns true if the hash of an address's code is filtered by a given address or its subscription.
     */
    function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool);

    /**
     * @notice Returns true if a codeHash is filtered by a given address or its subscription.
     */
    function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool);

    /**
     * @notice Returns a list of filtered operators for a given address or its subscription.
     */
    function filteredOperators(address addr) external returns (address[] memory);

    /**
     * @notice Returns the set of filtered codeHashes for a given address or its subscription.
     *         Note that order is not guaranteed as updates are made.
     */
    function filteredCodeHashes(address addr) external returns (bytes32[] memory);

    /**
     * @notice Returns the filtered operator at the given index of the set of filtered operators for a given address or
     *         its subscription.
     *         Note that order is not guaranteed as updates are made.
     */
    function filteredOperatorAt(address registrant, uint256 index) external returns (address);

    /**
     * @notice Returns the filtered codeHash at the given index of the list of filtered codeHashes for a given address or
     *         its subscription.
     *         Note that order is not guaranteed as updates are made.
     */
    function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32);

    /**
     * @notice Returns true if an address has registered
     */
    function isRegistered(address addr) external returns (bool);

    /**
     * @dev Convenience method to compute the code hash of an arbitrary contract
     */
    function codeHashOf(address addr) external returns (bytes32);
}

File 24 of 25 : Constants.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

address constant CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS = 0x000000000000AAeB6D7670E522A718067333cd4E;
address constant CANONICAL_CORI_SUBSCRIPTION = 0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6;

File 25 of 25 : OperatorFilterer.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

import {IOperatorFilterRegistry} from "./IOperatorFilterRegistry.sol";
import {CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS} from "./lib/Constants.sol";
/**
 * @title  OperatorFilterer
 * @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another
 *         registrant's entries in the OperatorFilterRegistry.
 * @dev    This smart contract is meant to be inherited by token contracts so they can use the following:
 *         - `onlyAllowedOperator` modifier for `transferFrom` and `safeTransferFrom` methods.
 *         - `onlyAllowedOperatorApproval` modifier for `approve` and `setApprovalForAll` methods.
 *         Please note that if your token contract does not provide an owner with EIP-173, it must provide
 *         administration methods on the contract itself to interact with the registry otherwise the subscription
 *         will be locked to the options set during construction.
 */

abstract contract OperatorFilterer {
    /// @dev Emitted when an operator is not allowed.
    error OperatorNotAllowed(address operator);

    IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY =
        IOperatorFilterRegistry(CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS);

    /// @dev The constructor that is called when the contract is being deployed.
    constructor(address subscriptionOrRegistrantToCopy, bool subscribe) {
        // If an inheriting token contract is deployed to a network without the registry deployed, the modifier
        // will not revert, but the contract will need to be registered with the registry once it is deployed in
        // order for the modifier to filter addresses.
        if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) {
            if (subscribe) {
                OPERATOR_FILTER_REGISTRY.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy);
            } else {
                if (subscriptionOrRegistrantToCopy != address(0)) {
                    OPERATOR_FILTER_REGISTRY.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy);
                } else {
                    OPERATOR_FILTER_REGISTRY.register(address(this));
                }
            }
        }
    }

    /**
     * @dev A helper function to check if an operator is allowed.
     */
    modifier onlyAllowedOperator(address from) virtual {
        // Allow spending tokens from addresses with balance
        // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred
        // from an EOA.
        if (from != msg.sender) {
            _checkFilterOperator(msg.sender);
        }
        _;
    }

    /**
     * @dev A helper function to check if an operator approval is allowed.
     */
    modifier onlyAllowedOperatorApproval(address operator) virtual {
        _checkFilterOperator(operator);
        _;
    }

    /**
     * @dev A helper function to check if an operator is allowed.
     */
    function _checkFilterOperator(address operator) internal view virtual {
        // Check registry code length to facilitate testing in environments without a deployed registry.
        if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) {
            // under normal circumstances, this function will revert rather than return false, but inheriting contracts
            // may specify their own OperatorFilterRegistry implementations, which may behave differently
            if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), operator)) {
                revert OperatorNotAllowed(operator);
            }
        }
    }
}

Settings
{
  "evmVersion": "paris",
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"initialBaseUri","type":"string"},{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"address","name":"controlContractAddress","type":"address"},{"internalType":"address","name":"royaltiesContractAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"AddressInsufficientBalance","type":"error"},{"inputs":[],"name":"ERC721VFAddressAndQuantitiesNeedToBeEqualLength","type":"error"},{"inputs":[],"name":"ERC721VFAddressZeroIsNotAValidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ERC721VFApprovalToCurrentOwner","type":"error"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ERC721VFApproveCallerIsNotTokenOwnerOrApprovedForAll","type":"error"},{"inputs":[],"name":"ERC721VFApproveToCaller","type":"error"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ERC721VFBurnCallerIsNotTokenOwnerOrApproved","type":"error"},{"inputs":[],"name":"ERC721VFBurnIsNotActive","type":"error"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ERC721VFCallerIsNotTokenOwnerOrApproved","type":"error"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ERC721VFInvalidTokenID","type":"error"},{"inputs":[],"name":"ERC721VFMintIsNotActive","type":"error"},{"inputs":[],"name":"ERC721VFMintToTheZeroAddress","type":"error"},{"inputs":[],"name":"ERC721VFMintingPermanentlyLocked","type":"error"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ERC721VFTokenAlreadyMinted","type":"error"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ERC721VFTransferFromIncorrectOwner","type":"error"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ERC721VFTransferToNonERC721VFReceiverImplementer","type":"error"},{"inputs":[],"name":"ERC721VFTransferToTheZeroAddress","type":"error"},{"inputs":[],"name":"FailedInnerCall","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"inputs":[],"name":"ReentrancyGuardReentrantCall","type":"error"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"length","type":"uint256"}],"name":"StringsInsufficientHexLength","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"},{"internalType":"uint256[]","name":"quantities","type":"uint256[]"},{"internalType":"uint256","name":"startTokenId","type":"uint256"}],"name":"airdrop","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":[{"internalType":"address","name":"from","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getAdminRole","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getBurnerRole","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMinterRoles","outputs":[{"internalType":"bytes32[]","name":"","type":"bytes32[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isBurnActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isMintActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lockMintingPermanently","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint8","name":"quantity","type":"uint8"},{"internalType":"uint256","name":"startTokenId","type":"uint256"}],"name":"mintBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintingPermanentlyLocked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseUri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"controlContractAddress","type":"address"}],"name":"setControlContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"royaltiesContractAddress","type":"address"}],"name":"setRoyaltiesContract","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":[],"name":"toggleBurnActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleMintActive","outputs":[],"stateMutability":"nonpayable","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":"ownerTokens","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"startIndex","type":"uint256"},{"internalType":"uint256","name":"endIndex","type":"uint256"}],"name":"tokensOfOwnerIn","outputs":[{"internalType":"uint256[]","name":"ownerTokens","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalBurned","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalMinted","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":"withdrawMoney","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"contractAddress","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"withdrawToken","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526000600860006101000a81548160ff0219169083151502179055506000600860016101000a81548160ff0219169083151502179055506000600860026101000a81548160ff0219169083151502179055503480156200006257600080fd5b506040516200615438038062006154833981810160405281019062000088919062000ae2565b81816200009a6200045660201b60201c565b8082848989733cc6cdda760b79bafa08df41ecfa224f810dceb6600160006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115620002ab57801562000171576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16637d3e3dbe30846040518363ffffffff1660e01b81526004016200013792919062000bd8565b600060405180830381600087803b1580156200015257600080fd5b505af115801562000167573d6000803e3d6000fd5b50505050620002aa565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146200022b576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663a0af290330846040518363ffffffff1660e01b8152600401620001f192919062000bd8565b600060405180830381600087803b1580156200020c57600080fd5b505af115801562000221573d6000803e3d6000fd5b50505050620002a9565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16634420e486306040518263ffffffff1660e01b815260040162000274919062000c05565b600060405180830381600087803b1580156200028f57600080fd5b505af1158015620002a4573d6000803e3d6000fd5b505050505b5b5b50508160009081620002be919062000e6d565b508060019081620002d0919062000e6d565b50505080600860036101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505080600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550506001600a81905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603620003d45760006040517f1e4fbdf7000000000000000000000000000000000000000000000000000000008152600401620003cb919062000c05565b60405180910390fd5b620003e5816200045e60201b60201c565b505050506000620004143073ffffffffffffffffffffffffffffffffffffffff1660146200052460201b60201c565b90506200044a86826040516020016200042f92919062000fe6565b6040516020818303038152906040526200078960201b60201c565b50505050505062001216565b600033905090565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60606000839050600060028460026200053e91906200104a565b6200054a919062001095565b67ffffffffffffffff81111562000566576200056562000919565b5b6040519080825280601f01601f191660200182016040528015620005995781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110620005d457620005d3620010d0565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f7800000000000000000000000000000000000000000000000000000000000000816001815181106200063b576200063a620010d0565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600060018560026200067d91906200104a565b62000689919062001095565b90505b600181111562000733577f3031323334353637383961626364656600000000000000000000000000000000600f841660108110620006cf57620006ce620010d0565b5b1a60f81b828281518110620006e957620006e8620010d0565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600483901c9250806200072b90620010ff565b90506200068c565b50600082146200077e5784846040517fe22e27eb000000000000000000000000000000000000000000000000000000008152600401620007759291906200113e565b60405180910390fd5b809250505092915050565b620007996200084f60201b60201c565b600860039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166312d9a6ad82620007e86200045660201b60201c565b6040518363ffffffff1660e01b81526004016200080792919062001186565b60006040518083038186803b1580156200082057600080fd5b505afa15801562000835573d6000803e3d6000fd5b5050505081600c90816200084a919062000e6d565b505050565b6000600860039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b3ecf2366040518163ffffffff1660e01b8152600401602060405180830381865afa158015620008bf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620008e59190620011e4565b905090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620009538262000908565b810181811067ffffffffffffffff8211171562000975576200097462000919565b5b80604052505050565b60006200098a620008ea565b905062000998828262000948565b919050565b600067ffffffffffffffff821115620009bb57620009ba62000919565b5b620009c68262000908565b9050602081019050919050565b60005b83811015620009f3578082015181840152602081019050620009d6565b60008484015250505050565b600062000a1662000a10846200099d565b6200097e565b90508281526020810184848401111562000a355762000a3462000903565b5b62000a42848285620009d3565b509392505050565b600082601f83011262000a625762000a61620008fe565b5b815162000a74848260208601620009ff565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600062000aaa8262000a7d565b9050919050565b62000abc8162000a9d565b811462000ac857600080fd5b50565b60008151905062000adc8162000ab1565b92915050565b600080600080600060a0868803121562000b015762000b00620008f4565b5b600086015167ffffffffffffffff81111562000b225762000b21620008f9565b5b62000b308882890162000a4a565b955050602086015167ffffffffffffffff81111562000b545762000b53620008f9565b5b62000b628882890162000a4a565b945050604086015167ffffffffffffffff81111562000b865762000b85620008f9565b5b62000b948882890162000a4a565b935050606062000ba78882890162000acb565b925050608062000bba8882890162000acb565b9150509295509295909350565b62000bd28162000a9d565b82525050565b600060408201905062000bef600083018562000bc7565b62000bfe602083018462000bc7565b9392505050565b600060208201905062000c1c600083018462000bc7565b92915050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168062000c7557607f821691505b60208210810362000c8b5762000c8a62000c2d565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830262000cf57fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000cb6565b62000d01868362000cb6565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b600062000d4e62000d4862000d428462000d19565b62000d23565b62000d19565b9050919050565b6000819050919050565b62000d6a8362000d2d565b62000d8262000d798262000d55565b84845462000cc3565b825550505050565b600090565b62000d9962000d8a565b62000da681848462000d5f565b505050565b5b8181101562000dce5762000dc260008262000d8f565b60018101905062000dac565b5050565b601f82111562000e1d5762000de78162000c91565b62000df28462000ca6565b8101602085101562000e02578190505b62000e1a62000e118562000ca6565b83018262000dab565b50505b505050565b600082821c905092915050565b600062000e426000198460080262000e22565b1980831691505092915050565b600062000e5d838362000e2f565b9150826002028217905092915050565b62000e788262000c22565b67ffffffffffffffff81111562000e945762000e9362000919565b5b62000ea0825462000c5c565b62000ead82828562000dd2565b600060209050601f83116001811462000ee5576000841562000ed0578287015190505b62000edc858262000e4f565b86555062000f4c565b601f19841662000ef58662000c91565b60005b8281101562000f1f5784890151825560018201915060208501945060208101905062000ef8565b8683101562000f3f578489015162000f3b601f89168262000e2f565b8355505b6001600288020188555050505b505050505050565b600081905092915050565b600062000f6c8262000c22565b62000f78818562000f54565b935062000f8a818560208601620009d3565b80840191505092915050565b7f2f746f6b656e732f000000000000000000000000000000000000000000000000600082015250565b600062000fce60088362000f54565b915062000fdb8262000f96565b600882019050919050565b600062000ff4828562000f5f565b915062001002828462000f5f565b91506200100f8262000fbf565b91508190509392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000620010578262000d19565b9150620010648362000d19565b9250828202620010748162000d19565b915082820484148315176200108e576200108d6200101b565b5b5092915050565b6000620010a28262000d19565b9150620010af8362000d19565b9250828201905080821115620010ca57620010c96200101b565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006200110c8262000d19565b9150600082036200112257620011216200101b565b5b600182039050919050565b620011388162000d19565b82525050565b60006040820190506200115560008301856200112d565b6200116460208301846200112d565b9392505050565b6000819050919050565b62001180816200116b565b82525050565b60006040820190506200119d600083018562001175565b620011ac602083018462000bc7565b9392505050565b620011be816200116b565b8114620011ca57600080fd5b50565b600081519050620011de81620011b3565b92915050565b600060208284031215620011fd57620011fc620008f4565b5b60006200120d84828501620011cd565b91505092915050565b614f2e80620012266000396000f3fe608060405234801561001057600080fd5b50600436106102535760003560e01c80638da5cb5b11610146578063b88d4fde116100c3578063d02c2bf211610087578063d02c2bf214610699578063d89135cd146106a3578063dd5adf0c146106c1578063e985e9c5146106df578063f2fde38b1461070f578063f5e92b951461072b57610253565b8063b88d4fde14610609578063bb7648b614610625578063c5b66dc91461062f578063c87b56dd1461064d578063ca35e8a01461067d57610253565b8063a2309ff81161010a578063a2309ff814610589578063ac446002146105a7578063b166da42146105b1578063b1a6676e146105cd578063b3ecf236146105eb57610253565b80638da5cb5b146104e557806395d89b411461050357806399a2557a146105215780639dc29fac14610551578063a22cb4651461056d57610253565b806342842e0e116101d45780636352211e116101985780636352211e1461042f57806370a082311461045f578063715018a61461048f578063731186eb146104995780638462151c146104b557610253565b806342842e0e146103b357806349324be1146103cf57806355f804b3146103eb5780635b92ac0d146104075780635bc0997c1461042557610253565b806318160ddd1161021b57806318160ddd1461030e57806323b872dd1461032c5780632a55205a1461034857806340c10f191461037957806341f434341461039557610253565b806301e336671461025857806301ffc9a71461027457806306fdde03146102a4578063081812fc146102c2578063095ea7b3146102f2575b600080fd5b610272600480360381019061026d9190613ad0565b610749565b005b61028e60048036038101906102899190613b7b565b6107f6565b60405161029b9190613bc3565b60405180910390f35b6102ac6108d0565b6040516102b99190613c6e565b60405180910390f35b6102dc60048036038101906102d79190613c90565b610962565b6040516102e99190613ccc565b60405180910390f35b61030c60048036038101906103079190613ce7565b6109a8565b005b610316610ad6565b6040516103239190613d36565b60405180910390f35b61034660048036038101906103419190613ad0565b610ae4565b005b610362600480360381019061035d9190613d51565b610b35565b604051610370929190613d91565b60405180910390f35b610393600480360381019061038e9190613ce7565b610be2565b005b61039d610db6565b6040516103aa9190613e19565b60405180910390f35b6103cd60048036038101906103c89190613ad0565b610dc8565b005b6103e960048036038101906103e49190613e6d565b610e19565b005b61040560048036038101906104009190613ff5565b610ff3565b005b61040f6110a3565b60405161041c9190613bc3565b60405180910390f35b61042d6110b6565b005b61044960048036038101906104449190613c90565b61115d565b6040516104569190613ccc565b60405180910390f35b6104796004803603810190610474919061403e565b6111e5565b6040516104869190613d36565b60405180910390f35b610497611293565b005b6104b360048036038101906104ae9190614121565b6112a7565b005b6104cf60048036038101906104ca919061403e565b611481565b6040516104dc9190614274565b60405180910390f35b6104ed6115fb565b6040516104fa9190613ccc565b60405180910390f35b61050b611625565b6040516105189190613c6e565b60405180910390f35b61053b60048036038101906105369190614296565b6116b7565b6040516105489190614274565b60405180910390f35b61056b60048036038101906105669190613ce7565b611839565b005b61058760048036038101906105829190614315565b61192c565b005b61059161194d565b60405161059e9190613d36565b60405180910390f35b6105af611957565b005b6105cb60048036038101906105c6919061403e565b6119fe565b005b6105d5611aa7565b6040516105e29190613bc3565b60405180910390f35b6105f3611aba565b604051610600919061436e565b60405180910390f35b610623600480360381019061061e919061442a565b611b52565b005b61062d611ba5565b005b610637611c4c565b604051610644919061436e565b60405180910390f35b61066760048036038101906106629190613c90565b611ce4565b6040516106749190613c6e565b60405180910390f35b6106976004803603810190610692919061403e565b611d4c565b005b6106a1611f8f565b005b6106ab612036565b6040516106b89190613d36565b60405180910390f35b6106c9612040565b6040516106d6919061456b565b60405180910390f35b6106f960048036038101906106f4919061458d565b6120dd565b6040516107069190613bc3565b60405180910390f35b6107296004803603810190610724919061403e565b612171565b005b6107336121f7565b6040516107409190613bc3565b60405180910390f35b610751611aba565b600860039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166312d9a6ad8261079861220a565b6040518363ffffffff1660e01b81526004016107b59291906145cd565b60006040518083038186803b1580156107cd57600080fd5b505afa1580156107e1573d6000803e3d6000fd5b505050506107f0848484612212565b50505050565b60006380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806108515750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806108b957507fdbf24b52000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806108c957506108c882612296565b5b9050919050565b6060600080546108df90614625565b80601f016020809104026020016040519081016040528092919081815260200182805461090b90614625565b80156109585780601f1061092d57610100808354040283529160200191610958565b820191906000526020600020905b81548152906001019060200180831161093b57829003601f168201915b5050505050905090565b600061096d82612300565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b816109b28161234d565b60006109bd8361115d565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603610a315783836040517f26ac089f000000000000000000000000000000000000000000000000000000008152600401610a28929190613d91565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a5061220a565b73ffffffffffffffffffffffffffffffffffffffff1614158015610a825750610a8081610a7b61220a565b6120dd565b155b15610ac65783836040517fb1ab84a4000000000000000000000000000000000000000000000000000000008152600401610abd929190613d91565b60405180910390fd5b610ad0848461244a565b50505050565b600060075460065403905090565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610b2257610b213361234d565b5b610b2f8484846001612503565b50505050565b600080600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b8ca29d58530866040518463ffffffff1660e01b8152600401610b9793929190614656565b6040805180830381865afa158015610bb3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bd791906146b7565b915091509250929050565b610bea612040565b6000805b8251811015610cd8576000838281518110610c0c57610c0b6146f7565b5b60200260200101519050600860039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166391d1485482610c5d61220a565b6040518363ffffffff1660e01b8152600401610c7a9291906145cd565b602060405180830381865afa158015610c97573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cbb919061473b565b15610cca576001925050610cd8565b508080600101915050610bee565b5080610d19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d10906147b4565b60405180910390fd5b600860009054906101000a900460ff1615610d60576040517fb8ef635100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600860019054906101000a900460ff16610da6576040517f59e4eebe00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610db08484612571565b50505050565b6daaeb6d7670e522a718067333cd4e81565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610e0657610e053361234d565b5b610e138484846001612750565b50505050565b610e21612040565b6000805b8251811015610f0f576000838281518110610e4357610e426146f7565b5b60200260200101519050600860039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166391d1485482610e9461220a565b6040518363ffffffff1660e01b8152600401610eb19291906145cd565b602060405180830381865afa158015610ece573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ef2919061473b565b15610f01576001925050610f0f565b508080600101915050610e25565b5080610f50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f47906147b4565b60405180910390fd5b600860009054906101000a900460ff1615610f97576040517fb8ef635100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600860019054906101000a900460ff16610fdd576040517f59e4eebe00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610feb858560ff1685612772565b505050505050565b610ffb611aba565b600860039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166312d9a6ad8261104261220a565b6040518363ffffffff1660e01b815260040161105f9291906145cd565b60006040518083038186803b15801561107757600080fd5b505afa15801561108b573d6000803e3d6000fd5b5050505081600c908161109e9190614976565b505050565b600860019054906101000a900460ff1681565b6110be611aba565b600860039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166312d9a6ad8261110561220a565b6040518363ffffffff1660e01b81526004016111229291906145cd565b60006040518083038186803b15801561113a57600080fd5b505afa15801561114e573d6000803e3d6000fd5b5050505061115a612982565b50565b600080611169836129ae565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036111dc57826040517fb718b6870000000000000000000000000000000000000000000000000000000081526004016111d39190613d36565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361124c576040517f560440d000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61129b6129eb565b6112a56000612a72565b565b6112af612040565b6000805b825181101561139d5760008382815181106112d1576112d06146f7565b5b60200260200101519050600860039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166391d148548261132261220a565b6040518363ffffffff1660e01b815260040161133f9291906145cd565b602060405180830381865afa15801561135c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611380919061473b565b1561138f57600192505061139d565b5080806001019150506112b3565b50806113de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113d5906147b4565b60405180910390fd5b600860009054906101000a900460ff1615611425576040517fb8ef635100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600860019054906101000a900460ff1661146b576040517f59e4eebe00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6114788787878787612b38565b50505050505050565b606060008061148f846111e5565b9050600081036114ec57600067ffffffffffffffff8111156114b4576114b3613eca565b5b6040519080825280602002602001820160405280156114e25781602001602082028036833780820191505090505b50925050506115f6565b60008167ffffffffffffffff81111561150857611507613eca565b5b6040519080825280602002602001820160405280156115365781602001602082028036833780820191505090505b5090506000805b8382146115ed576002600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1694508673ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16036115da57808383806115ba90614a77565b9450815181106115cd576115cc6146f7565b5b6020026020010181815250505b80806115e590614a77565b91505061153d565b82955050505050505b919050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461163490614625565b80601f016020809104026020016040519081016040528092919081815260200182805461166090614625565b80156116ad5780601f10611682576101008083540402835291602001916116ad565b820191906000526020600020905b81548152906001019060200180831161169057829003601f168201915b5050505050905090565b60606000806116c5866111e5565b90506000810361172257600067ffffffffffffffff8111156116ea576116e9613eca565b5b6040519080825280602002602001820160405280156117185781602001602082028036833780820191505090505b5092505050611832565b60008167ffffffffffffffff81111561173e5761173d613eca565b5b60405190808252806020026020018201604052801561176c5781602001602082028036833780820191505090505b5090506000808790505b868111611826576002600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1694508873ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff160361181357808383806117f390614a77565b945081518110611806576118056146f7565b5b6020026020010181815250505b808061181e90614a77565b915050611776565b81835282955050505050505b9392505050565b611841611c4c565b600860039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166312d9a6ad8261188861220a565b6040518363ffffffff1660e01b81526004016118a59291906145cd565b60006040518083038186803b1580156118bd57600080fd5b505afa1580156118d1573d6000803e3d6000fd5b50505050600860029054906101000a900460ff1661191b576040517febb5afac00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61192783836000612be7565b505050565b816119368161234d565b61194861194161220a565b8484612c49565b505050565b6000600654905090565b61195f611aba565b600860039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166312d9a6ad826119a661220a565b6040518363ffffffff1660e01b81526004016119c39291906145cd565b60006040518083038186803b1580156119db57600080fd5b505afa1580156119ef573d6000803e3d6000fd5b505050506119fb612dac565b50565b611a06611aba565b600860039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166312d9a6ad82611a4d61220a565b6040518363ffffffff1660e01b8152600401611a6a9291906145cd565b60006040518083038186803b158015611a8257600080fd5b505afa158015611a96573d6000803e3d6000fd5b50505050611aa382612dd5565b5050565b600860029054906101000a900460ff1681565b6000600860039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b3ecf2366040518163ffffffff1660e01b8152600401602060405180830381865afa158015611b29573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b4d9190614aeb565b905090565b833373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611b9057611b8f3361234d565b5b611b9e858585600186612ef2565b5050505050565b611bad611aba565b600860039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166312d9a6ad82611bf461220a565b6040518363ffffffff1660e01b8152600401611c119291906145cd565b60006040518083038186803b158015611c2957600080fd5b505afa158015611c3d573d6000803e3d6000fd5b50505050611c49612f62565b50565b6000600860039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c5b66dc96040518163ffffffff1660e01b8152600401602060405180830381865afa158015611cbb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cdf9190614aeb565b905090565b6060611cef82612300565b6000611cf9612f7f565b90506000815111611d195760405180602001604052806000815250611d44565b80611d2384613011565b604051602001611d34929190614b54565b6040516020818303038152906040525b915050919050565b600860039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b3ecf2366040518163ffffffff1660e01b8152600401602060405180830381865afa158015611db9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ddd9190614aeb565b600860039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166312d9a6ad82611e2461220a565b6040518363ffffffff1660e01b8152600401611e419291906145cd565b60006040518083038186803b158015611e5957600080fd5b505afa158015611e6d573d6000803e3d6000fd5b505050508173ffffffffffffffffffffffffffffffffffffffff166301ffc9a77f0b7162d4000000000000000000000000000000000000000000000000000000006040518263ffffffff1660e01b8152600401611eca9190614b87565b602060405180830381865afa158015611ee7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f0b919061473b565b611f4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f4190614c14565b60405180910390fd5b81600860036101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b611f97611aba565b600860039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166312d9a6ad82611fde61220a565b6040518363ffffffff1660e01b8152600401611ffb9291906145cd565b60006040518083038186803b15801561201357600080fd5b505afa158015612027573d6000803e3d6000fd5b505050506120336130df565b50565b6000600754905090565b6060600860039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663dd5adf0c6040518163ffffffff1660e01b8152600401600060405180830381865afa1580156120af573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906120d89190614cf7565b905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6121796129eb565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036121eb5760006040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081526004016121e29190613ccc565b60405180910390fd5b6121f481612a72565b50565b600860009054906101000a900460ff1681565b600033905090565b61221a61310b565b8273ffffffffffffffffffffffffffffffffffffffff166323b872dd3084846040518463ffffffff1660e01b815260040161225793929190614d40565b600060405180830381600087803b15801561227157600080fd5b505af1158015612285573d6000803e3d6000fd5b50505050612291613151565b505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6123098161315b565b61234a57806040517fb718b6870000000000000000000000000000000000000000000000000000000081526004016123419190613d36565b60405180910390fd5b50565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115612447576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b81526004016123c4929190614d77565b602060405180830381865afa1580156123e1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612405919061473b565b61244657806040517fede71dcc00000000000000000000000000000000000000000000000000000000815260040161243d9190613ccc565b60405180910390fd5b5b50565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166124bd8361115d565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b80156125605761251a61251461220a565b8361319c565b61255f578383836040517f0957569f00000000000000000000000000000000000000000000000000000000815260040161255693929190614d40565b60405180910390fd5b5b61256b848484613231565b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036125d7576040517fe7070eb700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6125e08161315b565b1561262257806040517f3dd6ca500000000000000000000000000000000000000000000000000000000081526004016126199190613d36565b60405180910390fd5b6126306000838360016134af565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600660008154809291906001019190505550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461274c6000838360016134b5565b5050565b61276c8484848460405180602001604052806000815250612ef2565b50505050565b60008082905060005b8481101561291957600073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff16036127e9576040517fe7070eb700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6127f28261315b565b1561283457816040517f3dd6ca5000000000000000000000000000000000000000000000000000000000815260040161282b9190613d36565b60405180910390fd5b6128426000878460016134af565b856002600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46128fe6000878460016134b5565b818061290990614a77565b925050808060010191505061277b565b5083600360008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555083600660008282540192505081905550809150509392505050565b600860029054906101000a900460ff1615600860026101000a81548160ff021916908315150217905550565b60006002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6129f361220a565b73ffffffffffffffffffffffffffffffffffffffff16612a116115fb565b73ffffffffffffffffffffffffffffffffffffffff1614612a7057612a3461220a565b6040517f118cdaa7000000000000000000000000000000000000000000000000000000008152600401612a679190613ccc565b60405180910390fd5b565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828290508585905014612b77576040517fa21d27a000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b85859050811015612bdf57612bd0868683818110612b9b57612b9a6146f7565b5b9050602002016020810190612bb0919061403e565b858584818110612bc357612bc26146f7565b5b9050602002013584612772565b91508080600101915050612b7a565b505050505050565b8015612c3b57612bf7838361319c565b612c3a5782826040517fb2b70f89000000000000000000000000000000000000000000000000000000008152600401612c31929190613d91565b60405180910390fd5b5b612c44826134bb565b505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612cae576040517ffa447c3800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612d9f9190613bc3565b60405180910390a3505050565b612db461310b565b6000612dbe61220a565b9050612dca8147613610565b50612dd3613151565b565b8073ffffffffffffffffffffffffffffffffffffffff166301ffc9a77f84648494000000000000000000000000000000000000000000000000000000006040518263ffffffff1660e01b8152600401612e2e9190614b87565b602060405180830381865afa158015612e4b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e6f919061473b565b612eae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ea590614c14565b60405180910390fd5b80600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b8115612f4f57612f09612f0361220a565b8461319c565b612f4e578484846040517f0957569f000000000000000000000000000000000000000000000000000000008152600401612f4593929190614d40565b60405180910390fd5b5b612f5b858585846136fd565b5050505050565b6001600860006101000a81548160ff021916908315150217905550565b6060600c8054612f8e90614625565b80601f0160208091040260200160405190810160405280929190818152602001828054612fba90614625565b80156130075780601f10612fdc57610100808354040283529160200191613007565b820191906000526020600020905b815481529060010190602001808311612fea57829003601f168201915b5050505050905090565b6060600060016130208461371a565b01905060008167ffffffffffffffff81111561303f5761303e613eca565b5b6040519080825280601f01601f1916602001820160405280156130715781602001600182028036833780820191505090505b509050600082602001820190505b6001156130d4578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a85816130c8576130c7614da0565b5b0494506000850361307f575b819350505050919050565b600860019054906101000a900460ff1615600860016101000a81548160ff021916908315150217905550565b6002600a5403613147576040517f3ee5aeb500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6002600a81905550565b6001600a81905550565b60008073ffffffffffffffffffffffffffffffffffffffff1661317d836129ae565b73ffffffffffffffffffffffffffffffffffffffff1614159050919050565b6000806131a88361115d565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806131ea57506131e981856120dd565b5b8061322857508373ffffffffffffffffffffffffffffffffffffffff1661321084610962565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603613297576040517fa4aa808000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff166132b78261115d565b73ffffffffffffffffffffffffffffffffffffffff16146133115782816040517fb04a7806000000000000000000000000000000000000000000000000000000008152600401613308929190613d91565b60405180910390fd5b61331e83838360016134af565b6004600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46134aa83838360016134b5565b505050565b50505050565b50505050565b60006134c68261115d565b90506134d68160008460016134af565b6004600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905560076000815480929190600101919050555081600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461360c8160008460016134b5565b5050565b8047101561365557306040517fcd78605900000000000000000000000000000000000000000000000000000000815260040161364c9190613ccc565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff168260405161367b90614e00565b60006040518083038185875af1925050503d80600081146136b8576040519150601f19603f3d011682016040523d82523d6000602084013e6136bd565b606091505b50509050806136f8576040517f1425ea4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505050565b613708848484613231565b6137148484848461386d565b50505050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310613778577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000838161376e5761376d614da0565b5b0492506040810190505b6d04ee2d6d415b85acef810000000083106137b5576d04ee2d6d415b85acef810000000083816137ab576137aa614da0565b5b0492506020810190505b662386f26fc1000083106137e457662386f26fc1000083816137da576137d9614da0565b5b0492506010810190505b6305f5e100831061380d576305f5e100838161380357613802614da0565b5b0492506008810190505b612710831061383257612710838161382857613827614da0565b5b0492506004810190505b60648310613855576064838161384b5761384a614da0565b5b0492506002810190505b600a8310613864576001810190505b80915050919050565b60008373ffffffffffffffffffffffffffffffffffffffff163b1115613a22578273ffffffffffffffffffffffffffffffffffffffff1663150b7a026138b161220a565b8685856040518563ffffffff1660e01b81526004016138d39493929190614e6a565b6020604051808303816000875af192505050801561390f57506040513d601f19601f8201168201806040525081019061390c9190614ecb565b60015b613995573d806000811461393f576040519150601f19603f3d011682016040523d82523d6000602084013e613944565b606091505b50600081510361398d5783836040517ffbf98f28000000000000000000000000000000000000000000000000000000008152600401613984929190613d91565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614613a205783836040517ffbf98f28000000000000000000000000000000000000000000000000000000008152600401613a17929190613d91565b60405180910390fd5b505b50505050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613a6782613a3c565b9050919050565b613a7781613a5c565b8114613a8257600080fd5b50565b600081359050613a9481613a6e565b92915050565b6000819050919050565b613aad81613a9a565b8114613ab857600080fd5b50565b600081359050613aca81613aa4565b92915050565b600080600060608486031215613ae957613ae8613a32565b5b6000613af786828701613a85565b9350506020613b0886828701613a85565b9250506040613b1986828701613abb565b9150509250925092565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613b5881613b23565b8114613b6357600080fd5b50565b600081359050613b7581613b4f565b92915050565b600060208284031215613b9157613b90613a32565b5b6000613b9f84828501613b66565b91505092915050565b60008115159050919050565b613bbd81613ba8565b82525050565b6000602082019050613bd86000830184613bb4565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613c18578082015181840152602081019050613bfd565b60008484015250505050565b6000601f19601f8301169050919050565b6000613c4082613bde565b613c4a8185613be9565b9350613c5a818560208601613bfa565b613c6381613c24565b840191505092915050565b60006020820190508181036000830152613c888184613c35565b905092915050565b600060208284031215613ca657613ca5613a32565b5b6000613cb484828501613abb565b91505092915050565b613cc681613a5c565b82525050565b6000602082019050613ce16000830184613cbd565b92915050565b60008060408385031215613cfe57613cfd613a32565b5b6000613d0c85828601613a85565b9250506020613d1d85828601613abb565b9150509250929050565b613d3081613a9a565b82525050565b6000602082019050613d4b6000830184613d27565b92915050565b60008060408385031215613d6857613d67613a32565b5b6000613d7685828601613abb565b9250506020613d8785828601613abb565b9150509250929050565b6000604082019050613da66000830185613cbd565b613db36020830184613d27565b9392505050565b6000819050919050565b6000613ddf613dda613dd584613a3c565b613dba565b613a3c565b9050919050565b6000613df182613dc4565b9050919050565b6000613e0382613de6565b9050919050565b613e1381613df8565b82525050565b6000602082019050613e2e6000830184613e0a565b92915050565b600060ff82169050919050565b613e4a81613e34565b8114613e5557600080fd5b50565b600081359050613e6781613e41565b92915050565b600080600060608486031215613e8657613e85613a32565b5b6000613e9486828701613a85565b9350506020613ea586828701613e58565b9250506040613eb686828701613abb565b9150509250925092565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613f0282613c24565b810181811067ffffffffffffffff82111715613f2157613f20613eca565b5b80604052505050565b6000613f34613a28565b9050613f408282613ef9565b919050565b600067ffffffffffffffff821115613f6057613f5f613eca565b5b613f6982613c24565b9050602081019050919050565b82818337600083830152505050565b6000613f98613f9384613f45565b613f2a565b905082815260208101848484011115613fb457613fb3613ec5565b5b613fbf848285613f76565b509392505050565b600082601f830112613fdc57613fdb613ec0565b5b8135613fec848260208601613f85565b91505092915050565b60006020828403121561400b5761400a613a32565b5b600082013567ffffffffffffffff81111561402957614028613a37565b5b61403584828501613fc7565b91505092915050565b60006020828403121561405457614053613a32565b5b600061406284828501613a85565b91505092915050565b600080fd5b600080fd5b60008083601f84011261408b5761408a613ec0565b5b8235905067ffffffffffffffff8111156140a8576140a761406b565b5b6020830191508360208202830111156140c4576140c3614070565b5b9250929050565b60008083601f8401126140e1576140e0613ec0565b5b8235905067ffffffffffffffff8111156140fe576140fd61406b565b5b60208301915083602082028301111561411a57614119614070565b5b9250929050565b60008060008060006060868803121561413d5761413c613a32565b5b600086013567ffffffffffffffff81111561415b5761415a613a37565b5b61416788828901614075565b9550955050602086013567ffffffffffffffff81111561418a57614189613a37565b5b614196888289016140cb565b935093505060406141a988828901613abb565b9150509295509295909350565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6141eb81613a9a565b82525050565b60006141fd83836141e2565b60208301905092915050565b6000602082019050919050565b6000614221826141b6565b61422b81856141c1565b9350614236836141d2565b8060005b8381101561426757815161424e88826141f1565b975061425983614209565b92505060018101905061423a565b5085935050505092915050565b6000602082019050818103600083015261428e8184614216565b905092915050565b6000806000606084860312156142af576142ae613a32565b5b60006142bd86828701613a85565b93505060206142ce86828701613abb565b92505060406142df86828701613abb565b9150509250925092565b6142f281613ba8565b81146142fd57600080fd5b50565b60008135905061430f816142e9565b92915050565b6000806040838503121561432c5761432b613a32565b5b600061433a85828601613a85565b925050602061434b85828601614300565b9150509250929050565b6000819050919050565b61436881614355565b82525050565b6000602082019050614383600083018461435f565b92915050565b600067ffffffffffffffff8211156143a4576143a3613eca565b5b6143ad82613c24565b9050602081019050919050565b60006143cd6143c884614389565b613f2a565b9050828152602081018484840111156143e9576143e8613ec5565b5b6143f4848285613f76565b509392505050565b600082601f83011261441157614410613ec0565b5b81356144218482602086016143ba565b91505092915050565b6000806000806080858703121561444457614443613a32565b5b600061445287828801613a85565b945050602061446387828801613a85565b935050604061447487828801613abb565b925050606085013567ffffffffffffffff81111561449557614494613a37565b5b6144a1878288016143fc565b91505092959194509250565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6144e281614355565b82525050565b60006144f483836144d9565b60208301905092915050565b6000602082019050919050565b6000614518826144ad565b61452281856144b8565b935061452d836144c9565b8060005b8381101561455e57815161454588826144e8565b975061455083614500565b925050600181019050614531565b5085935050505092915050565b60006020820190508181036000830152614585818461450d565b905092915050565b600080604083850312156145a4576145a3613a32565b5b60006145b285828601613a85565b92505060206145c385828601613a85565b9150509250929050565b60006040820190506145e2600083018561435f565b6145ef6020830184613cbd565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061463d57607f821691505b6020821081036146505761464f6145f6565b5b50919050565b600060608201905061466b6000830186613d27565b6146786020830185613cbd565b6146856040830184613d27565b949350505050565b60008151905061469c81613a6e565b92915050565b6000815190506146b181613aa4565b92915050565b600080604083850312156146ce576146cd613a32565b5b60006146dc8582860161468d565b92505060206146ed858286016146a2565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081519050614735816142e9565b92915050565b60006020828403121561475157614750613a32565b5b600061475f84828501614726565b91505092915050565b7f4d697373696e6720726571756972656420726f6c650000000000000000000000600082015250565b600061479e601583613be9565b91506147a982614768565b602082019050919050565b600060208201905081810360008301526147cd81614791565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026148367fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826147f9565b61484086836147f9565b95508019841693508086168417925050509392505050565b600061487361486e61486984613a9a565b613dba565b613a9a565b9050919050565b6000819050919050565b61488d83614858565b6148a16148998261487a565b848454614806565b825550505050565b600090565b6148b66148a9565b6148c1818484614884565b505050565b5b818110156148e5576148da6000826148ae565b6001810190506148c7565b5050565b601f82111561492a576148fb816147d4565b614904846147e9565b81016020851015614913578190505b61492761491f856147e9565b8301826148c6565b50505b505050565b600082821c905092915050565b600061494d6000198460080261492f565b1980831691505092915050565b6000614966838361493c565b9150826002028217905092915050565b61497f82613bde565b67ffffffffffffffff81111561499857614997613eca565b5b6149a28254614625565b6149ad8282856148e9565b600060209050601f8311600181146149e057600084156149ce578287015190505b6149d8858261495a565b865550614a40565b601f1984166149ee866147d4565b60005b82811015614a16578489015182556001820191506020850194506020810190506149f1565b86831015614a335784890151614a2f601f89168261493c565b8355505b6001600288020188555050505b505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614a8282613a9a565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203614ab457614ab3614a48565b5b600182019050919050565b614ac881614355565b8114614ad357600080fd5b50565b600081519050614ae581614abf565b92915050565b600060208284031215614b0157614b00613a32565b5b6000614b0f84828501614ad6565b91505092915050565b600081905092915050565b6000614b2e82613bde565b614b388185614b18565b9350614b48818560208601613bfa565b80840191505092915050565b6000614b608285614b23565b9150614b6c8284614b23565b91508190509392505050565b614b8181613b23565b82525050565b6000602082019050614b9c6000830184614b78565b92915050565b7f436f6e747261637420646f6573206e6f7420737570706f72742072657175697260008201527f656420696e746572666163650000000000000000000000000000000000000000602082015250565b6000614bfe602c83613be9565b9150614c0982614ba2565b604082019050919050565b60006020820190508181036000830152614c2d81614bf1565b9050919050565b600067ffffffffffffffff821115614c4f57614c4e613eca565b5b602082029050602081019050919050565b6000614c73614c6e84614c34565b613f2a565b90508083825260208201905060208402830185811115614c9657614c95614070565b5b835b81811015614cbf5780614cab8882614ad6565b845260208401935050602081019050614c98565b5050509392505050565b600082601f830112614cde57614cdd613ec0565b5b8151614cee848260208601614c60565b91505092915050565b600060208284031215614d0d57614d0c613a32565b5b600082015167ffffffffffffffff811115614d2b57614d2a613a37565b5b614d3784828501614cc9565b91505092915050565b6000606082019050614d556000830186613cbd565b614d626020830185613cbd565b614d6f6040830184613d27565b949350505050565b6000604082019050614d8c6000830185613cbd565b614d996020830184613cbd565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600081905092915050565b50565b6000614dea600083614dcf565b9150614df582614dda565b600082019050919050565b6000614e0b82614ddd565b9150819050919050565b600081519050919050565b600082825260208201905092915050565b6000614e3c82614e15565b614e468185614e20565b9350614e56818560208601613bfa565b614e5f81613c24565b840191505092915050565b6000608082019050614e7f6000830187613cbd565b614e8c6020830186613cbd565b614e996040830185613d27565b8181036060830152614eab8184614e31565b905095945050505050565b600081519050614ec581613b4f565b92915050565b600060208284031215614ee157614ee0613a32565b5b6000614eef84828501614eb6565b9150509291505056fea26469706673582212209af930a8ff3996be1c324b0baa645a22638ac706fe91db934b8144de4d8ae92264736f6c6343000816003300000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000140000000000000000000000000cdf831868185c4e92433b2f66a88123523011ecf00000000000000000000000021bbb2f84053197a2455a6c230c2883030b15d0c000000000000000000000000000000000000000000000000000000000000002f68747470733a2f2f6d657461646174612e766565667269656e64732e636f6d2f76322f636f6c6c656374696f6e732f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000d4769667420476f6174202331330000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044747313300000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106102535760003560e01c80638da5cb5b11610146578063b88d4fde116100c3578063d02c2bf211610087578063d02c2bf214610699578063d89135cd146106a3578063dd5adf0c146106c1578063e985e9c5146106df578063f2fde38b1461070f578063f5e92b951461072b57610253565b8063b88d4fde14610609578063bb7648b614610625578063c5b66dc91461062f578063c87b56dd1461064d578063ca35e8a01461067d57610253565b8063a2309ff81161010a578063a2309ff814610589578063ac446002146105a7578063b166da42146105b1578063b1a6676e146105cd578063b3ecf236146105eb57610253565b80638da5cb5b146104e557806395d89b411461050357806399a2557a146105215780639dc29fac14610551578063a22cb4651461056d57610253565b806342842e0e116101d45780636352211e116101985780636352211e1461042f57806370a082311461045f578063715018a61461048f578063731186eb146104995780638462151c146104b557610253565b806342842e0e146103b357806349324be1146103cf57806355f804b3146103eb5780635b92ac0d146104075780635bc0997c1461042557610253565b806318160ddd1161021b57806318160ddd1461030e57806323b872dd1461032c5780632a55205a1461034857806340c10f191461037957806341f434341461039557610253565b806301e336671461025857806301ffc9a71461027457806306fdde03146102a4578063081812fc146102c2578063095ea7b3146102f2575b600080fd5b610272600480360381019061026d9190613ad0565b610749565b005b61028e60048036038101906102899190613b7b565b6107f6565b60405161029b9190613bc3565b60405180910390f35b6102ac6108d0565b6040516102b99190613c6e565b60405180910390f35b6102dc60048036038101906102d79190613c90565b610962565b6040516102e99190613ccc565b60405180910390f35b61030c60048036038101906103079190613ce7565b6109a8565b005b610316610ad6565b6040516103239190613d36565b60405180910390f35b61034660048036038101906103419190613ad0565b610ae4565b005b610362600480360381019061035d9190613d51565b610b35565b604051610370929190613d91565b60405180910390f35b610393600480360381019061038e9190613ce7565b610be2565b005b61039d610db6565b6040516103aa9190613e19565b60405180910390f35b6103cd60048036038101906103c89190613ad0565b610dc8565b005b6103e960048036038101906103e49190613e6d565b610e19565b005b61040560048036038101906104009190613ff5565b610ff3565b005b61040f6110a3565b60405161041c9190613bc3565b60405180910390f35b61042d6110b6565b005b61044960048036038101906104449190613c90565b61115d565b6040516104569190613ccc565b60405180910390f35b6104796004803603810190610474919061403e565b6111e5565b6040516104869190613d36565b60405180910390f35b610497611293565b005b6104b360048036038101906104ae9190614121565b6112a7565b005b6104cf60048036038101906104ca919061403e565b611481565b6040516104dc9190614274565b60405180910390f35b6104ed6115fb565b6040516104fa9190613ccc565b60405180910390f35b61050b611625565b6040516105189190613c6e565b60405180910390f35b61053b60048036038101906105369190614296565b6116b7565b6040516105489190614274565b60405180910390f35b61056b60048036038101906105669190613ce7565b611839565b005b61058760048036038101906105829190614315565b61192c565b005b61059161194d565b60405161059e9190613d36565b60405180910390f35b6105af611957565b005b6105cb60048036038101906105c6919061403e565b6119fe565b005b6105d5611aa7565b6040516105e29190613bc3565b60405180910390f35b6105f3611aba565b604051610600919061436e565b60405180910390f35b610623600480360381019061061e919061442a565b611b52565b005b61062d611ba5565b005b610637611c4c565b604051610644919061436e565b60405180910390f35b61066760048036038101906106629190613c90565b611ce4565b6040516106749190613c6e565b60405180910390f35b6106976004803603810190610692919061403e565b611d4c565b005b6106a1611f8f565b005b6106ab612036565b6040516106b89190613d36565b60405180910390f35b6106c9612040565b6040516106d6919061456b565b60405180910390f35b6106f960048036038101906106f4919061458d565b6120dd565b6040516107069190613bc3565b60405180910390f35b6107296004803603810190610724919061403e565b612171565b005b6107336121f7565b6040516107409190613bc3565b60405180910390f35b610751611aba565b600860039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166312d9a6ad8261079861220a565b6040518363ffffffff1660e01b81526004016107b59291906145cd565b60006040518083038186803b1580156107cd57600080fd5b505afa1580156107e1573d6000803e3d6000fd5b505050506107f0848484612212565b50505050565b60006380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806108515750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806108b957507fdbf24b52000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806108c957506108c882612296565b5b9050919050565b6060600080546108df90614625565b80601f016020809104026020016040519081016040528092919081815260200182805461090b90614625565b80156109585780601f1061092d57610100808354040283529160200191610958565b820191906000526020600020905b81548152906001019060200180831161093b57829003601f168201915b5050505050905090565b600061096d82612300565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b816109b28161234d565b60006109bd8361115d565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603610a315783836040517f26ac089f000000000000000000000000000000000000000000000000000000008152600401610a28929190613d91565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a5061220a565b73ffffffffffffffffffffffffffffffffffffffff1614158015610a825750610a8081610a7b61220a565b6120dd565b155b15610ac65783836040517fb1ab84a4000000000000000000000000000000000000000000000000000000008152600401610abd929190613d91565b60405180910390fd5b610ad0848461244a565b50505050565b600060075460065403905090565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610b2257610b213361234d565b5b610b2f8484846001612503565b50505050565b600080600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b8ca29d58530866040518463ffffffff1660e01b8152600401610b9793929190614656565b6040805180830381865afa158015610bb3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bd791906146b7565b915091509250929050565b610bea612040565b6000805b8251811015610cd8576000838281518110610c0c57610c0b6146f7565b5b60200260200101519050600860039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166391d1485482610c5d61220a565b6040518363ffffffff1660e01b8152600401610c7a9291906145cd565b602060405180830381865afa158015610c97573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cbb919061473b565b15610cca576001925050610cd8565b508080600101915050610bee565b5080610d19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d10906147b4565b60405180910390fd5b600860009054906101000a900460ff1615610d60576040517fb8ef635100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600860019054906101000a900460ff16610da6576040517f59e4eebe00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610db08484612571565b50505050565b6daaeb6d7670e522a718067333cd4e81565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610e0657610e053361234d565b5b610e138484846001612750565b50505050565b610e21612040565b6000805b8251811015610f0f576000838281518110610e4357610e426146f7565b5b60200260200101519050600860039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166391d1485482610e9461220a565b6040518363ffffffff1660e01b8152600401610eb19291906145cd565b602060405180830381865afa158015610ece573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ef2919061473b565b15610f01576001925050610f0f565b508080600101915050610e25565b5080610f50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f47906147b4565b60405180910390fd5b600860009054906101000a900460ff1615610f97576040517fb8ef635100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600860019054906101000a900460ff16610fdd576040517f59e4eebe00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610feb858560ff1685612772565b505050505050565b610ffb611aba565b600860039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166312d9a6ad8261104261220a565b6040518363ffffffff1660e01b815260040161105f9291906145cd565b60006040518083038186803b15801561107757600080fd5b505afa15801561108b573d6000803e3d6000fd5b5050505081600c908161109e9190614976565b505050565b600860019054906101000a900460ff1681565b6110be611aba565b600860039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166312d9a6ad8261110561220a565b6040518363ffffffff1660e01b81526004016111229291906145cd565b60006040518083038186803b15801561113a57600080fd5b505afa15801561114e573d6000803e3d6000fd5b5050505061115a612982565b50565b600080611169836129ae565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036111dc57826040517fb718b6870000000000000000000000000000000000000000000000000000000081526004016111d39190613d36565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361124c576040517f560440d000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61129b6129eb565b6112a56000612a72565b565b6112af612040565b6000805b825181101561139d5760008382815181106112d1576112d06146f7565b5b60200260200101519050600860039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166391d148548261132261220a565b6040518363ffffffff1660e01b815260040161133f9291906145cd565b602060405180830381865afa15801561135c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611380919061473b565b1561138f57600192505061139d565b5080806001019150506112b3565b50806113de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113d5906147b4565b60405180910390fd5b600860009054906101000a900460ff1615611425576040517fb8ef635100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600860019054906101000a900460ff1661146b576040517f59e4eebe00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6114788787878787612b38565b50505050505050565b606060008061148f846111e5565b9050600081036114ec57600067ffffffffffffffff8111156114b4576114b3613eca565b5b6040519080825280602002602001820160405280156114e25781602001602082028036833780820191505090505b50925050506115f6565b60008167ffffffffffffffff81111561150857611507613eca565b5b6040519080825280602002602001820160405280156115365781602001602082028036833780820191505090505b5090506000805b8382146115ed576002600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1694508673ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16036115da57808383806115ba90614a77565b9450815181106115cd576115cc6146f7565b5b6020026020010181815250505b80806115e590614a77565b91505061153d565b82955050505050505b919050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461163490614625565b80601f016020809104026020016040519081016040528092919081815260200182805461166090614625565b80156116ad5780601f10611682576101008083540402835291602001916116ad565b820191906000526020600020905b81548152906001019060200180831161169057829003601f168201915b5050505050905090565b60606000806116c5866111e5565b90506000810361172257600067ffffffffffffffff8111156116ea576116e9613eca565b5b6040519080825280602002602001820160405280156117185781602001602082028036833780820191505090505b5092505050611832565b60008167ffffffffffffffff81111561173e5761173d613eca565b5b60405190808252806020026020018201604052801561176c5781602001602082028036833780820191505090505b5090506000808790505b868111611826576002600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1694508873ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff160361181357808383806117f390614a77565b945081518110611806576118056146f7565b5b6020026020010181815250505b808061181e90614a77565b915050611776565b81835282955050505050505b9392505050565b611841611c4c565b600860039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166312d9a6ad8261188861220a565b6040518363ffffffff1660e01b81526004016118a59291906145cd565b60006040518083038186803b1580156118bd57600080fd5b505afa1580156118d1573d6000803e3d6000fd5b50505050600860029054906101000a900460ff1661191b576040517febb5afac00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61192783836000612be7565b505050565b816119368161234d565b61194861194161220a565b8484612c49565b505050565b6000600654905090565b61195f611aba565b600860039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166312d9a6ad826119a661220a565b6040518363ffffffff1660e01b81526004016119c39291906145cd565b60006040518083038186803b1580156119db57600080fd5b505afa1580156119ef573d6000803e3d6000fd5b505050506119fb612dac565b50565b611a06611aba565b600860039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166312d9a6ad82611a4d61220a565b6040518363ffffffff1660e01b8152600401611a6a9291906145cd565b60006040518083038186803b158015611a8257600080fd5b505afa158015611a96573d6000803e3d6000fd5b50505050611aa382612dd5565b5050565b600860029054906101000a900460ff1681565b6000600860039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b3ecf2366040518163ffffffff1660e01b8152600401602060405180830381865afa158015611b29573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b4d9190614aeb565b905090565b833373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611b9057611b8f3361234d565b5b611b9e858585600186612ef2565b5050505050565b611bad611aba565b600860039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166312d9a6ad82611bf461220a565b6040518363ffffffff1660e01b8152600401611c119291906145cd565b60006040518083038186803b158015611c2957600080fd5b505afa158015611c3d573d6000803e3d6000fd5b50505050611c49612f62565b50565b6000600860039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c5b66dc96040518163ffffffff1660e01b8152600401602060405180830381865afa158015611cbb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cdf9190614aeb565b905090565b6060611cef82612300565b6000611cf9612f7f565b90506000815111611d195760405180602001604052806000815250611d44565b80611d2384613011565b604051602001611d34929190614b54565b6040516020818303038152906040525b915050919050565b600860039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b3ecf2366040518163ffffffff1660e01b8152600401602060405180830381865afa158015611db9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ddd9190614aeb565b600860039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166312d9a6ad82611e2461220a565b6040518363ffffffff1660e01b8152600401611e419291906145cd565b60006040518083038186803b158015611e5957600080fd5b505afa158015611e6d573d6000803e3d6000fd5b505050508173ffffffffffffffffffffffffffffffffffffffff166301ffc9a77f0b7162d4000000000000000000000000000000000000000000000000000000006040518263ffffffff1660e01b8152600401611eca9190614b87565b602060405180830381865afa158015611ee7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f0b919061473b565b611f4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f4190614c14565b60405180910390fd5b81600860036101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b611f97611aba565b600860039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166312d9a6ad82611fde61220a565b6040518363ffffffff1660e01b8152600401611ffb9291906145cd565b60006040518083038186803b15801561201357600080fd5b505afa158015612027573d6000803e3d6000fd5b505050506120336130df565b50565b6000600754905090565b6060600860039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663dd5adf0c6040518163ffffffff1660e01b8152600401600060405180830381865afa1580156120af573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906120d89190614cf7565b905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6121796129eb565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036121eb5760006040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081526004016121e29190613ccc565b60405180910390fd5b6121f481612a72565b50565b600860009054906101000a900460ff1681565b600033905090565b61221a61310b565b8273ffffffffffffffffffffffffffffffffffffffff166323b872dd3084846040518463ffffffff1660e01b815260040161225793929190614d40565b600060405180830381600087803b15801561227157600080fd5b505af1158015612285573d6000803e3d6000fd5b50505050612291613151565b505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6123098161315b565b61234a57806040517fb718b6870000000000000000000000000000000000000000000000000000000081526004016123419190613d36565b60405180910390fd5b50565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115612447576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b81526004016123c4929190614d77565b602060405180830381865afa1580156123e1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612405919061473b565b61244657806040517fede71dcc00000000000000000000000000000000000000000000000000000000815260040161243d9190613ccc565b60405180910390fd5b5b50565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166124bd8361115d565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b80156125605761251a61251461220a565b8361319c565b61255f578383836040517f0957569f00000000000000000000000000000000000000000000000000000000815260040161255693929190614d40565b60405180910390fd5b5b61256b848484613231565b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036125d7576040517fe7070eb700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6125e08161315b565b1561262257806040517f3dd6ca500000000000000000000000000000000000000000000000000000000081526004016126199190613d36565b60405180910390fd5b6126306000838360016134af565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600660008154809291906001019190505550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461274c6000838360016134b5565b5050565b61276c8484848460405180602001604052806000815250612ef2565b50505050565b60008082905060005b8481101561291957600073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff16036127e9576040517fe7070eb700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6127f28261315b565b1561283457816040517f3dd6ca5000000000000000000000000000000000000000000000000000000000815260040161282b9190613d36565b60405180910390fd5b6128426000878460016134af565b856002600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46128fe6000878460016134b5565b818061290990614a77565b925050808060010191505061277b565b5083600360008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555083600660008282540192505081905550809150509392505050565b600860029054906101000a900460ff1615600860026101000a81548160ff021916908315150217905550565b60006002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6129f361220a565b73ffffffffffffffffffffffffffffffffffffffff16612a116115fb565b73ffffffffffffffffffffffffffffffffffffffff1614612a7057612a3461220a565b6040517f118cdaa7000000000000000000000000000000000000000000000000000000008152600401612a679190613ccc565b60405180910390fd5b565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828290508585905014612b77576040517fa21d27a000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b85859050811015612bdf57612bd0868683818110612b9b57612b9a6146f7565b5b9050602002016020810190612bb0919061403e565b858584818110612bc357612bc26146f7565b5b9050602002013584612772565b91508080600101915050612b7a565b505050505050565b8015612c3b57612bf7838361319c565b612c3a5782826040517fb2b70f89000000000000000000000000000000000000000000000000000000008152600401612c31929190613d91565b60405180910390fd5b5b612c44826134bb565b505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612cae576040517ffa447c3800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612d9f9190613bc3565b60405180910390a3505050565b612db461310b565b6000612dbe61220a565b9050612dca8147613610565b50612dd3613151565b565b8073ffffffffffffffffffffffffffffffffffffffff166301ffc9a77f84648494000000000000000000000000000000000000000000000000000000006040518263ffffffff1660e01b8152600401612e2e9190614b87565b602060405180830381865afa158015612e4b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e6f919061473b565b612eae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ea590614c14565b60405180910390fd5b80600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b8115612f4f57612f09612f0361220a565b8461319c565b612f4e578484846040517f0957569f000000000000000000000000000000000000000000000000000000008152600401612f4593929190614d40565b60405180910390fd5b5b612f5b858585846136fd565b5050505050565b6001600860006101000a81548160ff021916908315150217905550565b6060600c8054612f8e90614625565b80601f0160208091040260200160405190810160405280929190818152602001828054612fba90614625565b80156130075780601f10612fdc57610100808354040283529160200191613007565b820191906000526020600020905b815481529060010190602001808311612fea57829003601f168201915b5050505050905090565b6060600060016130208461371a565b01905060008167ffffffffffffffff81111561303f5761303e613eca565b5b6040519080825280601f01601f1916602001820160405280156130715781602001600182028036833780820191505090505b509050600082602001820190505b6001156130d4578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a85816130c8576130c7614da0565b5b0494506000850361307f575b819350505050919050565b600860019054906101000a900460ff1615600860016101000a81548160ff021916908315150217905550565b6002600a5403613147576040517f3ee5aeb500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6002600a81905550565b6001600a81905550565b60008073ffffffffffffffffffffffffffffffffffffffff1661317d836129ae565b73ffffffffffffffffffffffffffffffffffffffff1614159050919050565b6000806131a88361115d565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806131ea57506131e981856120dd565b5b8061322857508373ffffffffffffffffffffffffffffffffffffffff1661321084610962565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603613297576040517fa4aa808000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff166132b78261115d565b73ffffffffffffffffffffffffffffffffffffffff16146133115782816040517fb04a7806000000000000000000000000000000000000000000000000000000008152600401613308929190613d91565b60405180910390fd5b61331e83838360016134af565b6004600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46134aa83838360016134b5565b505050565b50505050565b50505050565b60006134c68261115d565b90506134d68160008460016134af565b6004600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905560076000815480929190600101919050555081600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461360c8160008460016134b5565b5050565b8047101561365557306040517fcd78605900000000000000000000000000000000000000000000000000000000815260040161364c9190613ccc565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff168260405161367b90614e00565b60006040518083038185875af1925050503d80600081146136b8576040519150601f19603f3d011682016040523d82523d6000602084013e6136bd565b606091505b50509050806136f8576040517f1425ea4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505050565b613708848484613231565b6137148484848461386d565b50505050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310613778577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000838161376e5761376d614da0565b5b0492506040810190505b6d04ee2d6d415b85acef810000000083106137b5576d04ee2d6d415b85acef810000000083816137ab576137aa614da0565b5b0492506020810190505b662386f26fc1000083106137e457662386f26fc1000083816137da576137d9614da0565b5b0492506010810190505b6305f5e100831061380d576305f5e100838161380357613802614da0565b5b0492506008810190505b612710831061383257612710838161382857613827614da0565b5b0492506004810190505b60648310613855576064838161384b5761384a614da0565b5b0492506002810190505b600a8310613864576001810190505b80915050919050565b60008373ffffffffffffffffffffffffffffffffffffffff163b1115613a22578273ffffffffffffffffffffffffffffffffffffffff1663150b7a026138b161220a565b8685856040518563ffffffff1660e01b81526004016138d39493929190614e6a565b6020604051808303816000875af192505050801561390f57506040513d601f19601f8201168201806040525081019061390c9190614ecb565b60015b613995573d806000811461393f576040519150601f19603f3d011682016040523d82523d6000602084013e613944565b606091505b50600081510361398d5783836040517ffbf98f28000000000000000000000000000000000000000000000000000000008152600401613984929190613d91565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614613a205783836040517ffbf98f28000000000000000000000000000000000000000000000000000000008152600401613a17929190613d91565b60405180910390fd5b505b50505050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613a6782613a3c565b9050919050565b613a7781613a5c565b8114613a8257600080fd5b50565b600081359050613a9481613a6e565b92915050565b6000819050919050565b613aad81613a9a565b8114613ab857600080fd5b50565b600081359050613aca81613aa4565b92915050565b600080600060608486031215613ae957613ae8613a32565b5b6000613af786828701613a85565b9350506020613b0886828701613a85565b9250506040613b1986828701613abb565b9150509250925092565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613b5881613b23565b8114613b6357600080fd5b50565b600081359050613b7581613b4f565b92915050565b600060208284031215613b9157613b90613a32565b5b6000613b9f84828501613b66565b91505092915050565b60008115159050919050565b613bbd81613ba8565b82525050565b6000602082019050613bd86000830184613bb4565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613c18578082015181840152602081019050613bfd565b60008484015250505050565b6000601f19601f8301169050919050565b6000613c4082613bde565b613c4a8185613be9565b9350613c5a818560208601613bfa565b613c6381613c24565b840191505092915050565b60006020820190508181036000830152613c888184613c35565b905092915050565b600060208284031215613ca657613ca5613a32565b5b6000613cb484828501613abb565b91505092915050565b613cc681613a5c565b82525050565b6000602082019050613ce16000830184613cbd565b92915050565b60008060408385031215613cfe57613cfd613a32565b5b6000613d0c85828601613a85565b9250506020613d1d85828601613abb565b9150509250929050565b613d3081613a9a565b82525050565b6000602082019050613d4b6000830184613d27565b92915050565b60008060408385031215613d6857613d67613a32565b5b6000613d7685828601613abb565b9250506020613d8785828601613abb565b9150509250929050565b6000604082019050613da66000830185613cbd565b613db36020830184613d27565b9392505050565b6000819050919050565b6000613ddf613dda613dd584613a3c565b613dba565b613a3c565b9050919050565b6000613df182613dc4565b9050919050565b6000613e0382613de6565b9050919050565b613e1381613df8565b82525050565b6000602082019050613e2e6000830184613e0a565b92915050565b600060ff82169050919050565b613e4a81613e34565b8114613e5557600080fd5b50565b600081359050613e6781613e41565b92915050565b600080600060608486031215613e8657613e85613a32565b5b6000613e9486828701613a85565b9350506020613ea586828701613e58565b9250506040613eb686828701613abb565b9150509250925092565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613f0282613c24565b810181811067ffffffffffffffff82111715613f2157613f20613eca565b5b80604052505050565b6000613f34613a28565b9050613f408282613ef9565b919050565b600067ffffffffffffffff821115613f6057613f5f613eca565b5b613f6982613c24565b9050602081019050919050565b82818337600083830152505050565b6000613f98613f9384613f45565b613f2a565b905082815260208101848484011115613fb457613fb3613ec5565b5b613fbf848285613f76565b509392505050565b600082601f830112613fdc57613fdb613ec0565b5b8135613fec848260208601613f85565b91505092915050565b60006020828403121561400b5761400a613a32565b5b600082013567ffffffffffffffff81111561402957614028613a37565b5b61403584828501613fc7565b91505092915050565b60006020828403121561405457614053613a32565b5b600061406284828501613a85565b91505092915050565b600080fd5b600080fd5b60008083601f84011261408b5761408a613ec0565b5b8235905067ffffffffffffffff8111156140a8576140a761406b565b5b6020830191508360208202830111156140c4576140c3614070565b5b9250929050565b60008083601f8401126140e1576140e0613ec0565b5b8235905067ffffffffffffffff8111156140fe576140fd61406b565b5b60208301915083602082028301111561411a57614119614070565b5b9250929050565b60008060008060006060868803121561413d5761413c613a32565b5b600086013567ffffffffffffffff81111561415b5761415a613a37565b5b61416788828901614075565b9550955050602086013567ffffffffffffffff81111561418a57614189613a37565b5b614196888289016140cb565b935093505060406141a988828901613abb565b9150509295509295909350565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6141eb81613a9a565b82525050565b60006141fd83836141e2565b60208301905092915050565b6000602082019050919050565b6000614221826141b6565b61422b81856141c1565b9350614236836141d2565b8060005b8381101561426757815161424e88826141f1565b975061425983614209565b92505060018101905061423a565b5085935050505092915050565b6000602082019050818103600083015261428e8184614216565b905092915050565b6000806000606084860312156142af576142ae613a32565b5b60006142bd86828701613a85565b93505060206142ce86828701613abb565b92505060406142df86828701613abb565b9150509250925092565b6142f281613ba8565b81146142fd57600080fd5b50565b60008135905061430f816142e9565b92915050565b6000806040838503121561432c5761432b613a32565b5b600061433a85828601613a85565b925050602061434b85828601614300565b9150509250929050565b6000819050919050565b61436881614355565b82525050565b6000602082019050614383600083018461435f565b92915050565b600067ffffffffffffffff8211156143a4576143a3613eca565b5b6143ad82613c24565b9050602081019050919050565b60006143cd6143c884614389565b613f2a565b9050828152602081018484840111156143e9576143e8613ec5565b5b6143f4848285613f76565b509392505050565b600082601f83011261441157614410613ec0565b5b81356144218482602086016143ba565b91505092915050565b6000806000806080858703121561444457614443613a32565b5b600061445287828801613a85565b945050602061446387828801613a85565b935050604061447487828801613abb565b925050606085013567ffffffffffffffff81111561449557614494613a37565b5b6144a1878288016143fc565b91505092959194509250565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6144e281614355565b82525050565b60006144f483836144d9565b60208301905092915050565b6000602082019050919050565b6000614518826144ad565b61452281856144b8565b935061452d836144c9565b8060005b8381101561455e57815161454588826144e8565b975061455083614500565b925050600181019050614531565b5085935050505092915050565b60006020820190508181036000830152614585818461450d565b905092915050565b600080604083850312156145a4576145a3613a32565b5b60006145b285828601613a85565b92505060206145c385828601613a85565b9150509250929050565b60006040820190506145e2600083018561435f565b6145ef6020830184613cbd565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061463d57607f821691505b6020821081036146505761464f6145f6565b5b50919050565b600060608201905061466b6000830186613d27565b6146786020830185613cbd565b6146856040830184613d27565b949350505050565b60008151905061469c81613a6e565b92915050565b6000815190506146b181613aa4565b92915050565b600080604083850312156146ce576146cd613a32565b5b60006146dc8582860161468d565b92505060206146ed858286016146a2565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081519050614735816142e9565b92915050565b60006020828403121561475157614750613a32565b5b600061475f84828501614726565b91505092915050565b7f4d697373696e6720726571756972656420726f6c650000000000000000000000600082015250565b600061479e601583613be9565b91506147a982614768565b602082019050919050565b600060208201905081810360008301526147cd81614791565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026148367fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826147f9565b61484086836147f9565b95508019841693508086168417925050509392505050565b600061487361486e61486984613a9a565b613dba565b613a9a565b9050919050565b6000819050919050565b61488d83614858565b6148a16148998261487a565b848454614806565b825550505050565b600090565b6148b66148a9565b6148c1818484614884565b505050565b5b818110156148e5576148da6000826148ae565b6001810190506148c7565b5050565b601f82111561492a576148fb816147d4565b614904846147e9565b81016020851015614913578190505b61492761491f856147e9565b8301826148c6565b50505b505050565b600082821c905092915050565b600061494d6000198460080261492f565b1980831691505092915050565b6000614966838361493c565b9150826002028217905092915050565b61497f82613bde565b67ffffffffffffffff81111561499857614997613eca565b5b6149a28254614625565b6149ad8282856148e9565b600060209050601f8311600181146149e057600084156149ce578287015190505b6149d8858261495a565b865550614a40565b601f1984166149ee866147d4565b60005b82811015614a16578489015182556001820191506020850194506020810190506149f1565b86831015614a335784890151614a2f601f89168261493c565b8355505b6001600288020188555050505b505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614a8282613a9a565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203614ab457614ab3614a48565b5b600182019050919050565b614ac881614355565b8114614ad357600080fd5b50565b600081519050614ae581614abf565b92915050565b600060208284031215614b0157614b00613a32565b5b6000614b0f84828501614ad6565b91505092915050565b600081905092915050565b6000614b2e82613bde565b614b388185614b18565b9350614b48818560208601613bfa565b80840191505092915050565b6000614b608285614b23565b9150614b6c8284614b23565b91508190509392505050565b614b8181613b23565b82525050565b6000602082019050614b9c6000830184614b78565b92915050565b7f436f6e747261637420646f6573206e6f7420737570706f72742072657175697260008201527f656420696e746572666163650000000000000000000000000000000000000000602082015250565b6000614bfe602c83613be9565b9150614c0982614ba2565b604082019050919050565b60006020820190508181036000830152614c2d81614bf1565b9050919050565b600067ffffffffffffffff821115614c4f57614c4e613eca565b5b602082029050602081019050919050565b6000614c73614c6e84614c34565b613f2a565b90508083825260208201905060208402830185811115614c9657614c95614070565b5b835b81811015614cbf5780614cab8882614ad6565b845260208401935050602081019050614c98565b5050509392505050565b600082601f830112614cde57614cdd613ec0565b5b8151614cee848260208601614c60565b91505092915050565b600060208284031215614d0d57614d0c613a32565b5b600082015167ffffffffffffffff811115614d2b57614d2a613a37565b5b614d3784828501614cc9565b91505092915050565b6000606082019050614d556000830186613cbd565b614d626020830185613cbd565b614d6f6040830184613d27565b949350505050565b6000604082019050614d8c6000830185613cbd565b614d996020830184613cbd565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600081905092915050565b50565b6000614dea600083614dcf565b9150614df582614dda565b600082019050919050565b6000614e0b82614ddd565b9150819050919050565b600081519050919050565b600082825260208201905092915050565b6000614e3c82614e15565b614e468185614e20565b9350614e56818560208601613bfa565b614e5f81613c24565b840191505092915050565b6000608082019050614e7f6000830187613cbd565b614e8c6020830186613cbd565b614e996040830185613d27565b8181036060830152614eab8184614e31565b905095945050505050565b600081519050614ec581613b4f565b92915050565b600060208284031215614ee157614ee0613a32565b5b6000614eef84828501614eb6565b9150509291505056fea26469706673582212209af930a8ff3996be1c324b0baa645a22638ac706fe91db934b8144de4d8ae92264736f6c63430008160033

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.