ETH Price: $2,530.85 (-0.15%)

Token

The Realm Of the OGs (OGACCOMICS)
 

Overview

Max Total Supply

651 OGACCOMICS

Holders

178

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
3 OGACCOMICS
0x98608cbf3be5860d964c49449a9b538b2e5f0b0c
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:
OgacComic

Compiler Version
v0.8.7+commit.e28d00a7

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-23
*/

// File: @openzeppelin/contracts/token/ERC20/IERC20.sol


// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

// File: @openzeppelin/contracts-upgradeable/utils/math/MathUpgradeable.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 MathUpgradeable {
    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-upgradeable/utils/StringsUpgradeable.sol


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

pragma solidity ^0.8.0;


/**
 * @dev String operations.
 */
library StringsUpgradeable {
    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 = MathUpgradeable.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, MathUpgradeable.log256(value) + 1);
        }
    }

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

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

// File: @openzeppelin/contracts/utils/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: @openzeppelin/contracts/utils/cryptography/MerkleProof.sol


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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// File: https://github.com/chiru-labs/ERC721A/blob/main/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: https://github.com/chiru-labs/ERC721A/blob/main/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.selector);
        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.selector);

        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 packed) {
        if (_startTokenId() <= tokenId) {
            packed = _packedOwnerships[tokenId];
            // If not burned.
            if (packed & _BITMASK_BURNED == 0) {
                // If the data at the starting slot does not exist, start the scan.
                if (packed == 0) {
                    if (tokenId >= _currentIndex) _revert(OwnerQueryForNonexistentToken.selector);
                    // 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, `tokenId` will not underflow.
                    //
                    // We can directly compare the packed value.
                    // If the address is zero, packed will be zero.
                    for (;;) {
                        unchecked {
                            packed = _packedOwnerships[--tokenId];
                        }
                        if (packed == 0) continue;
                        return packed;
                    }
                }
                // Otherwise, the data exists and is not burned. We can skip the scan.
                // This is possible because we have already achieved the target condition.
                // This saves 2143 gas on transfers of initialized tokens.
                return packed;
            }
        }
        _revert(OwnerQueryForNonexistentToken.selector);
    }

    /**
     * @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. See {ERC721A-_approve}.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     */
    function approve(address to, uint256 tokenId) public payable virtual override {
        _approve(to, tokenId, true);
    }

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

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

        // Mask `from` to the lower 160 bits, in case the upper bits somehow aren't clean.
        from = address(uint160(uint256(uint160(from)) & _BITMASK_ADDRESS));

        if (address(uint160(prevOwnershipPacked)) != from) _revert(TransferFromIncorrectOwner.selector);

        (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.selector);

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

        // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean.
        uint256 toMasked = uint256(uint160(to)) & _BITMASK_ADDRESS;
        assembly {
            // 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.
                from, // `from`.
                toMasked, // `to`.
                tokenId // `tokenId`.
            )
        }
        if (toMasked == 0) _revert(TransferToZeroAddress.selector);

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

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

        _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:
            // - `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)
            );

            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the `balance` and `numberMinted`.
            _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1);

            // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean.
            uint256 toMasked = uint256(uint160(to)) & _BITMASK_ADDRESS;

            if (toMasked == 0) _revert(MintToZeroAddress.selector);

            uint256 end = startTokenId + quantity;
            uint256 tokenId = startTokenId;

            do {
                assembly {
                    // 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`.
                        tokenId // `tokenId`.
                    )
                }
                // The `!=` check ensures that large values of `quantity`
                // that overflows uint256 will make the loop run out of gas.
            } while (++tokenId != end);

            _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.selector);
        if (quantity == 0) _revert(MintZeroQuantity.selector);
        if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) _revert(MintERC2309QuantityExceedsLimit.selector);

        _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.selector);
                    }
                } while (index < end);
                // Reentrancy protection.
                if (_currentIndex != end) _revert(bytes4(0));
            }
        }
    }

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

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

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

    /**
     * @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:
     *
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function _approve(
        address to,
        uint256 tokenId,
        bool approvalCheck
    ) internal virtual {
        address owner = ownerOf(tokenId);

        if (approvalCheck && _msgSenderERC721A() != owner)
            if (!isApprovedForAll(owner, _msgSenderERC721A())) {
                _revert(ApprovalCallerNotOwnerNorApproved.selector);
            }

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

    // =============================================================
    //                        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.selector);
        }

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

    /**
     * @dev For more efficient reverts.
     */
    function _revert(bytes4 errorSelector) internal pure {
        assembly {
            mstore(0x00, errorSelector)
            revert(0x00, 0x04)
        }
    }
}
// File: contracts/Ogac/OgacComic.sol


pragma solidity ^0.8.7;






contract OgacComic is ERC721A, Ownable {
    using StringsUpgradeable for uint256;
    event Minted(address indexed _from, uint256 _amount, uint256 _value);

    address extendingContract;
    address public ERC20FUNDWALLET = 0x29Cf4C62FbB6bD5cdBd0fAb6Fb301e5196693861;

    string public baseApiURI;

    //Utility
    bool public paused = false;
    bool public canClaim = true;
    bool public erc20PaymentsPause = false;

    //General Settings
    uint16 public maxMintAmountPerTransaction = 10;
    uint16 public maxMintAmountPerWallet = 500;

    //Inventory
    uint256 public maxSupply = 2500;

    //Prices
    uint256 public cost = 0.015 ether;

    //Merkle Tree Roots
    bytes32 private claimRoot;

    //mapping
    mapping(address => bool) private claims;
    mapping(address => bool) public _allowedErc20;
    mapping(address => uint256) public _erc20MintPrice;

    constructor(string memory _baseUrl)
        ERC721A("The Realm Of the OGs", "OGACCOMICS")
    {
        baseApiURI = _baseUrl;
        _erc20MintPrice[0xED5464bd5c477b7F71739Ce1d741b43E932b97b0] = 300;
        _allowedErc20[0xED5464bd5c477b7F71739Ce1d741b43E932b97b0] = true;
    }

    function mintOgac(uint256 _amount) payable external {
        require(!paused, "Contract is paused");
        require(_amount > 0, "Mint amount should be greater than 0");
        require((totalSupply() + _amount) <= maxSupply, "NFT Supply Passed");
        require( _amount <= maxMintAmountPerTransaction, "Passed Mint limit per transaction");
        //check price 
        if(msg.sender != owner()){
             require(msg.value >= (cost * _amount), "Not enough Funds");
        }
         if(_amount == 15){
             _mint(msg.sender, _amount + 5);
         }else if (_amount >= 12){
             _mint(msg.sender, _amount + 4);
         }else if(_amount >= 9) {
             _mint(msg.sender, _amount + 3);
         }else if(_amount >= 6){
             _mint(msg.sender, _amount + 2);
         }else if (_amount >= 3){
                _mint(msg.sender, _amount + 1);
         }else{
            _mint(msg.sender, _amount);
         }   
    }



    function mintComicWithErc20(uint256 _amount, address _erc20)
        external
        payable
    {
        require(!erc20PaymentsPause, "Contract is paused");
        require(_amount > 0, "Mint amount should be greater than 0");
        require((totalSupply() + _amount) <= maxSupply, "NFTS Supply Passed");
        require(
            _amount <= maxMintAmountPerTransaction,
            "Passed Mint limit per transaction"
        );
        //check if erc20 contract is allowed
        require(_allowedErc20[_erc20], "ERC20 is not allowed");
        //check if erc20 price is not 0
        require(_erc20MintPrice[_erc20] > 0, "ERC20 Mint price not set");
        //check allowance
        require(
            IERC20(_erc20).allowance(msg.sender, address(this)) >=
                (_erc20MintPrice[_erc20] * _amount),
            "Not enough Allowance"
        );
        IERC20(_erc20).transferFrom(
            msg.sender,
            ERC20FUNDWALLET,
            _erc20MintPrice[_erc20] * _amount
        );

        if (_amount == 15) {
            _mint(msg.sender, _amount + 5);
        } else if (_amount >= 12) {
            _mint(msg.sender, _amount + 4);
        } else if (_amount >= 9) {
            _mint(msg.sender, _amount + 3);
        } else if (_amount >= 6) {
            _mint(msg.sender, _amount + 2);
        } else if (_amount >= 3) {
            _mint(msg.sender, _amount + 1);
        } else {
            _mint(msg.sender, _amount);
        }
    }

    //This function will be used to extend the project with more capabilities
    function setExternalContract(address _bAddress) public onlyOwner {
        extendingContract = _bAddress;
    }

    //this function can be called only from the extending contract
    function mintExternal(address _address, uint256 _mintAmount) external {
        require(
            msg.sender == extendingContract,
            "Sorry you don't have permission to mint"
        );
        _safeMint(_address, _mintAmount);
    }

    function setClaimRoot(bytes32 _root) public onlyOwner {
        claimRoot = _root;
    }

    function _verifyClaim(bytes32 _leafNode, bytes32[] memory proof)
        internal
        view
        returns (bool)
    {
        return MerkleProof.verify(proof, claimRoot, _leafNode);
    }

    function _leaf(address account, uint256 _amount)
        internal
        pure
        returns (bytes32)
    {
        return keccak256(abi.encodePacked(account, _amount));
    }

    //genesis Claim
    function claimComics(uint256 _amount, bytes32[] calldata proof)
        public
        payable
    {
        //verification

        require(canClaim, "Claim not enabled");
        require(
            _verifyClaim(_leaf(msg.sender, _amount), proof),
            "Invalid proof"
        );

        require(!claims[msg.sender], "Already Claimed");
        _mintLoop(msg.sender, _amount);
        claims[msg.sender] = true;
    }

    function isClaimed(address _owner) external view returns (bool) {
        return claims[_owner];
    }

    function gift(address _to, uint256 _mintAmount) public onlyOwner {
        _mintLoop(_to, _mintAmount);
    }

    function airdrop(address[] memory _airdropAddresses) public onlyOwner {
        for (uint256 i = 0; i < _airdropAddresses.length; i++) {
            address to = _airdropAddresses[i];
            _mintLoop(to, 1);
        }
    }

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

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

    function setCost(uint256 _newCost) public onlyOwner {
        cost = _newCost;
    }

     function setErc20ContractState(address _a, uint256 _p, bool _val) external onlyOwner{
        _allowedErc20[_a] = _val;
        _erc20MintPrice[_a] = _p;
    }

    function setErc20FundAddress(address _a) external onlyOwner {
        ERC20FUNDWALLET = _a;
    }

    function setmaxMintAmountPerTransaction(uint16 _amount) public onlyOwner {
        maxMintAmountPerTransaction = _amount;
    }

    function setMaxMintAmountPerWallet(uint16 _amount) public onlyOwner {
        maxMintAmountPerWallet = _amount;
    }

    function setMaxSupply(uint256 _supply) public onlyOwner {
        maxSupply = _supply;
    }

    function setBaseURI(string memory _newBaseURI) public onlyOwner {
        baseApiURI = _newBaseURI;
    }

    function togglePause() public onlyOwner {
        paused = !paused;
    }

    function toggleClaim() public onlyOwner {
        canClaim = !canClaim;
    }

    function _mintLoop(address _receiver, uint256 _mintAmount) internal {
        _safeMint(_receiver, _mintAmount);
    }

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_baseUrl","type":"string"}],"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":[],"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":"_from","type":"address"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_value","type":"uint256"}],"name":"Minted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"ERC20FUNDWALLET","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_allowedErc20","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_erc20MintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_airdropAddresses","type":"address[]"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","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":"baseApiURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"canClaim","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"claimComics","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"erc20PaymentsPause","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"gift","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"isClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmountPerTransaction","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmountPerWallet","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address","name":"_erc20","type":"address"}],"name":"mintComicWithErc20","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"mintExternal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mintOgac","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"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":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_root","type":"bytes32"}],"name":"setClaimRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_a","type":"address"},{"internalType":"uint256","name":"_p","type":"uint256"},{"internalType":"bool","name":"_val","type":"bool"}],"name":"setErc20ContractState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_a","type":"address"}],"name":"setErc20FundAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_bAddress","type":"address"}],"name":"setExternalContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_amount","type":"uint16"}],"name":"setMaxMintAmountPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_supply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_amount","type":"uint16"}],"name":"setmaxMintAmountPerTransaction","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":[],"name":"toggleClaim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"togglePause","outputs":[],"stateMutability":"nonpayable","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":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]

6080604052600a80546001600160a01b0319167329cf4c62fbb6bd5cdbd0fab6fb301e5196693861179055600c80546601f4000a00010066ffffffffffffff199091161790556109c4600d5566354a6ba7a18000600e553480156200006357600080fd5b50604051620029a3380380620029a3833981016040819052620000869162000298565b604080518082018252601481527f546865205265616c6d204f6620746865204f477300000000000000000000000060208083019182528351808501909452600a8452694f474143434f4d49435360b01b908401528151919291620000ed91600291620001f2565b50805162000103906003906020840190620001f2565b505060008055506200011533620001a0565b80516200012a90600b906020840190620001f2565b505073ed5464bd5c477b7f71739ce1d741b43e932b97b060005261012c7f8ee1913d6064c58c67521af6c4f02a41285645cec0f8ba2b20c17350e6be9bec5560116020527f448c6b7e4080e9580169a57e4abd7f9c1bf1e026d4c716fa5a5301432fd0c28a805460ff19166001179055620003c7565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620002009062000374565b90600052602060002090601f0160209004810192826200022457600085556200026f565b82601f106200023f57805160ff19168380011785556200026f565b828001600101855582156200026f579182015b828111156200026f57825182559160200191906001019062000252565b506200027d92915062000281565b5090565b5b808211156200027d576000815560010162000282565b60006020808385031215620002ac57600080fd5b82516001600160401b0380821115620002c457600080fd5b818501915085601f830112620002d957600080fd5b815181811115620002ee57620002ee620003b1565b604051601f8201601f19908116603f01168101908382118183101715620003195762000319620003b1565b8160405282815288868487010111156200033257600080fd5b600093505b8284101562000356578484018601518185018701529285019262000337565b82841115620003685760008684830101525b98975050505050505050565b600181811c908216806200038957607f821691505b60208210811415620003ab57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b6125cc80620003d76000396000f3fe6080604052600436106102885760003560e01c80638cc080251161015a578063c87b56dd116100c1578063e459ad021161007a578063e459ad021461077a578063e97800cb1461079a578063e985e9c5146107ba578063f2fde38b14610803578063f4da184614610823578063ff0eab461461084357600080fd5b8063c87b56dd146106dc578063cbce4c97146106fc578063cef117291461071c578063cf70b8481461073c578063d11297451461074f578063d5abeb011461076457600080fd5b8063a67ba02711610113578063a67ba02714610628578063afd8fe5b14610648578063b88d4fde1461065b578063bbb897441461066e578063bc951b91146106a3578063c4ae3168146106c757600080fd5b80638cc080251461054c5780638da5cb5b1461058557806395d89b41146105a35780639e884605146105b85780639ebc3e07146105d8578063a22cb4651461060857600080fd5b806341827f13116101fe5780636aaffa36116101b75780636aaffa361461048b5780636dc7a627146104b85780636f8b44b0146104d757806370a08231146104f7578063715018a614610517578063729ad39e1461052c57600080fd5b806341827f13146103e957806342842e0e146103fe57806344a0d68a1461041157806355f804b3146104315780635c975abb146104515780636352211e1461046b57600080fd5b806313faede61161025057806313faede61461035157806318160ddd1461037557806321b97f201461038e57806323b872dd146103ae5780632bac46df146103c15780633ccfd60b146103e157600080fd5b806301ffc9a71461028d57806306fdde03146102c2578063081812fc146102e4578063095ea7b31461031c57806309e7fe1b14610331575b600080fd5b34801561029957600080fd5b506102ad6102a83660046121b4565b610856565b60405190151581526020015b60405180910390f35b3480156102ce57600080fd5b506102d76108a8565b6040516102b991906123ae565b3480156102f057600080fd5b506103046102ff36600461219b565b61093a565b6040516001600160a01b0390911681526020016102b9565b61032f61032a366004612060565b610975565b005b34801561033d57600080fd5b5061032f61034c366004611f23565b610985565b34801561035d57600080fd5b50610367600e5481565b6040519081526020016102b9565b34801561038157600080fd5b5060015460005403610367565b34801561039a57600080fd5b5061032f6103a936600461219b565b6109af565b61032f6103bc366004611f71565b6109bc565b3480156103cd57600080fd5b50600c546102ad9062010000900460ff1681565b61032f610b17565b3480156103f557600080fd5b506102d7610b93565b61032f61040c366004611f71565b610c21565b34801561041d57600080fd5b5061032f61042c36600461219b565b610c41565b34801561043d57600080fd5b5061032f61044c3660046121ee565b610c4e565b34801561045d57600080fd5b50600c546102ad9060ff1681565b34801561047757600080fd5b5061030461048636600461219b565b610c69565b34801561049757600080fd5b506103676104a6366004611f23565b60126020526000908152604090205481565b3480156104c457600080fd5b50600c546102ad90610100900460ff1681565b3480156104e357600080fd5b5061032f6104f236600461219b565b610c74565b34801561050357600080fd5b50610367610512366004611f23565b610c81565b34801561052357600080fd5b5061032f610cc7565b34801561053857600080fd5b5061032f6105473660046120ca565b610cdb565b34801561055857600080fd5b506102ad610567366004611f23565b6001600160a01b031660009081526010602052604090205460ff1690565b34801561059157600080fd5b506008546001600160a01b0316610304565b3480156105af57600080fd5b506102d7610d2b565b3480156105c457600080fd5b50600a54610304906001600160a01b031681565b3480156105e457600080fd5b506102ad6105f3366004611f23565b60116020526000908152604090205460ff1681565b34801561061457600080fd5b5061032f610623366004612029565b610d3a565b34801561063457600080fd5b5061032f610643366004611f23565b610da6565b61032f61065636600461219b565b610dd0565b61032f610669366004611fad565b610fac565b34801561067a57600080fd5b50600c54610690906301000000900461ffff1681565b60405161ffff90911681526020016102b9565b3480156106af57600080fd5b50600c546106909065010000000000900461ffff1681565b3480156106d357600080fd5b5061032f610fed565b3480156106e857600080fd5b506102d76106f736600461219b565b611009565b34801561070857600080fd5b5061032f610717366004612060565b6110d4565b34801561072857600080fd5b5061032f610737366004612237565b6110e6565b61032f61074a366004612297565b611114565b34801561075b57600080fd5b5061032f611292565b34801561077057600080fd5b50610367600d5481565b34801561078657600080fd5b5061032f61079536600461208a565b6112b7565b3480156107a657600080fd5b5061032f6107b5366004612237565b6112f7565b3480156107c657600080fd5b506102ad6107d5366004611f3e565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561080f57600080fd5b5061032f61081e366004611f23565b611321565b34801561082f57600080fd5b5061032f61083e366004612060565b611397565b61032f610851366004612274565b61140b565b60006301ffc9a760e01b6001600160e01b03198316148061088757506380ac58cd60e01b6001600160e01b03198316145b806108a25750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546108b7906124da565b80601f01602080910402602001604051908101604052809291908181526020018280546108e3906124da565b80156109305780601f1061090557610100808354040283529160200191610930565b820191906000526020600020905b81548152906001019060200180831161091357829003601f168201915b5050505050905090565b6000610945826117e9565b610959576109596333d1c03960e21b611810565b506000908152600660205260409020546001600160a01b031690565b6109818282600161181a565b5050565b61098d6118bd565b600980546001600160a01b0319166001600160a01b0392909216919091179055565b6109b76118bd565b600f55565b60006109c782611917565b6001600160a01b0394851694909150811684146109ed576109ed62a1148160e81b611810565b60008281526006602052604090208054338082146001600160a01b03881690911417610a3157610a1d86336107d5565b610a3157610a31632ce44b5f60e11b611810565b8015610a3c57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b8316610ac75760018401600081815260046020526040902054610ac5576000548114610ac55760008181526004602052604090208490555b505b6001600160a01b0385168481887fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a480610b0e57610b0e633a954ecd60e21b611810565b50505050505050565b610b1f6118bd565b6000610b336008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610b7d576040519150601f19603f3d011682016040523d82523d6000602084013e610b82565b606091505b5050905080610b9057600080fd5b50565b600b8054610ba0906124da565b80601f0160208091040260200160405190810160405280929190818152602001828054610bcc906124da565b8015610c195780601f10610bee57610100808354040283529160200191610c19565b820191906000526020600020905b815481529060010190602001808311610bfc57829003601f168201915b505050505081565b610c3c83838360405180602001604052806000815250610fac565b505050565b610c496118bd565b600e55565b610c566118bd565b805161098190600b906020840190611e1b565b60006108a282611917565b610c7c6118bd565b600d55565b60006001600160a01b038216610ca157610ca16323d3ad8160e21b611810565b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610ccf6118bd565b610cd96000611983565b565b610ce36118bd565b60005b8151811015610981576000828281518110610d0357610d03612546565b60200260200101519050610d18816001611401565b5080610d2381612515565b915050610ce6565b6060600380546108b7906124da565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610dae6118bd565b600a80546001600160a01b0319166001600160a01b0392909216919091179055565b600c5460ff1615610e1d5760405162461bcd60e51b815260206004820152601260248201527110dbdb9d1c9858dd081a5cc81c185d5cd95960721b60448201526064015b60405180910390fd5b60008111610e3d5760405162461bcd60e51b8152600401610e14906123c1565b600d5481610e4e6001546000540390565b610e589190612477565b1115610e9a5760405162461bcd60e51b81526020600482015260116024820152701391950814dd5c1c1b1e4814185cdcd959607a1b6044820152606401610e14565b600c546301000000900461ffff16811115610ec75760405162461bcd60e51b8152600401610e1490612405565b6008546001600160a01b03163314610f295780600e54610ee7919061248f565b341015610f295760405162461bcd60e51b815260206004820152601060248201526f4e6f7420656e6f7567682046756e647360801b6044820152606401610e14565b80600f1415610f4657610b9033610f41836005612477565b6119d5565b600c8110610f5d57610b9033610f41836004612477565b60098110610f7457610b9033610f41836003612477565b60068110610f8b57610b9033610f41836002612477565b60038110610fa257610b9033610f41836001612477565b610b9033826119d5565b610fb78484846109bc565b6001600160a01b0383163b15610fe757610fd384848484611a8c565b610fe757610fe76368d2bf6b60e11b611810565b50505050565b610ff56118bd565b600c805460ff19811660ff90911615179055565b6060611014826117e9565b6110785760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610e14565b6000611082611b7b565b905060008151116110a257604051806020016040528060008152506110cd565b806110ac84611b8a565b6040516020016110bd929190612342565b6040516020818303038152906040525b9392505050565b6110dc6118bd565b6109818282611401565b6110ee6118bd565b600c805461ffff909216650100000000000266ffff000000000019909216919091179055565b600c54610100900460ff1661115f5760405162461bcd60e51b815260206004820152601160248201527010db185a5b481b9bdd08195b98589b1959607a1b6044820152606401610e14565b604080513360601b6bffffffffffffffffffffffff1916602080830191909152603480830187905283518084039091018152605490920190925280519101206111db90838380806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250611c2792505050565b6112175760405162461bcd60e51b815260206004820152600d60248201526c24b73b30b634b210383937b7b360991b6044820152606401610e14565b3360009081526010602052604090205460ff16156112695760405162461bcd60e51b815260206004820152600f60248201526e105b1c9958591e4810db185a5b5959608a1b6044820152606401610e14565b6112733384611401565b5050336000908152601060205260409020805460ff1916600117905550565b61129a6118bd565b600c805461ff001981166101009182900460ff1615909102179055565b6112bf6118bd565b6001600160a01b03929092166000908152601160209081526040808320805460ff191695151595909517909455601290529190912055565b6112ff6118bd565b600c805461ffff90921663010000000264ffff00000019909216919091179055565b6113296118bd565b6001600160a01b03811661138e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610e14565b610b9081611983565b6009546001600160a01b031633146114015760405162461bcd60e51b815260206004820152602760248201527f536f72727920796f7520646f6e27742068617665207065726d697373696f6e206044820152661d1bc81b5a5b9d60ca1b6064820152608401610e14565b6109818282611c36565b600c5462010000900460ff16156114595760405162461bcd60e51b815260206004820152601260248201527110dbdb9d1c9858dd081a5cc81c185d5cd95960721b6044820152606401610e14565b600082116114795760405162461bcd60e51b8152600401610e14906123c1565b600d548261148a6001546000540390565b6114949190612477565b11156114d75760405162461bcd60e51b815260206004820152601260248201527113919514c814dd5c1c1b1e4814185cdcd95960721b6044820152606401610e14565b600c546301000000900461ffff168211156115045760405162461bcd60e51b8152600401610e1490612405565b6001600160a01b03811660009081526011602052604090205460ff166115635760405162461bcd60e51b8152602060048201526014602482015273115490cc8c081a5cc81b9bdd08185b1b1bddd95960621b6044820152606401610e14565b6001600160a01b0381166000908152601260205260409020546115c85760405162461bcd60e51b815260206004820152601860248201527f4552433230204d696e74207072696365206e6f742073657400000000000000006044820152606401610e14565b6001600160a01b0381166000908152601260205260409020546115ec90839061248f565b604051636eb1769f60e11b81523360048201523060248201526001600160a01b0383169063dd62ed3e9060440160206040518083038186803b15801561163157600080fd5b505afa158015611645573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611669919061225b565b10156116ae5760405162461bcd60e51b81526020600482015260146024820152734e6f7420656e6f75676820416c6c6f77616e636560601b6044820152606401610e14565b600a546001600160a01b0380831660008181526012602052604090205490926323b872dd9233929116906116e390879061248f565b6040516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301526044820152606401602060405180830381600087803b15801561173257600080fd5b505af1158015611746573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061176a919061217e565b5081600f14156117835761098133610f41846005612477565b600c821061179a5761098133610f41846004612477565b600982106117b15761098133610f41846003612477565b600682106117c85761098133610f41846002612477565b600382106117df5761098133610f41846001612477565b61098133836119d5565b60008054821080156108a2575050600090815260046020526040902054600160e01b161590565b8060005260046000fd5b600061182583610c69565b905081801561183d5750336001600160a01b03821614155b156118605761184c81336107d5565b611860576118606367d9dca160e11b611810565b60008381526006602052604080822080546001600160a01b0319166001600160a01b0388811691821790925591518693918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a450505050565b6008546001600160a01b03163314610cd95760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610e14565b600081815260046020526040902054600160e01b8116611973578061196e57600054821061194f5761194f636f96cda160e11b611810565b5b50600019016000818152600460205260409020548061196e57611950565b919050565b61196e636f96cda160e11b611810565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600054816119ed576119ed63b562e8dd60e01b611810565b60008181526004602090815260408083206001600160a01b0387164260a01b6001881460e11b1781179091558084526005909252909120805468010000000000000001850201905580611a4957611a49622e076360e81b611810565b818301825b808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a460010180821415611a4e575060005550505050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611ac1903390899088908890600401612371565b602060405180830381600087803b158015611adb57600080fd5b505af1925050508015611b0b575060408051601f3d908101601f19168201909252611b08918101906121d1565b60015b611b5d573d808015611b39576040519150601f19603f3d011682016040523d82523d6000602084013e611b3e565b606091505b508051611b5557611b556368d2bf6b60e11b611810565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600b80546108b7906124da565b60606000611b9783611c50565b600101905060008167ffffffffffffffff811115611bb757611bb761255c565b6040519080825280601f01601f191660200182016040528015611be1576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a8504945084611c1a57611c1f565b611beb565b509392505050565b60006110cd82600f5485611d28565b610981828260405180602001604052806000815250611d3e565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310611c8f5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611cbb576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310611cd957662386f26fc10000830492506010015b6305f5e1008310611cf1576305f5e100830492506008015b6127108310611d0557612710830492506004015b60648310611d17576064830492506002015b600a83106108a25760010192915050565b600082611d358584611da7565b14949350505050565b611d4883836119d5565b6001600160a01b0383163b15610c3c576000548281035b611d726000868380600101945086611a8c565b611d8657611d866368d2bf6b60e11b611810565b818110611d5f578160005414611da057611da06000611810565b5050505050565b600081815b8451811015611c1f57611dd882868381518110611dcb57611dcb612546565b6020026020010151611dec565b915080611de481612515565b915050611dac565b6000818310611e085760008281526020849052604090206110cd565b60008381526020839052604090206110cd565b828054611e27906124da565b90600052602060002090601f016020900481019282611e495760008555611e8f565b82601f10611e6257805160ff1916838001178555611e8f565b82800160010185558215611e8f579182015b82811115611e8f578251825591602001919060010190611e74565b50611e9b929150611e9f565b5090565b5b80821115611e9b5760008155600101611ea0565b600067ffffffffffffffff831115611ece57611ece61255c565b611ee1601f8401601f1916602001612446565b9050828152838383011115611ef557600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b038116811461196e57600080fd5b600060208284031215611f3557600080fd5b6110cd82611f0c565b60008060408385031215611f5157600080fd5b611f5a83611f0c565b9150611f6860208401611f0c565b90509250929050565b600080600060608486031215611f8657600080fd5b611f8f84611f0c565b9250611f9d60208501611f0c565b9150604084013590509250925092565b60008060008060808587031215611fc357600080fd5b611fcc85611f0c565b9350611fda60208601611f0c565b925060408501359150606085013567ffffffffffffffff811115611ffd57600080fd5b8501601f8101871361200e57600080fd5b61201d87823560208401611eb4565b91505092959194509250565b6000806040838503121561203c57600080fd5b61204583611f0c565b9150602083013561205581612572565b809150509250929050565b6000806040838503121561207357600080fd5b61207c83611f0c565b946020939093013593505050565b60008060006060848603121561209f57600080fd5b6120a884611f0c565b92506020840135915060408401356120bf81612572565b809150509250925092565b600060208083850312156120dd57600080fd5b823567ffffffffffffffff808211156120f557600080fd5b818501915085601f83011261210957600080fd5b81358181111561211b5761211b61255c565b8060051b915061212c848301612446565b8181528481019084860184860187018a101561214757600080fd5b600095505b838610156121715761215d81611f0c565b83526001959095019491860191860161214c565b5098975050505050505050565b60006020828403121561219057600080fd5b81516110cd81612572565b6000602082840312156121ad57600080fd5b5035919050565b6000602082840312156121c657600080fd5b81356110cd81612580565b6000602082840312156121e357600080fd5b81516110cd81612580565b60006020828403121561220057600080fd5b813567ffffffffffffffff81111561221757600080fd5b8201601f8101841361222857600080fd5b611b7384823560208401611eb4565b60006020828403121561224957600080fd5b813561ffff811681146110cd57600080fd5b60006020828403121561226d57600080fd5b5051919050565b6000806040838503121561228757600080fd5b82359150611f6860208401611f0c565b6000806000604084860312156122ac57600080fd5b83359250602084013567ffffffffffffffff808211156122cb57600080fd5b818601915086601f8301126122df57600080fd5b8135818111156122ee57600080fd5b8760208260051b850101111561230357600080fd5b6020830194508093505050509250925092565b6000815180845261232e8160208601602086016124ae565b601f01601f19169290920160200192915050565b600083516123548184602088016124ae565b8351908301906123688183602088016124ae565b01949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906123a490830184612316565b9695505050505050565b6020815260006110cd6020830184612316565b60208082526024908201527f4d696e7420616d6f756e742073686f756c6420626520677265617465722074686040820152630616e20360e41b606082015260800190565b60208082526021908201527f506173736564204d696e74206c696d697420706572207472616e73616374696f6040820152603760f91b606082015260800190565b604051601f8201601f1916810167ffffffffffffffff8111828210171561246f5761246f61255c565b604052919050565b6000821982111561248a5761248a612530565b500190565b60008160001904831182151516156124a9576124a9612530565b500290565b60005b838110156124c95781810151838201526020016124b1565b83811115610fe75750506000910152565b600181811c908216806124ee57607f821691505b6020821081141561250f57634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561252957612529612530565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b8015158114610b9057600080fd5b6001600160e01b031981168114610b9057600080fdfea2646970667358221220376821a031b718bb781438949073e2850cbe7c779a41d49939d09f98b710708d64736f6c634300080700330000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002e68747470733a2f2f6170692e6f726967696e616c617065636c75622e696f2f6f67636f6d6963732f746f6b656e2f000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106102885760003560e01c80638cc080251161015a578063c87b56dd116100c1578063e459ad021161007a578063e459ad021461077a578063e97800cb1461079a578063e985e9c5146107ba578063f2fde38b14610803578063f4da184614610823578063ff0eab461461084357600080fd5b8063c87b56dd146106dc578063cbce4c97146106fc578063cef117291461071c578063cf70b8481461073c578063d11297451461074f578063d5abeb011461076457600080fd5b8063a67ba02711610113578063a67ba02714610628578063afd8fe5b14610648578063b88d4fde1461065b578063bbb897441461066e578063bc951b91146106a3578063c4ae3168146106c757600080fd5b80638cc080251461054c5780638da5cb5b1461058557806395d89b41146105a35780639e884605146105b85780639ebc3e07146105d8578063a22cb4651461060857600080fd5b806341827f13116101fe5780636aaffa36116101b75780636aaffa361461048b5780636dc7a627146104b85780636f8b44b0146104d757806370a08231146104f7578063715018a614610517578063729ad39e1461052c57600080fd5b806341827f13146103e957806342842e0e146103fe57806344a0d68a1461041157806355f804b3146104315780635c975abb146104515780636352211e1461046b57600080fd5b806313faede61161025057806313faede61461035157806318160ddd1461037557806321b97f201461038e57806323b872dd146103ae5780632bac46df146103c15780633ccfd60b146103e157600080fd5b806301ffc9a71461028d57806306fdde03146102c2578063081812fc146102e4578063095ea7b31461031c57806309e7fe1b14610331575b600080fd5b34801561029957600080fd5b506102ad6102a83660046121b4565b610856565b60405190151581526020015b60405180910390f35b3480156102ce57600080fd5b506102d76108a8565b6040516102b991906123ae565b3480156102f057600080fd5b506103046102ff36600461219b565b61093a565b6040516001600160a01b0390911681526020016102b9565b61032f61032a366004612060565b610975565b005b34801561033d57600080fd5b5061032f61034c366004611f23565b610985565b34801561035d57600080fd5b50610367600e5481565b6040519081526020016102b9565b34801561038157600080fd5b5060015460005403610367565b34801561039a57600080fd5b5061032f6103a936600461219b565b6109af565b61032f6103bc366004611f71565b6109bc565b3480156103cd57600080fd5b50600c546102ad9062010000900460ff1681565b61032f610b17565b3480156103f557600080fd5b506102d7610b93565b61032f61040c366004611f71565b610c21565b34801561041d57600080fd5b5061032f61042c36600461219b565b610c41565b34801561043d57600080fd5b5061032f61044c3660046121ee565b610c4e565b34801561045d57600080fd5b50600c546102ad9060ff1681565b34801561047757600080fd5b5061030461048636600461219b565b610c69565b34801561049757600080fd5b506103676104a6366004611f23565b60126020526000908152604090205481565b3480156104c457600080fd5b50600c546102ad90610100900460ff1681565b3480156104e357600080fd5b5061032f6104f236600461219b565b610c74565b34801561050357600080fd5b50610367610512366004611f23565b610c81565b34801561052357600080fd5b5061032f610cc7565b34801561053857600080fd5b5061032f6105473660046120ca565b610cdb565b34801561055857600080fd5b506102ad610567366004611f23565b6001600160a01b031660009081526010602052604090205460ff1690565b34801561059157600080fd5b506008546001600160a01b0316610304565b3480156105af57600080fd5b506102d7610d2b565b3480156105c457600080fd5b50600a54610304906001600160a01b031681565b3480156105e457600080fd5b506102ad6105f3366004611f23565b60116020526000908152604090205460ff1681565b34801561061457600080fd5b5061032f610623366004612029565b610d3a565b34801561063457600080fd5b5061032f610643366004611f23565b610da6565b61032f61065636600461219b565b610dd0565b61032f610669366004611fad565b610fac565b34801561067a57600080fd5b50600c54610690906301000000900461ffff1681565b60405161ffff90911681526020016102b9565b3480156106af57600080fd5b50600c546106909065010000000000900461ffff1681565b3480156106d357600080fd5b5061032f610fed565b3480156106e857600080fd5b506102d76106f736600461219b565b611009565b34801561070857600080fd5b5061032f610717366004612060565b6110d4565b34801561072857600080fd5b5061032f610737366004612237565b6110e6565b61032f61074a366004612297565b611114565b34801561075b57600080fd5b5061032f611292565b34801561077057600080fd5b50610367600d5481565b34801561078657600080fd5b5061032f61079536600461208a565b6112b7565b3480156107a657600080fd5b5061032f6107b5366004612237565b6112f7565b3480156107c657600080fd5b506102ad6107d5366004611f3e565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561080f57600080fd5b5061032f61081e366004611f23565b611321565b34801561082f57600080fd5b5061032f61083e366004612060565b611397565b61032f610851366004612274565b61140b565b60006301ffc9a760e01b6001600160e01b03198316148061088757506380ac58cd60e01b6001600160e01b03198316145b806108a25750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546108b7906124da565b80601f01602080910402602001604051908101604052809291908181526020018280546108e3906124da565b80156109305780601f1061090557610100808354040283529160200191610930565b820191906000526020600020905b81548152906001019060200180831161091357829003601f168201915b5050505050905090565b6000610945826117e9565b610959576109596333d1c03960e21b611810565b506000908152600660205260409020546001600160a01b031690565b6109818282600161181a565b5050565b61098d6118bd565b600980546001600160a01b0319166001600160a01b0392909216919091179055565b6109b76118bd565b600f55565b60006109c782611917565b6001600160a01b0394851694909150811684146109ed576109ed62a1148160e81b611810565b60008281526006602052604090208054338082146001600160a01b03881690911417610a3157610a1d86336107d5565b610a3157610a31632ce44b5f60e11b611810565b8015610a3c57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b8316610ac75760018401600081815260046020526040902054610ac5576000548114610ac55760008181526004602052604090208490555b505b6001600160a01b0385168481887fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a480610b0e57610b0e633a954ecd60e21b611810565b50505050505050565b610b1f6118bd565b6000610b336008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610b7d576040519150601f19603f3d011682016040523d82523d6000602084013e610b82565b606091505b5050905080610b9057600080fd5b50565b600b8054610ba0906124da565b80601f0160208091040260200160405190810160405280929190818152602001828054610bcc906124da565b8015610c195780601f10610bee57610100808354040283529160200191610c19565b820191906000526020600020905b815481529060010190602001808311610bfc57829003601f168201915b505050505081565b610c3c83838360405180602001604052806000815250610fac565b505050565b610c496118bd565b600e55565b610c566118bd565b805161098190600b906020840190611e1b565b60006108a282611917565b610c7c6118bd565b600d55565b60006001600160a01b038216610ca157610ca16323d3ad8160e21b611810565b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610ccf6118bd565b610cd96000611983565b565b610ce36118bd565b60005b8151811015610981576000828281518110610d0357610d03612546565b60200260200101519050610d18816001611401565b5080610d2381612515565b915050610ce6565b6060600380546108b7906124da565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610dae6118bd565b600a80546001600160a01b0319166001600160a01b0392909216919091179055565b600c5460ff1615610e1d5760405162461bcd60e51b815260206004820152601260248201527110dbdb9d1c9858dd081a5cc81c185d5cd95960721b60448201526064015b60405180910390fd5b60008111610e3d5760405162461bcd60e51b8152600401610e14906123c1565b600d5481610e4e6001546000540390565b610e589190612477565b1115610e9a5760405162461bcd60e51b81526020600482015260116024820152701391950814dd5c1c1b1e4814185cdcd959607a1b6044820152606401610e14565b600c546301000000900461ffff16811115610ec75760405162461bcd60e51b8152600401610e1490612405565b6008546001600160a01b03163314610f295780600e54610ee7919061248f565b341015610f295760405162461bcd60e51b815260206004820152601060248201526f4e6f7420656e6f7567682046756e647360801b6044820152606401610e14565b80600f1415610f4657610b9033610f41836005612477565b6119d5565b600c8110610f5d57610b9033610f41836004612477565b60098110610f7457610b9033610f41836003612477565b60068110610f8b57610b9033610f41836002612477565b60038110610fa257610b9033610f41836001612477565b610b9033826119d5565b610fb78484846109bc565b6001600160a01b0383163b15610fe757610fd384848484611a8c565b610fe757610fe76368d2bf6b60e11b611810565b50505050565b610ff56118bd565b600c805460ff19811660ff90911615179055565b6060611014826117e9565b6110785760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610e14565b6000611082611b7b565b905060008151116110a257604051806020016040528060008152506110cd565b806110ac84611b8a565b6040516020016110bd929190612342565b6040516020818303038152906040525b9392505050565b6110dc6118bd565b6109818282611401565b6110ee6118bd565b600c805461ffff909216650100000000000266ffff000000000019909216919091179055565b600c54610100900460ff1661115f5760405162461bcd60e51b815260206004820152601160248201527010db185a5b481b9bdd08195b98589b1959607a1b6044820152606401610e14565b604080513360601b6bffffffffffffffffffffffff1916602080830191909152603480830187905283518084039091018152605490920190925280519101206111db90838380806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250611c2792505050565b6112175760405162461bcd60e51b815260206004820152600d60248201526c24b73b30b634b210383937b7b360991b6044820152606401610e14565b3360009081526010602052604090205460ff16156112695760405162461bcd60e51b815260206004820152600f60248201526e105b1c9958591e4810db185a5b5959608a1b6044820152606401610e14565b6112733384611401565b5050336000908152601060205260409020805460ff1916600117905550565b61129a6118bd565b600c805461ff001981166101009182900460ff1615909102179055565b6112bf6118bd565b6001600160a01b03929092166000908152601160209081526040808320805460ff191695151595909517909455601290529190912055565b6112ff6118bd565b600c805461ffff90921663010000000264ffff00000019909216919091179055565b6113296118bd565b6001600160a01b03811661138e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610e14565b610b9081611983565b6009546001600160a01b031633146114015760405162461bcd60e51b815260206004820152602760248201527f536f72727920796f7520646f6e27742068617665207065726d697373696f6e206044820152661d1bc81b5a5b9d60ca1b6064820152608401610e14565b6109818282611c36565b600c5462010000900460ff16156114595760405162461bcd60e51b815260206004820152601260248201527110dbdb9d1c9858dd081a5cc81c185d5cd95960721b6044820152606401610e14565b600082116114795760405162461bcd60e51b8152600401610e14906123c1565b600d548261148a6001546000540390565b6114949190612477565b11156114d75760405162461bcd60e51b815260206004820152601260248201527113919514c814dd5c1c1b1e4814185cdcd95960721b6044820152606401610e14565b600c546301000000900461ffff168211156115045760405162461bcd60e51b8152600401610e1490612405565b6001600160a01b03811660009081526011602052604090205460ff166115635760405162461bcd60e51b8152602060048201526014602482015273115490cc8c081a5cc81b9bdd08185b1b1bddd95960621b6044820152606401610e14565b6001600160a01b0381166000908152601260205260409020546115c85760405162461bcd60e51b815260206004820152601860248201527f4552433230204d696e74207072696365206e6f742073657400000000000000006044820152606401610e14565b6001600160a01b0381166000908152601260205260409020546115ec90839061248f565b604051636eb1769f60e11b81523360048201523060248201526001600160a01b0383169063dd62ed3e9060440160206040518083038186803b15801561163157600080fd5b505afa158015611645573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611669919061225b565b10156116ae5760405162461bcd60e51b81526020600482015260146024820152734e6f7420656e6f75676820416c6c6f77616e636560601b6044820152606401610e14565b600a546001600160a01b0380831660008181526012602052604090205490926323b872dd9233929116906116e390879061248f565b6040516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301526044820152606401602060405180830381600087803b15801561173257600080fd5b505af1158015611746573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061176a919061217e565b5081600f14156117835761098133610f41846005612477565b600c821061179a5761098133610f41846004612477565b600982106117b15761098133610f41846003612477565b600682106117c85761098133610f41846002612477565b600382106117df5761098133610f41846001612477565b61098133836119d5565b60008054821080156108a2575050600090815260046020526040902054600160e01b161590565b8060005260046000fd5b600061182583610c69565b905081801561183d5750336001600160a01b03821614155b156118605761184c81336107d5565b611860576118606367d9dca160e11b611810565b60008381526006602052604080822080546001600160a01b0319166001600160a01b0388811691821790925591518693918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a450505050565b6008546001600160a01b03163314610cd95760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610e14565b600081815260046020526040902054600160e01b8116611973578061196e57600054821061194f5761194f636f96cda160e11b611810565b5b50600019016000818152600460205260409020548061196e57611950565b919050565b61196e636f96cda160e11b611810565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600054816119ed576119ed63b562e8dd60e01b611810565b60008181526004602090815260408083206001600160a01b0387164260a01b6001881460e11b1781179091558084526005909252909120805468010000000000000001850201905580611a4957611a49622e076360e81b611810565b818301825b808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a460010180821415611a4e575060005550505050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611ac1903390899088908890600401612371565b602060405180830381600087803b158015611adb57600080fd5b505af1925050508015611b0b575060408051601f3d908101601f19168201909252611b08918101906121d1565b60015b611b5d573d808015611b39576040519150601f19603f3d011682016040523d82523d6000602084013e611b3e565b606091505b508051611b5557611b556368d2bf6b60e11b611810565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600b80546108b7906124da565b60606000611b9783611c50565b600101905060008167ffffffffffffffff811115611bb757611bb761255c565b6040519080825280601f01601f191660200182016040528015611be1576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a8504945084611c1a57611c1f565b611beb565b509392505050565b60006110cd82600f5485611d28565b610981828260405180602001604052806000815250611d3e565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310611c8f5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611cbb576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310611cd957662386f26fc10000830492506010015b6305f5e1008310611cf1576305f5e100830492506008015b6127108310611d0557612710830492506004015b60648310611d17576064830492506002015b600a83106108a25760010192915050565b600082611d358584611da7565b14949350505050565b611d4883836119d5565b6001600160a01b0383163b15610c3c576000548281035b611d726000868380600101945086611a8c565b611d8657611d866368d2bf6b60e11b611810565b818110611d5f578160005414611da057611da06000611810565b5050505050565b600081815b8451811015611c1f57611dd882868381518110611dcb57611dcb612546565b6020026020010151611dec565b915080611de481612515565b915050611dac565b6000818310611e085760008281526020849052604090206110cd565b60008381526020839052604090206110cd565b828054611e27906124da565b90600052602060002090601f016020900481019282611e495760008555611e8f565b82601f10611e6257805160ff1916838001178555611e8f565b82800160010185558215611e8f579182015b82811115611e8f578251825591602001919060010190611e74565b50611e9b929150611e9f565b5090565b5b80821115611e9b5760008155600101611ea0565b600067ffffffffffffffff831115611ece57611ece61255c565b611ee1601f8401601f1916602001612446565b9050828152838383011115611ef557600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b038116811461196e57600080fd5b600060208284031215611f3557600080fd5b6110cd82611f0c565b60008060408385031215611f5157600080fd5b611f5a83611f0c565b9150611f6860208401611f0c565b90509250929050565b600080600060608486031215611f8657600080fd5b611f8f84611f0c565b9250611f9d60208501611f0c565b9150604084013590509250925092565b60008060008060808587031215611fc357600080fd5b611fcc85611f0c565b9350611fda60208601611f0c565b925060408501359150606085013567ffffffffffffffff811115611ffd57600080fd5b8501601f8101871361200e57600080fd5b61201d87823560208401611eb4565b91505092959194509250565b6000806040838503121561203c57600080fd5b61204583611f0c565b9150602083013561205581612572565b809150509250929050565b6000806040838503121561207357600080fd5b61207c83611f0c565b946020939093013593505050565b60008060006060848603121561209f57600080fd5b6120a884611f0c565b92506020840135915060408401356120bf81612572565b809150509250925092565b600060208083850312156120dd57600080fd5b823567ffffffffffffffff808211156120f557600080fd5b818501915085601f83011261210957600080fd5b81358181111561211b5761211b61255c565b8060051b915061212c848301612446565b8181528481019084860184860187018a101561214757600080fd5b600095505b838610156121715761215d81611f0c565b83526001959095019491860191860161214c565b5098975050505050505050565b60006020828403121561219057600080fd5b81516110cd81612572565b6000602082840312156121ad57600080fd5b5035919050565b6000602082840312156121c657600080fd5b81356110cd81612580565b6000602082840312156121e357600080fd5b81516110cd81612580565b60006020828403121561220057600080fd5b813567ffffffffffffffff81111561221757600080fd5b8201601f8101841361222857600080fd5b611b7384823560208401611eb4565b60006020828403121561224957600080fd5b813561ffff811681146110cd57600080fd5b60006020828403121561226d57600080fd5b5051919050565b6000806040838503121561228757600080fd5b82359150611f6860208401611f0c565b6000806000604084860312156122ac57600080fd5b83359250602084013567ffffffffffffffff808211156122cb57600080fd5b818601915086601f8301126122df57600080fd5b8135818111156122ee57600080fd5b8760208260051b850101111561230357600080fd5b6020830194508093505050509250925092565b6000815180845261232e8160208601602086016124ae565b601f01601f19169290920160200192915050565b600083516123548184602088016124ae565b8351908301906123688183602088016124ae565b01949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906123a490830184612316565b9695505050505050565b6020815260006110cd6020830184612316565b60208082526024908201527f4d696e7420616d6f756e742073686f756c6420626520677265617465722074686040820152630616e20360e41b606082015260800190565b60208082526021908201527f506173736564204d696e74206c696d697420706572207472616e73616374696f6040820152603760f91b606082015260800190565b604051601f8201601f1916810167ffffffffffffffff8111828210171561246f5761246f61255c565b604052919050565b6000821982111561248a5761248a612530565b500190565b60008160001904831182151516156124a9576124a9612530565b500290565b60005b838110156124c95781810151838201526020016124b1565b83811115610fe75750506000910152565b600181811c908216806124ee57607f821691505b6020821081141561250f57634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561252957612529612530565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b8015158114610b9057600080fd5b6001600160e01b031981168114610b9057600080fdfea2646970667358221220376821a031b718bb781438949073e2850cbe7c779a41d49939d09f98b710708d64736f6c63430008070033

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

0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002e68747470733a2f2f6170692e6f726967696e616c617065636c75622e696f2f6f67636f6d6963732f746f6b656e2f000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _baseUrl (string): https://api.originalapeclub.io/ogcomics/token/

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 000000000000000000000000000000000000000000000000000000000000002e
Arg [2] : 68747470733a2f2f6170692e6f726967696e616c617065636c75622e696f2f6f
Arg [3] : 67636f6d6963732f746f6b656e2f000000000000000000000000000000000000


Deployed Bytecode Sourcemap

84466:7618:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49815:639;;;;;;;;;;-1:-1:-1;49815:639:0;;;;;:::i;:::-;;:::i;:::-;;;9791:14:1;;9784:22;9766:41;;9754:2;9739:18;49815:639:0;;;;;;;;50717:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;57144:227::-;;;;;;;;;;-1:-1:-1;57144:227:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;8400:32:1;;;8382:51;;8370:2;8355:18;57144:227:0;8236:203:1;56861:124:0;;;;;;:::i;:::-;;:::i;:::-;;88270:113;;;;;;;;;;-1:-1:-1;88270:113:0;;;;;:::i;:::-;;:::i;85109:33::-;;;;;;;;;;;;;;;;;;;16248:25:1;;;16236:2;16221:18;85109:33:0;16102:177:1;46459:323:0;;;;;;;;;;-1:-1:-1;46733:12:0;;46520:7;46717:13;:28;46459:323;;88719:90;;;;;;;;;;-1:-1:-1;88719:90:0;;;;;:::i;:::-;;:::i;60792:3523::-;;;;;;:::i;:::-;;:::i;84863:38::-;;;;;;;;;;-1:-1:-1;84863:38:0;;;;;;;;;;;91926:155;;;:::i;84748:24::-;;;;;;;;;;;;;:::i;64411:193::-;;;;;;:::i;:::-;;:::i;90775:86::-;;;;;;;;;;-1:-1:-1;90775:86:0;;;;;:::i;:::-;;:::i;91513:107::-;;;;;;;;;;-1:-1:-1;91513:107:0;;;;;:::i;:::-;;:::i;84796:26::-;;;;;;;;;;-1:-1:-1;84796:26:0;;;;;;;;52119:152;;;;;;;;;;-1:-1:-1;52119:152:0;;;;;:::i;:::-;;:::i;85323:50::-;;;;;;;;;;-1:-1:-1;85323:50:0;;;;;:::i;:::-;;;;;;;;;;;;;;84829:27;;;;;;;;;;-1:-1:-1;84829:27:0;;;;;;;;;;;91411:94;;;;;;;;;;-1:-1:-1;91411:94:0;;;;;:::i;:::-;;:::i;47643:242::-;;;;;;;;;;-1:-1:-1;47643:242:0;;;;;:::i;:::-;;:::i;20944:103::-;;;;;;;;;;;;;:::i;89919:234::-;;;;;;;;;;-1:-1:-1;89919:234:0;;;;;:::i;:::-;;:::i;89688:104::-;;;;;;;;;;-1:-1:-1;89688:104:0;;;;;:::i;:::-;-1:-1:-1;;;;;89770:14:0;89746:4;89770:14;;;:6;:14;;;;;;;;;89688:104;20296:87;;;;;;;;;;-1:-1:-1;20369:6:0;;-1:-1:-1;;;;;20369:6:0;20296:87;;50893:104;;;;;;;;;;;;;:::i;84664:75::-;;;;;;;;;;-1:-1:-1;84664:75:0;;;;-1:-1:-1;;;;;84664:75:0;;;85271:45;;;;;;;;;;-1:-1:-1;85271:45:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;57711:234;;;;;;;;;;-1:-1:-1;57711:234:0;;;;;:::i;:::-;;:::i;91040:99::-;;;;;;;;;;-1:-1:-1;91040:99:0;;;;;:::i;:::-;;:::i;85677:975::-;;;;;;:::i;:::-;;:::i;65202:416::-;;;;;;:::i;:::-;;:::i;84934:46::-;;;;;;;;;;-1:-1:-1;84934:46:0;;;;;;;;;;;;;;16083:6:1;16071:19;;;16053:38;;16041:2;16026:18;84934:46:0;15909:188:1;84987:42:0;;;;;;;;;;-1:-1:-1;84987:42:0;;;;;;;;;;;91628:75;;;;;;;;;;;;;:::i;90280:487::-;;;;;;;;;;-1:-1:-1;90280:487:0;;;;;:::i;:::-;;:::i;89800:111::-;;;;;;;;;;-1:-1:-1;89800:111:0;;;;;:::i;:::-;;:::i;91284:119::-;;;;;;;;;;-1:-1:-1;91284:119:0;;;;;:::i;:::-;;:::i;89237:443::-;;;;;;:::i;:::-;;:::i;91711:79::-;;;;;;;;;;;;;:::i;85055:31::-;;;;;;;;;;;;;;;;90870:162;;;;;;;;;;-1:-1:-1;90870:162:0;;;;;:::i;:::-;;:::i;91147:129::-;;;;;;;;;;-1:-1:-1;91147:129:0;;;;;:::i;:::-;;:::i;58102:164::-;;;;;;;;;;-1:-1:-1;58102:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;58223:25:0;;;58199:4;58223:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;58102:164;21202:201;;;;;;;;;;-1:-1:-1;21202:201:0;;;;;:::i;:::-;;:::i;88459:252::-;;;;;;;;;;-1:-1:-1;88459:252:0;;;;;:::i;:::-;;:::i;86664:1519::-;;;;;;:::i;:::-;;:::i;49815:639::-;49900:4;-1:-1:-1;;;;;;;;;50224:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;50301:25:0;;;50224:102;:179;;;-1:-1:-1;;;;;;;;;;50378:25:0;;;50224:179;50204:199;49815:639;-1:-1:-1;;49815:639:0:o;50717:100::-;50771:13;50804:5;50797:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50717:100;:::o;57144:227::-;57220:7;57245:16;57253:7;57245;:16::i;:::-;57240:73;;57263:50;-1:-1:-1;;;57263:7:0;:50::i;:::-;-1:-1:-1;57333:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;57333:30:0;;57144:227::o;56861:124::-;56950:27;56959:2;56963:7;56972:4;56950:8;:27::i;:::-;56861:124;;:::o;88270:113::-;20182:13;:11;:13::i;:::-;88346:17:::1;:29:::0;;-1:-1:-1;;;;;;88346:29:0::1;-1:-1:-1::0;;;;;88346:29:0;;;::::1;::::0;;;::::1;::::0;;88270:113::o;88719:90::-;20182:13;:11;:13::i;:::-;88784:9:::1;:17:::0;88719:90::o;60792:3523::-;60934:27;60964;60983:7;60964:18;:27::i;:::-;-1:-1:-1;;;;;61119:22:0;;;;60934:57;;-1:-1:-1;61179:45:0;;;;61175:95;;61226:44;-1:-1:-1;;;61226:7:0;:44::i;:::-;61284:27;59900:24;;;:15;:24;;;;;60128:26;;82284:10;59525:30;;;-1:-1:-1;;;;;59218:28:0;;59503:20;;;59500:56;61470:189;;61563:43;61580:4;82284:10;58102:164;:::i;61563:43::-;61558:101;;61608:51;-1:-1:-1;;;61608:7:0;:51::i;:::-;61808:15;61805:160;;;61948:1;61927:19;61920:30;61805:160;-1:-1:-1;;;;;62345:24:0;;;;;;;:18;:24;;;;;;62343:26;;-1:-1:-1;;62343:26:0;;;62414:22;;;;;;;;;62412:24;;-1:-1:-1;62412:24:0;;;55963:11;55938:23;55934:41;55921:63;-1:-1:-1;;;55921:63:0;62707:26;;;;:17;:26;;;;;:175;-1:-1:-1;;;63002:47:0;;62998:627;;63107:1;63097:11;;63075:19;63230:30;;;:17;:30;;;;;;63226:384;;63368:13;;63353:11;:28;63349:242;;63515:30;;;;:17;:30;;;;;:52;;;63349:242;63056:569;62998:627;-1:-1:-1;;;;;63757:20:0;;64137:7;63757:20;64067:4;64009:25;63738:16;;63874:299;64198:13;64194:58;;64213:39;-1:-1:-1;;;64213:7:0;:39::i;:::-;60923:3392;;;;60792:3523;;;:::o;91926:155::-;20182:13;:11;:13::i;:::-;91983:7:::1;92004;20369:6:::0;;-1:-1:-1;;;;;20369:6:0;;20296:87;92004:7:::1;-1:-1:-1::0;;;;;91996:21:0::1;92025;91996:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;91982:69;;;92070:2;92062:11;;;::::0;::::1;;91971:110;91926:155::o:0;84748:24::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;64411:193::-;64557:39;64574:4;64580:2;64584:7;64557:39;;;;;;;;;;;;:16;:39::i;:::-;64411:193;;;:::o;90775:86::-;20182:13;:11;:13::i;:::-;90838:4:::1;:15:::0;90775:86::o;91513:107::-;20182:13;:11;:13::i;:::-;91588:24;;::::1;::::0;:10:::1;::::0;:24:::1;::::0;::::1;::::0;::::1;:::i;52119:152::-:0;52191:7;52234:27;52253:7;52234:18;:27::i;91411:94::-;20182:13;:11;:13::i;:::-;91478:9:::1;:19:::0;91411:94::o;47643:242::-;47715:7;-1:-1:-1;;;;;47739:19:0;;47735:69;;47760:44;-1:-1:-1;;;47760:7:0;:44::i;:::-;-1:-1:-1;;;;;;47822:25:0;;;;;:18;:25;;;;;;41802:13;47822:55;;47643:242::o;20944:103::-;20182:13;:11;:13::i;:::-;21009:30:::1;21036:1;21009:18;:30::i;:::-;20944:103::o:0;89919:234::-;20182:13;:11;:13::i;:::-;90005:9:::1;90000:146;90024:17;:24;90020:1;:28;90000:146;;;90070:10;90083:17;90101:1;90083:20;;;;;;;;:::i;:::-;;;;;;;90070:33;;90118:16;90128:2;90132:1;90118:9;:16::i;:::-;-1:-1:-1::0;90050:3:0;::::1;::::0;::::1;:::i;:::-;;;;90000:146;;50893:104:::0;50949:13;50982:7;50975:14;;;;;:::i;57711:234::-;82284:10;57806:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;57806:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;57806:60:0;;;;;;;;;;57882:55;;9766:41:1;;;57806:49:0;;82284:10;57882:55;;9739:18:1;57882:55:0;;;;;;;57711:234;;:::o;91040:99::-;20182:13;:11;:13::i;:::-;91111:15:::1;:20:::0;;-1:-1:-1;;;;;;91111:20:0::1;-1:-1:-1::0;;;;;91111:20:0;;;::::1;::::0;;;::::1;::::0;;91040:99::o;85677:975::-;85749:6;;;;85748:7;85740:38;;;;-1:-1:-1;;;85740:38:0;;15362:2:1;85740:38:0;;;15344:21:1;15401:2;15381:18;;;15374:30;-1:-1:-1;;;15420:18:1;;;15413:48;15478:18;;85740:38:0;;;;;;;;;85807:1;85797:7;:11;85789:60;;;;-1:-1:-1;;;85789:60:0;;;;;;;:::i;:::-;85897:9;;85885:7;85869:13;46733:12;;46520:7;46717:13;:28;;46459:323;85869:13;:23;;;;:::i;:::-;85868:38;;85860:68;;;;-1:-1:-1;;;85860:68:0;;12795:2:1;85860:68:0;;;12777:21:1;12834:2;12814:18;;;12807:30;-1:-1:-1;;;12853:18:1;;;12846:47;12910:18;;85860:68:0;12593:341:1;85860:68:0;85959:27;;;;;;;85948:38;;;85939:85;;;;-1:-1:-1;;;85939:85:0;;;;;;;:::i;:::-;20369:6;;-1:-1:-1;;;;;20369:6:0;86062:10;:21;86059:111;;86129:7;86122:4;;:14;;;;:::i;:::-;86108:9;:29;;86100:58;;;;-1:-1:-1;;;86100:58:0;;10244:2:1;86100:58:0;;;10226:21:1;10283:2;10263:18;;;10256:30;-1:-1:-1;;;10302:18:1;;;10295:46;10358:18;;86100:58:0;10042:340:1;86100:58:0;86184:7;86195:2;86184:13;86181:461;;;86214:30;86220:10;86232:11;:7;86242:1;86232:11;:::i;:::-;86214:5;:30::i;86181:461::-;86277:2;86266:7;:13;86262:380;;86296:30;86302:10;86314:11;:7;86324:1;86314:11;:::i;86262:380::-;86358:1;86347:7;:12;86344:298;;86377:30;86383:10;86395:11;:7;86405:1;86395:11;:::i;86344:298::-;86439:1;86428:7;:12;86425:217;;86457:30;86463:10;86475:11;:7;86485:1;86475:11;:::i;86425:217::-;86520:1;86509:7;:12;86505:137;;86541:30;86547:10;86559:11;:7;86569:1;86559:11;:::i;86505:137::-;86603:26;86609:10;86621:7;86603:5;:26::i;65202:416::-;65377:31;65390:4;65396:2;65400:7;65377:12;:31::i;:::-;-1:-1:-1;;;;;65423:14:0;;;:19;65419:192;;65462:56;65493:4;65499:2;65503:7;65512:5;65462:30;:56::i;:::-;65457:154;;65539:56;-1:-1:-1;;;65539:7:0;:56::i;:::-;65202:416;;;;:::o;91628:75::-;20182:13;:11;:13::i;:::-;91689:6:::1;::::0;;-1:-1:-1;;91679:16:0;::::1;91689:6;::::0;;::::1;91688:7;91679:16;::::0;;91628:75::o;90280:487::-;90398:13;90451:16;90459:7;90451;:16::i;:::-;90429:113;;;;-1:-1:-1;;;90429:113:0;;13502:2:1;90429:113:0;;;13484:21:1;13541:2;13521:18;;;13514:30;13580:34;13560:18;;;13553:62;-1:-1:-1;;;13631:18:1;;;13624:45;13686:19;;90429:113:0;13300:411:1;90429:113:0;90553:28;90584:10;:8;:10::i;:::-;90553:41;;90656:1;90631:14;90625:28;:32;:134;;;;;;;;;;;;;;;;;90701:14;90717:18;:7;:16;:18::i;:::-;90684:52;;;;;;;;;:::i;:::-;;;;;;;;;;;;;90625:134;90605:154;90280:487;-1:-1:-1;;;90280:487:0:o;89800:111::-;20182:13;:11;:13::i;:::-;89876:27:::1;89886:3;89891:11;89876:9;:27::i;91284:119::-:0;20182:13;:11;:13::i;:::-;91363:22:::1;:32:::0;;::::1;::::0;;::::1;::::0;::::1;-1:-1:-1::0;;91363:32:0;;::::1;::::0;;;::::1;::::0;;91284:119::o;89237:443::-;89384:8;;;;;;;89376:38;;;;-1:-1:-1;;;89376:38:0;;12449:2:1;89376:38:0;;;12431:21:1;12488:2;12468:18;;;12461:30;-1:-1:-1;;;12507:18:1;;;12500:47;12564:18;;89376:38:0;12247:341:1;89376:38:0;89165:34;;;89466:10;7429:2:1;7425:15;-1:-1:-1;;7421:53:1;89165:34:0;;;;7409:66:1;;;;7491:12;;;;7484:28;;;89165:34:0;;;;;;;;;;7528:12:1;;;;89165:34:0;;;89155:45;;;;;89447:47;;89488:5;;89447:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;89447:12:0;;-1:-1:-1;;;89447:47:0:i;:::-;89425:110;;;;-1:-1:-1;;;89425:110:0;;15020:2:1;89425:110:0;;;15002:21:1;15059:2;15039:18;;;15032:30;-1:-1:-1;;;15078:18:1;;;15071:43;15131:18;;89425:110:0;14818:337:1;89425:110:0;89564:10;89557:18;;;;:6;:18;;;;;;;;89556:19;89548:47;;;;-1:-1:-1;;;89548:47:0;;13918:2:1;89548:47:0;;;13900:21:1;13957:2;13937:18;;;13930:30;-1:-1:-1;;;13976:18:1;;;13969:45;14031:18;;89548:47:0;13716:339:1;89548:47:0;89606:30;89616:10;89628:7;89606:9;:30::i;:::-;-1:-1:-1;;89654:10:0;89647:18;;;;:6;:18;;;;;:25;;-1:-1:-1;;89647:25:0;89668:4;89647:25;;;-1:-1:-1;89237:443:0:o;91711:79::-;20182:13;:11;:13::i;:::-;91774:8:::1;::::0;;-1:-1:-1;;91762:20:0;::::1;91774:8;::::0;;;::::1;;;91773:9;91762:20:::0;;::::1;;::::0;;91711:79::o;90870:162::-;20182:13;:11;:13::i;:::-;-1:-1:-1;;;;;90965:17:0;;;::::1;;::::0;;;:13:::1;:17;::::0;;;;;;;:24;;-1:-1:-1;;90965:24:0::1;::::0;::::1;;::::0;;;::::1;::::0;;;91000:15:::1;:19:::0;;;;;;:24;90870:162::o;91147:129::-;20182:13;:11;:13::i;:::-;91231:27:::1;:37:::0;;::::1;::::0;;::::1;::::0;::::1;-1:-1:-1::0;;91231:37:0;;::::1;::::0;;;::::1;::::0;;91147:129::o;21202:201::-;20182:13;:11;:13::i;:::-;-1:-1:-1;;;;;21291:22:0;::::1;21283:73;;;::::0;-1:-1:-1;;;21283:73:0;;10589:2:1;21283:73:0::1;::::0;::::1;10571:21:1::0;10628:2;10608:18;;;10601:30;10667:34;10647:18;;;10640:62;-1:-1:-1;;;10718:18:1;;;10711:36;10764:19;;21283:73:0::1;10387:402:1::0;21283:73:0::1;21367:28;21386:8;21367:18;:28::i;88459:252::-:0;88576:17;;-1:-1:-1;;;;;88576:17:0;88562:10;:31;88540:120;;;;-1:-1:-1;;;88540:120:0;;12041:2:1;88540:120:0;;;12023:21:1;12080:2;12060:18;;;12053:30;12119:34;12099:18;;;12092:62;-1:-1:-1;;;12170:18:1;;;12163:37;12217:19;;88540:120:0;11839:403:1;88540:120:0;88671:32;88681:8;88691:11;88671:9;:32::i;86664:1519::-;86785:18;;;;;;;86784:19;86776:50;;;;-1:-1:-1;;;86776:50:0;;15362:2:1;86776:50:0;;;15344:21:1;15401:2;15381:18;;;15374:30;-1:-1:-1;;;15420:18:1;;;15413:48;15478:18;;86776:50:0;15160:342:1;86776:50:0;86855:1;86845:7;:11;86837:60;;;;-1:-1:-1;;;86837:60:0;;;;;;;:::i;:::-;86945:9;;86933:7;86917:13;46733:12;;46520:7;46717:13;:28;;46459:323;86917:13;:23;;;;:::i;:::-;86916:38;;86908:69;;;;-1:-1:-1;;;86908:69:0;;10996:2:1;86908:69:0;;;10978:21:1;11035:2;11015:18;;;11008:30;-1:-1:-1;;;11054:18:1;;;11047:48;11112:18;;86908:69:0;10794:342:1;86908:69:0;87021:27;;;;;;;87010:38;;;86988:121;;;;-1:-1:-1;;;86988:121:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;87174:21:0;;;;;;:13;:21;;;;;;;;87166:54;;;;-1:-1:-1;;;87166:54:0;;11343:2:1;87166:54:0;;;11325:21:1;11382:2;11362:18;;;11355:30;-1:-1:-1;;;11401:18:1;;;11394:50;11461:18;;87166:54:0;11141:344:1;87166:54:0;-1:-1:-1;;;;;87280:23:0;;87306:1;87280:23;;;:15;:23;;;;;;87272:64;;;;-1:-1:-1;;;87272:64:0;;14262:2:1;87272:64:0;;;14244:21:1;14301:2;14281:18;;;14274:30;14340:26;14320:18;;;14313:54;14384:18;;87272:64:0;14060:348:1;87272:64:0;-1:-1:-1;;;;;87469:23:0;;;;;;:15;:23;;;;;;:33;;87495:7;;87469:33;:::i;:::-;87396:51;;-1:-1:-1;;;87396:51:0;;87421:10;87396:51;;;8656:34:1;87441:4:0;8706:18:1;;;8699:43;-1:-1:-1;;;;;87396:24:0;;;;;8591:18:1;;87396:51:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:107;;87374:177;;;;-1:-1:-1;;;87374:177:0;;11692:2:1;87374:177:0;;;11674:21:1;11731:2;11711:18;;;11704:30;-1:-1:-1;;;11750:18:1;;;11743:50;11810:18;;87374:177:0;11490:344:1;87374:177:0;87629:15;;-1:-1:-1;;;;;87562:27:0;;;87629:15;87659:23;;;:15;:23;;;;;;87562:27;;;;87604:10;;87629:15;;;87659:33;;87685:7;;87659:33;:::i;:::-;87562:141;;-1:-1:-1;;;;;;87562:141:0;;;;;;;-1:-1:-1;;;;;9011:15:1;;;87562:141:0;;;8993:34:1;9063:15;;;;9043:18;;;9036:43;9095:18;;;9088:34;8928:18;;87562:141:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;87720:7;87731:2;87720:13;87716:460;;;87750:30;87756:10;87768:11;:7;87778:1;87768:11;:::i;87716:460::-;87813:2;87802:7;:13;87798:378;;87832:30;87838:10;87850:11;:7;87860:1;87850:11;:::i;87798:378::-;87895:1;87884:7;:12;87880:296;;87913:30;87919:10;87931:11;:7;87941:1;87931:11;:::i;87880:296::-;87976:1;87965:7;:12;87961:215;;87994:30;88000:10;88012:11;:7;88022:1;88012:11;:::i;87961:215::-;88057:1;88046:7;:12;88042:134;;88075:30;88081:10;88093:11;:7;88103:1;88093:11;:::i;88042:134::-;88138:26;88144:10;88156:7;88138:5;:26::i;58524:282::-;58589:4;58679:13;;58669:7;:23;58626:153;;;;-1:-1:-1;;58730:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;58730:44:0;:49;;58524:282::o;84216:165::-;84317:13;84311:4;84304:27;84358:4;84352;84345:18;75649:474;75778:13;75794:16;75802:7;75794;:16::i;:::-;75778:32;;75827:13;:45;;;;-1:-1:-1;82284:10:0;-1:-1:-1;;;;;75844:28:0;;;;75827:45;75823:201;;;75892:44;75909:5;82284:10;58102:164;:::i;75892:44::-;75887:137;;75957:51;-1:-1:-1;;;75957:7:0;:51::i;:::-;76036:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;76036:35:0;-1:-1:-1;;;;;76036:35:0;;;;;;;;;76087:28;;76036:24;;76087:28;;;;;;;75767:356;75649:474;;;:::o;20461:132::-;20369:6;;-1:-1:-1;;;;;20369:6:0;82284:10;20525:23;20517:68;;;;-1:-1:-1;;;20517:68:0;;13141:2:1;20517:68:0;;;13123:21:1;;;13160:18;;;13153:30;13219:34;13199:18;;;13192:62;13271:18;;20517:68:0;12939:356:1;53274:1730:0;53424:26;;;;:17;:26;;;;;;-1:-1:-1;;;53500:24:0;;53496:1432;;53639:11;53635:990;;53690:13;;53679:7;:24;53675:77;;53705:47;-1:-1:-1;;;53705:7:0;:47::i;:::-;54349:257;-1:-1:-1;;;54453:9:0;54435:28;;;;:17;:28;;;;;;54521:11;54517:25;;54349:257;;54517:25;53274:1730;;;:::o;53496:1432::-;54949:47;-1:-1:-1;;;54949:7:0;:47::i;21563:191::-;21656:6;;;-1:-1:-1;;;;;21673:17:0;;;-1:-1:-1;;;;;;21673:17:0;;;;;;;21706:40;;21656:6;;;21673:17;21656:6;;21706:40;;21637:16;;21706:40;21626:128;21563:191;:::o;68855:2305::-;68928:20;68951:13;68979;68975:53;;68994:34;-1:-1:-1;;;68994:7:0;:34::i;:::-;69541:31;;;;:17;:31;;;;;;;;-1:-1:-1;;;;;55789:28:0;;55963:11;55938:23;55934:41;56407:1;56394:15;;56368:24;56364:46;55931:52;55921:63;;69541:173;;;69932:22;;;:18;:22;;;;;;:71;;69970:32;69958:45;;69932:71;;;55789:28;70189:54;;70208:35;-1:-1:-1;;;70208:7:0;:35::i;:::-;70274:23;;;:12;70359:676;70778:7;70734:8;70689:1;70623:25;70560:1;70495;70464:358;71017:9;;:16;;;;70359:676;;-1:-1:-1;71051:13:0;:19;-1:-1:-1;64411:193:0;;;:::o;67702:691::-;67886:88;;-1:-1:-1;;;67886:88:0;;67865:4;;-1:-1:-1;;;;;67886:45:0;;;;;:88;;82284:10;;67953:4;;67959:7;;67968:5;;67886:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;67886:88:0;;;;;;;;-1:-1:-1;;67886:88:0;;;;;;;;;;;;:::i;:::-;;;67882:504;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;68169:13:0;;68165:115;;68208:56;-1:-1:-1;;;68208:7:0;:56::i;:::-;68352:6;68346:13;68337:6;68333:2;68329:15;68322:38;67882:504;-1:-1:-1;;;;;;68045:64:0;-1:-1:-1;;;68045:64:0;;-1:-1:-1;67882:504:0;67702:691;;;;;;:::o;90161:111::-;90221:13;90254:10;90247:17;;;;;:::i;16252:727::-;16308:13;16359:14;16376:28;16398:5;16376:21;:28::i;:::-;16407:1;16376:32;16359:49;;16423:20;16457:6;16446:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;16446:18:0;-1:-1:-1;16423:41:0;-1:-1:-1;16588:28:0;;;16604:2;16588:28;16645:288;-1:-1:-1;;16677:5:0;-1:-1:-1;;;16814:2:0;16803:14;;16798:30;16677:5;16785:44;16875:2;16866:11;;;-1:-1:-1;16900:10:0;16896:21;;16912:5;;16896:21;16645:288;;;-1:-1:-1;16954:6:0;16252:727;-1:-1:-1;;;16252:727:0:o;88817:199::-;88932:4;88961:47;88980:5;88987:9;;88998;88961:18;:47::i;74731:112::-;74808:27;74818:2;74822:8;74808:27;;;;;;;;;;;;:9;:27::i;13084:922::-;13137:7;;-1:-1:-1;;;13215:15:0;;13211:102;;-1:-1:-1;;;13251:15:0;;;-1:-1:-1;13295:2:0;13285:12;13211:102;13340:6;13331:5;:15;13327:102;;13376:6;13367:15;;;-1:-1:-1;13411:2:0;13401:12;13327:102;13456:6;13447:5;:15;13443:102;;13492:6;13483:15;;;-1:-1:-1;13527:2:0;13517:12;13443:102;13572:5;13563;:14;13559:99;;13607:5;13598:14;;;-1:-1:-1;13641:1:0;13631:11;13559:99;13685:5;13676;:14;13672:99;;13720:5;13711:14;;;-1:-1:-1;13754:1:0;13744:11;13672:99;13798:5;13789;:14;13785:99;;13833:5;13824:14;;;-1:-1:-1;13867:1:0;13857:11;13785:99;13911:5;13902;:14;13898:66;;13947:1;13937:11;13992:6;13084:922;-1:-1:-1;;13084:922:0:o;22983:190::-;23108:4;23161;23132:25;23145:5;23152:4;23132:12;:25::i;:::-;:33;;22983:190;-1:-1:-1;;;;22983:190:0:o;73939:708::-;74070:19;74076:2;74080:8;74070:5;:19::i;:::-;-1:-1:-1;;;;;74131:14:0;;;:19;74127:502;;74171:11;74185:13;74233:14;;;74266:242;74297:62;74336:1;74340:2;74344:7;;;;;;74353:5;74297:30;:62::i;:::-;74292:176;;74388:56;-1:-1:-1;;;74388:7:0;:56::i;:::-;74503:3;74495:5;:11;74266:242;;74590:3;74573:13;;:20;74569:44;;74595:18;74610:1;74595:7;:18::i;:::-;74152:477;;73939:708;;;:::o;23850:296::-;23933:7;23976:4;23933:7;23991:118;24015:5;:12;24011:1;:16;23991:118;;;24064:33;24074:12;24088:5;24094:1;24088:8;;;;;;;;:::i;:::-;;;;;;;24064:9;:33::i;:::-;24049:48;-1:-1:-1;24029:3:0;;;;:::i;:::-;;;;23991:118;;30890:149;30953:7;30984:1;30980;:5;:51;;31115:13;31209:15;;;31245:4;31238:15;;;31292:4;31276:21;;30980:51;;;31115:13;31209:15;;;31245:4;31238:15;;;31292:4;31276:21;;30988:20;31047:268;-1:-1:-1;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:406:1;78:5;112:18;104:6;101:30;98:56;;;134:18;;:::i;:::-;172:57;217:2;196:15;;-1:-1:-1;;192:29:1;223:4;188:40;172:57;:::i;:::-;163:66;;252:6;245:5;238:21;292:3;283:6;278:3;274:16;271:25;268:45;;;309:1;306;299:12;268:45;358:6;353:3;346:4;339:5;335:16;322:43;412:1;405:4;396:6;389:5;385:18;381:29;374:40;14:406;;;;;:::o;425:173::-;493:20;;-1:-1:-1;;;;;542:31:1;;532:42;;522:70;;588:1;585;578:12;603:186;662:6;715:2;703:9;694:7;690:23;686:32;683:52;;;731:1;728;721:12;683:52;754:29;773:9;754:29;:::i;794:260::-;862:6;870;923:2;911:9;902:7;898:23;894:32;891:52;;;939:1;936;929:12;891:52;962:29;981:9;962:29;:::i;:::-;952:39;;1010:38;1044:2;1033:9;1029:18;1010:38;:::i;:::-;1000:48;;794:260;;;;;:::o;1059:328::-;1136:6;1144;1152;1205:2;1193:9;1184:7;1180:23;1176:32;1173:52;;;1221:1;1218;1211:12;1173:52;1244:29;1263:9;1244:29;:::i;:::-;1234:39;;1292:38;1326:2;1315:9;1311:18;1292:38;:::i;:::-;1282:48;;1377:2;1366:9;1362:18;1349:32;1339:42;;1059:328;;;;;:::o;1392:666::-;1487:6;1495;1503;1511;1564:3;1552:9;1543:7;1539:23;1535:33;1532:53;;;1581:1;1578;1571:12;1532:53;1604:29;1623:9;1604:29;:::i;:::-;1594:39;;1652:38;1686:2;1675:9;1671:18;1652:38;:::i;:::-;1642:48;;1737:2;1726:9;1722:18;1709:32;1699:42;;1792:2;1781:9;1777:18;1764:32;1819:18;1811:6;1808:30;1805:50;;;1851:1;1848;1841:12;1805:50;1874:22;;1927:4;1919:13;;1915:27;-1:-1:-1;1905:55:1;;1956:1;1953;1946:12;1905:55;1979:73;2044:7;2039:2;2026:16;2021:2;2017;2013:11;1979:73;:::i;:::-;1969:83;;;1392:666;;;;;;;:::o;2063:315::-;2128:6;2136;2189:2;2177:9;2168:7;2164:23;2160:32;2157:52;;;2205:1;2202;2195:12;2157:52;2228:29;2247:9;2228:29;:::i;:::-;2218:39;;2307:2;2296:9;2292:18;2279:32;2320:28;2342:5;2320:28;:::i;:::-;2367:5;2357:15;;;2063:315;;;;;:::o;2383:254::-;2451:6;2459;2512:2;2500:9;2491:7;2487:23;2483:32;2480:52;;;2528:1;2525;2518:12;2480:52;2551:29;2570:9;2551:29;:::i;:::-;2541:39;2627:2;2612:18;;;;2599:32;;-1:-1:-1;;;2383:254:1:o;2642:383::-;2716:6;2724;2732;2785:2;2773:9;2764:7;2760:23;2756:32;2753:52;;;2801:1;2798;2791:12;2753:52;2824:29;2843:9;2824:29;:::i;:::-;2814:39;;2900:2;2889:9;2885:18;2872:32;2862:42;;2954:2;2943:9;2939:18;2926:32;2967:28;2989:5;2967:28;:::i;:::-;3014:5;3004:15;;;2642:383;;;;;:::o;3030:963::-;3114:6;3145:2;3188;3176:9;3167:7;3163:23;3159:32;3156:52;;;3204:1;3201;3194:12;3156:52;3244:9;3231:23;3273:18;3314:2;3306:6;3303:14;3300:34;;;3330:1;3327;3320:12;3300:34;3368:6;3357:9;3353:22;3343:32;;3413:7;3406:4;3402:2;3398:13;3394:27;3384:55;;3435:1;3432;3425:12;3384:55;3471:2;3458:16;3493:2;3489;3486:10;3483:36;;;3499:18;;:::i;:::-;3545:2;3542:1;3538:10;3528:20;;3568:28;3592:2;3588;3584:11;3568:28;:::i;:::-;3630:15;;;3661:12;;;;3693:11;;;3723;;;3719:20;;3716:33;-1:-1:-1;3713:53:1;;;3762:1;3759;3752:12;3713:53;3784:1;3775:10;;3794:169;3808:2;3805:1;3802:9;3794:169;;;3865:23;3884:3;3865:23;:::i;:::-;3853:36;;3826:1;3819:9;;;;;3909:12;;;;3941;;3794:169;;;-1:-1:-1;3982:5:1;3030:963;-1:-1:-1;;;;;;;;3030:963:1:o;3998:245::-;4065:6;4118:2;4106:9;4097:7;4093:23;4089:32;4086:52;;;4134:1;4131;4124:12;4086:52;4166:9;4160:16;4185:28;4207:5;4185:28;:::i;4248:180::-;4307:6;4360:2;4348:9;4339:7;4335:23;4331:32;4328:52;;;4376:1;4373;4366:12;4328:52;-1:-1:-1;4399:23:1;;4248:180;-1:-1:-1;4248:180:1:o;4433:245::-;4491:6;4544:2;4532:9;4523:7;4519:23;4515:32;4512:52;;;4560:1;4557;4550:12;4512:52;4599:9;4586:23;4618:30;4642:5;4618:30;:::i;4683:249::-;4752:6;4805:2;4793:9;4784:7;4780:23;4776:32;4773:52;;;4821:1;4818;4811:12;4773:52;4853:9;4847:16;4872:30;4896:5;4872:30;:::i;4937:450::-;5006:6;5059:2;5047:9;5038:7;5034:23;5030:32;5027:52;;;5075:1;5072;5065:12;5027:52;5115:9;5102:23;5148:18;5140:6;5137:30;5134:50;;;5180:1;5177;5170:12;5134:50;5203:22;;5256:4;5248:13;;5244:27;-1:-1:-1;5234:55:1;;5285:1;5282;5275:12;5234:55;5308:73;5373:7;5368:2;5355:16;5350:2;5346;5342:11;5308:73;:::i;5392:272::-;5450:6;5503:2;5491:9;5482:7;5478:23;5474:32;5471:52;;;5519:1;5516;5509:12;5471:52;5558:9;5545:23;5608:6;5601:5;5597:18;5590:5;5587:29;5577:57;;5630:1;5627;5620:12;5854:184;5924:6;5977:2;5965:9;5956:7;5952:23;5948:32;5945:52;;;5993:1;5990;5983:12;5945:52;-1:-1:-1;6016:16:1;;5854:184;-1:-1:-1;5854:184:1:o;6043:254::-;6111:6;6119;6172:2;6160:9;6151:7;6147:23;6143:32;6140:52;;;6188:1;6185;6178:12;6140:52;6224:9;6211:23;6201:33;;6253:38;6287:2;6276:9;6272:18;6253:38;:::i;6302:683::-;6397:6;6405;6413;6466:2;6454:9;6445:7;6441:23;6437:32;6434:52;;;6482:1;6479;6472:12;6434:52;6518:9;6505:23;6495:33;;6579:2;6568:9;6564:18;6551:32;6602:18;6643:2;6635:6;6632:14;6629:34;;;6659:1;6656;6649:12;6629:34;6697:6;6686:9;6682:22;6672:32;;6742:7;6735:4;6731:2;6727:13;6723:27;6713:55;;6764:1;6761;6754:12;6713:55;6804:2;6791:16;6830:2;6822:6;6819:14;6816:34;;;6846:1;6843;6836:12;6816:34;6899:7;6894:2;6884:6;6881:1;6877:14;6873:2;6869:23;6865:32;6862:45;6859:65;;;6920:1;6917;6910:12;6859:65;6951:2;6947;6943:11;6933:21;;6973:6;6963:16;;;;;6302:683;;;;;:::o;6990:257::-;7031:3;7069:5;7063:12;7096:6;7091:3;7084:19;7112:63;7168:6;7161:4;7156:3;7152:14;7145:4;7138:5;7134:16;7112:63;:::i;:::-;7229:2;7208:15;-1:-1:-1;;7204:29:1;7195:39;;;;7236:4;7191:50;;6990:257;-1:-1:-1;;6990:257:1:o;7551:470::-;7730:3;7768:6;7762:13;7784:53;7830:6;7825:3;7818:4;7810:6;7806:17;7784:53;:::i;:::-;7900:13;;7859:16;;;;7922:57;7900:13;7859:16;7956:4;7944:17;;7922:57;:::i;:::-;7995:20;;7551:470;-1:-1:-1;;;;7551:470:1:o;9133:488::-;-1:-1:-1;;;;;9402:15:1;;;9384:34;;9454:15;;9449:2;9434:18;;9427:43;9501:2;9486:18;;9479:34;;;9549:3;9544:2;9529:18;;9522:31;;;9327:4;;9570:45;;9595:19;;9587:6;9570:45;:::i;:::-;9562:53;9133:488;-1:-1:-1;;;;;;9133:488:1:o;9818:219::-;9967:2;9956:9;9949:21;9930:4;9987:44;10027:2;10016:9;10012:18;10004:6;9987:44;:::i;14413:400::-;14615:2;14597:21;;;14654:2;14634:18;;;14627:30;14693:34;14688:2;14673:18;;14666:62;-1:-1:-1;;;14759:2:1;14744:18;;14737:34;14803:3;14788:19;;14413:400::o;15507:397::-;15709:2;15691:21;;;15748:2;15728:18;;;15721:30;15787:34;15782:2;15767:18;;15760:62;-1:-1:-1;;;15853:2:1;15838:18;;15831:31;15894:3;15879:19;;15507:397::o;16284:275::-;16355:2;16349:9;16420:2;16401:13;;-1:-1:-1;;16397:27:1;16385:40;;16455:18;16440:34;;16476:22;;;16437:62;16434:88;;;16502:18;;:::i;:::-;16538:2;16531:22;16284:275;;-1:-1:-1;16284:275:1:o;16564:128::-;16604:3;16635:1;16631:6;16628:1;16625:13;16622:39;;;16641:18;;:::i;:::-;-1:-1:-1;16677:9:1;;16564:128::o;16697:168::-;16737:7;16803:1;16799;16795:6;16791:14;16788:1;16785:21;16780:1;16773:9;16766:17;16762:45;16759:71;;;16810:18;;:::i;:::-;-1:-1:-1;16850:9:1;;16697:168::o;16870:258::-;16942:1;16952:113;16966:6;16963:1;16960:13;16952:113;;;17042:11;;;17036:18;17023:11;;;17016:39;16988:2;16981:10;16952:113;;;17083:6;17080:1;17077:13;17074:48;;;-1:-1:-1;;17118:1:1;17100:16;;17093:27;16870:258::o;17133:380::-;17212:1;17208:12;;;;17255;;;17276:61;;17330:4;17322:6;17318:17;17308:27;;17276:61;17383:2;17375:6;17372:14;17352:18;17349:38;17346:161;;;17429:10;17424:3;17420:20;17417:1;17410:31;17464:4;17461:1;17454:15;17492:4;17489:1;17482:15;17346:161;;17133:380;;;:::o;17518:135::-;17557:3;-1:-1:-1;;17578:17:1;;17575:43;;;17598:18;;:::i;:::-;-1:-1:-1;17645:1:1;17634:13;;17518:135::o;17658:127::-;17719:10;17714:3;17710:20;17707:1;17700:31;17750:4;17747:1;17740:15;17774:4;17771:1;17764:15;17922:127;17983:10;17978:3;17974:20;17971:1;17964:31;18014:4;18011:1;18004:15;18038:4;18035:1;18028:15;18054:127;18115:10;18110:3;18106:20;18103:1;18096:31;18146:4;18143:1;18136:15;18170:4;18167:1;18160:15;18186:118;18272:5;18265:13;18258:21;18251:5;18248:32;18238:60;;18294:1;18291;18284:12;18309:131;-1:-1:-1;;;;;;18383:32:1;;18373:43;;18363:71;;18430:1;18427;18420:12

Swarm Source

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