ETH Price: $2,683.02 (+0.54%)

Token

Meltdown (MELTDOWN)
 

Overview

Max Total Supply

3,333 MELTDOWN

Holders

1,531

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Balance
0 MELTDOWN
0x89c06e5c59b7055b25d0de672722a36f67a66af3
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:
Meltdown

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

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

// File: operator-filter-registry/src/IOperatorFilterRegistry.sol


pragma solidity ^0.8.13;

interface IOperatorFilterRegistry {
    function isOperatorAllowed(address registrant, address operator) external view returns (bool);
    function register(address registrant) external;
    function registerAndSubscribe(address registrant, address subscription) external;
    function registerAndCopyEntries(address registrant, address registrantToCopy) external;
    function unregister(address addr) external;
    function updateOperator(address registrant, address operator, bool filtered) external;
    function updateOperators(address registrant, address[] calldata operators, bool filtered) external;
    function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external;
    function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external;
    function subscribe(address registrant, address registrantToSubscribe) external;
    function unsubscribe(address registrant, bool copyExistingEntries) external;
    function subscriptionOf(address addr) external returns (address registrant);
    function subscribers(address registrant) external returns (address[] memory);
    function subscriberAt(address registrant, uint256 index) external returns (address);
    function copyEntriesOf(address registrant, address registrantToCopy) external;
    function isOperatorFiltered(address registrant, address operator) external returns (bool);
    function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool);
    function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool);
    function filteredOperators(address addr) external returns (address[] memory);
    function filteredCodeHashes(address addr) external returns (bytes32[] memory);
    function filteredOperatorAt(address registrant, uint256 index) external returns (address);
    function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32);
    function isRegistered(address addr) external returns (bool);
    function codeHashOf(address addr) external returns (bytes32);
}

// File: operator-filter-registry/src/OperatorFilterer.sol


pragma solidity ^0.8.13;


/**
 * @title  OperatorFilterer
 * @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another
 *         registrant's entries in the OperatorFilterRegistry.
 * @dev    This smart contract is meant to be inherited by token contracts so they can use the following:
 *         - `onlyAllowedOperator` modifier for `transferFrom` and `safeTransferFrom` methods.
 *         - `onlyAllowedOperatorApproval` modifier for `approve` and `setApprovalForAll` methods.
 */
abstract contract OperatorFilterer {
    error OperatorNotAllowed(address operator);

    IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY =
        IOperatorFilterRegistry(0x000000000000AAeB6D7670E522A718067333cd4E);

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

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

    modifier onlyAllowedOperatorApproval(address operator) virtual {
        _checkFilterOperator(operator);
        _;
    }

    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) {
            if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), operator)) {
                revert OperatorNotAllowed(operator);
            }
        }
    }
}

// File: operator-filter-registry/src/DefaultOperatorFilterer.sol


pragma solidity ^0.8.13;


/**
 * @title  DefaultOperatorFilterer
 * @notice Inherits from OperatorFilterer and automatically subscribes to the default OpenSea subscription.
 */
abstract contract DefaultOperatorFilterer is OperatorFilterer {
    address constant DEFAULT_SUBSCRIPTION = address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6);

    constructor() OperatorFilterer(DEFAULT_SUBSCRIPTION, true) {}
}

// File: @openzeppelin/contracts/utils/math/Math.sol


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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

pragma solidity ^0.8.0;


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

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

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

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

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

// File: @openzeppelin/contracts/security/ReentrancyGuard.sol


// OpenZeppelin Contracts (last updated v4.8.0) (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

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

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

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


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

pragma solidity ^0.8.0;

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

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

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


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

pragma solidity ^0.8.0;


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

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

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

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

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

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

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

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

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

// File: erc721a/contracts/IERC721A.sol


// ERC721A Contracts v4.2.3
// Creator: Chiru Labs

pragma solidity ^0.8.4;

/**
 * @dev Interface of ERC721A.
 */
interface IERC721A {
    /**
     * The caller must own the token or be an approved operator.
     */
    error ApprovalCallerNotOwnerNorApproved();

    /**
     * The token does not exist.
     */
    error ApprovalQueryForNonexistentToken();

    /**
     * Cannot query the balance for the zero address.
     */
    error BalanceQueryForZeroAddress();

    /**
     * Cannot mint to the zero address.
     */
    error MintToZeroAddress();

    /**
     * The quantity of tokens minted must be more than zero.
     */
    error MintZeroQuantity();

    /**
     * The token does not exist.
     */
    error OwnerQueryForNonexistentToken();

    /**
     * The caller must own the token or be an approved operator.
     */
    error TransferCallerNotOwnerNorApproved();

    /**
     * The token must be owned by `from`.
     */
    error TransferFromIncorrectOwner();

    /**
     * Cannot safely transfer to a contract that does not implement the
     * ERC721Receiver interface.
     */
    error TransferToNonERC721ReceiverImplementer();

    /**
     * Cannot transfer to the zero address.
     */
    error TransferToZeroAddress();

    /**
     * The token does not exist.
     */
    error URIQueryForNonexistentToken();

    /**
     * The `quantity` minted with ERC2309 exceeds the safety limit.
     */
    error MintERC2309QuantityExceedsLimit();

    /**
     * The `extraData` cannot be set on an unintialized ownership slot.
     */
    error OwnershipNotInitializedForExtraData();

    // =============================================================
    //                            STRUCTS
    // =============================================================

    struct TokenOwnership {
        // The address of the owner.
        address addr;
        // Stores the start time of ownership with minimal overhead for tokenomics.
        uint64 startTimestamp;
        // Whether the token has been burned.
        bool burned;
        // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}.
        uint24 extraData;
    }

    // =============================================================
    //                         TOKEN COUNTERS
    // =============================================================

    /**
     * @dev Returns the total number of tokens in existence.
     * Burned tokens will reduce the count.
     * To get the total number of tokens minted, please see {_totalMinted}.
     */
    function totalSupply() external view returns (uint256);

    // =============================================================
    //                            IERC165
    // =============================================================

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

    // =============================================================
    //                            IERC721
    // =============================================================

    /**
     * @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`,
     * 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 be 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,
        bytes calldata data
    ) external payable;

    /**
     * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external payable;

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {safeTransferFrom}
     * whenever possible.
     *
     * 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 payable;

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

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

    // =============================================================
    //                        IERC721Metadata
    // =============================================================

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

    // =============================================================
    //                           IERC2309
    // =============================================================

    /**
     * @dev Emitted when tokens in `fromTokenId` to `toTokenId`
     * (inclusive) is transferred from `from` to `to`, as defined in the
     * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard.
     *
     * See {_mintERC2309} for more details.
     */
    event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to);
}

// File: erc721a/contracts/ERC721A.sol


// ERC721A Contracts v4.2.3
// Creator: Chiru Labs

pragma solidity ^0.8.4;


/**
 * @dev Interface of ERC721 token receiver.
 */
interface ERC721A__IERC721Receiver {
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

/**
 * @title ERC721A
 *
 * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721)
 * Non-Fungible Token Standard, including the Metadata extension.
 * Optimized for lower gas during batch mints.
 *
 * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...)
 * starting from `_startTokenId()`.
 *
 * Assumptions:
 *
 * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
 * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256).
 */
contract ERC721A is IERC721A {
    // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364).
    struct TokenApprovalRef {
        address value;
    }

    // =============================================================
    //                           CONSTANTS
    // =============================================================

    // Mask of an entry in packed address data.
    uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1;

    // The bit position of `numberMinted` in packed address data.
    uint256 private constant _BITPOS_NUMBER_MINTED = 64;

    // The bit position of `numberBurned` in packed address data.
    uint256 private constant _BITPOS_NUMBER_BURNED = 128;

    // The bit position of `aux` in packed address data.
    uint256 private constant _BITPOS_AUX = 192;

    // Mask of all 256 bits in packed address data except the 64 bits for `aux`.
    uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1;

    // The bit position of `startTimestamp` in packed ownership.
    uint256 private constant _BITPOS_START_TIMESTAMP = 160;

    // The bit mask of the `burned` bit in packed ownership.
    uint256 private constant _BITMASK_BURNED = 1 << 224;

    // The bit position of the `nextInitialized` bit in packed ownership.
    uint256 private constant _BITPOS_NEXT_INITIALIZED = 225;

    // The bit mask of the `nextInitialized` bit in packed ownership.
    uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225;

    // The bit position of `extraData` in packed ownership.
    uint256 private constant _BITPOS_EXTRA_DATA = 232;

    // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`.
    uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1;

    // The mask of the lower 160 bits for addresses.
    uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1;

    // The maximum `quantity` that can be minted with {_mintERC2309}.
    // This limit is to prevent overflows on the address data entries.
    // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309}
    // is required to cause an overflow, which is unrealistic.
    uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000;

    // The `Transfer` event signature is given by:
    // `keccak256(bytes("Transfer(address,address,uint256)"))`.
    bytes32 private constant _TRANSFER_EVENT_SIGNATURE =
        0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef;

    // =============================================================
    //                            STORAGE
    // =============================================================

    // The next token ID to be minted.
    uint256 private _currentIndex;

    // The number of tokens burned.
    uint256 private _burnCounter;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to ownership details
    // An empty struct value does not necessarily mean the token is unowned.
    // See {_packedOwnershipOf} implementation for details.
    //
    // Bits Layout:
    // - [0..159]   `addr`
    // - [160..223] `startTimestamp`
    // - [224]      `burned`
    // - [225]      `nextInitialized`
    // - [232..255] `extraData`
    mapping(uint256 => uint256) private _packedOwnerships;

    // Mapping owner address to address data.
    //
    // Bits Layout:
    // - [0..63]    `balance`
    // - [64..127]  `numberMinted`
    // - [128..191] `numberBurned`
    // - [192..255] `aux`
    mapping(address => uint256) private _packedAddressData;

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

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

    // =============================================================
    //                          CONSTRUCTOR
    // =============================================================

    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
        _currentIndex = _startTokenId();
    }

    // =============================================================
    //                   TOKEN COUNTING OPERATIONS
    // =============================================================

    /**
     * @dev Returns the starting token ID.
     * To change the starting token ID, please override this function.
     */
    function _startTokenId() internal view virtual returns (uint256) {
        return 0;
    }

    /**
     * @dev Returns the next token ID to be minted.
     */
    function _nextTokenId() internal view virtual returns (uint256) {
        return _currentIndex;
    }

    /**
     * @dev Returns the total number of tokens in existence.
     * Burned tokens will reduce the count.
     * To get the total number of tokens minted, please see {_totalMinted}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than `_currentIndex - _startTokenId()` times.
        unchecked {
            return _currentIndex - _burnCounter - _startTokenId();
        }
    }

    /**
     * @dev Returns the total amount of tokens minted in the contract.
     */
    function _totalMinted() internal view virtual returns (uint256) {
        // Counter underflow is impossible as `_currentIndex` does not decrement,
        // and it is initialized to `_startTokenId()`.
        unchecked {
            return _currentIndex - _startTokenId();
        }
    }

    /**
     * @dev Returns the total number of tokens burned.
     */
    function _totalBurned() internal view virtual returns (uint256) {
        return _burnCounter;
    }

    // =============================================================
    //                    ADDRESS DATA OPERATIONS
    // =============================================================

    /**
     * @dev Returns the number of tokens in `owner`'s account.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        if (owner == address(0)) revert BalanceQueryForZeroAddress();
        return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the number of tokens minted by `owner`.
     */
    function _numberMinted(address owner) internal view returns (uint256) {
        return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the number of tokens burned by or on behalf of `owner`.
     */
    function _numberBurned(address owner) internal view returns (uint256) {
        return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used).
     */
    function _getAux(address owner) internal view returns (uint64) {
        return uint64(_packedAddressData[owner] >> _BITPOS_AUX);
    }

    /**
     * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used).
     * If there are multiple variables, please pack them into a uint64.
     */
    function _setAux(address owner, uint64 aux) internal virtual {
        uint256 packed = _packedAddressData[owner];
        uint256 auxCasted;
        // Cast `aux` with assembly to avoid redundant masking.
        assembly {
            auxCasted := aux
        }
        packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX);
        _packedAddressData[owner] = packed;
    }

    // =============================================================
    //                            IERC165
    // =============================================================

    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified)
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30000 gas.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        // The interface IDs are constants representing the first 4 bytes
        // of the XOR of all function selectors in the interface.
        // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165)
        // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`)
        return
            interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165.
            interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721.
            interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata.
    }

    // =============================================================
    //                        IERC721Metadata
    // =============================================================

    /**
     * @dev Returns the token collection name.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

        string memory baseURI = _baseURI();
        return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : '';
    }

    /**
     * @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, it can be overridden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return '';
    }

    // =============================================================
    //                     OWNERSHIPS OPERATIONS
    // =============================================================

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        return address(uint160(_packedOwnershipOf(tokenId)));
    }

    /**
     * @dev Gas spent here starts off proportional to the maximum mint batch size.
     * It gradually moves to O(1) as tokens get transferred around over time.
     */
    function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) {
        return _unpackedOwnership(_packedOwnershipOf(tokenId));
    }

    /**
     * @dev Returns the unpacked `TokenOwnership` struct at `index`.
     */
    function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) {
        return _unpackedOwnership(_packedOwnerships[index]);
    }

    /**
     * @dev Initializes the ownership slot minted at `index` for efficiency purposes.
     */
    function _initializeOwnershipAt(uint256 index) internal virtual {
        if (_packedOwnerships[index] == 0) {
            _packedOwnerships[index] = _packedOwnershipOf(index);
        }
    }

    /**
     * Returns the packed ownership data of `tokenId`.
     */
    function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) {
        uint256 curr = tokenId;

        unchecked {
            if (_startTokenId() <= curr)
                if (curr < _currentIndex) {
                    uint256 packed = _packedOwnerships[curr];
                    // If not burned.
                    if (packed & _BITMASK_BURNED == 0) {
                        // Invariant:
                        // There will always be an initialized ownership slot
                        // (i.e. `ownership.addr != address(0) && ownership.burned == false`)
                        // before an unintialized ownership slot
                        // (i.e. `ownership.addr == address(0) && ownership.burned == false`)
                        // Hence, `curr` will not underflow.
                        //
                        // We can directly compare the packed value.
                        // If the address is zero, packed will be zero.
                        while (packed == 0) {
                            packed = _packedOwnerships[--curr];
                        }
                        return packed;
                    }
                }
        }
        revert OwnerQueryForNonexistentToken();
    }

    /**
     * @dev Returns the unpacked `TokenOwnership` struct from `packed`.
     */
    function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) {
        ownership.addr = address(uint160(packed));
        ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP);
        ownership.burned = packed & _BITMASK_BURNED != 0;
        ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA);
    }

    /**
     * @dev Packs ownership data into a single uint256.
     */
    function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) {
        assembly {
            // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean.
            owner := and(owner, _BITMASK_ADDRESS)
            // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`.
            result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags))
        }
    }

    /**
     * @dev Returns the `nextInitialized` flag set if `quantity` equals 1.
     */
    function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) {
        // For branchless setting of the `nextInitialized` flag.
        assembly {
            // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`.
            result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1))
        }
    }

    // =============================================================
    //                      APPROVAL OPERATIONS
    // =============================================================

    /**
     * @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) public payable virtual override {
        address owner = ownerOf(tokenId);

        if (_msgSenderERC721A() != owner)
            if (!isApprovedForAll(owner, _msgSenderERC721A())) {
                revert ApprovalCallerNotOwnerNorApproved();
            }

        _tokenApprovals[tokenId].value = to;
        emit Approval(owner, to, tokenId);
    }

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();

        return _tokenApprovals[tokenId].value;
    }

    /**
     * @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) public virtual override {
        _operatorApprovals[_msgSenderERC721A()][operator] = approved;
        emit ApprovalForAll(_msgSenderERC721A(), operator, approved);
    }

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

    /**
     * @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. See {_mint}.
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return
            _startTokenId() <= tokenId &&
            tokenId < _currentIndex && // If within bounds,
            _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned.
    }

    /**
     * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`.
     */
    function _isSenderApprovedOrOwner(
        address approvedAddress,
        address owner,
        address msgSender
    ) private pure returns (bool result) {
        assembly {
            // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean.
            owner := and(owner, _BITMASK_ADDRESS)
            // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean.
            msgSender := and(msgSender, _BITMASK_ADDRESS)
            // `msgSender == owner || msgSender == approvedAddress`.
            result := or(eq(msgSender, owner), eq(msgSender, approvedAddress))
        }
    }

    /**
     * @dev Returns the storage slot and value for the approved address of `tokenId`.
     */
    function _getApprovedSlotAndAddress(uint256 tokenId)
        private
        view
        returns (uint256 approvedAddressSlot, address approvedAddress)
    {
        TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId];
        // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`.
        assembly {
            approvedAddressSlot := tokenApproval.slot
            approvedAddress := sload(approvedAddressSlot)
        }
    }

    // =============================================================
    //                      TRANSFER OPERATIONS
    // =============================================================

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * 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
    ) public payable virtual override {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

        if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner();

        (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId);

        // The nested ifs save around 20+ gas over a compound boolean condition.
        if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A()))
            if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved();

        if (to == address(0)) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

        // Clear approvals from the previous owner.
        assembly {
            if approvedAddress {
                // This is equivalent to `delete _tokenApprovals[tokenId]`.
                sstore(approvedAddressSlot, 0)
            }
        }

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256.
        unchecked {
            // We can directly increment and decrement the balances.
            --_packedAddressData[from]; // Updates: `balance -= 1`.
            ++_packedAddressData[to]; // Updates: `balance += 1`.

            // Updates:
            // - `address` to the next owner.
            // - `startTimestamp` to the timestamp of transfering.
            // - `burned` to `false`.
            // - `nextInitialized` to `true`.
            _packedOwnerships[tokenId] = _packOwnershipData(
                to,
                _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked)
            );

            // If the next slot may not have been initialized (i.e. `nextInitialized == false`) .
            if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) {
                uint256 nextTokenId = tokenId + 1;
                // If the next slot's address is zero and not burned (i.e. packed value is zero).
                if (_packedOwnerships[nextTokenId] == 0) {
                    // If the next slot is within bounds.
                    if (nextTokenId != _currentIndex) {
                        // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`.
                        _packedOwnerships[nextTokenId] = prevOwnershipPacked;
                    }
                }
            }
        }

        emit Transfer(from, to, tokenId);
        _afterTokenTransfers(from, to, tokenId, 1);
    }

    /**
     * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public payable virtual override {
        safeTransferFrom(from, to, tokenId, '');
    }

    /**
     * @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 memory _data
    ) public payable virtual override {
        transferFrom(from, to, tokenId);
        if (to.code.length != 0)
            if (!_checkContractOnERC721Received(from, to, tokenId, _data)) {
                revert TransferToNonERC721ReceiverImplementer();
            }
    }

    /**
     * @dev Hook that is called before a set of serially-ordered token IDs
     * are about to be transferred. This includes minting.
     * And also called before burning one token.
     *
     * `startTokenId` - the first token ID to be transferred.
     * `quantity` - the amount to be transferred.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, `tokenId` will be burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _beforeTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}

    /**
     * @dev Hook that is called after a set of serially-ordered token IDs
     * have been transferred. This includes minting.
     * And also called after one token has been burned.
     *
     * `startTokenId` - the first token ID to be transferred.
     * `quantity` - the amount to be transferred.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been
     * transferred to `to`.
     * - When `from` is zero, `tokenId` has been minted for `to`.
     * - When `to` is zero, `tokenId` has been burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _afterTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}

    /**
     * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract.
     *
     * `from` - Previous owner of the given token ID.
     * `to` - Target address that will receive the token.
     * `tokenId` - Token ID to be transferred.
     * `_data` - Optional data to send along with the call.
     *
     * Returns whether the call correctly returned the expected magic value.
     */
    function _checkContractOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns (
            bytes4 retval
        ) {
            return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector;
        } catch (bytes memory reason) {
            if (reason.length == 0) {
                revert TransferToNonERC721ReceiverImplementer();
            } else {
                assembly {
                    revert(add(32, reason), mload(reason))
                }
            }
        }
    }

    // =============================================================
    //                        MINT OPERATIONS
    // =============================================================

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event for each mint.
     */
    function _mint(address to, uint256 quantity) internal virtual {
        uint256 startTokenId = _currentIndex;
        if (quantity == 0) revert MintZeroQuantity();

        _beforeTokenTransfers(address(0), to, startTokenId, quantity);

        // Overflows are incredibly unrealistic.
        // `balance` and `numberMinted` have a maximum limit of 2**64.
        // `tokenId` has a maximum limit of 2**256.
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the `balance` and `numberMinted`.
            _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1);

            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `quantity == 1`.
            _packedOwnerships[startTokenId] = _packOwnershipData(
                to,
                _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0)
            );

            uint256 toMasked;
            uint256 end = startTokenId + quantity;

            // Use assembly to loop and emit the `Transfer` event for gas savings.
            // The duplicated `log4` removes an extra check and reduces stack juggling.
            // The assembly, together with the surrounding Solidity code, have been
            // delicately arranged to nudge the compiler into producing optimized opcodes.
            assembly {
                // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean.
                toMasked := and(to, _BITMASK_ADDRESS)
                // Emit the `Transfer` event.
                log4(
                    0, // Start of data (0, since no data).
                    0, // End of data (0, since no data).
                    _TRANSFER_EVENT_SIGNATURE, // Signature.
                    0, // `address(0)`.
                    toMasked, // `to`.
                    startTokenId // `tokenId`.
                )

                // The `iszero(eq(,))` check ensures that large values of `quantity`
                // that overflows uint256 will make the loop run out of gas.
                // The compiler will optimize the `iszero` away for performance.
                for {
                    let tokenId := add(startTokenId, 1)
                } iszero(eq(tokenId, end)) {
                    tokenId := add(tokenId, 1)
                } {
                    // Emit the `Transfer` event. Similar to above.
                    log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId)
                }
            }
            if (toMasked == 0) revert MintToZeroAddress();

            _currentIndex = end;
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * This function is intended for efficient minting only during contract creation.
     *
     * It emits only one {ConsecutiveTransfer} as defined in
     * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309),
     * instead of a sequence of {Transfer} event(s).
     *
     * Calling this function outside of contract creation WILL make your contract
     * non-compliant with the ERC721 standard.
     * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309
     * {ConsecutiveTransfer} event is only permissible during contract creation.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {ConsecutiveTransfer} event.
     */
    function _mintERC2309(address to, uint256 quantity) internal virtual {
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();
        if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit();

        _beforeTokenTransfers(address(0), to, startTokenId, quantity);

        // Overflows are unrealistic due to the above check for `quantity` to be below the limit.
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the `balance` and `numberMinted`.
            _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1);

            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `quantity == 1`.
            _packedOwnerships[startTokenId] = _packOwnershipData(
                to,
                _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0)
            );

            emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to);

            _currentIndex = startTokenId + quantity;
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @dev Safely mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement
     * {IERC721Receiver-onERC721Received}, which is called for each safe transfer.
     * - `quantity` must be greater than 0.
     *
     * See {_mint}.
     *
     * Emits a {Transfer} event for each mint.
     */
    function _safeMint(
        address to,
        uint256 quantity,
        bytes memory _data
    ) internal virtual {
        _mint(to, quantity);

        unchecked {
            if (to.code.length != 0) {
                uint256 end = _currentIndex;
                uint256 index = end - quantity;
                do {
                    if (!_checkContractOnERC721Received(address(0), to, index++, _data)) {
                        revert TransferToNonERC721ReceiverImplementer();
                    }
                } while (index < end);
                // Reentrancy protection.
                if (_currentIndex != end) revert();
            }
        }
    }

    /**
     * @dev Equivalent to `_safeMint(to, quantity, '')`.
     */
    function _safeMint(address to, uint256 quantity) internal virtual {
        _safeMint(to, quantity, '');
    }

    // =============================================================
    //                        BURN OPERATIONS
    // =============================================================

    /**
     * @dev Equivalent to `_burn(tokenId, false)`.
     */
    function _burn(uint256 tokenId) internal virtual {
        _burn(tokenId, false);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId, bool approvalCheck) internal virtual {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

        address from = address(uint160(prevOwnershipPacked));

        (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId);

        if (approvalCheck) {
            // The nested ifs save around 20+ gas over a compound boolean condition.
            if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A()))
                if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved();
        }

        _beforeTokenTransfers(from, address(0), tokenId, 1);

        // Clear approvals from the previous owner.
        assembly {
            if approvedAddress {
                // This is equivalent to `delete _tokenApprovals[tokenId]`.
                sstore(approvedAddressSlot, 0)
            }
        }

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256.
        unchecked {
            // Updates:
            // - `balance -= 1`.
            // - `numberBurned += 1`.
            //
            // We can directly decrement the balance, and increment the number burned.
            // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`.
            _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1;

            // Updates:
            // - `address` to the last owner.
            // - `startTimestamp` to the timestamp of burning.
            // - `burned` to `true`.
            // - `nextInitialized` to `true`.
            _packedOwnerships[tokenId] = _packOwnershipData(
                from,
                (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked)
            );

            // If the next slot may not have been initialized (i.e. `nextInitialized == false`) .
            if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) {
                uint256 nextTokenId = tokenId + 1;
                // If the next slot's address is zero and not burned (i.e. packed value is zero).
                if (_packedOwnerships[nextTokenId] == 0) {
                    // If the next slot is within bounds.
                    if (nextTokenId != _currentIndex) {
                        // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`.
                        _packedOwnerships[nextTokenId] = prevOwnershipPacked;
                    }
                }
            }
        }

        emit Transfer(from, address(0), tokenId);
        _afterTokenTransfers(from, address(0), tokenId, 1);

        // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times.
        unchecked {
            _burnCounter++;
        }
    }

    // =============================================================
    //                     EXTRA DATA OPERATIONS
    // =============================================================

    /**
     * @dev Directly sets the extra data for the ownership data `index`.
     */
    function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual {
        uint256 packed = _packedOwnerships[index];
        if (packed == 0) revert OwnershipNotInitializedForExtraData();
        uint256 extraDataCasted;
        // Cast `extraData` with assembly to avoid redundant masking.
        assembly {
            extraDataCasted := extraData
        }
        packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA);
        _packedOwnerships[index] = packed;
    }

    /**
     * @dev Called during each token transfer to set the 24bit `extraData` field.
     * Intended to be overridden by the cosumer contract.
     *
     * `previousExtraData` - the value of `extraData` before transfer.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, `tokenId` will be burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _extraData(
        address from,
        address to,
        uint24 previousExtraData
    ) internal view virtual returns (uint24) {}

    /**
     * @dev Returns the next extra data for the packed ownership data.
     * The returned result is shifted into position.
     */
    function _nextExtraData(
        address from,
        address to,
        uint256 prevOwnershipPacked
    ) private view returns (uint256) {
        uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA);
        return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA;
    }

    // =============================================================
    //                       OTHER OPERATIONS
    // =============================================================

    /**
     * @dev Returns the message sender (defaults to `msg.sender`).
     *
     * If you are writing GSN compatible contracts, you need to override this function.
     */
    function _msgSenderERC721A() internal view virtual returns (address) {
        return msg.sender;
    }

    /**
     * @dev Converts a uint256 to its ASCII string decimal representation.
     */
    function _toString(uint256 value) internal pure virtual returns (string memory str) {
        assembly {
            // The maximum value of a uint256 contains 78 digits (1 byte per digit), but
            // we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned.
            // We will need 1 word for the trailing zeros padding, 1 word for the length,
            // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0.
            let m := add(mload(0x40), 0xa0)
            // Update the free memory pointer to allocate.
            mstore(0x40, m)
            // Assign the `str` to the end.
            str := sub(m, 0x20)
            // Zeroize the slot after the string.
            mstore(str, 0)

            // Cache the end of the memory to calculate the length later.
            let end := str

            // We write the string from rightmost digit to leftmost digit.
            // The following is essentially a do-while loop that also handles the zero case.
            // prettier-ignore
            for { let temp := value } 1 {} {
                str := sub(str, 1)
                // Write the character to the pointer.
                // The ASCII index of the '0' character is 48.
                mstore8(str, add(48, mod(temp, 10)))
                // Keep dividing `temp` until zero.
                temp := div(temp, 10)
                // prettier-ignore
                if iszero(temp) { break }
            }

            let length := sub(end, str)
            // Move the pointer 32 bytes leftwards to make room for the length.
            str := sub(str, 0x20)
            // Store the length.
            mstore(str, length)
        }
    }
}

// File: contracts/Meltdown.sol


pragma solidity ^0.8.4;






contract Meltdown is
    Ownable,
    ERC721A,
    ReentrancyGuard,
    DefaultOperatorFilterer
{
    constructor() ERC721A("Meltdown", "MELTDOWN") {}

    uint8 public PHASE = 0;
    uint256 public MINT_PRICE = 0.1 ether;
    uint16 public constant COLLECTION_SIZE = 3333;
    uint16 public PUBLIC_MINT_MAX_COUNT = 333;
    uint16 public WL_MINT_MAX_COUNT = 2833;
    uint8 public MAX_MINT_PER_ADDRESS_DURING_PUBLIC = 2;
    address private COUPON_SIGNER = 0xa007d6ec6E7DA6A7a2Ef5b12c13be9a6604f0e53;
    string private defaultTokenURI =
        "ipfs://QmZv2GHXtYBNnZqUCTk8cbuzF6kPxrz4iM1549yHZmXbAZ";

    // Whitelist mints
    mapping(address => bool) public ADDRESS_MINTED;

    // Coupon signatures
    struct Coupon {
        bytes32 r;
        bytes32 s;
        uint8 v;
    }

    enum CouponType {
        WL,
        OG
    }

    // check that the coupon sent was signed by the admin signer
    function _isVerifiedCoupon(bytes32 digest, Coupon memory coupon)
        internal
        view
        returns (bool)
    {
        address signer = ecrecover(digest, coupon.v, coupon.r, coupon.s);
        require(signer != address(0), "ECDSA: Invalid whitelist signature.");
        return signer == COUPON_SIGNER;
    }

    // Dev mint
    function devMint() external onlyOwner {
        uint256 quantity = 50;
        require(
            totalSupply() + quantity <= COLLECTION_SIZE,
            "Not enough remaining NFTs to support desired mint amount."
        );

        _mint(msg.sender, quantity);
    }

    // Public mint
    function publicMint(uint256 quantity) external payable {
        require(
            PHASE == 1,
            "Public mint is closed. Please check back later and follow us on twitter: @MeltdownNFT"
        );

        require(
            totalSupply() + quantity <= PUBLIC_MINT_MAX_COUNT,
            "Not enough remaining NFTs to support desired mint amount."
        );

        require(
            numberMinted(msg.sender) + quantity <=
                MAX_MINT_PER_ADDRESS_DURING_PUBLIC,
            "Can not mint this many. If you're on an OG or WL, please wait until it opens."
        );

        uint256 totalCost = MINT_PRICE * quantity;
        refundIfOver(totalCost);
        _mint(msg.sender, quantity);
    }

    // OG and WL Mint
    function mint(Coupon memory coupon) external payable {
        require(
            PHASE > 1,
            "OG and WL mint hasn't started yet. Please check back later and follow us on Discord or Twitter: @MeltdownNFT"
        );
        require(
            totalSupply() + 1 <= COLLECTION_SIZE,
            "Not enough remaining NFTs to support desired mint amount."
        );
        require(
            ADDRESS_MINTED[msg.sender] != true,
            "Already minted one from this address."
        );

        if (PHASE == 2) {
            // WL mint
            require(
                totalSupply() + 1 <= WL_MINT_MAX_COUNT,
                "WL is sold out, OG starts soon..."
            );
            bytes32 digestWL = keccak256(abi.encode(CouponType.WL, msg.sender));
            require(
                _isVerifiedCoupon(digestWL, coupon),
                "Invalid WL signature. Maybe you are an OG member? Please wait until OG opens."
            );
        } else if (PHASE == 3) {
            // OG mint
            bytes32 digestOG = keccak256(abi.encode(CouponType.OG, msg.sender));
            require(
                _isVerifiedCoupon(digestOG, coupon),
                "Invalid OG whitelist signature. Sorry."
            );
        } else {
            revert("Public, OG, and WL mint is already closed.");
        }

        ADDRESS_MINTED[msg.sender] = true;
        refundIfOver(MINT_PRICE);
        _mint(msg.sender, 1);
    }

    // Helpers & tools
    function numberMinted(address owner) public view returns (uint256) {
        return _numberMinted(owner);
    }

    function refundIfOver(uint256 price) private {
        require(msg.value >= price, "Need to send more ETH.");
        if (msg.value > price) {
            payable(msg.sender).transfer(msg.value - price);
        }
    }

    function withdrawMoney() external onlyOwner nonReentrant {
        (bool success, ) = msg.sender.call{value: address(this).balance}("");
        require(success, "Transfer failed.");
    }

    function getOwnershipData(uint256 tokenId)
        external
        view
        returns (TokenOwnership memory)
    {
        return _ownershipOf(tokenId);
    }

    // metadata URI
    string private _baseTokenURI;

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

    function setBaseURI(string calldata baseURI) external onlyOwner {
        _baseTokenURI = baseURI;
    }

    function tokenURI(uint256 tokenId)
        public
        view
        virtual
        override
        returns (string memory)
    {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

        string memory baseURI = _baseURI();
        return
            bytes(baseURI).length != 0
                ? string(abi.encodePacked(baseURI, _toString(tokenId), ".json"))
                : defaultTokenURI;
    }

    // setters
    function setPhase(uint8 phase) external onlyOwner {
        PHASE = phase;
    }

    function setMintPrice(uint256 price) external onlyOwner {
        MINT_PRICE = price;
    }

    function setPublicMintMaxCount(uint16 count) external onlyOwner {
        PUBLIC_MINT_MAX_COUNT = count;
    }

    function setMaxMintPerAddressDuringPublic(uint8 count) external onlyOwner {
        MAX_MINT_PER_ADDRESS_DURING_PUBLIC = count;
    }

    function setCouponSigner(address addr) external onlyOwner {
        COUPON_SIGNER = addr;
    }

    // override the ERC721 transfer and approval methods (modifiers are overridable as needed)
    // Source: https://github.com/ProjectOpenSea/operator-filter-registry
    function setApprovalForAll(address operator, bool approved)
        public
        override
        onlyAllowedOperatorApproval(operator)
    {
        super.setApprovalForAll(operator, approved);
    }

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

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","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":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"ADDRESS_MINTED","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"COLLECTION_SIZE","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_MINT_PER_ADDRESS_DURING_PUBLIC","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINT_PRICE","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":"PHASE","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PUBLIC_MINT_MAX_COUNT","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WL_MINT_MAX_COUNT","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"devMint","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":"uint256","name":"tokenId","type":"uint256"}],"name":"getOwnershipData","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership","name":"","type":"tuple"}],"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":[{"components":[{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"},{"internalType":"uint8","name":"v","type":"uint8"}],"internalType":"struct Meltdown.Coupon","name":"coupon","type":"tuple"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"numberMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","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":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"setCouponSigner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"count","type":"uint8"}],"name":"setMaxMintPerAddressDuringPublic","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"name":"setMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"phase","type":"uint8"}],"name":"setPhase","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"count","type":"uint16"}],"name":"setPublicMintMaxCount","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":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawMoney","outputs":[],"stateMutability":"nonpayable","type":"function"}]

600a805460ff1916905567016345785d8a0000600b55600c80546001600160c81b03191678a007d6ec6e7da6a7a2ef5b12c13be9a6604f0e53020b11014d17905560e060405260356080818152906200272a60a039600d9062000063908262000355565b503480156200007157600080fd5b50733cc6cdda760b79bafa08df41ecfa224f810dceb660016040518060400160405280600881526020016726b2b63a3237bbb760c11b8152506040518060400160405280600881526020016726a2a62a2227aba760c11b815250620000e5620000df6200025c60201b60201c565b62000260565b6003620000f3838262000355565b50600462000102828262000355565b506000600190815560095550506daaeb6d7670e522a718067333cd4e3b1562000254578015620001a257604051633e9f1edf60e11b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e90637d3e3dbe906044015b600060405180830381600087803b1580156200018357600080fd5b505af115801562000198573d6000803e3d6000fd5b5050505062000254565b6001600160a01b03821615620001f35760405163a0af290360e01b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e9063a0af29039060440162000168565b604051632210724360e11b81523060048201526daaeb6d7670e522a718067333cd4e90634420e48690602401600060405180830381600087803b1580156200023a57600080fd5b505af11580156200024f573d6000803e3d6000fd5b505050505b505062000421565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620002db57607f821691505b602082108103620002fc57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200035057600081815260208120601f850160051c810160208610156200032b5750805b601f850160051c820191505b818110156200034c5782815560010162000337565b5050505b505050565b81516001600160401b03811115620003715762000371620002b0565b6200038981620003828454620002c6565b8462000302565b602080601f831160018114620003c15760008415620003a85750858301515b600019600386901b1c1916600185901b1785556200034c565b600085815260208120601f198616915b82811015620003f257888601518255948401946001909101908401620003d1565b5085821015620004115787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6122f980620004316000396000f3fe60806040526004361061021a5760003560e01c80638da5cb5b11610123578063c002d23d116100ab578063d8258d951161006f578063d8258d9514610649578063dc33e6811461065f578063e985e9c51461067f578063f2fde38b1461069f578063f4a0a528146106bf57600080fd5b8063c002d23d146105b6578063c03afb59146105cc578063c87b56dd146105ec578063cf2675041461060c578063d0eb1e3f1461062e57600080fd5b80639e9a7dd3116100f25780639e9a7dd314610522578063a22cb46514610542578063ac44600214610562578063b88d4fde14610577578063b8eb8e611461058a57600080fd5b80638da5cb5b146104625780639231ab2a1461048057806395d89b41146104ed5780639b1a51731461050257600080fd5b80632e46dc67116101a65780636352211e116101755780636352211e146103d857806370a08231146103f8578063715018a6146104185780637c69e2071461042d5780638cdce7931461044257600080fd5b80632e46dc671461037057806341f434341461038357806342842e0e146103a557806355f804b3146103b857600080fd5b80630cc9529e116101ed5780630cc9529e146102c357806318160ddd146102f35780631d9240d51461031657806323b872dd1461034a5780632db115441461035d57600080fd5b806301ffc9a71461021f57806306fdde0314610254578063081812fc14610276578063095ea7b3146102ae575b600080fd5b34801561022b57600080fd5b5061023f61023a366004611c0c565b6106df565b60405190151581526020015b60405180910390f35b34801561026057600080fd5b50610269610731565b60405161024b9190611c79565b34801561028257600080fd5b50610296610291366004611c8c565b6107c3565b6040516001600160a01b03909116815260200161024b565b6102c16102bc366004611cc1565b610807565b005b3480156102cf57600080fd5b5061023f6102de366004611ceb565b600e6020526000908152604090205460ff1681565b3480156102ff57600080fd5b50600254600154035b60405190815260200161024b565b34801561032257600080fd5b50600c546103379062010000900461ffff1681565b60405161ffff909116815260200161024b565b6102c1610358366004611d06565b610820565b6102c161036b366004611c8c565b61084b565b6102c161037e366004611d9a565b6109fb565b34801561038f57600080fd5b506102966daaeb6d7670e522a718067333cd4e81565b6102c16103b3366004611d06565b610ddc565b3480156103c457600080fd5b506102c16103d3366004611dfa565b610e01565b3480156103e457600080fd5b506102966103f3366004611c8c565b610e16565b34801561040457600080fd5b50610308610413366004611ceb565b610e21565b34801561042457600080fd5b506102c1610e70565b34801561043957600080fd5b506102c1610e84565b34801561044e57600080fd5b506102c161045d366004611e6c565b610ed1565b34801561046e57600080fd5b506000546001600160a01b0316610296565b34801561048c57600080fd5b506104a061049b366004611c8c565b610efb565b60405161024b919081516001600160a01b0316815260208083015167ffffffffffffffff169082015260408083015115159082015260609182015162ffffff169181019190915260800190565b3480156104f957600080fd5b50610269610f28565b34801561050e57600080fd5b506102c161051d366004611ceb565b610f37565b34801561052e57600080fd5b506102c161053d366004611e87565b610f6f565b34801561054e57600080fd5b506102c161055d366004611eb9565b610f8f565b34801561056e57600080fd5b506102c1610fa3565b6102c1610585366004611ef0565b611049565b34801561059657600080fd5b50600a546105a49060ff1681565b60405160ff909116815260200161024b565b3480156105c257600080fd5b50610308600b5481565b3480156105d857600080fd5b506102c16105e7366004611e6c565b611076565b3480156105f857600080fd5b50610269610607366004611c8c565b611094565b34801561061857600080fd5b50600c546105a490640100000000900460ff1681565b34801561063a57600080fd5b50600c546103379061ffff1681565b34801561065557600080fd5b50610337610d0581565b34801561066b57600080fd5b5061030861067a366004611ceb565b611193565b34801561068b57600080fd5b5061023f61069a366004611fb0565b6111be565b3480156106ab57600080fd5b506102c16106ba366004611ceb565b6111ec565b3480156106cb57600080fd5b506102c16106da366004611c8c565b611262565b60006301ffc9a760e01b6001600160e01b03198316148061071057506380ac58cd60e01b6001600160e01b03198316145b8061072b5750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606003805461074090611fe3565b80601f016020809104026020016040519081016040528092919081815260200182805461076c90611fe3565b80156107b95780601f1061078e576101008083540402835291602001916107b9565b820191906000526020600020905b81548152906001019060200180831161079c57829003601f168201915b5050505050905090565b60006107ce8261126f565b6107eb576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b8161081181611297565b61081b8383611350565b505050565b826001600160a01b038116331461083a5761083a33611297565b6108458484846113f0565b50505050565b600a5460ff166001146108e95760405162461bcd60e51b815260206004820152605560248201527f5075626c6963206d696e7420697320636c6f7365642e20506c6561736520636860448201527f65636b206261636b206c6174657220616e6420666f6c6c6f77207573206f6e206064820152741d1dda5d1d195c8e881013595b1d191bdddb939195605a1b608482015260a4015b60405180910390fd5b600c5461ffff16816108fe6002546001540390565b6109089190612033565b11156109265760405162461bcd60e51b81526004016108e090612046565b600c54640100000000900460ff168161093e33611193565b6109489190612033565b11156109d25760405162461bcd60e51b815260206004820152604d60248201527f43616e206e6f74206d696e742074686973206d616e792e20496620796f75277260448201527f65206f6e20616e204f47206f7220574c2c20706c65617365207761697420756e60648201526c3a34b61034ba1037b832b7399760991b608482015260a4016108e0565b600081600b546109e291906120a3565b90506109ed81611589565b6109f73383611610565b5050565b600a54600160ff90911611610ab35760405162461bcd60e51b815260206004820152606c60248201527f4f4720616e6420574c206d696e74206861736e2774207374617274656420796560448201527f742e20506c6561736520636865636b206261636b206c6174657220616e64206660648201527f6f6c6c6f77207573206f6e20446973636f7264206f7220547769747465723a2060848201526b1013595b1d191bdddb93919560a21b60a482015260c4016108e0565b610d05610ac36002546001540390565b610ace906001612033565b1115610aec5760405162461bcd60e51b81526004016108e090612046565b336000908152600e602052604090205460ff161515600103610b5e5760405162461bcd60e51b815260206004820152602560248201527f416c7265616479206d696e746564206f6e652066726f6d2074686973206164646044820152643932b9b99760d91b60648201526084016108e0565b600a5460ff16600203610cad57600c5462010000900461ffff16610b856002546001540390565b610b90906001612033565b1115610be85760405162461bcd60e51b815260206004820152602160248201527f574c20697320736f6c64206f75742c204f472073746172747320736f6f6e2e2e6044820152601760f91b60648201526084016108e0565b60008033604051602001610bfd9291906120ba565b604051602081830303815290604052805190602001209050610c1f818361170e565b610ca75760405162461bcd60e51b815260206004820152604d60248201527f496e76616c696420574c207369676e61747572652e204d6179626520796f752060448201527f61726520616e204f47206d656d6265723f20506c65617365207761697420756e60648201526c3a34b61027a39037b832b7399760991b608482015260a4016108e0565b50610da8565b600a5460ff16600303610d4d576000600133604051602001610cd09291906120ba565b604051602081830303815290604052805190602001209050610cf2818361170e565b610ca75760405162461bcd60e51b815260206004820152602660248201527f496e76616c6964204f472077686974656c697374207369676e61747572652e2060448201526529b7b9393c9760d11b60648201526084016108e0565b60405162461bcd60e51b815260206004820152602a60248201527f5075626c69632c204f472c20616e6420574c206d696e7420697320616c726561604482015269323c9031b637b9b2b21760b11b60648201526084016108e0565b336000908152600e60205260409020805460ff19166001179055600b54610dce90611589565b610dd9336001611610565b50565b826001600160a01b0381163314610df657610df633611297565b61084584848461180b565b610e09611826565b600f61081b82848361213a565b600061072b82611880565b60006001600160a01b038216610e4a576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526006602052604090205467ffffffffffffffff1690565b610e78611826565b610e8260006118e7565b565b610e8c611826565b6032610d0581610e9f6002546001540390565b610ea99190612033565b1115610ec75760405162461bcd60e51b81526004016108e090612046565b610dd93382611610565b610ed9611826565b600c805460ff9092166401000000000264ff0000000019909216919091179055565b60408051608081018252600080825260208201819052918101829052606081019190915261072b82611937565b60606004805461074090611fe3565b610f3f611826565b600c80546001600160a01b03909216650100000000000265010000000000600160c81b0319909216919091179055565b610f77611826565b600c805461ffff191661ffff92909216919091179055565b81610f9981611297565b61081b83836119af565b610fab611826565b610fb3611a1b565b604051600090339047908381818185875af1925050503d8060008114610ff5576040519150601f19603f3d011682016040523d82523d6000602084013e610ffa565b606091505b505090508061103e5760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b60448201526064016108e0565b50610e826001600955565b836001600160a01b03811633146110635761106333611297565b61106f85858585611a74565b5050505050565b61107e611826565b600a805460ff191660ff92909216919091179055565b606061109f8261126f565b6110bc57604051630a14c4b560e41b815260040160405180910390fd5b60006110c6611ab8565b9050805160000361116157600d80546110de90611fe3565b80601f016020809104026020016040519081016040528092919081815260200182805461110a90611fe3565b80156111575780601f1061112c57610100808354040283529160200191611157565b820191906000526020600020905b81548152906001019060200180831161113a57829003601f168201915b505050505061118c565b8061116b84611ac7565b60405160200161117c9291906121fa565b6040516020818303038152906040525b9392505050565b6001600160a01b0381166000908152600660205260408082205467ffffffffffffffff911c1661072b565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b6111f4611826565b6001600160a01b0381166112595760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108e0565b610dd9816118e7565b61126a611826565b600b55565b60006001548210801561072b575050600090815260056020526040902054600160e01b161590565b6daaeb6d7670e522a718067333cd4e3b15610dd957604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015611304573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113289190612239565b610dd957604051633b79c77360e21b81526001600160a01b03821660048201526024016108e0565b600061135b82610e16565b9050336001600160a01b038216146113945761137781336111be565b611394576040516367d9dca160e11b815260040160405180910390fd5b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006113fb82611880565b9050836001600160a01b0316816001600160a01b03161461142e5760405162a1148160e81b815260040160405180910390fd5b60008281526007602052604090208054338082146001600160a01b0388169091141761147b5761145e86336111be565b61147b57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166114a257604051633a954ecd60e21b815260040160405180910390fd5b80156114ad57600082555b6001600160a01b038681166000908152600660205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260056020526040812091909155600160e11b8416900361153f5760018401600081815260056020526040812054900361153d57600154811461153d5760008181526005602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b803410156115d25760405162461bcd60e51b81526020600482015260166024820152752732b2b2103a379039b2b7321036b7b9329022aa241760511b60448201526064016108e0565b80341115610dd957336108fc6115e88334612256565b6040518115909202916000818181858888f193505050501580156109f7573d6000803e3d6000fd5b60015460008290036116355760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526006602090815260408083208054680100000000000000018802019055848352600590915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146116e457808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46001016116ac565b508160000361170557604051622e076360e81b815260040160405180910390fd5b60015550505050565b60008060018484604001518560000151866020015160405160008152602001604052604051611759949392919093845260ff9290921660208401526040830152606082015260800190565b6020604051602081039080840390855afa15801561177b573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166117ea5760405162461bcd60e51b815260206004820152602360248201527f45434453413a20496e76616c69642077686974656c697374207369676e61747560448201526239329760e91b60648201526084016108e0565b600c546501000000000090046001600160a01b039081169116149392505050565b61081b83838360405180602001604052806000815250611049565b6000546001600160a01b03163314610e825760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108e0565b6000816001548110156118ce5760008181526005602052604081205490600160e01b821690036118cc575b8060000361118c5750600019016000818152600560205260409020546118ab565b505b604051636f96cda160e11b815260040160405180910390fd5b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60408051608081018252600080825260208201819052918101829052606081019190915261072b61196783611880565b604080516080810182526001600160a01b038316815260a083901c67ffffffffffffffff166020820152600160e01b831615159181019190915260e89190911c606082015290565b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600260095403611a6d5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016108e0565b6002600955565b611a7f848484610820565b6001600160a01b0383163b1561084557611a9b84848484611b0b565b610845576040516368d2bf6b60e11b815260040160405180910390fd5b6060600f805461074090611fe3565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a900480611ae15750819003601f19909101908152919050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611b40903390899088908890600401612269565b6020604051808303816000875af1925050508015611b7b575060408051601f3d908101601f19168201909252611b78918101906122a6565b60015b611bd9573d808015611ba9576040519150601f19603f3d011682016040523d82523d6000602084013e611bae565b606091505b508051600003611bd1576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b6001600160e01b031981168114610dd957600080fd5b600060208284031215611c1e57600080fd5b813561118c81611bf6565b60005b83811015611c44578181015183820152602001611c2c565b50506000910152565b60008151808452611c65816020860160208601611c29565b601f01601f19169290920160200192915050565b60208152600061118c6020830184611c4d565b600060208284031215611c9e57600080fd5b5035919050565b80356001600160a01b0381168114611cbc57600080fd5b919050565b60008060408385031215611cd457600080fd5b611cdd83611ca5565b946020939093013593505050565b600060208284031215611cfd57600080fd5b61118c82611ca5565b600080600060608486031215611d1b57600080fd5b611d2484611ca5565b9250611d3260208501611ca5565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715611d8157611d81611d42565b604052919050565b803560ff81168114611cbc57600080fd5b600060608284031215611dac57600080fd5b6040516060810181811067ffffffffffffffff82111715611dcf57611dcf611d42565b80604052508235815260208301356020820152611dee60408401611d89565b60408201529392505050565b60008060208385031215611e0d57600080fd5b823567ffffffffffffffff80821115611e2557600080fd5b818501915085601f830112611e3957600080fd5b813581811115611e4857600080fd5b866020828501011115611e5a57600080fd5b60209290920196919550909350505050565b600060208284031215611e7e57600080fd5b61118c82611d89565b600060208284031215611e9957600080fd5b813561ffff8116811461118c57600080fd5b8015158114610dd957600080fd5b60008060408385031215611ecc57600080fd5b611ed583611ca5565b91506020830135611ee581611eab565b809150509250929050565b60008060008060808587031215611f0657600080fd5b611f0f85611ca5565b93506020611f1e818701611ca5565b935060408601359250606086013567ffffffffffffffff80821115611f4257600080fd5b818801915088601f830112611f5657600080fd5b813581811115611f6857611f68611d42565b611f7a601f8201601f19168501611d58565b91508082528984828501011115611f9057600080fd5b808484018584013760008482840101525080935050505092959194509250565b60008060408385031215611fc357600080fd5b611fcc83611ca5565b9150611fda60208401611ca5565b90509250929050565b600181811c90821680611ff757607f821691505b60208210810361201757634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561072b5761072b61201d565b60208082526039908201527f4e6f7420656e6f7567682072656d61696e696e67204e46547320746f2073757060408201527f706f72742064657369726564206d696e7420616d6f756e742e00000000000000606082015260800190565b808202811582820484141761072b5761072b61201d565b60408101600284106120dc57634e487b7160e01b600052602160045260246000fd5b9281526001600160a01b039190911660209091015290565b601f82111561081b57600081815260208120601f850160051c8101602086101561211b5750805b601f850160051c820191505b8181101561158157828155600101612127565b67ffffffffffffffff83111561215257612152611d42565b612166836121608354611fe3565b836120f4565b6000601f84116001811461219a57600085156121825750838201355b600019600387901b1c1916600186901b17835561106f565b600083815260209020601f19861690835b828110156121cb57868501358255602094850194600190920191016121ab565b50868210156121e85760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b6000835161220c818460208801611c29565b835190830190612220818360208801611c29565b64173539b7b760d91b9101908152600501949350505050565b60006020828403121561224b57600080fd5b815161118c81611eab565b8181038181111561072b5761072b61201d565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061229c90830184611c4d565b9695505050505050565b6000602082840312156122b857600080fd5b815161118c81611bf656fea264697066735822122007edef7e0bad4ad288547d3c6e5afdd70c17d627233bacafc0e4ff737983f61a64736f6c63430008110033697066733a2f2f516d5a76324748587459424e6e5a715543546b386362757a46366b5078727a34694d3135343979485a6d5862415a

Deployed Bytecode

0x60806040526004361061021a5760003560e01c80638da5cb5b11610123578063c002d23d116100ab578063d8258d951161006f578063d8258d9514610649578063dc33e6811461065f578063e985e9c51461067f578063f2fde38b1461069f578063f4a0a528146106bf57600080fd5b8063c002d23d146105b6578063c03afb59146105cc578063c87b56dd146105ec578063cf2675041461060c578063d0eb1e3f1461062e57600080fd5b80639e9a7dd3116100f25780639e9a7dd314610522578063a22cb46514610542578063ac44600214610562578063b88d4fde14610577578063b8eb8e611461058a57600080fd5b80638da5cb5b146104625780639231ab2a1461048057806395d89b41146104ed5780639b1a51731461050257600080fd5b80632e46dc67116101a65780636352211e116101755780636352211e146103d857806370a08231146103f8578063715018a6146104185780637c69e2071461042d5780638cdce7931461044257600080fd5b80632e46dc671461037057806341f434341461038357806342842e0e146103a557806355f804b3146103b857600080fd5b80630cc9529e116101ed5780630cc9529e146102c357806318160ddd146102f35780631d9240d51461031657806323b872dd1461034a5780632db115441461035d57600080fd5b806301ffc9a71461021f57806306fdde0314610254578063081812fc14610276578063095ea7b3146102ae575b600080fd5b34801561022b57600080fd5b5061023f61023a366004611c0c565b6106df565b60405190151581526020015b60405180910390f35b34801561026057600080fd5b50610269610731565b60405161024b9190611c79565b34801561028257600080fd5b50610296610291366004611c8c565b6107c3565b6040516001600160a01b03909116815260200161024b565b6102c16102bc366004611cc1565b610807565b005b3480156102cf57600080fd5b5061023f6102de366004611ceb565b600e6020526000908152604090205460ff1681565b3480156102ff57600080fd5b50600254600154035b60405190815260200161024b565b34801561032257600080fd5b50600c546103379062010000900461ffff1681565b60405161ffff909116815260200161024b565b6102c1610358366004611d06565b610820565b6102c161036b366004611c8c565b61084b565b6102c161037e366004611d9a565b6109fb565b34801561038f57600080fd5b506102966daaeb6d7670e522a718067333cd4e81565b6102c16103b3366004611d06565b610ddc565b3480156103c457600080fd5b506102c16103d3366004611dfa565b610e01565b3480156103e457600080fd5b506102966103f3366004611c8c565b610e16565b34801561040457600080fd5b50610308610413366004611ceb565b610e21565b34801561042457600080fd5b506102c1610e70565b34801561043957600080fd5b506102c1610e84565b34801561044e57600080fd5b506102c161045d366004611e6c565b610ed1565b34801561046e57600080fd5b506000546001600160a01b0316610296565b34801561048c57600080fd5b506104a061049b366004611c8c565b610efb565b60405161024b919081516001600160a01b0316815260208083015167ffffffffffffffff169082015260408083015115159082015260609182015162ffffff169181019190915260800190565b3480156104f957600080fd5b50610269610f28565b34801561050e57600080fd5b506102c161051d366004611ceb565b610f37565b34801561052e57600080fd5b506102c161053d366004611e87565b610f6f565b34801561054e57600080fd5b506102c161055d366004611eb9565b610f8f565b34801561056e57600080fd5b506102c1610fa3565b6102c1610585366004611ef0565b611049565b34801561059657600080fd5b50600a546105a49060ff1681565b60405160ff909116815260200161024b565b3480156105c257600080fd5b50610308600b5481565b3480156105d857600080fd5b506102c16105e7366004611e6c565b611076565b3480156105f857600080fd5b50610269610607366004611c8c565b611094565b34801561061857600080fd5b50600c546105a490640100000000900460ff1681565b34801561063a57600080fd5b50600c546103379061ffff1681565b34801561065557600080fd5b50610337610d0581565b34801561066b57600080fd5b5061030861067a366004611ceb565b611193565b34801561068b57600080fd5b5061023f61069a366004611fb0565b6111be565b3480156106ab57600080fd5b506102c16106ba366004611ceb565b6111ec565b3480156106cb57600080fd5b506102c16106da366004611c8c565b611262565b60006301ffc9a760e01b6001600160e01b03198316148061071057506380ac58cd60e01b6001600160e01b03198316145b8061072b5750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606003805461074090611fe3565b80601f016020809104026020016040519081016040528092919081815260200182805461076c90611fe3565b80156107b95780601f1061078e576101008083540402835291602001916107b9565b820191906000526020600020905b81548152906001019060200180831161079c57829003601f168201915b5050505050905090565b60006107ce8261126f565b6107eb576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b8161081181611297565b61081b8383611350565b505050565b826001600160a01b038116331461083a5761083a33611297565b6108458484846113f0565b50505050565b600a5460ff166001146108e95760405162461bcd60e51b815260206004820152605560248201527f5075626c6963206d696e7420697320636c6f7365642e20506c6561736520636860448201527f65636b206261636b206c6174657220616e6420666f6c6c6f77207573206f6e206064820152741d1dda5d1d195c8e881013595b1d191bdddb939195605a1b608482015260a4015b60405180910390fd5b600c5461ffff16816108fe6002546001540390565b6109089190612033565b11156109265760405162461bcd60e51b81526004016108e090612046565b600c54640100000000900460ff168161093e33611193565b6109489190612033565b11156109d25760405162461bcd60e51b815260206004820152604d60248201527f43616e206e6f74206d696e742074686973206d616e792e20496620796f75277260448201527f65206f6e20616e204f47206f7220574c2c20706c65617365207761697420756e60648201526c3a34b61034ba1037b832b7399760991b608482015260a4016108e0565b600081600b546109e291906120a3565b90506109ed81611589565b6109f73383611610565b5050565b600a54600160ff90911611610ab35760405162461bcd60e51b815260206004820152606c60248201527f4f4720616e6420574c206d696e74206861736e2774207374617274656420796560448201527f742e20506c6561736520636865636b206261636b206c6174657220616e64206660648201527f6f6c6c6f77207573206f6e20446973636f7264206f7220547769747465723a2060848201526b1013595b1d191bdddb93919560a21b60a482015260c4016108e0565b610d05610ac36002546001540390565b610ace906001612033565b1115610aec5760405162461bcd60e51b81526004016108e090612046565b336000908152600e602052604090205460ff161515600103610b5e5760405162461bcd60e51b815260206004820152602560248201527f416c7265616479206d696e746564206f6e652066726f6d2074686973206164646044820152643932b9b99760d91b60648201526084016108e0565b600a5460ff16600203610cad57600c5462010000900461ffff16610b856002546001540390565b610b90906001612033565b1115610be85760405162461bcd60e51b815260206004820152602160248201527f574c20697320736f6c64206f75742c204f472073746172747320736f6f6e2e2e6044820152601760f91b60648201526084016108e0565b60008033604051602001610bfd9291906120ba565b604051602081830303815290604052805190602001209050610c1f818361170e565b610ca75760405162461bcd60e51b815260206004820152604d60248201527f496e76616c696420574c207369676e61747572652e204d6179626520796f752060448201527f61726520616e204f47206d656d6265723f20506c65617365207761697420756e60648201526c3a34b61027a39037b832b7399760991b608482015260a4016108e0565b50610da8565b600a5460ff16600303610d4d576000600133604051602001610cd09291906120ba565b604051602081830303815290604052805190602001209050610cf2818361170e565b610ca75760405162461bcd60e51b815260206004820152602660248201527f496e76616c6964204f472077686974656c697374207369676e61747572652e2060448201526529b7b9393c9760d11b60648201526084016108e0565b60405162461bcd60e51b815260206004820152602a60248201527f5075626c69632c204f472c20616e6420574c206d696e7420697320616c726561604482015269323c9031b637b9b2b21760b11b60648201526084016108e0565b336000908152600e60205260409020805460ff19166001179055600b54610dce90611589565b610dd9336001611610565b50565b826001600160a01b0381163314610df657610df633611297565b61084584848461180b565b610e09611826565b600f61081b82848361213a565b600061072b82611880565b60006001600160a01b038216610e4a576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526006602052604090205467ffffffffffffffff1690565b610e78611826565b610e8260006118e7565b565b610e8c611826565b6032610d0581610e9f6002546001540390565b610ea99190612033565b1115610ec75760405162461bcd60e51b81526004016108e090612046565b610dd93382611610565b610ed9611826565b600c805460ff9092166401000000000264ff0000000019909216919091179055565b60408051608081018252600080825260208201819052918101829052606081019190915261072b82611937565b60606004805461074090611fe3565b610f3f611826565b600c80546001600160a01b03909216650100000000000265010000000000600160c81b0319909216919091179055565b610f77611826565b600c805461ffff191661ffff92909216919091179055565b81610f9981611297565b61081b83836119af565b610fab611826565b610fb3611a1b565b604051600090339047908381818185875af1925050503d8060008114610ff5576040519150601f19603f3d011682016040523d82523d6000602084013e610ffa565b606091505b505090508061103e5760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b60448201526064016108e0565b50610e826001600955565b836001600160a01b03811633146110635761106333611297565b61106f85858585611a74565b5050505050565b61107e611826565b600a805460ff191660ff92909216919091179055565b606061109f8261126f565b6110bc57604051630a14c4b560e41b815260040160405180910390fd5b60006110c6611ab8565b9050805160000361116157600d80546110de90611fe3565b80601f016020809104026020016040519081016040528092919081815260200182805461110a90611fe3565b80156111575780601f1061112c57610100808354040283529160200191611157565b820191906000526020600020905b81548152906001019060200180831161113a57829003601f168201915b505050505061118c565b8061116b84611ac7565b60405160200161117c9291906121fa565b6040516020818303038152906040525b9392505050565b6001600160a01b0381166000908152600660205260408082205467ffffffffffffffff911c1661072b565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b6111f4611826565b6001600160a01b0381166112595760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108e0565b610dd9816118e7565b61126a611826565b600b55565b60006001548210801561072b575050600090815260056020526040902054600160e01b161590565b6daaeb6d7670e522a718067333cd4e3b15610dd957604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015611304573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113289190612239565b610dd957604051633b79c77360e21b81526001600160a01b03821660048201526024016108e0565b600061135b82610e16565b9050336001600160a01b038216146113945761137781336111be565b611394576040516367d9dca160e11b815260040160405180910390fd5b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006113fb82611880565b9050836001600160a01b0316816001600160a01b03161461142e5760405162a1148160e81b815260040160405180910390fd5b60008281526007602052604090208054338082146001600160a01b0388169091141761147b5761145e86336111be565b61147b57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166114a257604051633a954ecd60e21b815260040160405180910390fd5b80156114ad57600082555b6001600160a01b038681166000908152600660205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260056020526040812091909155600160e11b8416900361153f5760018401600081815260056020526040812054900361153d57600154811461153d5760008181526005602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b803410156115d25760405162461bcd60e51b81526020600482015260166024820152752732b2b2103a379039b2b7321036b7b9329022aa241760511b60448201526064016108e0565b80341115610dd957336108fc6115e88334612256565b6040518115909202916000818181858888f193505050501580156109f7573d6000803e3d6000fd5b60015460008290036116355760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526006602090815260408083208054680100000000000000018802019055848352600590915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146116e457808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46001016116ac565b508160000361170557604051622e076360e81b815260040160405180910390fd5b60015550505050565b60008060018484604001518560000151866020015160405160008152602001604052604051611759949392919093845260ff9290921660208401526040830152606082015260800190565b6020604051602081039080840390855afa15801561177b573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166117ea5760405162461bcd60e51b815260206004820152602360248201527f45434453413a20496e76616c69642077686974656c697374207369676e61747560448201526239329760e91b60648201526084016108e0565b600c546501000000000090046001600160a01b039081169116149392505050565b61081b83838360405180602001604052806000815250611049565b6000546001600160a01b03163314610e825760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108e0565b6000816001548110156118ce5760008181526005602052604081205490600160e01b821690036118cc575b8060000361118c5750600019016000818152600560205260409020546118ab565b505b604051636f96cda160e11b815260040160405180910390fd5b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60408051608081018252600080825260208201819052918101829052606081019190915261072b61196783611880565b604080516080810182526001600160a01b038316815260a083901c67ffffffffffffffff166020820152600160e01b831615159181019190915260e89190911c606082015290565b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600260095403611a6d5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016108e0565b6002600955565b611a7f848484610820565b6001600160a01b0383163b1561084557611a9b84848484611b0b565b610845576040516368d2bf6b60e11b815260040160405180910390fd5b6060600f805461074090611fe3565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a900480611ae15750819003601f19909101908152919050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611b40903390899088908890600401612269565b6020604051808303816000875af1925050508015611b7b575060408051601f3d908101601f19168201909252611b78918101906122a6565b60015b611bd9573d808015611ba9576040519150601f19603f3d011682016040523d82523d6000602084013e611bae565b606091505b508051600003611bd1576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b6001600160e01b031981168114610dd957600080fd5b600060208284031215611c1e57600080fd5b813561118c81611bf6565b60005b83811015611c44578181015183820152602001611c2c565b50506000910152565b60008151808452611c65816020860160208601611c29565b601f01601f19169290920160200192915050565b60208152600061118c6020830184611c4d565b600060208284031215611c9e57600080fd5b5035919050565b80356001600160a01b0381168114611cbc57600080fd5b919050565b60008060408385031215611cd457600080fd5b611cdd83611ca5565b946020939093013593505050565b600060208284031215611cfd57600080fd5b61118c82611ca5565b600080600060608486031215611d1b57600080fd5b611d2484611ca5565b9250611d3260208501611ca5565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715611d8157611d81611d42565b604052919050565b803560ff81168114611cbc57600080fd5b600060608284031215611dac57600080fd5b6040516060810181811067ffffffffffffffff82111715611dcf57611dcf611d42565b80604052508235815260208301356020820152611dee60408401611d89565b60408201529392505050565b60008060208385031215611e0d57600080fd5b823567ffffffffffffffff80821115611e2557600080fd5b818501915085601f830112611e3957600080fd5b813581811115611e4857600080fd5b866020828501011115611e5a57600080fd5b60209290920196919550909350505050565b600060208284031215611e7e57600080fd5b61118c82611d89565b600060208284031215611e9957600080fd5b813561ffff8116811461118c57600080fd5b8015158114610dd957600080fd5b60008060408385031215611ecc57600080fd5b611ed583611ca5565b91506020830135611ee581611eab565b809150509250929050565b60008060008060808587031215611f0657600080fd5b611f0f85611ca5565b93506020611f1e818701611ca5565b935060408601359250606086013567ffffffffffffffff80821115611f4257600080fd5b818801915088601f830112611f5657600080fd5b813581811115611f6857611f68611d42565b611f7a601f8201601f19168501611d58565b91508082528984828501011115611f9057600080fd5b808484018584013760008482840101525080935050505092959194509250565b60008060408385031215611fc357600080fd5b611fcc83611ca5565b9150611fda60208401611ca5565b90509250929050565b600181811c90821680611ff757607f821691505b60208210810361201757634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561072b5761072b61201d565b60208082526039908201527f4e6f7420656e6f7567682072656d61696e696e67204e46547320746f2073757060408201527f706f72742064657369726564206d696e7420616d6f756e742e00000000000000606082015260800190565b808202811582820484141761072b5761072b61201d565b60408101600284106120dc57634e487b7160e01b600052602160045260246000fd5b9281526001600160a01b039190911660209091015290565b601f82111561081b57600081815260208120601f850160051c8101602086101561211b5750805b601f850160051c820191505b8181101561158157828155600101612127565b67ffffffffffffffff83111561215257612152611d42565b612166836121608354611fe3565b836120f4565b6000601f84116001811461219a57600085156121825750838201355b600019600387901b1c1916600186901b17835561106f565b600083815260209020601f19861690835b828110156121cb57868501358255602094850194600190920191016121ab565b50868210156121e85760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b6000835161220c818460208801611c29565b835190830190612220818360208801611c29565b64173539b7b760d91b9101908152600501949350505050565b60006020828403121561224b57600080fd5b815161118c81611eab565b8181038181111561072b5761072b61201d565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061229c90830184611c4d565b9695505050505050565b6000602082840312156122b857600080fd5b815161118c81611bf656fea264697066735822122007edef7e0bad4ad288547d3c6e5afdd70c17d627233bacafc0e4ff737983f61a64736f6c63430008110033

Deployed Bytecode Sourcemap

78672:7233:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45567:639;;;;;;;;;;-1:-1:-1;45567:639:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;45567:639:0;;;;;;;;46469:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;52960:218::-;;;;;;;;;;-1:-1:-1;52960:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1697:32:1;;;1679:51;;1667:2;1652:18;52960:218:0;1533:203:1;85007:206:0;;;;;;:::i;:::-;;:::i;:::-;;79323:46;;;;;;;;;;-1:-1:-1;79323:46:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;42220:323;;;;;;;;;;-1:-1:-1;42494:12:0;;42478:13;;:28;42220:323;;;2515:25:1;;;2503:2;2488:18;42220:323:0;2369:177:1;79009:38:0;;;;;;;;;;-1:-1:-1;79009:38:0;;;;;;;;;;;;;;2725:6:1;2713:19;;;2695:38;;2683:2;2668:18;79009:38:0;2551:188:1;85221:205:0;;;;;;:::i;:::-;;:::i;80276:744::-;;;;;;:::i;:::-;;:::i;81051:1495::-;;;;;;:::i;:::-;;:::i;2927:143::-;;;;;;;;;;;;3027:42;2927:143;;85434:213;;;;;;:::i;:::-;;:::i;83486:106::-;;;;;;;;;;-1:-1:-1;83486:106:0;;;;;:::i;:::-;;:::i;47862:152::-;;;;;;;;;;-1:-1:-1;47862:152:0;;;;;:::i;:::-;;:::i;43404:233::-;;;;;;;;;;-1:-1:-1;43404:233:0;;;;;:::i;:::-;;:::i;26346:103::-;;;;;;;;;;;;;:::i;79969:279::-;;;;;;;;;;;;;:::i;84372:135::-;;;;;;;;;;-1:-1:-1;84372:135:0;;;;;:::i;:::-;;:::i;25698:87::-;;;;;;;;;;-1:-1:-1;25744:7:0;25771:6;-1:-1:-1;;;;;25771:6:0;25698:87;;83130:168;;;;;;;;;;-1:-1:-1;83130:168:0;;;;;:::i;:::-;;:::i;:::-;;;;;;5484:13:1;;-1:-1:-1;;;;;5480:39:1;5462:58;;5580:4;5568:17;;;5562:24;5588:18;5558:49;5536:20;;;5529:79;5678:4;5666:17;;;5660:24;5653:32;5646:40;5624:20;;;5617:70;5747:4;5735:17;;;5729:24;5755:8;5725:39;5703:20;;;5696:69;;;;5449:3;5434:19;;5251:520;46645:104:0;;;;;;;;;;;;;:::i;84515:97::-;;;;;;;;;;-1:-1:-1;84515:97:0;;;;;:::i;:::-;;:::i;84252:112::-;;;;;;;;;;-1:-1:-1;84252:112:0;;;;;:::i;:::-;;:::i;84791:208::-;;;;;;;;;;-1:-1:-1;84791:208:0;;;;;:::i;:::-;;:::i;82931:191::-;;;;;;;;;;;;;:::i;85655:247::-;;;;;;:::i;:::-;;:::i;78836:22::-;;;;;;;;;;-1:-1:-1;78836:22:0;;;;;;;;;;;7653:4:1;7641:17;;;7623:36;;7611:2;7596:18;78836:22:0;7481:184:1;78865:37:0;;;;;;;;;;;;;;;;84061:82;;;;;;;;;;-1:-1:-1;84061:82:0;;;;;:::i;:::-;;:::i;83600:437::-;;;;;;;;;;-1:-1:-1;83600:437:0;;;;;:::i;:::-;;:::i;79054:51::-;;;;;;;;;;-1:-1:-1;79054:51:0;;;;;;;;;;;78961:41;;;;;;;;;;-1:-1:-1;78961:41:0;;;;;;;;78909:45;;;;;;;;;;;;78950:4;78909:45;;82578:113;;;;;;;;;;-1:-1:-1;82578:113:0;;;;;:::i;:::-;;:::i;53909:164::-;;;;;;;;;;-1:-1:-1;53909:164:0;;;;;:::i;:::-;;:::i;26604:201::-;;;;;;;;;;-1:-1:-1;26604:201:0;;;;;:::i;:::-;;:::i;84151:93::-;;;;;;;;;;-1:-1:-1;84151:93:0;;;;;:::i;:::-;;:::i;45567:639::-;45652:4;-1:-1:-1;;;;;;;;;45976:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;46053:25:0;;;45976:102;:179;;;-1:-1:-1;;;;;;;;;;46130:25:0;;;45976:179;45956:199;45567:639;-1:-1:-1;;45567:639:0:o;46469:100::-;46523:13;46556:5;46549:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46469:100;:::o;52960:218::-;53036:7;53061:16;53069:7;53061;:16::i;:::-;53056:64;;53086:34;;-1:-1:-1;;;53086:34:0;;;;;;;;;;;53056:64;-1:-1:-1;53140:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;53140:30:0;;52960:218::o;85007:206::-;85147:8;4448:30;4469:8;4448:20;:30::i;:::-;85173:32:::1;85187:8;85197:7;85173:13;:32::i;:::-;85007:206:::0;;;:::o;85221:205::-;85364:4;-1:-1:-1;;;;;4268:18:0;;4276:10;4268:18;4264:83;;4303:32;4324:10;4303:20;:32::i;:::-;85381:37:::1;85400:4;85406:2;85410:7;85381:18;:37::i;:::-;85221:205:::0;;;;:::o;80276:744::-;80364:5;;;;;:10;80342:145;;;;-1:-1:-1;;;80342:145:0;;8522:2:1;80342:145:0;;;8504:21:1;8561:2;8541:18;;;8534:30;8600:34;8580:18;;;8573:62;8671:34;8651:18;;;8644:62;-1:-1:-1;;;8722:19:1;;;8715:52;8784:19;;80342:145:0;;;;;;;;;80550:21;;;;80538:8;80522:13;42494:12;;42478:13;;:28;;42220:323;80522:13;:24;;;;:::i;:::-;:49;;80500:156;;;;-1:-1:-1;;;80500:156:0;;;;;;;:::i;:::-;80747:34;;;;;;;80718:8;80691:24;80704:10;80691:12;:24::i;:::-;:35;;;;:::i;:::-;:90;;80669:217;;;;-1:-1:-1;;;80669:217:0;;9704:2:1;80669:217:0;;;9686:21:1;9743:2;9723:18;;;9716:30;9782:34;9762:18;;;9755:62;9853:34;9833:18;;;9826:62;-1:-1:-1;;;9904:19:1;;;9897:44;9958:19;;80669:217:0;9502:481:1;80669:217:0;80899:17;80932:8;80919:10;;:21;;;;:::i;:::-;80899:41;;80951:23;80964:9;80951:12;:23::i;:::-;80985:27;80991:10;81003:8;80985:5;:27::i;:::-;80331:689;80276:744;:::o;81051:1495::-;81137:5;;81145:1;81137:5;;;;:9;81115:167;;;;-1:-1:-1;;;81115:167:0;;10363:2:1;81115:167:0;;;10345:21:1;10402:3;10382:18;;;10375:31;10442:34;10422:18;;;10415:62;10513:34;10493:18;;;10486:62;10585:34;10564:19;;;10557:63;-1:-1:-1;;;10636:19:1;;;10629:43;10689:19;;81115:167:0;10161:553:1;81115:167:0;78950:4;81315:13;42494:12;;42478:13;;:28;;42220:323;81315:13;:17;;81331:1;81315:17;:::i;:::-;:36;;81293:143;;;;-1:-1:-1;;;81293:143:0;;;;;;;:::i;:::-;81484:10;81469:26;;;;:14;:26;;;;;;;;:34;;:26;:34;81447:121;;;;-1:-1:-1;;;81447:121:0;;10921:2:1;81447:121:0;;;10903:21:1;10960:2;10940:18;;;10933:30;10999:34;10979:18;;;10972:62;-1:-1:-1;;;11050:18:1;;;11043:35;11095:19;;81447:121:0;10719:401:1;81447:121:0;81585:5;;;;81594:1;81585:10;81581:846;;81683:17;;;;;;;81662:13;42494:12;;42478:13;;:28;;42220:323;81662:13;:17;;81678:1;81662:17;:::i;:::-;:38;;81636:133;;;;-1:-1:-1;;;81636:133:0;;11327:2:1;81636:133:0;;;11309:21:1;11366:2;11346:18;;;11339:30;11405:34;11385:18;;;11378:62;-1:-1:-1;;;11456:18:1;;;11449:31;11497:19;;81636:133:0;11125:397:1;81636:133:0;81784:16;81824:13;81839:10;81813:37;;;;;;;;;:::i;:::-;;;;;;;;;;;;;81803:48;;;;;;81784:67;;81892:35;81910:8;81920:6;81892:17;:35::i;:::-;81866:174;;;;-1:-1:-1;;;81866:174:0;;12174:2:1;81866:174:0;;;12156:21:1;12213:2;12193:18;;;12186:30;12252:34;12232:18;;;12225:62;12323:34;12303:18;;;12296:62;-1:-1:-1;;;12374:19:1;;;12367:44;12428:19;;81866:174:0;11972:481:1;81866:174:0;81597:455;81581:846;;;82062:5;;;;82071:1;82062:10;82058:369;;82113:16;82153:13;82168:10;82142:37;;;;;;;;;:::i;:::-;;;;;;;;;;;;;82132:48;;;;;;82113:67;;82221:35;82239:8;82249:6;82221:17;:35::i;:::-;82195:135;;;;-1:-1:-1;;;82195:135:0;;12660:2:1;82195:135:0;;;12642:21:1;12699:2;12679:18;;;12672:30;12738:34;12718:18;;;12711:62;-1:-1:-1;;;12789:18:1;;;12782:36;12835:19;;82195:135:0;12458:402:1;82058:369:0;82363:52;;-1:-1:-1;;;82363:52:0;;13067:2:1;82363:52:0;;;13049:21:1;13106:2;13086:18;;;13079:30;13145:34;13125:18;;;13118:62;-1:-1:-1;;;13196:18:1;;;13189:40;13246:19;;82363:52:0;12865:406:1;82058:369:0;82454:10;82439:26;;;;:14;:26;;;;;:33;;-1:-1:-1;;82439:33:0;82468:4;82439:33;;;82496:10;;82483:24;;:12;:24::i;:::-;82518:20;82524:10;82536:1;82518:5;:20::i;:::-;81051:1495;:::o;85434:213::-;85581:4;-1:-1:-1;;;;;4268:18:0;;4276:10;4268:18;4264:83;;4303:32;4324:10;4303:20;:32::i;:::-;85598:41:::1;85621:4;85627:2;85631:7;85598:22;:41::i;83486:106::-:0;25584:13;:11;:13::i;:::-;83561::::1;:23;83577:7:::0;;83561:13;:23:::1;:::i;47862:152::-:0;47934:7;47977:27;47996:7;47977:18;:27::i;43404:233::-;43476:7;-1:-1:-1;;;;;43500:19:0;;43496:60;;43528:28;;-1:-1:-1;;;43528:28:0;;;;;;;;;;;43496:60;-1:-1:-1;;;;;;43574:25:0;;;;;:18;:25;;;;;;37563:13;43574:55;;43404:233::o;26346:103::-;25584:13;:11;:13::i;:::-;26411:30:::1;26438:1;26411:18;:30::i;:::-;26346:103::o:0;79969:279::-;25584:13;:11;:13::i;:::-;80037:2:::1;78950:4;80037:2:::0;80072:13:::1;42494:12:::0;;42478:13;;:28;;42220:323;80072:13:::1;:24;;;;:::i;:::-;:43;;80050:150;;;;-1:-1:-1::0;;;80050:150:0::1;;;;;;;:::i;:::-;80213:27;80219:10;80231:8;80213:5;:27::i;84372:135::-:0;25584:13;:11;:13::i;:::-;84457:34:::1;:42:::0;;::::1;::::0;;::::1;::::0;::::1;-1:-1:-1::0;;84457:42:0;;::::1;::::0;;;::::1;::::0;;84372:135::o;83130:168::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;83269:21:0;83282:7;83269:12;:21::i;46645:104::-;46701:13;46734:7;46727:14;;;;;:::i;84515:97::-;25584:13;:11;:13::i;:::-;84584::::1;:20:::0;;-1:-1:-1;;;;;84584:20:0;;::::1;::::0;::::1;-1:-1:-1::0;;;;;;84584:20:0;;::::1;::::0;;;::::1;::::0;;84515:97::o;84252:112::-;25584:13;:11;:13::i;:::-;84327:21:::1;:29:::0;;-1:-1:-1;;84327:29:0::1;;::::0;;;::::1;::::0;;;::::1;::::0;;84252:112::o;84791:208::-;84922:8;4448:30;4469:8;4448:20;:30::i;:::-;84948:43:::1;84972:8;84982;84948:23;:43::i;82931:191::-:0;25584:13;:11;:13::i;:::-;22969:21:::1;:19;:21::i;:::-;83018:49:::2;::::0;83000:12:::2;::::0;83018:10:::2;::::0;83041:21:::2;::::0;83000:12;83018:49;83000:12;83018:49;83041:21;83018:10;:49:::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;82999:68;;;83086:7;83078:36;;;::::0;-1:-1:-1;;;83078:36:0;;15746:2:1;83078:36:0::2;::::0;::::2;15728:21:1::0;15785:2;15765:18;;;15758:30;-1:-1:-1;;;15804:18:1;;;15797:46;15860:18;;83078:36:0::2;15544:340:1::0;83078:36:0::2;82988:134;23013:20:::1;22407:1:::0;23533:7;:22;23350:213;85655:247;85830:4;-1:-1:-1;;;;;4268:18:0;;4276:10;4268:18;4264:83;;4303:32;4324:10;4303:20;:32::i;:::-;85847:47:::1;85870:4;85876:2;85880:7;85889:4;85847:22;:47::i;:::-;85655:247:::0;;;;;:::o;84061:82::-;25584:13;:11;:13::i;:::-;84122:5:::1;:13:::0;;-1:-1:-1;;84122:13:0::1;;::::0;;;::::1;::::0;;;::::1;::::0;;84061:82::o;83600:437::-;83718:13;83754:16;83762:7;83754;:16::i;:::-;83749:59;;83779:29;;-1:-1:-1;;;83779:29:0;;;;;;;;;;;83749:59;83821:21;83845:10;:8;:10::i;:::-;83821:34;;83892:7;83886:21;83911:1;83886:26;:143;;84014:15;83886:143;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;83956:7;83965:18;83975:7;83965:9;:18::i;:::-;83939:54;;;;;;;;;:::i;:::-;;;;;;;;;;;;;83886:143;83866:163;83600:437;-1:-1:-1;;;83600:437:0:o;82578:113::-;-1:-1:-1;;;;;43808:25:0;;82636:7;43808:25;;;:18;:25;;37701:2;43808:25;;;;37563:13;43808:50;;43807:82;82663:20;43719:178;53909:164;-1:-1:-1;;;;;54030:25:0;;;54006:4;54030:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;53909:164::o;26604:201::-;25584:13;:11;:13::i;:::-;-1:-1:-1;;;;;26693:22:0;::::1;26685:73;;;::::0;-1:-1:-1;;;26685:73:0;;16759:2:1;26685:73:0::1;::::0;::::1;16741:21:1::0;16798:2;16778:18;;;16771:30;16837:34;16817:18;;;16810:62;-1:-1:-1;;;16888:18:1;;;16881:36;16934:19;;26685:73:0::1;16557:402:1::0;26685:73:0::1;26769:28;26788:8;26769:18;:28::i;84151:93::-:0;25584:13;:11;:13::i;:::-;84218:10:::1;:18:::0;84151:93::o;54331:282::-;54396:4;54486:13;;54476:7;:23;54433:153;;;;-1:-1:-1;;54537:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;54537:44:0;:49;;54331:282::o;4506:419::-;3027:42;4697:45;:49;4693:225;;4768:67;;-1:-1:-1;;;4768:67:0;;4819:4;4768:67;;;17176:34:1;-1:-1:-1;;;;;17246:15:1;;17226:18;;;17219:43;3027:42:0;;4768;;17111:18:1;;4768:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4763:144;;4863:28;;-1:-1:-1;;;4863:28:0;;-1:-1:-1;;;;;1697:32:1;;4863:28:0;;;1679:51:1;1652:18;;4863:28:0;1533:203:1;52393:408:0;52482:13;52498:16;52506:7;52498;:16::i;:::-;52482:32;-1:-1:-1;76726:10:0;-1:-1:-1;;;;;52531:28:0;;;52527:175;;52579:44;52596:5;76726:10;53909:164;:::i;52579:44::-;52574:128;;52651:35;;-1:-1:-1;;;52651:35:0;;;;;;;;;;;52574:128;52714:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;52714:35:0;-1:-1:-1;;;;;52714:35:0;;;;;;;;;52765:28;;52714:24;;52765:28;;;;;;;52471:330;52393:408;;:::o;56599:2825::-;56741:27;56771;56790:7;56771:18;:27::i;:::-;56741:57;;56856:4;-1:-1:-1;;;;;56815:45:0;56831:19;-1:-1:-1;;;;;56815:45:0;;56811:86;;56869:28;;-1:-1:-1;;;56869:28:0;;;;;;;;;;;56811:86;56911:27;55707:24;;;:15;:24;;;;;55935:26;;76726:10;55332:30;;;-1:-1:-1;;;;;55025:28:0;;55310:20;;;55307:56;57097:180;;57190:43;57207:4;76726:10;53909:164;:::i;57190:43::-;57185:92;;57242:35;;-1:-1:-1;;;57242:35:0;;;;;;;;;;;57185:92;-1:-1:-1;;;;;57294:16:0;;57290:52;;57319:23;;-1:-1:-1;;;57319:23:0;;;;;;;;;;;57290:52;57491:15;57488:160;;;57631:1;57610:19;57603:30;57488:160;-1:-1:-1;;;;;58028:24:0;;;;;;;:18;:24;;;;;;58026:26;;-1:-1:-1;;58026:26:0;;;58097:22;;;;;;;;;58095:24;;-1:-1:-1;58095:24:0;;;51251:11;51226:23;51222:41;51209:63;-1:-1:-1;;;51209:63:0;58390:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;58685:47:0;;:52;;58681:627;;58790:1;58780:11;;58758:19;58913:30;;;:17;:30;;;;;;:35;;58909:384;;59051:13;;59036:11;:28;59032:242;;59198:30;;;;:17;:30;;;;;:52;;;59032:242;58739:569;58681:627;59355:7;59351:2;-1:-1:-1;;;;;59336:27:0;59345:4;-1:-1:-1;;;;;59336:27:0;;;;;;;;;;;59374:42;56730:2694;;;56599:2825;;;:::o;82699:224::-;82776:5;82763:9;:18;;82755:53;;;;-1:-1:-1;;;82755:53:0;;17725:2:1;82755:53:0;;;17707:21:1;17764:2;17744:18;;;17737:30;-1:-1:-1;;;17783:18:1;;;17776:52;17845:18;;82755:53:0;17523:346:1;82755:53:0;82835:5;82823:9;:17;82819:97;;;82865:10;82857:47;82886:17;82898:5;82886:9;:17;:::i;:::-;82857:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63980:2966;64076:13;;64053:20;64104:13;;;64100:44;;64126:18;;-1:-1:-1;;;64126:18:0;;;;;;;;;;;64100:44;-1:-1:-1;;;;;64632:22:0;;;;;;:18;:22;;;;37701:2;64632:22;;;:71;;64670:32;64658:45;;64632:71;;;64946:31;;;:17;:31;;;;;-1:-1:-1;51682:15:0;;51656:24;51652:46;51251:11;51226:23;51222:41;51219:52;51209:63;;64946:173;;65181:23;;;;64946:31;;64632:22;;65946:25;64632:22;;65799:335;66460:1;66446:12;66442:20;66400:346;66501:3;66492:7;66489:16;66400:346;;66719:7;66709:8;66706:1;66679:25;66676:1;66673;66668:59;66554:1;66541:15;66400:346;;;66404:77;66779:8;66791:1;66779:13;66775:45;;66801:19;;-1:-1:-1;;;66801:19:0;;;;;;;;;;;66775:45;66837:13;:19;-1:-1:-1;85007:206:0;;;:::o;79615:329::-;79730:4;79752:14;79769:47;79779:6;79787;:8;;;79797:6;:8;;;79807:6;:8;;;79769:47;;;;;;;;;;;;;;;;;18234:25:1;;;18307:4;18295:17;;;;18290:2;18275:18;;18268:45;18344:2;18329:18;;18322:34;18387:2;18372:18;;18365:34;18221:3;18206:19;;18007:398;79769:47:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;79769:47:0;;-1:-1:-1;;79769:47:0;;;-1:-1:-1;;;;;;;79835:20:0;;79827:68;;;;-1:-1:-1;;;79827:68:0;;18612:2:1;79827:68:0;;;18594:21:1;18651:2;18631:18;;;18624:30;18690:34;18670:18;;;18663:62;-1:-1:-1;;;18741:18:1;;;18734:33;18784:19;;79827:68:0;18410:399:1;79827:68:0;79923:13;;;;;-1:-1:-1;;;;;79923:13:0;;;79913:23;;;;79615:329;-1:-1:-1;;;79615:329:0:o;59520:193::-;59666:39;59683:4;59689:2;59693:7;59666:39;;;;;;;;;;;;:16;:39::i;25863:132::-;25744:7;25771:6;-1:-1:-1;;;;;25771:6:0;76726:10;25927:23;25919:68;;;;-1:-1:-1;;;25919:68:0;;19016:2:1;25919:68:0;;;18998:21:1;;;19035:18;;;19028:30;19094:34;19074:18;;;19067:62;19146:18;;25919:68:0;18814:356:1;49017:1275:0;49084:7;49119;49221:13;;49214:4;:20;49210:1015;;;49259:14;49276:23;;;:17;:23;;;;;;;-1:-1:-1;;;49365:24:0;;:29;;49361:845;;50030:113;50037:6;50047:1;50037:11;50030:113;;-1:-1:-1;;;50108:6:0;50090:25;;;;:17;:25;;;;;;50030:113;;49361:845;49236:989;49210:1015;50253:31;;-1:-1:-1;;;50253:31:0;;;;;;;;;;;26965:191;27039:16;27058:6;;-1:-1:-1;;;;;27075:17:0;;;-1:-1:-1;;;;;;27075:17:0;;;;;;27108:40;;27058:6;;;;;;;27108:40;;27039:16;27108:40;27028:128;26965:191;:::o;48203:166::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48314:47:0;48333:27;48352:7;48333:18;:27::i;:::-;-1:-1:-1;;;;;;;;;;;;;50501:41:0;;;;38222:3;50587:33;;;50553:68;;-1:-1:-1;;;50553:68:0;-1:-1:-1;;;50651:24:0;;:29;;-1:-1:-1;;;50632:48:0;;;;38743:3;50720:28;;;;-1:-1:-1;;;50691:58:0;-1:-1:-1;50391:366:0;53518:234;76726:10;53613:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;53613:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;53613:60:0;;;;;;;;;;53689:55;;540:41:1;;;53613:49:0;;76726:10;53689:55;;513:18:1;53689:55:0;;;;;;;53518:234;;:::o;23049:293::-;22451:1;23183:7;;:19;23175:63;;;;-1:-1:-1;;;23175:63:0;;19377:2:1;23175:63:0;;;19359:21:1;19416:2;19396:18;;;19389:30;19455:33;19435:18;;;19428:61;19506:18;;23175:63:0;19175:355:1;23175:63:0;22451:1;23316:7;:18;23049:293::o;60311:407::-;60486:31;60499:4;60505:2;60509:7;60486:12;:31::i;:::-;-1:-1:-1;;;;;60532:14:0;;;:19;60528:183;;60571:56;60602:4;60608:2;60612:7;60621:5;60571:30;:56::i;:::-;60566:145;;60655:40;;-1:-1:-1;;;60655:40:0;;;;;;;;;;;83364:114;83424:13;83457;83450:20;;;;;:::i;76846:1745::-;76911:17;77345:4;77338;77332:11;77328:22;77437:1;77431:4;77424:15;77512:4;77509:1;77505:12;77498:19;;;77594:1;77589:3;77582:14;77698:3;77937:5;77919:428;77985:1;77980:3;77976:11;77969:18;;78156:2;78150:4;78146:13;78142:2;78138:22;78133:3;78125:36;78250:2;78240:13;;78307:25;77919:428;78307:25;-1:-1:-1;78377:13:0;;;-1:-1:-1;;78492:14:0;;;78554:19;;;78492:14;76846:1745;-1:-1:-1;76846:1745:0:o;62802:716::-;62986:88;;-1:-1:-1;;;62986:88:0;;62965:4;;-1:-1:-1;;;;;62986:45:0;;;;;:88;;76726:10;;63053:4;;63059:7;;63068:5;;62986:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;62986:88:0;;;;;;;;-1:-1:-1;;62986:88:0;;;;;;;;;;;;:::i;:::-;;;62982:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63269:6;:13;63286:1;63269:18;63265:235;;63315:40;;-1:-1:-1;;;63315:40:0;;;;;;;;;;;63265:235;63458:6;63452:13;63443:6;63439:2;63435:15;63428:38;62982:529;-1:-1:-1;;;;;;63145:64:0;-1:-1:-1;;;63145:64:0;;-1:-1:-1;62802:716:0;;;;;;:::o;14:131:1:-;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;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;2178:186::-;2237:6;2290:2;2278:9;2269:7;2265:23;2261:32;2258:52;;;2306:1;2303;2296:12;2258:52;2329:29;2348:9;2329:29;:::i;2744:328::-;2821:6;2829;2837;2890:2;2878:9;2869:7;2865:23;2861:32;2858:52;;;2906:1;2903;2896:12;2858:52;2929:29;2948:9;2929:29;:::i;:::-;2919:39;;2977:38;3011:2;3000:9;2996:18;2977:38;:::i;:::-;2967:48;;3062:2;3051:9;3047:18;3034:32;3024:42;;2744:328;;;;;:::o;3077:127::-;3138:10;3133:3;3129:20;3126:1;3119:31;3169:4;3166:1;3159:15;3193:4;3190:1;3183:15;3209:275;3280:2;3274:9;3345:2;3326:13;;-1:-1:-1;;3322:27:1;3310:40;;3380:18;3365:34;;3401:22;;;3362:62;3359:88;;;3427:18;;:::i;:::-;3463:2;3456:22;3209:275;;-1:-1:-1;3209:275:1:o;3489:156::-;3555:20;;3615:4;3604:16;;3594:27;;3584:55;;3635:1;3632;3625:12;3650:573;3733:6;3786:2;3774:9;3765:7;3761:23;3757:32;3754:52;;;3802:1;3799;3792:12;3754:52;3835:2;3829:9;3877:2;3869:6;3865:15;3946:6;3934:10;3931:22;3910:18;3898:10;3895:34;3892:62;3889:88;;;3957:18;;:::i;:::-;3997:10;3993:2;3986:22;;4045:9;4032:23;4024:6;4017:39;4117:2;4106:9;4102:18;4089:32;4084:2;4076:6;4072:15;4065:57;4155:36;4187:2;4176:9;4172:18;4155:36;:::i;:::-;4150:2;4138:15;;4131:61;4142:6;3650:573;-1:-1:-1;;;3650:573:1:o;4467:592::-;4538:6;4546;4599:2;4587:9;4578:7;4574:23;4570:32;4567:52;;;4615:1;4612;4605:12;4567:52;4655:9;4642:23;4684:18;4725:2;4717:6;4714:14;4711:34;;;4741:1;4738;4731:12;4711:34;4779:6;4768:9;4764:22;4754:32;;4824:7;4817:4;4813:2;4809:13;4805:27;4795:55;;4846:1;4843;4836:12;4795:55;4886:2;4873:16;4912:2;4904:6;4901:14;4898:34;;;4928:1;4925;4918:12;4898:34;4973:7;4968:2;4959:6;4955:2;4951:15;4947:24;4944:37;4941:57;;;4994:1;4991;4984:12;4941:57;5025:2;5017:11;;;;;5047:6;;-1:-1:-1;4467:592:1;;-1:-1:-1;;;;4467:592:1:o;5064:182::-;5121:6;5174:2;5162:9;5153:7;5149:23;5145:32;5142:52;;;5190:1;5187;5180:12;5142:52;5213:27;5230:9;5213:27;:::i;5776:272::-;5834:6;5887:2;5875:9;5866:7;5862:23;5858:32;5855:52;;;5903:1;5900;5893:12;5855:52;5942:9;5929:23;5992:6;5985:5;5981:18;5974:5;5971:29;5961:57;;6014:1;6011;6004:12;6053:118;6139:5;6132:13;6125:21;6118:5;6115:32;6105:60;;6161:1;6158;6151:12;6176:315;6241:6;6249;6302:2;6290:9;6281:7;6277:23;6273:32;6270:52;;;6318:1;6315;6308:12;6270:52;6341:29;6360:9;6341:29;:::i;:::-;6331:39;;6420:2;6409:9;6405:18;6392:32;6433:28;6455:5;6433:28;:::i;:::-;6480:5;6470:15;;;6176:315;;;;;:::o;6496:980::-;6591:6;6599;6607;6615;6668:3;6656:9;6647:7;6643:23;6639:33;6636:53;;;6685:1;6682;6675:12;6636:53;6708:29;6727:9;6708:29;:::i;:::-;6698:39;;6756:2;6777:38;6811:2;6800:9;6796:18;6777:38;:::i;:::-;6767:48;;6862:2;6851:9;6847:18;6834:32;6824:42;;6917:2;6906:9;6902:18;6889:32;6940:18;6981:2;6973:6;6970:14;6967:34;;;6997:1;6994;6987:12;6967:34;7035:6;7024:9;7020:22;7010:32;;7080:7;7073:4;7069:2;7065:13;7061:27;7051:55;;7102:1;7099;7092:12;7051:55;7138:2;7125:16;7160:2;7156;7153:10;7150:36;;;7166:18;;:::i;:::-;7208:53;7251:2;7232:13;;-1:-1:-1;;7228:27:1;7224:36;;7208:53;:::i;:::-;7195:66;;7284:2;7277:5;7270:17;7324:7;7319:2;7314;7310;7306:11;7302:20;7299:33;7296:53;;;7345:1;7342;7335:12;7296:53;7400:2;7395;7391;7387:11;7382:2;7375:5;7371:14;7358:45;7444:1;7439:2;7434;7427:5;7423:14;7419:23;7412:34;;7465:5;7455:15;;;;;6496:980;;;;;;;:::o;7670:260::-;7738:6;7746;7799:2;7787:9;7778:7;7774:23;7770:32;7767:52;;;7815:1;7812;7805:12;7767:52;7838:29;7857:9;7838:29;:::i;:::-;7828:39;;7886:38;7920:2;7909:9;7905:18;7886:38;:::i;:::-;7876:48;;7670:260;;;;;:::o;7935:380::-;8014:1;8010:12;;;;8057;;;8078:61;;8132:4;8124:6;8120:17;8110:27;;8078:61;8185:2;8177:6;8174:14;8154:18;8151:38;8148:161;;8231:10;8226:3;8222:20;8219:1;8212:31;8266:4;8263:1;8256:15;8294:4;8291:1;8284:15;8148:161;;7935:380;;;:::o;8814:127::-;8875:10;8870:3;8866:20;8863:1;8856:31;8906:4;8903:1;8896:15;8930:4;8927:1;8920:15;8946:125;9011:9;;;9032:10;;;9029:36;;;9045:18;;:::i;9076:421::-;9278:2;9260:21;;;9317:2;9297:18;;;9290:30;9356:34;9351:2;9336:18;;9329:62;9427:27;9422:2;9407:18;;9400:55;9487:3;9472:19;;9076:421::o;9988:168::-;10061:9;;;10092;;10109:15;;;10103:22;;10089:37;10079:71;;10130:18;;:::i;11527:440::-;11702:2;11687:18;;11735:1;11724:13;;11714:144;;11780:10;11775:3;11771:20;11768:1;11761:31;11815:4;11812:1;11805:15;11843:4;11840:1;11833:15;11714:144;11867:25;;;-1:-1:-1;;;;;11928:32:1;;;;11923:2;11908:18;;;11901:60;11527:440;:::o;13402:545::-;13504:2;13499:3;13496:11;13493:448;;;13540:1;13565:5;13561:2;13554:17;13610:4;13606:2;13596:19;13680:2;13668:10;13664:19;13661:1;13657:27;13651:4;13647:38;13716:4;13704:10;13701:20;13698:47;;;-1:-1:-1;13739:4:1;13698:47;13794:2;13789:3;13785:12;13782:1;13778:20;13772:4;13768:31;13758:41;;13849:82;13867:2;13860:5;13857:13;13849:82;;;13912:17;;;13893:1;13882:13;13849:82;;14123:1206;14247:18;14242:3;14239:27;14236:53;;;14269:18;;:::i;:::-;14298:94;14388:3;14348:38;14380:4;14374:11;14348:38;:::i;:::-;14342:4;14298:94;:::i;:::-;14418:1;14443:2;14438:3;14435:11;14460:1;14455:616;;;;15115:1;15132:3;15129:93;;;-1:-1:-1;15188:19:1;;;15175:33;15129:93;-1:-1:-1;;14080:1:1;14076:11;;;14072:24;14068:29;14058:40;14104:1;14100:11;;;14055:57;15235:78;;14428:895;;14455:616;13349:1;13342:14;;;13386:4;13373:18;;-1:-1:-1;;14491:17:1;;;14592:9;14614:229;14628:7;14625:1;14622:14;14614:229;;;14717:19;;;14704:33;14689:49;;14824:4;14809:20;;;;14777:1;14765:14;;;;14644:12;14614:229;;;14618:3;14871;14862:7;14859:16;14856:159;;;14995:1;14991:6;14985:3;14979;14976:1;14972:11;14968:21;14964:34;14960:39;14947:9;14942:3;14938:19;14925:33;14921:79;14913:6;14906:95;14856:159;;;15058:1;15052:3;15049:1;15045:11;15041:19;15035:4;15028:33;14428:895;;14123:1206;;;:::o;15889:663::-;16169:3;16207:6;16201:13;16223:66;16282:6;16277:3;16270:4;16262:6;16258:17;16223:66;:::i;:::-;16352:13;;16311:16;;;;16374:70;16352:13;16311:16;16421:4;16409:17;;16374:70;:::i;:::-;-1:-1:-1;;;16466:20:1;;16495:22;;;16544:1;16533:13;;15889:663;-1:-1:-1;;;;15889:663:1:o;17273:245::-;17340:6;17393:2;17381:9;17372:7;17368:23;17364:32;17361:52;;;17409:1;17406;17399:12;17361:52;17441:9;17435:16;17460:28;17482:5;17460:28;:::i;17874:128::-;17941:9;;;17962:11;;;17959:37;;;17976:18;;:::i;19535:489::-;-1:-1:-1;;;;;19804:15:1;;;19786:34;;19856:15;;19851:2;19836:18;;19829:43;19903:2;19888:18;;19881:34;;;19951:3;19946:2;19931:18;;19924:31;;;19729:4;;19972:46;;19998:19;;19990:6;19972:46;:::i;:::-;19964:54;19535:489;-1:-1:-1;;;;;;19535:489:1:o;20029:249::-;20098:6;20151:2;20139:9;20130:7;20126:23;20122:32;20119:52;;;20167:1;20164;20157:12;20119:52;20199:9;20193:16;20218:30;20242:5;20218:30;:::i

Swarm Source

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