ETH Price: $3,485.87 (+2.09%)

Token

Bullies Genesis (Bullies)
 

Overview

Max Total Supply

8,888 Bullies

Holders

906

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
nova-scotia.eth
Balance
2 Bullies
0xbb8517747dab23efddd9768e91d80ab309ae9f5b
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

8,888 3D cartoon Bullies coming to life on the Ethereum Blockchain.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
BulliesGenesis

Compiler Version
v0.8.18+commit.87f61d96

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

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

// SPDX-License-Identifier: MIT
/*
  ____  _   _ _     _     ___ _____ ____  
 | __ )| | | | |   | |   |_ _| ____/ ___| 
 |  _ \| | | | |   | |    | ||  _| \___ \ 
 | |_) | |_| | |___| |___ | || |___ ___) |
 |____/ \___/|_____|_____|___|_____|____/ 
                                          
          By Devko.dev#7286
*/
// File: @openzeppelin/contracts/utils/Address.sol


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

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

pragma solidity ^0.8.0;


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

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

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

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

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

// File: @openzeppelin/contracts/utils/cryptography/ECDSA.sol


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

pragma solidity ^0.8.0;


/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
    enum RecoverError {
        NoError,
        InvalidSignature,
        InvalidSignatureLength,
        InvalidSignatureS,
        InvalidSignatureV // Deprecated in v4.8
    }

    function _throwError(RecoverError error) private pure {
        if (error == RecoverError.NoError) {
            return; // no error: do nothing
        } else if (error == RecoverError.InvalidSignature) {
            revert("ECDSA: invalid signature");
        } else if (error == RecoverError.InvalidSignatureLength) {
            revert("ECDSA: invalid signature length");
        } else if (error == RecoverError.InvalidSignatureS) {
            revert("ECDSA: invalid signature 's' value");
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature` or error string. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     *
     * Documentation for signature generation:
     * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
     * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
     *
     * _Available since v4.3._
     */
    function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {
        if (signature.length == 65) {
            bytes32 r;
            bytes32 s;
            uint8 v;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            /// @solidity memory-safe-assembly
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
            return tryRecover(hash, v, r, s);
        } else {
            return (address(0), RecoverError.InvalidSignatureLength);
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, signature);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
     *
     * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address, RecoverError) {
        bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);
        uint8 v = uint8((uint256(vs) >> 255) + 27);
        return tryRecover(hash, v, r, s);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.
     *
     * _Available since v4.2._
     */
    function recover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, r, vs);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `v`,
     * `r` and `s` signature fields separately.
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address, RecoverError) {
        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most
        // signatures from current libraries generate a unique signature with an s-value in the lower half order.
        //
        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
        // these malleable signatures as well.
        if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
            return (address(0), RecoverError.InvalidSignatureS);
        }

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        if (signer == address(0)) {
            return (address(0), RecoverError.InvalidSignature);
        }

        return (signer, RecoverError.NoError);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function recover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, v, r, s);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from `s`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s));
    }

    /**
     * @dev Returns an Ethereum Signed Typed Data, created from a
     * `domainSeparator` and a `structHash`. This produces hash corresponding
     * to the one signed with the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
     * JSON-RPC method as part of EIP-712.
     *
     * See {recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
    }
}

// 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: operator-filter-registry/src/lib/Constants.sol


pragma solidity ^0.8.17;

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

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


pragma solidity ^0.8.13;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


pragma solidity ^0.8.13;


/**
 * @title  OperatorFilterer
 * @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another
 *         registrant's entries in the OperatorFilterRegistry.
 * @dev    This smart contract is meant to be inherited by token contracts so they can use the following:
 *         - `onlyAllowedOperator` modifier for `transferFrom` and `safeTransferFrom` methods.
 *         - `onlyAllowedOperatorApproval` modifier for `approve` and `setApprovalForAll` methods.
 *         Please note that if your token contract does not provide an owner with EIP-173, it must provide
 *         administration methods on the contract itself to interact with the registry otherwise the subscription
 *         will be locked to the options set during construction.
 */

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

    IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY =
        IOperatorFilterRegistry(CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS);

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

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

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

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

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


pragma solidity ^0.8.13;


/**
 * @title  DefaultOperatorFilterer
 * @notice Inherits from OperatorFilterer and automatically subscribes to the default OpenSea subscription.
 * @dev    Please note that if your token contract does not provide an owner with EIP-173, it must provide
 *         administration methods on the contract itself to interact with the registry otherwise the subscription
 *         will be locked to the options set during construction.
 */

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

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


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

pragma solidity ^0.8.0;

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

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


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

pragma solidity ^0.8.0;


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

// File: @openzeppelin/contracts/interfaces/IERC2981.sol


// OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol)

pragma solidity ^0.8.0;


/**
 * @dev Interface for the NFT Royalty Standard.
 *
 * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal
 * support for royalty payments across all NFT marketplaces and ecosystem participants.
 *
 * _Available since v4.5._
 */
interface IERC2981 is IERC165 {
    /**
     * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of
     * exchange. The royalty amount is denominated and should be paid in that same unit of exchange.
     */
    function royaltyInfo(uint256 tokenId, uint256 salePrice)
        external
        view
        returns (address receiver, uint256 royaltyAmount);
}

// File: @openzeppelin/contracts/token/common/ERC2981.sol


// OpenZeppelin Contracts (last updated v4.7.0) (token/common/ERC2981.sol)

pragma solidity ^0.8.0;



/**
 * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information.
 *
 * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for
 * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first.
 *
 * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the
 * fee is specified in basis points by default.
 *
 * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See
 * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to
 * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported.
 *
 * _Available since v4.5._
 */
abstract contract ERC2981 is IERC2981, ERC165 {
    struct RoyaltyInfo {
        address receiver;
        uint96 royaltyFraction;
    }

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

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

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

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

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

        return (royalty.receiver, royaltyAmount);
    }

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

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

        _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator);
    }

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

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

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

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

// File: erc721a/contracts/IERC721A.sol


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

pragma solidity ^0.8.4;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

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

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

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

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

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

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

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {safeTransferFrom}
     * whenever possible.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token
     * by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external payable;

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

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

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

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

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

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

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

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

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

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

// File: erc721a/contracts/ERC721A.sol


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

pragma solidity ^0.8.4;


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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        return _tokenApprovals[tokenId].value;
    }

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom}
     * for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _operatorApprovals[_msgSenderERC721A()][operator] = approved;
        emit ApprovalForAll(_msgSenderERC721A(), operator, approved);
    }

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

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted. See {_mint}.
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return
            _startTokenId() <= tokenId &&
            tokenId < _currentIndex && // If within bounds,
            _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned.
    }

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

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

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

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token
     * by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public payable virtual override {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

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

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

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

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

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

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token
     * by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement
     * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public payable virtual override {
        transferFrom(from, to, tokenId);
        if (to.code.length != 0)
            if (!_checkContractOnERC721Received(from, to, tokenId, _data)) {
                revert TransferToNonERC721ReceiverImplementer();
            }
    }

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

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

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

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

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

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

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

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

            uint256 toMasked;
            uint256 end = startTokenId + quantity;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        address from = address(uint160(prevOwnershipPacked));

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// File: contract.sol


pragma solidity ^0.8.18;

contract BulliesGenesis is
    ERC721A("Bullies Genesis", "Bullies"),
    ERC2981,
    DefaultOperatorFilterer,
    Ownable
{
    using Strings for uint256;
    using ECDSA for bytes32;

    uint256 public tokensMintedCounter;
    string private baseURI =
        "https://turquoise-left-fowl-953.mypinata.cloud/ipfs/QmSh6JUhd7vHjLcRebno4WsH85Wq8H2KQWVjymxgM1PnPb/";
    address private privateSigner = 0x04003eF479265d1f447097bD7833Ad66871e6cEF;
    bool private freezed = true;
    uint256 private maxSupply = 10000;
    uint256 private PUBLIC_PRICE = 0.06 ether;
    uint256 private EB_PRICE = 0.05 ether;
    uint256 private OG_PRICE = 0.06 ether;
    uint256 private WL_PRICE = 0.06 ether;

    uint256 private WALLET_MAX = 5;

    bool public PUBLIC_MINT_LIVE;
    bool public EB_MINT_LIVE;
    bool public OG_MINT_LIVE;
    bool public WL_MINT_LIVE;

    mapping(address => uint256) public EB_MINTERS;
    mapping(address => uint256) public OG_MINTERS;
    mapping(address => uint256) public WL_MINTERS;

    modifier notFrozen() {
        require(freezed == false, "FROZEN");
        _;
    }

    modifier notContract() {
        require(
            (!_isContract(msg.sender)) && (msg.sender == tx.origin),
            "NOT_ALLOWED"
        );
        _;
    }

    function _isContract(address addr) internal view returns (bool) {
        uint256 size;
        assembly {
            size := extcodesize(addr)
        }
        return size > 0;
    }

    function _startTokenId() internal view virtual override returns (uint256) {
        return 1;
    }

    function matchAddresSigner(
        bytes memory signature,
        string memory sigWord
    ) private view returns (bool) {
        bytes32 hash = keccak256(
            abi.encodePacked(
                "\x19Ethereum Signed Message:\n32",
                keccak256(abi.encodePacked(msg.sender, sigWord))
            )
        );
        return privateSigner == hash.recover(signature);
    }

    function mint(uint256 tokenQuantity) external payable notContract {
        require(PUBLIC_MINT_LIVE, "PUBLIC_MINT_CLOSED");
        require(
            tokensMintedCounter + tokenQuantity <= maxSupply,
            "EXCEED_SUPPLY"
        );
        require(PUBLIC_PRICE * tokenQuantity <= msg.value, "INSUFFICIENT_ETH");
        tokensMintedCounter += tokenQuantity;
        _mint(msg.sender, tokenQuantity);
    }

    function EB_MINT(
        uint256 tokenQuantity,
        bytes memory signature
    ) external payable notContract {
        require(EB_MINT_LIVE, "EB_MINT_CLOSED");
        require(
            tokensMintedCounter + tokenQuantity <= maxSupply,
            "EXCEED_SUPPLY"
        );
        require(
            matchAddresSigner(signature, "BULLIES-EB"),
            "INVALID_SIGNATURE"
        );
        require(
            EB_MINTERS[msg.sender] + tokenQuantity <= WALLET_MAX,
            "EXCEED_PER_WALLET"
        );
        require(EB_PRICE * tokenQuantity <= msg.value, "INSUFFICIENT_ETH");

        EB_MINTERS[msg.sender] = EB_MINTERS[msg.sender] + tokenQuantity;
        tokensMintedCounter += tokenQuantity;
        _mint(msg.sender, tokenQuantity);
    }

    function OG_MINT(
        uint256 tokenQuantity,
        bytes memory signature
    ) external payable notContract {
        require(OG_MINT_LIVE, "OG_MINT_CLOSED");
        require(
            tokensMintedCounter + tokenQuantity <= maxSupply,
            "EXCEED_SUPPLY"
        );
        require(
            matchAddresSigner(signature, "BULLIES-OG"),
            "INVALID_SIGNATURE"
        );
        require(
            OG_MINTERS[msg.sender] + tokenQuantity <= WALLET_MAX,
            "EXCEED_PER_WALLET"
        );
        require(OG_PRICE * tokenQuantity <= msg.value, "INSUFFICIENT_ETH");

        OG_MINTERS[msg.sender] = OG_MINTERS[msg.sender] + tokenQuantity;
        tokensMintedCounter += tokenQuantity;
        _mint(msg.sender, tokenQuantity);
    }

    function WL_MINT(
        uint256 tokenQuantity,
        bytes memory signature
    ) external payable notContract {
        require(WL_MINT_LIVE, "WL_MINT_CLOSED");
        require(
            tokensMintedCounter + tokenQuantity <= maxSupply,
            "EXCEED_SUPPLY"
        );
        require(
            matchAddresSigner(signature, "BULLIES-WL"),
            "INVALID_SIGNATURE"
        );
        require(
            WL_MINTERS[msg.sender] + tokenQuantity <= WALLET_MAX,
            "EXCEED_PER_WALLET"
        );
        require(WL_PRICE * tokenQuantity <= msg.value, "INSUFFICIENT_ETH");

        WL_MINTERS[msg.sender] = WL_MINTERS[msg.sender] + tokenQuantity;
        tokensMintedCounter += tokenQuantity;
        _mint(msg.sender, tokenQuantity);
    }

    function tokenURI(
        uint256 tokenId
    ) public view override(ERC721A) returns (string memory) {
        require(_exists(tokenId), "Cannot query non-existent token");
        return string(abi.encodePacked(baseURI, tokenId.toString()));
    }

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

    function tokensOwnedBy(
        address owner
    ) external view returns (uint256[] memory) {
        uint256[] memory tokensList = new uint256[](balanceOf(owner));
        uint256 currentIndex;
        for (uint256 index = 1; index <= tokensMintedCounter; index++) {
            if (ownerOf(index) == owner) {
                tokensList[currentIndex] = uint256(index);
                currentIndex++;
            }
        }
        return tokensList;
    }

    function gift(address[] calldata receivers) external onlyOwner {
        require(
            tokensMintedCounter + receivers.length <= maxSupply,
            "EXCEED_SUPPLY"
        );

        tokensMintedCounter += receivers.length;
        for (uint i = 0; i < receivers.length; i++) {
            _mint(receivers[i], 1);
        }
    }

    function founderMint(uint256 tokenQuantity) external onlyOwner {
        require(
            tokensMintedCounter + tokenQuantity <= maxSupply,
            "EXCEED_SUPPLY"
        );
        tokensMintedCounter += tokenQuantity;
        _mint(msg.sender, tokenQuantity);
    }

    function togglePublicMint() external onlyOwner {
        PUBLIC_MINT_LIVE = !PUBLIC_MINT_LIVE;
    }

    function toggleEBMint() external onlyOwner {
        EB_MINT_LIVE = !EB_MINT_LIVE;
    }

    function toggleOGMint() external onlyOwner {
        OG_MINT_LIVE = !OG_MINT_LIVE;
    }

    function toggleWLMint() external onlyOwner {
        WL_MINT_LIVE = !WL_MINT_LIVE;
    }

    function setPublicPrice(uint256 newPrice) external onlyOwner {
        PUBLIC_PRICE = newPrice;
    }

    function setEBPrice(uint256 newPrice) external onlyOwner {
        EB_PRICE = newPrice;
    }

    function setOGPrice(uint256 newPrice) external onlyOwner {
        OG_PRICE = newPrice;
    }

    function setWLPrice(uint256 newPrice) external onlyOwner {
        WL_PRICE = newPrice;
    }

    function setWalletMax(uint256 newCount) external onlyOwner {
        WALLET_MAX = newCount;
    }

    function setSupplyMax(uint256 newCount) external onlyOwner {
        maxSupply = newCount;
    }

    function setSigner(address newAddress) external onlyOwner {
        privateSigner = newAddress;
    }

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

    function freeze() external onlyOwner {
        require(block.timestamp < 1680000000, "CANT_FREEZE");
        freezed = true;
    }

    function unfreeze() external onlyOwner {
        freezed = false;
    }

    function withdraw() external onlyOwner {
        uint256 currentBalance = address(this).balance;
        Address.sendValue(
            payable(0xF00151568E332F3476d80807eF2c2b99F9F777ad),
            (currentBalance * 125) / 1000
        );
        Address.sendValue(
            payable(0x4489b64a34AF33a3f06d82588FD312870ff15cea),
            (currentBalance * 125) / 1000
        );
        Address.sendValue(
            payable(0xc87408D57416EfdCd53b0ee905c74fd45B61e4Df),
            (currentBalance * 125) / 1000
        );
        Address.sendValue(
            payable(0xb49A027C51219ae4043E37eE45C71E1F2E3f8FBC),
            (currentBalance * 125) / 1000
        );

        Address.sendValue(
            payable(0x00000040f69B8E3382734491cBAA241B6a863AB3),
            (currentBalance * 70) / 1000
        );

        Address.sendValue(
            payable(0xaE1A33E8C8E0aB24f744D43f8e187Aca5B45b8D3),
            (currentBalance * 30) / 1000
        );
        Address.sendValue(
            payable(0xF4741D21C4D31dF6551733613415C8873ea958cF),
            address(this).balance
        );
    }

    receive() external payable {}

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

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

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

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"uint256","name":"tokenQuantity","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"EB_MINT","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"EB_MINTERS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"EB_MINT_LIVE","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenQuantity","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"OG_MINT","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"OG_MINTERS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OG_MINT_LIVE","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PUBLIC_MINT_LIVE","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenQuantity","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"WL_MINT","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"WL_MINTERS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WL_MINT_LIVE","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenQuantity","type":"uint256"}],"name":"founderMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"freeze","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"receivers","type":"address[]"}],"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":"uint256","name":"tokenQuantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"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":"uint256","name":"newPrice","type":"uint256"}],"name":"setEBPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setOGPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setPublicPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"setSigner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newCount","type":"uint256"}],"name":"setSupplyMax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setWLPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newCount","type":"uint256"}],"name":"setWalletMax","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":"toggleEBMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleOGMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"togglePublicMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleWLMint","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":"tokensMintedCounter","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOwnedBy","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"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":"unfreeze","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

6101206040526063608081815290620030e160a039600c906200002390826200035b565b50600d80546001600160a81b031916740104003ef479265d1f447097bd7833ad66871e6cef179055612710600e5566d529ae9e860000600f81905566b1a2bc2ec50000601055601181905560125560056013553480156200008357600080fd5b50733cc6cdda760b79bafa08df41ecfa224f810dceb660016040518060400160405280600f81526020016e42756c6c6965732047656e6573697360881b8152506040518060400160405280600781526020016642756c6c69657360c81b8152508160029081620000f491906200035b565b5060036200010382826200035b565b50600160005550506daaeb6d7670e522a718067333cd4e3b15620002505780156200019e57604051633e9f1edf60e11b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e90637d3e3dbe906044015b600060405180830381600087803b1580156200017f57600080fd5b505af115801562000194573d6000803e3d6000fd5b5050505062000250565b6001600160a01b03821615620001ef5760405163a0af290360e01b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e9063a0af29039060440162000164565b604051632210724360e11b81523060048201526daaeb6d7670e522a718067333cd4e90634420e48690602401600060405180830381600087803b1580156200023657600080fd5b505af11580156200024b573d6000803e3d6000fd5b505050505b506200025e90503362000264565b62000427565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620002e157607f821691505b6020821081036200030257634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200035657600081815260208120601f850160051c81016020861015620003315750805b601f850160051c820191505b8181101562000352578281556001016200033d565b5050505b505050565b81516001600160401b03811115620003775762000377620002b6565b6200038f81620003888454620002cc565b8462000308565b602080601f831160018114620003c75760008415620003ae5750858301515b600019600386901b1c1916600185901b17855562000352565b600085815260208120601f198616915b82811015620003f857888601518255948401946001909101908401620003d7565b5085821015620004175787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b612caa80620004376000396000f3fe6080604052600436106102b25760003560e01c806370a0823111610175578063c6275255116100dc578063eadff51111610095578063f2fde38b1161006f578063f2fde38b14610801578063f42202e814610821578063f6a5b8e614610841578063f9d0a3b01461086157600080fd5b8063eadff511146107a2578063ed809dd5146107b5578063f071d59e146107d457600080fd5b8063c6275255146106e0578063c87b56dd14610700578063cb2bbdd614610720578063d0f4b63a14610740578063e985e9c514610755578063ea66aeb31461077557600080fd5b80639fc318cb1161012e5780639fc318cb14610644578063a0712d681461065a578063a22cb4651461066d578063b88d4fde1461068d578063b969ed60146106a0578063bda28759146106c057600080fd5b806370a082311461058f578063715018a6146105af57806380ffefd9146105c45780638da5cb5b146105f15780638ff4013f1461060f57806395d89b411461062f57600080fd5b80633ca15be71161021957806347b20214116101d257806347b20214146104eb57806355f804b31461050557806362a5af3b146105255780636352211e1461053a5780636a28f0001461055a5780636c19e7831461056f57600080fd5b80633ca15be7146104665780633ccfd60b146104795780634047638d1461048e57806341f43434146104a357806342842e0e146104c55780634549e17d146104d857600080fd5b806318160ddd1161026b57806318160ddd146103a25780631e1d0b8f146103c957806323b872dd146103de5780632a55205a146103f157806331ddbff11461043057806332e6e70b1461044557600080fd5b806301ffc9a7146102be57806306fdde03146102f3578063081812fc14610315578063095ea7b31461034d5780630cef1fbf14610362578063163e1e611461038257600080fd5b366102b957005b600080fd5b3480156102ca57600080fd5b506102de6102d9366004612435565b61088e565b60405190151581526020015b60405180910390f35b3480156102ff57600080fd5b5061030861089f565b6040516102ea91906124a2565b34801561032157600080fd5b506103356103303660046124b5565b610931565b6040516001600160a01b0390911681526020016102ea565b61036061035b3660046124ea565b610975565b005b34801561036e57600080fd5b5061036061037d3660046124b5565b6109c1565b34801561038e57600080fd5b5061036061039d366004612514565b6109ce565b3480156103ae57600080fd5b5060015460005403600019015b6040519081526020016102ea565b3480156103d557600080fd5b50610360610a6e565b6103606103ec366004612589565b610a97565b3480156103fd57600080fd5b5061041161040c3660046125c5565b610aec565b604080516001600160a01b0390931683526020830191909152016102ea565b34801561043c57600080fd5b50610360610b9a565b34801561045157600080fd5b506014546102de906301000000900460ff1681565b61036061047436600461268a565b610bc1565b34801561048557600080fd5b50610360610d69565b34801561049a57600080fd5b50610360610e83565b3480156104af57600080fd5b506103356daaeb6d7670e522a718067333cd4e81565b6103606104d3366004612589565b610e9f565b6103606104e636600461268a565b610eee565b3480156104f757600080fd5b506014546102de9060ff1681565b34801561051157600080fd5b506103606105203660046126d1565b611081565b34801561053157600080fd5b50610360611096565b34801561054657600080fd5b506103356105553660046124b5565b6110f4565b34801561056657600080fd5b506103606110ff565b34801561057b57600080fd5b5061036061058a366004612731565b611116565b34801561059b57600080fd5b506103bb6105aa366004612731565b611140565b3480156105bb57600080fd5b5061036061118f565b3480156105d057600080fd5b506103bb6105df366004612731565b60156020526000908152604090205481565b3480156105fd57600080fd5b50600a546001600160a01b0316610335565b34801561061b57600080fd5b5061036061062a3660046124b5565b6111a3565b34801561063b57600080fd5b506103086111b0565b34801561065057600080fd5b506103bb600b5481565b6103606106683660046124b5565b6111bf565b34801561067957600080fd5b5061036061068836600461275a565b6112ae565b61036061069b366004612791565b6112ec565b3480156106ac57600080fd5b506014546102de9062010000900460ff1681565b3480156106cc57600080fd5b506103606106db3660046124b5565b611343565b3480156106ec57600080fd5b506103606106fb3660046124b5565b611350565b34801561070c57600080fd5b5061030861071b3660046124b5565b61135d565b34801561072c57600080fd5b5061036061073b3660046124b5565b6113e6565b34801561074c57600080fd5b506103606113f3565b34801561076157600080fd5b506102de6107703660046127f9565b611418565b34801561078157600080fd5b50610795610790366004612731565b611446565b6040516102ea919061282c565b6103606107b036600461268a565b61150d565b3480156107c157600080fd5b506014546102de90610100900460ff1681565b3480156107e057600080fd5b506103bb6107ef366004612731565b60166020526000908152604090205481565b34801561080d57600080fd5b5061036061081c366004612731565b61169f565b34801561082d57600080fd5b5061036061083c3660046124b5565b611715565b34801561084d57600080fd5b5061036061085c3660046124b5565b61174c565b34801561086d57600080fd5b506103bb61087c366004612731565b60176020526000908152604090205481565b600061089982611759565b92915050565b6060600280546108ae90612870565b80601f01602080910402602001604051908101604052809291908181526020018280546108da90612870565b80156109275780601f106108fc57610100808354040283529160200191610927565b820191906000526020600020905b81548152906001019060200180831161090a57829003601f168201915b5050505050905090565b600061093c8261178e565b610959576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600d54600160a01b900460ff16156109a85760405162461bcd60e51b815260040161099f906128aa565b60405180910390fd5b816109b2816117c3565b6109bc838361187c565b505050565b6109c961191c565b600e55565b6109d661191c565b600e54600b546109e79083906128e0565b1115610a055760405162461bcd60e51b815260040161099f906128f3565b81819050600b6000828254610a1a91906128e0565b90915550600090505b818110156109bc57610a5c838383818110610a4057610a4061291a565b9050602002016020810190610a559190612731565b6001611976565b80610a6681612930565b915050610a23565b610a7661191c565b6014805463ff00000019811663010000009182900460ff1615909102179055565b600d54600160a01b900460ff1615610ac15760405162461bcd60e51b815260040161099f906128aa565b826001600160a01b0381163314610adb57610adb336117c3565b610ae6848484611a74565b50505050565b60008281526009602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b0316928201929092528291610b615750604080518082019091526008546001600160a01b0381168252600160a01b90046001600160601b031660208201525b602081015160009061271090610b80906001600160601b031687612949565b610b8a9190612960565b91519350909150505b9250929050565b610ba261191c565b6014805462ff0000198116620100009182900460ff1615909102179055565b333b158015610bcf57503332145b610beb5760405162461bcd60e51b815260040161099f90612982565b6014546301000000900460ff16610c355760405162461bcd60e51b815260206004820152600e60248201526d15d317d352539517d0d313d4d15160921b604482015260640161099f565b600e5482600b54610c4691906128e0565b1115610c645760405162461bcd60e51b815260040161099f906128f3565b610c90816040518060400160405280600a81526020016910955313125154cb55d360b21b815250611c0d565b610cac5760405162461bcd60e51b815260040161099f906129a7565b60135433600090815260176020526040902054610cca9084906128e0565b1115610ce85760405162461bcd60e51b815260040161099f906129d2565b3482601254610cf79190612949565b1115610d155760405162461bcd60e51b815260040161099f906129fd565b33600090815260176020526040902054610d309083906128e0565b33600090815260176020526040812091909155600b8054849290610d559084906128e0565b90915550610d6590503383611976565b5050565b610d7161191c565b47610da773f00151568e332f3476d80807ef2c2b99f9f777ad6103e8610d9884607d612949565b610da29190612960565b611ca9565b610dcd734489b64a34af33a3f06d82588fd312870ff15cea6103e8610d9884607d612949565b610df373c87408d57416efdcd53b0ee905c74fd45b61e4df6103e8610d9884607d612949565b610e1973b49a027c51219ae4043e37ee45c71e1f2e3f8fbc6103e8610d9884607d612949565b610e3c7040f69b8e3382734491cbaa241b6a863ab36103e8610d98846046612949565b610e6273ae1a33e8c8e0ab24f744d43f8e187aca5b45b8d36103e8610d9884601e612949565b610e8073f4741d21c4d31df6551733613415c8873ea958cf47611ca9565b50565b610e8b61191c565b6014805460ff19811660ff90911615179055565b600d54600160a01b900460ff1615610ec95760405162461bcd60e51b815260040161099f906128aa565b826001600160a01b0381163314610ee357610ee3336117c3565b610ae6848484611dc2565b333b158015610efc57503332145b610f185760405162461bcd60e51b815260040161099f90612982565b60145462010000900460ff16610f615760405162461bcd60e51b815260206004820152600e60248201526d13d1d7d352539517d0d313d4d15160921b604482015260640161099f565b600e5482600b54610f7291906128e0565b1115610f905760405162461bcd60e51b815260040161099f906128f3565b610fbc816040518060400160405280600a81526020016942554c4c4945532d4f4760b01b815250611c0d565b610fd85760405162461bcd60e51b815260040161099f906129a7565b60135433600090815260166020526040902054610ff69084906128e0565b11156110145760405162461bcd60e51b815260040161099f906129d2565b34826011546110239190612949565b11156110415760405162461bcd60e51b815260040161099f906129fd565b3360009081526016602052604090205461105c9083906128e0565b33600090815260166020526040812091909155600b8054849290610d559084906128e0565b61108961191c565b600c6109bc828483612a6d565b61109e61191c565b636422c40042106110df5760405162461bcd60e51b815260206004820152600b60248201526a43414e545f465245455a4560a81b604482015260640161099f565b600d805460ff60a01b1916600160a01b179055565b600061089982611ddd565b61110761191c565b600d805460ff60a01b19169055565b61111e61191c565b600d80546001600160a01b0319166001600160a01b0392909216919091179055565b60006001600160a01b038216611169576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b61119761191c565b6111a16000611e53565b565b6111ab61191c565b601355565b6060600380546108ae90612870565b333b1580156111cd57503332145b6111e95760405162461bcd60e51b815260040161099f90612982565b60145460ff166112305760405162461bcd60e51b8152602060048201526012602482015271141550931250d7d352539517d0d313d4d15160721b604482015260640161099f565b600e5481600b5461124191906128e0565b111561125f5760405162461bcd60e51b815260040161099f906128f3565b3481600f5461126e9190612949565b111561128c5760405162461bcd60e51b815260040161099f906129fd565b80600b600082825461129e91906128e0565b90915550610e8090503382611976565b600d54600160a01b900460ff16156112d85760405162461bcd60e51b815260040161099f906128aa565b816112e2816117c3565b6109bc8383611ea5565b600d54600160a01b900460ff16156113165760405162461bcd60e51b815260040161099f906128aa565b836001600160a01b038116331461133057611330336117c3565b61133c85858585611f11565b5050505050565b61134b61191c565b601055565b61135861191c565b600f55565b60606113688261178e565b6113b45760405162461bcd60e51b815260206004820152601f60248201527f43616e6e6f74207175657279206e6f6e2d6578697374656e7420746f6b656e00604482015260640161099f565b600c6113bf83611f55565b6040516020016113d0929190612b2d565b6040516020818303038152906040529050919050565b6113ee61191c565b601155565b6113fb61191c565b6014805461ff001981166101009182900460ff1615909102179055565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6060600061145383611140565b67ffffffffffffffff81111561146b5761146b6125e7565b604051908082528060200260200182016040528015611494578160200160208202803683370190505b509050600060015b600b54811161150457846001600160a01b03166114b8826110f4565b6001600160a01b0316036114f257808383815181106114d9576114d961291a565b6020908102919091010152816114ee81612930565b9250505b806114fc81612930565b91505061149c565b50909392505050565b333b15801561151b57503332145b6115375760405162461bcd60e51b815260040161099f90612982565b601454610100900460ff1661157f5760405162461bcd60e51b815260206004820152600e60248201526d115097d352539517d0d313d4d15160921b604482015260640161099f565b600e5482600b5461159091906128e0565b11156115ae5760405162461bcd60e51b815260040161099f906128f3565b6115da816040518060400160405280600a815260200169212aa62624a2a996a2a160b11b815250611c0d565b6115f65760405162461bcd60e51b815260040161099f906129a7565b601354336000908152601560205260409020546116149084906128e0565b11156116325760405162461bcd60e51b815260040161099f906129d2565b34826010546116419190612949565b111561165f5760405162461bcd60e51b815260040161099f906129fd565b3360009081526015602052604090205461167a9083906128e0565b33600090815260156020526040812091909155600b8054849290610d559084906128e0565b6116a761191c565b6001600160a01b03811661170c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161099f565b610e8081611e53565b61171d61191c565b600e5481600b5461172e91906128e0565b111561128c5760405162461bcd60e51b815260040161099f906128f3565b61175461191c565b601255565b60006001600160e01b0319821663152a902d60e11b148061089957506301ffc9a760e01b6001600160e01b0319831614610899565b6000816001111580156117a2575060005482105b8015610899575050600090815260046020526040902054600160e01b161590565b6daaeb6d7670e522a718067333cd4e3b15610e8057604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015611830573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118549190612bb4565b610e8057604051633b79c77360e21b81526001600160a01b038216600482015260240161099f565b6000611887826110f4565b9050336001600160a01b038216146118c0576118a38133611418565b6118c0576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600a546001600160a01b031633146111a15760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161099f565b600080549082900361199b5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114611a4a57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611a12565b5081600003611a6b57604051622e076360e81b815260040160405180910390fd5b60005550505050565b6000611a7f82611ddd565b9050836001600160a01b0316816001600160a01b031614611ab25760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417611aff57611ae28633611418565b611aff57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516611b2657604051633a954ecd60e21b815260040160405180910390fd5b8015611b3157600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003611bc357600184016000818152600460205260408120549003611bc1576000548114611bc15760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b6000803383604051602001611c23929190612bd1565b60408051601f198184030181529082905280516020918201207f19457468657265756d205369676e6564204d6573736167653a0a33320000000091830191909152603c820152605c0160408051601f1981840301815291905280516020909101209050611c908185611fe8565b600d546001600160a01b03918216911614949350505050565b80471015611cf95760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e6365000000604482015260640161099f565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611d46576040519150601f19603f3d011682016040523d82523d6000602084013e611d4b565b606091505b50509050806109bc5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d61792068617665207265766572746564000000000000606482015260840161099f565b6109bc838383604051806020016040528060008152506112ec565b60008180600111611e3a57600054811015611e3a5760008181526004602052604081205490600160e01b82169003611e38575b80600003611e31575060001901600081815260046020526040902054611e10565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b611f1c848484610a97565b6001600160a01b0383163b15610ae657611f388484848461200c565b610ae6576040516368d2bf6b60e11b815260040160405180910390fd5b60606000611f62836120f7565b600101905060008167ffffffffffffffff811115611f8257611f826125e7565b6040519080825280601f01601f191660200182016040528015611fac576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a8504945084611fb657509392505050565b6000806000611ff785856121cf565b9150915061200481612211565b509392505050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290612041903390899088908890600401612c04565b6020604051808303816000875af192505050801561207c575060408051601f3d908101601f1916820190925261207991810190612c41565b60015b6120da573d8080156120aa576040519150601f19603f3d011682016040523d82523d6000602084013e6120af565b606091505b5080516000036120d2576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106121365772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310612162576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061218057662386f26fc10000830492506010015b6305f5e1008310612198576305f5e100830492506008015b61271083106121ac57612710830492506004015b606483106121be576064830492506002015b600a83106108995760010192915050565b60008082516041036122055760208301516040840151606085015160001a6121f98782858561235b565b94509450505050610b93565b50600090506002610b93565b600081600481111561222557612225612c5e565b0361222d5750565b600181600481111561224157612241612c5e565b0361228e5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e61747572650000000000000000604482015260640161099f565b60028160048111156122a2576122a2612c5e565b036122ef5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e67746800604482015260640161099f565b600381600481111561230357612303612c5e565b03610e805760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b606482015260840161099f565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08311156123925750600090506003612416565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa1580156123e6573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811661240f57600060019250925050612416565b9150600090505b94509492505050565b6001600160e01b031981168114610e8057600080fd5b60006020828403121561244757600080fd5b8135611e318161241f565b60005b8381101561246d578181015183820152602001612455565b50506000910152565b6000815180845261248e816020860160208601612452565b601f01601f19169290920160200192915050565b602081526000611e316020830184612476565b6000602082840312156124c757600080fd5b5035919050565b80356001600160a01b03811681146124e557600080fd5b919050565b600080604083850312156124fd57600080fd5b612506836124ce565b946020939093013593505050565b6000806020838503121561252757600080fd5b823567ffffffffffffffff8082111561253f57600080fd5b818501915085601f83011261255357600080fd5b81358181111561256257600080fd5b8660208260051b850101111561257757600080fd5b60209290920196919550909350505050565b60008060006060848603121561259e57600080fd5b6125a7846124ce565b92506125b5602085016124ce565b9150604084013590509250925092565b600080604083850312156125d857600080fd5b50508035926020909101359150565b634e487b7160e01b600052604160045260246000fd5b600082601f83011261260e57600080fd5b813567ffffffffffffffff80821115612629576126296125e7565b604051601f8301601f19908116603f01168101908282118183101715612651576126516125e7565b8160405283815286602085880101111561266a57600080fd5b836020870160208301376000602085830101528094505050505092915050565b6000806040838503121561269d57600080fd5b82359150602083013567ffffffffffffffff8111156126bb57600080fd5b6126c7858286016125fd565b9150509250929050565b600080602083850312156126e457600080fd5b823567ffffffffffffffff808211156126fc57600080fd5b818501915085601f83011261271057600080fd5b81358181111561271f57600080fd5b86602082850101111561257757600080fd5b60006020828403121561274357600080fd5b611e31826124ce565b8015158114610e8057600080fd5b6000806040838503121561276d57600080fd5b612776836124ce565b915060208301356127868161274c565b809150509250929050565b600080600080608085870312156127a757600080fd5b6127b0856124ce565b93506127be602086016124ce565b925060408501359150606085013567ffffffffffffffff8111156127e157600080fd5b6127ed878288016125fd565b91505092959194509250565b6000806040838503121561280c57600080fd5b612815836124ce565b9150612823602084016124ce565b90509250929050565b6020808252825182820181905260009190848201906040850190845b8181101561286457835183529284019291840191600101612848565b50909695505050505050565b600181811c9082168061288457607f821691505b6020821081036128a457634e487b7160e01b600052602260045260246000fd5b50919050565b602080825260069082015265232927ad22a760d11b604082015260600190565b634e487b7160e01b600052601160045260246000fd5b80820180821115610899576108996128ca565b6020808252600d908201526c4558434545445f535550504c5960981b604082015260600190565b634e487b7160e01b600052603260045260246000fd5b600060018201612942576129426128ca565b5060010190565b8082028115828204841417610899576108996128ca565b60008261297d57634e487b7160e01b600052601260045260246000fd5b500490565b6020808252600b908201526a1393d517d0531313d5d15160aa1b604082015260600190565b602080825260119082015270494e56414c49445f5349474e415455524560781b604082015260600190565b602080825260119082015270115610d1515117d4115497d5d053131155607a1b604082015260600190565b60208082526010908201526f0929ca6aa8c8c9286928a9ca8be8aa8960831b604082015260600190565b601f8211156109bc57600081815260208120601f850160051c81016020861015612a4e5750805b601f850160051c820191505b81811015611c0557828155600101612a5a565b67ffffffffffffffff831115612a8557612a856125e7565b612a9983612a938354612870565b83612a27565b6000601f841160018114612acd5760008515612ab55750838201355b600019600387901b1c1916600186901b17835561133c565b600083815260209020601f19861690835b82811015612afe5786850135825560209485019460019092019101612ade565b5086821015612b1b5760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b6000808454612b3b81612870565b60018281168015612b535760018114612b6857612b97565b60ff1984168752821515830287019450612b97565b8860005260208060002060005b85811015612b8e5781548a820152908401908201612b75565b50505082870194505b505050508351612bab818360208801612452565b01949350505050565b600060208284031215612bc657600080fd5b8151611e318161274c565b6001600160601b03198360601b16815260008251612bf6816014850160208701612452565b919091016014019392505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612c3790830184612476565b9695505050505050565b600060208284031215612c5357600080fd5b8151611e318161241f565b634e487b7160e01b600052602160045260246000fdfea26469706673582212200597e4764954c6b6b8baaa4f1b8a4f91c84e6bfdc5e46b1d837196ec7bac1a6c64736f6c6343000812003368747470733a2f2f74757271756f6973652d6c6566742d666f776c2d3935332e6d7970696e6174612e636c6f75642f697066732f516d5368364a5568643776486a4c635265626e6f34577348383557713848324b5157566a796d78674d31506e50622f

Deployed Bytecode

0x6080604052600436106102b25760003560e01c806370a0823111610175578063c6275255116100dc578063eadff51111610095578063f2fde38b1161006f578063f2fde38b14610801578063f42202e814610821578063f6a5b8e614610841578063f9d0a3b01461086157600080fd5b8063eadff511146107a2578063ed809dd5146107b5578063f071d59e146107d457600080fd5b8063c6275255146106e0578063c87b56dd14610700578063cb2bbdd614610720578063d0f4b63a14610740578063e985e9c514610755578063ea66aeb31461077557600080fd5b80639fc318cb1161012e5780639fc318cb14610644578063a0712d681461065a578063a22cb4651461066d578063b88d4fde1461068d578063b969ed60146106a0578063bda28759146106c057600080fd5b806370a082311461058f578063715018a6146105af57806380ffefd9146105c45780638da5cb5b146105f15780638ff4013f1461060f57806395d89b411461062f57600080fd5b80633ca15be71161021957806347b20214116101d257806347b20214146104eb57806355f804b31461050557806362a5af3b146105255780636352211e1461053a5780636a28f0001461055a5780636c19e7831461056f57600080fd5b80633ca15be7146104665780633ccfd60b146104795780634047638d1461048e57806341f43434146104a357806342842e0e146104c55780634549e17d146104d857600080fd5b806318160ddd1161026b57806318160ddd146103a25780631e1d0b8f146103c957806323b872dd146103de5780632a55205a146103f157806331ddbff11461043057806332e6e70b1461044557600080fd5b806301ffc9a7146102be57806306fdde03146102f3578063081812fc14610315578063095ea7b31461034d5780630cef1fbf14610362578063163e1e611461038257600080fd5b366102b957005b600080fd5b3480156102ca57600080fd5b506102de6102d9366004612435565b61088e565b60405190151581526020015b60405180910390f35b3480156102ff57600080fd5b5061030861089f565b6040516102ea91906124a2565b34801561032157600080fd5b506103356103303660046124b5565b610931565b6040516001600160a01b0390911681526020016102ea565b61036061035b3660046124ea565b610975565b005b34801561036e57600080fd5b5061036061037d3660046124b5565b6109c1565b34801561038e57600080fd5b5061036061039d366004612514565b6109ce565b3480156103ae57600080fd5b5060015460005403600019015b6040519081526020016102ea565b3480156103d557600080fd5b50610360610a6e565b6103606103ec366004612589565b610a97565b3480156103fd57600080fd5b5061041161040c3660046125c5565b610aec565b604080516001600160a01b0390931683526020830191909152016102ea565b34801561043c57600080fd5b50610360610b9a565b34801561045157600080fd5b506014546102de906301000000900460ff1681565b61036061047436600461268a565b610bc1565b34801561048557600080fd5b50610360610d69565b34801561049a57600080fd5b50610360610e83565b3480156104af57600080fd5b506103356daaeb6d7670e522a718067333cd4e81565b6103606104d3366004612589565b610e9f565b6103606104e636600461268a565b610eee565b3480156104f757600080fd5b506014546102de9060ff1681565b34801561051157600080fd5b506103606105203660046126d1565b611081565b34801561053157600080fd5b50610360611096565b34801561054657600080fd5b506103356105553660046124b5565b6110f4565b34801561056657600080fd5b506103606110ff565b34801561057b57600080fd5b5061036061058a366004612731565b611116565b34801561059b57600080fd5b506103bb6105aa366004612731565b611140565b3480156105bb57600080fd5b5061036061118f565b3480156105d057600080fd5b506103bb6105df366004612731565b60156020526000908152604090205481565b3480156105fd57600080fd5b50600a546001600160a01b0316610335565b34801561061b57600080fd5b5061036061062a3660046124b5565b6111a3565b34801561063b57600080fd5b506103086111b0565b34801561065057600080fd5b506103bb600b5481565b6103606106683660046124b5565b6111bf565b34801561067957600080fd5b5061036061068836600461275a565b6112ae565b61036061069b366004612791565b6112ec565b3480156106ac57600080fd5b506014546102de9062010000900460ff1681565b3480156106cc57600080fd5b506103606106db3660046124b5565b611343565b3480156106ec57600080fd5b506103606106fb3660046124b5565b611350565b34801561070c57600080fd5b5061030861071b3660046124b5565b61135d565b34801561072c57600080fd5b5061036061073b3660046124b5565b6113e6565b34801561074c57600080fd5b506103606113f3565b34801561076157600080fd5b506102de6107703660046127f9565b611418565b34801561078157600080fd5b50610795610790366004612731565b611446565b6040516102ea919061282c565b6103606107b036600461268a565b61150d565b3480156107c157600080fd5b506014546102de90610100900460ff1681565b3480156107e057600080fd5b506103bb6107ef366004612731565b60166020526000908152604090205481565b34801561080d57600080fd5b5061036061081c366004612731565b61169f565b34801561082d57600080fd5b5061036061083c3660046124b5565b611715565b34801561084d57600080fd5b5061036061085c3660046124b5565b61174c565b34801561086d57600080fd5b506103bb61087c366004612731565b60176020526000908152604090205481565b600061089982611759565b92915050565b6060600280546108ae90612870565b80601f01602080910402602001604051908101604052809291908181526020018280546108da90612870565b80156109275780601f106108fc57610100808354040283529160200191610927565b820191906000526020600020905b81548152906001019060200180831161090a57829003601f168201915b5050505050905090565b600061093c8261178e565b610959576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600d54600160a01b900460ff16156109a85760405162461bcd60e51b815260040161099f906128aa565b60405180910390fd5b816109b2816117c3565b6109bc838361187c565b505050565b6109c961191c565b600e55565b6109d661191c565b600e54600b546109e79083906128e0565b1115610a055760405162461bcd60e51b815260040161099f906128f3565b81819050600b6000828254610a1a91906128e0565b90915550600090505b818110156109bc57610a5c838383818110610a4057610a4061291a565b9050602002016020810190610a559190612731565b6001611976565b80610a6681612930565b915050610a23565b610a7661191c565b6014805463ff00000019811663010000009182900460ff1615909102179055565b600d54600160a01b900460ff1615610ac15760405162461bcd60e51b815260040161099f906128aa565b826001600160a01b0381163314610adb57610adb336117c3565b610ae6848484611a74565b50505050565b60008281526009602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b0316928201929092528291610b615750604080518082019091526008546001600160a01b0381168252600160a01b90046001600160601b031660208201525b602081015160009061271090610b80906001600160601b031687612949565b610b8a9190612960565b91519350909150505b9250929050565b610ba261191c565b6014805462ff0000198116620100009182900460ff1615909102179055565b333b158015610bcf57503332145b610beb5760405162461bcd60e51b815260040161099f90612982565b6014546301000000900460ff16610c355760405162461bcd60e51b815260206004820152600e60248201526d15d317d352539517d0d313d4d15160921b604482015260640161099f565b600e5482600b54610c4691906128e0565b1115610c645760405162461bcd60e51b815260040161099f906128f3565b610c90816040518060400160405280600a81526020016910955313125154cb55d360b21b815250611c0d565b610cac5760405162461bcd60e51b815260040161099f906129a7565b60135433600090815260176020526040902054610cca9084906128e0565b1115610ce85760405162461bcd60e51b815260040161099f906129d2565b3482601254610cf79190612949565b1115610d155760405162461bcd60e51b815260040161099f906129fd565b33600090815260176020526040902054610d309083906128e0565b33600090815260176020526040812091909155600b8054849290610d559084906128e0565b90915550610d6590503383611976565b5050565b610d7161191c565b47610da773f00151568e332f3476d80807ef2c2b99f9f777ad6103e8610d9884607d612949565b610da29190612960565b611ca9565b610dcd734489b64a34af33a3f06d82588fd312870ff15cea6103e8610d9884607d612949565b610df373c87408d57416efdcd53b0ee905c74fd45b61e4df6103e8610d9884607d612949565b610e1973b49a027c51219ae4043e37ee45c71e1f2e3f8fbc6103e8610d9884607d612949565b610e3c7040f69b8e3382734491cbaa241b6a863ab36103e8610d98846046612949565b610e6273ae1a33e8c8e0ab24f744d43f8e187aca5b45b8d36103e8610d9884601e612949565b610e8073f4741d21c4d31df6551733613415c8873ea958cf47611ca9565b50565b610e8b61191c565b6014805460ff19811660ff90911615179055565b600d54600160a01b900460ff1615610ec95760405162461bcd60e51b815260040161099f906128aa565b826001600160a01b0381163314610ee357610ee3336117c3565b610ae6848484611dc2565b333b158015610efc57503332145b610f185760405162461bcd60e51b815260040161099f90612982565b60145462010000900460ff16610f615760405162461bcd60e51b815260206004820152600e60248201526d13d1d7d352539517d0d313d4d15160921b604482015260640161099f565b600e5482600b54610f7291906128e0565b1115610f905760405162461bcd60e51b815260040161099f906128f3565b610fbc816040518060400160405280600a81526020016942554c4c4945532d4f4760b01b815250611c0d565b610fd85760405162461bcd60e51b815260040161099f906129a7565b60135433600090815260166020526040902054610ff69084906128e0565b11156110145760405162461bcd60e51b815260040161099f906129d2565b34826011546110239190612949565b11156110415760405162461bcd60e51b815260040161099f906129fd565b3360009081526016602052604090205461105c9083906128e0565b33600090815260166020526040812091909155600b8054849290610d559084906128e0565b61108961191c565b600c6109bc828483612a6d565b61109e61191c565b636422c40042106110df5760405162461bcd60e51b815260206004820152600b60248201526a43414e545f465245455a4560a81b604482015260640161099f565b600d805460ff60a01b1916600160a01b179055565b600061089982611ddd565b61110761191c565b600d805460ff60a01b19169055565b61111e61191c565b600d80546001600160a01b0319166001600160a01b0392909216919091179055565b60006001600160a01b038216611169576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b61119761191c565b6111a16000611e53565b565b6111ab61191c565b601355565b6060600380546108ae90612870565b333b1580156111cd57503332145b6111e95760405162461bcd60e51b815260040161099f90612982565b60145460ff166112305760405162461bcd60e51b8152602060048201526012602482015271141550931250d7d352539517d0d313d4d15160721b604482015260640161099f565b600e5481600b5461124191906128e0565b111561125f5760405162461bcd60e51b815260040161099f906128f3565b3481600f5461126e9190612949565b111561128c5760405162461bcd60e51b815260040161099f906129fd565b80600b600082825461129e91906128e0565b90915550610e8090503382611976565b600d54600160a01b900460ff16156112d85760405162461bcd60e51b815260040161099f906128aa565b816112e2816117c3565b6109bc8383611ea5565b600d54600160a01b900460ff16156113165760405162461bcd60e51b815260040161099f906128aa565b836001600160a01b038116331461133057611330336117c3565b61133c85858585611f11565b5050505050565b61134b61191c565b601055565b61135861191c565b600f55565b60606113688261178e565b6113b45760405162461bcd60e51b815260206004820152601f60248201527f43616e6e6f74207175657279206e6f6e2d6578697374656e7420746f6b656e00604482015260640161099f565b600c6113bf83611f55565b6040516020016113d0929190612b2d565b6040516020818303038152906040529050919050565b6113ee61191c565b601155565b6113fb61191c565b6014805461ff001981166101009182900460ff1615909102179055565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6060600061145383611140565b67ffffffffffffffff81111561146b5761146b6125e7565b604051908082528060200260200182016040528015611494578160200160208202803683370190505b509050600060015b600b54811161150457846001600160a01b03166114b8826110f4565b6001600160a01b0316036114f257808383815181106114d9576114d961291a565b6020908102919091010152816114ee81612930565b9250505b806114fc81612930565b91505061149c565b50909392505050565b333b15801561151b57503332145b6115375760405162461bcd60e51b815260040161099f90612982565b601454610100900460ff1661157f5760405162461bcd60e51b815260206004820152600e60248201526d115097d352539517d0d313d4d15160921b604482015260640161099f565b600e5482600b5461159091906128e0565b11156115ae5760405162461bcd60e51b815260040161099f906128f3565b6115da816040518060400160405280600a815260200169212aa62624a2a996a2a160b11b815250611c0d565b6115f65760405162461bcd60e51b815260040161099f906129a7565b601354336000908152601560205260409020546116149084906128e0565b11156116325760405162461bcd60e51b815260040161099f906129d2565b34826010546116419190612949565b111561165f5760405162461bcd60e51b815260040161099f906129fd565b3360009081526015602052604090205461167a9083906128e0565b33600090815260156020526040812091909155600b8054849290610d559084906128e0565b6116a761191c565b6001600160a01b03811661170c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161099f565b610e8081611e53565b61171d61191c565b600e5481600b5461172e91906128e0565b111561128c5760405162461bcd60e51b815260040161099f906128f3565b61175461191c565b601255565b60006001600160e01b0319821663152a902d60e11b148061089957506301ffc9a760e01b6001600160e01b0319831614610899565b6000816001111580156117a2575060005482105b8015610899575050600090815260046020526040902054600160e01b161590565b6daaeb6d7670e522a718067333cd4e3b15610e8057604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015611830573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118549190612bb4565b610e8057604051633b79c77360e21b81526001600160a01b038216600482015260240161099f565b6000611887826110f4565b9050336001600160a01b038216146118c0576118a38133611418565b6118c0576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600a546001600160a01b031633146111a15760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161099f565b600080549082900361199b5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114611a4a57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611a12565b5081600003611a6b57604051622e076360e81b815260040160405180910390fd5b60005550505050565b6000611a7f82611ddd565b9050836001600160a01b0316816001600160a01b031614611ab25760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417611aff57611ae28633611418565b611aff57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516611b2657604051633a954ecd60e21b815260040160405180910390fd5b8015611b3157600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003611bc357600184016000818152600460205260408120549003611bc1576000548114611bc15760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b6000803383604051602001611c23929190612bd1565b60408051601f198184030181529082905280516020918201207f19457468657265756d205369676e6564204d6573736167653a0a33320000000091830191909152603c820152605c0160408051601f1981840301815291905280516020909101209050611c908185611fe8565b600d546001600160a01b03918216911614949350505050565b80471015611cf95760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e6365000000604482015260640161099f565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611d46576040519150601f19603f3d011682016040523d82523d6000602084013e611d4b565b606091505b50509050806109bc5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d61792068617665207265766572746564000000000000606482015260840161099f565b6109bc838383604051806020016040528060008152506112ec565b60008180600111611e3a57600054811015611e3a5760008181526004602052604081205490600160e01b82169003611e38575b80600003611e31575060001901600081815260046020526040902054611e10565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b611f1c848484610a97565b6001600160a01b0383163b15610ae657611f388484848461200c565b610ae6576040516368d2bf6b60e11b815260040160405180910390fd5b60606000611f62836120f7565b600101905060008167ffffffffffffffff811115611f8257611f826125e7565b6040519080825280601f01601f191660200182016040528015611fac576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a8504945084611fb657509392505050565b6000806000611ff785856121cf565b9150915061200481612211565b509392505050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290612041903390899088908890600401612c04565b6020604051808303816000875af192505050801561207c575060408051601f3d908101601f1916820190925261207991810190612c41565b60015b6120da573d8080156120aa576040519150601f19603f3d011682016040523d82523d6000602084013e6120af565b606091505b5080516000036120d2576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106121365772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310612162576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061218057662386f26fc10000830492506010015b6305f5e1008310612198576305f5e100830492506008015b61271083106121ac57612710830492506004015b606483106121be576064830492506002015b600a83106108995760010192915050565b60008082516041036122055760208301516040840151606085015160001a6121f98782858561235b565b94509450505050610b93565b50600090506002610b93565b600081600481111561222557612225612c5e565b0361222d5750565b600181600481111561224157612241612c5e565b0361228e5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e61747572650000000000000000604482015260640161099f565b60028160048111156122a2576122a2612c5e565b036122ef5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e67746800604482015260640161099f565b600381600481111561230357612303612c5e565b03610e805760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b606482015260840161099f565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08311156123925750600090506003612416565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa1580156123e6573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811661240f57600060019250925050612416565b9150600090505b94509492505050565b6001600160e01b031981168114610e8057600080fd5b60006020828403121561244757600080fd5b8135611e318161241f565b60005b8381101561246d578181015183820152602001612455565b50506000910152565b6000815180845261248e816020860160208601612452565b601f01601f19169290920160200192915050565b602081526000611e316020830184612476565b6000602082840312156124c757600080fd5b5035919050565b80356001600160a01b03811681146124e557600080fd5b919050565b600080604083850312156124fd57600080fd5b612506836124ce565b946020939093013593505050565b6000806020838503121561252757600080fd5b823567ffffffffffffffff8082111561253f57600080fd5b818501915085601f83011261255357600080fd5b81358181111561256257600080fd5b8660208260051b850101111561257757600080fd5b60209290920196919550909350505050565b60008060006060848603121561259e57600080fd5b6125a7846124ce565b92506125b5602085016124ce565b9150604084013590509250925092565b600080604083850312156125d857600080fd5b50508035926020909101359150565b634e487b7160e01b600052604160045260246000fd5b600082601f83011261260e57600080fd5b813567ffffffffffffffff80821115612629576126296125e7565b604051601f8301601f19908116603f01168101908282118183101715612651576126516125e7565b8160405283815286602085880101111561266a57600080fd5b836020870160208301376000602085830101528094505050505092915050565b6000806040838503121561269d57600080fd5b82359150602083013567ffffffffffffffff8111156126bb57600080fd5b6126c7858286016125fd565b9150509250929050565b600080602083850312156126e457600080fd5b823567ffffffffffffffff808211156126fc57600080fd5b818501915085601f83011261271057600080fd5b81358181111561271f57600080fd5b86602082850101111561257757600080fd5b60006020828403121561274357600080fd5b611e31826124ce565b8015158114610e8057600080fd5b6000806040838503121561276d57600080fd5b612776836124ce565b915060208301356127868161274c565b809150509250929050565b600080600080608085870312156127a757600080fd5b6127b0856124ce565b93506127be602086016124ce565b925060408501359150606085013567ffffffffffffffff8111156127e157600080fd5b6127ed878288016125fd565b91505092959194509250565b6000806040838503121561280c57600080fd5b612815836124ce565b9150612823602084016124ce565b90509250929050565b6020808252825182820181905260009190848201906040850190845b8181101561286457835183529284019291840191600101612848565b50909695505050505050565b600181811c9082168061288457607f821691505b6020821081036128a457634e487b7160e01b600052602260045260246000fd5b50919050565b602080825260069082015265232927ad22a760d11b604082015260600190565b634e487b7160e01b600052601160045260246000fd5b80820180821115610899576108996128ca565b6020808252600d908201526c4558434545445f535550504c5960981b604082015260600190565b634e487b7160e01b600052603260045260246000fd5b600060018201612942576129426128ca565b5060010190565b8082028115828204841417610899576108996128ca565b60008261297d57634e487b7160e01b600052601260045260246000fd5b500490565b6020808252600b908201526a1393d517d0531313d5d15160aa1b604082015260600190565b602080825260119082015270494e56414c49445f5349474e415455524560781b604082015260600190565b602080825260119082015270115610d1515117d4115497d5d053131155607a1b604082015260600190565b60208082526010908201526f0929ca6aa8c8c9286928a9ca8be8aa8960831b604082015260600190565b601f8211156109bc57600081815260208120601f850160051c81016020861015612a4e5750805b601f850160051c820191505b81811015611c0557828155600101612a5a565b67ffffffffffffffff831115612a8557612a856125e7565b612a9983612a938354612870565b83612a27565b6000601f841160018114612acd5760008515612ab55750838201355b600019600387901b1c1916600186901b17835561133c565b600083815260209020601f19861690835b82811015612afe5786850135825560209485019460019092019101612ade565b5086821015612b1b5760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b6000808454612b3b81612870565b60018281168015612b535760018114612b6857612b97565b60ff1984168752821515830287019450612b97565b8860005260208060002060005b85811015612b8e5781548a820152908401908201612b75565b50505082870194505b505050508351612bab818360208801612452565b01949350505050565b600060208284031215612bc657600080fd5b8151611e318161274c565b6001600160601b03198360601b16815260008251612bf6816014850160208701612452565b919091016014019392505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612c3790830184612476565b9695505050505050565b600060208284031215612c5357600080fd5b8151611e318161241f565b634e487b7160e01b600052602160045260246000fdfea26469706673582212200597e4764954c6b6b8baaa4f1b8a4f91c84e6bfdc5e46b1d837196ec7bac1a6c64736f6c63430008120033

Deployed Bytecode Sourcemap

106890:10385:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;117085:187;;;;;;;;;;-1:-1:-1;117085:187:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;117085:187:0;;;;;;;;74706:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;81197:218::-;;;;;;;;;;-1:-1:-1;81197:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1697:32:1;;;1679:51;;1667:2;1652:18;81197:218:0;1533:203:1;116158:200:0;;;;;;:::i;:::-;;:::i;:::-;;114200:98;;;;;;;;;;-1:-1:-1;114200:98:0;;;;;:::i;:::-;;:::i;112619:351::-;;;;;;;;;;-1:-1:-1;112619:351:0;;;;;:::i;:::-;;:::i;70457:323::-;;;;;;;;;;-1:-1:-1;108501:1:0;70731:12;70518:7;70715:13;:28;-1:-1:-1;;70715:46:0;70457:323;;;2944:25:1;;;2932:2;2917:18;70457:323:0;2798:177:1;113575:90:0;;;;;;;;;;;;;:::i;116366:215::-;;;;;;:::i;:::-;;:::i;52903:442::-;;;;;;;;;;-1:-1:-1;52903:442:0;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;3758:32:1;;;3740:51;;3822:2;3807:18;;3800:34;;;;3713:18;52903:442:0;3566:274:1;113477:90:0;;;;;;;;;;;;;:::i;107746:24::-;;;;;;;;;;-1:-1:-1;107746:24:0;;;;;;;;;;;110962:791;;;;;;:::i;:::-;;:::i;114753:1141::-;;;;;;;;;;;;;:::i;113269:102::-;;;;;;;;;;;;;:::i;45050:143::-;;;;;;;;;;;;37466:42;45050:143;;116589:223;;;;;;:::i;:::-;;:::i;110163:791::-;;;;;;:::i;:::-;;:::i;107649:28::-;;;;;;;;;;-1:-1:-1;107649:28:0;;;;;;;;114417:106;;;;;;;;;;-1:-1:-1;114417:106:0;;;;;:::i;:::-;;:::i;114531:133::-;;;;;;;;;;;;;:::i;76099:152::-;;;;;;;;;;-1:-1:-1;76099:152:0;;;;;:::i;:::-;;:::i;114672:73::-;;;;;;;;;;;;;:::i;114306:103::-;;;;;;;;;;-1:-1:-1;114306:103:0;;;;;:::i;:::-;;:::i;71641:233::-;;;;;;;;;;-1:-1:-1;71641:233:0;;;;;:::i;:::-;;:::i;36498:103::-;;;;;;;;;;;;;:::i;107779:45::-;;;;;;;;;;-1:-1:-1;107779:45:0;;;;;:::i;:::-;;;;;;;;;;;;;;35850:87;;;;;;;;;;-1:-1:-1;35923:6:0;;-1:-1:-1;;;;;35923:6:0;35850:87;;114093:99;;;;;;;;;;-1:-1:-1;114093:99:0;;;;;:::i;:::-;;:::i;74882:104::-;;;;;;;;;;;;;:::i;107090:34::-;;;;;;;;;;;;;;;;108931:425;;;;;;:::i;:::-;;:::i;115939:211::-;;;;;;;;;;-1:-1:-1;115939:211:0;;;;;:::i;:::-;;:::i;116820:257::-;;;;;;:::i;:::-;;:::i;107715:24::-;;;;;;;;;;-1:-1:-1;107715:24:0;;;;;;;;;;;113784:95;;;;;;;;;;-1:-1:-1;113784:95:0;;;;;:::i;:::-;;:::i;113673:103::-;;;;;;;;;;-1:-1:-1;113673:103:0;;;;;:::i;:::-;;:::i;111761:255::-;;;;;;;;;;-1:-1:-1;111761:255:0;;;;;:::i;:::-;;:::i;113887:95::-;;;;;;;;;;-1:-1:-1;113887:95:0;;;;;:::i;:::-;;:::i;113379:90::-;;;;;;;;;;;;;:::i;82146:164::-;;;;;;;;;;-1:-1:-1;82146:164:0;;;;;:::i;:::-;;:::i;112140:471::-;;;;;;;;;;-1:-1:-1;112140:471:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;109364:791::-;;;;;;:::i;:::-;;:::i;107684:24::-;;;;;;;;;;-1:-1:-1;107684:24:0;;;;;;;;;;;107831:45;;;;;;;;;;-1:-1:-1;107831:45:0;;;;;:::i;:::-;;;;;;;;;;;;;;36756:201;;;;;;;;;;-1:-1:-1;36756:201:0;;;;;:::i;:::-;;:::i;112978:283::-;;;;;;;;;;-1:-1:-1;112978:283:0;;;;;:::i;:::-;;:::i;113990:95::-;;;;;;;;;;-1:-1:-1;113990:95:0;;;;;:::i;:::-;;:::i;107883:45::-;;;;;;;;;;-1:-1:-1;107883:45:0;;;;;:::i;:::-;;;;;;;;;;;;;;117085:187;117204:4;117228:36;117252:11;117228:23;:36::i;:::-;117221:43;117085:187;-1:-1:-1;;117085:187:0:o;74706:100::-;74760:13;74793:5;74786:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;74706:100;:::o;81197:218::-;81273:7;81298:16;81306:7;81298;:16::i;:::-;81293:64;;81323:34;;-1:-1:-1;;;81323:34:0;;;;;;;;;;;81293:64;-1:-1:-1;81377:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;81377:30:0;;81197:218::o;116158:200::-;107977:7;;-1:-1:-1;;;107977:7:0;;;;:16;107969:35;;;;-1:-1:-1;;;107969:35:0;;;;;;;:::i;:::-;;;;;;;;;116297:8:::1;46832:30;46853:8;46832:20;:30::i;:::-;116318:32:::2;116332:8;116342:7;116318:13;:32::i;:::-;108015:1:::1;116158:200:::0;;:::o;114200:98::-;35736:13;:11;:13::i;:::-;114270:9:::1;:20:::0;114200:98::o;112619:351::-;35736:13;:11;:13::i;:::-;112757:9:::1;::::0;112715:19:::1;::::0;:38:::1;::::0;112737:9;;112715:38:::1;:::i;:::-;:51;;112693:114;;;;-1:-1:-1::0;;;112693:114:0::1;;;;;;;:::i;:::-;112843:9;;:16;;112820:19;;:39;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;112875:6:0::1;::::0;-1:-1:-1;112870:93:0::1;112887:20:::0;;::::1;112870:93;;;112929:22;112935:9;;112945:1;112935:12;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;112949:1;112929:5;:22::i;:::-;112909:3:::0;::::1;::::0;::::1;:::i;:::-;;;;112870:93;;113575:90:::0;35736:13;:11;:13::i;:::-;113645:12:::1;::::0;;-1:-1:-1;;113629:28:0;::::1;113645:12:::0;;;;::::1;;;113644:13;113629:28:::0;;::::1;;::::0;;113575:90::o;116366:215::-;107977:7;;-1:-1:-1;;;107977:7:0;;;;:16;107969:35;;;;-1:-1:-1;;;107969:35:0;;;;;;;:::i;:::-;116519:4;-1:-1:-1;;;;;46558:18:0;::::1;46566:10;46558:18;46554:83;;46593:32;46614:10;46593:20;:32::i;:::-;116536:37:::2;116555:4;116561:2;116565:7;116536:18;:37::i;:::-;108015:1:::1;116366:215:::0;;;:::o;52903:442::-;53000:7;53058:27;;;:17;:27;;;;;;;;53029:56;;;;;;;;;-1:-1:-1;;;;;53029:56:0;;;;;-1:-1:-1;;;53029:56:0;;;-1:-1:-1;;;;;53029:56:0;;;;;;;;53000:7;;53098:92;;-1:-1:-1;53149:29:0;;;;;;;;;53159:19;53149:29;-1:-1:-1;;;;;53149:29:0;;;;-1:-1:-1;;;53149:29:0;;-1:-1:-1;;;;;53149:29:0;;;;;53098:92;53240:23;;;;53202:21;;53711:5;;53227:36;;-1:-1:-1;;;;;53227:36:0;:10;:36;:::i;:::-;53226:58;;;;:::i;:::-;53305:16;;;-1:-1:-1;53202:82:0;;-1:-1:-1;;52903:442:0;;;;;;:::o;113477:90::-;35736:13;:11;:13::i;:::-;113547:12:::1;::::0;;-1:-1:-1;;113531:28:0;::::1;113547:12:::0;;;;::::1;;;113546:13;113531:28:::0;;::::1;;::::0;;113477:90::o;110962:791::-;108102:10;108340:17;108385:8;;;108088:55;;-1:-1:-1;108119:10:0;108133:9;108119:23;108088:55;108066:116;;;;-1:-1:-1;;;108066:116:0;;;;;;;:::i;:::-;111099:12:::1;::::0;;;::::1;;;111091:39;;;::::0;-1:-1:-1;;;111091:39:0;;10672:2:1;111091:39:0::1;::::0;::::1;10654:21:1::0;10711:2;10691:18;;;10684:30;-1:-1:-1;;;10730:18:1;;;10723:44;10784:18;;111091:39:0::1;10470:338:1::0;111091:39:0::1;111202:9;;111185:13;111163:19;;:35;;;;:::i;:::-;:48;;111141:111;;;;-1:-1:-1::0;;;111141:111:0::1;;;;;;;:::i;:::-;111285:42;111303:9;111285:42;;;;;;;;;;;;;-1:-1:-1::0;;;111285:42:0::1;;::::0;:17:::1;:42::i;:::-;111263:109;;;;-1:-1:-1::0;;;111263:109:0::1;;;;;;;:::i;:::-;111447:10;::::0;111416::::1;111405:22;::::0;;;:10:::1;:22;::::0;;;;;:38:::1;::::0;111430:13;;111405:38:::1;:::i;:::-;:52;;111383:119;;;;-1:-1:-1::0;;;111383:119:0::1;;;;;;;:::i;:::-;111549:9;111532:13;111521:8;;:24;;;;:::i;:::-;:37;;111513:66;;;;-1:-1:-1::0;;;111513:66:0::1;;;;;;;:::i;:::-;111628:10;111617:22;::::0;;;:10:::1;:22;::::0;;;;;:38:::1;::::0;111642:13;;111617:38:::1;:::i;:::-;111603:10;111592:22;::::0;;;:10:::1;:22;::::0;;;;:63;;;;111666:19:::1;:36:::0;;111689:13;;111592:22;111666:36:::1;::::0;111689:13;;111666:36:::1;:::i;:::-;::::0;;;-1:-1:-1;111713:32:0::1;::::0;-1:-1:-1;111719:10:0::1;111731:13:::0;111713:5:::1;:32::i;:::-;110962:791:::0;;:::o;114753:1141::-;35736:13;:11;:13::i;:::-;114828:21:::1;114860:138;114900:42;114983:4;114959:20;114828:21:::0;114976:3:::1;114959:20;:::i;:::-;114958:29;;;;:::i;:::-;114860:17;:138::i;:::-;115009;115049:42;115132:4;115108:20;:14:::0;115125:3:::1;115108:20;:::i;115009:138::-;115158;115198:42;115281:4;115257:20;:14:::0;115274:3:::1;115257:20;:::i;115158:138::-;115307;115347:42;115430:4;115406:20;:14:::0;115423:3:::1;115406:20;:::i;115307:138::-;115458:137;115498:42;115580:4;115557:19;:14:::0;115574:2:::1;115557:19;:::i;115458:137::-;115608;115648:42;115730:4;115707:19;:14:::0;115724:2:::1;115707:19;:::i;115608:137::-;115756:130;115796:42;115854:21;115756:17;:130::i;:::-;114792:1102;114753:1141::o:0;113269:102::-;35736:13;:11;:13::i;:::-;113347:16:::1;::::0;;-1:-1:-1;;113327:36:0;::::1;113347:16;::::0;;::::1;113346:17;113327:36;::::0;;113269:102::o;116589:223::-;107977:7;;-1:-1:-1;;;107977:7:0;;;;:16;107969:35;;;;-1:-1:-1;;;107969:35:0;;;;;;;:::i;:::-;116746:4;-1:-1:-1;;;;;46558:18:0;::::1;46566:10;46558:18;46554:83;;46593:32;46614:10;46593:20;:32::i;:::-;116763:41:::2;116786:4;116792:2;116796:7;116763:22;:41::i;110163:791::-:0;108102:10;108340:17;108385:8;;;108088:55;;-1:-1:-1;108119:10:0;108133:9;108119:23;108088:55;108066:116;;;;-1:-1:-1;;;108066:116:0;;;;;;;:::i;:::-;110300:12:::1;::::0;;;::::1;;;110292:39;;;::::0;-1:-1:-1;;;110292:39:0;;12052:2:1;110292:39:0::1;::::0;::::1;12034:21:1::0;12091:2;12071:18;;;12064:30;-1:-1:-1;;;12110:18:1;;;12103:44;12164:18;;110292:39:0::1;11850:338:1::0;110292:39:0::1;110403:9;;110386:13;110364:19;;:35;;;;:::i;:::-;:48;;110342:111;;;;-1:-1:-1::0;;;110342:111:0::1;;;;;;;:::i;:::-;110486:42;110504:9;110486:42;;;;;;;;;;;;;-1:-1:-1::0;;;110486:42:0::1;;::::0;:17:::1;:42::i;:::-;110464:109;;;;-1:-1:-1::0;;;110464:109:0::1;;;;;;;:::i;:::-;110648:10;::::0;110617::::1;110606:22;::::0;;;:10:::1;:22;::::0;;;;;:38:::1;::::0;110631:13;;110606:38:::1;:::i;:::-;:52;;110584:119;;;;-1:-1:-1::0;;;110584:119:0::1;;;;;;;:::i;:::-;110750:9;110733:13;110722:8;;:24;;;;:::i;:::-;:37;;110714:66;;;;-1:-1:-1::0;;;110714:66:0::1;;;;;;;:::i;:::-;110829:10;110818:22;::::0;;;:10:::1;:22;::::0;;;;;:38:::1;::::0;110843:13;;110818:38:::1;:::i;:::-;110804:10;110793:22;::::0;;;:10:::1;:22;::::0;;;;:63;;;;110867:19:::1;:36:::0;;110890:13;;110793:22;110867:36:::1;::::0;110890:13;;110867:36:::1;:::i;114417:106::-:0;35736:13;:11;:13::i;:::-;114495:7:::1;:20;114505:10:::0;;114495:7;:20:::1;:::i;114531:133::-:0;35736:13;:11;:13::i;:::-;114605:10:::1;114587:15;:28;114579:52;;;::::0;-1:-1:-1;;;114579:52:0;;14453:2:1;114579:52:0::1;::::0;::::1;14435:21:1::0;14492:2;14472:18;;;14465:30;-1:-1:-1;;;14511:18:1;;;14504:41;14562:18;;114579:52:0::1;14251:335:1::0;114579:52:0::1;114642:7;:14:::0;;-1:-1:-1;;;;114642:14:0::1;-1:-1:-1::0;;;114642:14:0::1;::::0;;114531:133::o;76099:152::-;76171:7;76214:27;76233:7;76214:18;:27::i;114672:73::-;35736:13;:11;:13::i;:::-;114722:7:::1;:15:::0;;-1:-1:-1;;;;114722:15:0::1;::::0;;114672:73::o;114306:103::-;35736:13;:11;:13::i;:::-;114375::::1;:26:::0;;-1:-1:-1;;;;;;114375:26:0::1;-1:-1:-1::0;;;;;114375:26:0;;;::::1;::::0;;;::::1;::::0;;114306:103::o;71641:233::-;71713:7;-1:-1:-1;;;;;71737:19:0;;71733:60;;71765:28;;-1:-1:-1;;;71765:28:0;;;;;;;;;;;71733:60;-1:-1:-1;;;;;;71811:25:0;;;;;:18;:25;;;;;;65800:13;71811:55;;71641:233::o;36498:103::-;35736:13;:11;:13::i;:::-;36563:30:::1;36590:1;36563:18;:30::i;:::-;36498:103::o:0;114093:99::-;35736:13;:11;:13::i;:::-;114163:10:::1;:21:::0;114093:99::o;74882:104::-;74938:13;74971:7;74964:14;;;;;:::i;108931:425::-;108102:10;108340:17;108385:8;;;108088:55;;-1:-1:-1;108119:10:0;108133:9;108119:23;108088:55;108066:116;;;;-1:-1:-1;;;108066:116:0;;;;;;;:::i;:::-;109016:16:::1;::::0;::::1;;109008:47;;;::::0;-1:-1:-1;;;109008:47:0;;14793:2:1;109008:47:0::1;::::0;::::1;14775:21:1::0;14832:2;14812:18;;;14805:30;-1:-1:-1;;;14851:18:1;;;14844:48;14909:18;;109008:47:0::1;14591:342:1::0;109008:47:0::1;109127:9;;109110:13;109088:19;;:35;;;;:::i;:::-;:48;;109066:111;;;;-1:-1:-1::0;;;109066:111:0::1;;;;;;;:::i;:::-;109228:9;109211:13;109196:12;;:28;;;;:::i;:::-;:41;;109188:70;;;;-1:-1:-1::0;;;109188:70:0::1;;;;;;;:::i;:::-;109292:13;109269:19;;:36;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;109316:32:0::1;::::0;-1:-1:-1;109322:10:0::1;109334:13:::0;109316:5:::1;:32::i;115939:211::-:0;107977:7;;-1:-1:-1;;;107977:7:0;;;;:16;107969:35;;;;-1:-1:-1;;;107969:35:0;;;;;;;:::i;:::-;116078:8:::1;46832:30;46853:8;46832:20;:30::i;:::-;116099:43:::2;116123:8;116133;116099:23;:43::i;116820:257::-:0;107977:7;;-1:-1:-1;;;107977:7:0;;;;:16;107969:35;;;;-1:-1:-1;;;107969:35:0;;;;;;;:::i;:::-;117005:4;-1:-1:-1;;;;;46558:18:0;::::1;46566:10;46558:18;46554:83;;46593:32;46614:10;46593:20;:32::i;:::-;117022:47:::2;117045:4;117051:2;117055:7;117064:4;117022:22;:47::i;:::-;108015:1:::1;116820:257:::0;;;;:::o;113784:95::-;35736:13;:11;:13::i;:::-;113852:8:::1;:19:::0;113784:95::o;113673:103::-;35736:13;:11;:13::i;:::-;113745:12:::1;:23:::0;113673:103::o;111761:255::-;111851:13;111885:16;111893:7;111885;:16::i;:::-;111877:60;;;;-1:-1:-1;;;111877:60:0;;15140:2:1;111877:60:0;;;15122:21:1;15179:2;15159:18;;;15152:30;15218:33;15198:18;;;15191:61;15269:18;;111877:60:0;14938:355:1;111877:60:0;111979:7;111988:18;:7;:16;:18::i;:::-;111962:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;111948:60;;111761:255;;;:::o;113887:95::-;35736:13;:11;:13::i;:::-;113955:8:::1;:19:::0;113887:95::o;113379:90::-;35736:13;:11;:13::i;:::-;113449:12:::1;::::0;;-1:-1:-1;;113433:28:0;::::1;113449:12;::::0;;;::::1;;;113448:13;113433:28:::0;;::::1;;::::0;;113379:90::o;82146:164::-;-1:-1:-1;;;;;82267:25:0;;;82243:4;82267:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;82146:164::o;112140:471::-;112217:16;112246:27;112290:16;112300:5;112290:9;:16::i;:::-;112276:31;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;112276:31:0;-1:-1:-1;112246:61:0;-1:-1:-1;112318:20:0;112370:1;112349:227;112382:19;;112373:5;:28;112349:227;;112449:5;-1:-1:-1;;;;;112431:23:0;:14;112439:5;112431:7;:14::i;:::-;-1:-1:-1;;;;;112431:23:0;;112427:138;;112510:5;112475:10;112486:12;112475:24;;;;;;;;:::i;:::-;;;;;;;;;;:41;112535:14;;;;:::i;:::-;;;;112427:138;112403:7;;;;:::i;:::-;;;;112349:227;;;-1:-1:-1;112593:10:0;;112140:471;-1:-1:-1;;;112140:471:0:o;109364:791::-;108102:10;108340:17;108385:8;;;108088:55;;-1:-1:-1;108119:10:0;108133:9;108119:23;108088:55;108066:116;;;;-1:-1:-1;;;108066:116:0;;;;;;;:::i;:::-;109501:12:::1;::::0;::::1;::::0;::::1;;;109493:39;;;::::0;-1:-1:-1;;;109493:39:0;;16525:2:1;109493:39:0::1;::::0;::::1;16507:21:1::0;16564:2;16544:18;;;16537:30;-1:-1:-1;;;16583:18:1;;;16576:44;16637:18;;109493:39:0::1;16323:338:1::0;109493:39:0::1;109604:9;;109587:13;109565:19;;:35;;;;:::i;:::-;:48;;109543:111;;;;-1:-1:-1::0;;;109543:111:0::1;;;;;;;:::i;:::-;109687:42;109705:9;109687:42;;;;;;;;;;;;;-1:-1:-1::0;;;109687:42:0::1;;::::0;:17:::1;:42::i;:::-;109665:109;;;;-1:-1:-1::0;;;109665:109:0::1;;;;;;;:::i;:::-;109849:10;::::0;109818::::1;109807:22;::::0;;;:10:::1;:22;::::0;;;;;:38:::1;::::0;109832:13;;109807:38:::1;:::i;:::-;:52;;109785:119;;;;-1:-1:-1::0;;;109785:119:0::1;;;;;;;:::i;:::-;109951:9;109934:13;109923:8;;:24;;;;:::i;:::-;:37;;109915:66;;;;-1:-1:-1::0;;;109915:66:0::1;;;;;;;:::i;:::-;110030:10;110019:22;::::0;;;:10:::1;:22;::::0;;;;;:38:::1;::::0;110044:13;;110019:38:::1;:::i;:::-;110005:10;109994:22;::::0;;;:10:::1;:22;::::0;;;;:63;;;;110068:19:::1;:36:::0;;110091:13;;109994:22;110068:36:::1;::::0;110091:13;;110068:36:::1;:::i;36756:201::-:0;35736:13;:11;:13::i;:::-;-1:-1:-1;;;;;36845:22:0;::::1;36837:73;;;::::0;-1:-1:-1;;;36837:73:0;;16868:2:1;36837:73:0::1;::::0;::::1;16850:21:1::0;16907:2;16887:18;;;16880:30;16946:34;16926:18;;;16919:62;-1:-1:-1;;;16997:18:1;;;16990:36;17043:19;;36837:73:0::1;16666:402:1::0;36837:73:0::1;36921:28;36940:8;36921:18;:28::i;112978:283::-:0;35736:13;:11;:13::i;:::-;113113:9:::1;;113096:13;113074:19;;:35;;;;:::i;:::-;:48;;113052:111;;;;-1:-1:-1::0;;;113052:111:0::1;;;;;;;:::i;113990:95::-:0;35736:13;:11;:13::i;:::-;114058:8:::1;:19:::0;113990:95::o;52633:215::-;52735:4;-1:-1:-1;;;;;;52759:41:0;;-1:-1:-1;;;52759:41:0;;:81;;-1:-1:-1;;;;;;;;;;50294:40:0;;;52804:36;50185:157;82568:282;82633:4;82689:7;108501:1;82670:26;;:66;;;;;82723:13;;82713:7;:23;82670:66;:153;;;;-1:-1:-1;;82774:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;82774:44:0;:49;;82568:282::o;46975:647::-;37466:42;47166:45;:49;47162:453;;47465:67;;-1:-1:-1;;;47465:67:0;;47516:4;47465:67;;;17285:34:1;-1:-1:-1;;;;;17355:15:1;;17335:18;;;17328:43;37466:42:0;;47465;;17220:18:1;;47465:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;47460:144;;47560:28;;-1:-1:-1;;;47560:28:0;;-1:-1:-1;;;;;1697:32:1;;47560:28:0;;;1679:51:1;1652:18;;47560:28:0;1533:203:1;80630:408:0;80719:13;80735:16;80743:7;80735;:16::i;:::-;80719:32;-1:-1:-1;104963:10:0;-1:-1:-1;;;;;80768:28:0;;;80764:175;;80816:44;80833:5;104963:10;82146:164;:::i;80816:44::-;80811:128;;80888:35;;-1:-1:-1;;;80888:35:0;;;;;;;;;;;80811:128;80951:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;80951:35:0;-1:-1:-1;;;;;80951:35:0;;;;;;;;;81002:28;;80951:24;;81002:28;;;;;;;80708:330;80630:408;;:::o;36015:132::-;35923:6;;-1:-1:-1;;;;;35923:6:0;104963:10;36079:23;36071:68;;;;-1:-1:-1;;;36071:68:0;;17834:2:1;36071:68:0;;;17816:21:1;;;17853:18;;;17846:30;17912:34;17892:18;;;17885:62;17964:18;;36071:68:0;17632:356:1;92217:2966:0;92290:20;92313:13;;;92341;;;92337:44;;92363:18;;-1:-1:-1;;;92363:18:0;;;;;;;;;;;92337:44;-1:-1:-1;;;;;92869:22:0;;;;;;:18;:22;;;;65938:2;92869:22;;;:71;;92907:32;92895:45;;92869:71;;;93183:31;;;:17;:31;;;;;-1:-1:-1;79919:15:0;;79893:24;79889:46;79488:11;79463:23;79459:41;79456:52;79446:63;;93183:173;;93418:23;;;;93183:31;;92869:22;;94183:25;92869:22;;94036:335;94697:1;94683:12;94679:20;94637:346;94738:3;94729:7;94726:16;94637:346;;94956:7;94946:8;94943:1;94916:25;94913:1;94910;94905:59;94791:1;94778:15;94637:346;;;94641:77;95016:8;95028:1;95016:13;95012:45;;95038:19;;-1:-1:-1;;;95038:19:0;;;;;;;;;;;95012:45;95074:13;:19;-1:-1:-1;108015:1:0::1;116158:200:::0;;:::o;84836:2825::-;84978:27;85008;85027:7;85008:18;:27::i;:::-;84978:57;;85093:4;-1:-1:-1;;;;;85052:45:0;85068:19;-1:-1:-1;;;;;85052:45:0;;85048:86;;85106:28;;-1:-1:-1;;;85106:28:0;;;;;;;;;;;85048:86;85148:27;83944:24;;;:15;:24;;;;;84172:26;;104963:10;83569:30;;;-1:-1:-1;;;;;83262:28:0;;83547:20;;;83544:56;85334:180;;85427:43;85444:4;104963:10;82146:164;:::i;85427:43::-;85422:92;;85479:35;;-1:-1:-1;;;85479:35:0;;;;;;;;;;;85422:92;-1:-1:-1;;;;;85531:16:0;;85527:52;;85556:23;;-1:-1:-1;;;85556:23:0;;;;;;;;;;;85527:52;85728:15;85725:160;;;85868:1;85847:19;85840:30;85725:160;-1:-1:-1;;;;;86265:24:0;;;;;;;:18;:24;;;;;;86263:26;;-1:-1:-1;;86263:26:0;;;86334:22;;;;;;;;;86332:24;;-1:-1:-1;86332:24:0;;;79488:11;79463:23;79459:41;79446:63;-1:-1:-1;;;79446:63:0;86627:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;86922:47:0;;:52;;86918:627;;87027:1;87017:11;;86995:19;87150:30;;;:17;:30;;;;;;:35;;87146:384;;87288:13;;87273:11;:28;87269:242;;87435:30;;;;:17;:30;;;;;:52;;;87269:242;86976:569;86918:627;87592:7;87588:2;-1:-1:-1;;;;;87573:27:0;87582:4;-1:-1:-1;;;;;87573:27:0;;;;;;;;;;;87611:42;84967:2694;;;84836:2825;;;:::o;108518:405::-;108639:4;108656:12;108810:10;108822:7;108793:37;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;108793:37:0;;;;;;;;;;108783:48;;108793:37;108783:48;;;;18650:66:1;108695:151:0;;;18638:79:1;;;;18733:12;;;18726:28;18770:12;;108695:151:0;;;-1:-1:-1;;108695:151:0;;;;;;;;;108671:186;;108695:151;108671:186;;;;;-1:-1:-1;108892:23:0;108671:186;108905:9;108892:12;:23::i;:::-;108875:13;;-1:-1:-1;;;;;108875:40:0;;;:13;;:40;;108518:405;-1:-1:-1;;;;108518:405:0:o;2828:317::-;2943:6;2918:21;:31;;2910:73;;;;-1:-1:-1;;;2910:73:0;;18995:2:1;2910:73:0;;;18977:21:1;19034:2;19014:18;;;19007:30;19073:31;19053:18;;;19046:59;19122:18;;2910:73:0;18793:353:1;2910:73:0;2997:12;3015:9;-1:-1:-1;;;;;3015:14:0;3037:6;3015:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2996:52;;;3067:7;3059:78;;;;-1:-1:-1;;;3059:78:0;;19563:2:1;3059:78:0;;;19545:21:1;19602:2;19582:18;;;19575:30;19641:34;19621:18;;;19614:62;19712:28;19692:18;;;19685:56;19758:19;;3059:78:0;19361:422:1;87757:193:0;87903:39;87920:4;87926:2;87930:7;87903:39;;;;;;;;;;;;:16;:39::i;77254:1275::-;77321:7;77356;;108501:1;77405:23;77401:1061;;77458:13;;77451:4;:20;77447:1015;;;77496:14;77513:23;;;:17;:23;;;;;;;-1:-1:-1;;;77602:24:0;;:29;;77598:845;;78267:113;78274:6;78284:1;78274:11;78267:113;;-1:-1:-1;;;78345:6:0;78327:25;;;;:17;:25;;;;;;78267:113;;;78413:6;77254:1275;-1:-1:-1;;;77254:1275:0:o;77598:845::-;77473:989;77447:1015;78490:31;;-1:-1:-1;;;78490:31:0;;;;;;;;;;;37117:191;37210:6;;;-1:-1:-1;;;;;37227:17:0;;;-1:-1:-1;;;;;;37227:17:0;;;;;;;37260:40;;37210:6;;;37227:17;37210:6;;37260:40;;37191:16;;37260:40;37180:128;37117:191;:::o;81755:234::-;104963:10;81850:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;81850:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;81850:60:0;;;;;;;;;;81926:55;;540:41:1;;;81850:49:0;;104963:10;81926:55;;513:18:1;81926:55:0;;;;;;;81755:234;;:::o;88548:407::-;88723:31;88736:4;88742:2;88746:7;88723:12;:31::i;:::-;-1:-1:-1;;;;;88769:14:0;;;:19;88765:183;;88808:56;88839:4;88845:2;88849:7;88858:5;88808:30;:56::i;:::-;88803:145;;88892:40;;-1:-1:-1;;;88892:40:0;;;;;;;;;;;23067:716;23123:13;23174:14;23191:17;23202:5;23191:10;:17::i;:::-;23211:1;23191:21;23174:38;;23227:20;23261:6;23250:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;23250:18:0;-1:-1:-1;23227:41:0;-1:-1:-1;23392:28:0;;;23408:2;23392:28;23449:288;-1:-1:-1;;23481:5:0;-1:-1:-1;;;23618:2:0;23607:14;;23602:30;23481:5;23589:44;23679:2;23670:11;;;-1:-1:-1;23700:21:0;23449:288;23700:21;-1:-1:-1;23758:6:0;23067:716;-1:-1:-1;;;23067:716:0:o;28717:231::-;28795:7;28816:17;28835:18;28857:27;28868:4;28874:9;28857:10;:27::i;:::-;28815:69;;;;28895:18;28907:5;28895:11;:18::i;:::-;-1:-1:-1;28931:9:0;28717:231;-1:-1:-1;;;28717:231:0:o;91039:716::-;91223:88;;-1:-1:-1;;;91223:88:0;;91202:4;;-1:-1:-1;;;;;91223:45:0;;;;;:88;;104963:10;;91290:4;;91296:7;;91305:5;;91223:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;91223:88:0;;;;;;;;-1:-1:-1;;91223:88:0;;;;;;;;;;;;:::i;:::-;;;91219:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;91506:6;:13;91523:1;91506:18;91502:235;;91552:40;;-1:-1:-1;;;91552:40:0;;;;;;;;;;;91502:235;91695:6;91689:13;91680:6;91676:2;91672:15;91665:38;91219:529;-1:-1:-1;;;;;;91382:64:0;-1:-1:-1;;;91382:64:0;;-1:-1:-1;91039:716:0;;;;;;:::o;19933:922::-;19986:7;;-1:-1:-1;;;20064:15:0;;20060:102;;-1:-1:-1;;;20100:15:0;;;-1:-1:-1;20144:2:0;20134:12;20060:102;20189:6;20180:5;:15;20176:102;;20225:6;20216:15;;;-1:-1:-1;20260:2:0;20250:12;20176:102;20305:6;20296:5;:15;20292:102;;20341:6;20332:15;;;-1:-1:-1;20376:2:0;20366:12;20292:102;20421:5;20412;:14;20408:99;;20456:5;20447:14;;;-1:-1:-1;20490:1:0;20480:11;20408:99;20534:5;20525;:14;20521:99;;20569:5;20560:14;;;-1:-1:-1;20603:1:0;20593:11;20521:99;20647:5;20638;:14;20634:99;;20682:5;20673:14;;;-1:-1:-1;20716:1:0;20706:11;20634:99;20760:5;20751;:14;20747:66;;20796:1;20786:11;20841:6;19933:922;-1:-1:-1;;19933:922:0:o;27168:747::-;27249:7;27258:12;27287:9;:16;27307:2;27287:22;27283:625;;27631:4;27616:20;;27610:27;27681:4;27666:20;;27660:27;27739:4;27724:20;;27718:27;27326:9;27710:36;27782:25;27793:4;27710:36;27610:27;27660;27782:10;:25::i;:::-;27775:32;;;;;;;;;27283:625;-1:-1:-1;27856:1:0;;-1:-1:-1;27860:35:0;27840:56;;25561:521;25639:20;25630:5;:29;;;;;;;;:::i;:::-;;25626:449;;25561:521;:::o;25626:449::-;25737:29;25728:5;:38;;;;;;;;:::i;:::-;;25724:351;;25783:34;;-1:-1:-1;;;25783:34:0;;20870:2:1;25783:34:0;;;20852:21:1;20909:2;20889:18;;;20882:30;20948:26;20928:18;;;20921:54;20992:18;;25783:34:0;20668:348:1;25724:351:0;25848:35;25839:5;:44;;;;;;;;:::i;:::-;;25835:240;;25900:41;;-1:-1:-1;;;25900:41:0;;21223:2:1;25900:41:0;;;21205:21:1;21262:2;21242:18;;;21235:30;21301:33;21281:18;;;21274:61;21352:18;;25900:41:0;21021:355:1;25835:240:0;25972:30;25963:5;:39;;;;;;;;:::i;:::-;;25959:116;;26019:44;;-1:-1:-1;;;26019:44:0;;21583:2:1;26019:44:0;;;21565:21:1;21622:2;21602:18;;;21595:30;21661:34;21641:18;;;21634:62;-1:-1:-1;;;21712:18:1;;;21705:32;21754:19;;26019:44:0;21381:398:1;30169:1520:0;30300:7;;31234:66;31221:79;;31217:163;;;-1:-1:-1;31333:1:0;;-1:-1:-1;31337:30:0;31317:51;;31217:163;31494:24;;;31477:14;31494:24;;;;;;;;;22011:25:1;;;22084:4;22072:17;;22052:18;;;22045:45;;;;22106:18;;;22099:34;;;22149:18;;;22142:34;;;31494:24:0;;21983:19:1;;31494:24:0;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;31494:24:0;;-1:-1:-1;;31494:24:0;;;-1:-1:-1;;;;;;;31533:20:0;;31529:103;;31586:1;31590:29;31570:50;;;;;;;31529:103;31652:6;-1:-1:-1;31660:20:0;;-1:-1:-1;30169:1520:0;;;;;;;;:::o;14:131:1:-;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:250::-;677:1;687:113;701:6;698:1;695:13;687:113;;;777:11;;;771:18;758:11;;;751:39;723:2;716:10;687:113;;;-1:-1:-1;;834:1:1;816:16;;809:27;592:250::o;847:271::-;889:3;927:5;921:12;954:6;949:3;942:19;970:76;1039:6;1032:4;1027:3;1023:14;1016:4;1009:5;1005:16;970:76;:::i;:::-;1100:2;1079:15;-1:-1:-1;;1075:29:1;1066:39;;;;1107:4;1062:50;;847:271;-1:-1:-1;;847:271:1:o;1123:220::-;1272:2;1261:9;1254:21;1235:4;1292:45;1333:2;1322:9;1318:18;1310:6;1292:45;:::i;1348:180::-;1407:6;1460:2;1448:9;1439:7;1435:23;1431:32;1428:52;;;1476:1;1473;1466:12;1428:52;-1:-1:-1;1499:23:1;;1348:180;-1:-1:-1;1348:180:1:o;1741:173::-;1809:20;;-1:-1:-1;;;;;1858:31:1;;1848:42;;1838:70;;1904:1;1901;1894:12;1838:70;1741:173;;;:::o;1919:254::-;1987:6;1995;2048:2;2036:9;2027:7;2023:23;2019:32;2016:52;;;2064:1;2061;2054:12;2016:52;2087:29;2106:9;2087:29;:::i;:::-;2077:39;2163:2;2148:18;;;;2135:32;;-1:-1:-1;;;1919:254:1:o;2178:615::-;2264:6;2272;2325:2;2313:9;2304:7;2300:23;2296:32;2293:52;;;2341:1;2338;2331:12;2293:52;2381:9;2368:23;2410:18;2451:2;2443:6;2440:14;2437:34;;;2467:1;2464;2457:12;2437:34;2505:6;2494:9;2490:22;2480:32;;2550:7;2543:4;2539:2;2535:13;2531:27;2521:55;;2572:1;2569;2562:12;2521:55;2612:2;2599:16;2638:2;2630:6;2627:14;2624:34;;;2654:1;2651;2644:12;2624:34;2707:7;2702:2;2692:6;2689:1;2685:14;2681:2;2677:23;2673:32;2670:45;2667:65;;;2728:1;2725;2718:12;2667:65;2759:2;2751:11;;;;;2781:6;;-1:-1:-1;2178:615:1;;-1:-1:-1;;;;2178:615:1:o;2980:328::-;3057:6;3065;3073;3126:2;3114:9;3105:7;3101:23;3097:32;3094:52;;;3142:1;3139;3132:12;3094:52;3165:29;3184:9;3165:29;:::i;:::-;3155:39;;3213:38;3247:2;3236:9;3232:18;3213:38;:::i;:::-;3203:48;;3298:2;3287:9;3283:18;3270:32;3260:42;;2980:328;;;;;:::o;3313:248::-;3381:6;3389;3442:2;3430:9;3421:7;3417:23;3413:32;3410:52;;;3458:1;3455;3448:12;3410:52;-1:-1:-1;;3481:23:1;;;3551:2;3536:18;;;3523:32;;-1:-1:-1;3313:248:1:o;3845:127::-;3906:10;3901:3;3897:20;3894:1;3887:31;3937:4;3934:1;3927:15;3961:4;3958:1;3951:15;3977:718;4019:5;4072:3;4065:4;4057:6;4053:17;4049:27;4039:55;;4090:1;4087;4080:12;4039:55;4126:6;4113:20;4152:18;4189:2;4185;4182:10;4179:36;;;4195:18;;:::i;:::-;4270:2;4264:9;4238:2;4324:13;;-1:-1:-1;;4320:22:1;;;4344:2;4316:31;4312:40;4300:53;;;4368:18;;;4388:22;;;4365:46;4362:72;;;4414:18;;:::i;:::-;4454:10;4450:2;4443:22;4489:2;4481:6;4474:18;4535:3;4528:4;4523:2;4515:6;4511:15;4507:26;4504:35;4501:55;;;4552:1;4549;4542:12;4501:55;4616:2;4609:4;4601:6;4597:17;4590:4;4582:6;4578:17;4565:54;4663:1;4656:4;4651:2;4643:6;4639:15;4635:26;4628:37;4683:6;4674:15;;;;;;3977:718;;;;:::o;4700:388::-;4777:6;4785;4838:2;4826:9;4817:7;4813:23;4809:32;4806:52;;;4854:1;4851;4844:12;4806:52;4890:9;4877:23;4867:33;;4951:2;4940:9;4936:18;4923:32;4978:18;4970:6;4967:30;4964:50;;;5010:1;5007;5000:12;4964:50;5033:49;5074:7;5065:6;5054:9;5050:22;5033:49;:::i;:::-;5023:59;;;4700:388;;;;;:::o;5333:592::-;5404:6;5412;5465:2;5453:9;5444:7;5440:23;5436:32;5433:52;;;5481:1;5478;5471:12;5433:52;5521:9;5508:23;5550:18;5591:2;5583:6;5580:14;5577:34;;;5607:1;5604;5597:12;5577:34;5645:6;5634:9;5630:22;5620:32;;5690:7;5683:4;5679:2;5675:13;5671:27;5661:55;;5712:1;5709;5702:12;5661:55;5752:2;5739:16;5778:2;5770:6;5767:14;5764:34;;;5794:1;5791;5784:12;5764:34;5839:7;5834:2;5825:6;5821:2;5817:15;5813:24;5810:37;5807:57;;;5860:1;5857;5850:12;5930:186;5989:6;6042:2;6030:9;6021:7;6017:23;6013:32;6010:52;;;6058:1;6055;6048:12;6010:52;6081:29;6100:9;6081:29;:::i;6121:118::-;6207:5;6200:13;6193:21;6186:5;6183:32;6173:60;;6229:1;6226;6219:12;6244:315;6309:6;6317;6370:2;6358:9;6349:7;6345:23;6341:32;6338:52;;;6386:1;6383;6376:12;6338:52;6409:29;6428:9;6409:29;:::i;:::-;6399:39;;6488:2;6477:9;6473:18;6460:32;6501:28;6523:5;6501:28;:::i;:::-;6548:5;6538:15;;;6244:315;;;;;:::o;6564:537::-;6659:6;6667;6675;6683;6736:3;6724:9;6715:7;6711:23;6707:33;6704:53;;;6753:1;6750;6743:12;6704:53;6776:29;6795:9;6776:29;:::i;:::-;6766:39;;6824:38;6858:2;6847:9;6843:18;6824:38;:::i;:::-;6814:48;;6909:2;6898:9;6894:18;6881:32;6871:42;;6964:2;6953:9;6949:18;6936:32;6991:18;6983:6;6980:30;6977:50;;;7023:1;7020;7013:12;6977:50;7046:49;7087:7;7078:6;7067:9;7063:22;7046:49;:::i;:::-;7036:59;;;6564:537;;;;;;;:::o;7106:260::-;7174:6;7182;7235:2;7223:9;7214:7;7210:23;7206:32;7203:52;;;7251:1;7248;7241:12;7203:52;7274:29;7293:9;7274:29;:::i;:::-;7264:39;;7322:38;7356:2;7345:9;7341:18;7322:38;:::i;:::-;7312:48;;7106:260;;;;;:::o;7371:632::-;7542:2;7594:21;;;7664:13;;7567:18;;;7686:22;;;7513:4;;7542:2;7765:15;;;;7739:2;7724:18;;;7513:4;7808:169;7822:6;7819:1;7816:13;7808:169;;;7883:13;;7871:26;;7952:15;;;;7917:12;;;;7844:1;7837:9;7808:169;;;-1:-1:-1;7994:3:1;;7371:632;-1:-1:-1;;;;;;7371:632:1:o;8008:380::-;8087:1;8083:12;;;;8130;;;8151:61;;8205:4;8197:6;8193:17;8183:27;;8151:61;8258:2;8250:6;8247:14;8227:18;8224:38;8221:161;;8304:10;8299:3;8295:20;8292:1;8285:31;8339:4;8336:1;8329:15;8367:4;8364:1;8357:15;8221:161;;8008:380;;;:::o;8393:329::-;8595:2;8577:21;;;8634:1;8614:18;;;8607:29;-1:-1:-1;;;8667:2:1;8652:18;;8645:36;8713:2;8698:18;;8393:329::o;8727:127::-;8788:10;8783:3;8779:20;8776:1;8769:31;8819:4;8816:1;8809:15;8843:4;8840:1;8833:15;8859:125;8924:9;;;8945:10;;;8942:36;;;8958:18;;:::i;8989:337::-;9191:2;9173:21;;;9230:2;9210:18;;;9203:30;-1:-1:-1;;;9264:2:1;9249:18;;9242:43;9317:2;9302:18;;8989:337::o;9331:127::-;9392:10;9387:3;9383:20;9380:1;9373:31;9423:4;9420:1;9413:15;9447:4;9444:1;9437:15;9463:135;9502:3;9523:17;;;9520:43;;9543:18;;:::i;:::-;-1:-1:-1;9590:1:1;9579:13;;9463:135::o;9603:168::-;9676:9;;;9707;;9724:15;;;9718:22;;9704:37;9694:71;;9745:18;;:::i;9908:217::-;9948:1;9974;9964:132;;10018:10;10013:3;10009:20;10006:1;9999:31;10053:4;10050:1;10043:15;10081:4;10078:1;10071:15;9964:132;-1:-1:-1;10110:9:1;;9908:217::o;10130:335::-;10332:2;10314:21;;;10371:2;10351:18;;;10344:30;-1:-1:-1;;;10405:2:1;10390:18;;10383:41;10456:2;10441:18;;10130:335::o;10813:341::-;11015:2;10997:21;;;11054:2;11034:18;;;11027:30;-1:-1:-1;;;11088:2:1;11073:18;;11066:47;11145:2;11130:18;;10813:341::o;11159:::-;11361:2;11343:21;;;11400:2;11380:18;;;11373:30;-1:-1:-1;;;11434:2:1;11419:18;;11412:47;11491:2;11476:18;;11159:341::o;11505:340::-;11707:2;11689:21;;;11746:2;11726:18;;;11719:30;-1:-1:-1;;;11780:2:1;11765:18;;11758:46;11836:2;11821:18;;11505:340::o;12319:545::-;12421:2;12416:3;12413:11;12410:448;;;12457:1;12482:5;12478:2;12471:17;12527:4;12523:2;12513:19;12597:2;12585:10;12581:19;12578:1;12574:27;12568:4;12564:38;12633:4;12621:10;12618:20;12615:47;;;-1:-1:-1;12656:4:1;12615:47;12711:2;12706:3;12702:12;12699:1;12695:20;12689:4;12685:31;12675:41;;12766:82;12784:2;12777:5;12774:13;12766:82;;;12829:17;;;12810:1;12799:13;12766:82;;13040:1206;13164:18;13159:3;13156:27;13153:53;;;13186:18;;:::i;:::-;13215:94;13305:3;13265:38;13297:4;13291:11;13265:38;:::i;:::-;13259:4;13215:94;:::i;:::-;13335:1;13360:2;13355:3;13352:11;13377:1;13372:616;;;;14032:1;14049:3;14046:93;;;-1:-1:-1;14105:19:1;;;14092:33;14046:93;-1:-1:-1;;12997:1:1;12993:11;;;12989:24;12985:29;12975:40;13021:1;13017:11;;;12972:57;14152:78;;13345:895;;13372:616;12266:1;12259:14;;;12303:4;12290:18;;-1:-1:-1;;13408:17:1;;;13509:9;13531:229;13545:7;13542:1;13539:14;13531:229;;;13634:19;;;13621:33;13606:49;;13741:4;13726:20;;;;13694:1;13682:14;;;;13561:12;13531:229;;;13535:3;13788;13779:7;13776:16;13773:159;;;13912:1;13908:6;13902:3;13896;13893:1;13889:11;13885:21;13881:34;13877:39;13864:9;13859:3;13855:19;13842:33;13838:79;13830:6;13823:95;13773:159;;;13975:1;13969:3;13966:1;13962:11;13958:19;13952:4;13945:33;13345:895;;13040:1206;;;:::o;15298:1020::-;15474:3;15503:1;15536:6;15530:13;15566:36;15592:9;15566:36;:::i;:::-;15621:1;15638:18;;;15665:133;;;;15812:1;15807:356;;;;15631:532;;15665:133;-1:-1:-1;;15698:24:1;;15686:37;;15771:14;;15764:22;15752:35;;15743:45;;;-1:-1:-1;15665:133:1;;15807:356;15838:6;15835:1;15828:17;15868:4;15913:2;15910:1;15900:16;15938:1;15952:165;15966:6;15963:1;15960:13;15952:165;;;16044:14;;16031:11;;;16024:35;16087:16;;;;15981:10;;15952:165;;;15956:3;;;16146:6;16141:3;16137:16;16130:23;;15631:532;;;;;16194:6;16188:13;16210:68;16269:8;16264:3;16257:4;16249:6;16245:17;16210:68;:::i;:::-;16294:18;;15298:1020;-1:-1:-1;;;;15298:1020:1:o;17382:245::-;17449:6;17502:2;17490:9;17481:7;17477:23;17473:32;17470:52;;;17518:1;17515;17508:12;17470:52;17550:9;17544:16;17569:28;17591:5;17569:28;:::i;17993:410::-;-1:-1:-1;;;;;18203:31:1;18194:6;18190:2;18186:15;18182:53;18177:3;18170:66;18152:3;18265:6;18259:13;18281:75;18349:6;18344:2;18339:3;18335:12;18328:4;18320:6;18316:17;18281:75;:::i;:::-;18376:16;;;;18394:2;18372:25;;17993:410;-1:-1:-1;;;17993:410:1:o;19788:489::-;-1:-1:-1;;;;;20057:15:1;;;20039:34;;20109:15;;20104:2;20089:18;;20082:43;20156:2;20141:18;;20134:34;;;20204:3;20199:2;20184:18;;20177:31;;;19982:4;;20225:46;;20251:19;;20243:6;20225:46;:::i;:::-;20217:54;19788:489;-1:-1:-1;;;;;;19788:489:1:o;20282:249::-;20351:6;20404:2;20392:9;20383:7;20379:23;20375:32;20372:52;;;20420:1;20417;20410:12;20372:52;20452:9;20446:16;20471:30;20495:5;20471:30;:::i;20536:127::-;20597:10;20592:3;20588:20;20585:1;20578:31;20628:4;20625:1;20618:15;20652:4;20649:1;20642:15

Swarm Source

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