ETH Price: $2,953.52 (+0.56%)

Token

StarshipTicket (ST)

Overview

Max Total Supply

1,326 ST

Holders

1,267

Market

Onchain Market Cap

-

Circulating Supply Market Cap

-
Filtered by Token Holder
marinioo.linea.eth
Balance
1 ST
0xb602e0a2facbd63e91dba352685d64b10ed7573b
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information

Contract Source Code Verified (Exact Match)

Contract Name:
StarshipTicket

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at lineascan.build/ on 2024-02-20
*/

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);

    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `from` to `to` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) external returns (bool);
}

pragma solidity ^0.8.0;

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

pragma solidity ^0.8.0;

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

pragma solidity ^0.8.0;

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
     *
     * _Available since v4.8._
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        if (success) {
            if (returndata.length == 0) {
                // only check isContract if the call was successful and the return data is empty
                // otherwise we already know that it was a contract
                require(isContract(target), "Address: call to non-contract");
            }
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason or using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    function _revert(bytes memory returndata, string memory errorMessage) 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(errorMessage);
        }
    }
}

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    enum Rounding {
        Down, // Toward negative infinity
        Up, // Toward infinity
        Zero // Toward zero
    }

    /**
     * @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 up instead
     * of rounding down.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        // (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; // Least significant 256 bits of the product
            uint256 prod1; // Most significant 256 bits of the product
            assembly {
                let mm := mulmod(x, y, not(0))
                prod0 := mul(x, y)
                prod1 := sub(sub(mm, prod0), lt(mm, prod0))
            }

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            require(denominator > prod1);

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

            // Does not overflow because the denominator cannot be zero at this stage in the function.
            uint256 twos = denominator & (~denominator + 1);
            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 (rounding == Rounding.Up && 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 down.
     *
     * 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 + (rounding == Rounding.Up && result * result < a ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 2, rounded down, of a positive value.
     * 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 + (rounding == Rounding.Up && 1 << result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 10, rounded down, of a positive value.
     * 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 + (rounding == Rounding.Up && 10**result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 256, rounded down, of a positive value.
     * 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 10, 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 + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0);
        }
    }
}

pragma solidity ^0.8.0;

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

    /**
     * @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), _SYMBOLS))
                }
                value /= 10;
                if (value == 0) break;
            }
            return buffer;
        }
    }

    /**
     * @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) {
        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] = _SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        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);
    }
}

pragma solidity ^0.8.0;

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

pragma solidity ^0.8.0;

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        require(owner != address(0), "ERC721: address zero is not a valid owner");
        return _balances[owner];
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _ownerOf(tokenId);
        require(owner != address(0), "ERC721: invalid token ID");
        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 {
        address owner = ERC721.ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

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

        _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 {
        _setApprovalForAll(_msgSender(), operator, approved);
    }

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

    /**
     * @dev Returns 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 = ERC721.ownerOf(tokenId);
        return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender);
    }

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

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

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

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

        // Check that tokenId was not minted by `_beforeTokenTransfer` hook
        require(!_exists(tokenId), "ERC721: token already minted");

        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;

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

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

    /**
     * @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 = ERC721.ownerOf(tokenId);

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

        // Update ownership in case tokenId was transferred by `_beforeTokenTransfer` hook
        owner = ERC721.ownerOf(tokenId);

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

        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 {
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId, 1);

        // Check that tokenId was not transferred by `_beforeTokenTransfer` hook
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner");

        // 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(ERC721.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 {
        require(owner != operator, "ERC721: approve to caller");
        _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 {
        require(_exists(tokenId), "ERC721: invalid token ID");
    }

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

    /**
     * @dev Hook that is called before any token transfer. This includes minting and burning. 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 will be transferred to `to`.
     * - When `from` is zero, the tokens will be minted for `to`.
     * - When `to` is zero, ``from``'s tokens 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, /* firstTokenId */
        uint256 batchSize
    ) internal virtual {
        if (batchSize > 1) {
            if (from != address(0)) {
                _balances[from] -= batchSize;
            }
            if (to != address(0)) {
                _balances[to] += batchSize;
            }
        }
    }

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

    /**
     * @dev See {ERC721-_beforeTokenTransfer}.
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 firstTokenId,
        uint256 batchSize
    ) internal virtual override {
        super._beforeTokenTransfer(from, to, firstTokenId, batchSize);

        if (batchSize > 1) {
            // Will only trigger during construction. Batch transferring (minting) is not available afterwards.
            revert("ERC721Enumerable: consecutive transfers not supported");
        }

        uint256 tokenId = firstTokenId;

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

    bool private _paused;

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

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

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

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

    /**
     * @dev Throws if the contract is paused.
     */
    function _requireNotPaused() internal view virtual {
        require(!paused(), "Pausable: paused");
    }

    /**
     * @dev Throws if the contract is not paused.
     */
    function _requirePaused() internal view virtual {
        require(paused(), "Pausable: not paused");
    }

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

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

pragma solidity ^0.8.0;

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

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

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

    /**
     * @dev 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 {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

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

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

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

pragma solidity ^0.8.0;

/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControl {
    /**
     * @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 Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {AccessControl-_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 granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) external;
}

pragma solidity ^0.8.0;

/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms. This is a lightweight version that doesn't allow enumerating role
 * members except through off-chain means by accessing the contract event logs. Some
 * applications may benefit from on-chain enumerability, for those cases see
 * {AccessControlEnumerable}.
 *
 * Roles are referred to by their `bytes32` identifier. These should be exposed
 * in the external API and be unique. The best way to achieve this is by
 * using `public constant` hash digests:
 *
 * ```
 * bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
 * ```
 *
 * Roles can be used to represent a set of permissions. To restrict access to a
 * function call, use {hasRole}:
 *
 * ```
 * function foo() public {
 *     require(hasRole(MY_ROLE, msg.sender));
 *     ...
 * }
 * ```
 *
 * Roles can be granted and revoked dynamically via the {grantRole} and
 * {revokeRole} functions. Each role has an associated admin role, and only
 * accounts that have a role's admin role can call {grantRole} and {revokeRole}.
 *
 * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
 * that only accounts with this role will be able to grant or revoke other
 * roles. More complex role relationships can be created by using
 * {_setRoleAdmin}.
 *
 * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
 * grant and revoke this role. Extra precautions should be taken to secure
 * accounts that have been granted it.
 */
abstract contract AccessControl is Context, IAccessControl, ERC165 {
    struct RoleData {
        mapping(address => bool) members;
        bytes32 adminRole;
    }

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Modifier that checks that an account has a specific role. Reverts
     * with a standardized message including the required 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})$/
     *
     * _Available since v4.1._
     */
    modifier onlyRole(bytes32 role) {
        _checkRole(role);
        _;
    }

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

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) public view virtual override returns (bool) {
        return _roles[role].members[account];
    }

    /**
     * @dev Revert with a standard message if `_msgSender()` is missing `role`.
     * Overriding this function changes the behavior of the {onlyRole} modifier.
     *
     * Format of the revert message is described in {_checkRole}.
     *
     * _Available since v4.6._
     */
    function _checkRole(bytes32 role) internal view virtual {
        _checkRole(role, _msgSender());
    }

    /**
     * @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) internal view virtual {
        if (!hasRole(role, account)) {
            revert(
                string(
                    abi.encodePacked(
                        "AccessControl: account ",
                        Strings.toHexString(account),
                        " is missing role ",
                        Strings.toHexString(uint256(role), 32)
                    )
                )
            );
        }
    }

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) public view virtual override returns (bytes32) {
        return _roles[role].adminRole;
    }

    /**
     * @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.
     *
     * May emit a {RoleGranted} event.
     */
    function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _grantRole(role, account);
    }

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

    /**
     * @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`.
     *
     * May emit a {RoleRevoked} event.
     */
    function renounceRole(bytes32 role, address account) public virtual override {
        require(account == _msgSender(), "AccessControl: can only renounce roles for self");

        _revokeRole(role, account);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * May emit a {RoleGranted} event.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     *
     * NOTE: This function is deprecated in favor of {_grantRole}.
     */
    function _setupRole(bytes32 role, address account) internal virtual {
        _grantRole(role, account);
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
        bytes32 previousAdminRole = getRoleAdmin(role);
        _roles[role].adminRole = adminRole;
        emit RoleAdminChanged(role, previousAdminRole, adminRole);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * Internal function without access restriction.
     *
     * May emit a {RoleGranted} event.
     */
    function _grantRole(bytes32 role, address account) internal virtual {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * Internal function without access restriction.
     *
     * May emit a {RoleRevoked} event.
     */
    function _revokeRole(bytes32 role, address account) internal virtual {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}

pragma solidity ^0.8.0;

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

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

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

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

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

pragma solidity ^0.8.0;

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

    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
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

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

pragma solidity ^0.8.0;

/**
 * @title ERC721 Burnable Token
 * @dev ERC721 Token that can be burned (destroyed).
 */
abstract contract ERC721Burnable is Context, ERC721 {
    /**
     * @dev Burns `tokenId`. See {ERC721-_burn}.
     *
     * Requirements:
     *
     * - The caller must own `tokenId` or be an approved operator.
     */
    function burn(uint256 tokenId) public virtual {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner or approved");
        _burn(tokenId);
    }
}

pragma solidity ^0.8.0;

/**
 * @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.
 *
 * _Available since v4.5._
 */
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);
}

pragma solidity ^0.8.0;

/**
 * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information.
 *
 * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for
 * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first.
 *
 * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the
 * fee is specified in basis points by default.
 *
 * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See
 * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to
 * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported.
 *
 * _Available since v4.5._
 */
abstract contract ERC2981 is IERC2981, ERC165 {
    struct RoyaltyInfo {
        address receiver;
        uint96 royaltyFraction;
    }

    RoyaltyInfo private _defaultRoyaltyInfo;
    mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo;

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

    /**
     * @inheritdoc IERC2981
     */
    function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view virtual override returns (address, uint256) {
        RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId];

        if (royalty.receiver == address(0)) {
            royalty = _defaultRoyaltyInfo;
        }

        uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) / _feeDenominator();

        return (royalty.receiver, royaltyAmount);
    }

    /**
     * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a
     * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an
     * override.
     */
    function _feeDenominator() internal pure virtual returns (uint96) {
        return 10000;
    }

    /**
     * @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) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: invalid receiver");

        _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Removes default royalty information.
     */
    function _deleteDefaultRoyalty() internal virtual {
        delete _defaultRoyaltyInfo;
    }

    /**
     * @dev Sets the royalty information for a specific token id, overriding the global default.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setTokenRoyalty(
        uint256 tokenId,
        address receiver,
        uint96 feeNumerator
    ) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: Invalid parameters");

        _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Resets royalty information for the token id back to the global default.
     */
    function _resetTokenRoyalty(uint256 tokenId) internal virtual {
        delete _tokenRoyaltyInfo[tokenId];
    }
}

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Tree proofs.
 *
 * The tree and the proofs can be generated using our
 * https://github.com/OpenZeppelin/merkle-tree[JavaScript library].
 * You will find a quickstart guide in the readme.
 *
 * WARNING: You should avoid using leaf values that are 64 bytes long prior to
 * hashing, or use a hash function other than keccak256 for hashing leaves.
 * This is because the concatenation of a sorted pair of internal nodes in
 * the merkle tree could be reinterpreted as a leaf value.
 * OpenZeppelin's JavaScript library generates merkle trees that are safe
 * against this attack out of the box.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

    /**
     * @dev Calldata version of {verify}
     *
     * _Available since v4.7._
     */
    function verifyCalldata(
        bytes32[] calldata proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProofCalldata(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up
     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
     * hash matches the root of the tree. When processing the proof, the pairs
     * of leafs & pre-images are assumed to be sorted.
     *
     * _Available since v4.4._
     */
    function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Calldata version of {processProof}
     *
     * _Available since v4.7._
     */
    function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Returns true if the `leaves` can be simultaneously proven to be a part of a merkle tree defined by
     * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}.
     *
     * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details.
     *
     * _Available since v4.7._
     */
    function multiProofVerify(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProof(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Calldata version of {multiProofVerify}
     *
     * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details.
     *
     * _Available since v4.7._
     */
    function multiProofVerifyCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProofCalldata(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Returns the root of a tree reconstructed from `leaves` and sibling nodes in `proof`. The reconstruction
     * proceeds by incrementally reconstructing all inner nodes by combining a leaf/inner node with either another
     * leaf/inner node or a proof sibling node, depending on whether each `proofFlags` item is true or false
     * respectively.
     *
     * CAUTION: Not all merkle trees admit multiproofs. To use multiproofs, it is sufficient to ensure that: 1) the tree
     * is complete (but not necessarily perfect), 2) the leaves to be proven are in the opposite order they are in the
     * tree (i.e., as seen from right to left starting at the deepest layer and continuing at the next layer).
     *
     * _Available since v4.7._
     */
    function processMultiProof(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    /**
     * @dev Calldata version of {processMultiProof}.
     *
     * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details.
     *
     * _Available since v4.7._
     */
    function processMultiProofCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) {
        return a < b ? _efficientHash(a, b) : _efficientHash(b, a);
    }

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        /// @solidity memory-safe-assembly
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}

pragma solidity ^0.8.0;

contract StarshipTicket is ERC721, ERC2981, ERC721Enumerable, Pausable, Ownable, AccessControl, ERC721Burnable, ReentrancyGuard {
    using Strings for uint256;
    using Counters for Counters.Counter;

    enum Status {
        WhiteListSale,
        PublicSale
    }

    uint256 public openSupply;

    string private baseURI;
    string private baseExtension;

    bytes32 public merkleRoot;
    address public tokenContract;
    uint256 public saleEthPrice;
    uint256 public saleTokenPrice;

    uint8 public phase;
    uint256 public saleStartTime;

    mapping(Status => uint256) public mintMax;
    mapping(Status => uint256) public mintCount;
    mapping(Status => uint256) public mintPerMax;

    mapping(uint8 => uint256) public whiteListPhaseCount;
    mapping(address => mapping(uint8 => bool)) private whiteList;

    mapping(address => mapping(uint8 => uint256)) public amountMintedPerWhiteList;
    mapping(address => mapping(uint8 => uint256)) public amountMintedPerPublic;

    Counters.Counter private _tokenIdCounter;
    bytes32 public constant SERVER_ROLE = keccak256("SERVER_ROLE");

    constructor(
        string memory _name,
        string memory _symbol,
        uint256 _startId,
        uint256 _startTime,
        address _serverRole
    ) ERC721(_name, _symbol) {
        _tokenIdCounter._value = _startId;
        _setDefaultRoyalty(msg.sender, 500);
        _grantRole(SERVER_ROLE, _serverRole);
        _grantRole(DEFAULT_ADMIN_ROLE, msg.sender);
        
        setPhase(1);
        setSaleStartTime(_startTime);

        setOpenSupply(10000);
        setMintMax(Status.WhiteListSale, 2500);
        setMintMax(Status.PublicSale, 7500);
        setMintPerMax(Status.WhiteListSale, 1);
        setMintPerMax(Status.PublicSale, 5);
    }

    modifier _notContract() {
        uint256 size;
        address addr = msg.sender;
        assembly {
            size := extcodesize(addr)
        }
        require(size == 0, "Contract is not allowed");
        require(msg.sender == tx.origin, "Proxy contract is not allowed");
        _;
    }
    
    modifier _saleStartTime(uint256 _startTime) {
        require(currentTime() >= _startTime, "Sale has not started yet");
        _;
    }

    function mint(uint256 amount)
        public
        payable
        whenNotPaused
        _notContract
        _saleStartTime(saleStartTime)
        nonReentrant
    {
        Status _current = Status.PublicSale;
        require(saleEthPrice > 0, "Sale is not active");
        require(amountMintedPerPublic[msg.sender][phase] + amount <= mintPerMax[_current], "Minted reached the limit");
        require(mintCount[_current] + amount <= mintMax[_current], "Exceeded max mint");
        
        uint256 price = saleEthPrice * amount;
        require(msg.value >= price, "Not enough funds");

        mintCount[_current] += amount;
        amountMintedPerPublic[msg.sender][phase] += amount;
        _mintBatch(msg.sender, amount);
    }

    function publicMint(uint256 amount)
        public
        whenNotPaused
        _notContract
        _saleStartTime(saleStartTime)
        nonReentrant
    {
        Status _current = Status.PublicSale;
        require(saleTokenPrice > 0, "Sale is not active");
        require(tokenContract != address(0), "Sale is not active");
        require(amountMintedPerPublic[msg.sender][phase] + amount <= mintPerMax[_current], "Minted reached the limit");
        require(mintCount[_current] + amount <= mintMax[_current], "Exceeded max mint");

        IERC20 token = IERC20(tokenContract);
        uint256 price = saleTokenPrice * amount;
        require(token.balanceOf(msg.sender) >= price, "Not enough funds");
        
        bool result = token.transferFrom(msg.sender, address(this), price);
        if (result) {
            mintCount[_current] += amount;
            amountMintedPerPublic[msg.sender][phase] += amount;
            _mintBatch(msg.sender, amount);
        }
    }

    function whitelistMint(uint256 amount, bytes32[] calldata _merkleProof)
        public
        whenNotPaused
        _notContract
        _saleStartTime(saleStartTime)
        nonReentrant
    {
        Status _current = Status.WhiteListSale;
        require(amountMintedPerWhiteList[msg.sender][phase] + amount <= mintPerMax[_current], "Minted reached the limit");
        require(mintCount[_current] + amount <= mintMax[_current], "Exceeded max mint");

        bytes32 leaf = keccak256(abi.encodePacked(msg.sender));
        if(!MerkleProof.verify(_merkleProof, merkleRoot, leaf)) {
            require(whiteList[msg.sender][phase], "Not in whitelist");
        }

        mintCount[_current] += amount;
        amountMintedPerWhiteList[msg.sender][phase] += amount;
        _mintBatch(msg.sender, amount);
    }

    function _mintBatch(address _to, uint256 _amount) internal {
        require(totalSupply() + _amount <= openSupply, "Exceeded the supply limit");

        for (uint256 i = 0; i < _amount; i++) {
            uint256 tokenId = _tokenIdCounter.current();
            _tokenIdCounter.increment();
            _safeMint(_to, tokenId);
        }
    }

    function rewardClaim(address[] memory addrs, uint256 amount) public onlyOwner {
        for (uint256 i = 0; i < addrs.length; i++) {
            _mintBatch(addrs[i], amount);
        }
    }

    function listOfBalances(address addr) public view returns (uint256[] memory) {
        uint256 balance = balanceOf(addr);
        uint256[] memory balances = new uint256[](balance);
        
        for (uint256 i = 0; i < balance; i++) {
            uint256 _tokenId = tokenOfOwnerByIndex(addr, i);
            balances[i] = _tokenId;
        }

        return balances;
    }

    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        _requireMinted(tokenId);
        string memory base = _baseURI();
        return bytes(baseURI).length > 0 ? string(abi.encodePacked(base, tokenId.toString(), baseExtension)) : "";
    }

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

    // Whitelist
    function isWhiteList(address owner, uint8 _phase) public view returns (bool) {
        return whiteList[owner][_phase];
    }

    function addWhiteList(address[] memory addresses, uint8 _phase) public onlyRole(SERVER_ROLE) {
        for (uint i = 0; i < addresses.length; i++) {
            whiteListPhaseCount[_phase]++;
            whiteList[addresses[i]][_phase] = true;
        }
    }

    // Setting
    function pause() public onlyOwner {
        _pause();
    }

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

    function setBaseURI(string memory _uri) public onlyOwner {
        baseURI = _uri;
    }

    function setSaleEthPrice(uint256 price) public onlyOwner {
        saleEthPrice = price;
    }

    function setSaleTokenPrice(uint256 price) public onlyOwner {
        saleTokenPrice = price;
    }

    function setTokenContract(address addr) public onlyOwner {
        tokenContract = addr;
    }

    function setSaleStartTime(uint256 startTime) public onlyOwner {
        saleStartTime = startTime;
    }

    function setBaseExtension(string memory _baseExtension) public onlyOwner {
        baseExtension = _baseExtension;
    }

    function setPhase(uint8 _phase) public onlyOwner {
        phase = _phase;
    }

    function setOpenSupply(uint256 _openSupply) public onlyOwner {
        openSupply = _openSupply;
    }

    function setMerkleRoot(bytes32 _merkleRoot) public onlyOwner {
        merkleRoot = _merkleRoot;
    }

    function setMintMax(Status _status, uint256 _max) public onlyOwner {
        mintMax[_status] = _max;
    }

    function setMintPerMax(Status _status, uint256 _max) public onlyOwner {
        mintPerMax[_status] = _max;
    }

    // Royalty
    function setDefaultRoyalty(address _receiver, uint96 _feeNumerator) public onlyOwner {
        _setDefaultRoyalty(_receiver, _feeNumerator);
    }

    function deleteDefaultRoyalty() public onlyOwner {
        _deleteDefaultRoyalty();
    }

    function setTokenRoyalty(
        uint256 _tokenId,
        address _receiver,
        uint96 _feeNumerator
    ) public onlyOwner {
        _setTokenRoyalty(_tokenId, _receiver, _feeNumerator);
    }

    function resetTokenRoyalty(uint256 _tokenId) public onlyOwner {
        _resetTokenRoyalty(_tokenId);
    }

    // Tools
    function currentTime() private view returns (uint256) {
        return block.timestamp;
    }

    function withdraw() public onlyOwner {
        uint balance = address(this).balance;
        payable(msg.sender).transfer(balance);
    }

    function withdrawToken() public onlyOwner {
        IERC20 token = IERC20(tokenContract);
        uint256 balance = token.balanceOf(address(this));
        token.transfer(msg.sender, balance);
    }

    function _beforeTokenTransfer(address from, address to, uint256 tokenId, uint256 batchSize)
        internal
        whenNotPaused
        override(ERC721, ERC721Enumerable)
    {
        super._beforeTokenTransfer(from, to, tokenId, batchSize);
    }

    // The following functions are overrides required by Solidity.

    function _burn(uint256 tokenId) internal override(ERC721) {
        super._burn(tokenId);
        _resetTokenRoyalty(tokenId);
    }

    function supportsInterface(bytes4 interfaceId)
        public
        view
        override(ERC721, ERC2981, ERC721Enumerable, AccessControl)
        returns (bool)
    {
        return super.supportsInterface(interfaceId);
    }
}

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"uint256","name":"_startId","type":"uint256"},{"internalType":"uint256","name":"_startTime","type":"uint256"},{"internalType":"address","name":"_serverRole","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SERVER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"},{"internalType":"uint8","name":"_phase","type":"uint8"}],"name":"addWhiteList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint8","name":"","type":"uint8"}],"name":"amountMintedPerPublic","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint8","name":"","type":"uint8"}],"name":"amountMintedPerWhiteList","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"deleteDefaultRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint8","name":"_phase","type":"uint8"}],"name":"isWhiteList","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"listOfBalances","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"enum StarshipTicket.Status","name":"","type":"uint8"}],"name":"mintCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"enum StarshipTicket.Status","name":"","type":"uint8"}],"name":"mintMax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"enum StarshipTicket.Status","name":"","type":"uint8"}],"name":"mintPerMax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"openSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"phase","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"resetTokenRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"addrs","type":"address[]"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"rewardClaim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"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":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleEthPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"saleStartTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"saleTokenPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseExtension","type":"string"}],"name":"setBaseExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_receiver","type":"address"},{"internalType":"uint96","name":"_feeNumerator","type":"uint96"}],"name":"setDefaultRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum StarshipTicket.Status","name":"_status","type":"uint8"},{"internalType":"uint256","name":"_max","type":"uint256"}],"name":"setMintMax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum StarshipTicket.Status","name":"_status","type":"uint8"},{"internalType":"uint256","name":"_max","type":"uint256"}],"name":"setMintPerMax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_openSupply","type":"uint256"}],"name":"setOpenSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_phase","type":"uint8"}],"name":"setPhase","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"name":"setSaleEthPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"startTime","type":"uint256"}],"name":"setSaleStartTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"name":"setSaleTokenPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"setTokenContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"address","name":"_receiver","type":"address"},{"internalType":"uint96","name":"_feeNumerator","type":"uint96"}],"name":"setTokenRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenContract","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"","type":"uint8"}],"name":"whiteListPhaseCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"whitelistMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawToken","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b5060405162004aa438038062004aa48339810160408190526200003491620005bf565b8451859085906200004d9060009060208501906200044c565b508051620000639060019060208401906200044c565b5050600c805460ff19169055506200007b3362000135565b6001600e55601f83905562000093336101f46200018f565b620000bf7fa8a7bc421f721cb936ea99efdad79237e6ee0b871a2a08cf648691f9584cdc778262000294565b620000cc60003362000294565b620000d8600162000339565b620000e38262000359565b620000f061271062000368565b620000ff60006109c462000377565b6200010e6001611d4c62000377565b6200011c60006001620003c4565b6200012a60016005620003c4565b5050505050620006b4565b600c80546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6127106001600160601b0382161115620002035760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b60648201526084015b60405180910390fd5b6001600160a01b0382166200025b5760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401620001fa565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600655565b6000828152600d602090815260408083206001600160a01b038516845290915290205460ff1662000335576000828152600d602090815260408083206001600160a01b03851684529091529020805460ff19166001179055620002f43390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b62000343620003e8565b6016805460ff191660ff92909216919091179055565b62000363620003e8565b601755565b62000372620003e8565b600f55565b62000381620003e8565b80601860008460018111156200039b576200039b62000661565b6001811115620003af57620003af62000661565b81526020810191909152604001600020555050565b620003ce620003e8565b80601a60008460018111156200039b576200039b62000661565b600c546001600160a01b036101009091041633146200044a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401620001fa565b565b8280546200045a9062000677565b90600052602060002090601f0160209004810192826200047e5760008555620004c9565b82601f106200049957805160ff1916838001178555620004c9565b82800160010185558215620004c9579182015b82811115620004c9578251825591602001919060010190620004ac565b50620004d7929150620004db565b5090565b5b80821115620004d75760008155600101620004dc565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200051a57600080fd5b81516001600160401b0380821115620005375762000537620004f2565b604051601f8301601f19908116603f01168101908282118183101715620005625762000562620004f2565b816040528381526020925086838588010111156200057f57600080fd5b600091505b83821015620005a3578582018301518183018401529082019062000584565b83821115620005b55760008385830101525b9695505050505050565b600080600080600060a08688031215620005d857600080fd5b85516001600160401b0380821115620005f057600080fd5b620005fe89838a0162000508565b965060208801519150808211156200061557600080fd5b50620006248882890162000508565b6040880151606089015160808a0151929750909550935090506001600160a01b03811681146200065357600080fd5b809150509295509295909350565b634e487b7160e01b600052602160045260246000fd5b600181811c908216806200068c57607f821691505b60208210811415620006ae57634e487b7160e01b600052602260045260246000fd5b50919050565b6143e080620006c46000396000f3fe6080604052600436106103ef5760003560e01c80635c975abb11610208578063aa1b103f11610118578063cde219e6116100ab578063da3ef23f1161007a578063da3ef23f14610c5b578063e985e9c514610c7b578063efafe7ab14610cc4578063f2fde38b14610ce4578063fadca95414610d0457600080fd5b8063cde219e614610bc3578063d2cab05614610be3578063d547741f14610c03578063d9aeab7f14610c2357600080fd5b8063bbcd5bbe116100e7578063bbcd5bbe14610b4e578063c03afb5914610b6e578063c87b56dd14610b8e578063ca628c7814610bae57600080fd5b8063aa1b103f14610aa4578063aeaa44a014610ab9578063b1c9fe6e14610b02578063b88d4fde14610b2e57600080fd5b80637cb647591161019b57806391d148541161016a57806391d1485414610a2757806395d89b4114610a47578063a0712d6814610a5c578063a217fddf14610a6f578063a22cb46514610a8457600080fd5b80637cb64759146109af5780638456cb59146109cf5780638a616bc0146109e45780638da5cb5b14610a0457600080fd5b80636a055890116101d75780636a0558901461092057806370a082311461094d578063715018a61461096d578063784b1ff01461098257600080fd5b80635c975abb1461089b5780635d491492146108b35780636352211e146108e057806368b20de01461090057600080fd5b806336568abe1161030357806347800068116102965780635398fb80116102655780635398fb80146107fb5780635502fe311461081b57806355a373d61461083b57806355f804b31461085b5780635944c7531461087b57600080fd5b8063478000681461078f5780634f6ccce7146107a557806351d28a7e146107c5578063525f8a5c146107db57600080fd5b806341dbba24116102d257806341dbba24146106f757806342842e0e1461071757806342966c681461073757806342d49c2e1461075757600080fd5b806336568abe1461068057806336a6b3b3146106a05780633ccfd60b146106cd5780633f4ba83a146106e257600080fd5b80631cbaee2d116103865780632a55205a116103555780632a55205a146105cb5780632db115441461060a5780632eb4a7ab1461062a5780632f2ff15d146106405780632f745c591461066057600080fd5b80631cbaee2d1461054557806322730b691461055b57806323b872dd1461057b578063248a9ca31461059b57600080fd5b8063095ea7b3116103c2578063095ea7b3146104a557806318160ddd146104c557806318cf2834146104e457806319e958ce1461051857600080fd5b806301ffc9a7146103f457806304634d8d1461042957806306fdde031461044b578063081812fc1461046d575b600080fd5b34801561040057600080fd5b5061041461040f3660046137ff565b610d1a565b60405190151581526020015b60405180910390f35b34801561043557600080fd5b5061044961044436600461384f565b610d2b565b005b34801561045757600080fd5b50610460610d41565b60405161042091906138da565b34801561047957600080fd5b5061048d6104883660046138ed565b610dd3565b6040516001600160a01b039091168152602001610420565b3480156104b157600080fd5b506104496104c0366004613906565b610dfa565b3480156104d157600080fd5b50600a545b604051908152602001610420565b3480156104f057600080fd5b506104d67fa8a7bc421f721cb936ea99efdad79237e6ee0b871a2a08cf648691f9584cdc7781565b34801561052457600080fd5b506104d661053336600461393f565b601a6020526000908152604090205481565b34801561055157600080fd5b506104d660175481565b34801561056757600080fd5b5061044961057636600461395a565b610f15565b34801561058757600080fd5b50610449610596366004613976565b610f5a565b3480156105a757600080fd5b506104d66105b63660046138ed565b6000908152600d602052604090206001015490565b3480156105d757600080fd5b506105eb6105e63660046139b2565b610f8c565b604080516001600160a01b039093168352602083019190915201610420565b34801561061657600080fd5b506104496106253660046138ed565b611038565b34801561063657600080fd5b506104d660125481565b34801561064c57600080fd5b5061044961065b3660046139d4565b611413565b34801561066c57600080fd5b506104d661067b366004613906565b611438565b34801561068c57600080fd5b5061044961069b3660046139d4565b6114ce565b3480156106ac57600080fd5b506106c06106bb3660046139f7565b611548565b6040516104209190613a12565b3480156106d957600080fd5b506104496115f0565b3480156106ee57600080fd5b50610449611627565b34801561070357600080fd5b506104496107123660046138ed565b611639565b34801561072357600080fd5b50610449610732366004613976565b611646565b34801561074357600080fd5b506104496107523660046138ed565b611661565b34801561076357600080fd5b506104d6610772366004613a67565b601d60209081526000928352604080842090915290825290205481565b34801561079b57600080fd5b506104d6600f5481565b3480156107b157600080fd5b506104d66107c03660046138ed565b611692565b3480156107d157600080fd5b506104d660155481565b3480156107e757600080fd5b506104496107f63660046138ed565b611725565b34801561080757600080fd5b5061044961081636600461395a565b611732565b34801561082757600080fd5b506104496108363660046138ed565b611751565b34801561084757600080fd5b5060135461048d906001600160a01b031681565b34801561086757600080fd5b50610449610876366004613b30565b61175e565b34801561088757600080fd5b50610449610896366004613b79565b611779565b3480156108a757600080fd5b50600c5460ff16610414565b3480156108bf57600080fd5b506104d66108ce36600461393f565b60186020526000908152604090205481565b3480156108ec57600080fd5b5061048d6108fb3660046138ed565b61178c565b34801561090c57600080fd5b5061044961091b3660046138ed565b6117ec565b34801561092c57600080fd5b506104d661093b366004613bb5565b601b6020526000908152604090205481565b34801561095957600080fd5b506104d66109683660046139f7565b6117f9565b34801561097957600080fd5b5061044961187f565b34801561098e57600080fd5b506104d661099d36600461393f565b60196020526000908152604090205481565b3480156109bb57600080fd5b506104496109ca3660046138ed565b611891565b3480156109db57600080fd5b5061044961189e565b3480156109f057600080fd5b506104496109ff3660046138ed565b6118ae565b348015610a1057600080fd5b50600c5461010090046001600160a01b031661048d565b348015610a3357600080fd5b50610414610a423660046139d4565b6118c7565b348015610a5357600080fd5b506104606118f2565b610449610a6a3660046138ed565b611901565b348015610a7b57600080fd5b506104d6600081565b348015610a9057600080fd5b50610449610a9f366004613bde565b611b93565b348015610ab057600080fd5b50610449611b9e565b348015610ac557600080fd5b50610414610ad4366004613a67565b6001600160a01b03919091166000908152601c6020908152604080832060ff94851684529091529020541690565b348015610b0e57600080fd5b50601654610b1c9060ff1681565b60405160ff9091168152602001610420565b348015610b3a57600080fd5b50610449610b49366004613c15565b611bb0565b348015610b5a57600080fd5b50610449610b693660046139f7565b611be2565b348015610b7a57600080fd5b50610449610b89366004613bb5565b611c0c565b348015610b9a57600080fd5b50610460610ba93660046138ed565b611c2a565b348015610bba57600080fd5b50610449611ca1565b348015610bcf57600080fd5b50610449610bde366004613d18565b611dac565b348015610bef57600080fd5b50610449610bfe366004613d5d565b611df5565b348015610c0f57600080fd5b50610449610c1e3660046139d4565b6120e9565b348015610c2f57600080fd5b506104d6610c3e366004613a67565b601e60209081526000928352604080842090915290825290205481565b348015610c6757600080fd5b50610449610c76366004613b30565b61210e565b348015610c8757600080fd5b50610414610c96366004613ddc565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b348015610cd057600080fd5b50610449610cdf366004613e06565b612129565b348015610cf057600080fd5b50610449610cff3660046139f7565b6121ee565b348015610d1057600080fd5b506104d660145481565b6000610d2582612264565b92915050565b610d33612289565b610d3d82826122e9565b5050565b606060008054610d5090613e4b565b80601f0160208091040260200160405190810160405280929190818152602001828054610d7c90613e4b565b8015610dc95780601f10610d9e57610100808354040283529160200191610dc9565b820191906000526020600020905b815481529060010190602001808311610dac57829003601f168201915b5050505050905090565b6000610dde826123a3565b506000908152600460205260409020546001600160a01b031690565b6000610e058261178c565b9050806001600160a01b0316836001600160a01b03161415610e785760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b0382161480610e945750610e948133610c96565b610f065760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c0000006064820152608401610e6f565b610f108383612402565b505050565b610f1d612289565b80601a6000846001811115610f3457610f34613e86565b6001811115610f4557610f45613e86565b81526020810191909152604001600020555050565b610f65335b82612470565b610f815760405162461bcd60e51b8152600401610e6f90613e9c565b610f108383836124ef565b60008281526007602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b03169282019290925282916110015750604080518082019091526006546001600160a01b0381168252600160a01b90046001600160601b031660208201525b602081015160009061271090611020906001600160601b031687613eff565b61102a9190613f1e565b915196919550909350505050565b611040612660565b33803b9081156110625760405162461bcd60e51b8152600401610e6f90613f40565b3332146110815760405162461bcd60e51b8152600401610e6f90613f77565b601754804210156110a45760405162461bcd60e51b8152600401610e6f90613fae565b6110ac6126a6565b6015546001906110ce5760405162461bcd60e51b8152600401610e6f90613fe5565b6013546001600160a01b03166110f65760405162461bcd60e51b8152600401610e6f90613fe5565b601a600082600181111561110c5761110c613e86565b600181111561111d5761111d613e86565b81526020808201929092526040908101600090812054338252601e845282822060165460ff1683529093522054611155908790614011565b11156111735760405162461bcd60e51b8152600401610e6f90614029565b6018600082600181111561118957611189613e86565b600181111561119a5761119a613e86565b81526020019081526020016000205485601960008460018111156111c0576111c0613e86565b60018111156111d1576111d1613e86565b8152602001908152602001600020546111ea9190614011565b11156112085760405162461bcd60e51b8152600401610e6f90614060565b6013546015546001600160a01b0390911690600090611228908890613eff565b6040516370a0823160e01b815233600482015290915081906001600160a01b038416906370a082319060240160206040518083038186803b15801561126c57600080fd5b505afa158015611280573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112a4919061408b565b10156112e55760405162461bcd60e51b815260206004820152601060248201526f4e6f7420656e6f7567682066756e647360801b6044820152606401610e6f565b6040516323b872dd60e01b8152336004820152306024820152604481018290526000906001600160a01b038416906323b872dd90606401602060405180830381600087803b15801561133657600080fd5b505af115801561134a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061136e91906140a4565b905080156113ff57876019600086600181111561138d5761138d613e86565b600181111561139e5761139e613e86565b815260200190815260200160002060008282546113bb9190614011565b9091555050336000908152601e6020908152604080832060165460ff168452909152812080548a92906113ef908490614011565b909155506113ff90503389612700565b5050505061140d6001600e55565b50505050565b6000828152600d602052604090206001015461142e816127a8565b610f1083836127b2565b6000611443836117f9565b82106114a55760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610e6f565b506001600160a01b03919091166000908152600860209081526040808320938352929052205490565b6001600160a01b038116331461153e5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610e6f565b610d3d8282612838565b60606000611555836117f9565b905060008167ffffffffffffffff81111561157257611572613a91565b60405190808252806020026020018201604052801561159b578160200160208202803683370190505b50905060005b828110156115e85760006115b58683611438565b9050808383815181106115ca576115ca6140c1565b602090810291909101015250806115e0816140d7565b9150506115a1565b509392505050565b6115f8612289565b6040514790339082156108fc029083906000818181858888f19350505050158015610d3d573d6000803e3d6000fd5b61162f612289565b61163761289f565b565b611641612289565b601555565b610f1083838360405180602001604052806000815250611bb0565b61166a33610f5f565b6116865760405162461bcd60e51b8152600401610e6f90613e9c565b61168f816128f1565b50565b600061169d600a5490565b82106117005760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610e6f565b600a8281548110611713576117136140c1565b90600052602060002001549050919050565b61172d612289565b601755565b61173a612289565b8060186000846001811115610f3457610f34613e86565b611759612289565b601455565b611766612289565b8051610d3d906010906020840190613750565b611781612289565b610f108383836128fa565b6000818152600260205260408120546001600160a01b031680610d255760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610e6f565b6117f4612289565b600f55565b60006001600160a01b0382166118635760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b6064820152608401610e6f565b506001600160a01b031660009081526003602052604090205490565b611887612289565b61163760006129c5565b611899612289565b601255565b6118a6612289565b611637612a1f565b6118b6612289565b600090815260076020526040812055565b6000918252600d602090815260408084206001600160a01b0393909316845291905290205460ff1690565b606060018054610d5090613e4b565b611909612660565b33803b90811561192b5760405162461bcd60e51b8152600401610e6f90613f40565b33321461194a5760405162461bcd60e51b8152600401610e6f90613f77565b6017548042101561196d5760405162461bcd60e51b8152600401610e6f90613fae565b6119756126a6565b6014546001906119975760405162461bcd60e51b8152600401610e6f90613fe5565b601a60008260018111156119ad576119ad613e86565b60018111156119be576119be613e86565b81526020808201929092526040908101600090812054338252601e845282822060165460ff16835290935220546119f6908790614011565b1115611a145760405162461bcd60e51b8152600401610e6f90614029565b60186000826001811115611a2a57611a2a613e86565b6001811115611a3b57611a3b613e86565b8152602001908152602001600020548560196000846001811115611a6157611a61613e86565b6001811115611a7257611a72613e86565b815260200190815260200160002054611a8b9190614011565b1115611aa95760405162461bcd60e51b8152600401610e6f90614060565b600085601454611ab99190613eff565b905080341015611afe5760405162461bcd60e51b815260206004820152601060248201526f4e6f7420656e6f7567682066756e647360801b6044820152606401610e6f565b8560196000846001811115611b1557611b15613e86565b6001811115611b2657611b26613e86565b81526020019081526020016000206000828254611b439190614011565b9091555050336000908152601e6020908152604080832060165460ff16845290915281208054889290611b77908490614011565b90915550611b8790503387612700565b505061140d6001600e55565b610d3d338383612a5c565b611ba6612289565b6116376000600655565b611bba3383612470565b611bd65760405162461bcd60e51b8152600401610e6f90613e9c565b61140d84848484612b2b565b611bea612289565b601380546001600160a01b0319166001600160a01b0392909216919091179055565b611c14612289565b6016805460ff191660ff92909216919091179055565b6060611c35826123a3565b6000611c3f612b5e565b9050600060108054611c5090613e4b565b905011611c6c5760405180602001604052806000815250611c9a565b80611c7684612b6d565b6011604051602001611c8a939291906140f2565b6040516020818303038152906040525b9392505050565b611ca9612289565b6013546040516370a0823160e01b81523060048201526001600160a01b039091169060009082906370a082319060240160206040518083038186803b158015611cf157600080fd5b505afa158015611d05573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d29919061408b565b60405163a9059cbb60e01b8152336004820152602481018290529091506001600160a01b0383169063a9059cbb90604401602060405180830381600087803b158015611d7457600080fd5b505af1158015611d88573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f1091906140a4565b611db4612289565b60005b8251811015610f1057611de3838281518110611dd557611dd56140c1565b602002602001015183612700565b80611ded816140d7565b915050611db7565b611dfd612660565b33803b908115611e1f5760405162461bcd60e51b8152600401610e6f90613f40565b333214611e3e5760405162461bcd60e51b8152600401610e6f90613f77565b60175480421015611e615760405162461bcd60e51b8152600401610e6f90613fae565b611e696126a6565b7fb75ecc04ed35f89790e98640e901bda41eceff0cb896cf2765fb69768025375054336000908152601d6020908152604080832060165460ff168452909152812054909190611eb9908990614011565b1115611ed75760405162461bcd60e51b8152600401610e6f90614029565b60186000826001811115611eed57611eed613e86565b6001811115611efe57611efe613e86565b8152602001908152602001600020548760196000846001811115611f2457611f24613e86565b6001811115611f3557611f35613e86565b815260200190815260200160002054611f4e9190614011565b1115611f6c5760405162461bcd60e51b8152600401610e6f90614060565b6040516bffffffffffffffffffffffff193360601b166020820152600090603401604051602081830303815290604052805190602001209050611fe6878780806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506012549150849050612c02565b61204c57336000908152601c6020908152604080832060165460ff90811685529252909120541661204c5760405162461bcd60e51b815260206004820152601060248201526f139bdd081a5b881dda1a5d195b1a5cdd60821b6044820152606401610e6f565b876019600084600181111561206357612063613e86565b600181111561207457612074613e86565b815260200190815260200160002060008282546120919190614011565b9091555050336000908152601d6020908152604080832060165460ff168452909152812080548a92906120c5908490614011565b909155506120d590503389612700565b50506120e16001600e55565b505050505050565b6000828152600d6020526040902060010154612104816127a8565b610f108383612838565b612116612289565b8051610d3d906011906020840190613750565b7fa8a7bc421f721cb936ea99efdad79237e6ee0b871a2a08cf648691f9584cdc77612153816127a8565b60005b835181101561140d5760ff83166000908152601b6020526040812080549161217d836140d7565b91905055506001601c600086848151811061219a5761219a6140c1565b6020908102919091018101516001600160a01b03168252818101929092526040908101600090812060ff881682529092529020805460ff1916911515919091179055806121e6816140d7565b915050612156565b6121f6612289565b6001600160a01b03811661225b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610e6f565b61168f816129c5565b60006001600160e01b03198216637965db0b60e01b1480610d255750610d2582612c18565b600c546001600160a01b036101009091041633146116375760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610e6f565b6127106001600160601b03821611156123145760405162461bcd60e51b8152600401610e6f906141b6565b6001600160a01b03821661236a5760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401610e6f565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600655565b6000818152600260205260409020546001600160a01b031661168f5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610e6f565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906124378261178c565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008061247c8361178c565b9050806001600160a01b0316846001600160a01b031614806124c357506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b806124e75750836001600160a01b03166124dc84610dd3565b6001600160a01b0316145b949350505050565b826001600160a01b03166125028261178c565b6001600160a01b0316146125285760405162461bcd60e51b8152600401610e6f90614200565b6001600160a01b03821661258a5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610e6f565b6125978383836001612c3d565b826001600160a01b03166125aa8261178c565b6001600160a01b0316146125d05760405162461bcd60e51b8152600401610e6f90614200565b600081815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260038552838620805460001901905590871680865283862080546001019055868652600290945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600c5460ff16156116375760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610e6f565b6002600e5414156126f95760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610e6f565b6002600e55565b600f548161270d600a5490565b6127179190614011565b11156127655760405162461bcd60e51b815260206004820152601960248201527f45786365656465642074686520737570706c79206c696d6974000000000000006044820152606401610e6f565b60005b81811015610f1057600061277b601f5490565b905061278b601f80546001019055565b6127958482612c51565b50806127a0816140d7565b915050612768565b61168f8133612c6b565b6127bc82826118c7565b610d3d576000828152600d602090815260408083206001600160a01b03851684529091529020805460ff191660011790556127f43390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b61284282826118c7565b15610d3d576000828152600d602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6128a7612cc4565b600c805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b6118b681612d0d565b6127106001600160601b03821611156129255760405162461bcd60e51b8152600401610e6f906141b6565b6001600160a01b03821661297b5760405162461bcd60e51b815260206004820152601b60248201527f455243323938313a20496e76616c696420706172616d657465727300000000006044820152606401610e6f565b6040805180820182526001600160a01b0393841681526001600160601b0392831660208083019182526000968752600790529190942093519051909116600160a01b029116179055565b600c80546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b612a27612660565b600c805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586128d43390565b816001600160a01b0316836001600160a01b03161415612abe5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610e6f565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b612b368484846124ef565b612b4284848484612db0565b61140d5760405162461bcd60e51b8152600401610e6f90614245565b606060108054610d5090613e4b565b60606000612b7a83612ebd565b600101905060008167ffffffffffffffff811115612b9a57612b9a613a91565b6040519080825280601f01601f191660200182016040528015612bc4576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a8504945084612bfd576115e8565b612bce565b600082612c0f8584612f95565b14949350505050565b60006001600160e01b0319821663780e9d6360e01b1480610d255750610d2582612fda565b612c45612660565b61140d84848484612fff565b610d3d82826040518060200160405280600081525061313f565b612c7582826118c7565b610d3d57612c8281613172565b612c8d836020613184565b604051602001612c9e929190614297565b60408051601f198184030181529082905262461bcd60e51b8252610e6f916004016138da565b600c5460ff166116375760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610e6f565b6000612d188261178c565b9050612d28816000846001612c3d565b612d318261178c565b600083815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0385168085526003845282852080546000190190558785526002909352818420805490911690555192935084927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b60006001600160a01b0384163b15612eb257604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612df490339089908890889060040161430c565b602060405180830381600087803b158015612e0e57600080fd5b505af1925050508015612e3e575060408051601f3d908101601f19168201909252612e3b91810190614349565b60015b612e98573d808015612e6c576040519150601f19603f3d011682016040523d82523d6000602084013e612e71565b606091505b508051612e905760405162461bcd60e51b8152600401610e6f90614245565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506124e7565b506001949350505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310612efc5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310612f28576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310612f4657662386f26fc10000830492506010015b6305f5e1008310612f5e576305f5e100830492506008015b6127108310612f7257612710830492506004015b60648310612f84576064830492506002015b600a8310610d255760010192915050565b600081815b84518110156115e857612fc682868381518110612fb957612fb96140c1565b6020026020010151613320565b915080612fd2816140d7565b915050612f9a565b60006001600160e01b0319821663152a902d60e11b1480610d255750610d258261334f565b61300b8484848461339f565b600181111561307a5760405162461bcd60e51b815260206004820152603560248201527f455243373231456e756d657261626c653a20636f6e7365637574697665207472604482015274185b9cd9995c9cc81b9bdd081cdd5c1c1bdc9d1959605a1b6064820152608401610e6f565b816001600160a01b0385166130d6576130d181600a80546000838152600b60205260408120829055600182018355919091527fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a80155565b6130f9565b836001600160a01b0316856001600160a01b0316146130f9576130f98582613427565b6001600160a01b03841661311557613110816134c4565b613138565b846001600160a01b0316846001600160a01b031614613138576131388482613573565b5050505050565b61314983836135b7565b6131566000848484612db0565b610f105760405162461bcd60e51b8152600401610e6f90614245565b6060610d256001600160a01b03831660145b60606000613193836002613eff565b61319e906002614011565b67ffffffffffffffff8111156131b6576131b6613a91565b6040519080825280601f01601f1916602001820160405280156131e0576020820181803683370190505b509050600360fc1b816000815181106131fb576131fb6140c1565b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061322a5761322a6140c1565b60200101906001600160f81b031916908160001a905350600061324e846002613eff565b613259906001614011565b90505b60018111156132d1576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061328d5761328d6140c1565b1a60f81b8282815181106132a3576132a36140c1565b60200101906001600160f81b031916908160001a90535060049490941c936132ca81614366565b905061325c565b508315611c9a5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610e6f565b600081831061333c576000828152602084905260409020611c9a565b6000838152602083905260409020611c9a565b60006001600160e01b031982166380ac58cd60e01b148061338057506001600160e01b03198216635b5e139f60e01b145b80610d2557506301ffc9a760e01b6001600160e01b0319831614610d25565b600181111561140d576001600160a01b038416156133e5576001600160a01b038416600090815260036020526040812080548392906133df90849061437d565b90915550505b6001600160a01b0383161561140d576001600160a01b0383166000908152600360205260408120805483929061341c908490614011565b909155505050505050565b60006001613434846117f9565b61343e919061437d565b600083815260096020526040902054909150808214613491576001600160a01b03841660009081526008602090815260408083208584528252808320548484528184208190558352600990915290208190555b5060009182526009602090815260408084208490556001600160a01b039094168352600881528383209183525290812055565b600a546000906134d69060019061437d565b6000838152600b6020526040812054600a80549394509092849081106134fe576134fe6140c1565b9060005260206000200154905080600a838154811061351f5761351f6140c1565b6000918252602080832090910192909255828152600b9091526040808220849055858252812055600a80548061355757613557614394565b6001900381819060005260206000200160009055905550505050565b600061357e836117f9565b6001600160a01b039093166000908152600860209081526040808320868452825280832085905593825260099052919091209190915550565b6001600160a01b03821661360d5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610e6f565b6000818152600260205260409020546001600160a01b0316156136725760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610e6f565b613680600083836001612c3d565b6000818152600260205260409020546001600160a01b0316156136e55760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610e6f565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82805461375c90613e4b565b90600052602060002090601f01602090048101928261377e57600085556137c4565b82601f1061379757805160ff19168380011785556137c4565b828001600101855582156137c4579182015b828111156137c45782518255916020019190600101906137a9565b506137d09291506137d4565b5090565b5b808211156137d057600081556001016137d5565b6001600160e01b03198116811461168f57600080fd5b60006020828403121561381157600080fd5b8135611c9a816137e9565b80356001600160a01b038116811461383357600080fd5b919050565b80356001600160601b038116811461383357600080fd5b6000806040838503121561386257600080fd5b61386b8361381c565b915061387960208401613838565b90509250929050565b60005b8381101561389d578181015183820152602001613885565b8381111561140d5750506000910152565b600081518084526138c6816020860160208601613882565b601f01601f19169290920160200192915050565b602081526000611c9a60208301846138ae565b6000602082840312156138ff57600080fd5b5035919050565b6000806040838503121561391957600080fd5b6139228361381c565b946020939093013593505050565b80356002811061383357600080fd5b60006020828403121561395157600080fd5b611c9a82613930565b6000806040838503121561396d57600080fd5b61392283613930565b60008060006060848603121561398b57600080fd5b6139948461381c565b92506139a26020850161381c565b9150604084013590509250925092565b600080604083850312156139c557600080fd5b50508035926020909101359150565b600080604083850312156139e757600080fd5b823591506138796020840161381c565b600060208284031215613a0957600080fd5b611c9a8261381c565b6020808252825182820181905260009190848201906040850190845b81811015613a4a57835183529284019291840191600101613a2e565b50909695505050505050565b803560ff8116811461383357600080fd5b60008060408385031215613a7a57600080fd5b613a838361381c565b915061387960208401613a56565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715613ad057613ad0613a91565b604052919050565b600067ffffffffffffffff831115613af257613af2613a91565b613b05601f8401601f1916602001613aa7565b9050828152838383011115613b1957600080fd5b828260208301376000602084830101529392505050565b600060208284031215613b4257600080fd5b813567ffffffffffffffff811115613b5957600080fd5b8201601f81018413613b6a57600080fd5b6124e784823560208401613ad8565b600080600060608486031215613b8e57600080fd5b83359250613b9e6020850161381c565b9150613bac60408501613838565b90509250925092565b600060208284031215613bc757600080fd5b611c9a82613a56565b801515811461168f57600080fd5b60008060408385031215613bf157600080fd5b613bfa8361381c565b91506020830135613c0a81613bd0565b809150509250929050565b60008060008060808587031215613c2b57600080fd5b613c348561381c565b9350613c426020860161381c565b925060408501359150606085013567ffffffffffffffff811115613c6557600080fd5b8501601f81018713613c7657600080fd5b613c8587823560208401613ad8565b91505092959194509250565b600082601f830112613ca257600080fd5b8135602067ffffffffffffffff821115613cbe57613cbe613a91565b8160051b613ccd828201613aa7565b9283528481018201928281019087851115613ce757600080fd5b83870192505b84831015613d0d57613cfe8361381c565b82529183019190830190613ced565b979650505050505050565b60008060408385031215613d2b57600080fd5b823567ffffffffffffffff811115613d4257600080fd5b613d4e85828601613c91565b95602094909401359450505050565b600080600060408486031215613d7257600080fd5b83359250602084013567ffffffffffffffff80821115613d9157600080fd5b818601915086601f830112613da557600080fd5b813581811115613db457600080fd5b8760208260051b8501011115613dc957600080fd5b6020830194508093505050509250925092565b60008060408385031215613def57600080fd5b613df88361381c565b91506138796020840161381c565b60008060408385031215613e1957600080fd5b823567ffffffffffffffff811115613e3057600080fd5b613e3c85828601613c91565b92505061387960208401613a56565b600181811c90821680613e5f57607f821691505b60208210811415613e8057634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052602160045260246000fd5b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615613f1957613f19613ee9565b500290565b600082613f3b57634e487b7160e01b600052601260045260246000fd5b500490565b60208082526017908201527f436f6e7472616374206973206e6f7420616c6c6f776564000000000000000000604082015260600190565b6020808252601d908201527f50726f787920636f6e7472616374206973206e6f7420616c6c6f776564000000604082015260600190565b60208082526018908201527f53616c6520686173206e6f742073746172746564207965740000000000000000604082015260600190565b60208082526012908201527153616c65206973206e6f742061637469766560701b604082015260600190565b6000821982111561402457614024613ee9565b500190565b60208082526018908201527f4d696e746564207265616368656420746865206c696d69740000000000000000604082015260600190565b602080825260119082015270115e18d959591959081b585e081b5a5b9d607a1b604082015260600190565b60006020828403121561409d57600080fd5b5051919050565b6000602082840312156140b657600080fd5b8151611c9a81613bd0565b634e487b7160e01b600052603260045260246000fd5b60006000198214156140eb576140eb613ee9565b5060010190565b6000845160206141058285838a01613882565b8551918401916141188184848a01613882565b8554920191600090600181811c908083168061413557607f831692505b85831081141561415357634e487b7160e01b85526022600452602485fd5b8080156141675760018114614178576141a5565b60ff198516885283880195506141a5565b60008b81526020902060005b8581101561419d5781548a820152908401908801614184565b505083880195505b50939b9a5050505050505050505050565b6020808252602a908201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646040820152692073616c65507269636560b01b606082015260800190565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152600083516142cf816017850160208801613882565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351614300816028840160208801613882565b01602801949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061433f908301846138ae565b9695505050505050565b60006020828403121561435b57600080fd5b8151611c9a816137e9565b60008161437557614375613ee9565b506000190190565b60008282101561438f5761438f613ee9565b500390565b634e487b7160e01b600052603160045260246000fdfea264697066735822122010d5de8bf8b7d349957f1be6addbc4a7b1bf554a6c883903f3649caa372cb62864736f6c6343000809003300000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000005b8d800000000000000000000000000000000000000000000000000000000065af9be7000000000000000000000000428a8a0a62f4f5344ba7285bd8a24e36625267c3000000000000000000000000000000000000000000000000000000000000000e53746172736869705469636b657400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000025354000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106103ef5760003560e01c80635c975abb11610208578063aa1b103f11610118578063cde219e6116100ab578063da3ef23f1161007a578063da3ef23f14610c5b578063e985e9c514610c7b578063efafe7ab14610cc4578063f2fde38b14610ce4578063fadca95414610d0457600080fd5b8063cde219e614610bc3578063d2cab05614610be3578063d547741f14610c03578063d9aeab7f14610c2357600080fd5b8063bbcd5bbe116100e7578063bbcd5bbe14610b4e578063c03afb5914610b6e578063c87b56dd14610b8e578063ca628c7814610bae57600080fd5b8063aa1b103f14610aa4578063aeaa44a014610ab9578063b1c9fe6e14610b02578063b88d4fde14610b2e57600080fd5b80637cb647591161019b57806391d148541161016a57806391d1485414610a2757806395d89b4114610a47578063a0712d6814610a5c578063a217fddf14610a6f578063a22cb46514610a8457600080fd5b80637cb64759146109af5780638456cb59146109cf5780638a616bc0146109e45780638da5cb5b14610a0457600080fd5b80636a055890116101d75780636a0558901461092057806370a082311461094d578063715018a61461096d578063784b1ff01461098257600080fd5b80635c975abb1461089b5780635d491492146108b35780636352211e146108e057806368b20de01461090057600080fd5b806336568abe1161030357806347800068116102965780635398fb80116102655780635398fb80146107fb5780635502fe311461081b57806355a373d61461083b57806355f804b31461085b5780635944c7531461087b57600080fd5b8063478000681461078f5780634f6ccce7146107a557806351d28a7e146107c5578063525f8a5c146107db57600080fd5b806341dbba24116102d257806341dbba24146106f757806342842e0e1461071757806342966c681461073757806342d49c2e1461075757600080fd5b806336568abe1461068057806336a6b3b3146106a05780633ccfd60b146106cd5780633f4ba83a146106e257600080fd5b80631cbaee2d116103865780632a55205a116103555780632a55205a146105cb5780632db115441461060a5780632eb4a7ab1461062a5780632f2ff15d146106405780632f745c591461066057600080fd5b80631cbaee2d1461054557806322730b691461055b57806323b872dd1461057b578063248a9ca31461059b57600080fd5b8063095ea7b3116103c2578063095ea7b3146104a557806318160ddd146104c557806318cf2834146104e457806319e958ce1461051857600080fd5b806301ffc9a7146103f457806304634d8d1461042957806306fdde031461044b578063081812fc1461046d575b600080fd5b34801561040057600080fd5b5061041461040f3660046137ff565b610d1a565b60405190151581526020015b60405180910390f35b34801561043557600080fd5b5061044961044436600461384f565b610d2b565b005b34801561045757600080fd5b50610460610d41565b60405161042091906138da565b34801561047957600080fd5b5061048d6104883660046138ed565b610dd3565b6040516001600160a01b039091168152602001610420565b3480156104b157600080fd5b506104496104c0366004613906565b610dfa565b3480156104d157600080fd5b50600a545b604051908152602001610420565b3480156104f057600080fd5b506104d67fa8a7bc421f721cb936ea99efdad79237e6ee0b871a2a08cf648691f9584cdc7781565b34801561052457600080fd5b506104d661053336600461393f565b601a6020526000908152604090205481565b34801561055157600080fd5b506104d660175481565b34801561056757600080fd5b5061044961057636600461395a565b610f15565b34801561058757600080fd5b50610449610596366004613976565b610f5a565b3480156105a757600080fd5b506104d66105b63660046138ed565b6000908152600d602052604090206001015490565b3480156105d757600080fd5b506105eb6105e63660046139b2565b610f8c565b604080516001600160a01b039093168352602083019190915201610420565b34801561061657600080fd5b506104496106253660046138ed565b611038565b34801561063657600080fd5b506104d660125481565b34801561064c57600080fd5b5061044961065b3660046139d4565b611413565b34801561066c57600080fd5b506104d661067b366004613906565b611438565b34801561068c57600080fd5b5061044961069b3660046139d4565b6114ce565b3480156106ac57600080fd5b506106c06106bb3660046139f7565b611548565b6040516104209190613a12565b3480156106d957600080fd5b506104496115f0565b3480156106ee57600080fd5b50610449611627565b34801561070357600080fd5b506104496107123660046138ed565b611639565b34801561072357600080fd5b50610449610732366004613976565b611646565b34801561074357600080fd5b506104496107523660046138ed565b611661565b34801561076357600080fd5b506104d6610772366004613a67565b601d60209081526000928352604080842090915290825290205481565b34801561079b57600080fd5b506104d6600f5481565b3480156107b157600080fd5b506104d66107c03660046138ed565b611692565b3480156107d157600080fd5b506104d660155481565b3480156107e757600080fd5b506104496107f63660046138ed565b611725565b34801561080757600080fd5b5061044961081636600461395a565b611732565b34801561082757600080fd5b506104496108363660046138ed565b611751565b34801561084757600080fd5b5060135461048d906001600160a01b031681565b34801561086757600080fd5b50610449610876366004613b30565b61175e565b34801561088757600080fd5b50610449610896366004613b79565b611779565b3480156108a757600080fd5b50600c5460ff16610414565b3480156108bf57600080fd5b506104d66108ce36600461393f565b60186020526000908152604090205481565b3480156108ec57600080fd5b5061048d6108fb3660046138ed565b61178c565b34801561090c57600080fd5b5061044961091b3660046138ed565b6117ec565b34801561092c57600080fd5b506104d661093b366004613bb5565b601b6020526000908152604090205481565b34801561095957600080fd5b506104d66109683660046139f7565b6117f9565b34801561097957600080fd5b5061044961187f565b34801561098e57600080fd5b506104d661099d36600461393f565b60196020526000908152604090205481565b3480156109bb57600080fd5b506104496109ca3660046138ed565b611891565b3480156109db57600080fd5b5061044961189e565b3480156109f057600080fd5b506104496109ff3660046138ed565b6118ae565b348015610a1057600080fd5b50600c5461010090046001600160a01b031661048d565b348015610a3357600080fd5b50610414610a423660046139d4565b6118c7565b348015610a5357600080fd5b506104606118f2565b610449610a6a3660046138ed565b611901565b348015610a7b57600080fd5b506104d6600081565b348015610a9057600080fd5b50610449610a9f366004613bde565b611b93565b348015610ab057600080fd5b50610449611b9e565b348015610ac557600080fd5b50610414610ad4366004613a67565b6001600160a01b03919091166000908152601c6020908152604080832060ff94851684529091529020541690565b348015610b0e57600080fd5b50601654610b1c9060ff1681565b60405160ff9091168152602001610420565b348015610b3a57600080fd5b50610449610b49366004613c15565b611bb0565b348015610b5a57600080fd5b50610449610b693660046139f7565b611be2565b348015610b7a57600080fd5b50610449610b89366004613bb5565b611c0c565b348015610b9a57600080fd5b50610460610ba93660046138ed565b611c2a565b348015610bba57600080fd5b50610449611ca1565b348015610bcf57600080fd5b50610449610bde366004613d18565b611dac565b348015610bef57600080fd5b50610449610bfe366004613d5d565b611df5565b348015610c0f57600080fd5b50610449610c1e3660046139d4565b6120e9565b348015610c2f57600080fd5b506104d6610c3e366004613a67565b601e60209081526000928352604080842090915290825290205481565b348015610c6757600080fd5b50610449610c76366004613b30565b61210e565b348015610c8757600080fd5b50610414610c96366004613ddc565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b348015610cd057600080fd5b50610449610cdf366004613e06565b612129565b348015610cf057600080fd5b50610449610cff3660046139f7565b6121ee565b348015610d1057600080fd5b506104d660145481565b6000610d2582612264565b92915050565b610d33612289565b610d3d82826122e9565b5050565b606060008054610d5090613e4b565b80601f0160208091040260200160405190810160405280929190818152602001828054610d7c90613e4b565b8015610dc95780601f10610d9e57610100808354040283529160200191610dc9565b820191906000526020600020905b815481529060010190602001808311610dac57829003601f168201915b5050505050905090565b6000610dde826123a3565b506000908152600460205260409020546001600160a01b031690565b6000610e058261178c565b9050806001600160a01b0316836001600160a01b03161415610e785760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b0382161480610e945750610e948133610c96565b610f065760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c0000006064820152608401610e6f565b610f108383612402565b505050565b610f1d612289565b80601a6000846001811115610f3457610f34613e86565b6001811115610f4557610f45613e86565b81526020810191909152604001600020555050565b610f65335b82612470565b610f815760405162461bcd60e51b8152600401610e6f90613e9c565b610f108383836124ef565b60008281526007602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b03169282019290925282916110015750604080518082019091526006546001600160a01b0381168252600160a01b90046001600160601b031660208201525b602081015160009061271090611020906001600160601b031687613eff565b61102a9190613f1e565b915196919550909350505050565b611040612660565b33803b9081156110625760405162461bcd60e51b8152600401610e6f90613f40565b3332146110815760405162461bcd60e51b8152600401610e6f90613f77565b601754804210156110a45760405162461bcd60e51b8152600401610e6f90613fae565b6110ac6126a6565b6015546001906110ce5760405162461bcd60e51b8152600401610e6f90613fe5565b6013546001600160a01b03166110f65760405162461bcd60e51b8152600401610e6f90613fe5565b601a600082600181111561110c5761110c613e86565b600181111561111d5761111d613e86565b81526020808201929092526040908101600090812054338252601e845282822060165460ff1683529093522054611155908790614011565b11156111735760405162461bcd60e51b8152600401610e6f90614029565b6018600082600181111561118957611189613e86565b600181111561119a5761119a613e86565b81526020019081526020016000205485601960008460018111156111c0576111c0613e86565b60018111156111d1576111d1613e86565b8152602001908152602001600020546111ea9190614011565b11156112085760405162461bcd60e51b8152600401610e6f90614060565b6013546015546001600160a01b0390911690600090611228908890613eff565b6040516370a0823160e01b815233600482015290915081906001600160a01b038416906370a082319060240160206040518083038186803b15801561126c57600080fd5b505afa158015611280573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112a4919061408b565b10156112e55760405162461bcd60e51b815260206004820152601060248201526f4e6f7420656e6f7567682066756e647360801b6044820152606401610e6f565b6040516323b872dd60e01b8152336004820152306024820152604481018290526000906001600160a01b038416906323b872dd90606401602060405180830381600087803b15801561133657600080fd5b505af115801561134a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061136e91906140a4565b905080156113ff57876019600086600181111561138d5761138d613e86565b600181111561139e5761139e613e86565b815260200190815260200160002060008282546113bb9190614011565b9091555050336000908152601e6020908152604080832060165460ff168452909152812080548a92906113ef908490614011565b909155506113ff90503389612700565b5050505061140d6001600e55565b50505050565b6000828152600d602052604090206001015461142e816127a8565b610f1083836127b2565b6000611443836117f9565b82106114a55760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610e6f565b506001600160a01b03919091166000908152600860209081526040808320938352929052205490565b6001600160a01b038116331461153e5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610e6f565b610d3d8282612838565b60606000611555836117f9565b905060008167ffffffffffffffff81111561157257611572613a91565b60405190808252806020026020018201604052801561159b578160200160208202803683370190505b50905060005b828110156115e85760006115b58683611438565b9050808383815181106115ca576115ca6140c1565b602090810291909101015250806115e0816140d7565b9150506115a1565b509392505050565b6115f8612289565b6040514790339082156108fc029083906000818181858888f19350505050158015610d3d573d6000803e3d6000fd5b61162f612289565b61163761289f565b565b611641612289565b601555565b610f1083838360405180602001604052806000815250611bb0565b61166a33610f5f565b6116865760405162461bcd60e51b8152600401610e6f90613e9c565b61168f816128f1565b50565b600061169d600a5490565b82106117005760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610e6f565b600a8281548110611713576117136140c1565b90600052602060002001549050919050565b61172d612289565b601755565b61173a612289565b8060186000846001811115610f3457610f34613e86565b611759612289565b601455565b611766612289565b8051610d3d906010906020840190613750565b611781612289565b610f108383836128fa565b6000818152600260205260408120546001600160a01b031680610d255760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610e6f565b6117f4612289565b600f55565b60006001600160a01b0382166118635760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b6064820152608401610e6f565b506001600160a01b031660009081526003602052604090205490565b611887612289565b61163760006129c5565b611899612289565b601255565b6118a6612289565b611637612a1f565b6118b6612289565b600090815260076020526040812055565b6000918252600d602090815260408084206001600160a01b0393909316845291905290205460ff1690565b606060018054610d5090613e4b565b611909612660565b33803b90811561192b5760405162461bcd60e51b8152600401610e6f90613f40565b33321461194a5760405162461bcd60e51b8152600401610e6f90613f77565b6017548042101561196d5760405162461bcd60e51b8152600401610e6f90613fae565b6119756126a6565b6014546001906119975760405162461bcd60e51b8152600401610e6f90613fe5565b601a60008260018111156119ad576119ad613e86565b60018111156119be576119be613e86565b81526020808201929092526040908101600090812054338252601e845282822060165460ff16835290935220546119f6908790614011565b1115611a145760405162461bcd60e51b8152600401610e6f90614029565b60186000826001811115611a2a57611a2a613e86565b6001811115611a3b57611a3b613e86565b8152602001908152602001600020548560196000846001811115611a6157611a61613e86565b6001811115611a7257611a72613e86565b815260200190815260200160002054611a8b9190614011565b1115611aa95760405162461bcd60e51b8152600401610e6f90614060565b600085601454611ab99190613eff565b905080341015611afe5760405162461bcd60e51b815260206004820152601060248201526f4e6f7420656e6f7567682066756e647360801b6044820152606401610e6f565b8560196000846001811115611b1557611b15613e86565b6001811115611b2657611b26613e86565b81526020019081526020016000206000828254611b439190614011565b9091555050336000908152601e6020908152604080832060165460ff16845290915281208054889290611b77908490614011565b90915550611b8790503387612700565b505061140d6001600e55565b610d3d338383612a5c565b611ba6612289565b6116376000600655565b611bba3383612470565b611bd65760405162461bcd60e51b8152600401610e6f90613e9c565b61140d84848484612b2b565b611bea612289565b601380546001600160a01b0319166001600160a01b0392909216919091179055565b611c14612289565b6016805460ff191660ff92909216919091179055565b6060611c35826123a3565b6000611c3f612b5e565b9050600060108054611c5090613e4b565b905011611c6c5760405180602001604052806000815250611c9a565b80611c7684612b6d565b6011604051602001611c8a939291906140f2565b6040516020818303038152906040525b9392505050565b611ca9612289565b6013546040516370a0823160e01b81523060048201526001600160a01b039091169060009082906370a082319060240160206040518083038186803b158015611cf157600080fd5b505afa158015611d05573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d29919061408b565b60405163a9059cbb60e01b8152336004820152602481018290529091506001600160a01b0383169063a9059cbb90604401602060405180830381600087803b158015611d7457600080fd5b505af1158015611d88573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f1091906140a4565b611db4612289565b60005b8251811015610f1057611de3838281518110611dd557611dd56140c1565b602002602001015183612700565b80611ded816140d7565b915050611db7565b611dfd612660565b33803b908115611e1f5760405162461bcd60e51b8152600401610e6f90613f40565b333214611e3e5760405162461bcd60e51b8152600401610e6f90613f77565b60175480421015611e615760405162461bcd60e51b8152600401610e6f90613fae565b611e696126a6565b7fb75ecc04ed35f89790e98640e901bda41eceff0cb896cf2765fb69768025375054336000908152601d6020908152604080832060165460ff168452909152812054909190611eb9908990614011565b1115611ed75760405162461bcd60e51b8152600401610e6f90614029565b60186000826001811115611eed57611eed613e86565b6001811115611efe57611efe613e86565b8152602001908152602001600020548760196000846001811115611f2457611f24613e86565b6001811115611f3557611f35613e86565b815260200190815260200160002054611f4e9190614011565b1115611f6c5760405162461bcd60e51b8152600401610e6f90614060565b6040516bffffffffffffffffffffffff193360601b166020820152600090603401604051602081830303815290604052805190602001209050611fe6878780806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506012549150849050612c02565b61204c57336000908152601c6020908152604080832060165460ff90811685529252909120541661204c5760405162461bcd60e51b815260206004820152601060248201526f139bdd081a5b881dda1a5d195b1a5cdd60821b6044820152606401610e6f565b876019600084600181111561206357612063613e86565b600181111561207457612074613e86565b815260200190815260200160002060008282546120919190614011565b9091555050336000908152601d6020908152604080832060165460ff168452909152812080548a92906120c5908490614011565b909155506120d590503389612700565b50506120e16001600e55565b505050505050565b6000828152600d6020526040902060010154612104816127a8565b610f108383612838565b612116612289565b8051610d3d906011906020840190613750565b7fa8a7bc421f721cb936ea99efdad79237e6ee0b871a2a08cf648691f9584cdc77612153816127a8565b60005b835181101561140d5760ff83166000908152601b6020526040812080549161217d836140d7565b91905055506001601c600086848151811061219a5761219a6140c1565b6020908102919091018101516001600160a01b03168252818101929092526040908101600090812060ff881682529092529020805460ff1916911515919091179055806121e6816140d7565b915050612156565b6121f6612289565b6001600160a01b03811661225b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610e6f565b61168f816129c5565b60006001600160e01b03198216637965db0b60e01b1480610d255750610d2582612c18565b600c546001600160a01b036101009091041633146116375760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610e6f565b6127106001600160601b03821611156123145760405162461bcd60e51b8152600401610e6f906141b6565b6001600160a01b03821661236a5760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401610e6f565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600655565b6000818152600260205260409020546001600160a01b031661168f5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610e6f565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906124378261178c565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008061247c8361178c565b9050806001600160a01b0316846001600160a01b031614806124c357506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b806124e75750836001600160a01b03166124dc84610dd3565b6001600160a01b0316145b949350505050565b826001600160a01b03166125028261178c565b6001600160a01b0316146125285760405162461bcd60e51b8152600401610e6f90614200565b6001600160a01b03821661258a5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610e6f565b6125978383836001612c3d565b826001600160a01b03166125aa8261178c565b6001600160a01b0316146125d05760405162461bcd60e51b8152600401610e6f90614200565b600081815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260038552838620805460001901905590871680865283862080546001019055868652600290945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600c5460ff16156116375760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610e6f565b6002600e5414156126f95760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610e6f565b6002600e55565b600f548161270d600a5490565b6127179190614011565b11156127655760405162461bcd60e51b815260206004820152601960248201527f45786365656465642074686520737570706c79206c696d6974000000000000006044820152606401610e6f565b60005b81811015610f1057600061277b601f5490565b905061278b601f80546001019055565b6127958482612c51565b50806127a0816140d7565b915050612768565b61168f8133612c6b565b6127bc82826118c7565b610d3d576000828152600d602090815260408083206001600160a01b03851684529091529020805460ff191660011790556127f43390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b61284282826118c7565b15610d3d576000828152600d602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6128a7612cc4565b600c805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b6118b681612d0d565b6127106001600160601b03821611156129255760405162461bcd60e51b8152600401610e6f906141b6565b6001600160a01b03821661297b5760405162461bcd60e51b815260206004820152601b60248201527f455243323938313a20496e76616c696420706172616d657465727300000000006044820152606401610e6f565b6040805180820182526001600160a01b0393841681526001600160601b0392831660208083019182526000968752600790529190942093519051909116600160a01b029116179055565b600c80546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b612a27612660565b600c805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586128d43390565b816001600160a01b0316836001600160a01b03161415612abe5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610e6f565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b612b368484846124ef565b612b4284848484612db0565b61140d5760405162461bcd60e51b8152600401610e6f90614245565b606060108054610d5090613e4b565b60606000612b7a83612ebd565b600101905060008167ffffffffffffffff811115612b9a57612b9a613a91565b6040519080825280601f01601f191660200182016040528015612bc4576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a8504945084612bfd576115e8565b612bce565b600082612c0f8584612f95565b14949350505050565b60006001600160e01b0319821663780e9d6360e01b1480610d255750610d2582612fda565b612c45612660565b61140d84848484612fff565b610d3d82826040518060200160405280600081525061313f565b612c7582826118c7565b610d3d57612c8281613172565b612c8d836020613184565b604051602001612c9e929190614297565b60408051601f198184030181529082905262461bcd60e51b8252610e6f916004016138da565b600c5460ff166116375760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610e6f565b6000612d188261178c565b9050612d28816000846001612c3d565b612d318261178c565b600083815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0385168085526003845282852080546000190190558785526002909352818420805490911690555192935084927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b60006001600160a01b0384163b15612eb257604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612df490339089908890889060040161430c565b602060405180830381600087803b158015612e0e57600080fd5b505af1925050508015612e3e575060408051601f3d908101601f19168201909252612e3b91810190614349565b60015b612e98573d808015612e6c576040519150601f19603f3d011682016040523d82523d6000602084013e612e71565b606091505b508051612e905760405162461bcd60e51b8152600401610e6f90614245565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506124e7565b506001949350505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310612efc5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310612f28576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310612f4657662386f26fc10000830492506010015b6305f5e1008310612f5e576305f5e100830492506008015b6127108310612f7257612710830492506004015b60648310612f84576064830492506002015b600a8310610d255760010192915050565b600081815b84518110156115e857612fc682868381518110612fb957612fb96140c1565b6020026020010151613320565b915080612fd2816140d7565b915050612f9a565b60006001600160e01b0319821663152a902d60e11b1480610d255750610d258261334f565b61300b8484848461339f565b600181111561307a5760405162461bcd60e51b815260206004820152603560248201527f455243373231456e756d657261626c653a20636f6e7365637574697665207472604482015274185b9cd9995c9cc81b9bdd081cdd5c1c1bdc9d1959605a1b6064820152608401610e6f565b816001600160a01b0385166130d6576130d181600a80546000838152600b60205260408120829055600182018355919091527fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a80155565b6130f9565b836001600160a01b0316856001600160a01b0316146130f9576130f98582613427565b6001600160a01b03841661311557613110816134c4565b613138565b846001600160a01b0316846001600160a01b031614613138576131388482613573565b5050505050565b61314983836135b7565b6131566000848484612db0565b610f105760405162461bcd60e51b8152600401610e6f90614245565b6060610d256001600160a01b03831660145b60606000613193836002613eff565b61319e906002614011565b67ffffffffffffffff8111156131b6576131b6613a91565b6040519080825280601f01601f1916602001820160405280156131e0576020820181803683370190505b509050600360fc1b816000815181106131fb576131fb6140c1565b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061322a5761322a6140c1565b60200101906001600160f81b031916908160001a905350600061324e846002613eff565b613259906001614011565b90505b60018111156132d1576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061328d5761328d6140c1565b1a60f81b8282815181106132a3576132a36140c1565b60200101906001600160f81b031916908160001a90535060049490941c936132ca81614366565b905061325c565b508315611c9a5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610e6f565b600081831061333c576000828152602084905260409020611c9a565b6000838152602083905260409020611c9a565b60006001600160e01b031982166380ac58cd60e01b148061338057506001600160e01b03198216635b5e139f60e01b145b80610d2557506301ffc9a760e01b6001600160e01b0319831614610d25565b600181111561140d576001600160a01b038416156133e5576001600160a01b038416600090815260036020526040812080548392906133df90849061437d565b90915550505b6001600160a01b0383161561140d576001600160a01b0383166000908152600360205260408120805483929061341c908490614011565b909155505050505050565b60006001613434846117f9565b61343e919061437d565b600083815260096020526040902054909150808214613491576001600160a01b03841660009081526008602090815260408083208584528252808320548484528184208190558352600990915290208190555b5060009182526009602090815260408084208490556001600160a01b039094168352600881528383209183525290812055565b600a546000906134d69060019061437d565b6000838152600b6020526040812054600a80549394509092849081106134fe576134fe6140c1565b9060005260206000200154905080600a838154811061351f5761351f6140c1565b6000918252602080832090910192909255828152600b9091526040808220849055858252812055600a80548061355757613557614394565b6001900381819060005260206000200160009055905550505050565b600061357e836117f9565b6001600160a01b039093166000908152600860209081526040808320868452825280832085905593825260099052919091209190915550565b6001600160a01b03821661360d5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610e6f565b6000818152600260205260409020546001600160a01b0316156136725760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610e6f565b613680600083836001612c3d565b6000818152600260205260409020546001600160a01b0316156136e55760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610e6f565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82805461375c90613e4b565b90600052602060002090601f01602090048101928261377e57600085556137c4565b82601f1061379757805160ff19168380011785556137c4565b828001600101855582156137c4579182015b828111156137c45782518255916020019190600101906137a9565b506137d09291506137d4565b5090565b5b808211156137d057600081556001016137d5565b6001600160e01b03198116811461168f57600080fd5b60006020828403121561381157600080fd5b8135611c9a816137e9565b80356001600160a01b038116811461383357600080fd5b919050565b80356001600160601b038116811461383357600080fd5b6000806040838503121561386257600080fd5b61386b8361381c565b915061387960208401613838565b90509250929050565b60005b8381101561389d578181015183820152602001613885565b8381111561140d5750506000910152565b600081518084526138c6816020860160208601613882565b601f01601f19169290920160200192915050565b602081526000611c9a60208301846138ae565b6000602082840312156138ff57600080fd5b5035919050565b6000806040838503121561391957600080fd5b6139228361381c565b946020939093013593505050565b80356002811061383357600080fd5b60006020828403121561395157600080fd5b611c9a82613930565b6000806040838503121561396d57600080fd5b61392283613930565b60008060006060848603121561398b57600080fd5b6139948461381c565b92506139a26020850161381c565b9150604084013590509250925092565b600080604083850312156139c557600080fd5b50508035926020909101359150565b600080604083850312156139e757600080fd5b823591506138796020840161381c565b600060208284031215613a0957600080fd5b611c9a8261381c565b6020808252825182820181905260009190848201906040850190845b81811015613a4a57835183529284019291840191600101613a2e565b50909695505050505050565b803560ff8116811461383357600080fd5b60008060408385031215613a7a57600080fd5b613a838361381c565b915061387960208401613a56565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715613ad057613ad0613a91565b604052919050565b600067ffffffffffffffff831115613af257613af2613a91565b613b05601f8401601f1916602001613aa7565b9050828152838383011115613b1957600080fd5b828260208301376000602084830101529392505050565b600060208284031215613b4257600080fd5b813567ffffffffffffffff811115613b5957600080fd5b8201601f81018413613b6a57600080fd5b6124e784823560208401613ad8565b600080600060608486031215613b8e57600080fd5b83359250613b9e6020850161381c565b9150613bac60408501613838565b90509250925092565b600060208284031215613bc757600080fd5b611c9a82613a56565b801515811461168f57600080fd5b60008060408385031215613bf157600080fd5b613bfa8361381c565b91506020830135613c0a81613bd0565b809150509250929050565b60008060008060808587031215613c2b57600080fd5b613c348561381c565b9350613c426020860161381c565b925060408501359150606085013567ffffffffffffffff811115613c6557600080fd5b8501601f81018713613c7657600080fd5b613c8587823560208401613ad8565b91505092959194509250565b600082601f830112613ca257600080fd5b8135602067ffffffffffffffff821115613cbe57613cbe613a91565b8160051b613ccd828201613aa7565b9283528481018201928281019087851115613ce757600080fd5b83870192505b84831015613d0d57613cfe8361381c565b82529183019190830190613ced565b979650505050505050565b60008060408385031215613d2b57600080fd5b823567ffffffffffffffff811115613d4257600080fd5b613d4e85828601613c91565b95602094909401359450505050565b600080600060408486031215613d7257600080fd5b83359250602084013567ffffffffffffffff80821115613d9157600080fd5b818601915086601f830112613da557600080fd5b813581811115613db457600080fd5b8760208260051b8501011115613dc957600080fd5b6020830194508093505050509250925092565b60008060408385031215613def57600080fd5b613df88361381c565b91506138796020840161381c565b60008060408385031215613e1957600080fd5b823567ffffffffffffffff811115613e3057600080fd5b613e3c85828601613c91565b92505061387960208401613a56565b600181811c90821680613e5f57607f821691505b60208210811415613e8057634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052602160045260246000fd5b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615613f1957613f19613ee9565b500290565b600082613f3b57634e487b7160e01b600052601260045260246000fd5b500490565b60208082526017908201527f436f6e7472616374206973206e6f7420616c6c6f776564000000000000000000604082015260600190565b6020808252601d908201527f50726f787920636f6e7472616374206973206e6f7420616c6c6f776564000000604082015260600190565b60208082526018908201527f53616c6520686173206e6f742073746172746564207965740000000000000000604082015260600190565b60208082526012908201527153616c65206973206e6f742061637469766560701b604082015260600190565b6000821982111561402457614024613ee9565b500190565b60208082526018908201527f4d696e746564207265616368656420746865206c696d69740000000000000000604082015260600190565b602080825260119082015270115e18d959591959081b585e081b5a5b9d607a1b604082015260600190565b60006020828403121561409d57600080fd5b5051919050565b6000602082840312156140b657600080fd5b8151611c9a81613bd0565b634e487b7160e01b600052603260045260246000fd5b60006000198214156140eb576140eb613ee9565b5060010190565b6000845160206141058285838a01613882565b8551918401916141188184848a01613882565b8554920191600090600181811c908083168061413557607f831692505b85831081141561415357634e487b7160e01b85526022600452602485fd5b8080156141675760018114614178576141a5565b60ff198516885283880195506141a5565b60008b81526020902060005b8581101561419d5781548a820152908401908801614184565b505083880195505b50939b9a5050505050505050505050565b6020808252602a908201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646040820152692073616c65507269636560b01b606082015260800190565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152600083516142cf816017850160208801613882565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351614300816028840160208801613882565b01602801949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061433f908301846138ae565b9695505050505050565b60006020828403121561435b57600080fd5b8151611c9a816137e9565b60008161437557614375613ee9565b506000190190565b60008282101561438f5761438f613ee9565b500390565b634e487b7160e01b600052603160045260246000fdfea264697066735822122010d5de8bf8b7d349957f1be6addbc4a7b1bf554a6c883903f3649caa372cb62864736f6c63430008090033

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

00000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000005b8d800000000000000000000000000000000000000000000000000000000065af9be7000000000000000000000000428a8a0a62f4f5344ba7285bd8a24e36625267c3000000000000000000000000000000000000000000000000000000000000000e53746172736869705469636b657400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000025354000000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _name (string): StarshipTicket
Arg [1] : _symbol (string): ST
Arg [2] : _startId (uint256): 6000000
Arg [3] : _startTime (uint256): 1706007527
Arg [4] : _serverRole (address): 0x428A8a0A62F4F5344bA7285bd8a24e36625267C3

-----Encoded View---------------
9 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [2] : 00000000000000000000000000000000000000000000000000000000005b8d80
Arg [3] : 0000000000000000000000000000000000000000000000000000000065af9be7
Arg [4] : 000000000000000000000000428a8a0a62f4f5344ba7285bd8a24e36625267c3
Arg [5] : 000000000000000000000000000000000000000000000000000000000000000e
Arg [6] : 53746172736869705469636b6574000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [8] : 5354000000000000000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

95742:9875:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;105378:236;;;;;;;;;;-1:-1:-1;105378:236:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;105378:236:0;;;;;;;;103839:148;;;;;;;;;;-1:-1:-1;103839:148:0;;;;;:::i;:::-;;:::i;:::-;;38116:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;39628:171::-;;;;;;;;;;-1:-1:-1;39628:171:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;2317:32:1;;;2299:51;;2287:2;2272:18;39628:171:0;2153:203:1;39146:416:0;;;;;;;;;;-1:-1:-1;39146:416:0;;;;;:::i;:::-;;:::i;55404:113::-;;;;;;;;;;-1:-1:-1;55492:10:0;:17;55404:113;;;2766:25:1;;;2754:2;2739:18;55404:113:0;2620:177:1;96819:62:0;;;;;;;;;;;;96857:24;96819:62;;96424:44;;;;;;;;;;-1:-1:-1;96424:44:0;;;;;:::i;:::-;;;;;;;;;;;;;;96289:28;;;;;;;;;;;;;;;;103700:115;;;;;;;;;;-1:-1:-1;103700:115:0;;;;;:::i;:::-;;:::i;40328:335::-;;;;;;;;;;-1:-1:-1;40328:335:0;;;;;:::i;:::-;;:::i;72950:131::-;;;;;;;;;;-1:-1:-1;72950:131:0;;;;;:::i;:::-;73024:7;73051:12;;;:6;:12;;;;;:22;;;;72950:131;83818:442;;;;;;;;;;-1:-1:-1;83818:442:0;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;4579:32:1;;;4561:51;;4643:2;4628:18;;4621:34;;;;4534:18;83818:442:0;4387:274:1;98809:1007:0;;;;;;;;;;-1:-1:-1;98809:1007:0;;;;;:::i;:::-;;:::i;96125:25::-;;;;;;;;;;;;;;;;73391:147;;;;;;;;;;-1:-1:-1;73391:147:0;;;;;:::i;:::-;;:::i;55072:256::-;;;;;;;;;;-1:-1:-1;55072:256:0;;;;;:::i;:::-;;:::i;74535:218::-;;;;;;;;;;-1:-1:-1;74535:218:0;;;;;:::i;:::-;;:::i;101229:387::-;;;;;;;;;;-1:-1:-1;101229:387:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;104542:140::-;;;;;;;;;;;;;:::i;102538:65::-;;;;;;;;;;;;;:::i;102813:100::-;;;;;;;;;;-1:-1:-1;102813:100:0;;;;;:::i;:::-;;:::i;40734:185::-;;;;;;;;;;-1:-1:-1;40734:185:0;;;;;:::i;:::-;;:::i;81301:242::-;;;;;;;;;;-1:-1:-1;81301:242:0;;;;;:::i;:::-;;:::i;96605:77::-;;;;;;;;;;-1:-1:-1;96605:77:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;96025:25;;;;;;;;;;;;;;;;55594:233;;;;;;;;;;-1:-1:-1;55594:233:0;;;;;:::i;:::-;;:::i;96226:29::-;;;;;;;;;;;;;;;;103025:106;;;;;;;;;;-1:-1:-1;103025:106:0;;;;;:::i;:::-;;:::i;103583:109::-;;;;;;;;;;-1:-1:-1;103583:109:0;;;;;:::i;:::-;;:::i;102709:96::-;;;;;;;;;;-1:-1:-1;102709:96:0;;;;;:::i;:::-;;:::i;96157:28::-;;;;;;;;;;-1:-1:-1;96157:28:0;;;;-1:-1:-1;;;;;96157:28:0;;;102611:90;;;;;;;;;;-1:-1:-1;102611:90:0;;;;;:::i;:::-;;:::i;104094:206::-;;;;;;;;;;-1:-1:-1;104094:206:0;;;;;:::i;:::-;;:::i;62235:86::-;;;;;;;;;;-1:-1:-1;62306:7:0;;;;62235:86;;96326:41;;;;;;;;;;-1:-1:-1;96326:41:0;;;;;:::i;:::-;;;;;;;;;;;;;;37826:223;;;;;;;;;;-1:-1:-1;37826:223:0;;;;;:::i;:::-;;:::i;103359:104::-;;;;;;;;;;-1:-1:-1;103359:104:0;;;;;:::i;:::-;;:::i;96477:52::-;;;;;;;;;;-1:-1:-1;96477:52:0;;;;;:::i;:::-;;;;;;;;;;;;;;37557:207;;;;;;;;;;-1:-1:-1;37557:207:0;;;;;:::i;:::-;;:::i;64969:103::-;;;;;;;;;;;;;:::i;96374:43::-;;;;;;;;;;-1:-1:-1;96374:43:0;;;;;:::i;:::-;;;;;;;;;;;;;;103471:104;;;;;;;;;;-1:-1:-1;103471:104:0;;;;;:::i;:::-;;:::i;102469:61::-;;;;;;;;;;;;;:::i;104308:109::-;;;;;;;;;;-1:-1:-1;104308:109:0;;;;;:::i;:::-;;:::i;64321:87::-;;;;;;;;;;-1:-1:-1;64394:6:0;;;;;-1:-1:-1;;;;;64394:6:0;64321:87;;71423:147;;;;;;;;;;-1:-1:-1;71423:147:0;;;;;:::i;:::-;;:::i;38285:104::-;;;;;;;;;;;;;:::i;98044:757::-;;;;;;:::i;:::-;;:::i;70528:49::-;;;;;;;;;;-1:-1:-1;70528:49:0;70573:4;70528:49;;39871:155;;;;;;;;;;-1:-1:-1;39871:155:0;;;;;:::i;:::-;;:::i;103995:91::-;;;;;;;;;;;;;:::i;102046:127::-;;;;;;;;;;-1:-1:-1;102046:127:0;;;;;:::i;:::-;-1:-1:-1;;;;;102141:16:0;;;;102117:4;102141:16;;;:9;:16;;;;;;;;:24;;;;;;;;;;;;;;102046:127;96264:18;;;;;;;;;;-1:-1:-1;96264:18:0;;;;;;;;;;;8588:4:1;8576:17;;;8558:36;;8546:2;8531:18;96264::0;8416:184:1;40990:322:0;;;;;;;;;;-1:-1:-1;40990:322:0;;;;;:::i;:::-;;:::i;102921:96::-;;;;;;;;;;-1:-1:-1;102921:96:0;;;;;:::i;:::-;;:::i;103269:82::-;;;;;;;;;;-1:-1:-1;103269:82:0;;;;;:::i;:::-;;:::i;101624:288::-;;;;;;;;;;-1:-1:-1;101624:288:0;;;;;:::i;:::-;;:::i;104690:202::-;;;;;;;;;;;;;:::i;101027:194::-;;;;;;;;;;-1:-1:-1;101027:194:0;;;;;:::i;:::-;;:::i;99824:834::-;;;;;;;;;;-1:-1:-1;99824:834:0;;;;;:::i;:::-;;:::i;73831:149::-;;;;;;;;;;-1:-1:-1;73831:149:0;;;;;:::i;:::-;;:::i;96689:74::-;;;;;;;;;;-1:-1:-1;96689:74:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;103139:122;;;;;;;;;;-1:-1:-1;103139:122:0;;;;;:::i;:::-;;:::i;40097:164::-;;;;;;;;;;-1:-1:-1;40097:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;40218:25:0;;;40194:4;40218:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;40097:164;102181:264;;;;;;;;;;-1:-1:-1;102181:264:0;;;;;:::i;:::-;;:::i;65227:201::-;;;;;;;;;;-1:-1:-1;65227:201:0;;;;;:::i;:::-;;:::i;96192:27::-;;;;;;;;;;;;;;;;105378:236;105541:4;105570:36;105594:11;105570:23;:36::i;:::-;105563:43;105378:236;-1:-1:-1;;105378:236:0:o;103839:148::-;64207:13;:11;:13::i;:::-;103935:44:::1;103954:9;103965:13;103935:18;:44::i;:::-;103839:148:::0;;:::o;38116:100::-;38170:13;38203:5;38196:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38116:100;:::o;39628:171::-;39704:7;39724:23;39739:7;39724:14;:23::i;:::-;-1:-1:-1;39767:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;39767:24:0;;39628:171::o;39146:416::-;39227:13;39243:23;39258:7;39243:14;:23::i;:::-;39227:39;;39291:5;-1:-1:-1;;;;;39285:11:0;:2;-1:-1:-1;;;;;39285:11:0;;;39277:57;;;;-1:-1:-1;;;39277:57:0;;12384:2:1;39277:57:0;;;12366:21:1;12423:2;12403:18;;;12396:30;12462:34;12442:18;;;12435:62;-1:-1:-1;;;12513:18:1;;;12506:31;12554:19;;39277:57:0;;;;;;;;;19972:10;-1:-1:-1;;;;;39369:21:0;;;;:62;;-1:-1:-1;39394:37:0;39411:5;19972:10;40097:164;:::i;39394:37::-;39347:173;;;;-1:-1:-1;;;39347:173:0;;12786:2:1;39347:173:0;;;12768:21:1;12825:2;12805:18;;;12798:30;12864:34;12844:18;;;12837:62;12935:31;12915:18;;;12908:59;12984:19;;39347:173:0;12584:425:1;39347:173:0;39533:21;39542:2;39546:7;39533:8;:21::i;:::-;39216:346;39146:416;;:::o;103700:115::-;64207:13;:11;:13::i;:::-;103803:4:::1;103781:10;:19;103792:7;103781:19;;;;;;;;:::i;:::-;;;;;;;;;:::i;:::-;::::0;;::::1;::::0;::::1;::::0;;;;;;-1:-1:-1;103781:19:0;:26;-1:-1:-1;;103700:115:0:o;40328:335::-;40523:41;19972:10;40542:12;40556:7;40523:18;:41::i;:::-;40515:99;;;;-1:-1:-1;;;40515:99:0;;;;;;;:::i;:::-;40627:28;40637:4;40643:2;40647:7;40627:9;:28::i;83818:442::-;83915:7;83973:27;;;:17;:27;;;;;;;;83944:56;;;;;;;;;-1:-1:-1;;;;;83944:56:0;;;;;-1:-1:-1;;;83944:56:0;;;-1:-1:-1;;;;;83944:56:0;;;;;;;;83915:7;;84013:92;;-1:-1:-1;84064:29:0;;;;;;;;;84074:19;84064:29;-1:-1:-1;;;;;84064:29:0;;;;-1:-1:-1;;;84064:29:0;;-1:-1:-1;;;;;84064:29:0;;;;;84013:92;84155:23;;;;84117:21;;84626:5;;84142:36;;-1:-1:-1;;;;;84142:36:0;:10;:36;:::i;:::-;84141:58;;;;:::i;:::-;84220:16;;;;;-1:-1:-1;83818:442:0;;-1:-1:-1;;;;83818:442:0:o;98809:1007::-;61840:19;:17;:19::i;:::-;97653:10:::1;97706:17:::0;::::1;::::0;97752:9;;97744:45:::1;;;;-1:-1:-1::0;;;97744:45:0::1;;;;;;;:::i;:::-;97808:10;97822:9;97808:23;97800:65;;;;-1:-1:-1::0;;;97800:65:0::1;;;;;;;:::i;:::-;98930:13:::2;::::0;;104511:15;97960:27:::2;;97952:64;;;;-1:-1:-1::0;;;97952:64:0::2;;;;;;;:::i;:::-;80343:21:::3;:19;:21::i;:::-;99037:14:::4;::::0;99001:17:::4;::::0;99029:49:::4;;;;-1:-1:-1::0;;;99029:49:0::4;;;;;;;:::i;:::-;99097:13;::::0;-1:-1:-1;;;;;99097:13:0::4;99089:58;;;;-1:-1:-1::0;;;99089:58:0::4;;;;;;;:::i;:::-;99219:10;:20;99230:8;99219:20;;;;;;;;:::i;:::-;;;;;;;;;:::i;:::-;::::0;;::::4;::::0;;::::4;::::0;;;;;;;;-1:-1:-1;99219:20:0;;;;99188:10:::4;99166:33:::0;;:21:::4;:33:::0;;;;;99200:5:::4;::::0;::::4;;99166:40:::0;;;;;;;:49:::4;::::0;99209:6;;99166:49:::4;:::i;:::-;:73;;99158:110;;;;-1:-1:-1::0;;;99158:110:0::4;;;;;;;:::i;:::-;99319:7;:17;99327:8;99319:17;;;;;;;;:::i;:::-;;;;;;;;;:::i;:::-;;;;;;;;;;;;;99309:6;99287:9;:19;99297:8;99287:19;;;;;;;;:::i;:::-;;;;;;;;;:::i;:::-;;;;;;;;;;;;;:28;;;;:::i;:::-;:49;;99279:79;;;;-1:-1:-1::0;;;99279:79:0::4;;;;;;;:::i;:::-;99393:13;::::0;99434:14:::4;::::0;-1:-1:-1;;;;;99393:13:0;;::::4;::::0;99371:12:::4;::::0;99434:23:::4;::::0;99451:6;;99434:23:::4;:::i;:::-;99476:27;::::0;-1:-1:-1;;;99476:27:0;;99492:10:::4;99476:27;::::0;::::4;2299:51:1::0;99418:39:0;;-1:-1:-1;99418:39:0;;-1:-1:-1;;;;;99476:15:0;::::4;::::0;::::4;::::0;2272:18:1;;99476:27:0::4;;;;;;;;;;;;;;;;::::0;::::4;;;;;;;;;;;;::::0;::::4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:36;;99468:65;;;::::0;-1:-1:-1;;;99468:65:0;;16852:2:1;99468:65:0::4;::::0;::::4;16834:21:1::0;16891:2;16871:18;;;16864:30;-1:-1:-1;;;16910:18:1;;;16903:46;16966:18;;99468:65:0::4;16650:340:1::0;99468:65:0::4;99568:52;::::0;-1:-1:-1;;;99568:52:0;;99587:10:::4;99568:52;::::0;::::4;17235:34:1::0;99607:4:0::4;17285:18:1::0;;;17278:43;17337:18;;;17330:34;;;99554:11:0::4;::::0;-1:-1:-1;;;;;99568:18:0;::::4;::::0;::::4;::::0;17170::1;;99568:52:0::4;;;;;;;;;;;;;;;;;::::0;::::4;;;;;;;;;;;;::::0;::::4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;99554:66;;99635:6;99631:178;;;99681:6;99658:9;:19;99668:8;99658:19;;;;;;;;:::i;:::-;;;;;;;;;:::i;:::-;;;;;;;;;;;;;:29;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;;99724:10:0::4;99702:33;::::0;;;:21:::4;:33;::::0;;;;;;;99736:5:::4;::::0;::::4;;99702:40:::0;;;;;;;:50;;99746:6;;99702:33;:50:::4;::::0;99746:6;;99702:50:::4;:::i;:::-;::::0;;;-1:-1:-1;99767:30:0::4;::::0;-1:-1:-1;99778:10:0::4;99790:6:::0;99767:10:::4;:30::i;:::-;98972:844;;;;80387:20:::3;79781:1:::0;80907:7;:22;80724:213;80387:20:::3;97876:1:::2;97604:281:::1;;98809:1007:::0;:::o;73391:147::-;73024:7;73051:12;;;:6;:12;;;;;:22;;;71019:16;71030:4;71019:10;:16::i;:::-;73505:25:::1;73516:4;73522:7;73505:10;:25::i;55072:256::-:0;55169:7;55205:23;55222:5;55205:16;:23::i;:::-;55197:5;:31;55189:87;;;;-1:-1:-1;;;55189:87:0;;17827:2:1;55189:87:0;;;17809:21:1;17866:2;17846:18;;;17839:30;17905:34;17885:18;;;17878:62;-1:-1:-1;;;17956:18:1;;;17949:41;18007:19;;55189:87:0;17625:407:1;55189:87:0;-1:-1:-1;;;;;;55294:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;55072:256::o;74535:218::-;-1:-1:-1;;;;;74631:23:0;;19972:10;74631:23;74623:83;;;;-1:-1:-1;;;74623:83:0;;18239:2:1;74623:83:0;;;18221:21:1;18278:2;18258:18;;;18251:30;18317:34;18297:18;;;18290:62;-1:-1:-1;;;18368:18:1;;;18361:45;18423:19;;74623:83:0;18037:411:1;74623:83:0;74719:26;74731:4;74737:7;74719:11;:26::i;101229:387::-;101288:16;101317:15;101335;101345:4;101335:9;:15::i;:::-;101317:33;;101361:25;101403:7;101389:22;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;101389:22:0;;101361:50;;101437:9;101432:149;101456:7;101452:1;:11;101432:149;;;101485:16;101504:28;101524:4;101530:1;101504:19;:28::i;:::-;101485:47;;101561:8;101547;101556:1;101547:11;;;;;;;;:::i;:::-;;;;;;;;;;:22;-1:-1:-1;101465:3:0;;;;:::i;:::-;;;;101432:149;;;-1:-1:-1;101600:8:0;101229:387;-1:-1:-1;;;101229:387:0:o;104542:140::-;64207:13;:11;:13::i;:::-;104637:37:::1;::::0;104605:21:::1;::::0;104645:10:::1;::::0;104637:37;::::1;;;::::0;104605:21;;104590:12:::1;104637:37:::0;104590:12;104637:37;104605:21;104645:10;104637:37;::::1;;;;;;;;;;;;;::::0;::::1;;;;102538:65:::0;64207:13;:11;:13::i;:::-;102585:10:::1;:8;:10::i;:::-;102538:65::o:0;102813:100::-;64207:13;:11;:13::i;:::-;102883:14:::1;:22:::0;102813:100::o;40734:185::-;40872:39;40889:4;40895:2;40899:7;40872:39;;;;;;;;;;;;:16;:39::i;81301:242::-;81419:41;19972:10;81438:12;19892:98;81419:41;81411:99;;;;-1:-1:-1;;;81411:99:0;;;;;;;:::i;:::-;81521:14;81527:7;81521:5;:14::i;:::-;81301:242;:::o;55594:233::-;55669:7;55705:30;55492:10;:17;;55404:113;55705:30;55697:5;:38;55689:95;;;;-1:-1:-1;;;55689:95:0;;18927:2:1;55689:95:0;;;18909:21:1;18966:2;18946:18;;;18939:30;19005:34;18985:18;;;18978:62;-1:-1:-1;;;19056:18:1;;;19049:42;19108:19;;55689:95:0;18725:408:1;55689:95:0;55802:10;55813:5;55802:17;;;;;;;;:::i;:::-;;;;;;;;;55795:24;;55594:233;;;:::o;103025:106::-;64207:13;:11;:13::i;:::-;103098::::1;:25:::0;103025:106::o;103583:109::-;64207:13;:11;:13::i;:::-;103680:4:::1;103661:7;:16;103669:7;103661:16;;;;;;;;:::i;102709:96::-:0;64207:13;:11;:13::i;:::-;102777:12:::1;:20:::0;102709:96::o;102611:90::-;64207:13;:11;:13::i;:::-;102679:14;;::::1;::::0;:7:::1;::::0;:14:::1;::::0;::::1;::::0;::::1;:::i;104094:206::-:0;64207:13;:11;:13::i;:::-;104240:52:::1;104257:8;104267:9;104278:13;104240:16;:52::i;37826:223::-:0;37898:7;42713:16;;;:7;:16;;;;;;-1:-1:-1;;;;;42713:16:0;;37962:56;;;;-1:-1:-1;;;37962:56:0;;19340:2:1;37962:56:0;;;19322:21:1;19379:2;19359:18;;;19352:30;-1:-1:-1;;;19398:18:1;;;19391:54;19462:18;;37962:56:0;19138:348:1;103359:104:0;64207:13;:11;:13::i;:::-;103431:10:::1;:24:::0;103359:104::o;37557:207::-;37629:7;-1:-1:-1;;;;;37657:19:0;;37649:73;;;;-1:-1:-1;;;37649:73:0;;19693:2:1;37649:73:0;;;19675:21:1;19732:2;19712:18;;;19705:30;19771:34;19751:18;;;19744:62;-1:-1:-1;;;19822:18:1;;;19815:39;19871:19;;37649:73:0;19491:405:1;37649:73:0;-1:-1:-1;;;;;;37740:16:0;;;;;:9;:16;;;;;;;37557:207::o;64969:103::-;64207:13;:11;:13::i;:::-;65034:30:::1;65061:1;65034:18;:30::i;103471:104::-:0;64207:13;:11;:13::i;:::-;103543:10:::1;:24:::0;103471:104::o;102469:61::-;64207:13;:11;:13::i;:::-;102514:8:::1;:6;:8::i;104308:109::-:0;64207:13;:11;:13::i;:::-;86274:26;;;;:17;:26;;;;;86267:33;81301:242::o;71423:147::-;71509:4;71533:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;71533:29:0;;;;;;;;;;;;;;;71423:147::o;38285:104::-;38341:13;38374:7;38367:14;;;;;:::i;98044:757::-;61840:19;:17;:19::i;:::-;97653:10:::1;97706:17:::0;::::1;::::0;97752:9;;97744:45:::1;;;;-1:-1:-1::0;;;97744:45:0::1;;;;;;;:::i;:::-;97808:10;97822:9;97808:23;97800:65;;;;-1:-1:-1::0;;;97800:65:0::1;;;;;;;:::i;:::-;98176:13:::2;::::0;;104511:15;97960:27:::2;;97952:64;;;;-1:-1:-1::0;;;97952:64:0::2;;;;;;;:::i;:::-;80343:21:::3;:19;:21::i;:::-;98283:12:::4;::::0;98247:17:::4;::::0;98275:47:::4;;;;-1:-1:-1::0;;;98275:47:0::4;;;;;;;:::i;:::-;98394:10;:20;98405:8;98394:20;;;;;;;;:::i;:::-;;;;;;;;;:::i;:::-;::::0;;::::4;::::0;;::::4;::::0;;;;;;;;-1:-1:-1;98394:20:0;;;;98363:10:::4;98341:33:::0;;:21:::4;:33:::0;;;;;98375:5:::4;::::0;::::4;;98341:40:::0;;;;;;;:49:::4;::::0;98384:6;;98341:49:::4;:::i;:::-;:73;;98333:110;;;;-1:-1:-1::0;;;98333:110:0::4;;;;;;;:::i;:::-;98494:7;:17;98502:8;98494:17;;;;;;;;:::i;:::-;;;;;;;;;:::i;:::-;;;;;;;;;;;;;98484:6;98462:9;:19;98472:8;98462:19;;;;;;;;:::i;:::-;;;;;;;;;:::i;:::-;;;;;;;;;;;;;:28;;;;:::i;:::-;:49;;98454:79;;;;-1:-1:-1::0;;;98454:79:0::4;;;;;;;:::i;:::-;98554:13;98585:6;98570:12;;:21;;;;:::i;:::-;98554:37;;98623:5;98610:9;:18;;98602:47;;;::::0;-1:-1:-1;;;98602:47:0;;16852:2:1;98602:47:0::4;::::0;::::4;16834:21:1::0;16891:2;16871:18;;;16864:30;-1:-1:-1;;;16910:18:1;;;16903:46;16966:18;;98602:47:0::4;16650:340:1::0;98602:47:0::4;98685:6;98662:9;:19;98672:8;98662:19;;;;;;;;:::i;:::-;;;;;;;;;:::i;:::-;;;;;;;;;;;;;:29;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;;98724:10:0::4;98702:33;::::0;;;:21:::4;:33;::::0;;;;;;;98736:5:::4;::::0;::::4;;98702:40:::0;;;;;;;:50;;98746:6;;98702:33;:50:::4;::::0;98746:6;;98702:50:::4;:::i;:::-;::::0;;;-1:-1:-1;98763:30:0::4;::::0;-1:-1:-1;98774:10:0::4;98786:6:::0;98763:10:::4;:30::i;:::-;98218:583;;80387:20:::3;79781:1:::0;80907:7;:22;80724:213;39871:155;39966:52;19972:10;39999:8;40009;39966:18;:52::i;103995:91::-;64207:13;:11;:13::i;:::-;104055:23:::1;85386:19:::0;;85379:26;85318:95;40990:322;41164:41;19972:10;41197:7;41164:18;:41::i;:::-;41156:99;;;;-1:-1:-1;;;41156:99:0;;;;;;;:::i;:::-;41266:38;41280:4;41286:2;41290:7;41299:4;41266:13;:38::i;102921:96::-;64207:13;:11;:13::i;:::-;102989::::1;:20:::0;;-1:-1:-1;;;;;;102989:20:0::1;-1:-1:-1::0;;;;;102989:20:0;;;::::1;::::0;;;::::1;::::0;;102921:96::o;103269:82::-;64207:13;:11;:13::i;:::-;103329:5:::1;:14:::0;;-1:-1:-1;;103329:14:0::1;;::::0;;;::::1;::::0;;;::::1;::::0;;103269:82::o;101624:288::-;101697:13;101723:23;101738:7;101723:14;:23::i;:::-;101757:18;101778:10;:8;:10::i;:::-;101757:31;;101830:1;101812:7;101806:21;;;;;:::i;:::-;;;:25;:98;;;;;;;;;;;;;;;;;101858:4;101864:18;:7;:16;:18::i;:::-;101884:13;101841:57;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;101806:98;101799:105;101624:288;-1:-1:-1;;;101624:288:0:o;104690:202::-;64207:13;:11;:13::i;:::-;104765::::1;::::0;104808:30:::1;::::0;-1:-1:-1;;;104808:30:0;;104832:4:::1;104808:30;::::0;::::1;2299:51:1::0;-1:-1:-1;;;;;104765:13:0;;::::1;::::0;104743:12:::1;::::0;104765:13;;104808:15:::1;::::0;2272:18:1;;104808:30:0::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;104849:35;::::0;-1:-1:-1;;;104849:35:0;;104864:10:::1;104849:35;::::0;::::1;4561:51:1::0;4628:18;;;4621:34;;;104790:48:0;;-1:-1:-1;;;;;;104849:14:0;::::1;::::0;::::1;::::0;4534:18:1;;104849:35:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;101027:194::-:0;64207:13;:11;:13::i;:::-;101121:9:::1;101116:98;101140:5;:12;101136:1;:16;101116:98;;;101174:28;101185:5;101191:1;101185:8;;;;;;;;:::i;:::-;;;;;;;101195:6;101174:10;:28::i;:::-;101154:3:::0;::::1;::::0;::::1;:::i;:::-;;;;101116:98;;99824:834:::0;61840:19;:17;:19::i;:::-;97653:10:::1;97706:17:::0;::::1;::::0;97752:9;;97744:45:::1;;;;-1:-1:-1::0;;;97744:45:0::1;;;;;;;:::i;:::-;97808:10;97822:9;97808:23;97800:65;;;;-1:-1:-1::0;;;97800:65:0::1;;;;;;;:::i;:::-;99981:13:::2;::::0;;104511:15;97960:27:::2;;97952:64;;;;-1:-1:-1::0;;;97952:64:0::2;;;;;;;:::i;:::-;80343:21:::3;:19;:21::i;:::-;100147:20:::0;;100116:10:::4;100034:15;100091:36:::0;;;:24:::4;100147:20;100091:36:::0;;;100147:20;100091:36;;;100128:5:::4;::::0;::::4;;100091:43:::0;;;;;;;;100034:15;;100147:20;100091:52:::4;::::0;100137:6;;100091:52:::4;:::i;:::-;:76;;100083:113;;;;-1:-1:-1::0;;;100083:113:0::4;;;;;;;:::i;:::-;100247:7;:17;100255:8;100247:17;;;;;;;;:::i;:::-;;;;;;;;;:::i;:::-;;;;;;;;;;;;;100237:6;100215:9;:19;100225:8;100215:19;;;;;;;;:::i;:::-;;;;;;;;;:::i;:::-;;;;;;;;;;;;;:28;;;;:::i;:::-;:49;;100207:79;;;;-1:-1:-1::0;;;100207:79:0::4;;;;;;;:::i;:::-;100324:28;::::0;-1:-1:-1;;100341:10:0::4;21708:2:1::0;21704:15;21700:53;100324:28:0::4;::::0;::::4;21688:66:1::0;100299:12:0::4;::::0;21770::1;;100324:28:0::4;;;;;;;;;;;;100314:39;;;;;;100299:54;;100368:50;100387:12;;100368:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::4;::::0;;;;-1:-1:-1;;100401:10:0::4;::::0;;-1:-1:-1;100413:4:0;;-1:-1:-1;100368:18:0::4;:50::i;:::-;100364:140;;100453:10;100443:21;::::0;;;:9:::4;:21;::::0;;;;;;;100465:5:::4;::::0;::::4;::::0;;::::4;100443:28:::0;;;;;;;;::::4;100435:57;;;::::0;-1:-1:-1;;;100435:57:0;;21995:2:1;100435:57:0::4;::::0;::::4;21977:21:1::0;22034:2;22014:18;;;22007:30;-1:-1:-1;;;22053:18:1;;;22046:46;22109:18;;100435:57:0::4;21793:340:1::0;100435:57:0::4;100539:6;100516:9;:19;100526:8;100516:19;;;;;;;;:::i;:::-;;;;;;;;;:::i;:::-;;;;;;;;;;;;;:29;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;;100581:10:0::4;100556:36;::::0;;;:24:::4;:36;::::0;;;;;;;100593:5:::4;::::0;::::4;;100556:43:::0;;;;;;;:53;;100603:6;;100556:36;:53:::4;::::0;100603:6;;100556:53:::4;:::i;:::-;::::0;;;-1:-1:-1;100620:30:0::4;::::0;-1:-1:-1;100631:10:0::4;100643:6:::0;100620:10:::4;:30::i;:::-;100023:635;;80387:20:::3;79781:1:::0;80907:7;:22;80724:213;80387:20:::3;97876:1:::2;97604:281:::1;;99824:834:::0;;;:::o;73831:149::-;73024:7;73051:12;;;:6;:12;;;;;:22;;;71019:16;71030:4;71019:10;:16::i;:::-;73946:26:::1;73958:4;73964:7;73946:11;:26::i;103139:122::-:0;64207:13;:11;:13::i;:::-;103223:30;;::::1;::::0;:13:::1;::::0;:30:::1;::::0;::::1;::::0;::::1;:::i;102181:264::-:0;96857:24;71019:16;71030:4;71019:10;:16::i;:::-;102290:6:::1;102285:153;102306:9;:16;102302:1;:20;102285:153;;;102344:27;::::0;::::1;;::::0;;;:19:::1;:27;::::0;;;;:29;;;::::1;::::0;::::1;:::i;:::-;;;;;;102422:4;102388:9;:23;102398:9;102408:1;102398:12;;;;;;;;:::i;:::-;;::::0;;::::1;::::0;;;;;;;-1:-1:-1;;;;;102388:23:0::1;::::0;;;;::::1;::::0;;;;;;;;-1:-1:-1;102388:23:0;;;:31:::1;::::0;::::1;::::0;;;;;;;:38;;-1:-1:-1;;102388:38:0::1;::::0;::::1;;::::0;;;::::1;::::0;;102324:3;::::1;::::0;::::1;:::i;:::-;;;;102285:153;;65227:201:::0;64207:13;:11;:13::i;:::-;-1:-1:-1;;;;;65316:22:0;::::1;65308:73;;;::::0;-1:-1:-1;;;65308:73:0;;22340:2:1;65308:73:0::1;::::0;::::1;22322:21:1::0;22379:2;22359:18;;;22352:30;22418:34;22398:18;;;22391:62;-1:-1:-1;;;22469:18:1;;;22462:36;22515:19;;65308:73:0::1;22138:402:1::0;65308:73:0::1;65392:28;65411:8;65392:18;:28::i;71127:204::-:0;71212:4;-1:-1:-1;;;;;;71236:47:0;;-1:-1:-1;;;71236:47:0;;:87;;;71287:36;71311:11;71287:23;:36::i;64486:132::-;64394:6;;-1:-1:-1;;;;;64394:6:0;;;;;19972:10;64550:23;64542:68;;;;-1:-1:-1;;;64542:68:0;;22747:2:1;64542:68:0;;;22729:21:1;;;22766:18;;;22759:30;22825:34;22805:18;;;22798:62;22877:18;;64542:68:0;22545:356:1;84910:332:0;84626:5;-1:-1:-1;;;;;85013:33:0;;;;85005:88;;;;-1:-1:-1;;;85005:88:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;85112:22:0;;85104:60;;;;-1:-1:-1;;;85104:60:0;;23519:2:1;85104:60:0;;;23501:21:1;23558:2;23538:18;;;23531:30;23597:27;23577:18;;;23570:55;23642:18;;85104:60:0;23317:349:1;85104:60:0;85199:35;;;;;;;;;-1:-1:-1;;;;;85199:35:0;;;;;;-1:-1:-1;;;;;85199:35:0;;;;;;;;;;-1:-1:-1;;;85177:57:0;;;;:19;:57;84910:332::o;49447:135::-;43115:4;42713:16;;;:7;:16;;;;;;-1:-1:-1;;;;;42713:16:0;49521:53;;;;-1:-1:-1;;;49521:53:0;;19340:2:1;49521:53:0;;;19322:21:1;19379:2;19359:18;;;19352:30;-1:-1:-1;;;19398:18:1;;;19391:54;19462:18;;49521:53:0;19138:348:1;48726:174:0;48801:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;48801:29:0;-1:-1:-1;;;;;48801:29:0;;;;;;;;:24;;48855:23;48801:24;48855:14;:23::i;:::-;-1:-1:-1;;;;;48846:46:0;;;;;;;;;;;48726:174;;:::o;43345:264::-;43438:4;43455:13;43471:23;43486:7;43471:14;:23::i;:::-;43455:39;;43524:5;-1:-1:-1;;;;;43513:16:0;:7;-1:-1:-1;;;;;43513:16:0;;:52;;;-1:-1:-1;;;;;;40218:25:0;;;40194:4;40218:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;43533:32;43513:87;;;;43593:7;-1:-1:-1;;;;;43569:31:0;:20;43581:7;43569:11;:20::i;:::-;-1:-1:-1;;;;;43569:31:0;;43513:87;43505:96;43345:264;-1:-1:-1;;;;43345:264:0:o;47344:1263::-;47503:4;-1:-1:-1;;;;;47476:31:0;:23;47491:7;47476:14;:23::i;:::-;-1:-1:-1;;;;;47476:31:0;;47468:81;;;;-1:-1:-1;;;47468:81:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;47568:16:0;;47560:65;;;;-1:-1:-1;;;47560:65:0;;24279:2:1;47560:65:0;;;24261:21:1;24318:2;24298:18;;;24291:30;24357:34;24337:18;;;24330:62;-1:-1:-1;;;24408:18:1;;;24401:34;24452:19;;47560:65:0;24077:400:1;47560:65:0;47638:42;47659:4;47665:2;47669:7;47678:1;47638:20;:42::i;:::-;47810:4;-1:-1:-1;;;;;47783:31:0;:23;47798:7;47783:14;:23::i;:::-;-1:-1:-1;;;;;47783:31:0;;47775:81;;;;-1:-1:-1;;;47775:81:0;;;;;;;:::i;:::-;47928:24;;;;:15;:24;;;;;;;;47921:31;;-1:-1:-1;;;;;;47921:31:0;;;;;;-1:-1:-1;;;;;48404:15:0;;;;;;:9;:15;;;;;:20;;-1:-1:-1;;48404:20:0;;;48439:13;;;;;;;;;:18;;47921:31;48439:18;;;48479:16;;;:7;:16;;;;;;:21;;;;;;;;;;48518:27;;47944:7;;48518:27;;;39216:346;39146:416;;:::o;62394:108::-;62306:7;;;;62464:9;62456:38;;;;-1:-1:-1;;;62456:38:0;;24684:2:1;62456:38:0;;;24666:21:1;24723:2;24703:18;;;24696:30;-1:-1:-1;;;24742:18:1;;;24735:46;24798:18;;62456:38:0;24482:340:1;80423:293:0;79825:1;80557:7;;:19;;80549:63;;;;-1:-1:-1;;;80549:63:0;;25029:2:1;80549:63:0;;;25011:21:1;25068:2;25048:18;;;25041:30;25107:33;25087:18;;;25080:61;25158:18;;80549:63:0;24827:355:1;80549:63:0;79825:1;80690:7;:18;80423:293::o;100666:353::-;100771:10;;100760:7;100744:13;55492:10;:17;;55404:113;100744:13;:23;;;;:::i;:::-;:37;;100736:75;;;;-1:-1:-1;;;100736:75:0;;25389:2:1;100736:75:0;;;25371:21:1;25428:2;25408:18;;;25401:30;25467:27;25447:18;;;25440:55;25512:18;;100736:75:0;25187:349:1;100736:75:0;100829:9;100824:188;100848:7;100844:1;:11;100824:188;;;100877:15;100895:25;:15;77646:14;;77554:114;100895:25;100877:43;;100935:27;:15;77765:19;;77783:1;77765:19;;;77676:127;100935:27;100977:23;100987:3;100992:7;100977:9;:23::i;:::-;-1:-1:-1;100857:3:0;;;;:::i;:::-;;;;100824:188;;71874:105;71941:30;71952:4;19972:10;71941;:30::i;76132:238::-;76216:22;76224:4;76230:7;76216;:22::i;:::-;76211:152;;76255:12;;;;:6;:12;;;;;;;;-1:-1:-1;;;;;76255:29:0;;;;;;;;;:36;;-1:-1:-1;;76255:36:0;76287:4;76255:36;;;76338:12;19972:10;;19892:98;76338:12;-1:-1:-1;;;;;76311:40:0;76329:7;-1:-1:-1;;;;;76311:40:0;76323:4;76311:40;;;;;;;;;;76132:238;;:::o;76550:239::-;76634:22;76642:4;76648:7;76634;:22::i;:::-;76630:152;;;76705:5;76673:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;76673:29:0;;;;;;;;;;:37;;-1:-1:-1;;76673:37:0;;;76730:40;19972:10;;76673:12;;76730:40;;76705:5;76730:40;76550:239;;:::o;63090:120::-;62099:16;:14;:16::i;:::-;63149:7:::1;:15:::0;;-1:-1:-1;;63149:15:0::1;::::0;;63180:22:::1;19972:10:::0;63189:12:::1;63180:22;::::0;-1:-1:-1;;;;;2317:32:1;;;2299:51;;2287:2;2272:18;63180:22:0::1;;;;;;;63090:120::o:0;105235:135::-;105304:20;105316:7;105304:11;:20::i;85693:390::-;84626:5;-1:-1:-1;;;;;85845:33:0;;;;85837:88;;;;-1:-1:-1;;;85837:88:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;85944:22:0;;85936:62;;;;-1:-1:-1;;;85936:62:0;;25743:2:1;85936:62:0;;;25725:21:1;25782:2;25762:18;;;25755:30;25821:29;25801:18;;;25794:57;25868:18;;85936:62:0;25541:351:1;85936:62:0;86040:35;;;;;;;;-1:-1:-1;;;;;86040:35:0;;;;;-1:-1:-1;;;;;86040:35:0;;;;;;;;;;-1:-1:-1;86011:26:0;;;:17;:26;;;;;;:64;;;;;;;-1:-1:-1;;;86011:64:0;;;;;;85693:390::o;65588:191::-;65681:6;;;-1:-1:-1;;;;;65698:17:0;;;65681:6;65698:17;;;-1:-1:-1;;;;;;65698:17:0;;;;;;65731:40;;65681:6;;;;;;;;65731:40;;65662:16;;65731:40;65651:128;65588:191;:::o;62831:118::-;61840:19;:17;:19::i;:::-;62891:7:::1;:14:::0;;-1:-1:-1;;62891:14:0::1;62901:4;62891:14;::::0;;62921:20:::1;62928:12;19972:10:::0;;19892:98;49043:315;49198:8;-1:-1:-1;;;;;49189:17:0;:5;-1:-1:-1;;;;;49189:17:0;;;49181:55;;;;-1:-1:-1;;;49181:55:0;;26099:2:1;49181:55:0;;;26081:21:1;26138:2;26118:18;;;26111:30;26177:27;26157:18;;;26150:55;26222:18;;49181:55:0;25897:349:1;49181:55:0;-1:-1:-1;;;;;49247:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;49247:46:0;;;;;;;;;;49309:41;;540::1;;;49309::0;;513:18:1;49309:41:0;;;;;;;49043:315;;;:::o;42193:313::-;42349:28;42359:4;42365:2;42369:7;42349:9;:28::i;:::-;42396:47;42419:4;42425:2;42429:7;42438:4;42396:22;:47::i;:::-;42388:110;;;;-1:-1:-1;;;42388:110:0;;;;;;;:::i;101920:100::-;101972:13;102005:7;101998:14;;;;;:::i;33151:716::-;33207:13;33258:14;33275:17;33286:5;33275:10;:17::i;:::-;33295:1;33275:21;33258:38;;33311:20;33345:6;33334:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;33334:18:0;-1:-1:-1;33311:41:0;-1:-1:-1;33476:28:0;;;33492:2;33476:28;33533:288;-1:-1:-1;;33565:5:0;-1:-1:-1;;;33702:2:0;33691:14;;33686:30;33565:5;33673:44;33763:2;33754:11;;;-1:-1:-1;33788:10:0;33784:21;;33800:5;;33784:21;33533:288;;87376:190;87501:4;87554;87525:25;87538:5;87545:4;87525:12;:25::i;:::-;:33;;87376:190;-1:-1:-1;;;;87376:190:0:o;54764:224::-;54866:4;-1:-1:-1;;;;;;54890:50:0;;-1:-1:-1;;;54890:50:0;;:90;;;54944:36;54968:11;54944:23;:36::i;104900:257::-;61840:19;:17;:19::i;:::-;105093:56:::1;105120:4;105126:2;105130:7;105139:9;105093:26;:56::i;43951:110::-:0;44027:26;44037:2;44041:7;44027:26;;;;;;;;;;;;:9;:26::i;72269:492::-;72358:22;72366:4;72372:7;72358;:22::i;:::-;72353:401;;72546:28;72566:7;72546:19;:28::i;:::-;72647:38;72675:4;72682:2;72647:19;:38::i;:::-;72451:257;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;72451:257:0;;;;;;;;;;-1:-1:-1;;;72397:345:0;;;;;;;:::i;62579:108::-;62306:7;;;;62638:41;;;;-1:-1:-1;;;62638:41:0;;27663:2:1;62638:41:0;;;27645:21:1;27702:2;27682:18;;;27675:30;-1:-1:-1;;;27721:18:1;;;27714:50;27781:18;;62638:41:0;27461:344:1;46224:783:0;46284:13;46300:23;46315:7;46300:14;:23::i;:::-;46284:39;;46336:51;46357:5;46372:1;46376:7;46385:1;46336:20;:51::i;:::-;46500:23;46515:7;46500:14;:23::i;:::-;46571:24;;;;:15;:24;;;;;;;;46564:31;;-1:-1:-1;;;;;;46564:31:0;;;;;;-1:-1:-1;;;;;46816:16:0;;;;;:9;:16;;;;;:21;;-1:-1:-1;;46816:21:0;;;46866:16;;;:7;:16;;;;;;46859:23;;;;;;;46900:36;46492:31;;-1:-1:-1;46587:7:0;;46900:36;;46571:24;;46900:36;103839:148;;:::o;50146:853::-;50300:4;-1:-1:-1;;;;;50321:13:0;;11425:19;:23;50317:675;;50357:71;;-1:-1:-1;;;50357:71:0;;-1:-1:-1;;;;;50357:36:0;;;;;:71;;19972:10;;50408:4;;50414:7;;50423:4;;50357:71;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;50357:71:0;;;;;;;;-1:-1:-1;;50357:71:0;;;;;;;;;;;;:::i;:::-;;;50353:584;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;50598:13:0;;50594:328;;50641:60;;-1:-1:-1;;;50641:60:0;;;;;;;:::i;50594:328::-;50872:6;50866:13;50857:6;50853:2;50849:15;50842:38;50353:584;-1:-1:-1;;;;;;50479:51:0;-1:-1:-1;;;50479:51:0;;-1:-1:-1;50472:58:0;;50317:675;-1:-1:-1;50976:4:0;50146:853;;;;;;:::o;30146:922::-;30199:7;;-1:-1:-1;;;30277:15:0;;30273:102;;-1:-1:-1;;;30313:15:0;;;-1:-1:-1;30357:2:0;30347:12;30273:102;30402:6;30393:5;:15;30389:102;;30438:6;30429:15;;;-1:-1:-1;30473:2:0;30463:12;30389:102;30518:6;30509:5;:15;30505:102;;30554:6;30545:15;;;-1:-1:-1;30589:2:0;30579:12;30505:102;30634:5;30625;:14;30621:99;;30669:5;30660:14;;;-1:-1:-1;30703:1:0;30693:11;30621:99;30747:5;30738;:14;30734:99;;30782:5;30773:14;;;-1:-1:-1;30816:1:0;30806:11;30734:99;30860:5;30851;:14;30847:99;;30895:5;30886:14;;;-1:-1:-1;30929:1:0;30919:11;30847:99;30973:5;30964;:14;30960:66;;31009:1;30999:11;31054:6;30146:922;-1:-1:-1;;30146:922:0:o;88243:296::-;88326:7;88369:4;88326:7;88384:118;88408:5;:12;88404:1;:16;88384:118;;;88457:33;88467:12;88481:5;88487:1;88481:8;;;;;;;;:::i;:::-;;;;;;;88457:9;:33::i;:::-;88442:48;-1:-1:-1;88422:3:0;;;;:::i;:::-;;;;88384:118;;83548:215;83650:4;-1:-1:-1;;;;;;83674:41:0;;-1:-1:-1;;;83674:41:0;;:81;;;83719:36;83743:11;83719:23;:36::i;55901:915::-;56078:61;56105:4;56111:2;56115:12;56129:9;56078:26;:61::i;:::-;56168:1;56156:9;:13;56152:222;;;56299:63;;-1:-1:-1;;;56299:63:0;;28760:2:1;56299:63:0;;;28742:21:1;28799:2;28779:18;;;28772:30;28838:34;28818:18;;;28811:62;-1:-1:-1;;;28889:18:1;;;28882:51;28950:19;;56299:63:0;28558:417:1;56152:222:0;56404:12;-1:-1:-1;;;;;56433:18:0;;56429:187;;56468:40;56500:7;57643:10;:17;;57616:24;;;;:15;:24;;;;;:44;;;57671:24;;;;;;;;;;;;57539:164;56468:40;56429:187;;;56538:2;-1:-1:-1;;;;;56530:10:0;:4;-1:-1:-1;;;;;56530:10:0;;56526:90;;56557:47;56590:4;56596:7;56557:32;:47::i;:::-;-1:-1:-1;;;;;56630:16:0;;56626:183;;56663:45;56700:7;56663:36;:45::i;:::-;56626:183;;;56736:4;-1:-1:-1;;;;;56730:10:0;:2;-1:-1:-1;;;;;56730:10:0;;56726:83;;56757:40;56785:2;56789:7;56757:27;:40::i;:::-;56067:749;55901:915;;;;:::o;44288:319::-;44417:18;44423:2;44427:7;44417:5;:18::i;:::-;44468:53;44499:1;44503:2;44507:7;44516:4;44468:22;:53::i;:::-;44446:153;;;;-1:-1:-1;;;44446:153:0;;;;;;;:::i;34887:151::-;34945:13;34978:52;-1:-1:-1;;;;;34990:22:0;;33042:2;34283:447;34358:13;34384:19;34416:10;34420:6;34416:1;:10;:::i;:::-;:14;;34429:1;34416:14;:::i;:::-;34406:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;34406:25:0;;34384:47;;-1:-1:-1;;;34442:6:0;34449:1;34442:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;34442:15:0;;;;;;;;;-1:-1:-1;;;34468:6:0;34475:1;34468:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;34468:15:0;;;;;;;;-1:-1:-1;34499:9:0;34511:10;34515:6;34511:1;:10;:::i;:::-;:14;;34524:1;34511:14;:::i;:::-;34499:26;;34494:131;34531:1;34527;:5;34494:131;;;-1:-1:-1;;;34575:5:0;34583:3;34575:11;34566:21;;;;;;;:::i;:::-;;;;34554:6;34561:1;34554:9;;;;;;;;:::i;:::-;;;;:33;-1:-1:-1;;;;;34554:33:0;;;;;;;;-1:-1:-1;34612:1:0;34602:11;;;;;34534:3;;;:::i;:::-;;;34494:131;;;-1:-1:-1;34643:10:0;;34635:55;;;;-1:-1:-1;;;34635:55:0;;29323:2:1;34635:55:0;;;29305:21:1;;;29342:18;;;29335:30;29401:34;29381:18;;;29374:62;29453:18;;34635:55:0;29121:356:1;95283:149:0;95346:7;95377:1;95373;:5;:51;;95508:13;95602:15;;;95638:4;95631:15;;;95685:4;95669:21;;95373:51;;;95508:13;95602:15;;;95638:4;95631:15;;;95685:4;95669:21;;95381:20;95440:268;37188:305;37290:4;-1:-1:-1;;;;;;37327:40:0;;-1:-1:-1;;;37327:40:0;;:105;;-1:-1:-1;;;;;;;37384:48:0;;-1:-1:-1;;;37384:48:0;37327:105;:158;;;-1:-1:-1;;;;;;;;;;35879:40:0;;;37449:36;35770:157;51731:410;51921:1;51909:9;:13;51905:229;;;-1:-1:-1;;;;;51943:18:0;;;51939:87;;-1:-1:-1;;;;;51982:15:0;;;;;;:9;:15;;;;;:28;;52001:9;;51982:15;:28;;52001:9;;51982:28;:::i;:::-;;;;-1:-1:-1;;51939:87:0;-1:-1:-1;;;;;52044:16:0;;;52040:83;;-1:-1:-1;;;;;52081:13:0;;;;;;:9;:13;;;;;:26;;52098:9;;52081:13;:26;;52098:9;;52081:26;:::i;:::-;;;;-1:-1:-1;;51731:410:0;;;;:::o;58330:988::-;58596:22;58646:1;58621:22;58638:4;58621:16;:22::i;:::-;:26;;;;:::i;:::-;58658:18;58679:26;;;:17;:26;;;;;;58596:51;;-1:-1:-1;58812:28:0;;;58808:328;;-1:-1:-1;;;;;58879:18:0;;58857:19;58879:18;;;:12;:18;;;;;;;;:34;;;;;;;;;58930:30;;;;;;:44;;;59047:30;;:17;:30;;;;;:43;;;58808:328;-1:-1:-1;59232:26:0;;;;:17;:26;;;;;;;;59225:33;;;-1:-1:-1;;;;;59276:18:0;;;;;:12;:18;;;;;:34;;;;;;;59269:41;58330:988::o;59613:1079::-;59891:10;:17;59866:22;;59891:21;;59911:1;;59891:21;:::i;:::-;59923:18;59944:24;;;:15;:24;;;;;;60317:10;:26;;59866:46;;-1:-1:-1;59944:24:0;;59866:46;;60317:26;;;;;;:::i;:::-;;;;;;;;;60295:48;;60381:11;60356:10;60367;60356:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;60461:28;;;:15;:28;;;;;;;:41;;;60633:24;;;;;60626:31;60668:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;59684:1008;;;59613:1079;:::o;57117:221::-;57202:14;57219:20;57236:2;57219:16;:20::i;:::-;-1:-1:-1;;;;;57250:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;57295:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;57117:221:0:o;44943:942::-;-1:-1:-1;;;;;45023:16:0;;45015:61;;;;-1:-1:-1;;;45015:61:0;;29946:2:1;45015:61:0;;;29928:21:1;;;29965:18;;;29958:30;30024:34;30004:18;;;29997:62;30076:18;;45015:61:0;29744:356:1;45015:61:0;43115:4;42713:16;;;:7;:16;;;;;;-1:-1:-1;;;;;42713:16:0;43139:31;45087:58;;;;-1:-1:-1;;;45087:58:0;;30307:2:1;45087:58:0;;;30289:21:1;30346:2;30326:18;;;30319:30;30385;30365:18;;;30358:58;30433:18;;45087:58:0;30105:352:1;45087:58:0;45158:48;45187:1;45191:2;45195:7;45204:1;45158:20;:48::i;:::-;43115:4;42713:16;;;:7;:16;;;;;;-1:-1:-1;;;;;42713:16:0;43139:31;45296:58;;;;-1:-1:-1;;;45296:58:0;;30307:2:1;45296:58:0;;;30289:21:1;30346:2;30326:18;;;30319:30;30385;30365:18;;;30358:58;30433:18;;45296:58:0;30105:352:1;45296:58:0;-1:-1:-1;;;;;45703:13:0;;;;;;:9;:13;;;;;;;;:18;;45720:1;45703:18;;;45745:16;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;45745:21:0;;;;;45784:33;45753:7;;45703:13;;45784:33;;45703:13;;45784:33;103839:148;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:131:1;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:173::-;660:20;;-1:-1:-1;;;;;709:31:1;;699:42;;689:70;;755:1;752;745:12;689:70;592:173;;;:::o;770:179::-;837:20;;-1:-1:-1;;;;;886:38:1;;876:49;;866:77;;939:1;936;929:12;954:258;1021:6;1029;1082:2;1070:9;1061:7;1057:23;1053:32;1050:52;;;1098:1;1095;1088:12;1050:52;1121:29;1140:9;1121:29;:::i;:::-;1111:39;;1169:37;1202:2;1191:9;1187:18;1169:37;:::i;:::-;1159:47;;954:258;;;;;:::o;1217:::-;1289:1;1299:113;1313:6;1310:1;1307:13;1299:113;;;1389:11;;;1383:18;1370:11;;;1363:39;1335:2;1328:10;1299:113;;;1430:6;1427:1;1424:13;1421:48;;;-1:-1:-1;;1465:1:1;1447:16;;1440:27;1217:258::o;1480:::-;1522:3;1560:5;1554:12;1587:6;1582:3;1575:19;1603:63;1659:6;1652:4;1647:3;1643:14;1636:4;1629:5;1625:16;1603:63;:::i;:::-;1720:2;1699:15;-1:-1:-1;;1695:29:1;1686:39;;;;1727:4;1682:50;;1480:258;-1:-1:-1;;1480:258:1:o;1743:220::-;1892:2;1881:9;1874:21;1855:4;1912:45;1953:2;1942:9;1938:18;1930:6;1912:45;:::i;1968:180::-;2027:6;2080:2;2068:9;2059:7;2055:23;2051:32;2048:52;;;2096:1;2093;2086:12;2048:52;-1:-1:-1;2119:23:1;;1968:180;-1:-1:-1;1968:180:1:o;2361:254::-;2429:6;2437;2490:2;2478:9;2469:7;2465:23;2461:32;2458:52;;;2506:1;2503;2496:12;2458:52;2529:29;2548:9;2529:29;:::i;:::-;2519:39;2605:2;2590:18;;;;2577:32;;-1:-1:-1;;;2361:254:1:o;2984:147::-;3056:20;;3105:1;3095:12;;3085:40;;3121:1;3118;3111:12;3136:201;3206:6;3259:2;3247:9;3238:7;3234:23;3230:32;3227:52;;;3275:1;3272;3265:12;3227:52;3298:33;3321:9;3298:33;:::i;3342:269::-;3421:6;3429;3482:2;3470:9;3461:7;3457:23;3453:32;3450:52;;;3498:1;3495;3488:12;3450:52;3521:33;3544:9;3521:33;:::i;3616:328::-;3693:6;3701;3709;3762:2;3750:9;3741:7;3737:23;3733:32;3730:52;;;3778:1;3775;3768:12;3730:52;3801:29;3820:9;3801:29;:::i;:::-;3791:39;;3849:38;3883:2;3872:9;3868:18;3849:38;:::i;:::-;3839:48;;3934:2;3923:9;3919:18;3906:32;3896:42;;3616:328;;;;;:::o;4134:248::-;4202:6;4210;4263:2;4251:9;4242:7;4238:23;4234:32;4231:52;;;4279:1;4276;4269:12;4231:52;-1:-1:-1;;4302:23:1;;;4372:2;4357:18;;;4344:32;;-1:-1:-1;4134:248:1:o;4666:254::-;4734:6;4742;4795:2;4783:9;4774:7;4770:23;4766:32;4763:52;;;4811:1;4808;4801:12;4763:52;4847:9;4834:23;4824:33;;4876:38;4910:2;4899:9;4895:18;4876:38;:::i;4925:186::-;4984:6;5037:2;5025:9;5016:7;5012:23;5008:32;5005:52;;;5053:1;5050;5043:12;5005:52;5076:29;5095:9;5076:29;:::i;5116:632::-;5287:2;5339:21;;;5409:13;;5312:18;;;5431:22;;;5258:4;;5287:2;5510:15;;;;5484:2;5469:18;;;5258:4;5553:169;5567:6;5564:1;5561:13;5553:169;;;5628:13;;5616:26;;5697:15;;;;5662:12;;;;5589:1;5582:9;5553:169;;;-1:-1:-1;5739:3:1;;5116:632;-1:-1:-1;;;;;;5116:632:1:o;5753:156::-;5819:20;;5879:4;5868:16;;5858:27;;5848:55;;5899:1;5896;5889:12;5914:256;5980:6;5988;6041:2;6029:9;6020:7;6016:23;6012:32;6009:52;;;6057:1;6054;6047:12;6009:52;6080:29;6099:9;6080:29;:::i;:::-;6070:39;;6128:36;6160:2;6149:9;6145:18;6128:36;:::i;6175:127::-;6236:10;6231:3;6227:20;6224:1;6217:31;6267:4;6264:1;6257:15;6291:4;6288:1;6281:15;6307:275;6378:2;6372:9;6443:2;6424:13;;-1:-1:-1;;6420:27:1;6408:40;;6478:18;6463:34;;6499:22;;;6460:62;6457:88;;;6525:18;;:::i;:::-;6561:2;6554:22;6307:275;;-1:-1:-1;6307:275:1:o;6587:407::-;6652:5;6686:18;6678:6;6675:30;6672:56;;;6708:18;;:::i;:::-;6746:57;6791:2;6770:15;;-1:-1:-1;;6766:29:1;6797:4;6762:40;6746:57;:::i;:::-;6737:66;;6826:6;6819:5;6812:21;6866:3;6857:6;6852:3;6848:16;6845:25;6842:45;;;6883:1;6880;6873:12;6842:45;6932:6;6927:3;6920:4;6913:5;6909:16;6896:43;6986:1;6979:4;6970:6;6963:5;6959:18;6955:29;6948:40;6587:407;;;;;:::o;6999:451::-;7068:6;7121:2;7109:9;7100:7;7096:23;7092:32;7089:52;;;7137:1;7134;7127:12;7089:52;7177:9;7164:23;7210:18;7202:6;7199:30;7196:50;;;7242:1;7239;7232:12;7196:50;7265:22;;7318:4;7310:13;;7306:27;-1:-1:-1;7296:55:1;;7347:1;7344;7337:12;7296:55;7370:74;7436:7;7431:2;7418:16;7413:2;7409;7405:11;7370:74;:::i;7455:326::-;7531:6;7539;7547;7600:2;7588:9;7579:7;7575:23;7571:32;7568:52;;;7616:1;7613;7606:12;7568:52;7652:9;7639:23;7629:33;;7681:38;7715:2;7704:9;7700:18;7681:38;:::i;:::-;7671:48;;7738:37;7771:2;7760:9;7756:18;7738:37;:::i;:::-;7728:47;;7455:326;;;;;:::o;7786:182::-;7843:6;7896:2;7884:9;7875:7;7871:23;7867:32;7864:52;;;7912:1;7909;7902:12;7864:52;7935:27;7952:9;7935:27;:::i;7973:118::-;8059:5;8052:13;8045:21;8038:5;8035:32;8025:60;;8081:1;8078;8071:12;8096:315;8161:6;8169;8222:2;8210:9;8201:7;8197:23;8193:32;8190:52;;;8238:1;8235;8228:12;8190:52;8261:29;8280:9;8261:29;:::i;:::-;8251:39;;8340:2;8329:9;8325:18;8312:32;8353:28;8375:5;8353:28;:::i;:::-;8400:5;8390:15;;;8096:315;;;;;:::o;8605:667::-;8700:6;8708;8716;8724;8777:3;8765:9;8756:7;8752:23;8748:33;8745:53;;;8794:1;8791;8784:12;8745:53;8817:29;8836:9;8817:29;:::i;:::-;8807:39;;8865:38;8899:2;8888:9;8884:18;8865:38;:::i;:::-;8855:48;;8950:2;8939:9;8935:18;8922:32;8912:42;;9005:2;8994:9;8990:18;8977:32;9032:18;9024:6;9021:30;9018:50;;;9064:1;9061;9054:12;9018:50;9087:22;;9140:4;9132:13;;9128:27;-1:-1:-1;9118:55:1;;9169:1;9166;9159:12;9118:55;9192:74;9258:7;9253:2;9240:16;9235:2;9231;9227:11;9192:74;:::i;:::-;9182:84;;;8605:667;;;;;;;:::o;9277:718::-;9331:5;9384:3;9377:4;9369:6;9365:17;9361:27;9351:55;;9402:1;9399;9392:12;9351:55;9438:6;9425:20;9464:4;9487:18;9483:2;9480:26;9477:52;;;9509:18;;:::i;:::-;9555:2;9552:1;9548:10;9578:28;9602:2;9598;9594:11;9578:28;:::i;:::-;9640:15;;;9710;;;9706:24;;;9671:12;;;;9742:15;;;9739:35;;;9770:1;9767;9760:12;9739:35;9806:2;9798:6;9794:15;9783:26;;9818:148;9834:6;9829:3;9826:15;9818:148;;;9900:23;9919:3;9900:23;:::i;:::-;9888:36;;9851:12;;;;9944;;;;9818:148;;;9984:5;9277:718;-1:-1:-1;;;;;;;9277:718:1:o;10000:416::-;10093:6;10101;10154:2;10142:9;10133:7;10129:23;10125:32;10122:52;;;10170:1;10167;10160:12;10122:52;10210:9;10197:23;10243:18;10235:6;10232:30;10229:50;;;10275:1;10272;10265:12;10229:50;10298:61;10351:7;10342:6;10331:9;10327:22;10298:61;:::i;:::-;10288:71;10406:2;10391:18;;;;10378:32;;-1:-1:-1;;;;10000:416:1:o;10421:683::-;10516:6;10524;10532;10585:2;10573:9;10564:7;10560:23;10556:32;10553:52;;;10601:1;10598;10591:12;10553:52;10637:9;10624:23;10614:33;;10698:2;10687:9;10683:18;10670:32;10721:18;10762:2;10754:6;10751:14;10748:34;;;10778:1;10775;10768:12;10748:34;10816:6;10805:9;10801:22;10791:32;;10861:7;10854:4;10850:2;10846:13;10842:27;10832:55;;10883:1;10880;10873:12;10832:55;10923:2;10910:16;10949:2;10941:6;10938:14;10935:34;;;10965:1;10962;10955:12;10935:34;11018:7;11013:2;11003:6;11000:1;10996:14;10992:2;10988:23;10984:32;10981:45;10978:65;;;11039:1;11036;11029:12;10978:65;11070:2;11066;11062:11;11052:21;;11092:6;11082:16;;;;;10421:683;;;;;:::o;11109:260::-;11177:6;11185;11238:2;11226:9;11217:7;11213:23;11209:32;11206:52;;;11254:1;11251;11244:12;11206:52;11277:29;11296:9;11277:29;:::i;:::-;11267:39;;11325:38;11359:2;11348:9;11344:18;11325:38;:::i;11374:418::-;11465:6;11473;11526:2;11514:9;11505:7;11501:23;11497:32;11494:52;;;11542:1;11539;11532:12;11494:52;11582:9;11569:23;11615:18;11607:6;11604:30;11601:50;;;11647:1;11644;11637:12;11601:50;11670:61;11723:7;11714:6;11703:9;11699:22;11670:61;:::i;:::-;11660:71;;;11750:36;11782:2;11771:9;11767:18;11750:36;:::i;11797:380::-;11876:1;11872:12;;;;11919;;;11940:61;;11994:4;11986:6;11982:17;11972:27;;11940:61;12047:2;12039:6;12036:14;12016:18;12013:38;12010:161;;;12093:10;12088:3;12084:20;12081:1;12074:31;12128:4;12125:1;12118:15;12156:4;12153:1;12146:15;12010:161;;11797:380;;;:::o;13014:127::-;13075:10;13070:3;13066:20;13063:1;13056:31;13106:4;13103:1;13096:15;13130:4;13127:1;13120:15;13146:409;13348:2;13330:21;;;13387:2;13367:18;;;13360:30;13426:34;13421:2;13406:18;;13399:62;-1:-1:-1;;;13492:2:1;13477:18;;13470:43;13545:3;13530:19;;13146:409::o;13560:127::-;13621:10;13616:3;13612:20;13609:1;13602:31;13652:4;13649:1;13642:15;13676:4;13673:1;13666:15;13692:168;13732:7;13798:1;13794;13790:6;13786:14;13783:1;13780:21;13775:1;13768:9;13761:17;13757:45;13754:71;;;13805:18;;:::i;:::-;-1:-1:-1;13845:9:1;;13692:168::o;13997:217::-;14037:1;14063;14053:132;;14107:10;14102:3;14098:20;14095:1;14088:31;14142:4;14139:1;14132:15;14170:4;14167:1;14160:15;14053:132;-1:-1:-1;14199:9:1;;13997:217::o;14219:347::-;14421:2;14403:21;;;14460:2;14440:18;;;14433:30;14499:25;14494:2;14479:18;;14472:53;14557:2;14542:18;;14219:347::o;14571:353::-;14773:2;14755:21;;;14812:2;14792:18;;;14785:30;14851:31;14846:2;14831:18;;14824:59;14915:2;14900:18;;14571:353::o;14929:348::-;15131:2;15113:21;;;15170:2;15150:18;;;15143:30;15209:26;15204:2;15189:18;;15182:54;15268:2;15253:18;;14929:348::o;15282:342::-;15484:2;15466:21;;;15523:2;15503:18;;;15496:30;-1:-1:-1;;;15557:2:1;15542:18;;15535:48;15615:2;15600:18;;15282:342::o;15629:128::-;15669:3;15700:1;15696:6;15693:1;15690:13;15687:39;;;15706:18;;:::i;:::-;-1:-1:-1;15742:9:1;;15629:128::o;15762:348::-;15964:2;15946:21;;;16003:2;15983:18;;;15976:30;16042:26;16037:2;16022:18;;16015:54;16101:2;16086:18;;15762:348::o;16115:341::-;16317:2;16299:21;;;16356:2;16336:18;;;16329:30;-1:-1:-1;;;16390:2:1;16375:18;;16368:47;16447:2;16432:18;;16115:341::o;16461:184::-;16531:6;16584:2;16572:9;16563:7;16559:23;16555:32;16552:52;;;16600:1;16597;16590:12;16552:52;-1:-1:-1;16623:16:1;;16461:184;-1:-1:-1;16461:184:1:o;17375:245::-;17442:6;17495:2;17483:9;17474:7;17470:23;17466:32;17463:52;;;17511:1;17508;17501:12;17463:52;17543:9;17537:16;17562:28;17584:5;17562:28;:::i;18453:127::-;18514:10;18509:3;18505:20;18502:1;18495:31;18545:4;18542:1;18535:15;18569:4;18566:1;18559:15;18585:135;18624:3;-1:-1:-1;;18645:17:1;;18642:43;;;18665:18;;:::i;:::-;-1:-1:-1;18712:1:1;18701:13;;18585:135::o;20027:1527::-;20251:3;20289:6;20283:13;20315:4;20328:51;20372:6;20367:3;20362:2;20354:6;20350:15;20328:51;:::i;:::-;20442:13;;20401:16;;;;20464:55;20442:13;20401:16;20486:15;;;20464:55;:::i;:::-;20608:13;;20541:20;;;20581:1;;20668;20690:18;;;;20743;;;;20770:93;;20848:4;20838:8;20834:19;20822:31;;20770:93;20911:2;20901:8;20898:16;20878:18;20875:40;20872:167;;;-1:-1:-1;;;20938:33:1;;20994:4;20991:1;20984:15;21024:4;20945:3;21012:17;20872:167;21055:18;21082:110;;;;21206:1;21201:328;;;;21048:481;;21082:110;-1:-1:-1;;21117:24:1;;21103:39;;21162:20;;;;-1:-1:-1;21082:110:1;;21201:328;19974:1;19967:14;;;20011:4;19998:18;;21296:1;21310:169;21324:8;21321:1;21318:15;21310:169;;;21406:14;;21391:13;;;21384:37;21449:16;;;;21341:10;;21310:169;;;21314:3;;21510:8;21503:5;21499:20;21492:27;;21048:481;-1:-1:-1;21545:3:1;;20027:1527;-1:-1:-1;;;;;;;;;;;20027:1527:1:o;22906:406::-;23108:2;23090:21;;;23147:2;23127:18;;;23120:30;23186:34;23181:2;23166:18;;23159:62;-1:-1:-1;;;23252:2:1;23237:18;;23230:40;23302:3;23287:19;;22906:406::o;23671:401::-;23873:2;23855:21;;;23912:2;23892:18;;;23885:30;23951:34;23946:2;23931:18;;23924:62;-1:-1:-1;;;24017:2:1;24002:18;;23995:35;24062:3;24047:19;;23671:401::o;26251:414::-;26453:2;26435:21;;;26492:2;26472:18;;;26465:30;26531:34;26526:2;26511:18;;26504:62;-1:-1:-1;;;26597:2:1;26582:18;;26575:48;26655:3;26640:19;;26251:414::o;26670:786::-;27081:25;27076:3;27069:38;27051:3;27136:6;27130:13;27152:62;27207:6;27202:2;27197:3;27193:12;27186:4;27178:6;27174:17;27152:62;:::i;:::-;-1:-1:-1;;;27273:2:1;27233:16;;;27265:11;;;27258:40;27323:13;;27345:63;27323:13;27394:2;27386:11;;27379:4;27367:17;;27345:63;:::i;:::-;27428:17;27447:2;27424:26;;26670:786;-1:-1:-1;;;;26670:786:1:o;27810:489::-;-1:-1:-1;;;;;28079:15:1;;;28061:34;;28131:15;;28126:2;28111:18;;28104:43;28178:2;28163:18;;28156:34;;;28226:3;28221:2;28206:18;;28199:31;;;28004:4;;28247:46;;28273:19;;28265:6;28247:46;:::i;:::-;28239:54;27810:489;-1:-1:-1;;;;;;27810:489:1:o;28304:249::-;28373:6;28426:2;28414:9;28405:7;28401:23;28397:32;28394:52;;;28442:1;28439;28432:12;28394:52;28474:9;28468:16;28493:30;28517:5;28493:30;:::i;28980:136::-;29019:3;29047:5;29037:39;;29056:18;;:::i;:::-;-1:-1:-1;;;29092:18:1;;28980:136::o;29482:125::-;29522:4;29550:1;29547;29544:8;29541:34;;;29555:18;;:::i;:::-;-1:-1:-1;29592:9:1;;29482:125::o;29612:127::-;29673:10;29668:3;29664:20;29661:1;29654:31;29704:4;29701:1;29694:15;29728:4;29725:1;29718:15

Swarm Source

ipfs://10d5de8bf8b7d349957f1be6addbc4a7b1bf554a6c883903f3649caa372cb628
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.