ETH Price: $2,429.50 (+4.50%)

Token

Drained Planets (DRN)
 

Overview

Max Total Supply

70 DRN

Holders

32

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
8 DRN
0xad073d923073e7554c2e8c5deb71f951a4d30b04
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:
DrainedPlanets

Compiler Version
v0.8.18+commit.87f61d96

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, GNU GPLv3 license

Contract Source Code (Solidity)

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

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

abstract contract Ownable is Context {
    address private _owner;

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

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

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

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

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

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

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

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

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

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

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

    /**
     * @dev Returns the ceiling of the division of two numbers.
     *
     * This differs from standard division with `/` in that it rounds up instead
     * of rounding down.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b - 1) / b can overflow on addition, so we distribute.
        return a == 0 ? 0 : (a - 1) / b + 1;
    }

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

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

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

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

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

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

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

            // Does not overflow because the denominator cannot be zero at this stage in the function.
            uint256 twos = denominator & (~denominator + 1);
            assembly {
                // Divide denominator by twos.
                denominator := div(denominator, twos)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

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

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

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

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

abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

    function _nonReentrantBefore() private {
        // On the first call to nonReentrant, _status will be _NOT_ENTERED
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

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

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

interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

pragma solidity ^0.8.0;

abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId)
        public
        view
        virtual
        override
        returns (bool)
    {
        return interfaceId == type(IERC165).interfaceId;
    }
}

interface IERC2981 is IERC165 {
    /**
     * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of
     * exchange. The royalty amount is denominated and should be paid in that same unit of exchange.
     */
    function royaltyInfo(uint256 tokenId, uint256 salePrice)
        external
        view
        returns (address receiver, uint256 royaltyAmount);
}

abstract contract ERC2981 is IERC2981, ERC165 {
    struct RoyaltyInfo {
        address receiver;
        uint96 royaltyFraction;
    }

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

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

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

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

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

        return (royalty.receiver, royaltyAmount);
    }

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

    /**
     * @dev Sets the royalty information that all ids in this contract will default to.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setDefaultRoyalty(address receiver, uint96 feeNumerator)
        internal
        virtual
    {
        require(
            feeNumerator <= _feeDenominator(),
            "ERC2981: royalty fee will exceed salePrice"
        );
        require(receiver != address(0), "ERC2981: invalid receiver");

        _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator);
    }

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId)
        public
        view
        virtual
        override
        returns (address)
    {
        address owner = _ownerOf(tokenId);
        require(owner != address(0), "ERC721: invalid token ID");
        return owner;
    }

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

        _owners[tokenId] = to;

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

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

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

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

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

        // Clear approvals
        delete _tokenApprovals[tokenId];

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId, 1);

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

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

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

        emit Transfer(from, to, tokenId);

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

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

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

    /**
     * @dev Reverts if the `tokenId` has not been minted yet.
     */
    function _requireMinted(uint256 tokenId) internal view virtual {
        require(_exists(tokenId), "ERC721: invalid token ID");
    }

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

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

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

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

pragma solidity ^0.8.13;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY =
        IOperatorFilterRegistry(CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS);

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

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

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

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

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

// SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.13;

contract DrainedPlanets is
    ERC721,
    Ownable,
    ReentrancyGuard,
    DefaultOperatorFilterer,
    ERC2981
{
    using Strings for uint256;
    using Counters for Counters.Counter;
    Counters.Counter private _tokenIdCounter;

    string public _baseURL = "";
    string public prerevealURL = "ipfs://QmbeNQdCnorH9LnKLErsQ9KFuvSU8JGaLKKuY57qqnSCxU/hidden_metadata.json";
    bool public isMetadataFinal;
    string private constant NAME = "Drained Planets";
    string private constant SYMBOL = "DRN";
    uint256 private constant MAX_TOKENS = 3333;
    uint256 public constant MAX_TOKENS_PER_PURCHASE = 8;
    uint256 public constant MAX_FREE_TOKENS = 1;
    uint256 public constant PRICE = 0.0065 ether;
    address payable withdrawAddress =
        payable(0x71D991E36de085E55247533CadF50e3a192c2C25);
    uint256 private constant ROYALTY_PERCENTAGE = 75; // 7.5%

    bool public isPublicSale = false;
    bool public isWhiteListSale = false;

    mapping(address => bool) private _whitelist;
    mapping(address => uint256) private _mintedCount;
    mapping(address => bool) private _freeMinted;

    constructor() ERC721(NAME, SYMBOL) {
        _tokenIdCounter.increment();
    }

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

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

    function totalSupply() public view returns (uint256) {
        return _tokenIdCounter.current();
    }

    function isWhitelisted(address account) public view returns (bool) {
        return _whitelist[account];
    }

    function mint(uint256 count) public payable {
        uint256 _minPriceForMint = PRICE;
        uint256 _freeTokens = 0;
        if (!_freeMinted[msg.sender]) {
            _minPriceForMint = 0;
            _freeTokens = MAX_FREE_TOKENS;
        }
        require(msg.value >= _minPriceForMint, "Insufficient funds");
        require(count == msg.value / PRICE + _freeTokens, "Wrong value");

        require(
            _mintedCount[msg.sender] + count <= MAX_TOKENS_PER_PURCHASE,
            "Max tokens minted"
        );
        require(totalSupply() + count <= MAX_TOKENS, "Max tokens supply");
        if (isWhiteListSale) {
            require(_whitelist[msg.sender], "You are not in whitelist");

            _freeMinted[msg.sender] = true;
            _mintedCount[msg.sender] += count;
            for (uint8 i = 0; i < count; i++) {
                uint256 tokenId = _tokenIdCounter.current();
                _tokenIdCounter.increment();
                _safeMint(msg.sender, tokenId);
            }
        } else {
            require(isPublicSale, "Sale is not active");
            _freeMinted[msg.sender] = true;
            _mintedCount[msg.sender] += count;
            for (uint8 i = 0; i < count; i++) {
                uint256 tokenId = _tokenIdCounter.current();
                _tokenIdCounter.increment();
                _safeMint(msg.sender, tokenId);
            }
        }
    }

    function devMint(address to, uint256 count) public onlyOwner {
        require(totalSupply() + count <= MAX_TOKENS, "Exceeds max supply");
        for (uint8 i = 0; i < count; i++) {
            uint256 tokenId = _tokenIdCounter.current();
            _tokenIdCounter.increment();
            _safeMint(to, tokenId);
        }
    }

    function startPublicSale() external onlyOwner {
        isPublicSale = true;
    }

    function pausePublicSale() external onlyOwner {
        isPublicSale = false;
    }

    function startWhiteListSale() external onlyOwner {
        isWhiteListSale = true;
    }

    function pauseWhiteListSale() external onlyOwner {
        isWhiteListSale = false;
    }

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

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

    function contractURI() public pure returns (string memory) {
        return "";
    }

    function finalizeMetadata() external onlyOwner {
        isMetadataFinal = true;
    }

    function reveal(string memory url) external onlyOwner {
        require(!isMetadataFinal, "Metadata is finalized");
        _baseURL = url;
    }

    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")
                )
                : prerevealURL;
    }

    function setApprovalForAll(address operator, bool approved)
        public
        override
        onlyAllowedOperatorApproval(operator)
    {
        super.setApprovalForAll(operator, approved);
    }

    function approve(address operator, uint256 tokenId)
        public
        override
        onlyAllowedOperatorApproval(operator)
    {
        super.approve(operator, tokenId);
    }

    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public override onlyAllowedOperator(from) {
        super.transferFrom(from, to, tokenId);
    }

    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public override onlyAllowedOperator(from) {
        super.safeTransferFrom(from, to, tokenId);
    }

    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory data
    ) public override onlyAllowedOperator(from) {
        super.safeTransferFrom(from, to, tokenId, data);
    }

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_FREE_TOKENS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_TOKENS_PER_PURCHASE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_baseURL","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"}],"name":"addToWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","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":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"count","type":"uint256"}],"name":"devMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"finalizeMetadata","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isMetadataFinal","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPublicSale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isWhiteListSale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"count","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pausePublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"pauseWhiteListSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"prerevealURL","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"}],"name":"removeFromWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"url","type":"string"}],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startPublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startWhiteListSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60a060405260006080908152600b906200001a908262000380565b506040518060800160405280604a815260200162002af6604a9139600c9062000044908262000380565b50600d8054610100600160b81b0319167471d991e36de085e55247533cadf50e3a192c2c25001790553480156200007a57600080fd5b50733cc6cdda760b79bafa08df41ecfa224f810dceb660016040518060400160405280600f81526020016e447261696e656420506c616e65747360881b8152506040518060400160405280600381526020016222292760e91b8152508160009081620000e7919062000380565b506001620000f6828262000380565b505050620001136200010d6200027c60201b60201c565b62000280565b60016007556daaeb6d7670e522a718067333cd4e3b156200025d578015620001ab57604051633e9f1edf60e11b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e90637d3e3dbe906044015b600060405180830381600087803b1580156200018c57600080fd5b505af1158015620001a1573d6000803e3d6000fd5b505050506200025d565b6001600160a01b03821615620001fc5760405163a0af290360e01b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e9063a0af29039060440162000171565b604051632210724360e11b81523060048201526daaeb6d7670e522a718067333cd4e90634420e48690602401600060405180830381600087803b1580156200024357600080fd5b505af115801562000258573d6000803e3d6000fd5b505050505b505062000276600a620002d260201b6200131b1760201c565b6200044c565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b80546001019055565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200030657607f821691505b6020821081036200032757634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200037b57600081815260208120601f850160051c81016020861015620003565750805b601f850160051c820191505b81811015620003775782815560010162000362565b5050505b505050565b81516001600160401b038111156200039c576200039c620002db565b620003b481620003ad8454620002f1565b846200032d565b602080601f831160018114620003ec5760008415620003d35750858301515b600019600386901b1c1916600185901b17855562000377565b600085815260208120601f198616915b828110156200041d57888601518255948401946001909101908401620003fc565b50858210156200043c5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b61269a806200045c6000396000f3fe60806040526004361061023b5760003560e01c80636352211e1161012e578063ac95556f116100ab578063e985e9c51161006f578063e985e9c514610694578063f2fde38b146106b4578063f4a560a5146106d4578063f54b70bf146106e9578063f9e0edae146106fe57600080fd5b8063ac95556f14610609578063b88d4fde1461061e578063c87b56dd1461063e578063d82104821461065e578063e8a3d4851461067357600080fd5b80638da5cb5b116100f25780638da5cb5b1461058257806395d89b41146105a0578063a0712d68146105b5578063a22cb465146105c8578063a5a865dc146105e857600080fd5b80636352211e146104f257806370a0823114610512578063715018a6146105325780637f649783146105475780638d859f3e1461056757600080fd5b80632a55205a116101bc57806342842e0e1161018057806342842e0e146104515780634c26124714610471578063548db1741461049157806359d2be67146104b1578063627804af146104d257600080fd5b80632a55205a1461038d578063363e5999146103cc5780633af32abf146103e15780633ccfd60b1461041a57806341f434341461042f57600080fd5b80630c41f497116102035780630c41f497146103065780630de76de41461031b578063100073801461033557806318160ddd1461035857806323b872dd1461036d57600080fd5b806301ffc9a71461024057806306fdde0314610275578063081812fc14610297578063095ea7b3146102cf5780630c1c972a146102f1575b600080fd5b34801561024c57600080fd5b5061026061025b366004611eea565b610713565b60405190151581526020015b60405180910390f35b34801561028157600080fd5b5061028a610724565b60405161026c9190611f5e565b3480156102a357600080fd5b506102b76102b2366004611f71565b6107b6565b6040516001600160a01b03909116815260200161026c565b3480156102db57600080fd5b506102ef6102ea366004611fa6565b6107dd565b005b3480156102fd57600080fd5b506102ef6107f6565b34801561031257600080fd5b506102ef610813565b34801561032757600080fd5b50600d546102609060ff1681565b34801561034157600080fd5b5061034a600881565b60405190815260200161026c565b34801561036457600080fd5b5061034a61082a565b34801561037957600080fd5b506102ef610388366004611fd0565b61083a565b34801561039957600080fd5b506103ad6103a836600461200c565b610865565b604080516001600160a01b03909316835260208301919091520161026c565b3480156103d857600080fd5b506102ef610911565b3480156103ed57600080fd5b506102606103fc36600461202e565b6001600160a01b03166000908152600e602052604090205460ff1690565b34801561042657600080fd5b506102ef610928565b34801561043b57600080fd5b506102b76daaeb6d7670e522a718067333cd4e81565b34801561045d57600080fd5b506102ef61046c366004611fd0565b6109b6565b34801561047d57600080fd5b506102ef61048c3660046120e8565b6109db565b34801561049d57600080fd5b506102ef6104ac366004612131565b610a43565b3480156104bd57600080fd5b50600d5461026090600160b01b900460ff1681565b3480156104de57600080fd5b506102ef6104ed366004611fa6565b610ab3565b3480156104fe57600080fd5b506102b761050d366004611f71565b610b5a565b34801561051e57600080fd5b5061034a61052d36600461202e565b610bba565b34801561053e57600080fd5b506102ef610c40565b34801561055357600080fd5b506102ef610562366004612131565b610c52565b34801561057357600080fd5b5061034a661717b72f0a400081565b34801561058e57600080fd5b506006546001600160a01b03166102b7565b3480156105ac57600080fd5b5061028a610cc2565b6102ef6105c3366004611f71565b610cd1565b3480156105d457600080fd5b506102ef6105e33660046121ec565b61100e565b3480156105f457600080fd5b50600d5461026090600160a81b900460ff1681565b34801561061557600080fd5b5061034a600181565b34801561062a57600080fd5b506102ef610639366004612223565b611022565b34801561064a57600080fd5b5061028a610659366004611f71565b61104f565b34801561066a57600080fd5b5061028a6111a5565b34801561067f57600080fd5b5060408051602081019091526000815261028a565b3480156106a057600080fd5b506102606106af36600461229f565b611233565b3480156106c057600080fd5b506102ef6106cf36600461202e565b611261565b3480156106e057600080fd5b506102ef6112da565b3480156106f557600080fd5b506102ef6112f1565b34801561070a57600080fd5b5061028a61130e565b600061071e82611324565b92915050565b606060008054610733906122d2565b80601f016020809104026020016040519081016040528092919081815260200182805461075f906122d2565b80156107ac5780601f10610781576101008083540402835291602001916107ac565b820191906000526020600020905b81548152906001019060200180831161078f57829003601f168201915b5050505050905090565b60006107c182611349565b506000908152600460205260409020546001600160a01b031690565b816107e7816113a8565b6107f18383611461565b505050565b6107fe611571565b600d805460ff60a81b1916600160a81b179055565b61081b611571565b600d805460ff60a81b19169055565b6000610835600a5490565b905090565b826001600160a01b038116331461085457610854336113a8565b61085f8484846115cb565b50505050565b60008281526009602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b03169282019290925282916108da5750604080518082019091526008546001600160a01b0381168252600160a01b90046001600160601b031660208201525b6020810151600090612710906108f9906001600160601b031687612322565b6109039190612339565b915196919550909350505050565b610919611571565b600d805460ff60b01b19169055565b610930611571565b6109386115fc565b600061094c6006546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610996576040519150601f19603f3d011682016040523d82523d6000602084013e61099b565b606091505b50509050806109a957600080fd5b506109b46001600755565b565b826001600160a01b03811633146109d0576109d0336113a8565b61085f848484611655565b6109e3611571565b600d5460ff1615610a335760405162461bcd60e51b815260206004820152601560248201527413595d1859185d18481a5cc8199a5b985b1a5e9959605a1b60448201526064015b60405180910390fd5b600b610a3f82826123a9565b5050565b610a4b611571565b60005b8151811015610a3f576000600e6000848481518110610a6f57610a6f612469565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191691151591909117905580610aab8161247f565b915050610a4e565b610abb611571565b610d0581610ac761082a565b610ad19190612498565b1115610b145760405162461bcd60e51b815260206004820152601260248201527145786365656473206d617820737570706c7960701b6044820152606401610a2a565b60005b818160ff1610156107f1576000610b2d600a5490565b9050610b3d600a80546001019055565b610b478482611670565b5080610b52816124ab565b915050610b17565b6000818152600260205260408120546001600160a01b03168061071e5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610a2a565b60006001600160a01b038216610c245760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b6064820152608401610a2a565b506001600160a01b031660009081526003602052604090205490565b610c48611571565b6109b4600061168a565b610c5a611571565b60005b8151811015610a3f576001600e6000848481518110610c7e57610c7e612469565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191691151591909117905580610cba8161247f565b915050610c5d565b606060018054610733906122d2565b33600090815260106020526040812054661717b72f0a4000919060ff16610cfa57506000905060015b81341015610d3f5760405162461bcd60e51b8152602060048201526012602482015271496e73756666696369656e742066756e647360701b6044820152606401610a2a565b80610d51661717b72f0a400034612339565b610d5b9190612498565b8314610d975760405162461bcd60e51b815260206004820152600b60248201526a57726f6e672076616c756560a81b6044820152606401610a2a565b336000908152600f6020526040902054600890610db5908590612498565b1115610df75760405162461bcd60e51b815260206004820152601160248201527013585e081d1bdad95b9cc81b5a5b9d1959607a1b6044820152606401610a2a565b610d0583610e0361082a565b610e0d9190612498565b1115610e4f5760405162461bcd60e51b81526020600482015260116024820152704d617820746f6b656e7320737570706c7960781b6044820152606401610a2a565b600d54600160b01b900460ff1615610f4057336000908152600e602052604090205460ff16610ec05760405162461bcd60e51b815260206004820152601860248201527f596f7520617265206e6f7420696e2077686974656c69737400000000000000006044820152606401610a2a565b336000908152601060209081526040808320805460ff19166001179055600f90915281208054859290610ef4908490612498565b90915550600090505b838160ff16101561085f576000610f13600a5490565b9050610f23600a80546001019055565b610f2d3382611670565b5080610f38816124ab565b915050610efd565b600d54600160a81b900460ff16610f8e5760405162461bcd60e51b815260206004820152601260248201527153616c65206973206e6f742061637469766560701b6044820152606401610a2a565b336000908152601060209081526040808320805460ff19166001179055600f90915281208054859290610fc2908490612498565b90915550600090505b838160ff16101561085f576000610fe1600a5490565b9050610ff1600a80546001019055565b610ffb3382611670565b5080611006816124ab565b915050610fcb565b81611018816113a8565b6107f183836116dc565b836001600160a01b038116331461103c5761103c336113a8565b611048858585856116e7565b5050505050565b6000818152600260205260409020546060906001600160a01b03166110ce5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610a2a565b60006110d8611719565b511161116e57600c80546110eb906122d2565b80601f0160208091040260200160405190810160405280929190818152602001828054611117906122d2565b80156111645780601f1061113957610100808354040283529160200191611164565b820191906000526020600020905b81548152906001019060200180831161114757829003601f168201915b505050505061071e565b611176611719565b61117f83611728565b6040516020016111909291906124ca565b60405160208183030381529060405292915050565b600c80546111b2906122d2565b80601f01602080910402602001604051908101604052809291908181526020018280546111de906122d2565b801561122b5780601f106112005761010080835404028352916020019161122b565b820191906000526020600020905b81548152906001019060200180831161120e57829003601f168201915b505050505081565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b611269611571565b6001600160a01b0381166112ce5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a2a565b6112d78161168a565b50565b6112e2611571565b600d805460ff19166001179055565b6112f9611571565b600d805460ff60b01b1916600160b01b179055565b600b80546111b2906122d2565b80546001019055565b60006001600160e01b0319821663152a902d60e11b148061071e575061071e826117bb565b6000818152600260205260409020546001600160a01b03166112d75760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610a2a565b6daaeb6d7670e522a718067333cd4e3b156112d757604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015611415573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114399190612509565b6112d757604051633b79c77360e21b81526001600160a01b0382166004820152602401610a2a565b600061146c82610b5a565b9050806001600160a01b0316836001600160a01b0316036114d95760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610a2a565b336001600160a01b03821614806114f557506114f58133611233565b6115675760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c0000006064820152608401610a2a565b6107f1838361180b565b6006546001600160a01b031633146109b45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a2a565b6115d53382611879565b6115f15760405162461bcd60e51b8152600401610a2a90612526565b6107f18383836118d8565b60026007540361164e5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610a2a565b6002600755565b6107f183838360405180602001604052806000815250611022565b610a3f828260405180602001604052806000815250611a3c565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610a3f338383611a6f565b6116f13383611879565b61170d5760405162461bcd60e51b8152600401610a2a90612526565b61085f84848484611b3d565b6060600b8054610733906122d2565b6060600061173583611b70565b600101905060008167ffffffffffffffff81111561175557611755612049565b6040519080825280601f01601f19166020018201604052801561177f576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461178957509392505050565b60006001600160e01b031982166380ac58cd60e01b14806117ec57506001600160e01b03198216635b5e139f60e01b145b8061071e57506301ffc9a760e01b6001600160e01b031983161461071e565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061184082610b5a565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008061188583610b5a565b9050806001600160a01b0316846001600160a01b031614806118ac57506118ac8185611233565b806118d05750836001600160a01b03166118c5846107b6565b6001600160a01b0316145b949350505050565b826001600160a01b03166118eb82610b5a565b6001600160a01b0316146119115760405162461bcd60e51b8152600401610a2a90612573565b6001600160a01b0382166119735760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610a2a565b826001600160a01b031661198682610b5a565b6001600160a01b0316146119ac5760405162461bcd60e51b8152600401610a2a90612573565b600081815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260038552838620805460001901905590871680865283862080546001019055868652600290945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b611a468383611c48565b611a536000848484611dd3565b6107f15760405162461bcd60e51b8152600401610a2a906125b8565b816001600160a01b0316836001600160a01b031603611ad05760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610a2a565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611b488484846118d8565b611b5484848484611dd3565b61085f5760405162461bcd60e51b8152600401610a2a906125b8565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310611baf5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611bdb576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310611bf957662386f26fc10000830492506010015b6305f5e1008310611c11576305f5e100830492506008015b6127108310611c2557612710830492506004015b60648310611c37576064830492506002015b600a831061071e5760010192915050565b6001600160a01b038216611c9e5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610a2a565b6000818152600260205260409020546001600160a01b031615611d035760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610a2a565b6000818152600260205260409020546001600160a01b031615611d685760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610a2a565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60006001600160a01b0384163b15611ec957604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611e1790339089908890889060040161260a565b6020604051808303816000875af1925050508015611e52575060408051601f3d908101601f19168201909252611e4f91810190612647565b60015b611eaf573d808015611e80576040519150601f19603f3d011682016040523d82523d6000602084013e611e85565b606091505b508051600003611ea75760405162461bcd60e51b8152600401610a2a906125b8565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506118d0565b506001949350505050565b6001600160e01b0319811681146112d757600080fd5b600060208284031215611efc57600080fd5b8135611f0781611ed4565b9392505050565b60005b83811015611f29578181015183820152602001611f11565b50506000910152565b60008151808452611f4a816020860160208601611f0e565b601f01601f19169290920160200192915050565b602081526000611f076020830184611f32565b600060208284031215611f8357600080fd5b5035919050565b80356001600160a01b0381168114611fa157600080fd5b919050565b60008060408385031215611fb957600080fd5b611fc283611f8a565b946020939093013593505050565b600080600060608486031215611fe557600080fd5b611fee84611f8a565b9250611ffc60208501611f8a565b9150604084013590509250925092565b6000806040838503121561201f57600080fd5b50508035926020909101359150565b60006020828403121561204057600080fd5b611f0782611f8a565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561208857612088612049565b604052919050565b600067ffffffffffffffff8311156120aa576120aa612049565b6120bd601f8401601f191660200161205f565b90508281528383830111156120d157600080fd5b828260208301376000602084830101529392505050565b6000602082840312156120fa57600080fd5b813567ffffffffffffffff81111561211157600080fd5b8201601f8101841361212257600080fd5b6118d084823560208401612090565b6000602080838503121561214457600080fd5b823567ffffffffffffffff8082111561215c57600080fd5b818501915085601f83011261217057600080fd5b81358181111561218257612182612049565b8060051b915061219384830161205f565b81815291830184019184810190888411156121ad57600080fd5b938501935b838510156121d2576121c385611f8a565b825293850193908501906121b2565b98975050505050505050565b80151581146112d757600080fd5b600080604083850312156121ff57600080fd5b61220883611f8a565b91506020830135612218816121de565b809150509250929050565b6000806000806080858703121561223957600080fd5b61224285611f8a565b935061225060208601611f8a565b925060408501359150606085013567ffffffffffffffff81111561227357600080fd5b8501601f8101871361228457600080fd5b61229387823560208401612090565b91505092959194509250565b600080604083850312156122b257600080fd5b6122bb83611f8a565b91506122c960208401611f8a565b90509250929050565b600181811c908216806122e657607f821691505b60208210810361230657634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141761071e5761071e61230c565b60008261235657634e487b7160e01b600052601260045260246000fd5b500490565b601f8211156107f157600081815260208120601f850160051c810160208610156123825750805b601f850160051c820191505b818110156123a15782815560010161238e565b505050505050565b815167ffffffffffffffff8111156123c3576123c3612049565b6123d7816123d184546122d2565b8461235b565b602080601f83116001811461240c57600084156123f45750858301515b600019600386901b1c1916600185901b1785556123a1565b600085815260208120601f198616915b8281101561243b5788860151825594840194600190910190840161241c565b50858210156124595787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052603260045260246000fd5b6000600182016124915761249161230c565b5060010190565b8082018082111561071e5761071e61230c565b600060ff821660ff81036124c1576124c161230c565b60010192915050565b600083516124dc818460208801611f0e565b8351908301906124f0818360208801611f0e565b64173539b7b760d91b9101908152600501949350505050565b60006020828403121561251b57600080fd5b8151611f07816121de565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061263d90830184611f32565b9695505050505050565b60006020828403121561265957600080fd5b8151611f0781611ed456fea26469706673582212204828600b3fd2a08d8dde207f9c637ee6cfbef9fedd8bbbf501ffc9d8390dc96464736f6c63430008120033697066733a2f2f516d62654e5164436e6f7248394c6e4b4c45727351394b4675765355384a47614c4b4b7559353771716e534378552f68696464656e5f6d657461646174612e6a736f6e

Deployed Bytecode

0x60806040526004361061023b5760003560e01c80636352211e1161012e578063ac95556f116100ab578063e985e9c51161006f578063e985e9c514610694578063f2fde38b146106b4578063f4a560a5146106d4578063f54b70bf146106e9578063f9e0edae146106fe57600080fd5b8063ac95556f14610609578063b88d4fde1461061e578063c87b56dd1461063e578063d82104821461065e578063e8a3d4851461067357600080fd5b80638da5cb5b116100f25780638da5cb5b1461058257806395d89b41146105a0578063a0712d68146105b5578063a22cb465146105c8578063a5a865dc146105e857600080fd5b80636352211e146104f257806370a0823114610512578063715018a6146105325780637f649783146105475780638d859f3e1461056757600080fd5b80632a55205a116101bc57806342842e0e1161018057806342842e0e146104515780634c26124714610471578063548db1741461049157806359d2be67146104b1578063627804af146104d257600080fd5b80632a55205a1461038d578063363e5999146103cc5780633af32abf146103e15780633ccfd60b1461041a57806341f434341461042f57600080fd5b80630c41f497116102035780630c41f497146103065780630de76de41461031b578063100073801461033557806318160ddd1461035857806323b872dd1461036d57600080fd5b806301ffc9a71461024057806306fdde0314610275578063081812fc14610297578063095ea7b3146102cf5780630c1c972a146102f1575b600080fd5b34801561024c57600080fd5b5061026061025b366004611eea565b610713565b60405190151581526020015b60405180910390f35b34801561028157600080fd5b5061028a610724565b60405161026c9190611f5e565b3480156102a357600080fd5b506102b76102b2366004611f71565b6107b6565b6040516001600160a01b03909116815260200161026c565b3480156102db57600080fd5b506102ef6102ea366004611fa6565b6107dd565b005b3480156102fd57600080fd5b506102ef6107f6565b34801561031257600080fd5b506102ef610813565b34801561032757600080fd5b50600d546102609060ff1681565b34801561034157600080fd5b5061034a600881565b60405190815260200161026c565b34801561036457600080fd5b5061034a61082a565b34801561037957600080fd5b506102ef610388366004611fd0565b61083a565b34801561039957600080fd5b506103ad6103a836600461200c565b610865565b604080516001600160a01b03909316835260208301919091520161026c565b3480156103d857600080fd5b506102ef610911565b3480156103ed57600080fd5b506102606103fc36600461202e565b6001600160a01b03166000908152600e602052604090205460ff1690565b34801561042657600080fd5b506102ef610928565b34801561043b57600080fd5b506102b76daaeb6d7670e522a718067333cd4e81565b34801561045d57600080fd5b506102ef61046c366004611fd0565b6109b6565b34801561047d57600080fd5b506102ef61048c3660046120e8565b6109db565b34801561049d57600080fd5b506102ef6104ac366004612131565b610a43565b3480156104bd57600080fd5b50600d5461026090600160b01b900460ff1681565b3480156104de57600080fd5b506102ef6104ed366004611fa6565b610ab3565b3480156104fe57600080fd5b506102b761050d366004611f71565b610b5a565b34801561051e57600080fd5b5061034a61052d36600461202e565b610bba565b34801561053e57600080fd5b506102ef610c40565b34801561055357600080fd5b506102ef610562366004612131565b610c52565b34801561057357600080fd5b5061034a661717b72f0a400081565b34801561058e57600080fd5b506006546001600160a01b03166102b7565b3480156105ac57600080fd5b5061028a610cc2565b6102ef6105c3366004611f71565b610cd1565b3480156105d457600080fd5b506102ef6105e33660046121ec565b61100e565b3480156105f457600080fd5b50600d5461026090600160a81b900460ff1681565b34801561061557600080fd5b5061034a600181565b34801561062a57600080fd5b506102ef610639366004612223565b611022565b34801561064a57600080fd5b5061028a610659366004611f71565b61104f565b34801561066a57600080fd5b5061028a6111a5565b34801561067f57600080fd5b5060408051602081019091526000815261028a565b3480156106a057600080fd5b506102606106af36600461229f565b611233565b3480156106c057600080fd5b506102ef6106cf36600461202e565b611261565b3480156106e057600080fd5b506102ef6112da565b3480156106f557600080fd5b506102ef6112f1565b34801561070a57600080fd5b5061028a61130e565b600061071e82611324565b92915050565b606060008054610733906122d2565b80601f016020809104026020016040519081016040528092919081815260200182805461075f906122d2565b80156107ac5780601f10610781576101008083540402835291602001916107ac565b820191906000526020600020905b81548152906001019060200180831161078f57829003601f168201915b5050505050905090565b60006107c182611349565b506000908152600460205260409020546001600160a01b031690565b816107e7816113a8565b6107f18383611461565b505050565b6107fe611571565b600d805460ff60a81b1916600160a81b179055565b61081b611571565b600d805460ff60a81b19169055565b6000610835600a5490565b905090565b826001600160a01b038116331461085457610854336113a8565b61085f8484846115cb565b50505050565b60008281526009602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b03169282019290925282916108da5750604080518082019091526008546001600160a01b0381168252600160a01b90046001600160601b031660208201525b6020810151600090612710906108f9906001600160601b031687612322565b6109039190612339565b915196919550909350505050565b610919611571565b600d805460ff60b01b19169055565b610930611571565b6109386115fc565b600061094c6006546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610996576040519150601f19603f3d011682016040523d82523d6000602084013e61099b565b606091505b50509050806109a957600080fd5b506109b46001600755565b565b826001600160a01b03811633146109d0576109d0336113a8565b61085f848484611655565b6109e3611571565b600d5460ff1615610a335760405162461bcd60e51b815260206004820152601560248201527413595d1859185d18481a5cc8199a5b985b1a5e9959605a1b60448201526064015b60405180910390fd5b600b610a3f82826123a9565b5050565b610a4b611571565b60005b8151811015610a3f576000600e6000848481518110610a6f57610a6f612469565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191691151591909117905580610aab8161247f565b915050610a4e565b610abb611571565b610d0581610ac761082a565b610ad19190612498565b1115610b145760405162461bcd60e51b815260206004820152601260248201527145786365656473206d617820737570706c7960701b6044820152606401610a2a565b60005b818160ff1610156107f1576000610b2d600a5490565b9050610b3d600a80546001019055565b610b478482611670565b5080610b52816124ab565b915050610b17565b6000818152600260205260408120546001600160a01b03168061071e5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610a2a565b60006001600160a01b038216610c245760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b6064820152608401610a2a565b506001600160a01b031660009081526003602052604090205490565b610c48611571565b6109b4600061168a565b610c5a611571565b60005b8151811015610a3f576001600e6000848481518110610c7e57610c7e612469565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191691151591909117905580610cba8161247f565b915050610c5d565b606060018054610733906122d2565b33600090815260106020526040812054661717b72f0a4000919060ff16610cfa57506000905060015b81341015610d3f5760405162461bcd60e51b8152602060048201526012602482015271496e73756666696369656e742066756e647360701b6044820152606401610a2a565b80610d51661717b72f0a400034612339565b610d5b9190612498565b8314610d975760405162461bcd60e51b815260206004820152600b60248201526a57726f6e672076616c756560a81b6044820152606401610a2a565b336000908152600f6020526040902054600890610db5908590612498565b1115610df75760405162461bcd60e51b815260206004820152601160248201527013585e081d1bdad95b9cc81b5a5b9d1959607a1b6044820152606401610a2a565b610d0583610e0361082a565b610e0d9190612498565b1115610e4f5760405162461bcd60e51b81526020600482015260116024820152704d617820746f6b656e7320737570706c7960781b6044820152606401610a2a565b600d54600160b01b900460ff1615610f4057336000908152600e602052604090205460ff16610ec05760405162461bcd60e51b815260206004820152601860248201527f596f7520617265206e6f7420696e2077686974656c69737400000000000000006044820152606401610a2a565b336000908152601060209081526040808320805460ff19166001179055600f90915281208054859290610ef4908490612498565b90915550600090505b838160ff16101561085f576000610f13600a5490565b9050610f23600a80546001019055565b610f2d3382611670565b5080610f38816124ab565b915050610efd565b600d54600160a81b900460ff16610f8e5760405162461bcd60e51b815260206004820152601260248201527153616c65206973206e6f742061637469766560701b6044820152606401610a2a565b336000908152601060209081526040808320805460ff19166001179055600f90915281208054859290610fc2908490612498565b90915550600090505b838160ff16101561085f576000610fe1600a5490565b9050610ff1600a80546001019055565b610ffb3382611670565b5080611006816124ab565b915050610fcb565b81611018816113a8565b6107f183836116dc565b836001600160a01b038116331461103c5761103c336113a8565b611048858585856116e7565b5050505050565b6000818152600260205260409020546060906001600160a01b03166110ce5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610a2a565b60006110d8611719565b511161116e57600c80546110eb906122d2565b80601f0160208091040260200160405190810160405280929190818152602001828054611117906122d2565b80156111645780601f1061113957610100808354040283529160200191611164565b820191906000526020600020905b81548152906001019060200180831161114757829003601f168201915b505050505061071e565b611176611719565b61117f83611728565b6040516020016111909291906124ca565b60405160208183030381529060405292915050565b600c80546111b2906122d2565b80601f01602080910402602001604051908101604052809291908181526020018280546111de906122d2565b801561122b5780601f106112005761010080835404028352916020019161122b565b820191906000526020600020905b81548152906001019060200180831161120e57829003601f168201915b505050505081565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b611269611571565b6001600160a01b0381166112ce5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a2a565b6112d78161168a565b50565b6112e2611571565b600d805460ff19166001179055565b6112f9611571565b600d805460ff60b01b1916600160b01b179055565b600b80546111b2906122d2565b80546001019055565b60006001600160e01b0319821663152a902d60e11b148061071e575061071e826117bb565b6000818152600260205260409020546001600160a01b03166112d75760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610a2a565b6daaeb6d7670e522a718067333cd4e3b156112d757604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015611415573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114399190612509565b6112d757604051633b79c77360e21b81526001600160a01b0382166004820152602401610a2a565b600061146c82610b5a565b9050806001600160a01b0316836001600160a01b0316036114d95760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610a2a565b336001600160a01b03821614806114f557506114f58133611233565b6115675760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c0000006064820152608401610a2a565b6107f1838361180b565b6006546001600160a01b031633146109b45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a2a565b6115d53382611879565b6115f15760405162461bcd60e51b8152600401610a2a90612526565b6107f18383836118d8565b60026007540361164e5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610a2a565b6002600755565b6107f183838360405180602001604052806000815250611022565b610a3f828260405180602001604052806000815250611a3c565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610a3f338383611a6f565b6116f13383611879565b61170d5760405162461bcd60e51b8152600401610a2a90612526565b61085f84848484611b3d565b6060600b8054610733906122d2565b6060600061173583611b70565b600101905060008167ffffffffffffffff81111561175557611755612049565b6040519080825280601f01601f19166020018201604052801561177f576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461178957509392505050565b60006001600160e01b031982166380ac58cd60e01b14806117ec57506001600160e01b03198216635b5e139f60e01b145b8061071e57506301ffc9a760e01b6001600160e01b031983161461071e565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061184082610b5a565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008061188583610b5a565b9050806001600160a01b0316846001600160a01b031614806118ac57506118ac8185611233565b806118d05750836001600160a01b03166118c5846107b6565b6001600160a01b0316145b949350505050565b826001600160a01b03166118eb82610b5a565b6001600160a01b0316146119115760405162461bcd60e51b8152600401610a2a90612573565b6001600160a01b0382166119735760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610a2a565b826001600160a01b031661198682610b5a565b6001600160a01b0316146119ac5760405162461bcd60e51b8152600401610a2a90612573565b600081815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260038552838620805460001901905590871680865283862080546001019055868652600290945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b611a468383611c48565b611a536000848484611dd3565b6107f15760405162461bcd60e51b8152600401610a2a906125b8565b816001600160a01b0316836001600160a01b031603611ad05760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610a2a565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611b488484846118d8565b611b5484848484611dd3565b61085f5760405162461bcd60e51b8152600401610a2a906125b8565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310611baf5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611bdb576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310611bf957662386f26fc10000830492506010015b6305f5e1008310611c11576305f5e100830492506008015b6127108310611c2557612710830492506004015b60648310611c37576064830492506002015b600a831061071e5760010192915050565b6001600160a01b038216611c9e5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610a2a565b6000818152600260205260409020546001600160a01b031615611d035760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610a2a565b6000818152600260205260409020546001600160a01b031615611d685760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610a2a565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60006001600160a01b0384163b15611ec957604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611e1790339089908890889060040161260a565b6020604051808303816000875af1925050508015611e52575060408051601f3d908101601f19168201909252611e4f91810190612647565b60015b611eaf573d808015611e80576040519150601f19603f3d011682016040523d82523d6000602084013e611e85565b606091505b508051600003611ea75760405162461bcd60e51b8152600401610a2a906125b8565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506118d0565b506001949350505050565b6001600160e01b0319811681146112d757600080fd5b600060208284031215611efc57600080fd5b8135611f0781611ed4565b9392505050565b60005b83811015611f29578181015183820152602001611f11565b50506000910152565b60008151808452611f4a816020860160208601611f0e565b601f01601f19169290920160200192915050565b602081526000611f076020830184611f32565b600060208284031215611f8357600080fd5b5035919050565b80356001600160a01b0381168114611fa157600080fd5b919050565b60008060408385031215611fb957600080fd5b611fc283611f8a565b946020939093013593505050565b600080600060608486031215611fe557600080fd5b611fee84611f8a565b9250611ffc60208501611f8a565b9150604084013590509250925092565b6000806040838503121561201f57600080fd5b50508035926020909101359150565b60006020828403121561204057600080fd5b611f0782611f8a565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561208857612088612049565b604052919050565b600067ffffffffffffffff8311156120aa576120aa612049565b6120bd601f8401601f191660200161205f565b90508281528383830111156120d157600080fd5b828260208301376000602084830101529392505050565b6000602082840312156120fa57600080fd5b813567ffffffffffffffff81111561211157600080fd5b8201601f8101841361212257600080fd5b6118d084823560208401612090565b6000602080838503121561214457600080fd5b823567ffffffffffffffff8082111561215c57600080fd5b818501915085601f83011261217057600080fd5b81358181111561218257612182612049565b8060051b915061219384830161205f565b81815291830184019184810190888411156121ad57600080fd5b938501935b838510156121d2576121c385611f8a565b825293850193908501906121b2565b98975050505050505050565b80151581146112d757600080fd5b600080604083850312156121ff57600080fd5b61220883611f8a565b91506020830135612218816121de565b809150509250929050565b6000806000806080858703121561223957600080fd5b61224285611f8a565b935061225060208601611f8a565b925060408501359150606085013567ffffffffffffffff81111561227357600080fd5b8501601f8101871361228457600080fd5b61229387823560208401612090565b91505092959194509250565b600080604083850312156122b257600080fd5b6122bb83611f8a565b91506122c960208401611f8a565b90509250929050565b600181811c908216806122e657607f821691505b60208210810361230657634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141761071e5761071e61230c565b60008261235657634e487b7160e01b600052601260045260246000fd5b500490565b601f8211156107f157600081815260208120601f850160051c810160208610156123825750805b601f850160051c820191505b818110156123a15782815560010161238e565b505050505050565b815167ffffffffffffffff8111156123c3576123c3612049565b6123d7816123d184546122d2565b8461235b565b602080601f83116001811461240c57600084156123f45750858301515b600019600386901b1c1916600185901b1785556123a1565b600085815260208120601f198616915b8281101561243b5788860151825594840194600190910190840161241c565b50858210156124595787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052603260045260246000fd5b6000600182016124915761249161230c565b5060010190565b8082018082111561071e5761071e61230c565b600060ff821660ff81036124c1576124c161230c565b60010192915050565b600083516124dc818460208801611f0e565b8351908301906124f0818360208801611f0e565b64173539b7b760d91b9101908152600501949350505050565b60006020828403121561251b57600080fd5b8151611f07816121de565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061263d90830184611f32565b9695505050505050565b60006020828403121561265957600080fd5b8151611f0781611ed456fea26469706673582212204828600b3fd2a08d8dde207f9c637ee6cfbef9fedd8bbbf501ffc9d8390dc96464736f6c63430008120033

Deployed Bytecode Sourcemap

70259:6486:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;76522:220;;;;;;;;;;-1:-1:-1;76522:220:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;76522:220:0;;;;;;;;44178:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;45787:221::-;;;;;;;;;;-1:-1:-1;45787:221:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1697:32:1;;;1679:51;;1667:2;1652:18;45787:221:0;1533:203:1;75660:189:0;;;;;;;;;;-1:-1:-1;75660:189:0;;;;;:::i;:::-;;:::i;:::-;;73957:84;;;;;;;;;;;;;:::i;74049:85::-;;;;;;;;;;;;;:::i;70655:27::-;;;;;;;;;;-1:-1:-1;70655:27:0;;;;;;;;70838:51;;;;;;;;;;;;70888:1;70838:51;;;;;2324:25:1;;;2312:2;2297:18;70838:51:0;2178:177:1;71926:104:0;;;;;;;;;;;;;:::i;75857:197::-;;;;;;;;;;-1:-1:-1;75857:197:0;;;;;:::i;:::-;;:::i;33125:501::-;;;;;;;;;;-1:-1:-1;33125:501:0;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;3138:32:1;;;3120:51;;3202:2;3187:18;;3180:34;;;;3093:18;33125:501:0;2946:274:1;74240:91:0;;;;;;;;;;;;;:::i;72038:112::-;;;;;;;;;;-1:-1:-1;72038:112:0;;;;;:::i;:::-;-1:-1:-1;;;;;72123:19:0;72099:4;72123:19;;;:10;:19;;;;;;;;;72038:112;74339:162;;;;;;;;;;;;;:::i;67162:143::-;;;;;;;;;;;;60211:42;67162:143;;76062:205;;;;;;;;;;-1:-1:-1;76062:205:0;;;;;:::i;:::-;;:::i;74809:148::-;;;;;;;;;;-1:-1:-1;74809:148:0;;;;;:::i;:::-;;:::i;71695:223::-;;;;;;;;;;-1:-1:-1;71695:223:0;;;;;:::i;:::-;;:::i;71202:35::-;;;;;;;;;;-1:-1:-1;71202:35:0;;;;-1:-1:-1;;;71202:35:0;;;;;;73610:339;;;;;;;;;;-1:-1:-1;73610:339:0;;;;;:::i;:::-;;:::i;43838:273::-;;;;;;;;;;-1:-1:-1;43838:273:0;;;;;:::i;:::-;;:::i;43482:294::-;;;;;;;;;;-1:-1:-1;43482:294:0;;;;;:::i;:::-;;:::i;2024:103::-;;;;;;;;;;;;;:::i;71493:194::-;;;;;;;;;;-1:-1:-1;71493:194:0;;;;;:::i;:::-;;:::i;70946:44::-;;;;;;;;;;;;70978:12;70946:44;;1376:87;;;;;;;;;;-1:-1:-1;1449:6:0;;-1:-1:-1;;;;;1449:6:0;1376:87;;44347:104;;;;;;;;;;;;;:::i;72158:1444::-;;;;;;:::i;:::-;;:::i;75444:208::-;;;;;;;;;;-1:-1:-1;75444:208:0;;;;;:::i;:::-;;:::i;71163:32::-;;;;;;;;;;-1:-1:-1;71163:32:0;;;;-1:-1:-1;;;71163:32:0;;;;;;70896:43;;;;;;;;;;;;70938:1;70896:43;;76275:239;;;;;;;;;;-1:-1:-1;76275:239:0;;;;;:::i;:::-;;:::i;74965:471::-;;;;;;;;;;-1:-1:-1;74965:471:0;;;;;:::i;:::-;;:::i;70543:105::-;;;;;;;;;;;;;:::i;74618:87::-;;;;;;;;;;-1:-1:-1;74688:9:0;;;;;;;;;-1:-1:-1;74688:9:0;;74618:87;;46338:214;;;;;;;;;;-1:-1:-1;46338:214:0;;;;;:::i;:::-;;:::i;2282:238::-;;;;;;;;;;-1:-1:-1;2282:238:0;;;;;:::i;:::-;;:::i;74713:88::-;;;;;;;;;;;;;:::i;74142:90::-;;;;;;;;;;;;;:::i;70509:27::-;;;;;;;;;;;;;:::i;76522:220::-;76669:4;76698:36;76722:11;76698:23;:36::i;:::-;76691:43;76522:220;-1:-1:-1;;76522:220:0:o;44178:100::-;44232:13;44265:5;44258:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44178:100;:::o;45787:221::-;45908:7;45933:23;45948:7;45933:14;:23::i;:::-;-1:-1:-1;45976:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;45976:24:0;;45787:221::o;75660:189::-;75783:8;69078:30;69099:8;69078:20;:30::i;:::-;75809:32:::1;75823:8;75833:7;75809:13;:32::i;:::-;75660:189:::0;;;:::o;73957:84::-;1262:13;:11;:13::i;:::-;74014:12:::1;:19:::0;;-1:-1:-1;;;;74014:19:0::1;-1:-1:-1::0;;;74014:19:0::1;::::0;;73957:84::o;74049:85::-;1262:13;:11;:13::i;:::-;74106:12:::1;:20:::0;;-1:-1:-1;;;;74106:20:0::1;::::0;;74049:85::o;71926:104::-;71970:7;71997:25;:15;28710:14;;28618:114;71997:25;71990:32;;71926:104;:::o;75857:197::-;75992:4;-1:-1:-1;;;;;68804:18:0;;68812:10;68804:18;68800:83;;68839:32;68860:10;68839:20;:32::i;:::-;76009:37:::1;76028:4;76034:2;76038:7;76009:18;:37::i;:::-;75857:197:::0;;;;:::o;33125:501::-;33265:7;33328:26;;;:17;:26;;;;;;;;33299:55;;;;;;;;;-1:-1:-1;;;;;33299:55:0;;;;;-1:-1:-1;;;33299:55:0;;;-1:-1:-1;;;;;33299:55:0;;;;;;;;33265:7;;33367:92;;-1:-1:-1;33418:29:0;;;;;;;;;33428:19;33418:29;-1:-1:-1;;;;;33418:29:0;;;;-1:-1:-1;;;33418:29:0;;-1:-1:-1;;;;;33418:29:0;;;;;33367:92;33508:23;;;;33471:21;;33992:5;;33496:35;;-1:-1:-1;;;;;33496:35:0;:9;:35;:::i;:::-;33495:70;;;;:::i;:::-;33586:16;;;;;-1:-1:-1;33125:501:0;;-1:-1:-1;;;;33125:501:0:o;74240:91::-;1262:13;:11;:13::i;:::-;74300:15:::1;:23:::0;;-1:-1:-1;;;;74300:23:0::1;::::0;;74240:91::o;74339:162::-;1262:13;:11;:13::i;:::-;30613:21:::1;:19;:21::i;:::-;74403:7:::2;74424;1449:6:::0;;-1:-1:-1;;;;;1449:6:0;;1376:87;74424:7:::2;-1:-1:-1::0;;;;;74416:21:0::2;74445;74416:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;74402:69;;;74490:2;74482:11;;;::::0;::::2;;74391:110;30657:20:::1;30051:1:::0;31177:7;:22;30994:213;30657:20:::1;74339:162::o:0;76062:205::-;76201:4;-1:-1:-1;;;;;68804:18:0;;68812:10;68804:18;68800:83;;68839:32;68860:10;68839:20;:32::i;:::-;76218:41:::1;76241:4;76247:2;76251:7;76218:22;:41::i;74809:148::-:0;1262:13;:11;:13::i;:::-;74883:15:::1;::::0;::::1;;74882:16;74874:50;;;::::0;-1:-1:-1;;;74874:50:0;;8729:2:1;74874:50:0::1;::::0;::::1;8711:21:1::0;8768:2;8748:18;;;8741:30;-1:-1:-1;;;8787:18:1;;;8780:51;8848:18;;74874:50:0::1;;;;;;;;;74935:8;:14;74946:3:::0;74935:8;:14:::1;:::i;:::-;;74809:148:::0;:::o;71695:223::-;1262:13;:11;:13::i;:::-;71810:9:::1;71805:106;71829:9;:16;71825:1;:20;71805:106;;;71894:5;71867:10;:24;71878:9;71888:1;71878:12;;;;;;;;:::i;:::-;;::::0;;::::1;::::0;;;;;;;-1:-1:-1;;;;;71867:24:0::1;::::0;;;::::1;::::0;;;;;;-1:-1:-1;71867:24:0;:32;;-1:-1:-1;;71867:32:0::1;::::0;::::1;;::::0;;;::::1;::::0;;71847:3;::::1;::::0;::::1;:::i;:::-;;;;71805:106;;73610:339:::0;1262:13;:11;:13::i;:::-;70827:4:::1;73706:5;73690:13;:11;:13::i;:::-;:21;;;;:::i;:::-;:35;;73682:66;;;::::0;-1:-1:-1;;;73682:66:0;;11685:2:1;73682:66:0::1;::::0;::::1;11667:21:1::0;11724:2;11704:18;;;11697:30;-1:-1:-1;;;11743:18:1;;;11736:48;11801:18;;73682:66:0::1;11483:342:1::0;73682:66:0::1;73764:7;73759:183;73781:5;73777:1;:9;;;73759:183;;;73808:15;73826:25;:15;28710:14:::0;;28618:114;73826:25:::1;73808:43;;73866:27;:15;28829:19:::0;;28847:1;28829:19;;;28740:127;73866:27:::1;73908:22;73918:2;73922:7;73908:9;:22::i;:::-;-1:-1:-1::0;73788:3:0;::::1;::::0;::::1;:::i;:::-;;;;73759:183;;43838:273:::0;43955:7;49115:16;;;:7;:16;;;;;;-1:-1:-1;;;;;49115:16:0;;44024:56;;;;-1:-1:-1;;;44024:56:0;;12212:2:1;44024:56:0;;;12194:21:1;12251:2;12231:18;;;12224:30;-1:-1:-1;;;12270:18:1;;;12263:54;12334:18;;44024:56:0;12010:348:1;43482:294:0;43599:7;-1:-1:-1;;;;;43646:19:0;;43624:110;;;;-1:-1:-1;;;43624:110:0;;12565:2:1;43624:110:0;;;12547:21:1;12604:2;12584:18;;;12577:30;12643:34;12623:18;;;12616:62;-1:-1:-1;;;12694:18:1;;;12687:39;12743:19;;43624:110:0;12363:405:1;43624:110:0;-1:-1:-1;;;;;;43752:16:0;;;;;:9;:16;;;;;;;43482:294::o;2024:103::-;1262:13;:11;:13::i;:::-;2089:30:::1;2116:1;2089:18;:30::i;71493:194::-:0;1262:13;:11;:13::i;:::-;71580:9:::1;71575:105;71599:9;:16;71595:1;:20;71575:105;;;71664:4;71637:10;:24;71648:9;71658:1;71648:12;;;;;;;;:::i;:::-;;::::0;;::::1;::::0;;;;;;;-1:-1:-1;;;;;71637:24:0::1;::::0;;;::::1;::::0;;;;;;-1:-1:-1;71637:24:0;:31;;-1:-1:-1;;71637:31:0::1;::::0;::::1;;::::0;;;::::1;::::0;;71617:3;::::1;::::0;::::1;:::i;:::-;;;;71575:105;;44347:104:::0;44403:13;44436:7;44429:14;;;;;:::i;72158:1444::-;72307:10;72213:24;72295:23;;;:11;:23;;;;;;70978:12;;72213:24;72295:23;;72290:121;;-1:-1:-1;72354:1:0;;-1:-1:-1;70938:1:0;72290:121;72442:16;72429:9;:29;;72421:60;;;;-1:-1:-1;;;72421:60:0;;12975:2:1;72421:60:0;;;12957:21:1;13014:2;12994:18;;;12987:30;-1:-1:-1;;;13033:18:1;;;13026:48;13091:18;;72421:60:0;12773:342:1;72421:60:0;72529:11;72509:17;70978:12;72509:9;:17;:::i;:::-;:31;;;;:::i;:::-;72500:5;:40;72492:64;;;;-1:-1:-1;;;72492:64:0;;13322:2:1;72492:64:0;;;13304:21:1;13361:2;13341:18;;;13334:30;-1:-1:-1;;;13380:18:1;;;13373:41;13431:18;;72492:64:0;13120:335:1;72492:64:0;72604:10;72591:24;;;;:12;:24;;;;;;70888:1;;72591:32;;72618:5;;72591:32;:::i;:::-;:59;;72569:126;;;;-1:-1:-1;;;72569:126:0;;13662:2:1;72569:126:0;;;13644:21:1;13701:2;13681:18;;;13674:30;-1:-1:-1;;;13720:18:1;;;13713:47;13777:18;;72569:126:0;13460:341:1;72569:126:0;70827:4;72730:5;72714:13;:11;:13::i;:::-;:21;;;;:::i;:::-;:35;;72706:65;;;;-1:-1:-1;;;72706:65:0;;14008:2:1;72706:65:0;;;13990:21:1;14047:2;14027:18;;;14020:30;-1:-1:-1;;;14066:18:1;;;14059:47;14123:18;;72706:65:0;13806:341:1;72706:65:0;72786:15;;-1:-1:-1;;;72786:15:0;;;;72782:813;;;72837:10;72826:22;;;;:10;:22;;;;;;;;72818:59;;;;-1:-1:-1;;;72818:59:0;;14354:2:1;72818:59:0;;;14336:21:1;14393:2;14373:18;;;14366:30;14432:26;14412:18;;;14405:54;14476:18;;72818:59:0;14152:348:1;72818:59:0;72906:10;72894:23;;;;:11;:23;;;;;;;;:30;;-1:-1:-1;;72894:30:0;72920:4;72894:30;;;72939:12;:24;;;;;:33;;72967:5;;72894:23;72939:33;;72967:5;;72939:33;:::i;:::-;;;;-1:-1:-1;72992:7:0;;-1:-1:-1;72987:207:0;73009:5;73005:1;:9;;;72987:207;;;73040:15;73058:25;:15;28710:14;;28618:114;73058:25;73040:43;;73102:27;:15;28829:19;;28847:1;28829:19;;;28740:127;73102:27;73148:30;73158:10;73170:7;73148:9;:30::i;:::-;-1:-1:-1;73016:3:0;;;;:::i;:::-;;;;72987:207;;72782:813;73234:12;;-1:-1:-1;;;73234:12:0;;;;73226:43;;;;-1:-1:-1;;;73226:43:0;;14707:2:1;73226:43:0;;;14689:21:1;14746:2;14726:18;;;14719:30;-1:-1:-1;;;14765:18:1;;;14758:48;14823:18;;73226:43:0;14505:342:1;73226:43:0;73296:10;73284:23;;;;:11;:23;;;;;;;;:30;;-1:-1:-1;;73284:30:0;73310:4;73284:30;;;73329:12;:24;;;;;:33;;73357:5;;73284:23;73329:33;;73357:5;;73329:33;:::i;:::-;;;;-1:-1:-1;73382:7:0;;-1:-1:-1;73377:207:0;73399:5;73395:1;:9;;;73377:207;;;73430:15;73448:25;:15;28710:14;;28618:114;73448:25;73430:43;;73492:27;:15;28829:19;;28847:1;28829:19;;;28740:127;73492:27;73538:30;73548:10;73560:7;73538:9;:30::i;:::-;-1:-1:-1;73406:3:0;;;;:::i;:::-;;;;73377:207;;75444:208;75575:8;69078:30;69099:8;69078:20;:30::i;:::-;75601:43:::1;75625:8;75635;75601:23;:43::i;76275:239::-:0;76442:4;-1:-1:-1;;;;;68804:18:0;;68812:10;68804:18;68800:83;;68839:32;68860:10;68839:20;:32::i;:::-;76459:47:::1;76482:4;76488:2;76492:7;76501:4;76459:22;:47::i;:::-;76275:239:::0;;;;;:::o;74965:471::-;49517:4;49115:16;;;:7;:16;;;;;;75066:13;;-1:-1:-1;;;;;49115:16:0;75097:113;;;;-1:-1:-1;;;75097:113:0;;15054:2:1;75097:113:0;;;15036:21:1;15093:2;15073:18;;;15066:30;15132:34;15112:18;;;15105:62;-1:-1:-1;;;15183:18:1;;;15176:45;15238:19;;75097:113:0;14852:411:1;75097:113:0;75270:1;75249:10;:8;:10::i;:::-;75243:24;:28;:185;;75416:12;75243:185;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;75337:10;:8;:10::i;:::-;75349:18;:7;:16;:18::i;:::-;75320:57;;;;;;;;;:::i;:::-;;;;;;;;;;;;;75223:205;74965:471;-1:-1:-1;;74965:471:0:o;70543:105::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;46338:214::-;-1:-1:-1;;;;;46509:25:0;;;46480:4;46509:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;46338:214::o;2282:238::-;1262:13;:11;:13::i;:::-;-1:-1:-1;;;;;2385:22:0;::::1;2363:110;;;::::0;-1:-1:-1;;;2363:110:0;;16138:2:1;2363:110:0::1;::::0;::::1;16120:21:1::0;16177:2;16157:18;;;16150:30;16216:34;16196:18;;;16189:62;-1:-1:-1;;;16267:18:1;;;16260:36;16313:19;;2363:110:0::1;15936:402:1::0;2363:110:0::1;2484:28;2503:8;2484:18;:28::i;:::-;2282:238:::0;:::o;74713:88::-;1262:13;:11;:13::i;:::-;74771:15:::1;:22:::0;;-1:-1:-1;;74771:22:0::1;74789:4;74771:22;::::0;;74713:88::o;74142:90::-;1262:13;:11;:13::i;:::-;74202:15:::1;:22:::0;;-1:-1:-1;;;;74202:22:0::1;-1:-1:-1::0;;;74202:22:0::1;::::0;;74142:90::o;70509:27::-;;;;;;;:::i;28740:127::-;28829:19;;28847:1;28829:19;;;28740:127::o;32779:291::-;32926:4;-1:-1:-1;;;;;;32968:41:0;;-1:-1:-1;;;32968:41:0;;:94;;;33026:36;33050:11;33026:23;:36::i;55990:135::-;49517:4;49115:16;;;:7;:16;;;;;;-1:-1:-1;;;;;49115:16:0;56064:53;;;;-1:-1:-1;;;56064:53:0;;12212:2:1;56064:53:0;;;12194:21:1;12251:2;12231:18;;;12224:30;-1:-1:-1;;;12270:18:1;;;12263:54;12334:18;;56064:53:0;12010:348:1;69221:740:0;60211:42;69412:45;:49;69408:546;;69729:128;;-1:-1:-1;;;69729:128:0;;69802:4;69729:128;;;16555:34:1;-1:-1:-1;;;;;16625:15:1;;16605:18;;;16598:43;60211:42:0;;69729;;16490:18:1;;69729:128:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;69706:237;;69899:28;;-1:-1:-1;;;69899:28:0;;-1:-1:-1;;;;;1697:32:1;;69899:28:0;;;1679:51:1;1652:18;;69899:28:0;1533:203:1;45305:416:0;45386:13;45402:23;45417:7;45402:14;:23::i;:::-;45386:39;;45450:5;-1:-1:-1;;;;;45444:11:0;:2;-1:-1:-1;;;;;45444:11:0;;45436:57;;;;-1:-1:-1;;;45436:57:0;;17104:2:1;45436:57:0;;;17086:21:1;17143:2;17123:18;;;17116:30;17182:34;17162:18;;;17155:62;-1:-1:-1;;;17233:18:1;;;17226:31;17274:19;;45436:57:0;16902:397:1;45436:57:0;647:10;-1:-1:-1;;;;;45528:21:0;;;;:62;;-1:-1:-1;45553:37:0;45570:5;647:10;46338:214;:::i;45553:37::-;45506:173;;;;-1:-1:-1;;;45506:173:0;;17506:2:1;45506:173:0;;;17488:21:1;17545:2;17525:18;;;17518:30;17584:34;17564:18;;;17557:62;17655:31;17635:18;;;17628:59;17704:19;;45506:173:0;17304:425:1;45506:173:0;45692:21;45701:2;45705:7;45692:8;:21::i;1541:132::-;1449:6;;-1:-1:-1;;;;;1449:6:0;647:10;1605:23;1597:68;;;;-1:-1:-1;;;1597:68:0;;17936:2:1;1597:68:0;;;17918:21:1;;;17955:18;;;17948:30;18014:34;17994:18;;;17987:62;18066:18;;1597:68:0;17734:356:1;46619:372:0;46828:41;647:10;46861:7;46828:18;:41::i;:::-;46806:136;;;;-1:-1:-1;;;46806:136:0;;;;;;;:::i;:::-;46955:28;46965:4;46971:2;46975:7;46955:9;:28::i;30693:293::-;30095:1;30827:7;;:19;30819:63;;;;-1:-1:-1;;;30819:63:0;;18711:2:1;30819:63:0;;;18693:21:1;18750:2;18730:18;;;18723:30;18789:33;18769:18;;;18762:61;18840:18;;30819:63:0;18509:355:1;30819:63:0;30095:1;30960:7;:18;30693:293::o;47062:185::-;47200:39;47217:4;47223:2;47227:7;47200:39;;;;;;;;;;;;:16;:39::i;50420:110::-;50496:26;50506:2;50510:7;50496:26;;;;;;;;;;;;:9;:26::i;2680:191::-;2773:6;;;-1:-1:-1;;;;;2790:17:0;;;-1:-1:-1;;;;;;2790:17:0;;;;;;;2823:40;;2773:6;;;2790:17;2773:6;;2823:40;;2754:16;;2823:40;2743:128;2680:191;:::o;46080:187::-;46207:52;647:10;46240:8;46250;46207:18;:52::i;47318:359::-;47506:41;647:10;47539:7;47506:18;:41::i;:::-;47484:136;;;;-1:-1:-1;;;47484:136:0;;;;;;;:::i;:::-;47631:38;47645:4;47651:2;47655:7;47664:4;47631:13;:38::i;74509:101::-;74561:13;74594:8;74587:15;;;;;:::i;16133:716::-;16189:13;16240:14;16257:17;16268:5;16257:10;:17::i;:::-;16277:1;16257:21;16240:38;;16293:20;16327:6;16316:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;16316:18:0;-1:-1:-1;16293:41:0;-1:-1:-1;16458:28:0;;;16474:2;16458:28;16515:288;-1:-1:-1;;16547:5:0;-1:-1:-1;;;16684:2:0;16673:14;;16668:30;16547:5;16655:44;16745:2;16736:11;;;-1:-1:-1;16766:21:0;16515:288;16766:21;-1:-1:-1;16824:6:0;16133:716;-1:-1:-1;;;16133:716:0:o;43063:355::-;43210:4;-1:-1:-1;;;;;;43252:40:0;;-1:-1:-1;;;43252:40:0;;:105;;-1:-1:-1;;;;;;;43309:48:0;;-1:-1:-1;;;43309:48:0;43252:105;:158;;;-1:-1:-1;;;;;;;;;;31968:40:0;;;43374:36;31809:207;55269:174;55344:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;55344:29:0;-1:-1:-1;;;;;55344:29:0;;;;;;;;:24;;55398:23;55344:24;55398:14;:23::i;:::-;-1:-1:-1;;;;;55389:46:0;;;;;;;;;;;55269:174;;:::o;49747:331::-;49876:4;49898:13;49914:23;49929:7;49914:14;:23::i;:::-;49898:39;;49967:5;-1:-1:-1;;;;;49956:16:0;:7;-1:-1:-1;;;;;49956:16:0;;:65;;;;49989:32;50006:5;50013:7;49989:16;:32::i;:::-;49956:113;;;;50062:7;-1:-1:-1;;;;;50038:31:0;:20;50050:7;50038:11;:20::i;:::-;-1:-1:-1;;;;;50038:31:0;;49956:113;49948:122;49747:331;-1:-1:-1;;;;49747:331:0:o;53813:1337::-;53986:4;-1:-1:-1;;;;;53959:31:0;:23;53974:7;53959:14;:23::i;:::-;-1:-1:-1;;;;;53959:31:0;;53937:118;;;;-1:-1:-1;;;53937:118:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;54074:16:0;;54066:65;;;;-1:-1:-1;;;54066:65:0;;19477:2:1;54066:65:0;;;19459:21:1;19516:2;19496:18;;;19489:30;19555:34;19535:18;;;19528:62;-1:-1:-1;;;19606:18:1;;;19599:34;19650:19;;54066:65:0;19275:400:1;54066:65:0;54330:4;-1:-1:-1;;;;;54303:31:0;:23;54318:7;54303:14;:23::i;:::-;-1:-1:-1;;;;;54303:31:0;;54281:118;;;;-1:-1:-1;;;54281:118:0;;;;;;;:::i;:::-;54471:24;;;;:15;:24;;;;;;;;54464:31;;-1:-1:-1;;;;;;54464:31:0;;;;;;-1:-1:-1;;;;;54947:15:0;;;;;;:9;:15;;;;;:20;;-1:-1:-1;;54947:20:0;;;54982:13;;;;;;;;;:18;;54464:31;54982:18;;;55022:16;;;:7;:16;;;;;;:21;;;;;;;;;;55061:27;;54487:7;;55061:27;;;75660:189;;;:::o;50757:319::-;50886:18;50892:2;50896:7;50886:5;:18::i;:::-;50937:53;50968:1;50972:2;50976:7;50985:4;50937:22;:53::i;:::-;50915:153;;;;-1:-1:-1;;;50915:153:0;;;;;;;:::i;55586:315::-;55741:8;-1:-1:-1;;;;;55732:17:0;:5;-1:-1:-1;;;;;55732:17:0;;55724:55;;;;-1:-1:-1;;;55724:55:0;;20301:2:1;55724:55:0;;;20283:21:1;20340:2;20320:18;;;20313:30;20379:27;20359:18;;;20352:55;20424:18;;55724:55:0;20099:349:1;55724:55:0;-1:-1:-1;;;;;55790:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;55790:46:0;;;;;;;;;;55852:41;;540::1;;;55852::0;;513:18:1;55852:41:0;;;;;;;55586:315;;;:::o;48558:350::-;48714:28;48724:4;48730:2;48734:7;48714:9;:28::i;:::-;48775:47;48798:4;48804:2;48808:7;48817:4;48775:22;:47::i;:::-;48753:147;;;;-1:-1:-1;;;48753:147:0;;;;;;;:::i;13023:922::-;13076:7;;-1:-1:-1;;;13154:15:0;;13150:102;;-1:-1:-1;;;13190:15:0;;;-1:-1:-1;13234:2:0;13224:12;13150:102;13279:6;13270:5;:15;13266:102;;13315:6;13306:15;;;-1:-1:-1;13350:2:0;13340:12;13266:102;13395:6;13386:5;:15;13382:102;;13431:6;13422:15;;;-1:-1:-1;13466:2:0;13456:12;13382:102;13511:5;13502;:14;13498:99;;13546:5;13537:14;;;-1:-1:-1;13580:1:0;13570:11;13498:99;13624:5;13615;:14;13611:99;;13659:5;13650:14;;;-1:-1:-1;13693:1:0;13683:11;13611:99;13737:5;13728;:14;13724:99;;13772:5;13763:14;;;-1:-1:-1;13806:1:0;13796:11;13724:99;13850:5;13841;:14;13837:66;;13886:1;13876:11;13931:6;13023:922;-1:-1:-1;;13023:922:0:o;51412:942::-;-1:-1:-1;;;;;51492:16:0;;51484:61;;;;-1:-1:-1;;;51484:61:0;;20655:2:1;51484:61:0;;;20637:21:1;;;20674:18;;;20667:30;20733:34;20713:18;;;20706:62;20785:18;;51484:61:0;20453:356:1;51484:61:0;49517:4;49115:16;;;:7;:16;;;;;;-1:-1:-1;;;;;49115:16:0;49541:31;51556:58;;;;-1:-1:-1;;;51556:58:0;;21016:2:1;51556:58:0;;;20998:21:1;21055:2;21035:18;;;21028:30;21094;21074:18;;;21067:58;21142:18;;51556:58:0;20814:352:1;51556:58:0;49517:4;49115:16;;;:7;:16;;;;;;-1:-1:-1;;;;;49115:16:0;49541:31;51765:58;;;;-1:-1:-1;;;51765:58:0;;21016:2:1;51765:58:0;;;20998:21:1;21055:2;21035:18;;;21028:30;21094;21074:18;;;21067:58;21142:18;;51765:58:0;20814:352:1;51765:58:0;-1:-1:-1;;;;;52172:13:0;;;;;;:9;:13;;;;;;;;:18;;52189:1;52172:18;;;52214:16;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;52214:21:0;;;;;52253:33;52222:7;;52172:13;;52253:33;;52172:13;;52253:33;74935:14:::1;74809:148:::0;:::o;56689:1034::-;56843:4;-1:-1:-1;;;;;56864:13:0;;19433:19;:23;56860:856;;56917:174;;-1:-1:-1;;;56917:174:0;;-1:-1:-1;;;;;56917:36:0;;;;;:174;;647:10;;57011:4;;57038:7;;57068:4;;56917:174;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;56917:174:0;;;;;;;;-1:-1:-1;;56917:174:0;;;;;;;;;;;;:::i;:::-;;;56896:765;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57274:6;:13;57291:1;57274:18;57270:376;;57317:108;;-1:-1:-1;;;57317:108:0;;;;;;;:::i;57270:376::-;57596:6;57590:13;57581:6;57577:2;57573:15;57566:38;56896:765;-1:-1:-1;;;;;;57155:51:0;-1:-1:-1;;;57155:51:0;;-1:-1:-1;57148:58:0;;56860:856;-1:-1:-1;57700:4:0;56689:1034;;;;;;:::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:271::-;889:3;927:5;921:12;954:6;949:3;942:19;970:76;1039:6;1032:4;1027:3;1023:14;1016:4;1009:5;1005:16;970:76;:::i;:::-;1100:2;1079:15;-1:-1:-1;;1075:29:1;1066:39;;;;1107:4;1062:50;;847:271;-1:-1:-1;;847:271:1:o;1123:220::-;1272:2;1261:9;1254:21;1235:4;1292:45;1333:2;1322:9;1318:18;1310:6;1292:45;:::i;1348:180::-;1407:6;1460:2;1448:9;1439:7;1435:23;1431:32;1428:52;;;1476:1;1473;1466:12;1428:52;-1:-1:-1;1499:23:1;;1348:180;-1:-1:-1;1348:180:1:o;1741:173::-;1809:20;;-1:-1:-1;;;;;1858:31:1;;1848:42;;1838:70;;1904:1;1901;1894:12;1838:70;1741:173;;;:::o;1919:254::-;1987:6;1995;2048:2;2036:9;2027:7;2023:23;2019:32;2016:52;;;2064:1;2061;2054:12;2016:52;2087:29;2106:9;2087:29;:::i;:::-;2077:39;2163:2;2148:18;;;;2135:32;;-1:-1:-1;;;1919:254:1:o;2360:328::-;2437:6;2445;2453;2506:2;2494:9;2485:7;2481:23;2477:32;2474:52;;;2522:1;2519;2512:12;2474:52;2545:29;2564:9;2545:29;:::i;:::-;2535:39;;2593:38;2627:2;2616:9;2612:18;2593:38;:::i;:::-;2583:48;;2678:2;2667:9;2663:18;2650:32;2640:42;;2360:328;;;;;:::o;2693:248::-;2761:6;2769;2822:2;2810:9;2801:7;2797:23;2793:32;2790:52;;;2838:1;2835;2828:12;2790:52;-1:-1:-1;;2861:23:1;;;2931:2;2916:18;;;2903:32;;-1:-1:-1;2693:248:1:o;3225:186::-;3284:6;3337:2;3325:9;3316:7;3312:23;3308:32;3305:52;;;3353:1;3350;3343:12;3305:52;3376:29;3395:9;3376:29;:::i;3656:127::-;3717:10;3712:3;3708:20;3705:1;3698:31;3748:4;3745:1;3738:15;3772:4;3769:1;3762:15;3788:275;3859:2;3853:9;3924:2;3905:13;;-1:-1:-1;;3901:27:1;3889:40;;3959:18;3944:34;;3980:22;;;3941:62;3938:88;;;4006:18;;:::i;:::-;4042:2;4035:22;3788:275;;-1:-1:-1;3788:275:1:o;4068:407::-;4133:5;4167:18;4159:6;4156:30;4153:56;;;4189:18;;:::i;:::-;4227:57;4272:2;4251:15;;-1:-1:-1;;4247:29:1;4278:4;4243:40;4227:57;:::i;:::-;4218:66;;4307:6;4300:5;4293:21;4347:3;4338:6;4333:3;4329:16;4326:25;4323:45;;;4364:1;4361;4354:12;4323:45;4413:6;4408:3;4401:4;4394:5;4390:16;4377:43;4467:1;4460:4;4451:6;4444:5;4440:18;4436:29;4429:40;4068:407;;;;;:::o;4480:451::-;4549:6;4602:2;4590:9;4581:7;4577:23;4573:32;4570:52;;;4618:1;4615;4608:12;4570:52;4658:9;4645:23;4691:18;4683:6;4680:30;4677:50;;;4723:1;4720;4713:12;4677:50;4746:22;;4799:4;4791:13;;4787:27;-1:-1:-1;4777:55:1;;4828:1;4825;4818:12;4777:55;4851:74;4917:7;4912:2;4899:16;4894:2;4890;4886:11;4851:74;:::i;4936:952::-;5020:6;5051:2;5094;5082:9;5073:7;5069:23;5065:32;5062:52;;;5110:1;5107;5100:12;5062:52;5150:9;5137:23;5179:18;5220:2;5212:6;5209:14;5206:34;;;5236:1;5233;5226:12;5206:34;5274:6;5263:9;5259:22;5249:32;;5319:7;5312:4;5308:2;5304:13;5300:27;5290:55;;5341:1;5338;5331:12;5290:55;5377:2;5364:16;5399:2;5395;5392:10;5389:36;;;5405:18;;:::i;:::-;5451:2;5448:1;5444:10;5434:20;;5474:28;5498:2;5494;5490:11;5474:28;:::i;:::-;5536:15;;;5606:11;;;5602:20;;;5567:12;;;;5634:19;;;5631:39;;;5666:1;5663;5656:12;5631:39;5690:11;;;;5710:148;5726:6;5721:3;5718:15;5710:148;;;5792:23;5811:3;5792:23;:::i;:::-;5780:36;;5743:12;;;;5836;;;;5710:148;;;5877:5;4936:952;-1:-1:-1;;;;;;;;4936:952:1:o;5893:118::-;5979:5;5972:13;5965:21;5958:5;5955:32;5945:60;;6001:1;5998;5991:12;6016:315;6081:6;6089;6142:2;6130:9;6121:7;6117:23;6113:32;6110:52;;;6158:1;6155;6148:12;6110:52;6181:29;6200:9;6181:29;:::i;:::-;6171:39;;6260:2;6249:9;6245:18;6232:32;6273:28;6295:5;6273:28;:::i;:::-;6320:5;6310:15;;;6016:315;;;;;:::o;6336:667::-;6431:6;6439;6447;6455;6508:3;6496:9;6487:7;6483:23;6479:33;6476:53;;;6525:1;6522;6515:12;6476:53;6548:29;6567:9;6548:29;:::i;:::-;6538:39;;6596:38;6630:2;6619:9;6615:18;6596:38;:::i;:::-;6586:48;;6681:2;6670:9;6666:18;6653:32;6643:42;;6736:2;6725:9;6721:18;6708:32;6763:18;6755:6;6752:30;6749:50;;;6795:1;6792;6785:12;6749:50;6818:22;;6871:4;6863:13;;6859:27;-1:-1:-1;6849:55:1;;6900:1;6897;6890:12;6849:55;6923:74;6989:7;6984:2;6971:16;6966:2;6962;6958:11;6923:74;:::i;:::-;6913:84;;;6336:667;;;;;;;:::o;7008:260::-;7076:6;7084;7137:2;7125:9;7116:7;7112:23;7108:32;7105:52;;;7153:1;7150;7143:12;7105:52;7176:29;7195:9;7176:29;:::i;:::-;7166:39;;7224:38;7258:2;7247:9;7243:18;7224:38;:::i;:::-;7214:48;;7008:260;;;;;:::o;7273:380::-;7352:1;7348:12;;;;7395;;;7416:61;;7470:4;7462:6;7458:17;7448:27;;7416:61;7523:2;7515:6;7512:14;7492:18;7489:38;7486:161;;7569:10;7564:3;7560:20;7557:1;7550:31;7604:4;7601:1;7594:15;7632:4;7629:1;7622:15;7486:161;;7273:380;;;:::o;7658:127::-;7719:10;7714:3;7710:20;7707:1;7700:31;7750:4;7747:1;7740:15;7774:4;7771:1;7764:15;7790:168;7863:9;;;7894;;7911:15;;;7905:22;;7891:37;7881:71;;7932:18;;:::i;8095:217::-;8135:1;8161;8151:132;;8205:10;8200:3;8196:20;8193:1;8186:31;8240:4;8237:1;8230:15;8268:4;8265:1;8258:15;8151:132;-1:-1:-1;8297:9:1;;8095:217::o;9003:545::-;9105:2;9100:3;9097:11;9094:448;;;9141:1;9166:5;9162:2;9155:17;9211:4;9207:2;9197:19;9281:2;9269:10;9265:19;9262:1;9258:27;9252:4;9248:38;9317:4;9305:10;9302:20;9299:47;;;-1:-1:-1;9340:4:1;9299:47;9395:2;9390:3;9386:12;9383:1;9379:20;9373:4;9369:31;9359:41;;9450:82;9468:2;9461:5;9458:13;9450:82;;;9513:17;;;9494:1;9483:13;9450:82;;;9454:3;;;9003:545;;;:::o;9724:1352::-;9850:3;9844:10;9877:18;9869:6;9866:30;9863:56;;;9899:18;;:::i;:::-;9928:97;10018:6;9978:38;10010:4;10004:11;9978:38;:::i;:::-;9972:4;9928:97;:::i;:::-;10080:4;;10144:2;10133:14;;10161:1;10156:663;;;;10863:1;10880:6;10877:89;;;-1:-1:-1;10932:19:1;;;10926:26;10877:89;-1:-1:-1;;9681:1:1;9677:11;;;9673:24;9669:29;9659:40;9705:1;9701:11;;;9656:57;10979:81;;10126:944;;10156:663;8950:1;8943:14;;;8987:4;8974:18;;-1:-1:-1;;10192:20:1;;;10310:236;10324:7;10321:1;10318:14;10310:236;;;10413:19;;;10407:26;10392:42;;10505:27;;;;10473:1;10461:14;;;;10340:19;;10310:236;;;10314:3;10574:6;10565:7;10562:19;10559:201;;;10635:19;;;10629:26;-1:-1:-1;;10718:1:1;10714:14;;;10730:3;10710:24;10706:37;10702:42;10687:58;10672:74;;10559:201;-1:-1:-1;;;;;10806:1:1;10790:14;;;10786:22;10773:36;;-1:-1:-1;9724:1352:1:o;11081:127::-;11142:10;11137:3;11133:20;11130:1;11123:31;11173:4;11170:1;11163:15;11197:4;11194:1;11187:15;11213:135;11252:3;11273:17;;;11270:43;;11293:18;;:::i;:::-;-1:-1:-1;11340:1:1;11329:13;;11213:135::o;11353:125::-;11418:9;;;11439:10;;;11436:36;;;11452:18;;:::i;11830:175::-;11867:3;11911:4;11904:5;11900:16;11940:4;11931:7;11928:17;11925:43;;11948:18;;:::i;:::-;11997:1;11984:15;;11830:175;-1:-1:-1;;11830:175:1:o;15268:663::-;15548:3;15586:6;15580:13;15602:66;15661:6;15656:3;15649:4;15641:6;15637:17;15602:66;:::i;:::-;15731:13;;15690:16;;;;15753:70;15731:13;15690:16;15800:4;15788:17;;15753:70;:::i;:::-;-1:-1:-1;;;15845:20:1;;15874:22;;;15923:1;15912:13;;15268:663;-1:-1:-1;;;;15268:663:1:o;16652:245::-;16719:6;16772:2;16760:9;16751:7;16747:23;16743:32;16740:52;;;16788:1;16785;16778:12;16740:52;16820:9;16814:16;16839:28;16861:5;16839:28;:::i;18095:409::-;18297:2;18279:21;;;18336:2;18316:18;;;18309:30;18375:34;18370:2;18355:18;;18348:62;-1:-1:-1;;;18441:2:1;18426:18;;18419:43;18494:3;18479:19;;18095:409::o;18869:401::-;19071:2;19053:21;;;19110:2;19090:18;;;19083:30;19149:34;19144:2;19129:18;;19122:62;-1:-1:-1;;;19215:2:1;19200:18;;19193:35;19260:3;19245:19;;18869:401::o;19680:414::-;19882:2;19864:21;;;19921:2;19901:18;;;19894:30;19960:34;19955:2;19940:18;;19933:62;-1:-1:-1;;;20026:2:1;20011:18;;20004:48;20084:3;20069:19;;19680:414::o;21171:489::-;-1:-1:-1;;;;;21440:15:1;;;21422:34;;21492:15;;21487:2;21472:18;;21465:43;21539:2;21524:18;;21517:34;;;21587:3;21582:2;21567:18;;21560:31;;;21365:4;;21608:46;;21634:19;;21626:6;21608:46;:::i;:::-;21600:54;21171:489;-1:-1:-1;;;;;;21171:489:1:o;21665:249::-;21734:6;21787:2;21775:9;21766:7;21762:23;21758:32;21755:52;;;21803:1;21800;21793:12;21755:52;21835:9;21829:16;21854:30;21878:5;21854:30;:::i

Swarm Source

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