ETH Price: $2,824.27 (+7.67%)
 

Overview

Max Total Supply

1,200 PL

Holders

162

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 PL
0x45b0783784f95d7fe5BC43aC8F28Fd5BB91d224d
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
PathogenLab

Compiler Version
v0.8.26+commit.8a97fa7a

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2024-09-07
*/

// SPDX-License-Identifier: MIT

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

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


// OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol)

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

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


// OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol)

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

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


// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

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


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

pragma solidity ^0.8.0;

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

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


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

pragma solidity ^0.8.0;


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

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


// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;


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

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

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

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

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

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

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

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

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

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

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

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

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


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

pragma solidity ^0.8.0;


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

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

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

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


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

pragma solidity ^0.8.0;

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

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

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


// OpenZeppelin Contracts (last updated v4.8.2) (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;








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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

    /**
     * @dev Unsafe write access to the balances, used by extensions that "mint" tokens using an {ownerOf} override.
     *
     * WARNING: Anyone calling this MUST ensure that the balances remain consistent with the ownership. The invariant
     * being that for any address `a` the value returned by `balanceOf(a)` must be equal to the number of tokens such
     * that `ownerOf(tokenId)` is `a`.
     */
    // solhint-disable-next-line func-name-mixedcase
    function __unsafe_increaseBalance(address account, uint256 amount) internal {
        _balances[account] += amount;
    }
}

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


// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;


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

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

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

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

// File: contracts/PathogenLab.sol



pragma solidity ^0.8.9;



contract PathogenLab is ERC721, Ownable {

    using Strings for uint256;

    uint public mintPrice = 20000000000000000; // Mint price varies in each mint phase.
    uint public maxSupply; // Total supply varies depending on Mint Phases but main collection supply cannot be more than 4444.
    uint256 public totalSupply;
    uint256 public constant maxMintPerTransaction = 50;
    string public baseUri;
    string public uriExtension = ".json";

    constructor() ERC721("PathogenLab", "PL") {
        baseUri = "ipfs://QmT8uejafxtpPfDS137ysacvyysaqeybqQ21nariv1XYa7/";
    }


    function mint(uint256 _numTokens) external payable {

        uint256 curTotalSupply = totalSupply;
        require(curTotalSupply + _numTokens <= maxSupply, "Sale is not active or max supply exceeded!");

        require(_numTokens <= maxMintPerTransaction, "Maximum mint per transaction limit");
        
        if (msg.sender != owner()) {
            require(_numTokens * mintPrice <= msg.value, "Not enough funds");
        }

        for(uint256 i = 1; i <= _numTokens; ++i) {
            _safeMint(msg.sender, curTotalSupply + i);
        }
        totalSupply += _numTokens;
        
    }

    function setBaseUri(string memory _baseUri) external onlyOwner {
        baseUri = _baseUri;
    }

    function setMintPrice(uint256 _price) external onlyOwner {
        mintPrice = _price;
    }

    function setMaxSupply(uint256 _maxSupply) external onlyOwner {
        if (_maxSupply > 4444) {
            maxSupply = 4444; // Total supply of Pathogen Lab Collection
        } else {
            maxSupply = _maxSupply;
        }
    }

    function withdraw() external payable onlyOwner {
        (bool os, ) = payable(owner()).call{value: address(this).balance}("");
        require(os);
    }

    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");
 
        string memory currentBaseURI = _baseURI();
        return bytes(currentBaseURI).length > 0
            ? string(abi.encodePacked(currentBaseURI, tokenId.toString(), uriExtension))
            : "";
    }
 
    function _baseURI() internal view virtual override returns (string memory) {
        return baseUri;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintPerTransaction","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_numTokens","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintPrice","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":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseUri","type":"string"}],"name":"setBaseUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setMintPrice","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":"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":"uriExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]

66470de4df82000060075560c06040526005608090815264173539b7b760d91b60a052600b9061002f90826101c8565b5034801561003b575f80fd5b506040518060400160405280600b81526020016a2830ba3437b3b2b72630b160a91b81525060405180604001604052806002815260200161141360f21b815250815f908161008991906101c8565b50600161009682826101c8565b5050506100af6100aa6100db60201b60201c565b6100df565b604051806060016040528060368152602001611e1960369139600a906100d590826101c8565b50610282565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b634e487b7160e01b5f52604160045260245ffd5b600181811c9082168061015857607f821691505b60208210810361017657634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156101c357805f5260205f20601f840160051c810160208510156101a15750805b601f840160051c820191505b818110156101c0575f81556001016101ad565b50505b505050565b81516001600160401b038111156101e1576101e1610130565b6101f5816101ef8454610144565b8461017c565b6020601f821160018114610227575f83156102105750848201515b5f19600385901b1c1916600184901b1784556101c0565b5f84815260208120601f198516915b828110156102565787850151825560209485019460019092019101610236565b508482101561027357868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b611b8a8061028f5f395ff3fe608060405260043610610195575f3560e01c806370a08231116100e7578063a22cb46511610087578063d5abeb0111610062578063d5abeb0114610431578063e985e9c514610446578063f2fde38b14610465578063f4a0a52814610484575f80fd5b8063a22cb465146103d4578063b88d4fde146103f3578063c87b56dd14610412575f80fd5b806395d89b41116100c257806395d89b411461037a5780639abc83201461038e578063a0712d68146103a2578063a0bcfc7f146103b5575f80fd5b806370a082311461032a578063715018a6146103495780638da5cb5b1461035d575f80fd5b806323b872dd1161015257806352ee46961161012d57806352ee4696146102c35780636352211e146102d75780636817c76c146102f65780636f8b44b01461030b575f80fd5b806323b872dd1461027d5780633ccfd60b1461029c57806342842e0e146102a4575f80fd5b806301f569971461019957806301ffc9a7146101c057806306fdde03146101ef578063081812fc14610210578063095ea7b31461024757806318160ddd14610268575b5f80fd5b3480156101a4575f80fd5b506101ad603281565b6040519081526020015b60405180910390f35b3480156101cb575f80fd5b506101df6101da36600461152e565b6104a3565b60405190151581526020016101b7565b3480156101fa575f80fd5b506102036104f4565b6040516101b79190611577565b34801561021b575f80fd5b5061022f61022a366004611589565b610583565b6040516001600160a01b0390911681526020016101b7565b348015610252575f80fd5b506102666102613660046115bb565b6105a8565b005b348015610273575f80fd5b506101ad60095481565b348015610288575f80fd5b506102666102973660046115e3565b6106c1565b6102666106f2565b3480156102af575f80fd5b506102666102be3660046115e3565b610769565b3480156102ce575f80fd5b50610203610783565b3480156102e2575f80fd5b5061022f6102f1366004611589565b61080f565b348015610301575f80fd5b506101ad60075481565b348015610316575f80fd5b50610266610325366004611589565b61086e565b348015610335575f80fd5b506101ad61034436600461161d565b61088e565b348015610354575f80fd5b50610266610912565b348015610368575f80fd5b506006546001600160a01b031661022f565b348015610385575f80fd5b50610203610925565b348015610399575f80fd5b50610203610934565b6102666103b0366004611589565b610941565b3480156103c0575f80fd5b506102666103cf3660046116c1565b610ab8565b3480156103df575f80fd5b506102666103ee366004611706565b610ad0565b3480156103fe575f80fd5b5061026661040d36600461173f565b610adb565b34801561041d575f80fd5b5061020361042c366004611589565b610b13565b34801561043c575f80fd5b506101ad60085481565b348015610451575f80fd5b506101df6104603660046117b6565b610bed565b348015610470575f80fd5b5061026661047f36600461161d565b610c1a565b34801561048f575f80fd5b5061026661049e366004611589565b610c90565b5f6001600160e01b031982166380ac58cd60e01b14806104d357506001600160e01b03198216635b5e139f60e01b145b806104ee57506301ffc9a760e01b6001600160e01b03198316145b92915050565b60605f8054610502906117e7565b80601f016020809104026020016040519081016040528092919081815260200182805461052e906117e7565b80156105795780601f1061055057610100808354040283529160200191610579565b820191905f5260205f20905b81548152906001019060200180831161055c57829003601f168201915b5050505050905090565b5f61058d82610c9d565b505f908152600460205260409020546001600160a01b031690565b5f6105b28261080f565b9050806001600160a01b0316836001600160a01b0316036106245760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b038216148061064057506106408133610bed565b6106b25760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c000000606482015260840161061b565b6106bc8383610cfb565b505050565b6106cb3382610d68565b6106e75760405162461bcd60e51b815260040161061b9061181f565b6106bc838383610dc6565b6106fa610f28565b5f61070d6006546001600160a01b031690565b6001600160a01b0316476040515f6040518083038185875af1925050503d805f8114610754576040519150601f19603f3d011682016040523d82523d5f602084013e610759565b606091505b5050905080610766575f80fd5b50565b6106bc83838360405180602001604052805f815250610adb565b600b8054610790906117e7565b80601f01602080910402602001604051908101604052809291908181526020018280546107bc906117e7565b80156108075780601f106107de57610100808354040283529160200191610807565b820191905f5260205f20905b8154815290600101906020018083116107ea57829003601f168201915b505050505081565b5f818152600260205260408120546001600160a01b0316806104ee5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b604482015260640161061b565b610876610f28565b61115c8111156108895761115c60085550565b600855565b5f6001600160a01b0382166108f75760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b606482015260840161061b565b506001600160a01b03165f9081526003602052604090205490565b61091a610f28565b6109235f610f82565b565b606060018054610502906117e7565b600a8054610790906117e7565b6009546008546109518383611880565b11156109b25760405162461bcd60e51b815260206004820152602a60248201527f53616c65206973206e6f7420616374697665206f72206d617820737570706c796044820152692065786365656465642160b01b606482015260840161061b565b6032821115610a0e5760405162461bcd60e51b815260206004820152602260248201527f4d6178696d756d206d696e7420706572207472616e73616374696f6e206c696d6044820152611a5d60f21b606482015260840161061b565b6006546001600160a01b03163314610a70573460075483610a2f9190611893565b1115610a705760405162461bcd60e51b815260206004820152601060248201526f4e6f7420656e6f7567682066756e647360801b604482015260640161061b565b60015b828111610a9d57610a8d33610a888385611880565b610fd3565b610a96816118aa565b9050610a73565b508160095f828254610aaf9190611880565b90915550505050565b610ac0610f28565b600a610acc828261190d565b5050565b610acc338383610fec565b610ae53383610d68565b610b015760405162461bcd60e51b815260040161061b9061181f565b610b0d848484846110b9565b50505050565b5f818152600260205260409020546060906001600160a01b0316610b915760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b606482015260840161061b565b5f610b9a6110ec565b90505f815111610bb85760405180602001604052805f815250610be6565b80610bc2846110fb565b600b604051602001610bd6939291906119df565b6040516020818303038152906040525b9392505050565b6001600160a01b039182165f90815260056020908152604080832093909416825291909152205460ff1690565b610c22610f28565b6001600160a01b038116610c875760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161061b565b61076681610f82565b610c98610f28565b600755565b5f818152600260205260409020546001600160a01b03166107665760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b604482015260640161061b565b5f81815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610d2f8261080f565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b5f80610d738361080f565b9050806001600160a01b0316846001600160a01b03161480610d9a5750610d9a8185610bed565b80610dbe5750836001600160a01b0316610db384610583565b6001600160a01b0316145b949350505050565b826001600160a01b0316610dd98261080f565b6001600160a01b031614610dff5760405162461bcd60e51b815260040161061b90611a66565b6001600160a01b038216610e615760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161061b565b826001600160a01b0316610e748261080f565b6001600160a01b031614610e9a5760405162461bcd60e51b815260040161061b90611a66565b5f81815260046020908152604080832080546001600160a01b03199081169091556001600160a01b038781168086526003855283862080545f1901905590871680865283862080546001019055868652600290945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6006546001600160a01b031633146109235760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161061b565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b610acc828260405180602001604052805f81525061118b565b816001600160a01b0316836001600160a01b03160361104d5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161061b565b6001600160a01b038381165f81815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6110c4848484610dc6565b6110d0848484846111bd565b610b0d5760405162461bcd60e51b815260040161061b90611aab565b6060600a8054610502906117e7565b60605f611107836112ba565b60010190505f8167ffffffffffffffff81111561112657611126611636565b6040519080825280601f01601f191660200182016040528015611150576020820181803683370190505b5090508181016020015b5f19016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461115a57509392505050565b6111958383611391565b6111a15f8484846111bd565b6106bc5760405162461bcd60e51b815260040161061b90611aab565b5f6001600160a01b0384163b156112af57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611200903390899088908890600401611afd565b6020604051808303815f875af192505050801561123a575060408051601f3d908101601f1916820190925261123791810190611b39565b60015b611295573d808015611267576040519150601f19603f3d011682016040523d82523d5f602084013e61126c565b606091505b5080515f0361128d5760405162461bcd60e51b815260040161061b90611aab565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610dbe565b506001949350505050565b5f8072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106112f85772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611324576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061134257662386f26fc10000830492506010015b6305f5e100831061135a576305f5e100830492506008015b612710831061136e57612710830492506004015b60648310611380576064830492506002015b600a83106104ee5760010192915050565b6001600160a01b0382166113e75760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161061b565b5f818152600260205260409020546001600160a01b03161561144b5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161061b565b5f818152600260205260409020546001600160a01b0316156114af5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161061b565b6001600160a01b0382165f81815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6001600160e01b031981168114610766575f80fd5b5f6020828403121561153e575f80fd5b8135610be681611519565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f610be66020830184611549565b5f60208284031215611599575f80fd5b5035919050565b80356001600160a01b03811681146115b6575f80fd5b919050565b5f80604083850312156115cc575f80fd5b6115d5836115a0565b946020939093013593505050565b5f805f606084860312156115f5575f80fd5b6115fe846115a0565b925061160c602085016115a0565b929592945050506040919091013590565b5f6020828403121561162d575f80fd5b610be6826115a0565b634e487b7160e01b5f52604160045260245ffd5b5f8067ffffffffffffffff84111561166457611664611636565b50604051601f19601f85018116603f0116810181811067ffffffffffffffff8211171561169357611693611636565b6040528381529050808284018510156116aa575f80fd5b838360208301375f60208583010152509392505050565b5f602082840312156116d1575f80fd5b813567ffffffffffffffff8111156116e7575f80fd5b8201601f810184136116f7575f80fd5b610dbe8482356020840161164a565b5f8060408385031215611717575f80fd5b611720836115a0565b915060208301358015158114611734575f80fd5b809150509250929050565b5f805f8060808587031215611752575f80fd5b61175b856115a0565b9350611769602086016115a0565b925060408501359150606085013567ffffffffffffffff81111561178b575f80fd5b8501601f8101871361179b575f80fd5b6117aa8782356020840161164a565b91505092959194509250565b5f80604083850312156117c7575f80fd5b6117d0836115a0565b91506117de602084016115a0565b90509250929050565b600181811c908216806117fb57607f821691505b60208210810361181957634e487b7160e01b5f52602260045260245ffd5b50919050565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b634e487b7160e01b5f52601160045260245ffd5b808201808211156104ee576104ee61186c565b80820281158282048414176104ee576104ee61186c565b5f600182016118bb576118bb61186c565b5060010190565b601f8211156106bc57805f5260205f20601f840160051c810160208510156118e75750805b601f840160051c820191505b81811015611906575f81556001016118f3565b5050505050565b815167ffffffffffffffff81111561192757611927611636565b61193b8161193584546117e7565b846118c2565b6020601f82116001811461196d575f83156119565750848201515b5f19600385901b1c1916600184901b178455611906565b5f84815260208120601f198516915b8281101561199c578785015182556020948501946001909201910161197c565b50848210156119b957868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f81518060208401855e5f93019283525090919050565b5f6119f36119ed83876119c8565b856119c8565b5f84546119ff816117e7565b600182168015611a165760018114611a2b57611a58565b60ff1983168552811515820285019350611a58565b875f5260205f205f5b83811015611a5057815487820152600190910190602001611a34565b505081850193505b509198975050505050505050565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6001600160a01b03858116825284166020820152604081018390526080606082018190525f90611b2f90830184611549565b9695505050505050565b5f60208284031215611b49575f80fd5b8151610be68161151956fea2646970667358221220c30e8db51a68a8ac7382919986dfd381ea82638ee144a04287b71d101d54bb2264736f6c634300081a0033697066733a2f2f516d543875656a61667874705066445331333779736163767979736171657962715132316e6172697631585961372f

Deployed Bytecode

0x608060405260043610610195575f3560e01c806370a08231116100e7578063a22cb46511610087578063d5abeb0111610062578063d5abeb0114610431578063e985e9c514610446578063f2fde38b14610465578063f4a0a52814610484575f80fd5b8063a22cb465146103d4578063b88d4fde146103f3578063c87b56dd14610412575f80fd5b806395d89b41116100c257806395d89b411461037a5780639abc83201461038e578063a0712d68146103a2578063a0bcfc7f146103b5575f80fd5b806370a082311461032a578063715018a6146103495780638da5cb5b1461035d575f80fd5b806323b872dd1161015257806352ee46961161012d57806352ee4696146102c35780636352211e146102d75780636817c76c146102f65780636f8b44b01461030b575f80fd5b806323b872dd1461027d5780633ccfd60b1461029c57806342842e0e146102a4575f80fd5b806301f569971461019957806301ffc9a7146101c057806306fdde03146101ef578063081812fc14610210578063095ea7b31461024757806318160ddd14610268575b5f80fd5b3480156101a4575f80fd5b506101ad603281565b6040519081526020015b60405180910390f35b3480156101cb575f80fd5b506101df6101da36600461152e565b6104a3565b60405190151581526020016101b7565b3480156101fa575f80fd5b506102036104f4565b6040516101b79190611577565b34801561021b575f80fd5b5061022f61022a366004611589565b610583565b6040516001600160a01b0390911681526020016101b7565b348015610252575f80fd5b506102666102613660046115bb565b6105a8565b005b348015610273575f80fd5b506101ad60095481565b348015610288575f80fd5b506102666102973660046115e3565b6106c1565b6102666106f2565b3480156102af575f80fd5b506102666102be3660046115e3565b610769565b3480156102ce575f80fd5b50610203610783565b3480156102e2575f80fd5b5061022f6102f1366004611589565b61080f565b348015610301575f80fd5b506101ad60075481565b348015610316575f80fd5b50610266610325366004611589565b61086e565b348015610335575f80fd5b506101ad61034436600461161d565b61088e565b348015610354575f80fd5b50610266610912565b348015610368575f80fd5b506006546001600160a01b031661022f565b348015610385575f80fd5b50610203610925565b348015610399575f80fd5b50610203610934565b6102666103b0366004611589565b610941565b3480156103c0575f80fd5b506102666103cf3660046116c1565b610ab8565b3480156103df575f80fd5b506102666103ee366004611706565b610ad0565b3480156103fe575f80fd5b5061026661040d36600461173f565b610adb565b34801561041d575f80fd5b5061020361042c366004611589565b610b13565b34801561043c575f80fd5b506101ad60085481565b348015610451575f80fd5b506101df6104603660046117b6565b610bed565b348015610470575f80fd5b5061026661047f36600461161d565b610c1a565b34801561048f575f80fd5b5061026661049e366004611589565b610c90565b5f6001600160e01b031982166380ac58cd60e01b14806104d357506001600160e01b03198216635b5e139f60e01b145b806104ee57506301ffc9a760e01b6001600160e01b03198316145b92915050565b60605f8054610502906117e7565b80601f016020809104026020016040519081016040528092919081815260200182805461052e906117e7565b80156105795780601f1061055057610100808354040283529160200191610579565b820191905f5260205f20905b81548152906001019060200180831161055c57829003601f168201915b5050505050905090565b5f61058d82610c9d565b505f908152600460205260409020546001600160a01b031690565b5f6105b28261080f565b9050806001600160a01b0316836001600160a01b0316036106245760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b038216148061064057506106408133610bed565b6106b25760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c000000606482015260840161061b565b6106bc8383610cfb565b505050565b6106cb3382610d68565b6106e75760405162461bcd60e51b815260040161061b9061181f565b6106bc838383610dc6565b6106fa610f28565b5f61070d6006546001600160a01b031690565b6001600160a01b0316476040515f6040518083038185875af1925050503d805f8114610754576040519150601f19603f3d011682016040523d82523d5f602084013e610759565b606091505b5050905080610766575f80fd5b50565b6106bc83838360405180602001604052805f815250610adb565b600b8054610790906117e7565b80601f01602080910402602001604051908101604052809291908181526020018280546107bc906117e7565b80156108075780601f106107de57610100808354040283529160200191610807565b820191905f5260205f20905b8154815290600101906020018083116107ea57829003601f168201915b505050505081565b5f818152600260205260408120546001600160a01b0316806104ee5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b604482015260640161061b565b610876610f28565b61115c8111156108895761115c60085550565b600855565b5f6001600160a01b0382166108f75760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b606482015260840161061b565b506001600160a01b03165f9081526003602052604090205490565b61091a610f28565b6109235f610f82565b565b606060018054610502906117e7565b600a8054610790906117e7565b6009546008546109518383611880565b11156109b25760405162461bcd60e51b815260206004820152602a60248201527f53616c65206973206e6f7420616374697665206f72206d617820737570706c796044820152692065786365656465642160b01b606482015260840161061b565b6032821115610a0e5760405162461bcd60e51b815260206004820152602260248201527f4d6178696d756d206d696e7420706572207472616e73616374696f6e206c696d6044820152611a5d60f21b606482015260840161061b565b6006546001600160a01b03163314610a70573460075483610a2f9190611893565b1115610a705760405162461bcd60e51b815260206004820152601060248201526f4e6f7420656e6f7567682066756e647360801b604482015260640161061b565b60015b828111610a9d57610a8d33610a888385611880565b610fd3565b610a96816118aa565b9050610a73565b508160095f828254610aaf9190611880565b90915550505050565b610ac0610f28565b600a610acc828261190d565b5050565b610acc338383610fec565b610ae53383610d68565b610b015760405162461bcd60e51b815260040161061b9061181f565b610b0d848484846110b9565b50505050565b5f818152600260205260409020546060906001600160a01b0316610b915760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b606482015260840161061b565b5f610b9a6110ec565b90505f815111610bb85760405180602001604052805f815250610be6565b80610bc2846110fb565b600b604051602001610bd6939291906119df565b6040516020818303038152906040525b9392505050565b6001600160a01b039182165f90815260056020908152604080832093909416825291909152205460ff1690565b610c22610f28565b6001600160a01b038116610c875760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161061b565b61076681610f82565b610c98610f28565b600755565b5f818152600260205260409020546001600160a01b03166107665760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b604482015260640161061b565b5f81815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610d2f8261080f565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b5f80610d738361080f565b9050806001600160a01b0316846001600160a01b03161480610d9a5750610d9a8185610bed565b80610dbe5750836001600160a01b0316610db384610583565b6001600160a01b0316145b949350505050565b826001600160a01b0316610dd98261080f565b6001600160a01b031614610dff5760405162461bcd60e51b815260040161061b90611a66565b6001600160a01b038216610e615760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161061b565b826001600160a01b0316610e748261080f565b6001600160a01b031614610e9a5760405162461bcd60e51b815260040161061b90611a66565b5f81815260046020908152604080832080546001600160a01b03199081169091556001600160a01b038781168086526003855283862080545f1901905590871680865283862080546001019055868652600290945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6006546001600160a01b031633146109235760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161061b565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b610acc828260405180602001604052805f81525061118b565b816001600160a01b0316836001600160a01b03160361104d5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161061b565b6001600160a01b038381165f81815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6110c4848484610dc6565b6110d0848484846111bd565b610b0d5760405162461bcd60e51b815260040161061b90611aab565b6060600a8054610502906117e7565b60605f611107836112ba565b60010190505f8167ffffffffffffffff81111561112657611126611636565b6040519080825280601f01601f191660200182016040528015611150576020820181803683370190505b5090508181016020015b5f19016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461115a57509392505050565b6111958383611391565b6111a15f8484846111bd565b6106bc5760405162461bcd60e51b815260040161061b90611aab565b5f6001600160a01b0384163b156112af57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611200903390899088908890600401611afd565b6020604051808303815f875af192505050801561123a575060408051601f3d908101601f1916820190925261123791810190611b39565b60015b611295573d808015611267576040519150601f19603f3d011682016040523d82523d5f602084013e61126c565b606091505b5080515f0361128d5760405162461bcd60e51b815260040161061b90611aab565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610dbe565b506001949350505050565b5f8072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106112f85772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611324576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061134257662386f26fc10000830492506010015b6305f5e100831061135a576305f5e100830492506008015b612710831061136e57612710830492506004015b60648310611380576064830492506002015b600a83106104ee5760010192915050565b6001600160a01b0382166113e75760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161061b565b5f818152600260205260409020546001600160a01b03161561144b5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161061b565b5f818152600260205260409020546001600160a01b0316156114af5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161061b565b6001600160a01b0382165f81815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6001600160e01b031981168114610766575f80fd5b5f6020828403121561153e575f80fd5b8135610be681611519565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f610be66020830184611549565b5f60208284031215611599575f80fd5b5035919050565b80356001600160a01b03811681146115b6575f80fd5b919050565b5f80604083850312156115cc575f80fd5b6115d5836115a0565b946020939093013593505050565b5f805f606084860312156115f5575f80fd5b6115fe846115a0565b925061160c602085016115a0565b929592945050506040919091013590565b5f6020828403121561162d575f80fd5b610be6826115a0565b634e487b7160e01b5f52604160045260245ffd5b5f8067ffffffffffffffff84111561166457611664611636565b50604051601f19601f85018116603f0116810181811067ffffffffffffffff8211171561169357611693611636565b6040528381529050808284018510156116aa575f80fd5b838360208301375f60208583010152509392505050565b5f602082840312156116d1575f80fd5b813567ffffffffffffffff8111156116e7575f80fd5b8201601f810184136116f7575f80fd5b610dbe8482356020840161164a565b5f8060408385031215611717575f80fd5b611720836115a0565b915060208301358015158114611734575f80fd5b809150509250929050565b5f805f8060808587031215611752575f80fd5b61175b856115a0565b9350611769602086016115a0565b925060408501359150606085013567ffffffffffffffff81111561178b575f80fd5b8501601f8101871361179b575f80fd5b6117aa8782356020840161164a565b91505092959194509250565b5f80604083850312156117c7575f80fd5b6117d0836115a0565b91506117de602084016115a0565b90509250929050565b600181811c908216806117fb57607f821691505b60208210810361181957634e487b7160e01b5f52602260045260245ffd5b50919050565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b634e487b7160e01b5f52601160045260245ffd5b808201808211156104ee576104ee61186c565b80820281158282048414176104ee576104ee61186c565b5f600182016118bb576118bb61186c565b5060010190565b601f8211156106bc57805f5260205f20601f840160051c810160208510156118e75750805b601f840160051c820191505b81811015611906575f81556001016118f3565b5050505050565b815167ffffffffffffffff81111561192757611927611636565b61193b8161193584546117e7565b846118c2565b6020601f82116001811461196d575f83156119565750848201515b5f19600385901b1c1916600184901b178455611906565b5f84815260208120601f198516915b8281101561199c578785015182556020948501946001909201910161197c565b50848210156119b957868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f81518060208401855e5f93019283525090919050565b5f6119f36119ed83876119c8565b856119c8565b5f84546119ff816117e7565b600182168015611a165760018114611a2b57611a58565b60ff1983168552811515820285019350611a58565b875f5260205f205f5b83811015611a5057815487820152600190910190602001611a34565b505081850193505b509198975050505050505050565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6001600160a01b03858116825284166020820152604081018390526080606082018190525f90611b2f90830184611549565b9695505050505050565b5f60208284031215611b49575f80fd5b8151610be68161151956fea2646970667358221220c30e8db51a68a8ac7382919986dfd381ea82638ee144a04287b71d101d54bb2264736f6c634300081a0033

Deployed Bytecode Sourcemap

54716:2365:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55050:50;;;;;;;;;;;;55098:2;55050:50;;;;;160:25:1;;;148:2;133:18;55050:50:0;;;;;;;;35748:305;;;;;;;;;;-1:-1:-1;35748:305:0;;;;;:::i;:::-;;:::i;:::-;;;747:14:1;;740:22;722:41;;710:2;695:18;35748:305:0;582:187:1;36676:100:0;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;38188:171::-;;;;;;;;;;-1:-1:-1;38188:171:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1710:32:1;;;1692:51;;1680:2;1665:18;38188:171:0;1546:203:1;37706:416:0;;;;;;;;;;-1:-1:-1;37706:416:0;;;;;:::i;:::-;;:::i;:::-;;55017:26;;;;;;;;;;;;;;;;38888:335;;;;;;;;;;-1:-1:-1;38888:335:0;;;;;:::i;:::-;;:::i;56400:157::-;;;:::i;39294:185::-;;;;;;;;;;-1:-1:-1;39294:185:0;;;;;:::i;:::-;;:::i;55135:36::-;;;;;;;;;;;;;:::i;36386:223::-;;;;;;;;;;-1:-1:-1;36386:223:0;;;;;:::i;:::-;;:::i;54799:41::-;;;;;;;;;;;;;;;;56149:243;;;;;;;;;;-1:-1:-1;56149:243:0;;;;;:::i;:::-;;:::i;36117:207::-;;;;;;;;;;-1:-1:-1;36117:207:0;;;;;:::i;:::-;;:::i;53826:103::-;;;;;;;;;;;;;:::i;53178:87::-;;;;;;;;;;-1:-1:-1;53251:6:0;;-1:-1:-1;;;;;53251:6:0;53178:87;;36845:104;;;;;;;;;;;;;:::i;55107:21::-;;;;;;;;;;;;;:::i;55317:614::-;;;;;;:::i;:::-;;:::i;55939:100::-;;;;;;;;;;-1:-1:-1;55939:100:0;;;;;:::i;:::-;;:::i;38431:155::-;;;;;;;;;;-1:-1:-1;38431:155:0;;;;;:::i;:::-;;:::i;39550:322::-;;;;;;;;;;-1:-1:-1;39550:322:0;;;;;:::i;:::-;;:::i;56565:396::-;;;;;;;;;;-1:-1:-1;56565:396:0;;;;;:::i;:::-;;:::i;54888:21::-;;;;;;;;;;;;;;;;38657:164;;;;;;;;;;-1:-1:-1;38657:164:0;;;;;:::i;:::-;;:::i;54084:201::-;;;;;;;;;;-1:-1:-1;54084:201:0;;;;;:::i;:::-;;:::i;56047:94::-;;;;;;;;;;-1:-1:-1;56047:94:0;;;;;:::i;:::-;;:::i;35748:305::-;35850:4;-1:-1:-1;;;;;;35887:40:0;;-1:-1:-1;;;35887:40:0;;:105;;-1:-1:-1;;;;;;;35944:48:0;;-1:-1:-1;;;35944:48:0;35887:105;:158;;;-1:-1:-1;;;;;;;;;;27476:40:0;;;36009:36;35867:178;35748:305;-1:-1:-1;;35748:305:0:o;36676:100::-;36730:13;36763:5;36756:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36676:100;:::o;38188:171::-;38264:7;38284:23;38299:7;38284:14;:23::i;:::-;-1:-1:-1;38327:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;38327:24:0;;38188:171::o;37706:416::-;37787:13;37803:23;37818:7;37803:14;:23::i;:::-;37787:39;;37851:5;-1:-1:-1;;;;;37845:11:0;:2;-1:-1:-1;;;;;37845:11:0;;37837:57;;;;-1:-1:-1;;;37837:57:0;;6038:2:1;37837:57:0;;;6020:21:1;6077:2;6057:18;;;6050:30;6116:34;6096:18;;;6089:62;-1:-1:-1;;;6167:18:1;;;6160:31;6208:19;;37837:57:0;;;;;;;;;34207:10;-1:-1:-1;;;;;37929:21:0;;;;:62;;-1:-1:-1;37954:37:0;37971:5;34207:10;38657:164;:::i;37954:37::-;37907:173;;;;-1:-1:-1;;;37907:173:0;;6440:2:1;37907:173:0;;;6422:21:1;6479:2;6459:18;;;6452:30;6518:34;6498:18;;;6491:62;6589:31;6569:18;;;6562:59;6638:19;;37907:173:0;6238:425:1;37907:173:0;38093:21;38102:2;38106:7;38093:8;:21::i;:::-;37776:346;37706:416;;:::o;38888:335::-;39083:41;34207:10;39116:7;39083:18;:41::i;:::-;39075:99;;;;-1:-1:-1;;;39075:99:0;;;;;;;:::i;:::-;39187:28;39197:4;39203:2;39207:7;39187:9;:28::i;56400:157::-;53064:13;:11;:13::i;:::-;56459:7:::1;56480;53251:6:::0;;-1:-1:-1;;;;;53251:6:0;;53178:87;56480:7:::1;-1:-1:-1::0;;;;;56472:21:0::1;56501;56472:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56458:69;;;56546:2;56538:11;;;::::0;::::1;;56447:110;56400:157::o:0;39294:185::-;39432:39;39449:4;39455:2;39459:7;39432:39;;;;;;;;;;;;:16;:39::i;55135:36::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;36386:223::-;36458:7;41273:16;;;:7;:16;;;;;;-1:-1:-1;;;;;41273:16:0;;36522:56;;;;-1:-1:-1;;;36522:56:0;;7494:2:1;36522:56:0;;;7476:21:1;7533:2;7513:18;;;7506:30;-1:-1:-1;;;7552:18:1;;;7545:54;7616:18;;36522:56:0;7292:348:1;56149:243:0;53064:13;:11;:13::i;:::-;56238:4:::1;56225:10;:17;56221:164;;;56271:4;56259:9;:16:::0;56447:110:::1;56400:157::o:0;56221:164::-:1;56351:9;:22:::0;56149:243::o;36117:207::-;36189:7;-1:-1:-1;;;;;36217:19:0;;36209:73;;;;-1:-1:-1;;;36209:73:0;;7847:2:1;36209:73:0;;;7829:21:1;7886:2;7866:18;;;7859:30;7925:34;7905:18;;;7898:62;-1:-1:-1;;;7976:18:1;;;7969:39;8025:19;;36209:73:0;7645:405:1;36209:73:0;-1:-1:-1;;;;;;36300:16:0;;;;;:9;:16;;;;;;;36117:207::o;53826:103::-;53064:13;:11;:13::i;:::-;53891:30:::1;53918:1;53891:18;:30::i;:::-;53826:103::o:0;36845:104::-;36901:13;36934:7;36927:14;;;;;:::i;55107:21::-;;;;;;;:::i;55317:614::-;55406:11;;55467:9;;55436:27;55453:10;55406:11;55436:27;:::i;:::-;:40;;55428:95;;;;-1:-1:-1;;;55428:95:0;;8519:2:1;55428:95:0;;;8501:21:1;8558:2;8538:18;;;8531:30;8597:34;8577:18;;;8570:62;-1:-1:-1;;;8648:18:1;;;8641:40;8698:19;;55428:95:0;8317:406:1;55428:95:0;55098:2;55544:10;:35;;55536:82;;;;-1:-1:-1;;;55536:82:0;;8930:2:1;55536:82:0;;;8912:21:1;8969:2;8949:18;;;8942:30;9008:34;8988:18;;;8981:62;-1:-1:-1;;;9059:18:1;;;9052:32;9101:19;;55536:82:0;8728:398:1;55536:82:0;53251:6;;-1:-1:-1;;;;;53251:6:0;55643:10;:21;55639:118;;55715:9;55702;;55689:10;:22;;;;:::i;:::-;:35;;55681:64;;;;-1:-1:-1;;;55681:64:0;;9506:2:1;55681:64:0;;;9488:21:1;9545:2;9525:18;;;9518:30;-1:-1:-1;;;9564:18:1;;;9557:46;9620:18;;55681:64:0;9304:340:1;55681:64:0;55785:1;55769:109;55793:10;55788:1;:15;55769:109;;55825:41;55835:10;55847:18;55864:1;55847:14;:18;:::i;:::-;55825:9;:41::i;:::-;55805:3;;;:::i;:::-;;;55769:109;;;;55903:10;55888:11;;:25;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;55317:614:0:o;55939:100::-;53064:13;:11;:13::i;:::-;56013:7:::1;:18;56023:8:::0;56013:7;:18:::1;:::i;:::-;;55939:100:::0;:::o;38431:155::-;38526:52;34207:10;38559:8;38569;38526:18;:52::i;39550:322::-;39724:41;34207:10;39757:7;39724:18;:41::i;:::-;39716:99;;;;-1:-1:-1;;;39716:99:0;;;;;;;:::i;:::-;39826:38;39840:4;39846:2;39850:7;39859:4;39826:13;:38::i;:::-;39550:322;;;;:::o;56565:396::-;41675:4;41273:16;;;:7;:16;;;;;;56638:13;;-1:-1:-1;;;;;41273:16:0;56664:76;;;;-1:-1:-1;;;56664:76:0;;12115:2:1;56664:76:0;;;12097:21:1;12154:2;12134:18;;;12127:30;12193:34;12173:18;;;12166:62;-1:-1:-1;;;12244:18:1;;;12237:45;12299:19;;56664:76:0;11913:411:1;56664:76:0;56754:28;56785:10;:8;:10::i;:::-;56754:41;;56844:1;56819:14;56813:28;:32;:140;;;;;;;;;;;;;;;;;56885:14;56901:18;:7;:16;:18::i;:::-;56921:12;56868:66;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;56813:140;56806:147;56565:396;-1:-1:-1;;;56565:396:0:o;38657:164::-;-1:-1:-1;;;;;38778:25:0;;;38754:4;38778:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;38657:164::o;54084:201::-;53064:13;:11;:13::i;:::-;-1:-1:-1;;;;;54173:22:0;::::1;54165:73;;;::::0;-1:-1:-1;;;54165:73:0;;13718:2:1;54165:73:0::1;::::0;::::1;13700:21:1::0;13757:2;13737:18;;;13730:30;13796:34;13776:18;;;13769:62;-1:-1:-1;;;13847:18:1;;;13840:36;13893:19;;54165:73:0::1;13516:402:1::0;54165:73:0::1;54249:28;54268:8;54249:18;:28::i;56047:94::-:0;53064:13;:11;:13::i;:::-;56115:9:::1;:18:::0;56047:94::o;48007:135::-;41675:4;41273:16;;;:7;:16;;;;;;-1:-1:-1;;;;;41273:16:0;48081:53;;;;-1:-1:-1;;;48081:53:0;;7494:2:1;48081:53:0;;;7476:21:1;7533:2;7513:18;;;7506:30;-1:-1:-1;;;7552:18:1;;;7545:54;7616:18;;48081:53:0;7292:348:1;47286:174:0;47361:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;47361:29:0;-1:-1:-1;;;;;47361:29:0;;;;;;;;:24;;47415:23;47361:24;47415:14;:23::i;:::-;-1:-1:-1;;;;;47406:46:0;;;;;;;;;;;47286:174;;:::o;41905:264::-;41998:4;42015:13;42031:23;42046:7;42031:14;:23::i;:::-;42015:39;;42084:5;-1:-1:-1;;;;;42073:16:0;:7;-1:-1:-1;;;;;42073:16:0;;:52;;;;42093:32;42110:5;42117:7;42093:16;:32::i;:::-;42073:87;;;;42153:7;-1:-1:-1;;;;;42129:31:0;:20;42141:7;42129:11;:20::i;:::-;-1:-1:-1;;;;;42129:31:0;;42073:87;42065:96;41905:264;-1:-1:-1;;;;41905:264:0:o;45904:1263::-;46063:4;-1:-1:-1;;;;;46036:31:0;:23;46051:7;46036:14;:23::i;:::-;-1:-1:-1;;;;;46036:31:0;;46028:81;;;;-1:-1:-1;;;46028:81:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;46128:16:0;;46120:65;;;;-1:-1:-1;;;46120:65:0;;14531:2:1;46120:65:0;;;14513:21:1;14570:2;14550:18;;;14543:30;14609:34;14589:18;;;14582:62;-1:-1:-1;;;14660:18:1;;;14653:34;14704:19;;46120:65:0;14329:400:1;46120:65:0;46370:4;-1:-1:-1;;;;;46343:31:0;:23;46358:7;46343:14;:23::i;:::-;-1:-1:-1;;;;;46343:31:0;;46335:81;;;;-1:-1:-1;;;46335:81:0;;;;;;;:::i;:::-;46488:24;;;;:15;:24;;;;;;;;46481:31;;-1:-1:-1;;;;;;46481:31:0;;;;;;-1:-1:-1;;;;;46964:15:0;;;;;;:9;:15;;;;;:20;;-1:-1:-1;;46964:20:0;;;46999:13;;;;;;;;;:18;;46481:31;46999:18;;;47039:16;;;:7;:16;;;;;;:21;;;;;;;;;;47078:27;;46504:7;;47078:27;;;37776:346;37706:416;;:::o;53343:132::-;53251:6;;-1:-1:-1;;;;;53251:6:0;34207:10;53407:23;53399:68;;;;-1:-1:-1;;;53399:68:0;;14936:2:1;53399:68:0;;;14918:21:1;;;14955:18;;;14948:30;15014:34;14994:18;;;14987:62;15066:18;;53399:68:0;14734:356:1;54445:191:0;54538:6;;;-1:-1:-1;;;;;54555:17:0;;;-1:-1:-1;;;;;;54555:17:0;;;;;;;54588:40;;54538:6;;;54555:17;54538:6;;54588:40;;54519:16;;54588:40;54508:128;54445:191;:::o;42511:110::-;42587:26;42597:2;42601:7;42587:26;;;;;;;;;;;;:9;:26::i;47603:315::-;47758:8;-1:-1:-1;;;;;47749:17:0;:5;-1:-1:-1;;;;;47749:17:0;;47741:55;;;;-1:-1:-1;;;47741:55:0;;15297:2:1;47741:55:0;;;15279:21:1;15336:2;15316:18;;;15309:30;15375:27;15355:18;;;15348:55;15420:18;;47741:55:0;15095:349:1;47741:55:0;-1:-1:-1;;;;;47807:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;47807:46:0;;;;;;;;;;47869:41;;722::1;;;47869::0;;695:18:1;47869:41:0;;;;;;;47603:315;;;:::o;40753:313::-;40909:28;40919:4;40925:2;40929:7;40909:9;:28::i;:::-;40956:47;40979:4;40985:2;40989:7;40998:4;40956:22;:47::i;:::-;40948:110;;;;-1:-1:-1;;;40948:110:0;;;;;;;:::i;56970:108::-;57030:13;57063:7;57056:14;;;;;:::i;13209:716::-;13265:13;13316:14;13333:17;13344:5;13333:10;:17::i;:::-;13353:1;13333:21;13316:38;;13369:20;13403:6;13392:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;13392:18:0;-1:-1:-1;13369:41:0;-1:-1:-1;13534:28:0;;;13550:2;13534:28;13591:288;-1:-1:-1;;13623:5:0;-1:-1:-1;;;13760:2:0;13749:14;;13744:30;13623:5;13731:44;13821:2;13812:11;;;-1:-1:-1;13842:21:0;13591:288;13842:21;-1:-1:-1;13900:6:0;13209:716;-1:-1:-1;;;13209:716:0:o;42848:319::-;42977:18;42983:2;42987:7;42977:5;:18::i;:::-;43028:53;43059:1;43063:2;43067:7;43076:4;43028:22;:53::i;:::-;43006:153;;;;-1:-1:-1;;;43006:153:0;;;;;;;:::i;48706:853::-;48860:4;-1:-1:-1;;;;;48881:13:0;;16631:19;:23;48877:675;;48917:71;;-1:-1:-1;;;48917:71:0;;-1:-1:-1;;;;;48917:36:0;;;;;:71;;34207:10;;48968:4;;48974:7;;48983:4;;48917:71;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;48917:71:0;;;;;;;;-1:-1:-1;;48917:71:0;;;;;;;;;;;;:::i;:::-;;;48913:584;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49158:6;:13;49175:1;49158:18;49154:328;;49201:60;;-1:-1:-1;;;49201:60:0;;;;;;;:::i;49154:328::-;49432:6;49426:13;49417:6;49413:2;49409:15;49402:38;48913:584;-1:-1:-1;;;;;;49039:51:0;-1:-1:-1;;;49039:51:0;;-1:-1:-1;49032:58:0;;48877:675;-1:-1:-1;49536:4:0;48706:853;;;;;;:::o;10075:922::-;10128:7;;-1:-1:-1;;;10206:15:0;;10202:102;;-1:-1:-1;;;10242:15:0;;;-1:-1:-1;10286:2:0;10276:12;10202:102;10331:6;10322:5;:15;10318:102;;10367:6;10358:15;;;-1:-1:-1;10402:2:0;10392:12;10318:102;10447:6;10438:5;:15;10434:102;;10483:6;10474:15;;;-1:-1:-1;10518:2:0;10508:12;10434:102;10563:5;10554;:14;10550:99;;10598:5;10589:14;;;-1:-1:-1;10632:1:0;10622:11;10550:99;10676:5;10667;:14;10663:99;;10711:5;10702:14;;;-1:-1:-1;10745:1:0;10735:11;10663:99;10789:5;10780;:14;10776:99;;10824:5;10815:14;;;-1:-1:-1;10858:1:0;10848:11;10776:99;10902:5;10893;:14;10889:66;;10938:1;10928:11;10983:6;10075:922;-1:-1:-1;;10075:922:0:o;43503:942::-;-1:-1:-1;;;;;43583:16:0;;43575:61;;;;-1:-1:-1;;;43575:61:0;;16957:2:1;43575:61:0;;;16939:21:1;;;16976:18;;;16969:30;17035:34;17015:18;;;17008:62;17087:18;;43575:61:0;16755:356:1;43575:61:0;41675:4;41273:16;;;:7;:16;;;;;;-1:-1:-1;;;;;41273:16:0;41699:31;43647:58;;;;-1:-1:-1;;;43647:58:0;;17318:2:1;43647:58:0;;;17300:21:1;17357:2;17337:18;;;17330:30;17396;17376:18;;;17369:58;17444:18;;43647:58:0;17116:352:1;43647:58:0;41675:4;41273:16;;;:7;:16;;;;;;-1:-1:-1;;;;;41273:16:0;41699:31;43856:58;;;;-1:-1:-1;;;43856:58:0;;17318:2:1;43856:58:0;;;17300:21:1;17357:2;17337:18;;;17330:30;17396;17376:18;;;17369:58;17444:18;;43856:58:0;17116:352:1;43856:58:0;-1:-1:-1;;;;;44263:13:0;;;;;;:9;:13;;;;;;;;:18;;44280:1;44263:18;;;44305:16;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;44305:21:0;;;;;44344:33;44313:7;;44263:13;;44344:33;;44263:13;;44344:33;56013:18:::1;55939:100:::0;:::o;196:131:1:-;-1:-1:-1;;;;;;270:32:1;;260:43;;250:71;;317:1;314;307:12;332:245;390:6;443:2;431:9;422:7;418:23;414:32;411:52;;;459:1;456;449:12;411:52;498:9;485:23;517:30;541:5;517:30;:::i;774:300::-;827:3;865:5;859:12;892:6;887:3;880:19;948:6;941:4;934:5;930:16;923:4;918:3;914:14;908:47;1000:1;993:4;984:6;979:3;975:16;971:27;964:38;1063:4;1056:2;1052:7;1047:2;1039:6;1035:15;1031:29;1026:3;1022:39;1018:50;1011:57;;;774:300;;;;:::o;1079:231::-;1228:2;1217:9;1210:21;1191:4;1248:56;1300:2;1289:9;1285:18;1277:6;1248:56;:::i;1315:226::-;1374:6;1427:2;1415:9;1406:7;1402:23;1398:32;1395:52;;;1443:1;1440;1433:12;1395:52;-1:-1:-1;1488:23:1;;1315:226;-1:-1:-1;1315:226:1:o;1754:173::-;1822:20;;-1:-1:-1;;;;;1871:31:1;;1861:42;;1851:70;;1917:1;1914;1907:12;1851:70;1754:173;;;:::o;1932:300::-;2000:6;2008;2061:2;2049:9;2040:7;2036:23;2032:32;2029:52;;;2077:1;2074;2067:12;2029:52;2100:29;2119:9;2100:29;:::i;:::-;2090:39;2198:2;2183:18;;;;2170:32;;-1:-1:-1;;;1932:300:1:o;2237:374::-;2314:6;2322;2330;2383:2;2371:9;2362:7;2358:23;2354:32;2351:52;;;2399:1;2396;2389:12;2351:52;2422:29;2441:9;2422:29;:::i;:::-;2412:39;;2470:38;2504:2;2493:9;2489:18;2470:38;:::i;:::-;2237:374;;2460:48;;-1:-1:-1;;;2577:2:1;2562:18;;;;2549:32;;2237:374::o;2616:186::-;2675:6;2728:2;2716:9;2707:7;2703:23;2699:32;2696:52;;;2744:1;2741;2734:12;2696:52;2767:29;2786:9;2767:29;:::i;2807:127::-;2868:10;2863:3;2859:20;2856:1;2849:31;2899:4;2896:1;2889:15;2923:4;2920:1;2913:15;2939:716;3004:5;3036:1;3060:18;3052:6;3049:30;3046:56;;;3082:18;;:::i;:::-;-1:-1:-1;3237:2:1;3231:9;-1:-1:-1;;3150:2:1;3129:15;;3125:29;;3295:2;3283:15;3279:29;3267:42;;3360:22;;;3339:18;3324:34;;3321:62;3318:88;;;3386:18;;:::i;:::-;3422:2;3415:22;3470;;;3455:6;-1:-1:-1;3455:6:1;3507:16;;;3504:25;-1:-1:-1;3501:45:1;;;3542:1;3539;3532:12;3501:45;3592:6;3587:3;3580:4;3572:6;3568:17;3555:44;3647:1;3640:4;3631:6;3623;3619:19;3615:30;3608:41;;2939:716;;;;;:::o;3660:451::-;3729:6;3782:2;3770:9;3761:7;3757:23;3753:32;3750:52;;;3798:1;3795;3788:12;3750:52;3838:9;3825:23;3871:18;3863:6;3860:30;3857:50;;;3903:1;3900;3893:12;3857:50;3926:22;;3979:4;3971:13;;3967:27;-1:-1:-1;3957:55:1;;4008:1;4005;3998:12;3957:55;4031:74;4097:7;4092:2;4079:16;4074:2;4070;4066:11;4031:74;:::i;4116:347::-;4181:6;4189;4242:2;4230:9;4221:7;4217:23;4213:32;4210:52;;;4258:1;4255;4248:12;4210:52;4281:29;4300:9;4281:29;:::i;:::-;4271:39;;4360:2;4349:9;4345:18;4332:32;4407:5;4400:13;4393:21;4386:5;4383:32;4373:60;;4429:1;4426;4419:12;4373:60;4452:5;4442:15;;;4116:347;;;;;:::o;4468:713::-;4563:6;4571;4579;4587;4640:3;4628:9;4619:7;4615:23;4611:33;4608:53;;;4657:1;4654;4647:12;4608:53;4680:29;4699:9;4680:29;:::i;:::-;4670:39;;4728:38;4762:2;4751:9;4747:18;4728:38;:::i;:::-;4718:48;-1:-1:-1;4835:2:1;4820:18;;4807:32;;-1:-1:-1;4914:2:1;4899:18;;4886:32;4941:18;4930:30;;4927:50;;;4973:1;4970;4963:12;4927:50;4996:22;;5049:4;5041:13;;5037:27;-1:-1:-1;5027:55:1;;5078:1;5075;5068:12;5027:55;5101:74;5167:7;5162:2;5149:16;5144:2;5140;5136:11;5101:74;:::i;:::-;5091:84;;;4468:713;;;;;;;:::o;5186:260::-;5254:6;5262;5315:2;5303:9;5294:7;5290:23;5286:32;5283:52;;;5331:1;5328;5321:12;5283:52;5354:29;5373:9;5354:29;:::i;:::-;5344:39;;5402:38;5436:2;5425:9;5421:18;5402:38;:::i;:::-;5392:48;;5186:260;;;;;:::o;5451:380::-;5530:1;5526:12;;;;5573;;;5594:61;;5648:4;5640:6;5636:17;5626:27;;5594:61;5701:2;5693:6;5690:14;5670:18;5667:38;5664:161;;5747:10;5742:3;5738:20;5735:1;5728:31;5782:4;5779:1;5772:15;5810:4;5807:1;5800:15;5664:161;;5451:380;;;:::o;6668:409::-;6870:2;6852:21;;;6909:2;6889:18;;;6882:30;6948:34;6943:2;6928:18;;6921:62;-1:-1:-1;;;7014:2:1;6999:18;;6992:43;7067:3;7052:19;;6668:409::o;8055:127::-;8116:10;8111:3;8107:20;8104:1;8097:31;8147:4;8144:1;8137:15;8171:4;8168:1;8161:15;8187:125;8252:9;;;8273:10;;;8270:36;;;8286:18;;:::i;9131:168::-;9204:9;;;9235;;9252:15;;;9246:22;;9232:37;9222:71;;9273:18;;:::i;9649:135::-;9688:3;9709:17;;;9706:43;;9729:18;;:::i;:::-;-1:-1:-1;9776:1:1;9765:13;;9649:135::o;9915:518::-;10017:2;10012:3;10009:11;10006:421;;;10053:5;10050:1;10043:16;10097:4;10094:1;10084:18;10167:2;10155:10;10151:19;10148:1;10144:27;10138:4;10134:38;10203:4;10191:10;10188:20;10185:47;;;-1:-1:-1;10226:4:1;10185:47;10281:2;10276:3;10272:12;10269:1;10265:20;10259:4;10255:31;10245:41;;10336:81;10354:2;10347:5;10344:13;10336:81;;;10413:1;10399:16;;10380:1;10369:13;10336:81;;;10340:3;;9915:518;;;:::o;10609:1299::-;10735:3;10729:10;10762:18;10754:6;10751:30;10748:56;;;10784:18;;:::i;:::-;10813:97;10903:6;10863:38;10895:4;10889:11;10863:38;:::i;:::-;10857:4;10813:97;:::i;:::-;10959:4;10990:2;10979:14;;11007:1;11002:649;;;;11695:1;11712:6;11709:89;;;-1:-1:-1;11764:19:1;;;11758:26;11709:89;-1:-1:-1;;10566:1:1;10562:11;;;10558:24;10554:29;10544:40;10590:1;10586:11;;;10541:57;11811:81;;10972:930;;11002:649;9862:1;9855:14;;;9899:4;9886:18;;-1:-1:-1;;11038:20:1;;;11156:222;11170:7;11167:1;11164:14;11156:222;;;11252:19;;;11246:26;11231:42;;11359:4;11344:20;;;;11312:1;11300:14;;;;11186:12;11156:222;;;11160:3;11406:6;11397:7;11394:19;11391:201;;;11467:19;;;11461:26;-1:-1:-1;;11550:1:1;11546:14;;;11562:3;11542:24;11538:37;11534:42;11519:58;11504:74;;11391:201;-1:-1:-1;;;;11638:1:1;11622:14;;;11618:22;11605:36;;-1:-1:-1;10609:1299:1:o;12329:212::-;12371:3;12409:5;12403:12;12453:6;12446:4;12439:5;12435:16;12430:3;12424:36;12515:1;12479:16;;12504:13;;;-1:-1:-1;12479:16:1;;12329:212;-1:-1:-1;12329:212:1:o;12546:965::-;12770:3;12798:57;12824:30;12850:3;12842:6;12824:30;:::i;:::-;12816:6;12798:57;:::i;:::-;12875:1;12908:6;12902:13;12938:36;12964:9;12938:36;:::i;:::-;13005:1;12990:17;;13016:131;;;;13161:1;13156:330;;;;12983:503;;13016:131;-1:-1:-1;;13048:24:1;;13037:36;;13120:14;;13113:22;13101:35;;13093:44;;;-1:-1:-1;13016:131:1;;13156:330;13187:6;13184:1;13177:17;13235:4;13232:1;13222:18;13262:1;13276:165;13290:6;13287:1;13284:13;13276:165;;;13369:14;;13357:10;;;13350:34;13425:1;13412:15;;;;13312:4;13305:12;13276:165;;;13280:3;;13469:6;13465:2;13461:15;13454:22;;12983:503;-1:-1:-1;13502:3:1;;12546:965;-1:-1:-1;;;;;;;;12546:965:1:o;13923:401::-;14125:2;14107:21;;;14164:2;14144:18;;;14137:30;14203:34;14198:2;14183:18;;14176:62;-1:-1:-1;;;14269:2:1;14254:18;;14247:35;14314:3;14299:19;;13923:401::o;15449:414::-;15651:2;15633:21;;;15690:2;15670:18;;;15663:30;15729:34;15724:2;15709:18;;15702:62;-1:-1:-1;;;15795:2:1;15780:18;;15773:48;15853:3;15838:19;;15449:414::o;16000:496::-;-1:-1:-1;;;;;16231:32:1;;;16213:51;;16300:32;;16295:2;16280:18;;16273:60;16364:2;16349:18;;16342:34;;;16412:3;16407:2;16392:18;;16385:31;;;-1:-1:-1;;16433:57:1;;16470:19;;16462:6;16433:57;:::i;:::-;16425:65;16000:496;-1:-1:-1;;;;;;16000:496:1:o;16501:249::-;16570:6;16623:2;16611:9;16602:7;16598:23;16594:32;16591:52;;;16639:1;16636;16629:12;16591:52;16671:9;16665:16;16690:30;16714:5;16690:30;:::i

Swarm Source

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