ETH Price: $3,329.48 (-0.54%)
 

Overview

Max Total Supply

3 BioPup

Holders

3

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 BioPup
0x5032A3299367C93d1a84F6610a9dd912C197BA47
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:
BioPups

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2023-03-03
*/

// File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/math/SignedMath.sol


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

pragma solidity ^0.8.0;

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

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

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

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

// File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/math/Math.sol


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

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) {
                // Solidity will revert if denominator == 0, unlike the div opcode on its own.
                // The surrounding unchecked block does not change this fact.
                // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic.
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            require(denominator > prod1, "Math: mulDiv overflow");

            ///////////////////////////////////////////////
            // 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 256, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log256(value);
            return result + (rounding == Rounding.Up && 1 << (result << 3) < value ? 1 : 0);
        }
    }
}

// File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/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 `int256` to its ASCII `string` decimal representation.
     */
    function toString(int256 value) internal pure returns (string memory) {
        return string(abi.encodePacked(value < 0 ? "-" : "", toString(SignedMath.abs(value))));
    }

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

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        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);
    }

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

// File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/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: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/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
     *
     * Furthermore, `isContract` will also return true if the target contract within
     * the same transaction is already scheduled for destruction by `SELFDESTRUCT`,
     * which only has an effect at the end of a transaction.
     * ====
     *
     * [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://consensys.net/diligence/blog/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.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: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/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: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/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: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/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: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/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: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/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: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC721/ERC721.sol


// OpenZeppelin Contracts (last updated v4.8.0) (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 {
        if (batchSize > 1) {
            if (from != address(0)) {
                _balances[from] -= batchSize;
            }
            if (to != address(0)) {
                _balances[to] += batchSize;
            }
        }
    }

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

// File: contracts/BioPups.sol


pragma solidity 0.8.17;
//SPDX-License-Identifier: MIT


contract BioPups is ERC721 {
    using Strings for uint256;

    address public owner;
    address public feeRecipient;
    string public baseURI;

    mapping(uint => uint) private _availableTokens;

    uint256 public constant MAX_SUPPLY = 999;
    uint256 public constant MAX_MINT_PER_WALLET = 33;
    uint256 public constant price = 0.02 ether;

    uint256 private _numAvailableTokens;
    uint256 public roundNumAvailableTokens;
    uint256 public round;

    bool public mintEnabled;

    error PriceNotMet();
    error MaxMintReached();
    error NotOwner();
    error FailedForward();
    error WrongOrder();
    error MaxSupplyReached();
    error MintNotEnabled();
    error WrongRound();

    event Purchase(address user, uint256 numOfNft);

    modifier onlyOwner() {
        if(msg.sender != owner) revert NotOwner();
        _;
    }

    constructor(string memory _baseURI_) ERC721("BioPups", "BioPup"){
        owner = msg.sender;
        feeRecipient = msg.sender;
        baseURI = _baseURI_;
        _numAvailableTokens = MAX_SUPPLY;
        roundNumAvailableTokens = 333;
    }

    function totalSupply() public view virtual returns (uint256) {
        return MAX_SUPPLY - _numAvailableTokens;
    }

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

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

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

    function startNextRound() external onlyOwner{
        if(round == 2) revert WrongRound();
        round++;
        roundNumAvailableTokens = 333;
    }

    function purchase(uint256 numOfNft) external payable{
        if(!mintEnabled) revert MintNotEnabled();
        if(msg.value != numOfNft * price) revert PriceNotMet();
        if(numOfNft + balanceOf(msg.sender) > MAX_MINT_PER_WALLET) revert MaxMintReached();

        uint256 fee = numOfNft * price;
        _mintRandom(msg.sender, numOfNft);
        (bool success, ) = payable(feeRecipient).call{value: fee}("");
        if(!success) revert FailedForward();
        emit Purchase(msg.sender, numOfNft);
    }

    function _mintRandom(address to, uint _numToMint) internal virtual {
        require(_msgSender() == tx.origin, "Contracts cannot mint");
        require(to != address(0), "ERC721: mint to the zero address");
        require(_numToMint > 0, "ERC721: need to mint at least one token");
        
        require(roundNumAvailableTokens >= _numToMint, "ERC721: minting more tokens than available");
        
        uint updatedNumAvailableTokens = roundNumAvailableTokens;
        uint256 roundCorrection = 333 * round;
        for (uint256 i; i < _numToMint;) {
            uint256 tokenId = getRandomAvailableTokenId(to, updatedNumAvailableTokens + roundCorrection);
            super._mint(to, tokenId);
            
            unchecked {
                --updatedNumAvailableTokens;
                ++i;
            }

        }
        
        roundNumAvailableTokens = updatedNumAvailableTokens;
        _numAvailableTokens -= _numToMint;
    }

    function getRandomAvailableTokenId(address to, uint updatedNumAvailableTokens)
        internal
        returns (uint256)
    {
        uint256 randomNum = uint256(
            keccak256(
                abi.encode(
                    to,
                    tx.gasprice,
                    block.number,
                    block.timestamp,
                    block.difficulty,
                    blockhash(block.number - 1),
                    address(this),
                    updatedNumAvailableTokens
                )
            )
        );
        uint256 min = 333 * round;
        uint256 randomIndex = (randomNum % (updatedNumAvailableTokens - min)) + min;
        return getAvailableTokenAtIndex(randomIndex, updatedNumAvailableTokens);
    }

    // Implements https://en.wikipedia.org/wiki/Fisher%E2%80%93Yates_shuffle. Code taken from CryptoPhunksV2
    function getAvailableTokenAtIndex(uint256 indexToUse, uint updatedNumAvailableTokens)
        internal
        returns (uint256)
    {
        uint256 valAtIndex = _availableTokens[indexToUse];
        uint256 result;
        if (valAtIndex == 0) {
            // This means the index itself is still an available token
            result = indexToUse;
        } else {
            // This means the index itself is not an available token, but the val at that index is.
            result = valAtIndex;
        }

        uint256 lastIndex = updatedNumAvailableTokens - 1;
        uint256 lastValInArray = _availableTokens[lastIndex];
        if (indexToUse != lastIndex) {
            // Replace the value at indexToUse, now that it's been used.
            // Replace it with the data from the last index in the array, since we are going to decrease the array size afterwards.
            if (lastValInArray == 0) {
                // This means the index itself is still an available token
                _availableTokens[indexToUse] = lastIndex;
            } else {
                // This means the index itself is not an available token, but the val at that index is.
                _availableTokens[indexToUse] = lastValInArray;
            }
        }
        if (lastValInArray != 0) {
            delete _availableTokens[lastIndex];
        }        
        return result;
    }

    function setMintEnabled(bool status) external onlyOwner{
        mintEnabled = status;
    }

    function changeFeeRecipient(address newFeeRecipient) external onlyOwner{
        feeRecipient = newFeeRecipient;
    }

    function changeOwner(address newOwner) external onlyOwner{
        owner = newOwner;
    }

    function rescueETH() external onlyOwner{
        (bool success, ) = payable(feeRecipient).call{value: address(this).balance}("");
        if(!success) revert FailedForward();
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_baseURI_","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"FailedForward","type":"error"},{"inputs":[],"name":"MaxMintReached","type":"error"},{"inputs":[],"name":"MaxSupplyReached","type":"error"},{"inputs":[],"name":"MintNotEnabled","type":"error"},{"inputs":[],"name":"NotOwner","type":"error"},{"inputs":[],"name":"PriceNotMet","type":"error"},{"inputs":[],"name":"WrongOrder","type":"error"},{"inputs":[],"name":"WrongRound","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"numOfNft","type":"uint256"}],"name":"Purchase","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_MINT_PER_WALLET","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":"address","name":"newFeeRecipient","type":"address"}],"name":"changeFeeRecipient","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"changeOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"feeRecipient","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"mintEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numOfNft","type":"uint256"}],"name":"purchase","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"rescueETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"round","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"roundNumAvailableTokens","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":"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":"bool","name":"status","type":"bool"}],"name":"setMintEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startNextRound","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"}]

60806040523480156200001157600080fd5b506040516200221e3803806200221e8339810160408190526200003491620000f0565b6040518060400160405280600781526020016642696f5075707360c81b81525060405180604001604052806006815260200165042696f5075760d41b815250816000908162000084919062000254565b50600162000093828262000254565b505060068054336001600160a01b03199182168117909255600780549091169091179055506008620000c6828262000254565b50506103e7600a5561014d600b5562000320565b634e487b7160e01b600052604160045260246000fd5b600060208083850312156200010457600080fd5b82516001600160401b03808211156200011c57600080fd5b818501915085601f8301126200013157600080fd5b815181811115620001465762000146620000da565b604051601f8201601f19908116603f01168101908382118183101715620001715762000171620000da565b8160405282815288868487010111156200018a57600080fd5b600093505b82841015620001ae57848401860151818501870152928501926200018f565b600086848301015280965050505050505092915050565b600181811c90821680620001da57607f821691505b602082108103620001fb57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200024f57600081815260208120601f850160051c810160208610156200022a5750805b601f850160051c820191505b818110156200024b5782815560010162000236565b5050505b505050565b81516001600160401b03811115620002705762000270620000da565b6200028881620002818454620001c5565b8462000201565b602080601f831160018114620002c05760008415620002a75750858301515b600019600386901b1c1916600185901b1785556200024b565b600085815260208120601f198616915b82811015620002f157888601518255948401946001909101908401620002d0565b5085821015620003105787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b611eee80620003306000396000f3fe6080604052600436106101c25760003560e01c80636c0360eb116100f7578063b19960e611610095578063e985e9c511610064578063e985e9c5146104c5578063ed766e7e146104e5578063efef39a1146104fb578063f46a04eb1461050e57600080fd5b8063b19960e614610456578063b88d4fde1461046b578063c87b56dd1461048b578063d1239730146104ab57600080fd5b806395d89b41116100d157806395d89b41146103e6578063a035b1fe146103fb578063a22cb46514610416578063a6f9dae11461043657600080fd5b80636c0360eb1461039157806370a08231146103a65780638da5cb5b146103c657600080fd5b806323604071116101645780633c3ccc441161013e5780633c3ccc441461031c57806342842e0e1461033157806346904840146103515780636352211e1461037157600080fd5b806323604071146102c657806323b872dd146102e657806332cb6b0c1461030657600080fd5b8063095ea7b3116101a0578063095ea7b314610256578063146ca5311461027857806318160ddd1461029c57806320800a00146102b157600080fd5b806301ffc9a7146101c757806306fdde03146101fc578063081812fc1461021e575b600080fd5b3480156101d357600080fd5b506101e76101e236600461192b565b61052e565b60405190151581526020015b60405180910390f35b34801561020857600080fd5b50610211610580565b6040516101f3919061199f565b34801561022a57600080fd5b5061023e6102393660046119b2565b610612565b6040516001600160a01b0390911681526020016101f3565b34801561026257600080fd5b506102766102713660046119e7565b610639565b005b34801561028457600080fd5b5061028e600c5481565b6040519081526020016101f3565b3480156102a857600080fd5b5061028e610753565b3480156102bd57600080fd5b5061027661076a565b3480156102d257600080fd5b506102766102e1366004611a11565b61080c565b3480156102f257600080fd5b50610276610301366004611a2c565b610859565b34801561031257600080fd5b5061028e6103e781565b34801561032857600080fd5b5061027661088a565b34801561033d57600080fd5b5061027661034c366004611a2c565b6108f5565b34801561035d57600080fd5b5060075461023e906001600160a01b031681565b34801561037d57600080fd5b5061023e61038c3660046119b2565b610910565b34801561039d57600080fd5b50610211610970565b3480156103b257600080fd5b5061028e6103c1366004611a11565b6109fe565b3480156103d257600080fd5b5060065461023e906001600160a01b031681565b3480156103f257600080fd5b50610211610a84565b34801561040757600080fd5b5061028e66470de4df82000081565b34801561042257600080fd5b50610276610431366004611a78565b610a93565b34801561044257600080fd5b50610276610451366004611a11565b610aa2565b34801561046257600080fd5b5061028e602181565b34801561047757600080fd5b50610276610486366004611ac1565b610aef565b34801561049757600080fd5b506102116104a63660046119b2565b610b27565b3480156104b757600080fd5b50600d546101e79060ff1681565b3480156104d157600080fd5b506101e76104e0366004611b9d565b610c02565b3480156104f157600080fd5b5061028e600b5481565b6102766105093660046119b2565b610c30565b34801561051a57600080fd5b50610276610529366004611bc7565b610d88565b60006001600160e01b031982166380ac58cd60e01b148061055f57506001600160e01b03198216635b5e139f60e01b145b8061057a57506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606000805461058f90611be2565b80601f01602080910402602001604051908101604052809291908181526020018280546105bb90611be2565b80156106085780601f106105dd57610100808354040283529160200191610608565b820191906000526020600020905b8154815290600101906020018083116105eb57829003601f168201915b5050505050905090565b600061061d82610dc6565b506000908152600460205260409020546001600160a01b031690565b600061064482610910565b9050806001600160a01b0316836001600160a01b0316036106b65760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b03821614806106d257506106d28133610c02565b6107445760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c00000060648201526084016106ad565b61074e8383610e25565b505050565b6000600a546103e76107659190611c32565b905090565b6006546001600160a01b03163314610795576040516330cd747160e01b815260040160405180910390fd5b6007546040516000916001600160a01b03169047908381818185875af1925050503d80600081146107e2576040519150601f19603f3d011682016040523d82523d6000602084013e6107e7565b606091505b505090508061080957604051632c5854f160e01b815260040160405180910390fd5b50565b6006546001600160a01b03163314610837576040516330cd747160e01b815260040160405180910390fd5b600780546001600160a01b0319166001600160a01b0392909216919091179055565b6108633382610e93565b61087f5760405162461bcd60e51b81526004016106ad90611c45565b61074e838383610ef2565b6006546001600160a01b031633146108b5576040516330cd747160e01b815260040160405180910390fd5b600c546002036108d8576040516330fe9c1560e21b815260040160405180910390fd5b600c80549060006108e883611c92565b909155505061014d600b55565b61074e83838360405180602001604052806000815250610aef565b6000818152600260205260408120546001600160a01b03168061057a5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016106ad565b6008805461097d90611be2565b80601f01602080910402602001604051908101604052809291908181526020018280546109a990611be2565b80156109f65780601f106109cb576101008083540402835291602001916109f6565b820191906000526020600020905b8154815290600101906020018083116109d957829003601f168201915b505050505081565b60006001600160a01b038216610a685760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b60648201526084016106ad565b506001600160a01b031660009081526003602052604090205490565b60606001805461058f90611be2565b610a9e338383611063565b5050565b6006546001600160a01b03163314610acd576040516330cd747160e01b815260040160405180910390fd5b600680546001600160a01b0319166001600160a01b0392909216919091179055565b610af93383610e93565b610b155760405162461bcd60e51b81526004016106ad90611c45565b610b2184848484611131565b50505050565b6000818152600260205260409020546060906001600160a01b0316610ba65760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016106ad565b600060088054610bb590611be2565b905011610bd1576040518060200160405280600081525061057a565b6008610bdc83611164565b604051602001610bed929190611cc7565b60405160208183030381529060405292915050565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b600d5460ff16610c535760405163447691f760e01b815260040160405180910390fd5b610c6466470de4df82000082611d85565b3414610c83576040516351616ae360e11b815260040160405180910390fd5b6021610c8e336109fe565b610c989083611d9c565b1115610cb75760405163fc3fc71f60e01b815260040160405180910390fd5b6000610cca66470de4df82000083611d85565b9050610cd633836111f7565b6007546040516000916001600160a01b03169083908381818185875af1925050503d8060008114610d23576040519150601f19603f3d011682016040523d82523d6000602084013e610d28565b606091505b5050905080610d4a57604051632c5854f160e01b815260040160405180910390fd5b60408051338152602081018590527f2499a5330ab0979cc612135e7883ebc3cd5c9f7a8508f042540c34723348f632910160405180910390a1505050565b6006546001600160a01b03163314610db3576040516330cd747160e01b815260040160405180910390fd5b600d805460ff1916911515919091179055565b6000818152600260205260409020546001600160a01b03166108095760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016106ad565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610e5a82610910565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080610e9f83610910565b9050806001600160a01b0316846001600160a01b03161480610ec65750610ec68185610c02565b80610eea5750836001600160a01b0316610edf84610612565b6001600160a01b0316145b949350505050565b826001600160a01b0316610f0582610910565b6001600160a01b031614610f2b5760405162461bcd60e51b81526004016106ad90611daf565b6001600160a01b038216610f8d5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016106ad565b610f9a83838360016113d1565b826001600160a01b0316610fad82610910565b6001600160a01b031614610fd35760405162461bcd60e51b81526004016106ad90611daf565b600081815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260038552838620805460001901905590871680865283862080546001019055868652600290945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b816001600160a01b0316836001600160a01b0316036110c45760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016106ad565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b61113c848484610ef2565b6111488484848461144e565b610b215760405162461bcd60e51b81526004016106ad90611df4565b606060006111718361154f565b600101905060008167ffffffffffffffff81111561119157611191611aab565b6040519080825280601f01601f1916602001820160405280156111bb576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a85049450846111c557509392505050565b33321461123e5760405162461bcd60e51b815260206004820152601560248201527410dbdb9d1c9858dd1cc818d85b9b9bdd081b5a5b9d605a1b60448201526064016106ad565b6001600160a01b0382166112945760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016106ad565b600081116112f45760405162461bcd60e51b815260206004820152602760248201527f4552433732313a206e65656420746f206d696e74206174206c65617374206f6e60448201526632903a37b5b2b760c91b60648201526084016106ad565b80600b5410156113595760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a206d696e74696e67206d6f726520746f6b656e73207468616e60448201526920617661696c61626c6560b01b60648201526084016106ad565b600b54600c5460009061136e9061014d611d85565b905060005b838110156113ac5760006113908661138b8587611d9c565b611627565b905061139c86826116e4565b5060001990920191600101611373565b5081600b8190555082600a60008282546113c69190611c32565b909155505050505050565b6001811115610b21576001600160a01b03841615611417576001600160a01b03841660009081526003602052604081208054839290611411908490611c32565b90915550505b6001600160a01b03831615610b21576001600160a01b038316600090815260036020526040812080548392906113c6908490611d9c565b60006001600160a01b0384163b1561154457604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611492903390899088908890600401611e46565b6020604051808303816000875af19250505080156114cd575060408051601f3d908101601f191682019092526114ca91810190611e79565b60015b61152a573d8080156114fb576040519150601f19603f3d011682016040523d82523d6000602084013e611500565b606091505b5080516000036115225760405162461bcd60e51b81526004016106ad90611df4565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610eea565b506001949350505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b831061158e5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef810000000083106115ba576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc1000083106115d857662386f26fc10000830492506010015b6305f5e10083106115f0576305f5e100830492506008015b612710831061160457612710830492506004015b60648310611616576064830492506002015b600a831061057a5760010192915050565b600080833a43424461163a600184611c32565b604080516001600160a01b0390971660208801528601949094526060850192909252608084015260a08301524060c08201523060e08201526101008101849052610120016040516020818303038152906040528051906020012060001c90506000600c5461014d6116ab9190611d85565b90506000816116ba8187611c32565b6116c49085611e96565b6116ce9190611d9c565b90506116da818661187d565b9695505050505050565b6001600160a01b03821661173a5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016106ad565b6000818152600260205260409020546001600160a01b03161561179f5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016106ad565b6117ad6000838360016113d1565b6000818152600260205260409020546001600160a01b0316156118125760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016106ad565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000828152600960205260408120548181810361189b57508361189e565b50805b60006118ab600186611c32565b6000818152600960205260409020549091508682146118f457806000036118e25760008781526009602052604090208290556118f4565b60008781526009602052604090208190555b801561190a576000828152600960205260408120555b509095945050505050565b6001600160e01b03198116811461080957600080fd5b60006020828403121561193d57600080fd5b813561194881611915565b9392505050565b60005b8381101561196a578181015183820152602001611952565b50506000910152565b6000815180845261198b81602086016020860161194f565b601f01601f19169290920160200192915050565b6020815260006119486020830184611973565b6000602082840312156119c457600080fd5b5035919050565b80356001600160a01b03811681146119e257600080fd5b919050565b600080604083850312156119fa57600080fd5b611a03836119cb565b946020939093013593505050565b600060208284031215611a2357600080fd5b611948826119cb565b600080600060608486031215611a4157600080fd5b611a4a846119cb565b9250611a58602085016119cb565b9150604084013590509250925092565b803580151581146119e257600080fd5b60008060408385031215611a8b57600080fd5b611a94836119cb565b9150611aa260208401611a68565b90509250929050565b634e487b7160e01b600052604160045260246000fd5b60008060008060808587031215611ad757600080fd5b611ae0856119cb565b9350611aee602086016119cb565b925060408501359150606085013567ffffffffffffffff80821115611b1257600080fd5b818701915087601f830112611b2657600080fd5b813581811115611b3857611b38611aab565b604051601f8201601f19908116603f01168101908382118183101715611b6057611b60611aab565b816040528281528a6020848701011115611b7957600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b60008060408385031215611bb057600080fd5b611bb9836119cb565b9150611aa2602084016119cb565b600060208284031215611bd957600080fd5b61194882611a68565b600181811c90821680611bf657607f821691505b602082108103611c1657634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8181038181111561057a5761057a611c1c565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b600060018201611ca457611ca4611c1c565b5060010190565b60008151611cbd81856020860161194f565b9290920192915050565b600080845481600182811c915080831680611ce357607f831692505b60208084108203611d0257634e487b7160e01b86526022600452602486fd5b818015611d165760018114611d2b57611d58565b60ff1986168952841515850289019650611d58565b60008b81526020902060005b86811015611d505781548b820152908501908301611d37565b505084890196505b505050505050611d7c611d6b8286611cab565b64173539b7b760d91b815260050190565b95945050505050565b808202811582820484141761057a5761057a611c1c565b8082018082111561057a5761057a611c1c565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906116da90830184611973565b600060208284031215611e8b57600080fd5b815161194881611915565b600082611eb357634e487b7160e01b600052601260045260246000fd5b50069056fea264697066735822122045741e02457d57564a07de177e0392263257e76ecbc7c3385a3f61cf9ec8c92e64736f6c6343000811003300000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000042697066733a2f2f62616679626569617665367337346f686f36356e61676d7a33693774657765676a633736637566786e6472366e653761377277736e726437326c75000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106101c25760003560e01c80636c0360eb116100f7578063b19960e611610095578063e985e9c511610064578063e985e9c5146104c5578063ed766e7e146104e5578063efef39a1146104fb578063f46a04eb1461050e57600080fd5b8063b19960e614610456578063b88d4fde1461046b578063c87b56dd1461048b578063d1239730146104ab57600080fd5b806395d89b41116100d157806395d89b41146103e6578063a035b1fe146103fb578063a22cb46514610416578063a6f9dae11461043657600080fd5b80636c0360eb1461039157806370a08231146103a65780638da5cb5b146103c657600080fd5b806323604071116101645780633c3ccc441161013e5780633c3ccc441461031c57806342842e0e1461033157806346904840146103515780636352211e1461037157600080fd5b806323604071146102c657806323b872dd146102e657806332cb6b0c1461030657600080fd5b8063095ea7b3116101a0578063095ea7b314610256578063146ca5311461027857806318160ddd1461029c57806320800a00146102b157600080fd5b806301ffc9a7146101c757806306fdde03146101fc578063081812fc1461021e575b600080fd5b3480156101d357600080fd5b506101e76101e236600461192b565b61052e565b60405190151581526020015b60405180910390f35b34801561020857600080fd5b50610211610580565b6040516101f3919061199f565b34801561022a57600080fd5b5061023e6102393660046119b2565b610612565b6040516001600160a01b0390911681526020016101f3565b34801561026257600080fd5b506102766102713660046119e7565b610639565b005b34801561028457600080fd5b5061028e600c5481565b6040519081526020016101f3565b3480156102a857600080fd5b5061028e610753565b3480156102bd57600080fd5b5061027661076a565b3480156102d257600080fd5b506102766102e1366004611a11565b61080c565b3480156102f257600080fd5b50610276610301366004611a2c565b610859565b34801561031257600080fd5b5061028e6103e781565b34801561032857600080fd5b5061027661088a565b34801561033d57600080fd5b5061027661034c366004611a2c565b6108f5565b34801561035d57600080fd5b5060075461023e906001600160a01b031681565b34801561037d57600080fd5b5061023e61038c3660046119b2565b610910565b34801561039d57600080fd5b50610211610970565b3480156103b257600080fd5b5061028e6103c1366004611a11565b6109fe565b3480156103d257600080fd5b5060065461023e906001600160a01b031681565b3480156103f257600080fd5b50610211610a84565b34801561040757600080fd5b5061028e66470de4df82000081565b34801561042257600080fd5b50610276610431366004611a78565b610a93565b34801561044257600080fd5b50610276610451366004611a11565b610aa2565b34801561046257600080fd5b5061028e602181565b34801561047757600080fd5b50610276610486366004611ac1565b610aef565b34801561049757600080fd5b506102116104a63660046119b2565b610b27565b3480156104b757600080fd5b50600d546101e79060ff1681565b3480156104d157600080fd5b506101e76104e0366004611b9d565b610c02565b3480156104f157600080fd5b5061028e600b5481565b6102766105093660046119b2565b610c30565b34801561051a57600080fd5b50610276610529366004611bc7565b610d88565b60006001600160e01b031982166380ac58cd60e01b148061055f57506001600160e01b03198216635b5e139f60e01b145b8061057a57506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606000805461058f90611be2565b80601f01602080910402602001604051908101604052809291908181526020018280546105bb90611be2565b80156106085780601f106105dd57610100808354040283529160200191610608565b820191906000526020600020905b8154815290600101906020018083116105eb57829003601f168201915b5050505050905090565b600061061d82610dc6565b506000908152600460205260409020546001600160a01b031690565b600061064482610910565b9050806001600160a01b0316836001600160a01b0316036106b65760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b03821614806106d257506106d28133610c02565b6107445760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c00000060648201526084016106ad565b61074e8383610e25565b505050565b6000600a546103e76107659190611c32565b905090565b6006546001600160a01b03163314610795576040516330cd747160e01b815260040160405180910390fd5b6007546040516000916001600160a01b03169047908381818185875af1925050503d80600081146107e2576040519150601f19603f3d011682016040523d82523d6000602084013e6107e7565b606091505b505090508061080957604051632c5854f160e01b815260040160405180910390fd5b50565b6006546001600160a01b03163314610837576040516330cd747160e01b815260040160405180910390fd5b600780546001600160a01b0319166001600160a01b0392909216919091179055565b6108633382610e93565b61087f5760405162461bcd60e51b81526004016106ad90611c45565b61074e838383610ef2565b6006546001600160a01b031633146108b5576040516330cd747160e01b815260040160405180910390fd5b600c546002036108d8576040516330fe9c1560e21b815260040160405180910390fd5b600c80549060006108e883611c92565b909155505061014d600b55565b61074e83838360405180602001604052806000815250610aef565b6000818152600260205260408120546001600160a01b03168061057a5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016106ad565b6008805461097d90611be2565b80601f01602080910402602001604051908101604052809291908181526020018280546109a990611be2565b80156109f65780601f106109cb576101008083540402835291602001916109f6565b820191906000526020600020905b8154815290600101906020018083116109d957829003601f168201915b505050505081565b60006001600160a01b038216610a685760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b60648201526084016106ad565b506001600160a01b031660009081526003602052604090205490565b60606001805461058f90611be2565b610a9e338383611063565b5050565b6006546001600160a01b03163314610acd576040516330cd747160e01b815260040160405180910390fd5b600680546001600160a01b0319166001600160a01b0392909216919091179055565b610af93383610e93565b610b155760405162461bcd60e51b81526004016106ad90611c45565b610b2184848484611131565b50505050565b6000818152600260205260409020546060906001600160a01b0316610ba65760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016106ad565b600060088054610bb590611be2565b905011610bd1576040518060200160405280600081525061057a565b6008610bdc83611164565b604051602001610bed929190611cc7565b60405160208183030381529060405292915050565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b600d5460ff16610c535760405163447691f760e01b815260040160405180910390fd5b610c6466470de4df82000082611d85565b3414610c83576040516351616ae360e11b815260040160405180910390fd5b6021610c8e336109fe565b610c989083611d9c565b1115610cb75760405163fc3fc71f60e01b815260040160405180910390fd5b6000610cca66470de4df82000083611d85565b9050610cd633836111f7565b6007546040516000916001600160a01b03169083908381818185875af1925050503d8060008114610d23576040519150601f19603f3d011682016040523d82523d6000602084013e610d28565b606091505b5050905080610d4a57604051632c5854f160e01b815260040160405180910390fd5b60408051338152602081018590527f2499a5330ab0979cc612135e7883ebc3cd5c9f7a8508f042540c34723348f632910160405180910390a1505050565b6006546001600160a01b03163314610db3576040516330cd747160e01b815260040160405180910390fd5b600d805460ff1916911515919091179055565b6000818152600260205260409020546001600160a01b03166108095760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016106ad565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610e5a82610910565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080610e9f83610910565b9050806001600160a01b0316846001600160a01b03161480610ec65750610ec68185610c02565b80610eea5750836001600160a01b0316610edf84610612565b6001600160a01b0316145b949350505050565b826001600160a01b0316610f0582610910565b6001600160a01b031614610f2b5760405162461bcd60e51b81526004016106ad90611daf565b6001600160a01b038216610f8d5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016106ad565b610f9a83838360016113d1565b826001600160a01b0316610fad82610910565b6001600160a01b031614610fd35760405162461bcd60e51b81526004016106ad90611daf565b600081815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260038552838620805460001901905590871680865283862080546001019055868652600290945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b816001600160a01b0316836001600160a01b0316036110c45760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016106ad565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b61113c848484610ef2565b6111488484848461144e565b610b215760405162461bcd60e51b81526004016106ad90611df4565b606060006111718361154f565b600101905060008167ffffffffffffffff81111561119157611191611aab565b6040519080825280601f01601f1916602001820160405280156111bb576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a85049450846111c557509392505050565b33321461123e5760405162461bcd60e51b815260206004820152601560248201527410dbdb9d1c9858dd1cc818d85b9b9bdd081b5a5b9d605a1b60448201526064016106ad565b6001600160a01b0382166112945760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016106ad565b600081116112f45760405162461bcd60e51b815260206004820152602760248201527f4552433732313a206e65656420746f206d696e74206174206c65617374206f6e60448201526632903a37b5b2b760c91b60648201526084016106ad565b80600b5410156113595760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a206d696e74696e67206d6f726520746f6b656e73207468616e60448201526920617661696c61626c6560b01b60648201526084016106ad565b600b54600c5460009061136e9061014d611d85565b905060005b838110156113ac5760006113908661138b8587611d9c565b611627565b905061139c86826116e4565b5060001990920191600101611373565b5081600b8190555082600a60008282546113c69190611c32565b909155505050505050565b6001811115610b21576001600160a01b03841615611417576001600160a01b03841660009081526003602052604081208054839290611411908490611c32565b90915550505b6001600160a01b03831615610b21576001600160a01b038316600090815260036020526040812080548392906113c6908490611d9c565b60006001600160a01b0384163b1561154457604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611492903390899088908890600401611e46565b6020604051808303816000875af19250505080156114cd575060408051601f3d908101601f191682019092526114ca91810190611e79565b60015b61152a573d8080156114fb576040519150601f19603f3d011682016040523d82523d6000602084013e611500565b606091505b5080516000036115225760405162461bcd60e51b81526004016106ad90611df4565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610eea565b506001949350505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b831061158e5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef810000000083106115ba576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc1000083106115d857662386f26fc10000830492506010015b6305f5e10083106115f0576305f5e100830492506008015b612710831061160457612710830492506004015b60648310611616576064830492506002015b600a831061057a5760010192915050565b600080833a43424461163a600184611c32565b604080516001600160a01b0390971660208801528601949094526060850192909252608084015260a08301524060c08201523060e08201526101008101849052610120016040516020818303038152906040528051906020012060001c90506000600c5461014d6116ab9190611d85565b90506000816116ba8187611c32565b6116c49085611e96565b6116ce9190611d9c565b90506116da818661187d565b9695505050505050565b6001600160a01b03821661173a5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016106ad565b6000818152600260205260409020546001600160a01b03161561179f5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016106ad565b6117ad6000838360016113d1565b6000818152600260205260409020546001600160a01b0316156118125760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016106ad565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000828152600960205260408120548181810361189b57508361189e565b50805b60006118ab600186611c32565b6000818152600960205260409020549091508682146118f457806000036118e25760008781526009602052604090208290556118f4565b60008781526009602052604090208190555b801561190a576000828152600960205260408120555b509095945050505050565b6001600160e01b03198116811461080957600080fd5b60006020828403121561193d57600080fd5b813561194881611915565b9392505050565b60005b8381101561196a578181015183820152602001611952565b50506000910152565b6000815180845261198b81602086016020860161194f565b601f01601f19169290920160200192915050565b6020815260006119486020830184611973565b6000602082840312156119c457600080fd5b5035919050565b80356001600160a01b03811681146119e257600080fd5b919050565b600080604083850312156119fa57600080fd5b611a03836119cb565b946020939093013593505050565b600060208284031215611a2357600080fd5b611948826119cb565b600080600060608486031215611a4157600080fd5b611a4a846119cb565b9250611a58602085016119cb565b9150604084013590509250925092565b803580151581146119e257600080fd5b60008060408385031215611a8b57600080fd5b611a94836119cb565b9150611aa260208401611a68565b90509250929050565b634e487b7160e01b600052604160045260246000fd5b60008060008060808587031215611ad757600080fd5b611ae0856119cb565b9350611aee602086016119cb565b925060408501359150606085013567ffffffffffffffff80821115611b1257600080fd5b818701915087601f830112611b2657600080fd5b813581811115611b3857611b38611aab565b604051601f8201601f19908116603f01168101908382118183101715611b6057611b60611aab565b816040528281528a6020848701011115611b7957600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b60008060408385031215611bb057600080fd5b611bb9836119cb565b9150611aa2602084016119cb565b600060208284031215611bd957600080fd5b61194882611a68565b600181811c90821680611bf657607f821691505b602082108103611c1657634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8181038181111561057a5761057a611c1c565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b600060018201611ca457611ca4611c1c565b5060010190565b60008151611cbd81856020860161194f565b9290920192915050565b600080845481600182811c915080831680611ce357607f831692505b60208084108203611d0257634e487b7160e01b86526022600452602486fd5b818015611d165760018114611d2b57611d58565b60ff1986168952841515850289019650611d58565b60008b81526020902060005b86811015611d505781548b820152908501908301611d37565b505084890196505b505050505050611d7c611d6b8286611cab565b64173539b7b760d91b815260050190565b95945050505050565b808202811582820484141761057a5761057a611c1c565b8082018082111561057a5761057a611c1c565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906116da90830184611973565b600060208284031215611e8b57600080fd5b815161194881611915565b600082611eb357634e487b7160e01b600052601260045260246000fd5b50069056fea264697066735822122045741e02457d57564a07de177e0392263257e76ecbc7c3385a3f61cf9ec8c92e64736f6c63430008110033

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

00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000042697066733a2f2f62616679626569617665367337346f686f36356e61676d7a33693774657765676a633736637566786e6472366e653761377277736e726437326c75000000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _baseURI_ (string): ipfs://bafybeiave6s74oho65nagmz3i7tewegjc76cufxndr6ne7a7rwsnrd72lu

-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000042
Arg [2] : 697066733a2f2f62616679626569617665367337346f686f36356e61676d7a33
Arg [3] : 693774657765676a633736637566786e6472366e653761377277736e72643732
Arg [4] : 6c75000000000000000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

54282:6199:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38644:305;;;;;;;;;;-1:-1:-1;38644:305:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;38644:305:0;;;;;;;;39572:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;41084:171::-;;;;;;;;;;-1:-1:-1;41084:171:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1719:32:1;;;1701:51;;1689:2;1674:18;41084:171:0;1555:203:1;40602:416:0;;;;;;;;;;-1:-1:-1;40602:416:0;;;;;:::i;:::-;;:::i;:::-;;54736:20;;;;;;;;;;;;;;;;;;;2346:25:1;;;2334:2;2319:18;54736:20:0;2200:177:1;55429:119:0;;;;;;;;;;;;;:::i;60295:183::-;;;;;;;;;;;;;:::i;60067:120::-;;;;;;;;;;-1:-1:-1;60067:120:0;;;;;:::i;:::-;;:::i;41784:301::-;;;;;;;;;;-1:-1:-1;41784:301:0;;;;;:::i;:::-;;:::i;54496:40::-;;;;;;;;;;;;54533:3;54496:40;;55962:155;;;;;;;;;;;;;:::i;42156:151::-;;;;;;;;;;-1:-1:-1;42156:151:0;;;;;:::i;:::-;;:::i;54377:27::-;;;;;;;;;;-1:-1:-1;54377:27:0;;;;-1:-1:-1;;;;;54377:27:0;;;39282:223;;;;;;;;;;-1:-1:-1;39282:223:0;;;;;:::i;:::-;;:::i;54411:21::-;;;;;;;;;;;;;:::i;39013:207::-;;;;;;;;;;-1:-1:-1;39013:207:0;;;;;:::i;:::-;;:::i;54350:20::-;;;;;;;;;;-1:-1:-1;54350:20:0;;;;-1:-1:-1;;;;;54350:20:0;;;39741:104;;;;;;;;;;;;;:::i;54598:42::-;;;;;;;;;;;;54630:10;54598:42;;41327:155;;;;;;;;;;-1:-1:-1;41327:155:0;;;;;:::i;:::-;;:::i;60195:92::-;;;;;;;;;;-1:-1:-1;60195:92:0;;;;;:::i;:::-;;:::i;54543:48::-;;;;;;;;;;;;54589:2;54543:48;;42378:279;;;;;;;;;;-1:-1:-1;42378:279:0;;;;;:::i;:::-;;:::i;55664:290::-;;;;;;;;;;-1:-1:-1;55664:290:0;;;;;:::i;:::-;;:::i;54765:23::-;;;;;;;;;;-1:-1:-1;54765:23:0;;;;;;;;41553:164;;;;;;;;;;-1:-1:-1;41553:164:0;;;;;:::i;:::-;;:::i;54691:38::-;;;;;;;;;;;;;;;;56125:520;;;;;;:::i;:::-;;:::i;59965:94::-;;;;;;;;;;-1:-1:-1;59965:94:0;;;;;:::i;:::-;;:::i;38644:305::-;38746:4;-1:-1:-1;;;;;;38783:40:0;;-1:-1:-1;;;38783:40:0;;:105;;-1:-1:-1;;;;;;;38840:48:0;;-1:-1:-1;;;38840:48:0;38783:105;:158;;;-1:-1:-1;;;;;;;;;;31218:40:0;;;38905:36;38763:178;38644:305;-1:-1:-1;;38644:305:0:o;39572:100::-;39626:13;39659:5;39652:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39572:100;:::o;41084:171::-;41160:7;41180:23;41195:7;41180:14;:23::i;:::-;-1:-1:-1;41223:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;41223:24:0;;41084:171::o;40602:416::-;40683:13;40699:23;40714:7;40699:14;:23::i;:::-;40683:39;;40747:5;-1:-1:-1;;;;;40741:11:0;:2;-1:-1:-1;;;;;40741:11:0;;40733:57;;;;-1:-1:-1;;;40733:57:0;;5642:2:1;40733:57:0;;;5624:21:1;5681:2;5661:18;;;5654:30;5720:34;5700:18;;;5693:62;-1:-1:-1;;;5771:18:1;;;5764:31;5812:19;;40733:57:0;;;;;;;;;18293:10;-1:-1:-1;;;;;40825:21:0;;;;:62;;-1:-1:-1;40850:37:0;40867:5;18293:10;41553:164;:::i;40850:37::-;40803:173;;;;-1:-1:-1;;;40803:173:0;;6044:2:1;40803:173:0;;;6026:21:1;6083:2;6063:18;;;6056:30;6122:34;6102:18;;;6095:62;6193:31;6173:18;;;6166:59;6242:19;;40803:173:0;5842:425:1;40803:173:0;40989:21;40998:2;41002:7;40989:8;:21::i;:::-;40672:346;40602:416;;:::o;55429:119::-;55481:7;55521:19;;54533:3;55508:32;;;;:::i;:::-;55501:39;;55429:119;:::o;60295:183::-;55119:5;;-1:-1:-1;;;;;55119:5:0;55105:10;:19;55102:41;;55133:10;;-1:-1:-1;;;55133:10:0;;;;;;;;;;;55102:41;60372:12:::1;::::0;60364:60:::1;::::0;60346:12:::1;::::0;-1:-1:-1;;;;;60372:12:0::1;::::0;60398:21:::1;::::0;60346:12;60364:60;60346:12;60364:60;60398:21;60372:12;60364:60:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;60345:79;;;60439:7;60435:35;;60455:15;;-1:-1:-1::0;;;60455:15:0::1;;;;;;;;;;;60435:35;60334:144;60295:183::o:0;60067:120::-;55119:5;;-1:-1:-1;;;;;55119:5:0;55105:10;:19;55102:41;;55133:10;;-1:-1:-1;;;55133:10:0;;;;;;;;;;;55102:41;60149:12:::1;:30:::0;;-1:-1:-1;;;;;;60149:30:0::1;-1:-1:-1::0;;;;;60149:30:0;;;::::1;::::0;;;::::1;::::0;;60067:120::o;41784:301::-;41945:41;18293:10;41978:7;41945:18;:41::i;:::-;41937:99;;;;-1:-1:-1;;;41937:99:0;;;;;;;:::i;:::-;42049:28;42059:4;42065:2;42069:7;42049:9;:28::i;55962:155::-;55119:5;;-1:-1:-1;;;;;55119:5:0;55105:10;:19;55102:41;;55133:10;;-1:-1:-1;;;55133:10:0;;;;;;;;;;;55102:41;56020:5:::1;;56029:1;56020:10:::0;56017:34:::1;;56039:12;;-1:-1:-1::0;;;56039:12:0::1;;;;;;;;;;;56017:34;56062:5;:7:::0;;;:5:::1;:7;::::0;::::1;:::i;:::-;::::0;;;-1:-1:-1;;56106:3:0::1;56080:23;:29:::0;55962:155::o;42156:151::-;42260:39;42277:4;42283:2;42287:7;42260:39;;;;;;;;;;;;:16;:39::i;39282:223::-;39354:7;44015:16;;;:7;:16;;;;;;-1:-1:-1;;;;;44015:16:0;;39418:56;;;;-1:-1:-1;;;39418:56:0;;7503:2:1;39418:56:0;;;7485:21:1;7542:2;7522:18;;;7515:30;-1:-1:-1;;;7561:18:1;;;7554:54;7625:18;;39418:56:0;7301:348:1;54411:21:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;39013:207::-;39085:7;-1:-1:-1;;;;;39113:19:0;;39105:73;;;;-1:-1:-1;;;39105:73:0;;7856:2:1;39105:73:0;;;7838:21:1;7895:2;7875:18;;;7868:30;7934:34;7914:18;;;7907:62;-1:-1:-1;;;7985:18:1;;;7978:39;8034:19;;39105:73:0;7654:405:1;39105:73:0;-1:-1:-1;;;;;;39196:16:0;;;;;:9;:16;;;;;;;39013:207::o;39741:104::-;39797:13;39830:7;39823:14;;;;;:::i;41327:155::-;41422:52;18293:10;41455:8;41465;41422:18;:52::i;:::-;41327:155;;:::o;60195:92::-;55119:5;;-1:-1:-1;;;;;55119:5:0;55105:10;:19;55102:41;;55133:10;;-1:-1:-1;;;55133:10:0;;;;;;;;;;;55102:41;60263:5:::1;:16:::0;;-1:-1:-1;;;;;;60263:16:0::1;-1:-1:-1::0;;;;;60263:16:0;;;::::1;::::0;;;::::1;::::0;;60195:92::o;42378:279::-;42509:41;18293:10;42542:7;42509:18;:41::i;:::-;42501:99;;;;-1:-1:-1;;;42501:99:0;;;;;;;:::i;:::-;42611:38;42625:4;42631:2;42635:7;42644:4;42611:13;:38::i;:::-;42378:279;;;;:::o;55664:290::-;44417:4;44015:16;;;:7;:16;;;;;;55729:13;;-1:-1:-1;;;;;44015:16:0;55755:76;;;;-1:-1:-1;;;55755:76:0;;8266:2:1;55755:76:0;;;8248:21:1;8305:2;8285:18;;;8278:30;8344:34;8324:18;;;8317:62;-1:-1:-1;;;8395:18:1;;;8388:45;8450:19;;55755:76:0;8064:411:1;55755:76:0;55875:1;55857:7;55851:21;;;;;:::i;:::-;;;:25;:95;;;;;;;;;;;;;;;;;55903:7;55912:18;:7;:16;:18::i;:::-;55886:54;;;;;;;;;:::i;:::-;;;;;;;;;;;;;55844:102;55664:290;-1:-1:-1;;55664:290:0:o;41553:164::-;-1:-1:-1;;;;;41674:25:0;;;41650:4;41674:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;41553:164::o;56125:520::-;56192:11;;;;56188:40;;56212:16;;-1:-1:-1;;;56212:16:0;;;;;;;;;;;56188:40;56255:16;54630:10;56255:8;:16;:::i;:::-;56242:9;:29;56239:54;;56280:13;;-1:-1:-1;;;56280:13:0;;;;;;;;;;;56239:54;54589:2;56318:21;56328:10;56318:9;:21::i;:::-;56307:32;;:8;:32;:::i;:::-;:54;56304:82;;;56370:16;;-1:-1:-1;;;56370:16:0;;;;;;;;;;;56304:82;56399:11;56413:16;54630:10;56413:8;:16;:::i;:::-;56399:30;;56440:33;56452:10;56464:8;56440:11;:33::i;:::-;56511:12;;56503:42;;56485:12;;-1:-1:-1;;;;;56511:12:0;;56537:3;;56485:12;56503:42;56485:12;56503:42;56537:3;56511:12;56503:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56484:61;;;56560:7;56556:35;;56576:15;;-1:-1:-1;;;56576:15:0;;;;;;;;;;;56556:35;56607:30;;;56616:10;10739:51:1;;10821:2;10806:18;;10799:34;;;56607:30:0;;10712:18:1;56607:30:0;;;;;;;56177:468;;56125:520;:::o;59965:94::-;55119:5;;-1:-1:-1;;;;;55119:5:0;55105:10;:19;55102:41;;55133:10;;-1:-1:-1;;;55133:10:0;;;;;;;;;;;55102:41;60031:11:::1;:20:::0;;-1:-1:-1;;60031:20:0::1;::::0;::::1;;::::0;;;::::1;::::0;;59965:94::o;50647:135::-;44417:4;44015:16;;;:7;:16;;;;;;-1:-1:-1;;;;;44015:16:0;50721:53;;;;-1:-1:-1;;;50721:53:0;;7503:2:1;50721:53:0;;;7485:21:1;7542:2;7522:18;;;7515:30;-1:-1:-1;;;7561:18:1;;;7554:54;7625:18;;50721:53:0;7301:348:1;49960:174:0;50035:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;50035:29:0;-1:-1:-1;;;;;50035:29:0;;;;;;;;:24;;50089:23;50035:24;50089:14;:23::i;:::-;-1:-1:-1;;;;;50080:46:0;;;;;;;;;;;49960:174;;:::o;44647:264::-;44740:4;44757:13;44773:23;44788:7;44773:14;:23::i;:::-;44757:39;;44826:5;-1:-1:-1;;;;;44815:16:0;:7;-1:-1:-1;;;;;44815:16:0;;:52;;;;44835:32;44852:5;44859:7;44835:16;:32::i;:::-;44815:87;;;;44895:7;-1:-1:-1;;;;;44871:31:0;:20;44883:7;44871:11;:20::i;:::-;-1:-1:-1;;;;;44871:31:0;;44815:87;44807:96;44647:264;-1:-1:-1;;;;44647:264:0:o;48612:1229::-;48737:4;-1:-1:-1;;;;;48710:31:0;:23;48725:7;48710:14;:23::i;:::-;-1:-1:-1;;;;;48710:31:0;;48702:81;;;;-1:-1:-1;;;48702:81:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;48802:16:0;;48794:65;;;;-1:-1:-1;;;48794:65:0;;11452:2:1;48794:65:0;;;11434:21:1;11491:2;11471:18;;;11464:30;11530:34;11510:18;;;11503:62;-1:-1:-1;;;11581:18:1;;;11574:34;11625:19;;48794:65:0;11250:400:1;48794:65:0;48872:42;48893:4;48899:2;48903:7;48912:1;48872:20;:42::i;:::-;49044:4;-1:-1:-1;;;;;49017:31:0;:23;49032:7;49017:14;:23::i;:::-;-1:-1:-1;;;;;49017:31:0;;49009:81;;;;-1:-1:-1;;;49009:81:0;;;;;;;:::i;:::-;49162:24;;;;:15;:24;;;;;;;;49155:31;;-1:-1:-1;;;;;;49155:31:0;;;;;;-1:-1:-1;;;;;49638:15:0;;;;;;:9;:15;;;;;:20;;-1:-1:-1;;49638:20:0;;;49673:13;;;;;;;;;:18;;49155:31;49673:18;;;49713:16;;;:7;:16;;;;;;:21;;;;;;;;;;49752:27;;49178:7;;49752:27;;;40672:346;40602:416;;:::o;50277:281::-;50398:8;-1:-1:-1;;;;;50389:17:0;:5;-1:-1:-1;;;;;50389:17:0;;50381:55;;;;-1:-1:-1;;;50381:55:0;;11857:2:1;50381:55:0;;;11839:21:1;11896:2;11876:18;;;11869:30;11935:27;11915:18;;;11908:55;11980:18;;50381:55:0;11655:349:1;50381:55:0;-1:-1:-1;;;;;50447:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;50447:46:0;;;;;;;;;;50509:41;;540::1;;;50509::0;;513:18:1;50509:41:0;;;;;;;50277:281;;;:::o;43538:270::-;43651:28;43661:4;43667:2;43671:7;43651:9;:28::i;:::-;43698:47;43721:4;43727:2;43731:7;43740:4;43698:22;:47::i;:::-;43690:110;;;;-1:-1:-1;;;43690:110:0;;;;;;;:::i;15079:716::-;15135:13;15186:14;15203:17;15214:5;15203:10;:17::i;:::-;15223:1;15203:21;15186:38;;15239:20;15273:6;15262:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;15262:18:0;-1:-1:-1;15239:41:0;-1:-1:-1;15404:28:0;;;15420:2;15404:28;15461:288;-1:-1:-1;;15493:5:0;-1:-1:-1;;;15630:2:0;15619:14;;15614:30;15493:5;15601:44;15691:2;15682:11;;;-1:-1:-1;15712:21:0;15461:288;15712:21;-1:-1:-1;15770:6:0;15079:716;-1:-1:-1;;;15079:716:0:o;56653:973::-;18293:10;56755:9;56739:25;56731:59;;;;-1:-1:-1;;;56731:59:0;;12762:2:1;56731:59:0;;;12744:21:1;12801:2;12781:18;;;12774:30;-1:-1:-1;;;12820:18:1;;;12813:51;12881:18;;56731:59:0;12560:345:1;56731:59:0;-1:-1:-1;;;;;56809:16:0;;56801:61;;;;-1:-1:-1;;;56801:61:0;;13112:2:1;56801:61:0;;;13094:21:1;;;13131:18;;;13124:30;13190:34;13170:18;;;13163:62;13242:18;;56801:61:0;12910:356:1;56801:61:0;56894:1;56881:10;:14;56873:66;;;;-1:-1:-1;;;56873:66:0;;13473:2:1;56873:66:0;;;13455:21:1;13512:2;13492:18;;;13485:30;13551:34;13531:18;;;13524:62;-1:-1:-1;;;13602:18:1;;;13595:37;13649:19;;56873:66:0;13271:403:1;56873:66:0;56995:10;56968:23;;:37;;56960:92;;;;-1:-1:-1;;;56960:92:0;;13881:2:1;56960:92:0;;;13863:21:1;13920:2;13900:18;;;13893:30;13959:34;13939:18;;;13932:62;-1:-1:-1;;;14010:18:1;;;14003:40;14060:19;;56960:92:0;13679:406:1;56960:92:0;57106:23;;57172:5;;57073:30;;57166:11;;:3;:11;:::i;:::-;57140:37;;57193:9;57188:315;57208:10;57204:1;:14;57188:315;;;57236:15;57254:74;57280:2;57284:43;57312:15;57284:25;:43;:::i;:::-;57254:25;:74::i;:::-;57236:92;;57343:24;57355:2;57359:7;57343:11;:24::i;:::-;-1:-1:-1;;;57425:27:0;;;;;57471:3;57188:315;;;;57549:25;57523:23;:51;;;;57608:10;57585:19;;:33;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;;56653:973:0:o;52931:410::-;53121:1;53109:9;:13;53105:229;;;-1:-1:-1;;;;;53143:18:0;;;53139:87;;-1:-1:-1;;;;;53182:15:0;;;;;;:9;:15;;;;;:28;;53201:9;;53182:15;:28;;53201:9;;53182:28;:::i;:::-;;;;-1:-1:-1;;53139:87:0;-1:-1:-1;;;;;53244:16:0;;;53240:83;;-1:-1:-1;;;;;53281:13:0;;;;;;:9;:13;;;;;:26;;53298:9;;53281:13;:26;;53298:9;;53281:26;:::i;51346:853::-;51500:4;-1:-1:-1;;;;;51521:13:0;;20249:19;:23;51517:675;;51557:71;;-1:-1:-1;;;51557:71:0;;-1:-1:-1;;;;;51557:36:0;;;;;:71;;18293:10;;51608:4;;51614:7;;51623:4;;51557:71;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;51557:71:0;;;;;;;;-1:-1:-1;;51557:71:0;;;;;;;;;;;;:::i;:::-;;;51553:584;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51798:6;:13;51815:1;51798:18;51794:328;;51841:60;;-1:-1:-1;;;51841:60:0;;;;;;;:::i;51794:328::-;52072:6;52066:13;52057:6;52053:2;52049:15;52042:38;51553:584;-1:-1:-1;;;;;;51679:51:0;-1:-1:-1;;;51679:51:0;;-1:-1:-1;51672:58:0;;51517:675;-1:-1:-1;52176:4:0;51346:853;;;;;;:::o;11860:948::-;11913:7;;-1:-1:-1;;;11991:17:0;;11987:106;;-1:-1:-1;;;12029:17:0;;;-1:-1:-1;12075:2:0;12065:12;11987:106;12120:8;12111:5;:17;12107:106;;12158:8;12149:17;;;-1:-1:-1;12195:2:0;12185:12;12107:106;12240:8;12231:5;:17;12227:106;;12278:8;12269:17;;;-1:-1:-1;12315:2:0;12305:12;12227:106;12360:7;12351:5;:16;12347:103;;12397:7;12388:16;;;-1:-1:-1;12433:1:0;12423:11;12347:103;12477:7;12468:5;:16;12464:103;;12514:7;12505:16;;;-1:-1:-1;12550:1:0;12540:11;12464:103;12594:7;12585:5;:16;12581:103;;12631:7;12622:16;;;-1:-1:-1;12667:1:0;12657:11;12581:103;12711:7;12702:5;:16;12698:68;;12749:1;12739:11;12794:6;11860:948;-1:-1:-1;;11860:948:0:o;57634:782::-;57749:7;;57877:2;57902:11;57936:12;57971:15;58009:16;58058;58073:1;57936:12;58058:16;:::i;:::-;57844:334;;;-1:-1:-1;;;;;15248:15:1;;;57844:334:0;;;15230:34:1;15280:18;;15273:34;;;;15323:18;;;15316:34;;;;15366:18;;;15359:34;15409:19;;;15402:35;58048:27:0;15453:19:1;;;15446:35;58106:4:0;15497:19:1;;;15490:44;15550:19;;;15543:35;;;15164:19;;57844:334:0;;;;;;;;;;;;57816:377;;;;;;57794:410;;57774:430;;58215:11;58235:5;;58229:3;:11;;;;:::i;:::-;58215:25;-1:-1:-1;58251:19:0;58215:25;58287:31;58215:25;58287;:31;:::i;:::-;58274:45;;:9;:45;:::i;:::-;58273:53;;;;:::i;:::-;58251:75;;58344:64;58369:11;58382:25;58344:24;:64::i;:::-;58337:71;57634:782;-1:-1:-1;;;;;;57634:782:0:o;46211:942::-;-1:-1:-1;;;;;46291:16:0;;46283:61;;;;-1:-1:-1;;;46283:61:0;;13112:2:1;46283:61:0;;;13094:21:1;;;13131:18;;;13124:30;13190:34;13170:18;;;13163:62;13242:18;;46283:61:0;12910:356:1;46283:61:0;44417:4;44015:16;;;:7;:16;;;;;;-1:-1:-1;;;;;44015:16:0;44441:31;46355:58;;;;-1:-1:-1;;;46355:58:0;;16005:2:1;46355:58:0;;;15987:21:1;16044:2;16024:18;;;16017:30;16083;16063:18;;;16056:58;16131:18;;46355:58:0;15803:352:1;46355:58:0;46426:48;46455:1;46459:2;46463:7;46472:1;46426:20;:48::i;:::-;44417:4;44015:16;;;:7;:16;;;;;;-1:-1:-1;;;;;44015:16:0;44441:31;46564:58;;;;-1:-1:-1;;;46564:58:0;;16005:2:1;46564:58:0;;;15987:21:1;16044:2;16024:18;;;16017:30;16083;16063:18;;;16056:58;16131:18;;46564:58:0;15803:352:1;46564:58:0;-1:-1:-1;;;;;46971:13:0;;;;;;:9;:13;;;;;;;;:18;;46988:1;46971:18;;;47013:16;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;47013:21:0;;;;;47052:33;47021:7;;46971:13;;47052:33;;46971:13;;47052:33;41327:155;;:::o;58534:1423::-;58656:7;58702:28;;;:16;:28;;;;;;58656:7;58770:15;;;58766:292;;-1:-1:-1;58883:10:0;58766:292;;;-1:-1:-1;59036:10:0;58766:292;59070:17;59090:29;59118:1;59090:25;:29;:::i;:::-;59130:22;59155:27;;;:16;:27;;;;;;59070:49;;-1:-1:-1;59197:23:0;;;59193:629;;59448:14;59466:1;59448:19;59444:367;;59564:28;;;;:16;:28;;;;;:40;;;59444:367;;;59750:28;;;;:16;:28;;;;;:45;;;59444:367;59836:19;;59832:86;;59879:27;;;;:16;:27;;;;;59872:34;59832:86;-1:-1:-1;59943:6:0;;58534:1423;-1:-1:-1;;;;;58534:1423:0:o;14:131:1:-;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;:::-;384:5;150:245;-1:-1:-1;;;150:245:1:o;592:250::-;677:1;687:113;701:6;698:1;695:13;687:113;;;777:11;;;771:18;758:11;;;751:39;723:2;716:10;687:113;;;-1:-1:-1;;834:1:1;816:16;;809:27;592:250::o;847:282::-;900:3;938:5;932:12;965:6;960:3;953:19;981:76;1050:6;1043:4;1038:3;1034:14;1027:4;1020:5;1016:16;981:76;:::i;:::-;1111:2;1090:15;-1:-1:-1;;1086:29:1;1077:39;;;;1118:4;1073:50;;847:282;-1:-1:-1;;847:282:1:o;1134:231::-;1283:2;1272:9;1265:21;1246:4;1303:56;1355:2;1344:9;1340:18;1332:6;1303:56;:::i;1370:180::-;1429:6;1482:2;1470:9;1461:7;1457:23;1453:32;1450:52;;;1498:1;1495;1488:12;1450:52;-1:-1:-1;1521:23:1;;1370:180;-1:-1:-1;1370:180:1:o;1763:173::-;1831:20;;-1:-1:-1;;;;;1880:31:1;;1870:42;;1860:70;;1926:1;1923;1916:12;1860:70;1763:173;;;:::o;1941:254::-;2009:6;2017;2070:2;2058:9;2049:7;2045:23;2041:32;2038:52;;;2086:1;2083;2076:12;2038:52;2109:29;2128:9;2109:29;:::i;:::-;2099:39;2185:2;2170:18;;;;2157:32;;-1:-1:-1;;;1941:254:1:o;2382:186::-;2441:6;2494:2;2482:9;2473:7;2469:23;2465:32;2462:52;;;2510:1;2507;2500:12;2462:52;2533:29;2552:9;2533:29;:::i;2573:328::-;2650:6;2658;2666;2719:2;2707:9;2698:7;2694:23;2690:32;2687:52;;;2735:1;2732;2725:12;2687:52;2758:29;2777:9;2758:29;:::i;:::-;2748:39;;2806:38;2840:2;2829:9;2825:18;2806:38;:::i;:::-;2796:48;;2891:2;2880:9;2876:18;2863:32;2853:42;;2573:328;;;;;:::o;2906:160::-;2971:20;;3027:13;;3020:21;3010:32;;3000:60;;3056:1;3053;3046:12;3071:254;3136:6;3144;3197:2;3185:9;3176:7;3172:23;3168:32;3165:52;;;3213:1;3210;3203:12;3165:52;3236:29;3255:9;3236:29;:::i;:::-;3226:39;;3284:35;3315:2;3304:9;3300:18;3284:35;:::i;:::-;3274:45;;3071:254;;;;;:::o;3330:127::-;3391:10;3386:3;3382:20;3379:1;3372:31;3422:4;3419:1;3412:15;3446:4;3443:1;3436:15;3462:1138;3557:6;3565;3573;3581;3634:3;3622:9;3613:7;3609:23;3605:33;3602:53;;;3651:1;3648;3641:12;3602:53;3674:29;3693:9;3674:29;:::i;:::-;3664:39;;3722:38;3756:2;3745:9;3741:18;3722:38;:::i;:::-;3712:48;;3807:2;3796:9;3792:18;3779:32;3769:42;;3862:2;3851:9;3847:18;3834:32;3885:18;3926:2;3918:6;3915:14;3912:34;;;3942:1;3939;3932:12;3912:34;3980:6;3969:9;3965:22;3955:32;;4025:7;4018:4;4014:2;4010:13;4006:27;3996:55;;4047:1;4044;4037:12;3996:55;4083:2;4070:16;4105:2;4101;4098:10;4095:36;;;4111:18;;:::i;:::-;4186:2;4180:9;4154:2;4240:13;;-1:-1:-1;;4236:22:1;;;4260:2;4232:31;4228:40;4216:53;;;4284:18;;;4304:22;;;4281:46;4278:72;;;4330:18;;:::i;:::-;4370:10;4366:2;4359:22;4405:2;4397:6;4390:18;4445:7;4440:2;4435;4431;4427:11;4423:20;4420:33;4417:53;;;4466:1;4463;4456:12;4417:53;4522:2;4517;4513;4509:11;4504:2;4496:6;4492:15;4479:46;4567:1;4562:2;4557;4549:6;4545:15;4541:24;4534:35;4588:6;4578:16;;;;;;;3462:1138;;;;;;;:::o;4605:260::-;4673:6;4681;4734:2;4722:9;4713:7;4709:23;4705:32;4702:52;;;4750:1;4747;4740:12;4702:52;4773:29;4792:9;4773:29;:::i;:::-;4763:39;;4821:38;4855:2;4844:9;4840:18;4821:38;:::i;4870:180::-;4926:6;4979:2;4967:9;4958:7;4954:23;4950:32;4947:52;;;4995:1;4992;4985:12;4947:52;5018:26;5034:9;5018:26;:::i;5055:380::-;5134:1;5130:12;;;;5177;;;5198:61;;5252:4;5244:6;5240:17;5230:27;;5198:61;5305:2;5297:6;5294:14;5274:18;5271:38;5268:161;;5351:10;5346:3;5342:20;5339:1;5332:31;5386:4;5383:1;5376:15;5414:4;5411:1;5404:15;5268:161;;5055:380;;;:::o;6272:127::-;6333:10;6328:3;6324:20;6321:1;6314:31;6364:4;6361:1;6354:15;6388:4;6385:1;6378:15;6404:128;6471:9;;;6492:11;;;6489:37;;;6506:18;;:::i;6747:409::-;6949:2;6931:21;;;6988:2;6968:18;;;6961:30;7027:34;7022:2;7007:18;;7000:62;-1:-1:-1;;;7093:2:1;7078:18;;7071:43;7146:3;7131:19;;6747:409::o;7161:135::-;7200:3;7221:17;;;7218:43;;7241:18;;:::i;:::-;-1:-1:-1;7288:1:1;7277:13;;7161:135::o;8606:198::-;8648:3;8686:5;8680:12;8701:65;8759:6;8754:3;8747:4;8740:5;8736:16;8701:65;:::i;:::-;8782:16;;;;;8606:198;-1:-1:-1;;8606:198:1:o;8927:1330::-;9204:3;9233:1;9266:6;9260:13;9296:3;9318:1;9346:9;9342:2;9338:18;9328:28;;9406:2;9395:9;9391:18;9428;9418:61;;9472:4;9464:6;9460:17;9450:27;;9418:61;9498:2;9546;9538:6;9535:14;9515:18;9512:38;9509:165;;-1:-1:-1;;;9573:33:1;;9629:4;9626:1;9619:15;9659:4;9580:3;9647:17;9509:165;9690:18;9717:133;;;;9864:1;9859:320;;;;9683:496;;9717:133;-1:-1:-1;;9750:24:1;;9738:37;;9823:14;;9816:22;9804:35;;9795:45;;;-1:-1:-1;9717:133:1;;9859:320;8553:1;8546:14;;;8590:4;8577:18;;9954:1;9968:165;9982:6;9979:1;9976:13;9968:165;;;10060:14;;10047:11;;;10040:35;10103:16;;;;9997:10;;9968:165;;;9972:3;;10162:6;10157:3;10153:16;10146:23;;9683:496;;;;;;;10195:56;10220:30;10246:3;10238:6;10220:30;:::i;:::-;-1:-1:-1;;;8869:20:1;;8914:1;8905:11;;8809:113;10195:56;10188:63;8927:1330;-1:-1:-1;;;;;8927:1330:1:o;10262:168::-;10335:9;;;10366;;10383:15;;;10377:22;;10363:37;10353:71;;10404:18;;:::i;10435:125::-;10500:9;;;10521:10;;;10518:36;;;10534:18;;:::i;10844:401::-;11046:2;11028:21;;;11085:2;11065:18;;;11058:30;11124:34;11119:2;11104:18;;11097:62;-1:-1:-1;;;11190:2:1;11175:18;;11168:35;11235:3;11220:19;;10844:401::o;12009:414::-;12211:2;12193:21;;;12250:2;12230:18;;;12223:30;12289:34;12284:2;12269:18;;12262:62;-1:-1:-1;;;12355:2:1;12340:18;;12333:48;12413:3;12398:19;;12009:414::o;14090:500::-;-1:-1:-1;;;;;14359:15:1;;;14341:34;;14411:15;;14406:2;14391:18;;14384:43;14458:2;14443:18;;14436:34;;;14506:3;14501:2;14486:18;;14479:31;;;14284:4;;14527:57;;14564:19;;14556:6;14527:57;:::i;14595:249::-;14664:6;14717:2;14705:9;14696:7;14692:23;14688:32;14685:52;;;14733:1;14730;14723:12;14685:52;14765:9;14759:16;14784:30;14808:5;14784:30;:::i;15589:209::-;15621:1;15647;15637:132;;15691:10;15686:3;15682:20;15679:1;15672:31;15726:4;15723:1;15716:15;15754:4;15751:1;15744:15;15637:132;-1:-1:-1;15783:9:1;;15589:209::o

Swarm Source

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