ETH Price: $2,451.66 (-0.83%)

Chooky Raiders (ChooR)
 

Overview

TokenID

243

Total Transfers

-

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Raider (ChooR), 1000 will be minted (300 to influential people). These NFTs enable the user to use the referral Dapp to generate a referral URl and earn rewards. The referral DApp allows holders to earn rewards in $CHOO token (10% of the $CHOO's supply is reserved for referral rewards).

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
ChookyRaiders

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-12-16
*/

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

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

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

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

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


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

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


/// @title Access Lock
/// @author 0xhohenheim <[email protected]>
/// @notice Provides Admin Access Control
contract AccessLock is Ownable {
    mapping(address => bool) public isAdmin; // user => isAdmin? mapping

    /// @notice emitted when admin role is granted or revoked
    event AdminSet(address indexed user,bool isEnabled);

    /// @notice Grant or Revoke Admin Access
    /// @param user - Address of User
    /// @param isEnabled - Grant or Revoke?
    function setAdmin(address user, bool isEnabled) external onlyOwner {
        isAdmin[user] = isEnabled;
        emit AdminSet(user, isEnabled);
    }

    /// @notice reverts if caller is not admin or owner
    modifier onlyAdmin() {
        require(
            isAdmin[msg.sender] || msg.sender == owner(),
            "Caller does not have Admin/Owner access"
        );
        _;
    }
}

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

/**
 * @title ERC721 token receiver interface
 * @dev Interface for any contract that wants to support safeTransfers
 * from ERC721 asset contracts.
 */
interface IERC721Receiver {
    /**
     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
     * by `operator` from `from`, this function is called.
     *
     * It must return its Solidity selector to confirm the token transfer.
     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
     *
     * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}


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


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

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

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

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

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes calldata data
    ) external;

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

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721
     * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must
     * understand this adds an external call which potentially creates a reentrancy vulnerability.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

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

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

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

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

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {
    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

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

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


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

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

    /**
     * The caller cannot approve to their own address.
     */
    error ApproveToCaller();

    /**
     * The caller cannot approve to the current owner.
     */
    error ApprovalToCurrentOwner();

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

    // Compiler will pack this into a single 256bit word.
    struct TokenOwnership {
        // The address of the owner.
        address addr;
        // Keeps track of the start time of ownership with minimal overhead for tokenomics.
        uint64 startTimestamp;
        // Whether the token has been burned.
        bool burned;
    }

    // Compiler will pack this into a single 256bit word.
    struct AddressData {
        // Realistically, 2**64-1 is more than enough.
        uint64 balance;
        // Keeps track of mint count with minimal overhead for tokenomics.
        uint64 numberMinted;
        // Keeps track of burn count with minimal overhead for tokenomics.
        uint64 numberBurned;
        // For miscellaneous variable(s) pertaining to the address
        // (e.g. number of whitelist mint slots used).
        // If there are multiple variables, please pack them into a uint64.
        uint64 aux;
    }

    /**
     * @dev Returns the total amount of tokens stored by the contract.
     * 
     * Burned tokens are calculated here, use `_totalMinted()` if you want to count just minted tokens.
     */
    function totalSupply() external view returns (uint256);
}

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension. Built to optimize for lower gas during batch mints.
 *
 * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..).
 *
 * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
 *
 * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256).
 */
contract ERC721A is Context, ERC165, IERC721A {
    using Address for address;
    using Strings for uint256;

    // The tokenId of the next token to be minted.
    uint256 internal _currentIndex;

    // The number of tokens burned.
    uint256 internal _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 _ownershipOf implementation for details.
    mapping(uint256 => TokenOwnership) internal _ownerships;

    // Mapping owner address to address data
    mapping(address => AddressData) private _addressData;

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

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

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

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

    /**
     * @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens.
     */
    function totalSupply() public view override returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than _currentIndex - _startTokenId() times
        unchecked {
            return _currentIndex - _burnCounter - _startTokenId();
        }
    }

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

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

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view override returns (uint256) {
        if (owner == address(0)) revert BalanceQueryForZeroAddress();
        return uint256(_addressData[owner].balance);
    }

    /**
     * Returns the number of tokens minted by `owner`.
     */
    function _numberMinted(address owner) internal view returns (uint256) {
        return uint256(_addressData[owner].numberMinted);
    }

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

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

    /**
     * Sets the auxillary 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 {
        _addressData[owner].aux = aux;
    }

    /**
     * Gas spent here starts off proportional to the maximum mint batch size.
     * It gradually moves to O(1) as tokens get transferred around in the collection over time.
     */
    function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) {
        uint256 curr = tokenId;

        unchecked {
            if (_startTokenId() <= curr) if (curr < _currentIndex) {
                TokenOwnership memory ownership = _ownerships[curr];
                if (!ownership.burned) {
                    if (ownership.addr != address(0)) {
                        return ownership;
                    }
                    // Invariant:
                    // There will always be an ownership that has an address and is not burned
                    // before an ownership that does not have an address and is not burned.
                    // Hence, curr will not underflow.
                    while (true) {
                        curr--;
                        ownership = _ownerships[curr];
                        if (ownership.addr != address(0)) {
                            return ownership;
                        }
                    }
                }
            }
        }
        revert OwnerQueryForNonexistentToken();
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view override returns (address) {
        return _ownershipOf(tokenId).addr;
    }

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

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

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

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

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

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public override {
        address owner = ERC721A.ownerOf(tokenId);
        if (to == owner) revert ApprovalToCurrentOwner();

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

        _approve(to, tokenId, owner);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view override returns (address) {
        if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();

        return _tokenApprovals[tokenId];
    }

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

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_msgSender(), operator, approved);
    }

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

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

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

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        _transfer(from, to, tokenId);
        if (to.isContract()) if(!_checkContractOnERC721Received(from, to, tokenId, _data)) {
            revert TransferToNonERC721ReceiverImplementer();
        }
    }

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

    /**
     * @dev Equivalent to `_safeMint(to, quantity, '')`.
     */
    function _safeMint(address to, uint256 quantity) internal {
        _safeMint(to, 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.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(
        address to,
        uint256 quantity,
        bytes memory _data
    ) internal {
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();

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

        // Overflows are incredibly unrealistic.
        // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1
        // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1
        unchecked {
            _addressData[to].balance += uint64(quantity);
            _addressData[to].numberMinted += uint64(quantity);

            _ownerships[startTokenId].addr = to;
            _ownerships[startTokenId].startTimestamp = uint64(block.timestamp);

            uint256 updatedIndex = startTokenId;
            uint256 end = updatedIndex + quantity;

            if (to.isContract()) {
                do {
                    emit Transfer(address(0), to, updatedIndex);
                    if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) {
                        revert TransferToNonERC721ReceiverImplementer();
                    }
                } while (updatedIndex < end);
                // Reentrancy protection
                if (_currentIndex != startTokenId) revert();
            } else {
                do {
                    emit Transfer(address(0), to, updatedIndex++);
                } while (updatedIndex < end);
            }
            _currentIndex = updatedIndex;
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @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.
     */
    function _mint(address to, uint256 quantity) internal {
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();

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

        // Overflows are incredibly unrealistic.
        // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1
        // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1
        unchecked {
            _addressData[to].balance += uint64(quantity);
            _addressData[to].numberMinted += uint64(quantity);

            _ownerships[startTokenId].addr = to;
            _ownerships[startTokenId].startTimestamp = uint64(block.timestamp);

            uint256 updatedIndex = startTokenId;
            uint256 end = updatedIndex + quantity;

            do {
                emit Transfer(address(0), to, updatedIndex++);
            } while (updatedIndex < end);

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

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) private {
        TokenOwnership memory prevOwnership = _ownershipOf(tokenId);

        if (prevOwnership.addr != from) revert TransferFromIncorrectOwner();

        bool isApprovedOrOwner = (_msgSender() == from ||
            isApprovedForAll(from, _msgSender()) ||
            getApproved(tokenId) == _msgSender());

        if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        if (to == address(0)) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

        // Clear approvals from the previous owner
        _approve(address(0), tokenId, from);

        // 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 {
            _addressData[from].balance -= 1;
            _addressData[to].balance += 1;

            TokenOwnership storage currSlot = _ownerships[tokenId];
            currSlot.addr = to;
            currSlot.startTimestamp = uint64(block.timestamp);

            // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it.
            // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
            uint256 nextTokenId = tokenId + 1;
            TokenOwnership storage nextSlot = _ownerships[nextTokenId];
            if (nextSlot.addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId != _currentIndex) {
                    nextSlot.addr = from;
                    nextSlot.startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

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

    /**
     * @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 {
        TokenOwnership memory prevOwnership = _ownershipOf(tokenId);

        address from = prevOwnership.addr;

        if (approvalCheck) {
            bool isApprovedOrOwner = (_msgSender() == from ||
                isApprovedForAll(from, _msgSender()) ||
                getApproved(tokenId) == _msgSender());

            if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        }

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

        // Clear approvals from the previous owner
        _approve(address(0), tokenId, from);

        // 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 {
            AddressData storage addressData = _addressData[from];
            addressData.balance -= 1;
            addressData.numberBurned += 1;

            // Keep track of who burned the token, and the timestamp of burning.
            TokenOwnership storage currSlot = _ownerships[tokenId];
            currSlot.addr = from;
            currSlot.startTimestamp = uint64(block.timestamp);
            currSlot.burned = true;

            // If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it.
            // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
            uint256 nextTokenId = tokenId + 1;
            TokenOwnership storage nextSlot = _ownerships[nextTokenId];
            if (nextSlot.addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId != _currentIndex) {
                    nextSlot.addr = from;
                    nextSlot.startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

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

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

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits a {Approval} event.
     */
    function _approve(
        address to,
        uint256 tokenId,
        address owner
    ) private {
        _tokenApprovals[tokenId] = to;
        emit Approval(owner, to, tokenId);
    }

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

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

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

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

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

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

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

contract ChookyRaiders is ERC721A, AccessLock {
    using Counters for Counters.Counter;
    using Strings for uint256;
    string public baseURI;
    bool public isRevealed;
    bool public mintOpen;
    string public initialURI;
    uint256 public maxSupply = 1000;
    uint256 public mintPrice = 0.058 ether;

    mapping(address => bool) public promoters;

    event RevealUpdated(address indexed admin, string baseURI);
    event InitialURIUpdated(address indexed admin, string newURI);
    event BaseURIUpdated(address indexed admin, string newBaseURI);

    constructor(string memory _initialURI)
        ERC721A("Chooky Raiders", "ChooR")
    {
        initialURI = _initialURI;
    }

    // fallbacks
    receive() external payable {}

    // @notice - Mint NFT
    // @dev - callable only by promoters
    function mintByPromoters()
        external
    {
        require(promoters[msg.sender], "Can only be used by promoters!");
        require(balanceOf(msg.sender) == 0, "Can't mint more than 1 for a wallet");
        require(totalSupply() < maxSupply, "Can't exceed max supply!");
        _safeMint(msg.sender, 1);
    }

    // @notice - Mint NFT
    // @dev - paid minting
    function mint()
        external
        payable
    {
        require(mintOpen, "Minting is not yet open for public!");
        require(totalSupply() < maxSupply, "Can't exceed max supply!");
        require(balanceOf(msg.sender) == 0, "Can't mint more than 1 for a wallet");
        require(msg.value == mintPrice, "Must pay mint fee!");
        payable(address(this)).transfer(msg.value);
        _safeMint(msg.sender, 1);
    }

    /// @notice - Mint NFT
    /// @dev - callable only by admin
    /// @param recipient - mint to
    function mintByAdmin(address recipient, uint256 quantity)
        external
        onlyOwner
    {
        require(totalSupply() < maxSupply, "Can't exceed max supply!");
        _safeMint(recipient, quantity);
    }

    // @notice - add promoters
    function bulkAddPromoters(address[] memory accounts, bool state) external onlyOwner {
        for (uint256 i = 0; i < accounts.length; i++) {
            promoters[accounts[i]] = state;
        }
    }

    function _openMinting(bool _status) external onlyOwner {
        mintOpen = _status;
    }

    /// @notice - Set initial unrevealed URI
    /// @dev - callable only by admin
    /// @param _initialURI - initial unrevealed URI
    function setInitialURI(string memory _initialURI) external onlyOwner {
        initialURI = _initialURI;
        emit InitialURIUpdated(msg.sender, _initialURI);
    }

    /// @notice - Reveal NFTs
    /// @dev - callable only by admin
    /// @param baseURI_ - base URI to set
    /// @param _isRevealed - is the URI revealed?
    function reveal(string memory baseURI_, bool _isRevealed)
        external
        onlyOwner
    {
        isRevealed = _isRevealed;
        emit RevealUpdated(msg.sender, baseURI_);
        setBaseURI(baseURI_);
    }

    // @notice - Update mint price
    // @dev - callable only by the owner
    function _updateMintPrice(uint256 _newMintPrice) external onlyOwner {
        mintPrice = _newMintPrice;
    }

    /// @notice - Set base URI for token
    /// @dev - callable only by admin
    /// @param baseURI_ - base URI to set
    function setBaseURI(string memory baseURI_) public onlyOwner {
        baseURI = baseURI_;
        emit BaseURIUpdated(msg.sender, baseURI_);
    }

    /// @notice - Get token URI
    /// @param tokenId - Token ID of NFT
    function tokenURI(uint256 tokenId)
        public
        view
        virtual
        override
        returns (string memory)
    {
        if (!isRevealed) return initialURI;
        else
            return
                bytes(baseURI).length != 0
                    ? string(
                        abi.encodePacked(baseURI, tokenId.toString(), ".json")
                    )
                    : initialURI;
    }

    function recoverETH() public onlyOwner {
        payable(msg.sender).transfer (address(this).balance);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_initialURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","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":"user","type":"address"},{"indexed":false,"internalType":"bool","name":"isEnabled","type":"bool"}],"name":"AdminSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"admin","type":"address"},{"indexed":false,"internalType":"string","name":"newBaseURI","type":"string"}],"name":"BaseURIUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"admin","type":"address"},{"indexed":false,"internalType":"string","name":"newURI","type":"string"}],"name":"InitialURIUpdated","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":"admin","type":"address"},{"indexed":false,"internalType":"string","name":"baseURI","type":"string"}],"name":"RevealUpdated","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":"bool","name":"_status","type":"bool"}],"name":"_openMinting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMintPrice","type":"uint256"}],"name":"_updateMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"bool","name":"state","type":"bool"}],"name":"bulkAddPromoters","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":[],"name":"initialURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isAdmin","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isRevealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mintByAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintByPromoters","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"promoters","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"recoverETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"},{"internalType":"bool","name":"_isRevealed","type":"bool"}],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"bool","name":"isEnabled","type":"bool"}],"name":"setAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_initialURI","type":"string"}],"name":"setInitialURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040526103e8600d5566ce0eb154f90000600e553480156200002257600080fd5b506040516200241e3803806200241e83398101604081905262000045916200013a565b6040518060400160405280600e81526020016d43686f6f6b79205261696465727360901b8152506040518060400160405280600581526020016421b437b7a960d91b81525081600290816200009b91906200029e565b506003620000aa82826200029e565b50506000805550620000bc33620000d2565b600c620000ca82826200029e565b50506200036a565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b634e487b7160e01b600052604160045260246000fd5b600060208083850312156200014e57600080fd5b82516001600160401b03808211156200016657600080fd5b818501915085601f8301126200017b57600080fd5b81518181111562000190576200019062000124565b604051601f8201601f19908116603f01168101908382118183101715620001bb57620001bb62000124565b816040528281528886848701011115620001d457600080fd5b600093505b82841015620001f85784840186015181850187015292850192620001d9565b600086848301015280965050505050505092915050565b600181811c908216806200022457607f821691505b6020821081036200024557634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200029957600081815260208120601f850160051c81016020861015620002745750805b601f850160051c820191505b81811015620002955782815560010162000280565b5050505b505050565b81516001600160401b03811115620002ba57620002ba62000124565b620002d281620002cb84546200020f565b846200024b565b602080601f8311600181146200030a5760008415620002f15750858301515b600019600386901b1c1916600185901b17855562000295565b600085815260208120601f198616915b828110156200033b578886015182559484019460019091019084016200031a565b50858210156200035a5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6120a4806200037a6000396000f3fe6080604052600436106102135760003560e01c80636932b41b11610118578063a32a7b65116100a0578063c9a230771161006f578063c9a23077146105f1578063d5abeb0114610606578063d886422b1461061c578063e985e9c51461063c578063f2fde38b1461068557600080fd5b8063a32a7b6514610571578063af3da2f414610591578063b88d4fde146105b1578063c87b56dd146105d157600080fd5b8063715018a6116100e7578063715018a6146104d95780637aa1eb9a146104ee5780638da5cb5b1461051e57806395d89b411461053c578063a22cb4651461055157600080fd5b80636932b41b146104645780636c0360eb146104845780636d8185601461049957806370a08231146104b957600080fd5b806324bbd0491161019b57806354214f691161016a57806354214f69146103df57806355f804b3146103f95780635f8508d7146104195780636352211e1461042e5780636817c76c1461044e57600080fd5b806324bbd0491461035057806324d7806c1461036f57806342842e0e1461039f5780634b0bddd2146103bf57600080fd5b8063095ea7b3116101e2578063095ea7b3146102c55780631249c58b146102e557806318160ddd146102ed5780631c9641fb1461031057806323b872dd1461033057600080fd5b806301ffc9a71461021f5780630614117a1461025457806306fdde031461026b578063081812fc1461028d57600080fd5b3661021a57005b600080fd5b34801561022b57600080fd5b5061023f61023a366004611951565b6106a5565b60405190151581526020015b60405180910390f35b34801561026057600080fd5b506102696106f7565b005b34801561027757600080fd5b5061028061072e565b60405161024b91906119c5565b34801561029957600080fd5b506102ad6102a83660046119d8565b6107c0565b6040516001600160a01b03909116815260200161024b565b3480156102d157600080fd5b506102696102e0366004611a08565b610804565b61026961088a565b3480156102f957600080fd5b50600154600054035b60405190815260200161024b565b34801561031c57600080fd5b5061026961032b3660046119d8565b6109bf565b34801561033c57600080fd5b5061026961034b366004611a32565b6109cc565b34801561035c57600080fd5b50600b5461023f90610100900460ff1681565b34801561037b57600080fd5b5061023f61038a366004611a6e565b60096020526000908152604090205460ff1681565b3480156103ab57600080fd5b506102696103ba366004611a32565b6109d7565b3480156103cb57600080fd5b506102696103da366004611a99565b6109f2565b3480156103eb57600080fd5b50600b5461023f9060ff1681565b34801561040557600080fd5b50610269610414366004611b89565b610a59565b34801561042557600080fd5b50610269610ab2565b34801561043a57600080fd5b506102ad6104493660046119d8565b610b69565b34801561045a57600080fd5b50610302600e5481565b34801561047057600080fd5b5061026961047f366004611bbd565b610b7b565b34801561049057600080fd5b50610280610b9d565b3480156104a557600080fd5b506102696104b4366004611bd8565b610c2b565b3480156104c557600080fd5b506103026104d4366004611a6e565b610c88565b3480156104e557600080fd5b50610269610cd6565b3480156104fa57600080fd5b5061023f610509366004611a6e565b600f6020526000908152604090205460ff1681565b34801561052a57600080fd5b506008546001600160a01b03166102ad565b34801561054857600080fd5b50610280610ce8565b34801561055d57600080fd5b5061026961056c366004611a99565b610cf7565b34801561057d57600080fd5b5061026961058c366004611b89565b610d8c565b34801561059d57600080fd5b506102696105ac366004611a08565b610dda565b3480156105bd57600080fd5b506102696105cc366004611c1c565b610e13565b3480156105dd57600080fd5b506102806105ec3660046119d8565b610e5d565b3480156105fd57600080fd5b50610280610fd8565b34801561061257600080fd5b50610302600d5481565b34801561062857600080fd5b50610269610637366004611c97565b610fe5565b34801561064857600080fd5b5061023f610657366004611d55565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561069157600080fd5b506102696106a0366004611a6e565b611054565b60006001600160e01b031982166380ac58cd60e01b14806106d657506001600160e01b03198216635b5e139f60e01b145b806106f157506301ffc9a760e01b6001600160e01b03198316145b92915050565b6106ff6110ca565b60405133904780156108fc02916000818181858888f1935050505015801561072b573d6000803e3d6000fd5b50565b60606002805461073d90611d7f565b80601f016020809104026020016040519081016040528092919081815260200182805461076990611d7f565b80156107b65780601f1061078b576101008083540402835291602001916107b6565b820191906000526020600020905b81548152906001019060200180831161079957829003601f168201915b5050505050905090565b60006107cb82611124565b6107e8576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061080f82610b69565b9050806001600160a01b0316836001600160a01b0316036108435760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b0382161461087a5761085d8133610657565b61087a576040516367d9dca160e11b815260040160405180910390fd5b61088583838361114f565b505050565b600b54610100900460ff166108f25760405162461bcd60e51b815260206004820152602360248201527f4d696e74696e67206973206e6f7420796574206f70656e20666f72207075626c60448201526269632160e81b60648201526084015b60405180910390fd5b600d5460015460005403106109195760405162461bcd60e51b81526004016108e990611db9565b61092233610c88565b1561093f5760405162461bcd60e51b81526004016108e990611df0565b600e5434146109855760405162461bcd60e51b81526020600482015260126024820152714d75737420706179206d696e74206665652160701b60448201526064016108e9565b60405130903480156108fc02916000818181858888f193505050501580156109b1573d6000803e3d6000fd5b506109bd3360016111ab565b565b6109c76110ca565b600e55565b6108858383836111c5565b61088583838360405180602001604052806000815250610e13565b6109fa6110ca565b6001600160a01b038216600081815260096020908152604091829020805460ff191685151590811790915591519182527fe68d2c359a771606c400cf8b87000cf5864010363d6a736e98f5047b7bbe18e9910160405180910390a25050565b610a616110ca565b600a610a6d8282611e81565b50336001600160a01b03167ff765b68b6ff897de964353a0eb194e46ecea8772879eb880b4b0fd277124922c82604051610aa791906119c5565b60405180910390a250565b336000908152600f602052604090205460ff16610b115760405162461bcd60e51b815260206004820152601e60248201527f43616e206f6e6c7920626520757365642062792070726f6d6f7465727321000060448201526064016108e9565b610b1a33610c88565b15610b375760405162461bcd60e51b81526004016108e990611df0565b600d546001546000540310610b5e5760405162461bcd60e51b81526004016108e990611db9565b6109bd3360016111ab565b6000610b74826113b2565b5192915050565b610b836110ca565b600b80549115156101000261ff0019909216919091179055565b600a8054610baa90611d7f565b80601f0160208091040260200160405190810160405280929190818152602001828054610bd690611d7f565b8015610c235780601f10610bf857610100808354040283529160200191610c23565b820191906000526020600020905b815481529060010190602001808311610c0657829003601f168201915b505050505081565b610c336110ca565b600b805460ff191682151517905560405133907fffcd326b78e78031a693e986f76bfa19d1b13f1fe4b2ec67c23f46456ee100de90610c739085906119c5565b60405180910390a2610c8482610a59565b5050565b60006001600160a01b038216610cb1576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b610cde6110ca565b6109bd60006114cc565b60606003805461073d90611d7f565b336001600160a01b03831603610d205760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610d946110ca565b600c610da08282611e81565b50336001600160a01b03167f998cc6c827a95d954dd9f7f353dbbb9e4959d633c6639bca42129fa1089c364882604051610aa791906119c5565b610de26110ca565b600d546001546000540310610e095760405162461bcd60e51b81526004016108e990611db9565b610c8482826111ab565b610e1e8484846111c5565b6001600160a01b0383163b15610e5757610e3a8484848461151e565b610e57576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b600b5460609060ff16610efc57600c8054610e7790611d7f565b80601f0160208091040260200160405190810160405280929190818152602001828054610ea390611d7f565b8015610ef05780601f10610ec557610100808354040283529160200191610ef0565b820191906000526020600020905b815481529060010190602001808311610ed357829003601f168201915b50505050509050919050565b600a8054610f0990611d7f565b9050600003610fa257600c8054610f1f90611d7f565b80601f0160208091040260200160405190810160405280929190818152602001828054610f4b90611d7f565b8015610f985780601f10610f6d57610100808354040283529160200191610f98565b820191906000526020600020905b815481529060010190602001808311610f7b57829003601f168201915b50505050506106f1565b600a610fad8361160a565b604051602001610fbe929190611f40565b60405160208183030381529060405292915050565b919050565b600c8054610baa90611d7f565b610fed6110ca565b60005b82518110156108855781600f600085848151811061101057611010611fd7565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff19169115159190911790558061104c81611fed565b915050610ff0565b61105c6110ca565b6001600160a01b0381166110c15760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108e9565b61072b816114cc565b6008546001600160a01b031633146109bd5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108e9565b60008054821080156106f1575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610c8482826040518060200160405280600081525061169c565b60006111d0826113b2565b9050836001600160a01b031681600001516001600160a01b0316146112075760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b038616148061122557506112258533610657565b80611240575033611235846107c0565b6001600160a01b0316145b90508061126057604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03841661128757604051633a954ecd60e21b815260040160405180910390fd5b6112936000848761114f565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff198082166001600160401b0392831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b4290921691909102178355870180845292208054919390911661136757600054821461136757805460208601516001600160401b0316600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050505050565b6040805160608101825260008082526020820181905291810191909152816000548110156114b357600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff161515918101829052906114b15780516001600160a01b031615611448579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff16151592810192909252156114ac579392505050565b611448565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611553903390899088908890600401612014565b6020604051808303816000875af192505050801561158e575060408051601f3d908101601f1916820190925261158b91810190612051565b60015b6115ec573d8080156115bc576040519150601f19603f3d011682016040523d82523d6000602084013e6115c1565b606091505b5080516000036115e4576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600061161783611863565b60010190506000816001600160401b0381111561163657611636611acc565b6040519080825280601f01601f191660200182016040528015611660576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461166a57509392505050565b6000546001600160a01b0384166116c557604051622e076360e81b815260040160405180910390fd5b826000036116e65760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038416600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff1981166001600160401b038083168b0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168b01811690920217909155858452600490925290912080546001600160e01b0319168317600160a01b42909316929092029190911790558190818501903b1561180e575b60405182906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46117d7600087848060010195508761151e565b6117f4576040516368d2bf6b60e11b815260040160405180910390fd5b80821061178c57826000541461180957600080fd5b611853565b5b6040516001830192906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a480821061180f575b506000908155610e579085838684565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106118a25772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef810000000083106118ce576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc1000083106118ec57662386f26fc10000830492506010015b6305f5e1008310611904576305f5e100830492506008015b612710831061191857612710830492506004015b6064831061192a576064830492506002015b600a83106106f15760010192915050565b6001600160e01b03198116811461072b57600080fd5b60006020828403121561196357600080fd5b813561196e8161193b565b9392505050565b60005b83811015611990578181015183820152602001611978565b50506000910152565b600081518084526119b1816020860160208601611975565b601f01601f19169290920160200192915050565b60208152600061196e6020830184611999565b6000602082840312156119ea57600080fd5b5035919050565b80356001600160a01b0381168114610fd357600080fd5b60008060408385031215611a1b57600080fd5b611a24836119f1565b946020939093013593505050565b600080600060608486031215611a4757600080fd5b611a50846119f1565b9250611a5e602085016119f1565b9150604084013590509250925092565b600060208284031215611a8057600080fd5b61196e826119f1565b80358015158114610fd357600080fd5b60008060408385031215611aac57600080fd5b611ab5836119f1565b9150611ac360208401611a89565b90509250929050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715611b0a57611b0a611acc565b604052919050565b60006001600160401b03831115611b2b57611b2b611acc565b611b3e601f8401601f1916602001611ae2565b9050828152838383011115611b5257600080fd5b828260208301376000602084830101529392505050565b600082601f830112611b7a57600080fd5b61196e83833560208501611b12565b600060208284031215611b9b57600080fd5b81356001600160401b03811115611bb157600080fd5b61160284828501611b69565b600060208284031215611bcf57600080fd5b61196e82611a89565b60008060408385031215611beb57600080fd5b82356001600160401b03811115611c0157600080fd5b611c0d85828601611b69565b925050611ac360208401611a89565b60008060008060808587031215611c3257600080fd5b611c3b856119f1565b9350611c49602086016119f1565b92506040850135915060608501356001600160401b03811115611c6b57600080fd5b8501601f81018713611c7c57600080fd5b611c8b87823560208401611b12565b91505092959194509250565b60008060408385031215611caa57600080fd5b82356001600160401b0380821115611cc157600080fd5b818501915085601f830112611cd557600080fd5b8135602082821115611ce957611ce9611acc565b8160051b9250611cfa818401611ae2565b8281529284018101928181019089851115611d1457600080fd5b948201945b84861015611d3957611d2a866119f1565b82529482019490820190611d19565b9650611d489050878201611a89565b9450505050509250929050565b60008060408385031215611d6857600080fd5b611d71836119f1565b9150611ac3602084016119f1565b600181811c90821680611d9357607f821691505b602082108103611db357634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526018908201527f43616e277420657863656564206d617820737570706c79210000000000000000604082015260600190565b60208082526023908201527f43616e2774206d696e74206d6f7265207468616e203120666f7220612077616c6040820152621b195d60ea1b606082015260800190565b601f82111561088557600081815260208120601f850160051c81016020861015611e5a5750805b601f850160051c820191505b81811015611e7957828155600101611e66565b505050505050565b81516001600160401b03811115611e9a57611e9a611acc565b611eae81611ea88454611d7f565b84611e33565b602080601f831160018114611ee35760008415611ecb5750858301515b600019600386901b1c1916600185901b178555611e79565b600085815260208120601f198616915b82811015611f1257888601518255948401946001909101908401611ef3565b5085821015611f305787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000808454611f4e81611d7f565b60018281168015611f665760018114611f7b57611faa565b60ff1984168752821515830287019450611faa565b8860005260208060002060005b85811015611fa15781548a820152908401908201611f88565b50505082870194505b505050508351611fbe818360208801611975565b64173539b7b760d91b9101908152600501949350505050565b634e487b7160e01b600052603260045260246000fd5b60006001820161200d57634e487b7160e01b600052601160045260246000fd5b5060010190565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061204790830184611999565b9695505050505050565b60006020828403121561206357600080fd5b815161196e8161193b56fea26469706673582212200b02b5e47b1f6c45cc820be72caf6c14f1a95799293cdb751f529932d6de197f64736f6c634300081100330000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000005068747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d5a46396171787a534d4e36565a73445870786d76757131726a7137623334326d62794d6935374443465a4e4100000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106102135760003560e01c80636932b41b11610118578063a32a7b65116100a0578063c9a230771161006f578063c9a23077146105f1578063d5abeb0114610606578063d886422b1461061c578063e985e9c51461063c578063f2fde38b1461068557600080fd5b8063a32a7b6514610571578063af3da2f414610591578063b88d4fde146105b1578063c87b56dd146105d157600080fd5b8063715018a6116100e7578063715018a6146104d95780637aa1eb9a146104ee5780638da5cb5b1461051e57806395d89b411461053c578063a22cb4651461055157600080fd5b80636932b41b146104645780636c0360eb146104845780636d8185601461049957806370a08231146104b957600080fd5b806324bbd0491161019b57806354214f691161016a57806354214f69146103df57806355f804b3146103f95780635f8508d7146104195780636352211e1461042e5780636817c76c1461044e57600080fd5b806324bbd0491461035057806324d7806c1461036f57806342842e0e1461039f5780634b0bddd2146103bf57600080fd5b8063095ea7b3116101e2578063095ea7b3146102c55780631249c58b146102e557806318160ddd146102ed5780631c9641fb1461031057806323b872dd1461033057600080fd5b806301ffc9a71461021f5780630614117a1461025457806306fdde031461026b578063081812fc1461028d57600080fd5b3661021a57005b600080fd5b34801561022b57600080fd5b5061023f61023a366004611951565b6106a5565b60405190151581526020015b60405180910390f35b34801561026057600080fd5b506102696106f7565b005b34801561027757600080fd5b5061028061072e565b60405161024b91906119c5565b34801561029957600080fd5b506102ad6102a83660046119d8565b6107c0565b6040516001600160a01b03909116815260200161024b565b3480156102d157600080fd5b506102696102e0366004611a08565b610804565b61026961088a565b3480156102f957600080fd5b50600154600054035b60405190815260200161024b565b34801561031c57600080fd5b5061026961032b3660046119d8565b6109bf565b34801561033c57600080fd5b5061026961034b366004611a32565b6109cc565b34801561035c57600080fd5b50600b5461023f90610100900460ff1681565b34801561037b57600080fd5b5061023f61038a366004611a6e565b60096020526000908152604090205460ff1681565b3480156103ab57600080fd5b506102696103ba366004611a32565b6109d7565b3480156103cb57600080fd5b506102696103da366004611a99565b6109f2565b3480156103eb57600080fd5b50600b5461023f9060ff1681565b34801561040557600080fd5b50610269610414366004611b89565b610a59565b34801561042557600080fd5b50610269610ab2565b34801561043a57600080fd5b506102ad6104493660046119d8565b610b69565b34801561045a57600080fd5b50610302600e5481565b34801561047057600080fd5b5061026961047f366004611bbd565b610b7b565b34801561049057600080fd5b50610280610b9d565b3480156104a557600080fd5b506102696104b4366004611bd8565b610c2b565b3480156104c557600080fd5b506103026104d4366004611a6e565b610c88565b3480156104e557600080fd5b50610269610cd6565b3480156104fa57600080fd5b5061023f610509366004611a6e565b600f6020526000908152604090205460ff1681565b34801561052a57600080fd5b506008546001600160a01b03166102ad565b34801561054857600080fd5b50610280610ce8565b34801561055d57600080fd5b5061026961056c366004611a99565b610cf7565b34801561057d57600080fd5b5061026961058c366004611b89565b610d8c565b34801561059d57600080fd5b506102696105ac366004611a08565b610dda565b3480156105bd57600080fd5b506102696105cc366004611c1c565b610e13565b3480156105dd57600080fd5b506102806105ec3660046119d8565b610e5d565b3480156105fd57600080fd5b50610280610fd8565b34801561061257600080fd5b50610302600d5481565b34801561062857600080fd5b50610269610637366004611c97565b610fe5565b34801561064857600080fd5b5061023f610657366004611d55565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561069157600080fd5b506102696106a0366004611a6e565b611054565b60006001600160e01b031982166380ac58cd60e01b14806106d657506001600160e01b03198216635b5e139f60e01b145b806106f157506301ffc9a760e01b6001600160e01b03198316145b92915050565b6106ff6110ca565b60405133904780156108fc02916000818181858888f1935050505015801561072b573d6000803e3d6000fd5b50565b60606002805461073d90611d7f565b80601f016020809104026020016040519081016040528092919081815260200182805461076990611d7f565b80156107b65780601f1061078b576101008083540402835291602001916107b6565b820191906000526020600020905b81548152906001019060200180831161079957829003601f168201915b5050505050905090565b60006107cb82611124565b6107e8576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061080f82610b69565b9050806001600160a01b0316836001600160a01b0316036108435760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b0382161461087a5761085d8133610657565b61087a576040516367d9dca160e11b815260040160405180910390fd5b61088583838361114f565b505050565b600b54610100900460ff166108f25760405162461bcd60e51b815260206004820152602360248201527f4d696e74696e67206973206e6f7420796574206f70656e20666f72207075626c60448201526269632160e81b60648201526084015b60405180910390fd5b600d5460015460005403106109195760405162461bcd60e51b81526004016108e990611db9565b61092233610c88565b1561093f5760405162461bcd60e51b81526004016108e990611df0565b600e5434146109855760405162461bcd60e51b81526020600482015260126024820152714d75737420706179206d696e74206665652160701b60448201526064016108e9565b60405130903480156108fc02916000818181858888f193505050501580156109b1573d6000803e3d6000fd5b506109bd3360016111ab565b565b6109c76110ca565b600e55565b6108858383836111c5565b61088583838360405180602001604052806000815250610e13565b6109fa6110ca565b6001600160a01b038216600081815260096020908152604091829020805460ff191685151590811790915591519182527fe68d2c359a771606c400cf8b87000cf5864010363d6a736e98f5047b7bbe18e9910160405180910390a25050565b610a616110ca565b600a610a6d8282611e81565b50336001600160a01b03167ff765b68b6ff897de964353a0eb194e46ecea8772879eb880b4b0fd277124922c82604051610aa791906119c5565b60405180910390a250565b336000908152600f602052604090205460ff16610b115760405162461bcd60e51b815260206004820152601e60248201527f43616e206f6e6c7920626520757365642062792070726f6d6f7465727321000060448201526064016108e9565b610b1a33610c88565b15610b375760405162461bcd60e51b81526004016108e990611df0565b600d546001546000540310610b5e5760405162461bcd60e51b81526004016108e990611db9565b6109bd3360016111ab565b6000610b74826113b2565b5192915050565b610b836110ca565b600b80549115156101000261ff0019909216919091179055565b600a8054610baa90611d7f565b80601f0160208091040260200160405190810160405280929190818152602001828054610bd690611d7f565b8015610c235780601f10610bf857610100808354040283529160200191610c23565b820191906000526020600020905b815481529060010190602001808311610c0657829003601f168201915b505050505081565b610c336110ca565b600b805460ff191682151517905560405133907fffcd326b78e78031a693e986f76bfa19d1b13f1fe4b2ec67c23f46456ee100de90610c739085906119c5565b60405180910390a2610c8482610a59565b5050565b60006001600160a01b038216610cb1576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b610cde6110ca565b6109bd60006114cc565b60606003805461073d90611d7f565b336001600160a01b03831603610d205760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610d946110ca565b600c610da08282611e81565b50336001600160a01b03167f998cc6c827a95d954dd9f7f353dbbb9e4959d633c6639bca42129fa1089c364882604051610aa791906119c5565b610de26110ca565b600d546001546000540310610e095760405162461bcd60e51b81526004016108e990611db9565b610c8482826111ab565b610e1e8484846111c5565b6001600160a01b0383163b15610e5757610e3a8484848461151e565b610e57576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b600b5460609060ff16610efc57600c8054610e7790611d7f565b80601f0160208091040260200160405190810160405280929190818152602001828054610ea390611d7f565b8015610ef05780601f10610ec557610100808354040283529160200191610ef0565b820191906000526020600020905b815481529060010190602001808311610ed357829003601f168201915b50505050509050919050565b600a8054610f0990611d7f565b9050600003610fa257600c8054610f1f90611d7f565b80601f0160208091040260200160405190810160405280929190818152602001828054610f4b90611d7f565b8015610f985780601f10610f6d57610100808354040283529160200191610f98565b820191906000526020600020905b815481529060010190602001808311610f7b57829003601f168201915b50505050506106f1565b600a610fad8361160a565b604051602001610fbe929190611f40565b60405160208183030381529060405292915050565b919050565b600c8054610baa90611d7f565b610fed6110ca565b60005b82518110156108855781600f600085848151811061101057611010611fd7565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff19169115159190911790558061104c81611fed565b915050610ff0565b61105c6110ca565b6001600160a01b0381166110c15760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108e9565b61072b816114cc565b6008546001600160a01b031633146109bd5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108e9565b60008054821080156106f1575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610c8482826040518060200160405280600081525061169c565b60006111d0826113b2565b9050836001600160a01b031681600001516001600160a01b0316146112075760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b038616148061122557506112258533610657565b80611240575033611235846107c0565b6001600160a01b0316145b90508061126057604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03841661128757604051633a954ecd60e21b815260040160405180910390fd5b6112936000848761114f565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff198082166001600160401b0392831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b4290921691909102178355870180845292208054919390911661136757600054821461136757805460208601516001600160401b0316600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050505050565b6040805160608101825260008082526020820181905291810191909152816000548110156114b357600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff161515918101829052906114b15780516001600160a01b031615611448579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff16151592810192909252156114ac579392505050565b611448565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611553903390899088908890600401612014565b6020604051808303816000875af192505050801561158e575060408051601f3d908101601f1916820190925261158b91810190612051565b60015b6115ec573d8080156115bc576040519150601f19603f3d011682016040523d82523d6000602084013e6115c1565b606091505b5080516000036115e4576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600061161783611863565b60010190506000816001600160401b0381111561163657611636611acc565b6040519080825280601f01601f191660200182016040528015611660576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461166a57509392505050565b6000546001600160a01b0384166116c557604051622e076360e81b815260040160405180910390fd5b826000036116e65760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038416600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff1981166001600160401b038083168b0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168b01811690920217909155858452600490925290912080546001600160e01b0319168317600160a01b42909316929092029190911790558190818501903b1561180e575b60405182906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46117d7600087848060010195508761151e565b6117f4576040516368d2bf6b60e11b815260040160405180910390fd5b80821061178c57826000541461180957600080fd5b611853565b5b6040516001830192906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a480821061180f575b506000908155610e579085838684565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106118a25772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef810000000083106118ce576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc1000083106118ec57662386f26fc10000830492506010015b6305f5e1008310611904576305f5e100830492506008015b612710831061191857612710830492506004015b6064831061192a576064830492506002015b600a83106106f15760010192915050565b6001600160e01b03198116811461072b57600080fd5b60006020828403121561196357600080fd5b813561196e8161193b565b9392505050565b60005b83811015611990578181015183820152602001611978565b50506000910152565b600081518084526119b1816020860160208601611975565b601f01601f19169290920160200192915050565b60208152600061196e6020830184611999565b6000602082840312156119ea57600080fd5b5035919050565b80356001600160a01b0381168114610fd357600080fd5b60008060408385031215611a1b57600080fd5b611a24836119f1565b946020939093013593505050565b600080600060608486031215611a4757600080fd5b611a50846119f1565b9250611a5e602085016119f1565b9150604084013590509250925092565b600060208284031215611a8057600080fd5b61196e826119f1565b80358015158114610fd357600080fd5b60008060408385031215611aac57600080fd5b611ab5836119f1565b9150611ac360208401611a89565b90509250929050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715611b0a57611b0a611acc565b604052919050565b60006001600160401b03831115611b2b57611b2b611acc565b611b3e601f8401601f1916602001611ae2565b9050828152838383011115611b5257600080fd5b828260208301376000602084830101529392505050565b600082601f830112611b7a57600080fd5b61196e83833560208501611b12565b600060208284031215611b9b57600080fd5b81356001600160401b03811115611bb157600080fd5b61160284828501611b69565b600060208284031215611bcf57600080fd5b61196e82611a89565b60008060408385031215611beb57600080fd5b82356001600160401b03811115611c0157600080fd5b611c0d85828601611b69565b925050611ac360208401611a89565b60008060008060808587031215611c3257600080fd5b611c3b856119f1565b9350611c49602086016119f1565b92506040850135915060608501356001600160401b03811115611c6b57600080fd5b8501601f81018713611c7c57600080fd5b611c8b87823560208401611b12565b91505092959194509250565b60008060408385031215611caa57600080fd5b82356001600160401b0380821115611cc157600080fd5b818501915085601f830112611cd557600080fd5b8135602082821115611ce957611ce9611acc565b8160051b9250611cfa818401611ae2565b8281529284018101928181019089851115611d1457600080fd5b948201945b84861015611d3957611d2a866119f1565b82529482019490820190611d19565b9650611d489050878201611a89565b9450505050509250929050565b60008060408385031215611d6857600080fd5b611d71836119f1565b9150611ac3602084016119f1565b600181811c90821680611d9357607f821691505b602082108103611db357634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526018908201527f43616e277420657863656564206d617820737570706c79210000000000000000604082015260600190565b60208082526023908201527f43616e2774206d696e74206d6f7265207468616e203120666f7220612077616c6040820152621b195d60ea1b606082015260800190565b601f82111561088557600081815260208120601f850160051c81016020861015611e5a5750805b601f850160051c820191505b81811015611e7957828155600101611e66565b505050505050565b81516001600160401b03811115611e9a57611e9a611acc565b611eae81611ea88454611d7f565b84611e33565b602080601f831160018114611ee35760008415611ecb5750858301515b600019600386901b1c1916600185901b178555611e79565b600085815260208120601f198616915b82811015611f1257888601518255948401946001909101908401611ef3565b5085821015611f305787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000808454611f4e81611d7f565b60018281168015611f665760018114611f7b57611faa565b60ff1984168752821515830287019450611faa565b8860005260208060002060005b85811015611fa15781548a820152908401908201611f88565b50505082870194505b505050508351611fbe818360208801611975565b64173539b7b760d91b9101908152600501949350505050565b634e487b7160e01b600052603260045260246000fd5b60006001820161200d57634e487b7160e01b600052601160045260246000fd5b5060010190565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061204790830184611999565b9695505050505050565b60006020828403121561206357600080fd5b815161196e8161193b56fea26469706673582212200b02b5e47b1f6c45cc820be72caf6c14f1a95799293cdb751f529932d6de197f64736f6c63430008110033

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

0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000005068747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d5a46396171787a534d4e36565a73445870786d76757131726a7137623334326d62794d6935374443465a4e4100000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _initialURI (string): https://gateway.pinata.cloud/ipfs/QmZF9aqxzSMN6VZsDXpxmvuq1rjq7b342mbyMi57DCFZNA

-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000050
Arg [2] : 68747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066
Arg [3] : 732f516d5a46396171787a534d4e36565a73445870786d76757131726a713762
Arg [4] : 3334326d62794d6935374443465a4e4100000000000000000000000000000000


Deployed Bytecode Sourcemap

62132:4187:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41994:305;;;;;;;;;;-1:-1:-1;41994:305:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;41994:305:0;;;;;;;;66206:110;;;;;;;;;;;;;:::i;:::-;;45109:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;46613:204::-;;;;;;;;;;-1:-1:-1;46613:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1697:32:1;;;1679:51;;1667:2;1652:18;46613:204:0;1533:203:1;46175:372:0;;;;;;;;;;-1:-1:-1;46175:372:0;;;;;:::i;:::-;;:::i;63365:441::-;;;:::i;41234:312::-;;;;;;;;;;-1:-1:-1;41497:12:0;;41287:7;41481:13;:28;41234:312;;;2324:25:1;;;2312:2;2297:18;41234:312:0;2178:177:1;65283:112:0;;;;;;;;;;-1:-1:-1;65283:112:0;;;;;:::i;:::-;;:::i;47478:170::-;;;;;;;;;;-1:-1:-1;47478:170:0;;;;;:::i;:::-;;:::i;62316:20::-;;;;;;;;;;-1:-1:-1;62316:20:0;;;;;;;;;;;18404:39;;;;;;;;;;-1:-1:-1;18404:39:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;47719:185;;;;;;;;;;-1:-1:-1;47719:185:0;;;;;:::i;:::-;;:::i;18733:152::-;;;;;;;;;;-1:-1:-1;18733:152:0;;;;;:::i;:::-;;:::i;62287:22::-;;;;;;;;;;-1:-1:-1;62287:22:0;;;;;;;;65527:150;;;;;;;;;;-1:-1:-1;65527:150:0;;;;;:::i;:::-;;:::i;62976:326::-;;;;;;;;;;;;;:::i;44917:125::-;;;;;;;;;;-1:-1:-1;44917:125:0;;;;;:::i;:::-;;:::i;62412:38::-;;;;;;;;;;;;;;;;64392:92;;;;;;;;;;-1:-1:-1;64392:92:0;;;;;:::i;:::-;;:::i;62259:21::-;;;;;;;;;;;;;:::i;64972:225::-;;;;;;;;;;-1:-1:-1;64972:225:0;;;;;:::i;:::-;;:::i;42363:206::-;;;;;;;;;;-1:-1:-1;42363:206:0;;;;;:::i;:::-;;:::i;17429:103::-;;;;;;;;;;;;;:::i;62459:41::-;;;;;;;;;;-1:-1:-1;62459:41:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;16781:87;;;;;;;;;;-1:-1:-1;16854:6:0;;-1:-1:-1;;;;;16854:6:0;16781:87;;45278:104;;;;;;;;;;;;;:::i;46889:287::-;;;;;;;;;;-1:-1:-1;46889:287:0;;;;;:::i;:::-;;:::i;64630:170::-;;;;;;;;;;-1:-1:-1;64630:170:0;;;;;:::i;:::-;;:::i;63917:222::-;;;;;;;;;;-1:-1:-1;63917:222:0;;;;;:::i;:::-;;:::i;47975:370::-;;;;;;;;;;-1:-1:-1;47975:370:0;;;;;:::i;:::-;;:::i;65760:438::-;;;;;;;;;;-1:-1:-1;65760:438:0;;;;;:::i;:::-;;:::i;62343:24::-;;;;;;;;;;;;;:::i;62374:31::-;;;;;;;;;;;;;;;;64179:205;;;;;;;;;;-1:-1:-1;64179:205:0;;;;;:::i;:::-;;:::i;47247:164::-;;;;;;;;;;-1:-1:-1;47247:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;47368:25:0;;;47344:4;47368:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;47247:164;17687:201;;;;;;;;;;-1:-1:-1;17687:201:0;;;;;:::i;:::-;;:::i;41994:305::-;42096:4;-1:-1:-1;;;;;;42133:40:0;;-1:-1:-1;;;42133:40:0;;:105;;-1:-1:-1;;;;;;;42190:48:0;;-1:-1:-1;;;42190:48:0;42133:105;:158;;;-1:-1:-1;;;;;;;;;;30847:40:0;;;42255:36;42113:178;41994:305;-1:-1:-1;;41994:305:0:o;66206:110::-;16667:13;:11;:13::i;:::-;66256:52:::1;::::0;66264:10:::1;::::0;66286:21:::1;66256:52:::0;::::1;;;::::0;::::1;::::0;;;66286:21;66264:10;66256:52;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;66206:110::o:0;45109:100::-;45163:13;45196:5;45189:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45109:100;:::o;46613:204::-;46681:7;46706:16;46714:7;46706;:16::i;:::-;46701:64;;46731:34;;-1:-1:-1;;;46731:34:0;;;;;;;;;;;46701:64;-1:-1:-1;46785:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;46785:24:0;;46613:204::o;46175:372::-;46248:13;46264:24;46280:7;46264:15;:24::i;:::-;46248:40;;46309:5;-1:-1:-1;;;;;46303:11:0;:2;-1:-1:-1;;;;;46303:11:0;;46299:48;;46323:24;;-1:-1:-1;;;46323:24:0;;;;;;;;;;;46299:48;15570:10;-1:-1:-1;;;;;46364:21:0;;;46360:139;;46391:37;46408:5;15570:10;47247:164;:::i;46391:37::-;46387:112;;46452:35;;-1:-1:-1;;;46452:35:0;;;;;;;;;;;46387:112;46511:28;46520:2;46524:7;46533:5;46511:8;:28::i;:::-;46237:310;46175:372;;:::o;63365:441::-;63440:8;;;;;;;63432:56;;;;-1:-1:-1;;;63432:56:0;;7817:2:1;63432:56:0;;;7799:21:1;7856:2;7836:18;;;7829:30;7895:34;7875:18;;;7868:62;-1:-1:-1;;;7946:18:1;;;7939:33;7989:19;;63432:56:0;;;;;;;;;63523:9;;41497:12;;41287:7;41481:13;:28;63507:25;63499:62;;;;-1:-1:-1;;;63499:62:0;;;;;;;:::i;:::-;63580:21;63590:10;63580:9;:21::i;:::-;:26;63572:74;;;;-1:-1:-1;;;63572:74:0;;;;;;;:::i;:::-;63678:9;;63665;:22;63657:53;;;;-1:-1:-1;;;63657:53:0;;8978:2:1;63657:53:0;;;8960:21:1;9017:2;8997:18;;;8990:30;-1:-1:-1;;;9036:18:1;;;9029:48;9094:18;;63657:53:0;8776:342:1;63657:53:0;63721:42;;63737:4;;63753:9;63721:42;;;;;;;;;63753:9;63737:4;63721:42;;;;;;;;;;;;;;;;;;;;;63774:24;63784:10;63796:1;63774:9;:24::i;:::-;63365:441::o;65283:112::-;16667:13;:11;:13::i;:::-;65362:9:::1;:25:::0;65283:112::o;47478:170::-;47612:28;47622:4;47628:2;47632:7;47612:9;:28::i;47719:185::-;47857:39;47874:4;47880:2;47884:7;47857:39;;;;;;;;;;;;:16;:39::i;18733:152::-;16667:13;:11;:13::i;:::-;-1:-1:-1;;;;;18811:13:0;::::1;;::::0;;;:7:::1;:13;::::0;;;;;;;;:25;;-1:-1:-1;;18811:25:0::1;::::0;::::1;;::::0;;::::1;::::0;;;18852;;540:41:1;;;18852:25:0::1;::::0;513:18:1;18852:25:0::1;;;;;;;18733:152:::0;;:::o;65527:150::-;16667:13;:11;:13::i;:::-;65599:7:::1;:18;65609:8:::0;65599:7;:18:::1;:::i;:::-;;65648:10;-1:-1:-1::0;;;;;65633:36:0::1;;65660:8;65633:36;;;;;;:::i;:::-;;;;;;;;65527:150:::0;:::o;62976:326::-;63055:10;63045:21;;;;:9;:21;;;;;;;;63037:64;;;;-1:-1:-1;;;63037:64:0;;11529:2:1;63037:64:0;;;11511:21:1;11568:2;11548:18;;;11541:30;11607:32;11587:18;;;11580:60;11657:18;;63037:64:0;11327:354:1;63037:64:0;63120:21;63130:10;63120:9;:21::i;:::-;:26;63112:74;;;;-1:-1:-1;;;63112:74:0;;;;;;;:::i;:::-;63221:9;;41497:12;;41287:7;41481:13;:28;63205:25;63197:62;;;;-1:-1:-1;;;63197:62:0;;;;;;;:::i;:::-;63270:24;63280:10;63292:1;63270:9;:24::i;44917:125::-;44981:7;45008:21;45021:7;45008:12;:21::i;:::-;:26;;44917:125;-1:-1:-1;;44917:125:0:o;64392:92::-;16667:13;:11;:13::i;:::-;64458:8:::1;:18:::0;;;::::1;;;;-1:-1:-1::0;;64458:18:0;;::::1;::::0;;;::::1;::::0;;64392:92::o;62259:21::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;64972:225::-;16667:13;:11;:13::i;:::-;65083:10:::1;:24:::0;;-1:-1:-1;;65083:24:0::1;::::0;::::1;;;::::0;;65123:35:::1;::::0;65137:10:::1;::::0;65123:35:::1;::::0;::::1;::::0;65149:8;;65123:35:::1;:::i;:::-;;;;;;;;65169:20;65180:8;65169:10;:20::i;:::-;64972:225:::0;;:::o;42363:206::-;42427:7;-1:-1:-1;;;;;42451:19:0;;42447:60;;42479:28;;-1:-1:-1;;;42479:28:0;;;;;;;;;;;42447:60;-1:-1:-1;;;;;;42533:19:0;;;;;:12;:19;;;;;:27;-1:-1:-1;;;;;42533:27:0;;42363:206::o;17429:103::-;16667:13;:11;:13::i;:::-;17494:30:::1;17521:1;17494:18;:30::i;45278:104::-:0;45334:13;45367:7;45360:14;;;;;:::i;46889:287::-;15570:10;-1:-1:-1;;;;;46988:24:0;;;46984:54;;47021:17;;-1:-1:-1;;;47021:17:0;;;;;;;;;;;46984:54;15570:10;47051:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;47051:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;47051:53:0;;;;;;;;;;47120:48;;540:41:1;;;47051:42:0;;15570:10;47120:48;;513:18:1;47120:48:0;;;;;;;46889:287;;:::o;64630:170::-;16667:13;:11;:13::i;:::-;64710:10:::1;:24;64723:11:::0;64710:10;:24:::1;:::i;:::-;;64768:10;-1:-1:-1::0;;;;;64750:42:0::1;;64780:11;64750:42;;;;;;:::i;63917:222::-:0;16667:13;:11;:13::i;:::-;64052:9:::1;::::0;41497:12;;41287:7;41481:13;:28;64036:25:::1;64028:62;;;;-1:-1:-1::0;;;64028:62:0::1;;;;;;;:::i;:::-;64101:30;64111:9;64122:8;64101:9;:30::i;47975:370::-:0;48142:28;48152:4;48158:2;48162:7;48142:9;:28::i;:::-;-1:-1:-1;;;;;48185:13:0;;20516:19;:23;48181:157;;48206:56;48237:4;48243:2;48247:7;48256:5;48206:30;:56::i;:::-;48202:136;;48286:40;;-1:-1:-1;;;48286:40:0;;;;;;;;;;;48202:136;47975:370;;;;:::o;65760:438::-;65914:10;;65878:13;;65914:10;;65909:281;;65933:10;65926:17;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;65760:438;;;:::o;65909:281::-;66002:7;65996:21;;;;;:::i;:::-;;;66021:1;65996:26;:194;;66180:10;65996:194;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;66096:7;66105:18;:7;:16;:18::i;:::-;66079:54;;;;;;;;;:::i;:::-;;;;;;;;;;;;;65972:218;65760:438;-1:-1:-1;;65760:438:0:o;65909:281::-;65760:438;;;:::o;62343:24::-;;;;;;;:::i;64179:205::-;16667:13;:11;:13::i;:::-;64279:9:::1;64274:103;64298:8;:15;64294:1;:19;64274:103;;;64360:5;64335:9;:22;64345:8;64354:1;64345:11;;;;;;;;:::i;:::-;;::::0;;::::1;::::0;;;;;;;-1:-1:-1;;;;;64335:22:0::1;::::0;;;::::1;::::0;;;;;;-1:-1:-1;64335:22:0;:30;;-1:-1:-1;;64335:30:0::1;::::0;::::1;;::::0;;;::::1;::::0;;64315:3;::::1;::::0;::::1;:::i;:::-;;;;64274:103;;17687:201:::0;16667:13;:11;:13::i;:::-;-1:-1:-1;;;;;17776:22:0;::::1;17768:73;;;::::0;-1:-1:-1;;;17768:73:0;;13449:2:1;17768:73:0::1;::::0;::::1;13431:21:1::0;13488:2;13468:18;;;13461:30;13527:34;13507:18;;;13500:62;-1:-1:-1;;;13578:18:1;;;13571:36;13624:19;;17768:73:0::1;13247:402:1::0;17768:73:0::1;17852:28;17871:8;17852:18;:28::i;16946:132::-:0;16854:6;;-1:-1:-1;;;;;16854:6:0;15570:10;17010:23;17002:68;;;;-1:-1:-1;;;17002:68:0;;13856:2:1;17002:68:0;;;13838:21:1;;;13875:18;;;13868:30;13934:34;13914:18;;;13907:62;13986:18;;17002:68:0;13654:356:1;48600:174:0;48657:4;48721:13;;48711:7;:23;48681:85;;;;-1:-1:-1;;48739:20:0;;;;:11;:20;;;;;:27;-1:-1:-1;;;48739:27:0;;;;48738:28;;48600:174::o;57822:196::-;57937:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;57937:29:0;-1:-1:-1;;;;;57937:29:0;;;;;;;;;57982:28;;57937:24;;57982:28;;;;;;;57822:196;;;:::o;48858:104::-;48927:27;48937:2;48941:8;48927:27;;;;;;;;;;;;:9;:27::i;52770:2130::-;52885:35;52923:21;52936:7;52923:12;:21::i;:::-;52885:59;;52983:4;-1:-1:-1;;;;;52961:26:0;:13;:18;;;-1:-1:-1;;;;;52961:26:0;;52957:67;;52996:28;;-1:-1:-1;;;52996:28:0;;;;;;;;;;;52957:67;53037:22;15570:10;-1:-1:-1;;;;;53063:20:0;;;;:73;;-1:-1:-1;53100:36:0;53117:4;15570:10;47247:164;:::i;53100:36::-;53063:126;;;-1:-1:-1;15570:10:0;53153:20;53165:7;53153:11;:20::i;:::-;-1:-1:-1;;;;;53153:36:0;;53063:126;53037:153;;53208:17;53203:66;;53234:35;;-1:-1:-1;;;53234:35:0;;;;;;;;;;;53203:66;-1:-1:-1;;;;;53284:16:0;;53280:52;;53309:23;;-1:-1:-1;;;53309:23:0;;;;;;;;;;;53280:52;53453:35;53470:1;53474:7;53483:4;53453:8;:35::i;:::-;-1:-1:-1;;;;;53784:18:0;;;;;;;:12;:18;;;;;;;;:31;;-1:-1:-1;;53784:31:0;;;-1:-1:-1;;;;;53784:31:0;;;-1:-1:-1;;53784:31:0;;;;;;;53830:16;;;;;;;;;:29;;;;;;;;-1:-1:-1;53830:29:0;;;;;;;;;;;53910:20;;;:11;:20;;;;;;53945:18;;-1:-1:-1;;;;;;53978:49:0;;;;-1:-1:-1;;;54011:15:0;53978:49;;;;;;;;;;54301:11;;54361:24;;;;;54404:13;;53910:20;;54361:24;;54404:13;54400:384;;54614:13;;54599:11;:28;54595:174;;54652:20;;54721:28;;;;-1:-1:-1;;;;;54695:54:0;-1:-1:-1;;;54695:54:0;-1:-1:-1;;;;;;54695:54:0;;;-1:-1:-1;;;;;54652:20:0;;54695:54;;;;54595:174;53759:1036;;;54831:7;54827:2;-1:-1:-1;;;;;54812:27:0;54821:4;-1:-1:-1;;;;;54812:27:0;;;;;;;;;;;52874:2026;;52770:2130;;;:::o;43744:1111::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;43855:7:0;43940:13;;43933:4;:20;43929:859;;;43974:31;44008:17;;;:11;:17;;;;;;;;;43974:51;;;;;;;;;-1:-1:-1;;;;;43974:51:0;;;;-1:-1:-1;;;43974:51:0;;-1:-1:-1;;;;;43974:51:0;;;;;;;;-1:-1:-1;;;43974:51:0;;;;;;;;;;;;;;44044:729;;44094:14;;-1:-1:-1;;;;;44094:28:0;;44090:101;;44158:9;43744:1111;-1:-1:-1;;;43744:1111:0:o;44090:101::-;-1:-1:-1;;;44533:6:0;44578:17;;;;:11;:17;;;;;;;;;44566:29;;;;;;;;;-1:-1:-1;;;;;44566:29:0;;;;;-1:-1:-1;;;44566:29:0;;-1:-1:-1;;;;;44566:29:0;;;;;;;;-1:-1:-1;;;44566:29:0;;;;;;;;;;;;;44626:28;44622:109;;44694:9;43744:1111;-1:-1:-1;;;43744:1111:0:o;44622:109::-;44493:261;;;43955:833;43929:859;44816:31;;-1:-1:-1;;;44816:31:0;;;;;;;;;;;18048:191;18141:6;;;-1:-1:-1;;;;;18158:17:0;;;-1:-1:-1;;;;;;18158:17:0;;;;;;;18191:40;;18141:6;;;18158:17;18141:6;;18191:40;;18122:16;;18191:40;18111:128;18048:191;:::o;58510:667::-;58694:72;;-1:-1:-1;;;58694:72:0;;58673:4;;-1:-1:-1;;;;;58694:36:0;;;;;:72;;15570:10;;58745:4;;58751:7;;58760:5;;58694:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;58694:72:0;;;;;;;;-1:-1:-1;;58694:72:0;;;;;;;;;;;;:::i;:::-;;;58690:480;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58928:6;:13;58945:1;58928:18;58924:235;;58974:40;;-1:-1:-1;;;58974:40:0;;;;;;;;;;;58924:235;59117:6;59111:13;59102:6;59098:2;59094:15;59087:38;58690:480;-1:-1:-1;;;;;;58813:55:0;-1:-1:-1;;;58813:55:0;;-1:-1:-1;58690:480:0;58510:667;;;;;;:::o;13054:716::-;13110:13;13161:14;13178:17;13189:5;13178:10;:17::i;:::-;13198:1;13178:21;13161:38;;13214:20;13248:6;-1:-1:-1;;;;;13237:18:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;13237:18:0;-1:-1:-1;13214:41:0;-1:-1:-1;13379:28:0;;;13395:2;13379:28;13436:288;-1:-1:-1;;13468:5:0;-1:-1:-1;;;13605:2:0;13594:14;;13589:30;13468:5;13576:44;13666:2;13657:11;;;-1:-1:-1;13687:21:0;13436:288;13687:21;-1:-1:-1;13745:6:0;13054:716;-1:-1:-1;;;13054:716:0:o;49335:1749::-;49458:20;49481:13;-1:-1:-1;;;;;49509:16:0;;49505:48;;49534:19;;-1:-1:-1;;;49534:19:0;;;;;;;;;;;49505:48;49568:8;49580:1;49568:13;49564:44;;49590:18;;-1:-1:-1;;;49590:18:0;;;;;;;;;;;49564:44;-1:-1:-1;;;;;49959:16:0;;;;;;:12;:16;;;;;;;;:44;;-1:-1:-1;;50018:49:0;;-1:-1:-1;;;;;49959:44:0;;;;;;;50018:49;;;;-1:-1:-1;;49959:44:0;;;;;;50018:49;;;;;;;;;;;;;;;;50084:25;;;:11;:25;;;;;;:35;;-1:-1:-1;;;;;;50134:66:0;;;-1:-1:-1;;;50184:15:0;50134:66;;;;;;;;;;;;;50084:25;;50281:23;;;;20516:19;:23;50321:631;;50361:313;50392:38;;50417:12;;-1:-1:-1;;;;;50392:38:0;;;50409:1;;50392:38;;50409:1;;50392:38;50458:69;50497:1;50501:2;50505:14;;;;;;50521:5;50458:30;:69::i;:::-;50453:174;;50563:40;;-1:-1:-1;;;50563:40:0;;;;;;;;;;;50453:174;50669:3;50654:12;:18;50361:313;;50755:12;50738:13;;:29;50734:43;;50769:8;;;50734:43;50321:631;;;50818:119;50849:40;;50874:14;;;;;-1:-1:-1;;;;;50849:40:0;;;50866:1;;50849:40;;50866:1;;50849:40;50932:3;50917:12;:18;50818:119;;50321:631;-1:-1:-1;50966:13:0;:28;;;51016:60;;51049:2;51053:12;51067:8;51016:60;:::i;10074:922::-;10127:7;;-1:-1:-1;;;10205:15:0;;10201:102;;-1:-1:-1;;;10241:15:0;;;-1:-1:-1;10285:2:0;10275:12;10201:102;10330:6;10321:5;:15;10317:102;;10366:6;10357:15;;;-1:-1:-1;10401:2:0;10391:12;10317:102;10446:6;10437:5;:15;10433:102;;10482:6;10473:15;;;-1:-1:-1;10517:2:0;10507:12;10433:102;10562:5;10553;:14;10549:99;;10597:5;10588:14;;;-1:-1:-1;10631:1:0;10621:11;10549:99;10675:5;10666;:14;10662:99;;10710:5;10701:14;;;-1:-1:-1;10744:1:0;10734:11;10662:99;10788:5;10779;:14;10775:99;;10823:5;10814:14;;;-1:-1:-1;10857:1:0;10847:11;10775:99;10901:5;10892;:14;10888:66;;10937:1;10927:11;10982:6;10074:922;-1:-1:-1;;10074:922:0:o;14:131:1:-;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;:::-;384:5;150:245;-1:-1:-1;;;150:245:1:o;592:250::-;677:1;687:113;701:6;698:1;695:13;687:113;;;777:11;;;771:18;758:11;;;751:39;723:2;716:10;687:113;;;-1:-1:-1;;834:1:1;816:16;;809:27;592:250::o;847: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;1919:254;1987:6;1995;2048:2;2036:9;2027:7;2023:23;2019:32;2016:52;;;2064:1;2061;2054:12;2016:52;2087:29;2106:9;2087:29;:::i;:::-;2077:39;2163:2;2148:18;;;;2135:32;;-1:-1:-1;;;1919:254:1:o;2360:328::-;2437:6;2445;2453;2506:2;2494:9;2485:7;2481:23;2477:32;2474:52;;;2522:1;2519;2512:12;2474:52;2545:29;2564:9;2545:29;:::i;:::-;2535:39;;2593:38;2627:2;2616:9;2612:18;2593:38;:::i;:::-;2583:48;;2678:2;2667:9;2663:18;2650:32;2640:42;;2360:328;;;;;:::o;2693:186::-;2752:6;2805:2;2793:9;2784:7;2780:23;2776:32;2773:52;;;2821:1;2818;2811:12;2773:52;2844:29;2863:9;2844:29;:::i;2884:160::-;2949:20;;3005:13;;2998:21;2988:32;;2978:60;;3034:1;3031;3024:12;3049:254;3114:6;3122;3175:2;3163:9;3154:7;3150:23;3146:32;3143:52;;;3191:1;3188;3181:12;3143:52;3214:29;3233:9;3214:29;:::i;:::-;3204:39;;3262:35;3293:2;3282:9;3278:18;3262:35;:::i;:::-;3252:45;;3049:254;;;;;:::o;3308:127::-;3369:10;3364:3;3360:20;3357:1;3350:31;3400:4;3397:1;3390:15;3424:4;3421:1;3414:15;3440:275;3511:2;3505:9;3576:2;3557:13;;-1:-1:-1;;3553:27:1;3541:40;;-1:-1:-1;;;;;3596:34:1;;3632:22;;;3593:62;3590:88;;;3658:18;;:::i;:::-;3694:2;3687:22;3440:275;;-1:-1:-1;3440:275:1:o;3720:407::-;3785:5;-1:-1:-1;;;;;3811:6:1;3808:30;3805:56;;;3841:18;;:::i;:::-;3879:57;3924:2;3903:15;;-1:-1:-1;;3899:29:1;3930:4;3895:40;3879:57;:::i;:::-;3870:66;;3959:6;3952:5;3945:21;3999:3;3990:6;3985:3;3981:16;3978:25;3975:45;;;4016:1;4013;4006:12;3975:45;4065:6;4060:3;4053:4;4046:5;4042:16;4029:43;4119:1;4112:4;4103:6;4096:5;4092:18;4088:29;4081:40;3720:407;;;;;:::o;4132:222::-;4175:5;4228:3;4221:4;4213:6;4209:17;4205:27;4195:55;;4246:1;4243;4236:12;4195:55;4268:80;4344:3;4335:6;4322:20;4315:4;4307:6;4303:17;4268:80;:::i;4359:322::-;4428:6;4481:2;4469:9;4460:7;4456:23;4452:32;4449:52;;;4497:1;4494;4487:12;4449:52;4537:9;4524:23;-1:-1:-1;;;;;4562:6:1;4559:30;4556:50;;;4602:1;4599;4592:12;4556:50;4625;4667:7;4658:6;4647:9;4643:22;4625:50;:::i;4686:180::-;4742:6;4795:2;4783:9;4774:7;4770:23;4766:32;4763:52;;;4811:1;4808;4801:12;4763:52;4834:26;4850:9;4834:26;:::i;4871:390::-;4946:6;4954;5007:2;4995:9;4986:7;4982:23;4978:32;4975:52;;;5023:1;5020;5013:12;4975:52;5063:9;5050:23;-1:-1:-1;;;;;5088:6:1;5085:30;5082:50;;;5128:1;5125;5118:12;5082:50;5151;5193:7;5184:6;5173:9;5169:22;5151:50;:::i;:::-;5141:60;;;5220:35;5251:2;5240:9;5236:18;5220:35;:::i;5266:667::-;5361:6;5369;5377;5385;5438:3;5426:9;5417:7;5413:23;5409:33;5406:53;;;5455:1;5452;5445:12;5406:53;5478:29;5497:9;5478:29;:::i;:::-;5468:39;;5526:38;5560:2;5549:9;5545:18;5526:38;:::i;:::-;5516:48;;5611:2;5600:9;5596:18;5583:32;5573:42;;5666:2;5655:9;5651:18;5638:32;-1:-1:-1;;;;;5685:6:1;5682:30;5679:50;;;5725:1;5722;5715:12;5679:50;5748:22;;5801:4;5793:13;;5789:27;-1:-1:-1;5779:55:1;;5830:1;5827;5820:12;5779:55;5853:74;5919:7;5914:2;5901:16;5896:2;5892;5888:11;5853:74;:::i;:::-;5843:84;;;5266:667;;;;;;;:::o;5938:1022::-;6028:6;6036;6089:2;6077:9;6068:7;6064:23;6060:32;6057:52;;;6105:1;6102;6095:12;6057:52;6145:9;6132:23;-1:-1:-1;;;;;6215:2:1;6207:6;6204:14;6201:34;;;6231:1;6228;6221:12;6201:34;6269:6;6258:9;6254:22;6244:32;;6314:7;6307:4;6303:2;6299:13;6295:27;6285:55;;6336:1;6333;6326:12;6285:55;6372:2;6359:16;6394:4;6417:2;6413;6410:10;6407:36;;;6423:18;;:::i;:::-;6469:2;6466:1;6462:10;6452:20;;6492:28;6516:2;6512;6508:11;6492:28;:::i;:::-;6554:15;;;6624:11;;;6620:20;;;6585:12;;;;6652:19;;;6649:39;;;6684:1;6681;6674:12;6649:39;6708:11;;;;6728:148;6744:6;6739:3;6736:15;6728:148;;;6810:23;6829:3;6810:23;:::i;:::-;6798:36;;6761:12;;;;6854;;;;6728:148;;;6895:5;-1:-1:-1;6919:35:1;;-1:-1:-1;6935:18:1;;;6919:35;:::i;:::-;6909:45;;;;;;5938:1022;;;;;:::o;6965:260::-;7033:6;7041;7094:2;7082:9;7073:7;7069:23;7065:32;7062:52;;;7110:1;7107;7100:12;7062:52;7133:29;7152:9;7133:29;:::i;:::-;7123:39;;7181:38;7215:2;7204:9;7200:18;7181:38;:::i;7230:380::-;7309:1;7305:12;;;;7352;;;7373:61;;7427:4;7419:6;7415:17;7405:27;;7373:61;7480:2;7472:6;7469:14;7449:18;7446:38;7443:161;;7526:10;7521:3;7517:20;7514:1;7507:31;7561:4;7558:1;7551:15;7589:4;7586:1;7579:15;7443:161;;7230:380;;;:::o;8019:348::-;8221:2;8203:21;;;8260:2;8240:18;;;8233:30;8299:26;8294:2;8279:18;;8272:54;8358:2;8343:18;;8019:348::o;8372:399::-;8574:2;8556:21;;;8613:2;8593:18;;;8586:30;8652:34;8647:2;8632:18;;8625:62;-1:-1:-1;;;8718:2:1;8703:18;;8696:33;8761:3;8746:19;;8372:399::o;9249:545::-;9351:2;9346:3;9343:11;9340:448;;;9387:1;9412:5;9408:2;9401:17;9457:4;9453:2;9443:19;9527:2;9515:10;9511:19;9508:1;9504:27;9498:4;9494:38;9563:4;9551:10;9548:20;9545:47;;;-1:-1:-1;9586:4:1;9545:47;9641:2;9636:3;9632:12;9629:1;9625:20;9619:4;9615:31;9605:41;;9696:82;9714:2;9707:5;9704:13;9696:82;;;9759:17;;;9740:1;9729:13;9696:82;;;9700:3;;;9249:545;;;:::o;9970:1352::-;10096:3;10090:10;-1:-1:-1;;;;;10115:6:1;10112:30;10109:56;;;10145:18;;:::i;:::-;10174:97;10264:6;10224:38;10256:4;10250:11;10224:38;:::i;:::-;10218:4;10174:97;:::i;:::-;10326:4;;10390:2;10379:14;;10407:1;10402:663;;;;11109:1;11126:6;11123:89;;;-1:-1:-1;11178:19:1;;;11172:26;11123:89;-1:-1:-1;;9927:1:1;9923:11;;;9919:24;9915:29;9905:40;9951:1;9947:11;;;9902:57;11225:81;;10372:944;;10402:663;9196:1;9189:14;;;9233:4;9220:18;;-1:-1:-1;;10438:20:1;;;10556:236;10570:7;10567:1;10564:14;10556:236;;;10659:19;;;10653:26;10638:42;;10751:27;;;;10719:1;10707:14;;;;10586:19;;10556:236;;;10560:3;10820:6;10811:7;10808:19;10805:201;;;10881:19;;;10875:26;-1:-1:-1;;10964:1:1;10960:14;;;10976:3;10956:24;10952:37;10948:42;10933:58;10918:74;;10805:201;-1:-1:-1;;;;;11052:1:1;11036:14;;;11032:22;11019:36;;-1:-1:-1;9970:1352:1:o;11686:1187::-;11963:3;11992:1;12025:6;12019:13;12055:36;12081:9;12055:36;:::i;:::-;12110:1;12127:18;;;12154:133;;;;12301:1;12296:356;;;;12120:532;;12154:133;-1:-1:-1;;12187:24:1;;12175:37;;12260:14;;12253:22;12241:35;;12232:45;;;-1:-1:-1;12154:133:1;;12296:356;12327:6;12324:1;12317:17;12357:4;12402:2;12399:1;12389:16;12427:1;12441:165;12455:6;12452:1;12449:13;12441:165;;;12533:14;;12520:11;;;12513:35;12576:16;;;;12470:10;;12441:165;;;12445:3;;;12635:6;12630:3;12626:16;12619:23;;12120:532;;;;;12683:6;12677:13;12699:68;12758:8;12753:3;12746:4;12738:6;12734:17;12699:68;:::i;:::-;-1:-1:-1;;;12789:18:1;;12816:22;;;12865:1;12854:13;;11686:1187;-1:-1:-1;;;;11686:1187:1:o;12878:127::-;12939:10;12934:3;12930:20;12927:1;12920:31;12970:4;12967:1;12960:15;12994:4;12991:1;12984:15;13010:232;13049:3;13070:17;;;13067:140;;13129:10;13124:3;13120:20;13117:1;13110:31;13164:4;13161:1;13154:15;13192:4;13189:1;13182:15;13067:140;-1:-1:-1;13234:1:1;13223:13;;13010:232::o;14015:489::-;-1:-1:-1;;;;;14284:15:1;;;14266:34;;14336:15;;14331:2;14316:18;;14309:43;14383:2;14368:18;;14361:34;;;14431:3;14426:2;14411:18;;14404:31;;;14209:4;;14452:46;;14478:19;;14470:6;14452:46;:::i;:::-;14444:54;14015:489;-1:-1:-1;;;;;;14015:489:1:o;14509:249::-;14578:6;14631:2;14619:9;14610:7;14606:23;14602:32;14599:52;;;14647:1;14644;14637:12;14599:52;14679:9;14673:16;14698:30;14722:5;14698:30;:::i

Swarm Source

ipfs://0b02b5e47b1f6c45cc820be72caf6c14f1a95799293cdb751f529932d6de197f
Loading...
Loading
Loading...
Loading
[ 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.