ETH Price: $3,425.71 (+2.39%)

Token

We Are Eternal Spirits (WAES)
 

Overview

Max Total Supply

10,123 WAES

Holders

2,381

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
3 WAES
0xb7f1c8cec343a8d15fedc2b6b55f52623149410d
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
WeAreEternalSpirits

Compiler Version
v0.8.18+commit.87f61d96

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

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

/* SPDX-License-Identifier: MIT */

// Sources flattened with hardhat v2.12.7 https://hardhat.org

// File @openzeppelin/contracts/access/[email protected]

// OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol)

pragma solidity ^0.8.0;

/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControl {
    /**
     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
     *
     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
     * {RoleAdminChanged} not being emitted signaling this.
     *
     * _Available since v3.1._
     */
    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);

    /**
     * @dev Emitted when `account` is granted `role`.
     *
     * `sender` is the account that originated the contract call, an admin role
     * bearer except when using {AccessControl-_setupRole}.
     */
    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Emitted when `account` is revoked `role`.
     *
     * `sender` is the account that originated the contract call:
     *   - if using `revokeRole`, it is the admin role bearer
     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)
     */
    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) external view returns (bool);

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {AccessControl-_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) external view returns (bytes32);

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) external;
}


// File @openzeppelin/contracts/utils/[email protected]

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

pragma solidity ^0.8.0;

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

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


// File @openzeppelin/contracts/utils/introspection/[email protected]

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

pragma solidity ^0.8.0;

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


// File @openzeppelin/contracts/utils/introspection/[email protected]

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

pragma solidity ^0.8.0;

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


// File @openzeppelin/contracts/utils/math/[email protected]

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


// File @openzeppelin/contracts/utils/[email protected]

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

pragma solidity ^0.8.0;

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

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

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

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

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


// File @openzeppelin/contracts/access/[email protected]

// OpenZeppelin Contracts (last updated v4.8.0) (access/AccessControl.sol)

pragma solidity ^0.8.0;




/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms. This is a lightweight version that doesn't allow enumerating role
 * members except through off-chain means by accessing the contract event logs. Some
 * applications may benefit from on-chain enumerability, for those cases see
 * {AccessControlEnumerable}.
 *
 * Roles are referred to by their `bytes32` identifier. These should be exposed
 * in the external API and be unique. The best way to achieve this is by
 * using `public constant` hash digests:
 *
 * ```
 * bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
 * ```
 *
 * Roles can be used to represent a set of permissions. To restrict access to a
 * function call, use {hasRole}:
 *
 * ```
 * function foo() public {
 *     require(hasRole(MY_ROLE, msg.sender));
 *     ...
 * }
 * ```
 *
 * Roles can be granted and revoked dynamically via the {grantRole} and
 * {revokeRole} functions. Each role has an associated admin role, and only
 * accounts that have a role's admin role can call {grantRole} and {revokeRole}.
 *
 * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
 * that only accounts with this role will be able to grant or revoke other
 * roles. More complex role relationships can be created by using
 * {_setRoleAdmin}.
 *
 * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
 * grant and revoke this role. Extra precautions should be taken to secure
 * accounts that have been granted it.
 */
abstract contract AccessControl is Context, IAccessControl, ERC165 {
    struct RoleData {
        mapping(address => bool) members;
        bytes32 adminRole;
    }

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Modifier that checks that an account has a specific role. Reverts
     * with a standardized message including the required role.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     *
     * _Available since v4.1._
     */
    modifier onlyRole(bytes32 role) {
        _checkRole(role);
        _;
    }

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

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) public view virtual override returns (bool) {
        return _roles[role].members[account];
    }

    /**
     * @dev Revert with a standard message if `_msgSender()` is missing `role`.
     * Overriding this function changes the behavior of the {onlyRole} modifier.
     *
     * Format of the revert message is described in {_checkRole}.
     *
     * _Available since v4.6._
     */
    function _checkRole(bytes32 role) internal view virtual {
        _checkRole(role, _msgSender());
    }

    /**
     * @dev Revert with a standard message if `account` is missing `role`.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     */
    function _checkRole(bytes32 role, address account) internal view virtual {
        if (!hasRole(role, account)) {
            revert(
                string(
                    abi.encodePacked(
                        "AccessControl: account ",
                        Strings.toHexString(account),
                        " is missing role ",
                        Strings.toHexString(uint256(role), 32)
                    )
                )
            );
        }
    }

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) public view virtual override returns (bytes32) {
        return _roles[role].adminRole;
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     *
     * May emit a {RoleGranted} event.
     */
    function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _grantRole(role, account);
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     *
     * May emit a {RoleRevoked} event.
     */
    function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _revokeRole(role, account);
    }

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been revoked `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     *
     * May emit a {RoleRevoked} event.
     */
    function renounceRole(bytes32 role, address account) public virtual override {
        require(account == _msgSender(), "AccessControl: can only renounce roles for self");

        _revokeRole(role, account);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * May emit a {RoleGranted} event.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     *
     * NOTE: This function is deprecated in favor of {_grantRole}.
     */
    function _setupRole(bytes32 role, address account) internal virtual {
        _grantRole(role, account);
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
        bytes32 previousAdminRole = getRoleAdmin(role);
        _roles[role].adminRole = adminRole;
        emit RoleAdminChanged(role, previousAdminRole, adminRole);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * Internal function without access restriction.
     *
     * May emit a {RoleGranted} event.
     */
    function _grantRole(bytes32 role, address account) internal virtual {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * Internal function without access restriction.
     *
     * May emit a {RoleRevoked} event.
     */
    function _revokeRole(bytes32 role, address account) internal virtual {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}


// File erc721a/contracts/[email protected]

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

pragma solidity ^0.8.4;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


// File erc721a/contracts/[email protected]

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

pragma solidity ^0.8.4;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        return _tokenApprovals[tokenId].value;
    }

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            uint256 toMasked;
            uint256 end = startTokenId + quantity;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        address from = address(uint160(prevOwnershipPacked));

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


// File erc721a/contracts/extensions/[email protected]

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

pragma solidity ^0.8.4;

/**
 * @dev Interface of ERC721ABurnable.
 */
interface IERC721ABurnable is IERC721A {
    /**
     * @dev Burns `tokenId`. See {ERC721A-_burn}.
     *
     * Requirements:
     *
     * - The caller must own `tokenId` or be an approved operator.
     */
    function burn(uint256 tokenId) external;
}


// File erc721a/contracts/extensions/[email protected]

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

pragma solidity ^0.8.4;


/**
 * @title ERC721ABurnable.
 *
 * @dev ERC721A token that can be irreversibly burned (destroyed).
 */
abstract contract ERC721ABurnable is ERC721A, IERC721ABurnable {
    /**
     * @dev Burns `tokenId`. See {ERC721A-_burn}.
     *
     * Requirements:
     *
     * - The caller must own `tokenId` or be an approved operator.
     */
    function burn(uint256 tokenId) public virtual override {
        _burn(tokenId, true);
    }
}


// File erc721a/contracts/extensions/[email protected]

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

pragma solidity ^0.8.4;

/**
 * @dev Interface of ERC721AQueryable.
 */
interface IERC721AQueryable is IERC721A {
    /**
     * Invalid query range (`start` >= `stop`).
     */
    error InvalidQueryRange();

    /**
     * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting.
     *
     * If the `tokenId` is out of bounds:
     *
     * - `addr = address(0)`
     * - `startTimestamp = 0`
     * - `burned = false`
     * - `extraData = 0`
     *
     * If the `tokenId` is burned:
     *
     * - `addr = <Address of owner before token was burned>`
     * - `startTimestamp = <Timestamp when token was burned>`
     * - `burned = true`
     * - `extraData = <Extra data when token was burned>`
     *
     * Otherwise:
     *
     * - `addr = <Address of owner>`
     * - `startTimestamp = <Timestamp of start of ownership>`
     * - `burned = false`
     * - `extraData = <Extra data at start of ownership>`
     */
    function explicitOwnershipOf(uint256 tokenId) external view returns (TokenOwnership memory);

    /**
     * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order.
     * See {ERC721AQueryable-explicitOwnershipOf}
     */
    function explicitOwnershipsOf(uint256[] memory tokenIds) external view returns (TokenOwnership[] memory);

    /**
     * @dev Returns an array of token IDs owned by `owner`,
     * in the range [`start`, `stop`)
     * (i.e. `start <= tokenId < stop`).
     *
     * This function allows for tokens to be queried if the collection
     * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}.
     *
     * Requirements:
     *
     * - `start < stop`
     */
    function tokensOfOwnerIn(
        address owner,
        uint256 start,
        uint256 stop
    ) external view returns (uint256[] memory);

    /**
     * @dev Returns an array of token IDs owned by `owner`.
     *
     * This function scans the ownership mapping and is O(`totalSupply`) in complexity.
     * It is meant to be called off-chain.
     *
     * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into
     * multiple smaller scans if the collection is large enough to cause
     * an out-of-gas error (10K collections should be fine).
     */
    function tokensOfOwner(address owner) external view returns (uint256[] memory);
}


// File erc721a/contracts/extensions/[email protected]

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

pragma solidity ^0.8.4;


/**
 * @title ERC721AQueryable.
 *
 * @dev ERC721A subclass with convenience query functions.
 */
abstract contract ERC721AQueryable is ERC721A, IERC721AQueryable {
    /**
     * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting.
     *
     * If the `tokenId` is out of bounds:
     *
     * - `addr = address(0)`
     * - `startTimestamp = 0`
     * - `burned = false`
     * - `extraData = 0`
     *
     * If the `tokenId` is burned:
     *
     * - `addr = <Address of owner before token was burned>`
     * - `startTimestamp = <Timestamp when token was burned>`
     * - `burned = true`
     * - `extraData = <Extra data when token was burned>`
     *
     * Otherwise:
     *
     * - `addr = <Address of owner>`
     * - `startTimestamp = <Timestamp of start of ownership>`
     * - `burned = false`
     * - `extraData = <Extra data at start of ownership>`
     */
    function explicitOwnershipOf(uint256 tokenId) public view virtual override returns (TokenOwnership memory) {
        TokenOwnership memory ownership;
        if (tokenId < _startTokenId() || tokenId >= _nextTokenId()) {
            return ownership;
        }
        ownership = _ownershipAt(tokenId);
        if (ownership.burned) {
            return ownership;
        }
        return _ownershipOf(tokenId);
    }

    /**
     * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order.
     * See {ERC721AQueryable-explicitOwnershipOf}
     */
    function explicitOwnershipsOf(uint256[] calldata tokenIds)
        external
        view
        virtual
        override
        returns (TokenOwnership[] memory)
    {
        unchecked {
            uint256 tokenIdsLength = tokenIds.length;
            TokenOwnership[] memory ownerships = new TokenOwnership[](tokenIdsLength);
            for (uint256 i; i != tokenIdsLength; ++i) {
                ownerships[i] = explicitOwnershipOf(tokenIds[i]);
            }
            return ownerships;
        }
    }

    /**
     * @dev Returns an array of token IDs owned by `owner`,
     * in the range [`start`, `stop`)
     * (i.e. `start <= tokenId < stop`).
     *
     * This function allows for tokens to be queried if the collection
     * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}.
     *
     * Requirements:
     *
     * - `start < stop`
     */
    function tokensOfOwnerIn(
        address owner,
        uint256 start,
        uint256 stop
    ) external view virtual override returns (uint256[] memory) {
        unchecked {
            if (start >= stop) revert InvalidQueryRange();
            uint256 tokenIdsIdx;
            uint256 stopLimit = _nextTokenId();
            // Set `start = max(start, _startTokenId())`.
            if (start < _startTokenId()) {
                start = _startTokenId();
            }
            // Set `stop = min(stop, stopLimit)`.
            if (stop > stopLimit) {
                stop = stopLimit;
            }
            uint256 tokenIdsMaxLength = balanceOf(owner);
            // Set `tokenIdsMaxLength = min(balanceOf(owner), stop - start)`,
            // to cater for cases where `balanceOf(owner)` is too big.
            if (start < stop) {
                uint256 rangeLength = stop - start;
                if (rangeLength < tokenIdsMaxLength) {
                    tokenIdsMaxLength = rangeLength;
                }
            } else {
                tokenIdsMaxLength = 0;
            }
            uint256[] memory tokenIds = new uint256[](tokenIdsMaxLength);
            if (tokenIdsMaxLength == 0) {
                return tokenIds;
            }
            // We need to call `explicitOwnershipOf(start)`,
            // because the slot at `start` may not be initialized.
            TokenOwnership memory ownership = explicitOwnershipOf(start);
            address currOwnershipAddr;
            // If the starting slot exists (i.e. not burned), initialize `currOwnershipAddr`.
            // `ownership.address` will not be zero, as `start` is clamped to the valid token ID range.
            if (!ownership.burned) {
                currOwnershipAddr = ownership.addr;
            }
            for (uint256 i = start; i != stop && tokenIdsIdx != tokenIdsMaxLength; ++i) {
                ownership = _ownershipAt(i);
                if (ownership.burned) {
                    continue;
                }
                if (ownership.addr != address(0)) {
                    currOwnershipAddr = ownership.addr;
                }
                if (currOwnershipAddr == owner) {
                    tokenIds[tokenIdsIdx++] = i;
                }
            }
            // Downsize the array to fit.
            assembly {
                mstore(tokenIds, tokenIdsIdx)
            }
            return tokenIds;
        }
    }

    /**
     * @dev Returns an array of token IDs owned by `owner`.
     *
     * This function scans the ownership mapping and is O(`totalSupply`) in complexity.
     * It is meant to be called off-chain.
     *
     * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into
     * multiple smaller scans if the collection is large enough to cause
     * an out-of-gas error (10K collections should be fine).
     */
    function tokensOfOwner(address owner) external view virtual override returns (uint256[] memory) {
        unchecked {
            uint256 tokenIdsIdx;
            address currOwnershipAddr;
            uint256 tokenIdsLength = balanceOf(owner);
            uint256[] memory tokenIds = new uint256[](tokenIdsLength);
            TokenOwnership memory ownership;
            for (uint256 i = _startTokenId(); tokenIdsIdx != tokenIdsLength; ++i) {
                ownership = _ownershipAt(i);
                if (ownership.burned) {
                    continue;
                }
                if (ownership.addr != address(0)) {
                    currOwnershipAddr = ownership.addr;
                }
                if (currOwnershipAddr == owner) {
                    tokenIds[tokenIdsIdx++] = i;
                }
            }
            return tokenIds;
        }
    }
}


// File contracts/wasd/WeAreEternalSpirits.sol
pragma solidity ^0.8.18;

contract WeAreEternalSpirits is
    ERC721AQueryable,
    ERC721ABurnable,
    AccessControl
{
    using Strings for uint256;

    bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE");
    string public baseTokenURI;
    mapping(uint256 => string) private _tokenUri;

    constructor(
        string memory name,
        string memory symbol,
        string memory baseTokenUri_
    ) ERC721A(name, symbol) {
        baseTokenURI = baseTokenUri_;
        _setupRole(DEFAULT_ADMIN_ROLE, msg.sender);
    }

    function supportsInterface(
        bytes4 interfaceId
    )
        public
        view
        virtual
        override(AccessControl, ERC721A, IERC721A)
        returns (bool)
    {
        return
            AccessControl.supportsInterface(interfaceId) ||
            ERC721A.supportsInterface(interfaceId);
    }

    function tokenURI(
        uint256 tokenId
    ) public view override(ERC721A, IERC721A) returns (string memory) {
        if (bytes(_tokenUri[tokenId]).length > 0) return _tokenUri[tokenId];
        return string.concat(baseTokenURI, tokenId.toString(), ".json");
    }

    function setBaseTokenUri(string calldata baseTokenUri_) external {
        require(
            hasRole(DEFAULT_ADMIN_ROLE, msg.sender),
            "WeAreEternalSpirits: the caller does not have the default admin role"
        );
        baseTokenURI = baseTokenUri_;
    }

    function setTokenUri(uint256 tokenId, string calldata tokenUri) external {
        require(
            hasRole(DEFAULT_ADMIN_ROLE, msg.sender),
            "WeAreEternalSpirits: the caller does not have the default admin role"
        );
        _tokenUri[tokenId] = tokenUri;
    }

    function mint(
        address[] calldata recipients,
        uint256[] calldata quantities
    ) external {
        require(
            hasRole(MINTER_ROLE, msg.sender),
            "WeAreEternalSpirits: the caller does not have the minter role"
        );
        require(
            recipients.length == quantities.length,
            "WeAreEternalSpirits: the number of recipients and the number of quantities must equal"
        );
        for (uint256 i = 0; i < recipients.length; i++)
            _safeMint(recipients[i], quantities[i]);
    }

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"string","name":"baseTokenUri_","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"InvalidQueryRange","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"explicitOwnershipOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"explicitOwnershipsOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","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":[{"internalType":"address[]","name":"recipients","type":"address[]"},{"internalType":"uint256[]","name":"quantities","type":"uint256[]"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseTokenUri_","type":"string"}],"name":"setBaseTokenUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"tokenUri","type":"string"}],"name":"setTokenUri","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":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"start","type":"uint256"},{"internalType":"uint256","name":"stop","type":"uint256"}],"name":"tokensOfOwnerIn","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"}]

60806040523480156200001157600080fd5b50604051620029ea380380620029ea8339810160408190526200003491620001f9565b8282600262000044838262000319565b50600362000053828262000319565b5050600160005550600962000069828262000319565b506200007760003362000080565b505050620003e5565b6200008c828262000090565b5050565b60008281526008602090815260408083206001600160a01b038516845290915290205460ff166200008c5760008281526008602090815260408083206001600160a01b03851684529091529020805460ff19166001179055620000f03390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200015c57600080fd5b81516001600160401b038082111562000179576200017962000134565b604051601f8301601f19908116603f01168101908282118183101715620001a457620001a462000134565b81604052838152602092508683858801011115620001c157600080fd5b600091505b83821015620001e55785820183015181830184015290820190620001c6565b600093810190920192909252949350505050565b6000806000606084860312156200020f57600080fd5b83516001600160401b03808211156200022757600080fd5b62000235878388016200014a565b945060208601519150808211156200024c57600080fd5b6200025a878388016200014a565b935060408601519150808211156200027157600080fd5b5062000280868287016200014a565b9150509250925092565b600181811c908216806200029f57607f821691505b602082108103620002c057634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200031457600081815260208120601f850160051c81016020861015620002ef5750805b601f850160051c820191505b818110156200031057828155600101620002fb565b5050505b505050565b81516001600160401b0381111562000335576200033562000134565b6200034d816200034684546200028a565b84620002c6565b602080601f8311600181146200038557600084156200036c5750858301515b600019600386901b1c1916600185901b17855562000310565b600085815260208120601f198616915b82811015620003b65788860151825594840194600190910190840162000395565b5085821015620003d55787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6125f580620003f56000396000f3fe6080604052600436106101cd5760003560e01c80638462151c116100f7578063b88d4fde11610095578063d547741f11610064578063d547741f1461054b578063d547cfb71461056b578063e467f7e014610580578063e985e9c5146105a057600080fd5b8063b88d4fde146104b7578063c23dc68f146104ca578063c87b56dd146104f7578063d53913931461051757600080fd5b806395d89b41116100d157806395d89b411461044d57806399a2557a14610462578063a217fddf14610482578063a22cb4651461049757600080fd5b80638462151c146103e057806391d148541461040d57806395652cfa1461042d57600080fd5b80632f2ff15d1161016f57806357f7789e1161013e57806357f7789e146103535780635bbb2177146103735780636352211e146103a057806370a08231146103c057600080fd5b80632f2ff15d146102e057806336568abe1461030057806342842e0e1461032057806342966c681461033357600080fd5b8063095ea7b3116101ab578063095ea7b31461026157806318160ddd1461027657806323b872dd1461029d578063248a9ca3146102b057600080fd5b806301ffc9a7146101d257806306fdde0314610207578063081812fc14610229575b600080fd5b3480156101de57600080fd5b506101f26101ed366004611ca2565b6105e9565b60405190151581526020015b60405180910390f35b34801561021357600080fd5b5061021c610609565b6040516101fe9190611d0f565b34801561023557600080fd5b50610249610244366004611d22565b61069b565b6040516001600160a01b0390911681526020016101fe565b61027461026f366004611d57565b6106df565b005b34801561028257600080fd5b5060015460005403600019015b6040519081526020016101fe565b6102746102ab366004611d81565b61077f565b3480156102bc57600080fd5b5061028f6102cb366004611d22565b60009081526008602052604090206001015490565b3480156102ec57600080fd5b506102746102fb366004611dbd565b610910565b34801561030c57600080fd5b5061027461031b366004611dbd565b61093a565b61027461032e366004611d81565b6109bd565b34801561033f57600080fd5b5061027461034e366004611d22565b6109d8565b34801561035f57600080fd5b5061027461036e366004611e31565b6109e6565b34801561037f57600080fd5b5061039361038e366004611ec0565b610a2c565b6040516101fe9190611f3d565b3480156103ac57600080fd5b506102496103bb366004611d22565b610af7565b3480156103cc57600080fd5b5061028f6103db366004611f7f565b610b02565b3480156103ec57600080fd5b506104006103fb366004611f7f565b610b50565b6040516101fe9190611f9a565b34801561041957600080fd5b506101f2610428366004611dbd565b610c58565b34801561043957600080fd5b50610274610448366004611fd2565b610c83565b34801561045957600080fd5b5061021c610cb7565b34801561046e57600080fd5b5061040061047d366004612007565b610cc6565b34801561048e57600080fd5b5061028f600081565b3480156104a357600080fd5b506102746104b236600461203a565b610e4d565b6102746104c536600461208c565b610eb9565b3480156104d657600080fd5b506104ea6104e5366004611d22565b610efd565b6040516101fe9190612167565b34801561050357600080fd5b5061021c610512366004611d22565b610f85565b34801561052357600080fd5b5061028f7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b34801561055757600080fd5b50610274610566366004611dbd565b61107b565b34801561057757600080fd5b5061021c6110a0565b34801561058c57600080fd5b5061027461059b366004612175565b61112e565b3480156105ac57600080fd5b506101f26105bb3660046121e0565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b60006105f4826112c9565b806106035750610603826112fe565b92915050565b6060600280546106189061220a565b80601f01602080910402602001604051908101604052809291908181526020018280546106449061220a565b80156106915780601f1061066657610100808354040283529160200191610691565b820191906000526020600020905b81548152906001019060200180831161067457829003601f168201915b5050505050905090565b60006106a68261134c565b6106c3576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006106ea82610af7565b9050336001600160a01b038216146107235761070681336105bb565b610723576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061078a82611381565b9050836001600160a01b0316816001600160a01b0316146107bd5760405162a1148160e81b815260040160405180910390fd5b600082815260066020526040902080546107e98187335b6001600160a01b039081169116811491141790565b610814576107f786336105bb565b61081457604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661083b57604051633a954ecd60e21b815260040160405180910390fd5b801561084657600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b841690036108d8576001840160008181526004602052604081205490036108d65760005481146108d65760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03166000805160206125a083398151915260405160405180910390a45b505050505050565b60008281526008602052604090206001015461092b816113f0565b61093583836113fa565b505050565b6001600160a01b03811633146109af5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b6109b98282611480565b5050565b61093583838360405180602001604052806000815250610eb9565b6109e38160016114e7565b50565b6109f1600033610c58565b610a0d5760405162461bcd60e51b81526004016109a690612244565b6000838152600a60205260409020610a268284836122f4565b50505050565b6060816000816001600160401b03811115610a4957610a49612076565b604051908082528060200260200182016040528015610a9b57816020015b604080516080810182526000808252602080830182905292820181905260608201528252600019909201910181610a675790505b50905060005b828114610aee57610ac9868683818110610abd57610abd6123b3565b90506020020135610efd565b828281518110610adb57610adb6123b3565b6020908102919091010152600101610aa1565b50949350505050565b600061060382611381565b60006001600160a01b038216610b2b576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b60606000806000610b6085610b02565b90506000816001600160401b03811115610b7c57610b7c612076565b604051908082528060200260200182016040528015610ba5578160200160208202803683370190505b509050610bd260408051608081018252600080825260208201819052918101829052606081019190915290565b60015b838614610c4c57610be58161161f565b91508160400151610c445781516001600160a01b031615610c0557815194505b876001600160a01b0316856001600160a01b031603610c445780838780600101985081518110610c3757610c376123b3565b6020026020010181815250505b600101610bd5565b50909695505050505050565b60009182526008602090815260408084206001600160a01b0393909316845291905290205460ff1690565b610c8e600033610c58565b610caa5760405162461bcd60e51b81526004016109a690612244565b60096109358284836122f4565b6060600380546106189061220a565b6060818310610ce857604051631960ccad60e11b815260040160405180910390fd5b600080610cf460005490565b90506001851015610d0457600194505b80841115610d10578093505b6000610d1b87610b02565b905084861015610d3a5785850381811015610d34578091505b50610d3e565b5060005b6000816001600160401b03811115610d5857610d58612076565b604051908082528060200260200182016040528015610d81578160200160208202803683370190505b50905081600003610d97579350610e4692505050565b6000610da288610efd565b905060008160400151610db3575080515b885b888114158015610dc55750848714155b15610e3a57610dd38161161f565b92508260400151610e325782516001600160a01b031615610df357825191505b8a6001600160a01b0316826001600160a01b031603610e325780848880600101995081518110610e2557610e256123b3565b6020026020010181815250505b600101610db5565b50505092835250909150505b9392505050565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610ec484848461077f565b6001600160a01b0383163b15610a2657610ee08484848461165b565b610a26576040516368d2bf6b60e11b815260040160405180910390fd5b6040805160808101825260008082526020820181905291810182905260608101919091526040805160808101825260008082526020820181905291810182905260608101919091526001831080610f5657506000548310155b15610f615792915050565b610f6a8361161f565b9050806040015115610f7c5792915050565b610e4683611746565b6000818152600a6020526040812080546060929190610fa39061220a565b90501115611049576000828152600a602052604090208054610fc49061220a565b80601f0160208091040260200160405190810160405280929190818152602001828054610ff09061220a565b801561103d5780601f106110125761010080835404028352916020019161103d565b820191906000526020600020905b81548152906001019060200180831161102057829003601f168201915b50505050509050919050565b60096110548361177b565b6040516020016110659291906123c9565b6040516020818303038152906040529050919050565b600082815260086020526040902060010154611096816113f0565b6109358383611480565b600980546110ad9061220a565b80601f01602080910402602001604051908101604052809291908181526020018280546110d99061220a565b80156111265780601f106110fb57610100808354040283529160200191611126565b820191906000526020600020905b81548152906001019060200180831161110957829003601f168201915b505050505081565b6111587f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a633610c58565b6111ca5760405162461bcd60e51b815260206004820152603d60248201527f5765417265457465726e616c537069726974733a207468652063616c6c65722060448201527f646f6573206e6f74206861766520746865206d696e74657220726f6c6500000060648201526084016109a6565b82811461125d5760405162461bcd60e51b815260206004820152605560248201527f5765417265457465726e616c537069726974733a20746865206e756d6265722060448201527f6f6620726563697069656e747320616e6420746865206e756d626572206f66206064820152741c5d585b9d1a5d1a595cc81b5d5cdd08195c5d585b605a1b608482015260a4016109a6565b60005b838110156112c2576112b085858381811061127d5761127d6123b3565b90506020020160208101906112929190611f7f565b8484848181106112a4576112a46123b3565b9050602002013561180d565b806112ba81612476565b915050611260565b5050505050565b60006001600160e01b03198216637965db0b60e01b148061060357506301ffc9a760e01b6001600160e01b0319831614610603565b60006301ffc9a760e01b6001600160e01b03198316148061132f57506380ac58cd60e01b6001600160e01b03198316145b806106035750506001600160e01b031916635b5e139f60e01b1490565b600081600111158015611360575060005482105b8015610603575050600090815260046020526040902054600160e01b161590565b600081806001116113d7576000548110156113d75760008181526004602052604081205490600160e01b821690036113d5575b80600003610e465750600019016000818152600460205260409020546113b4565b505b604051636f96cda160e11b815260040160405180910390fd5b6109e38133611827565b6114048282610c58565b6109b95760008281526008602090815260408083206001600160a01b03851684529091529020805460ff1916600117905561143c3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b61148a8282610c58565b156109b95760008281526008602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b60006114f283611381565b90508060008061151086600090815260066020526040902080549091565b915091508415611550576115258184336107d4565b6115505761153383336105bb565b61155057604051632ce44b5f60e11b815260040160405180910390fd5b801561155b57600082555b6001600160a01b038316600081815260056020526040902080546fffffffffffffffffffffffffffffffff0190554260a01b17600360e01b17600087815260046020526040812091909155600160e11b851690036115e9576001860160008181526004602052604081205490036115e75760005481146115e75760008181526004602052604090208590555b505b60405186906000906001600160a01b038616906000805160206125a0833981519152908390a45050600180548101905550505050565b60408051608081018252600080825260208201819052918101829052606081019190915260008281526004602052604090205461060390611880565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061169090339089908890889060040161248f565b6020604051808303816000875af19250505080156116cb575060408051601f3d908101601f191682019092526116c8918101906124cc565b60015b611729573d8080156116f9576040519150601f19603f3d011682016040523d82523d6000602084013e6116fe565b606091505b508051600003611721576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b60408051608081018252600080825260208201819052918101829052606081019190915261060361177683611381565b611880565b60606000611788836118c7565b60010190506000816001600160401b038111156117a7576117a7612076565b6040519080825280601f01601f1916602001820160405280156117d1576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a85049450846117db57509392505050565b6109b982826040518060200160405280600081525061199f565b6118318282610c58565b6109b95761183e81611a05565b611849836020611a17565b60405160200161185a9291906124e9565b60408051601f198184030181529082905262461bcd60e51b82526109a691600401611d0f565b604080516080810182526001600160a01b038316815260a083901c6001600160401b03166020820152600160e01b831615159181019190915260e89190911c606082015290565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106119065772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611932576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061195057662386f26fc10000830492506010015b6305f5e1008310611968576305f5e100830492506008015b612710831061197c57612710830492506004015b6064831061198e576064830492506002015b600a83106106035760010192915050565b6119a98383611bb2565b6001600160a01b0383163b15610935576000548281035b6119d3600086838060010194508661165b565b6119f0576040516368d2bf6b60e11b815260040160405180910390fd5b8181106119c05781600054146112c257600080fd5b60606106036001600160a01b03831660145b60606000611a2683600261255e565b611a31906002612575565b6001600160401b03811115611a4857611a48612076565b6040519080825280601f01601f191660200182016040528015611a72576020820181803683370190505b509050600360fc1b81600081518110611a8d57611a8d6123b3565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110611abc57611abc6123b3565b60200101906001600160f81b031916908160001a9053506000611ae084600261255e565b611aeb906001612575565b90505b6001811115611b63576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110611b1f57611b1f6123b3565b1a60f81b828281518110611b3557611b356123b3565b60200101906001600160f81b031916908160001a90535060049490941c93611b5c81612588565b9050611aee565b508315610e465760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016109a6565b6000805490829003611bd75760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083906000805160206125a08339815191528180a4600183015b818114611c6257808360006000805160206125a0833981519152600080a4600101611c3c565b5081600003611c8357604051622e076360e81b815260040160405180910390fd5b60005550505050565b6001600160e01b0319811681146109e357600080fd5b600060208284031215611cb457600080fd5b8135610e4681611c8c565b60005b83811015611cda578181015183820152602001611cc2565b50506000910152565b60008151808452611cfb816020860160208601611cbf565b601f01601f19169290920160200192915050565b602081526000610e466020830184611ce3565b600060208284031215611d3457600080fd5b5035919050565b80356001600160a01b0381168114611d5257600080fd5b919050565b60008060408385031215611d6a57600080fd5b611d7383611d3b565b946020939093013593505050565b600080600060608486031215611d9657600080fd5b611d9f84611d3b565b9250611dad60208501611d3b565b9150604084013590509250925092565b60008060408385031215611dd057600080fd5b82359150611de060208401611d3b565b90509250929050565b60008083601f840112611dfb57600080fd5b5081356001600160401b03811115611e1257600080fd5b602083019150836020828501011115611e2a57600080fd5b9250929050565b600080600060408486031215611e4657600080fd5b8335925060208401356001600160401b03811115611e6357600080fd5b611e6f86828701611de9565b9497909650939450505050565b60008083601f840112611e8e57600080fd5b5081356001600160401b03811115611ea557600080fd5b6020830191508360208260051b8501011115611e2a57600080fd5b60008060208385031215611ed357600080fd5b82356001600160401b03811115611ee957600080fd5b611ef585828601611e7c565b90969095509350505050565b80516001600160a01b031682526020808201516001600160401b03169083015260408082015115159083015260609081015162ffffff16910152565b6020808252825182820181905260009190848201906040850190845b81811015610c4c57611f6c838551611f01565b9284019260809290920191600101611f59565b600060208284031215611f9157600080fd5b610e4682611d3b565b6020808252825182820181905260009190848201906040850190845b81811015610c4c57835183529284019291840191600101611fb6565b60008060208385031215611fe557600080fd5b82356001600160401b03811115611ffb57600080fd5b611ef585828601611de9565b60008060006060848603121561201c57600080fd5b61202584611d3b565b95602085013595506040909401359392505050565b6000806040838503121561204d57600080fd5b61205683611d3b565b91506020830135801515811461206b57600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b600080600080608085870312156120a257600080fd5b6120ab85611d3b565b93506120b960208601611d3b565b92506040850135915060608501356001600160401b03808211156120dc57600080fd5b818701915087601f8301126120f057600080fd5b81358181111561210257612102612076565b604051601f8201601f19908116603f0116810190838211818310171561212a5761212a612076565b816040528281528a602084870101111561214357600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b608081016106038284611f01565b6000806000806040858703121561218b57600080fd5b84356001600160401b03808211156121a257600080fd5b6121ae88838901611e7c565b909650945060208701359150808211156121c757600080fd5b506121d487828801611e7c565b95989497509550505050565b600080604083850312156121f357600080fd5b6121fc83611d3b565b9150611de060208401611d3b565b600181811c9082168061221e57607f821691505b60208210810361223e57634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526044908201527f5765417265457465726e616c537069726974733a207468652063616c6c65722060408201527f646f6573206e6f742068617665207468652064656661756c742061646d696e20606082015263726f6c6560e01b608082015260a00190565b601f82111561093557600081815260208120601f850160051c810160208610156122d55750805b601f850160051c820191505b81811015610908578281556001016122e1565b6001600160401b0383111561230b5761230b612076565b61231f83612319835461220a565b836122ae565b6000601f841160018114612353576000851561233b5750838201355b600019600387901b1c1916600186901b1783556112c2565b600083815260209020601f19861690835b828110156123845786850135825560209485019460019092019101612364565b50868210156123a15760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b634e487b7160e01b600052603260045260246000fd5b60008084546123d78161220a565b600182811680156123ef576001811461240457612433565b60ff1984168752821515830287019450612433565b8860005260208060002060005b8581101561242a5781548a820152908401908201612411565b50505082870194505b505050508351612447818360208801611cbf565b64173539b7b760d91b9101908152600501949350505050565b634e487b7160e01b600052601160045260246000fd5b60006001820161248857612488612460565b5060010190565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906124c290830184611ce3565b9695505050505050565b6000602082840312156124de57600080fd5b8151610e4681611c8c565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351612521816017850160208801611cbf565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351612552816028840160208801611cbf565b01602801949350505050565b808202811582820484141761060357610603612460565b8082018082111561060357610603612460565b60008161259757612597612460565b50600019019056feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa26469706673582212207929727ad1d5efa5d68b2d3975a41a98b4f09610583f5d4f53b2a382579d9c7e64736f6c63430008120033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000001657652041726520457465726e616c20537069726974730000000000000000000000000000000000000000000000000000000000000000000000000000000000045741455300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002268747470733a2f2f776173646e66742e636f6d2f776165732f6d657461646174612f000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106101cd5760003560e01c80638462151c116100f7578063b88d4fde11610095578063d547741f11610064578063d547741f1461054b578063d547cfb71461056b578063e467f7e014610580578063e985e9c5146105a057600080fd5b8063b88d4fde146104b7578063c23dc68f146104ca578063c87b56dd146104f7578063d53913931461051757600080fd5b806395d89b41116100d157806395d89b411461044d57806399a2557a14610462578063a217fddf14610482578063a22cb4651461049757600080fd5b80638462151c146103e057806391d148541461040d57806395652cfa1461042d57600080fd5b80632f2ff15d1161016f57806357f7789e1161013e57806357f7789e146103535780635bbb2177146103735780636352211e146103a057806370a08231146103c057600080fd5b80632f2ff15d146102e057806336568abe1461030057806342842e0e1461032057806342966c681461033357600080fd5b8063095ea7b3116101ab578063095ea7b31461026157806318160ddd1461027657806323b872dd1461029d578063248a9ca3146102b057600080fd5b806301ffc9a7146101d257806306fdde0314610207578063081812fc14610229575b600080fd5b3480156101de57600080fd5b506101f26101ed366004611ca2565b6105e9565b60405190151581526020015b60405180910390f35b34801561021357600080fd5b5061021c610609565b6040516101fe9190611d0f565b34801561023557600080fd5b50610249610244366004611d22565b61069b565b6040516001600160a01b0390911681526020016101fe565b61027461026f366004611d57565b6106df565b005b34801561028257600080fd5b5060015460005403600019015b6040519081526020016101fe565b6102746102ab366004611d81565b61077f565b3480156102bc57600080fd5b5061028f6102cb366004611d22565b60009081526008602052604090206001015490565b3480156102ec57600080fd5b506102746102fb366004611dbd565b610910565b34801561030c57600080fd5b5061027461031b366004611dbd565b61093a565b61027461032e366004611d81565b6109bd565b34801561033f57600080fd5b5061027461034e366004611d22565b6109d8565b34801561035f57600080fd5b5061027461036e366004611e31565b6109e6565b34801561037f57600080fd5b5061039361038e366004611ec0565b610a2c565b6040516101fe9190611f3d565b3480156103ac57600080fd5b506102496103bb366004611d22565b610af7565b3480156103cc57600080fd5b5061028f6103db366004611f7f565b610b02565b3480156103ec57600080fd5b506104006103fb366004611f7f565b610b50565b6040516101fe9190611f9a565b34801561041957600080fd5b506101f2610428366004611dbd565b610c58565b34801561043957600080fd5b50610274610448366004611fd2565b610c83565b34801561045957600080fd5b5061021c610cb7565b34801561046e57600080fd5b5061040061047d366004612007565b610cc6565b34801561048e57600080fd5b5061028f600081565b3480156104a357600080fd5b506102746104b236600461203a565b610e4d565b6102746104c536600461208c565b610eb9565b3480156104d657600080fd5b506104ea6104e5366004611d22565b610efd565b6040516101fe9190612167565b34801561050357600080fd5b5061021c610512366004611d22565b610f85565b34801561052357600080fd5b5061028f7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b34801561055757600080fd5b50610274610566366004611dbd565b61107b565b34801561057757600080fd5b5061021c6110a0565b34801561058c57600080fd5b5061027461059b366004612175565b61112e565b3480156105ac57600080fd5b506101f26105bb3660046121e0565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b60006105f4826112c9565b806106035750610603826112fe565b92915050565b6060600280546106189061220a565b80601f01602080910402602001604051908101604052809291908181526020018280546106449061220a565b80156106915780601f1061066657610100808354040283529160200191610691565b820191906000526020600020905b81548152906001019060200180831161067457829003601f168201915b5050505050905090565b60006106a68261134c565b6106c3576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006106ea82610af7565b9050336001600160a01b038216146107235761070681336105bb565b610723576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061078a82611381565b9050836001600160a01b0316816001600160a01b0316146107bd5760405162a1148160e81b815260040160405180910390fd5b600082815260066020526040902080546107e98187335b6001600160a01b039081169116811491141790565b610814576107f786336105bb565b61081457604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661083b57604051633a954ecd60e21b815260040160405180910390fd5b801561084657600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b841690036108d8576001840160008181526004602052604081205490036108d65760005481146108d65760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03166000805160206125a083398151915260405160405180910390a45b505050505050565b60008281526008602052604090206001015461092b816113f0565b61093583836113fa565b505050565b6001600160a01b03811633146109af5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b6109b98282611480565b5050565b61093583838360405180602001604052806000815250610eb9565b6109e38160016114e7565b50565b6109f1600033610c58565b610a0d5760405162461bcd60e51b81526004016109a690612244565b6000838152600a60205260409020610a268284836122f4565b50505050565b6060816000816001600160401b03811115610a4957610a49612076565b604051908082528060200260200182016040528015610a9b57816020015b604080516080810182526000808252602080830182905292820181905260608201528252600019909201910181610a675790505b50905060005b828114610aee57610ac9868683818110610abd57610abd6123b3565b90506020020135610efd565b828281518110610adb57610adb6123b3565b6020908102919091010152600101610aa1565b50949350505050565b600061060382611381565b60006001600160a01b038216610b2b576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b60606000806000610b6085610b02565b90506000816001600160401b03811115610b7c57610b7c612076565b604051908082528060200260200182016040528015610ba5578160200160208202803683370190505b509050610bd260408051608081018252600080825260208201819052918101829052606081019190915290565b60015b838614610c4c57610be58161161f565b91508160400151610c445781516001600160a01b031615610c0557815194505b876001600160a01b0316856001600160a01b031603610c445780838780600101985081518110610c3757610c376123b3565b6020026020010181815250505b600101610bd5565b50909695505050505050565b60009182526008602090815260408084206001600160a01b0393909316845291905290205460ff1690565b610c8e600033610c58565b610caa5760405162461bcd60e51b81526004016109a690612244565b60096109358284836122f4565b6060600380546106189061220a565b6060818310610ce857604051631960ccad60e11b815260040160405180910390fd5b600080610cf460005490565b90506001851015610d0457600194505b80841115610d10578093505b6000610d1b87610b02565b905084861015610d3a5785850381811015610d34578091505b50610d3e565b5060005b6000816001600160401b03811115610d5857610d58612076565b604051908082528060200260200182016040528015610d81578160200160208202803683370190505b50905081600003610d97579350610e4692505050565b6000610da288610efd565b905060008160400151610db3575080515b885b888114158015610dc55750848714155b15610e3a57610dd38161161f565b92508260400151610e325782516001600160a01b031615610df357825191505b8a6001600160a01b0316826001600160a01b031603610e325780848880600101995081518110610e2557610e256123b3565b6020026020010181815250505b600101610db5565b50505092835250909150505b9392505050565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610ec484848461077f565b6001600160a01b0383163b15610a2657610ee08484848461165b565b610a26576040516368d2bf6b60e11b815260040160405180910390fd5b6040805160808101825260008082526020820181905291810182905260608101919091526040805160808101825260008082526020820181905291810182905260608101919091526001831080610f5657506000548310155b15610f615792915050565b610f6a8361161f565b9050806040015115610f7c5792915050565b610e4683611746565b6000818152600a6020526040812080546060929190610fa39061220a565b90501115611049576000828152600a602052604090208054610fc49061220a565b80601f0160208091040260200160405190810160405280929190818152602001828054610ff09061220a565b801561103d5780601f106110125761010080835404028352916020019161103d565b820191906000526020600020905b81548152906001019060200180831161102057829003601f168201915b50505050509050919050565b60096110548361177b565b6040516020016110659291906123c9565b6040516020818303038152906040529050919050565b600082815260086020526040902060010154611096816113f0565b6109358383611480565b600980546110ad9061220a565b80601f01602080910402602001604051908101604052809291908181526020018280546110d99061220a565b80156111265780601f106110fb57610100808354040283529160200191611126565b820191906000526020600020905b81548152906001019060200180831161110957829003601f168201915b505050505081565b6111587f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a633610c58565b6111ca5760405162461bcd60e51b815260206004820152603d60248201527f5765417265457465726e616c537069726974733a207468652063616c6c65722060448201527f646f6573206e6f74206861766520746865206d696e74657220726f6c6500000060648201526084016109a6565b82811461125d5760405162461bcd60e51b815260206004820152605560248201527f5765417265457465726e616c537069726974733a20746865206e756d6265722060448201527f6f6620726563697069656e747320616e6420746865206e756d626572206f66206064820152741c5d585b9d1a5d1a595cc81b5d5cdd08195c5d585b605a1b608482015260a4016109a6565b60005b838110156112c2576112b085858381811061127d5761127d6123b3565b90506020020160208101906112929190611f7f565b8484848181106112a4576112a46123b3565b9050602002013561180d565b806112ba81612476565b915050611260565b5050505050565b60006001600160e01b03198216637965db0b60e01b148061060357506301ffc9a760e01b6001600160e01b0319831614610603565b60006301ffc9a760e01b6001600160e01b03198316148061132f57506380ac58cd60e01b6001600160e01b03198316145b806106035750506001600160e01b031916635b5e139f60e01b1490565b600081600111158015611360575060005482105b8015610603575050600090815260046020526040902054600160e01b161590565b600081806001116113d7576000548110156113d75760008181526004602052604081205490600160e01b821690036113d5575b80600003610e465750600019016000818152600460205260409020546113b4565b505b604051636f96cda160e11b815260040160405180910390fd5b6109e38133611827565b6114048282610c58565b6109b95760008281526008602090815260408083206001600160a01b03851684529091529020805460ff1916600117905561143c3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b61148a8282610c58565b156109b95760008281526008602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b60006114f283611381565b90508060008061151086600090815260066020526040902080549091565b915091508415611550576115258184336107d4565b6115505761153383336105bb565b61155057604051632ce44b5f60e11b815260040160405180910390fd5b801561155b57600082555b6001600160a01b038316600081815260056020526040902080546fffffffffffffffffffffffffffffffff0190554260a01b17600360e01b17600087815260046020526040812091909155600160e11b851690036115e9576001860160008181526004602052604081205490036115e75760005481146115e75760008181526004602052604090208590555b505b60405186906000906001600160a01b038616906000805160206125a0833981519152908390a45050600180548101905550505050565b60408051608081018252600080825260208201819052918101829052606081019190915260008281526004602052604090205461060390611880565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061169090339089908890889060040161248f565b6020604051808303816000875af19250505080156116cb575060408051601f3d908101601f191682019092526116c8918101906124cc565b60015b611729573d8080156116f9576040519150601f19603f3d011682016040523d82523d6000602084013e6116fe565b606091505b508051600003611721576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b60408051608081018252600080825260208201819052918101829052606081019190915261060361177683611381565b611880565b60606000611788836118c7565b60010190506000816001600160401b038111156117a7576117a7612076565b6040519080825280601f01601f1916602001820160405280156117d1576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a85049450846117db57509392505050565b6109b982826040518060200160405280600081525061199f565b6118318282610c58565b6109b95761183e81611a05565b611849836020611a17565b60405160200161185a9291906124e9565b60408051601f198184030181529082905262461bcd60e51b82526109a691600401611d0f565b604080516080810182526001600160a01b038316815260a083901c6001600160401b03166020820152600160e01b831615159181019190915260e89190911c606082015290565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106119065772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611932576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061195057662386f26fc10000830492506010015b6305f5e1008310611968576305f5e100830492506008015b612710831061197c57612710830492506004015b6064831061198e576064830492506002015b600a83106106035760010192915050565b6119a98383611bb2565b6001600160a01b0383163b15610935576000548281035b6119d3600086838060010194508661165b565b6119f0576040516368d2bf6b60e11b815260040160405180910390fd5b8181106119c05781600054146112c257600080fd5b60606106036001600160a01b03831660145b60606000611a2683600261255e565b611a31906002612575565b6001600160401b03811115611a4857611a48612076565b6040519080825280601f01601f191660200182016040528015611a72576020820181803683370190505b509050600360fc1b81600081518110611a8d57611a8d6123b3565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110611abc57611abc6123b3565b60200101906001600160f81b031916908160001a9053506000611ae084600261255e565b611aeb906001612575565b90505b6001811115611b63576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110611b1f57611b1f6123b3565b1a60f81b828281518110611b3557611b356123b3565b60200101906001600160f81b031916908160001a90535060049490941c93611b5c81612588565b9050611aee565b508315610e465760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016109a6565b6000805490829003611bd75760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083906000805160206125a08339815191528180a4600183015b818114611c6257808360006000805160206125a0833981519152600080a4600101611c3c565b5081600003611c8357604051622e076360e81b815260040160405180910390fd5b60005550505050565b6001600160e01b0319811681146109e357600080fd5b600060208284031215611cb457600080fd5b8135610e4681611c8c565b60005b83811015611cda578181015183820152602001611cc2565b50506000910152565b60008151808452611cfb816020860160208601611cbf565b601f01601f19169290920160200192915050565b602081526000610e466020830184611ce3565b600060208284031215611d3457600080fd5b5035919050565b80356001600160a01b0381168114611d5257600080fd5b919050565b60008060408385031215611d6a57600080fd5b611d7383611d3b565b946020939093013593505050565b600080600060608486031215611d9657600080fd5b611d9f84611d3b565b9250611dad60208501611d3b565b9150604084013590509250925092565b60008060408385031215611dd057600080fd5b82359150611de060208401611d3b565b90509250929050565b60008083601f840112611dfb57600080fd5b5081356001600160401b03811115611e1257600080fd5b602083019150836020828501011115611e2a57600080fd5b9250929050565b600080600060408486031215611e4657600080fd5b8335925060208401356001600160401b03811115611e6357600080fd5b611e6f86828701611de9565b9497909650939450505050565b60008083601f840112611e8e57600080fd5b5081356001600160401b03811115611ea557600080fd5b6020830191508360208260051b8501011115611e2a57600080fd5b60008060208385031215611ed357600080fd5b82356001600160401b03811115611ee957600080fd5b611ef585828601611e7c565b90969095509350505050565b80516001600160a01b031682526020808201516001600160401b03169083015260408082015115159083015260609081015162ffffff16910152565b6020808252825182820181905260009190848201906040850190845b81811015610c4c57611f6c838551611f01565b9284019260809290920191600101611f59565b600060208284031215611f9157600080fd5b610e4682611d3b565b6020808252825182820181905260009190848201906040850190845b81811015610c4c57835183529284019291840191600101611fb6565b60008060208385031215611fe557600080fd5b82356001600160401b03811115611ffb57600080fd5b611ef585828601611de9565b60008060006060848603121561201c57600080fd5b61202584611d3b565b95602085013595506040909401359392505050565b6000806040838503121561204d57600080fd5b61205683611d3b565b91506020830135801515811461206b57600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b600080600080608085870312156120a257600080fd5b6120ab85611d3b565b93506120b960208601611d3b565b92506040850135915060608501356001600160401b03808211156120dc57600080fd5b818701915087601f8301126120f057600080fd5b81358181111561210257612102612076565b604051601f8201601f19908116603f0116810190838211818310171561212a5761212a612076565b816040528281528a602084870101111561214357600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b608081016106038284611f01565b6000806000806040858703121561218b57600080fd5b84356001600160401b03808211156121a257600080fd5b6121ae88838901611e7c565b909650945060208701359150808211156121c757600080fd5b506121d487828801611e7c565b95989497509550505050565b600080604083850312156121f357600080fd5b6121fc83611d3b565b9150611de060208401611d3b565b600181811c9082168061221e57607f821691505b60208210810361223e57634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526044908201527f5765417265457465726e616c537069726974733a207468652063616c6c65722060408201527f646f6573206e6f742068617665207468652064656661756c742061646d696e20606082015263726f6c6560e01b608082015260a00190565b601f82111561093557600081815260208120601f850160051c810160208610156122d55750805b601f850160051c820191505b81811015610908578281556001016122e1565b6001600160401b0383111561230b5761230b612076565b61231f83612319835461220a565b836122ae565b6000601f841160018114612353576000851561233b5750838201355b600019600387901b1c1916600186901b1783556112c2565b600083815260209020601f19861690835b828110156123845786850135825560209485019460019092019101612364565b50868210156123a15760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b634e487b7160e01b600052603260045260246000fd5b60008084546123d78161220a565b600182811680156123ef576001811461240457612433565b60ff1984168752821515830287019450612433565b8860005260208060002060005b8581101561242a5781548a820152908401908201612411565b50505082870194505b505050508351612447818360208801611cbf565b64173539b7b760d91b9101908152600501949350505050565b634e487b7160e01b600052601160045260246000fd5b60006001820161248857612488612460565b5060010190565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906124c290830184611ce3565b9695505050505050565b6000602082840312156124de57600080fd5b8151610e4681611c8c565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351612521816017850160208801611cbf565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351612552816028840160208801611cbf565b01602801949350505050565b808202811582820484141761060357610603612460565b8082018082111561060357610603612460565b60008161259757612597612460565b50600019019056feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa26469706673582212207929727ad1d5efa5d68b2d3975a41a98b4f09610583f5d4f53b2a382579d9c7e64736f6c63430008120033

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

000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000001657652041726520457465726e616c20537069726974730000000000000000000000000000000000000000000000000000000000000000000000000000000000045741455300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002268747470733a2f2f776173646e66742e636f6d2f776165732f6d657461646174612f000000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name (string): We Are Eternal Spirits
Arg [1] : symbol (string): WAES
Arg [2] : baseTokenUri_ (string): https://wasdnft.com/waes/metadata/

-----Encoded View---------------
10 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000016
Arg [4] : 57652041726520457465726e616c205370697269747300000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [6] : 5741455300000000000000000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000022
Arg [8] : 68747470733a2f2f776173646e66742e636f6d2f776165732f6d657461646174
Arg [9] : 612f000000000000000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

91046:2416:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;91586:329;;;;;;;;;;-1:-1:-1;91586:329:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;91586:329:0;;;;;;;;48778:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;55269:218::-;;;;;;;;;;-1:-1:-1;55269:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1697:32:1;;;1679:51;;1667:2;1652:18;55269:218:0;1533:203:1;54702:408:0;;;;;;:::i;:::-;;:::i;:::-;;44529:323;;;;;;;;;;-1:-1:-1;93450:1:0;44803:12;44590:7;44787:13;:28;-1:-1:-1;;44787:46:0;44529:323;;;2324:25:1;;;2312:2;2297:18;44529:323:0;2178:177:1;58908:2825:0;;;;;;:::i;:::-;;:::i;25616:131::-;;;;;;;;;;-1:-1:-1;25616:131:0;;;;;:::i;:::-;25690:7;25717:12;;;:6;:12;;;;;:22;;;;25616:131;26057:147;;;;;;;;;;-1:-1:-1;26057:147:0;;;;;:::i;:::-;;:::i;27201:218::-;;;;;;;;;;-1:-1:-1;27201:218:0;;;;;:::i;:::-;;:::i;61829:193::-;;;;;;:::i;:::-;;:::i;81884:94::-;;;;;;;;;;-1:-1:-1;81884:94:0;;;;;:::i;:::-;;:::i;92494:289::-;;;;;;;;;;-1:-1:-1;92494:289:0;;;;;:::i;:::-;;:::i;86185:528::-;;;;;;;;;;-1:-1:-1;86185:528:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;50171:152::-;;;;;;;;;;-1:-1:-1;50171:152:0;;;;;:::i;:::-;;:::i;45713:233::-;;;;;;;;;;-1:-1:-1;45713:233:0;;;;;:::i;:::-;;:::i;90061:900::-;;;;;;;;;;-1:-1:-1;90061:900:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;24089:147::-;;;;;;;;;;-1:-1:-1;24089:147:0;;;;;:::i;:::-;;:::i;92206:280::-;;;;;;;;;;-1:-1:-1;92206:280:0;;;;;:::i;:::-;;:::i;48954:104::-;;;;;;;;;;;;;:::i;87101:2513::-;;;;;;;;;;-1:-1:-1;87101:2513:0;;;;;:::i;:::-;;:::i;23194:49::-;;;;;;;;;;-1:-1:-1;23194:49:0;23239:4;23194:49;;55827:234;;;;;;;;;;-1:-1:-1;55827:234:0;;;;;:::i;:::-;;:::i;62620:407::-;;;;;;:::i;:::-;;:::i;85598:428::-;;;;;;;;;;-1:-1:-1;85598:428:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;91923:275::-;;;;;;;;;;-1:-1:-1;91923:275:0;;;;;:::i;:::-;;:::i;91184:62::-;;;;;;;;;;;;91222:24;91184:62;;26497:149;;;;;;;;;;-1:-1:-1;26497:149:0;;;;;:::i;:::-;;:::i;91253:26::-;;;;;;;;;;;;;:::i;92791:567::-;;;;;;;;;;-1:-1:-1;92791:567:0;;;;;:::i;:::-;;:::i;56218:164::-;;;;;;;;;;-1:-1:-1;56218:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;56339:25:0;;;56315:4;56339:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;56218:164;91586:329;91766:4;91808:44;91840:11;91808:31;:44::i;:::-;:99;;;;91869:38;91895:11;91869:25;:38::i;:::-;91788:119;91586:329;-1:-1:-1;;91586:329:0:o;48778:100::-;48832:13;48865:5;48858:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48778:100;:::o;55269:218::-;55345:7;55370:16;55378:7;55370;:16::i;:::-;55365:64;;55395:34;;-1:-1:-1;;;55395:34:0;;;;;;;;;;;55365:64;-1:-1:-1;55449:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;55449:30:0;;55269:218::o;54702:408::-;54791:13;54807:16;54815:7;54807;:16::i;:::-;54791:32;-1:-1:-1;79035:10:0;-1:-1:-1;;;;;54840:28:0;;;54836:175;;54888:44;54905:5;79035:10;56218:164;:::i;54888:44::-;54883:128;;54960:35;;-1:-1:-1;;;54960:35:0;;;;;;;;;;;54883:128;55023:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;55023:35:0;-1:-1:-1;;;;;55023:35:0;;;;;;;;;55074:28;;55023:24;;55074:28;;;;;;;54780:330;54702:408;;:::o;58908:2825::-;59050:27;59080;59099:7;59080:18;:27::i;:::-;59050:57;;59165:4;-1:-1:-1;;;;;59124:45:0;59140:19;-1:-1:-1;;;;;59124:45:0;;59120:86;;59178:28;;-1:-1:-1;;;59178:28:0;;;;;;;;;;;59120:86;59220:27;58016:24;;;:15;:24;;;;;58244:26;;59411:68;58244:26;59453:4;79035:10;59459:19;-1:-1:-1;;;;;57490:32:0;;;57334:28;;57619:20;;57641:30;;57616:56;;57031:659;59411:68;59406:180;;59499:43;59516:4;79035:10;56218:164;:::i;59499:43::-;59494:92;;59551:35;;-1:-1:-1;;;59551:35:0;;;;;;;;;;;59494:92;-1:-1:-1;;;;;59603:16:0;;59599:52;;59628:23;;-1:-1:-1;;;59628:23:0;;;;;;;;;;;59599:52;59800:15;59797:160;;;59940:1;59919:19;59912:30;59797:160;-1:-1:-1;;;;;60337:24:0;;;;;;;:18;:24;;;;;;60335:26;;-1:-1:-1;;60335:26:0;;;60406:22;;;;;;;;;60404:24;;-1:-1:-1;60404:24:0;;;53560:11;53535:23;53531:41;53518:63;-1:-1:-1;;;53518:63:0;60699:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;60994:47:0;;:52;;60990:627;;61099:1;61089:11;;61067:19;61222:30;;;:17;:30;;;;;;:35;;61218:384;;61360:13;;61345:11;:28;61341:242;;61507:30;;;;:17;:30;;;;;:52;;;61341:242;61048:569;60990:627;61664:7;61660:2;-1:-1:-1;;;;;61645:27:0;61654:4;-1:-1:-1;;;;;61645:27:0;-1:-1:-1;;;;;;;;;;;61645:27:0;;;;;;;;;61683:42;59039:2694;;;58908:2825;;;:::o;26057:147::-;25690:7;25717:12;;;:6;:12;;;;;:22;;;23685:16;23696:4;23685:10;:16::i;:::-;26171:25:::1;26182:4;26188:7;26171:10;:25::i;:::-;26057:147:::0;;;:::o;27201:218::-;-1:-1:-1;;;;;27297:23:0;;79035:10;27297:23;27289:83;;;;-1:-1:-1;;;27289:83:0;;11154:2:1;27289:83:0;;;11136:21:1;11193:2;11173:18;;;11166:30;11232:34;11212:18;;;11205:62;-1:-1:-1;;;11283:18:1;;;11276:45;11338:19;;27289:83:0;;;;;;;;;27385:26;27397:4;27403:7;27385:11;:26::i;:::-;27201:218;;:::o;61829:193::-;61975:39;61992:4;61998:2;62002:7;61975:39;;;;;;;;;;;;:16;:39::i;81884:94::-;81950:20;81956:7;81965:4;81950:5;:20::i;:::-;81884:94;:::o;92494:289::-;92600:39;23239:4;92628:10;92600:7;:39::i;:::-;92578:157;;;;-1:-1:-1;;;92578:157:0;;;;;;;:::i;:::-;92746:18;;;;:9;:18;;;;;:29;92767:8;;92746:18;:29;:::i;:::-;;92494:289;;;:::o;86185:528::-;86329:23;86420:8;86395:22;86420:8;-1:-1:-1;;;;;86487:36:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;86487:36:0;;-1:-1:-1;;86487:36:0;;;;;;;;;;;;86450:73;;86543:9;86538:125;86559:14;86554:1;:19;86538:125;;86615:32;86635:8;;86644:1;86635:11;;;;;;;:::i;:::-;;;;;;;86615:19;:32::i;:::-;86599:10;86610:1;86599:13;;;;;;;;:::i;:::-;;;;;;;;;;:48;86575:3;;86538:125;;;-1:-1:-1;86684:10:0;86185:528;-1:-1:-1;;;;86185:528:0:o;50171:152::-;50243:7;50286:27;50305:7;50286:18;:27::i;45713:233::-;45785:7;-1:-1:-1;;;;;45809:19:0;;45805:60;;45837:28;;-1:-1:-1;;;45837:28:0;;;;;;;;;;;45805:60;-1:-1:-1;;;;;;45883:25:0;;;;;:18;:25;;;;;;-1:-1:-1;;;;;45883:55:0;;45713:233::o;90061:900::-;90139:16;90193:19;90227:25;90267:22;90292:16;90302:5;90292:9;:16::i;:::-;90267:41;;90323:25;90365:14;-1:-1:-1;;;;;90351:29:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;90351:29:0;;90323:57;;90395:31;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;90395:31:0;93450:1;90441:472;90490:14;90475:11;:29;90441:472;;90542:15;90555:1;90542:12;:15::i;:::-;90530:27;;90580:9;:16;;;90621:8;90576:73;90671:14;;-1:-1:-1;;;;;90671:28:0;;90667:111;;90744:14;;;-1:-1:-1;90667:111:0;90821:5;-1:-1:-1;;;;;90800:26:0;:17;-1:-1:-1;;;;;90800:26:0;;90796:102;;90877:1;90851:8;90860:13;;;;;;90851:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;90796:102;90506:3;;90441:472;;;-1:-1:-1;90934:8:0;;90061:900;-1:-1:-1;;;;;;90061:900:0:o;24089:147::-;24175:4;24199:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;24199:29:0;;;;;;;;;;;;;;;24089:147::o;92206:280::-;92304:39;23239:4;92332:10;92304:7;:39::i;:::-;92282:157;;;;-1:-1:-1;;;92282:157:0;;;;;;;:::i;:::-;92450:12;:28;92465:13;;92450:12;:28;:::i;48954:104::-;49010:13;49043:7;49036:14;;;;;:::i;87101:2513::-;87244:16;87311:4;87302:5;:13;87298:45;;87324:19;;-1:-1:-1;;;87324:19:0;;;;;;;;;;;87298:45;87358:19;87392:17;87412:14;44271:7;44298:13;;44216:103;87412:14;87392:34;-1:-1:-1;93450:1:0;87504:5;:23;87500:87;;;93450:1;87548:23;;87500:87;87663:9;87656:4;:16;87652:73;;;87700:9;87693:16;;87652:73;87739:25;87767:16;87777:5;87767:9;:16::i;:::-;87739:44;;87961:4;87953:5;:12;87949:278;;;88008:12;;;88043:31;;;88039:111;;;88119:11;88099:31;;88039:111;87967:198;87949:278;;;-1:-1:-1;88210:1:0;87949:278;88241:25;88283:17;-1:-1:-1;;;;;88269:32:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;88269:32:0;;88241:60;;88320:17;88341:1;88320:22;88316:78;;88370:8;-1:-1:-1;88363:15:0;;-1:-1:-1;;;88363:15:0;88316:78;88538:31;88572:26;88592:5;88572:19;:26::i;:::-;88538:60;;88613:25;88858:9;:16;;;88853:92;;-1:-1:-1;88915:14:0;;88853:92;88976:5;88959:478;88988:4;88983:1;:9;;:45;;;;;89011:17;88996:11;:32;;88983:45;88959:478;;;89066:15;89079:1;89066:12;:15::i;:::-;89054:27;;89104:9;:16;;;89145:8;89100:73;89195:14;;-1:-1:-1;;;;;89195:28:0;;89191:111;;89268:14;;;-1:-1:-1;89191:111:0;89345:5;-1:-1:-1;;;;;89324:26:0;:17;-1:-1:-1;;;;;89324:26:0;;89320:102;;89401:1;89375:8;89384:13;;;;;;89375:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;89320:102;89030:3;;88959:478;;;-1:-1:-1;;;89522:29:0;;;-1:-1:-1;89529:8:0;;-1:-1:-1;;87101:2513:0;;;;;;:::o;55827:234::-;79035:10;55922:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;55922:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;55922:60:0;;;;;;;;;;55998:55;;540:41:1;;;55922:49:0;;79035:10;55998:55;;513:18:1;55998:55:0;;;;;;;55827:234;;:::o;62620:407::-;62795:31;62808:4;62814:2;62818:7;62795:12;:31::i;:::-;-1:-1:-1;;;;;62841:14:0;;;:19;62837:183;;62880:56;62911:4;62917:2;62921:7;62930:5;62880:30;:56::i;:::-;62875:145;;62964:40;;-1:-1:-1;;;62964:40:0;;;;;;;;;;;85598:428;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;93450:1:0;85762:7;:25;:54;;;-1:-1:-1;44271:7:0;44298:13;85791:7;:25;;85762:54;85758:103;;;85840:9;85598:428;-1:-1:-1;;85598:428:0:o;85758:103::-;85883:21;85896:7;85883:12;:21::i;:::-;85871:33;;85919:9;:16;;;85915:65;;;85959:9;85598:428;-1:-1:-1;;85598:428:0:o;85915:65::-;85997:21;86010:7;85997:12;:21::i;91923:275::-;92088:1;92059:18;;;:9;:18;;;;;92053:32;;92023:13;;92088:1;92059:18;92053:32;;;:::i;:::-;;;:36;92049:67;;;92098:18;;;;:9;:18;;;;;92091:25;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;91923:275;;;:::o;92049:67::-;92148:12;92162:18;:7;:16;:18::i;:::-;92134:56;;;;;;;;;:::i;:::-;;;;;;;;;;;;;92127:63;;91923:275;;;:::o;26497:149::-;25690:7;25717:12;;;:6;:12;;;;;:22;;;23685:16;23696:4;23685:10;:16::i;:::-;26612:26:::1;26624:4;26630:7;26612:11;:26::i;91253:::-:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;92791:567::-;92934:32;91222:24;92955:10;92934:7;:32::i;:::-;92912:143;;;;-1:-1:-1;;;92912:143:0;;15418:2:1;92912:143:0;;;15400:21:1;15457:2;15437:18;;;15430:30;15496:34;15476:18;;;15469:62;15567:31;15547:18;;;15540:59;15616:19;;92912:143:0;15216:425:1;92912:143:0;93088:38;;;93066:173;;;;-1:-1:-1;;;93066:173:0;;15848:2:1;93066:173:0;;;15830:21:1;15887:2;15867:18;;;15860:30;15926:34;15906:18;;;15899:62;15997:34;15977:18;;;15970:62;-1:-1:-1;;;16048:19:1;;;16041:52;16110:19;;93066:173:0;15646:489:1;93066:173:0;93255:9;93250:100;93270:21;;;93250:100;;;93311:39;93321:10;;93332:1;93321:13;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;93336:10;;93347:1;93336:13;;;;;;;:::i;:::-;;;;;;;93311:9;:39::i;:::-;93293:3;;;;:::i;:::-;;;;93250:100;;;;92791:567;;;;:::o;23793:204::-;23878:4;-1:-1:-1;;;;;;23902:47:0;;-1:-1:-1;;;23902:47:0;;:87;;-1:-1:-1;;;;;;;;;;5948:40:0;;;23953:36;5839:157;47876:639;47961:4;-1:-1:-1;;;;;;;;;48285:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;48362:25:0;;;48285:102;:179;;;-1:-1:-1;;;;;;;;48439:25:0;-1:-1:-1;;;48439:25:0;;47876:639::o;56640:282::-;56705:4;56761:7;93450:1;56742:26;;:66;;;;;56795:13;;56785:7;:23;56742:66;:153;;;;-1:-1:-1;;56846:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;56846:44:0;:49;;56640:282::o;51326:1275::-;51393:7;51428;;93450:1;51477:23;51473:1061;;51530:13;;51523:4;:20;51519:1015;;;51568:14;51585:23;;;:17;:23;;;;;;;-1:-1:-1;;;51674:24:0;;:29;;51670:845;;52339:113;52346:6;52356:1;52346:11;52339:113;;-1:-1:-1;;;52417:6:0;52399:25;;;;:17;:25;;;;;;52339:113;;51670:845;51545:989;51519:1015;52562:31;;-1:-1:-1;;;52562:31:0;;;;;;;;;;;24540:105;24607:30;24618:4;79035:10;24607;:30::i;28798:238::-;28882:22;28890:4;28896:7;28882;:22::i;:::-;28877:152;;28921:12;;;;:6;:12;;;;;;;;-1:-1:-1;;;;;28921:29:0;;;;;;;;;:36;;-1:-1:-1;;28921:36:0;28953:4;28921:36;;;29004:12;79035:10;;78948:105;29004:12;-1:-1:-1;;;;;28977:40:0;28995:7;-1:-1:-1;;;;;28977:40:0;28989:4;28977:40;;;;;;;;;;28798:238;;:::o;29216:239::-;29300:22;29308:4;29314:7;29300;:22::i;:::-;29296:152;;;29371:5;29339:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;29339:29:0;;;;;;;;;;:37;;-1:-1:-1;;29339:37:0;;;29396:40;79035:10;;29339:12;;29396:40;;29371:5;29396:40;29216:239;;:::o;73477:3081::-;73557:27;73587;73606:7;73587:18;:27::i;:::-;73557:57;-1:-1:-1;73557:57:0;73627:12;;73749:35;73776:7;57905:27;58016:24;;;:15;:24;;;;;58244:26;;58016:24;;57803:485;73749:35;73692:92;;;;73801:13;73797:316;;;73922:68;73947:15;73964:4;79035:10;73970:19;78948:105;73922:68;73917:184;;74014:43;74031:4;79035:10;56218:164;:::i;74014:43::-;74009:92;;74066:35;;-1:-1:-1;;;74066:35:0;;;;;;;;;;;74009:92;74269:15;74266:160;;;74409:1;74388:19;74381:30;74266:160;-1:-1:-1;;;;;75028:24:0;;;;;;:18;:24;;;;;:60;;75056:32;75028:60;;;53560:11;53535:23;53531:41;53518:63;-1:-1:-1;;;53518:63:0;75326:26;;;;:17;:26;;;;;:205;;;;-1:-1:-1;;;75651:47:0;;:52;;75647:627;;75756:1;75746:11;;75724:19;75879:30;;;:17;:30;;;;;;:35;;75875:384;;76017:13;;76002:11;:28;75998:242;;76164:30;;;;:17;:30;;;;;:52;;;75998:242;75705:569;75647:627;76302:35;;76329:7;;76325:1;;-1:-1:-1;;;;;76302:35:0;;;-1:-1:-1;;;;;;;;;;;76302:35:0;76325:1;;76302:35;-1:-1:-1;;76525:12:0;:14;;;;;;-1:-1:-1;;;;73477:3081:0:o;50774:161::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50902:24:0;;;;:17;:24;;;;;;50883:44;;:18;:44::i;65111:716::-;65295:88;;-1:-1:-1;;;65295:88:0;;65274:4;;-1:-1:-1;;;;;65295:45:0;;;;;:88;;79035:10;;65362:4;;65368:7;;65377:5;;65295:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;65295:88:0;;;;;;;;-1:-1:-1;;65295:88:0;;;;;;;;;;;;:::i;:::-;;;65291:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;65578:6;:13;65595:1;65578:18;65574:235;;65624:40;;-1:-1:-1;;;65624:40:0;;;;;;;;;;;65574:235;65767:6;65761:13;65752:6;65748:2;65744:15;65737:38;65291:529;-1:-1:-1;;;;;;65454:64:0;-1:-1:-1;;;65454:64:0;;-1:-1:-1;65111:716:0;;;;;;:::o;50512:166::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50623:47:0;50642:27;50661:7;50642:18;:27::i;:::-;50623:18;:47::i;19318:716::-;19374:13;19425:14;19442:17;19453:5;19442:10;:17::i;:::-;19462:1;19442:21;19425:38;;19478:20;19512:6;-1:-1:-1;;;;;19501:18:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;19501:18:0;-1:-1:-1;19478:41:0;-1:-1:-1;19643:28:0;;;19659:2;19643:28;19700:288;-1:-1:-1;;19732:5:0;-1:-1:-1;;;19869:2:0;19858:14;;19853:30;19732:5;19840:44;19930:2;19921:11;;;-1:-1:-1;19951:21:0;19700:288;19951:21;-1:-1:-1;20009:6:0;19318:716;-1:-1:-1;;;19318:716:0:o;72780:112::-;72857:27;72867:2;72871:8;72857:27;;;;;;;;;;;;:9;:27::i;24935:492::-;25024:22;25032:4;25038:7;25024;:22::i;:::-;25019:401;;25212:28;25232:7;25212:19;:28::i;:::-;25313:38;25341:4;25348:2;25313:19;:38::i;:::-;25117:257;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;25117:257:0;;;;;;;;;;-1:-1:-1;;;25063:345:0;;;;;;;:::i;52700:366::-;-1:-1:-1;;;;;;;;;;;;;52810:41:0;;;;40531:3;52896:33;;;-1:-1:-1;;;;;52862:68:0;-1:-1:-1;;;52862:68:0;-1:-1:-1;;;52960:24:0;;:29;;-1:-1:-1;;;52941:48:0;;;;41052:3;53029:28;;;;-1:-1:-1;;;53000:58:0;-1:-1:-1;52700:366:0:o;16180:922::-;16233:7;;-1:-1:-1;;;16311:15:0;;16307:102;;-1:-1:-1;;;16347:15:0;;;-1:-1:-1;16391:2:0;16381:12;16307:102;16436:6;16427:5;:15;16423:102;;16472:6;16463:15;;;-1:-1:-1;16507:2:0;16497:12;16423:102;16552:6;16543:5;:15;16539:102;;16588:6;16579:15;;;-1:-1:-1;16623:2:0;16613:12;16539:102;16668:5;16659;:14;16655:99;;16703:5;16694:14;;;-1:-1:-1;16737:1:0;16727:11;16655:99;16781:5;16772;:14;16768:99;;16816:5;16807:14;;;-1:-1:-1;16850:1:0;16840:11;16768:99;16894:5;16885;:14;16881:99;;16929:5;16920:14;;;-1:-1:-1;16963:1:0;16953:11;16881:99;17007:5;16998;:14;16994:66;;17043:1;17033:11;17088:6;16180:922;-1:-1:-1;;16180:922:0:o;72007:689::-;72138:19;72144:2;72148:8;72138:5;:19::i;:::-;-1:-1:-1;;;;;72199:14:0;;;:19;72195:483;;72239:11;72253:13;72301:14;;;72334:233;72365:62;72404:1;72408:2;72412:7;;;;;;72421:5;72365:30;:62::i;:::-;72360:167;;72463:40;;-1:-1:-1;;;72463:40:0;;;;;;;;;;;72360:167;72562:3;72554:5;:11;72334:233;;72649:3;72632:13;;:20;72628:34;;72654:8;;;21054:151;21112:13;21145:52;-1:-1:-1;;;;;21157:22:0;;19209:2;20450:447;20525:13;20551:19;20583:10;20587:6;20583:1;:10;:::i;:::-;:14;;20596:1;20583:14;:::i;:::-;-1:-1:-1;;;;;20573:25:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;20573:25:0;;20551:47;;-1:-1:-1;;;20609:6:0;20616:1;20609:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;20609:15:0;;;;;;;;;-1:-1:-1;;;20635:6:0;20642:1;20635:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;20635:15:0;;;;;;;;-1:-1:-1;20666:9:0;20678:10;20682:6;20678:1;:10;:::i;:::-;:14;;20691:1;20678:14;:::i;:::-;20666:26;;20661:131;20698:1;20694;:5;20661:131;;;-1:-1:-1;;;20742:5:0;20750:3;20742:11;20733:21;;;;;;;:::i;:::-;;;;20721:6;20728:1;20721:9;;;;;;;;:::i;:::-;;;;:33;-1:-1:-1;;;;;20721:33:0;;;;;;;;-1:-1:-1;20779:1:0;20769:11;;;;;20701:3;;;:::i;:::-;;;20661:131;;;-1:-1:-1;20810:10:0;;20802:55;;;;-1:-1:-1;;;20802:55:0;;18755:2:1;20802:55:0;;;18737:21:1;;;18774:18;;;18767:30;18833:34;18813:18;;;18806:62;18885:18;;20802:55:0;18553:356:1;66289:2966:0;66362:20;66385:13;;;66413;;;66409:44;;66435:18;;-1:-1:-1;;;66435:18:0;;;;;;;;;;;66409:44;-1:-1:-1;;;;;66941:22:0;;;;;;:18;:22;;;;40010:2;66941:22;;;:71;;66979:32;66967:45;;66941:71;;;67255:31;;;:17;:31;;;;;-1:-1:-1;53991:15:0;;53965:24;53961:46;53560:11;53535:23;53531:41;53528:52;53518:63;;67255:173;;67490:23;;;;67255:31;;66941:22;;-1:-1:-1;;;;;;;;;;;66941:22:0;;68108:335;68769:1;68755:12;68751:20;68709:346;68810:3;68801:7;68798:16;68709:346;;69028:7;69018:8;69015:1;-1:-1:-1;;;;;;;;;;;68985:1:0;68982;68977:59;68863:1;68850:15;68709:346;;;68713:77;69088:8;69100:1;69088:13;69084:45;;69110:19;;-1:-1:-1;;;69110:19:0;;;;;;;;;;;69084:45;69146:13;:19;-1:-1:-1;26057:147:0;;;:::o;14:131:1:-;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:250::-;677:1;687:113;701:6;698:1;695:13;687:113;;;777:11;;;771:18;758:11;;;751:39;723:2;716:10;687:113;;;-1:-1:-1;;834:1:1;816:16;;809:27;592:250::o;847:271::-;889:3;927:5;921:12;954:6;949:3;942:19;970:76;1039:6;1032:4;1027:3;1023:14;1016:4;1009:5;1005:16;970:76;:::i;:::-;1100:2;1079:15;-1:-1:-1;;1075:29:1;1066:39;;;;1107:4;1062:50;;847:271;-1:-1:-1;;847:271:1:o;1123:220::-;1272:2;1261:9;1254:21;1235:4;1292:45;1333:2;1322:9;1318:18;1310:6;1292:45;:::i;1348:180::-;1407:6;1460:2;1448:9;1439:7;1435:23;1431:32;1428:52;;;1476:1;1473;1466:12;1428:52;-1:-1:-1;1499:23:1;;1348:180;-1:-1:-1;1348:180:1:o;1741:173::-;1809:20;;-1:-1:-1;;;;;1858:31:1;;1848:42;;1838:70;;1904:1;1901;1894:12;1838:70;1741:173;;;:::o;1919:254::-;1987:6;1995;2048:2;2036:9;2027:7;2023:23;2019:32;2016:52;;;2064:1;2061;2054:12;2016:52;2087:29;2106:9;2087:29;:::i;:::-;2077:39;2163:2;2148:18;;;;2135:32;;-1:-1:-1;;;1919:254:1:o;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;3060:254::-;3128:6;3136;3189:2;3177:9;3168:7;3164:23;3160:32;3157:52;;;3205:1;3202;3195:12;3157:52;3241:9;3228:23;3218:33;;3270:38;3304:2;3293:9;3289:18;3270:38;:::i;:::-;3260:48;;3060:254;;;;;:::o;3319:348::-;3371:8;3381:6;3435:3;3428:4;3420:6;3416:17;3412:27;3402:55;;3453:1;3450;3443:12;3402:55;-1:-1:-1;3476:20:1;;-1:-1:-1;;;;;3508:30:1;;3505:50;;;3551:1;3548;3541:12;3505:50;3588:4;3580:6;3576:17;3564:29;;3640:3;3633:4;3624:6;3616;3612:19;3608:30;3605:39;3602:59;;;3657:1;3654;3647:12;3602:59;3319:348;;;;;:::o;3672:479::-;3752:6;3760;3768;3821:2;3809:9;3800:7;3796:23;3792:32;3789:52;;;3837:1;3834;3827:12;3789:52;3873:9;3860:23;3850:33;;3934:2;3923:9;3919:18;3906:32;-1:-1:-1;;;;;3953:6:1;3950:30;3947:50;;;3993:1;3990;3983:12;3947:50;4032:59;4083:7;4074:6;4063:9;4059:22;4032:59;:::i;:::-;3672:479;;4110:8;;-1:-1:-1;4006:85:1;;-1:-1:-1;;;;3672:479:1:o;4156:367::-;4219:8;4229:6;4283:3;4276:4;4268:6;4264:17;4260:27;4250:55;;4301:1;4298;4291:12;4250:55;-1:-1:-1;4324:20:1;;-1:-1:-1;;;;;4356:30:1;;4353:50;;;4399:1;4396;4389:12;4353:50;4436:4;4428:6;4424:17;4412:29;;4496:3;4489:4;4479:6;4476:1;4472:14;4464:6;4460:27;4456:38;4453:47;4450:67;;;4513:1;4510;4503:12;4528:437;4614:6;4622;4675:2;4663:9;4654:7;4650:23;4646:32;4643:52;;;4691:1;4688;4681:12;4643:52;4731:9;4718:23;-1:-1:-1;;;;;4756:6:1;4753:30;4750:50;;;4796:1;4793;4786:12;4750:50;4835:70;4897:7;4888:6;4877:9;4873:22;4835:70;:::i;:::-;4924:8;;4809:96;;-1:-1:-1;4528:437:1;-1:-1:-1;;;;4528:437:1:o;4970:349::-;5054:12;;-1:-1:-1;;;;;5050:38:1;5038:51;;5142:4;5131:16;;;5125:23;-1:-1:-1;;;;;5121:48:1;5105:14;;;5098:72;5233:4;5222:16;;;5216:23;5209:31;5202:39;5186:14;;;5179:63;5295:4;5284:16;;;5278:23;5303:8;5274:38;5258:14;;5251:62;4970:349::o;5324:724::-;5559:2;5611:21;;;5681:13;;5584:18;;;5703:22;;;5530:4;;5559:2;5782:15;;;;5756:2;5741:18;;;5530:4;5825:197;5839:6;5836:1;5833:13;5825:197;;;5888:52;5936:3;5927:6;5921:13;5888:52;:::i;:::-;5997:15;;;;5969:4;5960:14;;;;;5861:1;5854:9;5825:197;;6053:186;6112:6;6165:2;6153:9;6144:7;6140:23;6136:32;6133:52;;;6181:1;6178;6171:12;6133:52;6204:29;6223:9;6204:29;:::i;6244:632::-;6415:2;6467:21;;;6537:13;;6440:18;;;6559:22;;;6386:4;;6415:2;6638:15;;;;6612:2;6597:18;;;6386:4;6681:169;6695:6;6692:1;6689:13;6681:169;;;6756:13;;6744:26;;6825:15;;;;6790:12;;;;6717:1;6710:9;6681:169;;6881:411;6952:6;6960;7013:2;7001:9;6992:7;6988:23;6984:32;6981:52;;;7029:1;7026;7019:12;6981:52;7069:9;7056:23;-1:-1:-1;;;;;7094:6:1;7091:30;7088:50;;;7134:1;7131;7124:12;7088:50;7173:59;7224:7;7215:6;7204:9;7200:22;7173:59;:::i;7297:322::-;7374:6;7382;7390;7443:2;7431:9;7422:7;7418:23;7414:32;7411:52;;;7459:1;7456;7449:12;7411:52;7482:29;7501:9;7482:29;:::i;:::-;7472:39;7558:2;7543:18;;7530:32;;-1:-1:-1;7609:2:1;7594:18;;;7581:32;;7297:322;-1:-1:-1;;;7297:322:1:o;7624:347::-;7689:6;7697;7750:2;7738:9;7729:7;7725:23;7721:32;7718:52;;;7766:1;7763;7756:12;7718:52;7789:29;7808:9;7789:29;:::i;:::-;7779:39;;7868:2;7857:9;7853:18;7840:32;7915:5;7908:13;7901:21;7894:5;7891:32;7881:60;;7937:1;7934;7927:12;7881:60;7960:5;7950:15;;;7624:347;;;;;:::o;7976:127::-;8037:10;8032:3;8028:20;8025:1;8018:31;8068:4;8065:1;8058:15;8092:4;8089:1;8082:15;8108:1138;8203:6;8211;8219;8227;8280:3;8268:9;8259:7;8255:23;8251:33;8248:53;;;8297:1;8294;8287:12;8248:53;8320:29;8339:9;8320:29;:::i;:::-;8310:39;;8368:38;8402:2;8391:9;8387:18;8368:38;:::i;:::-;8358:48;;8453:2;8442:9;8438:18;8425:32;8415:42;;8508:2;8497:9;8493:18;8480:32;-1:-1:-1;;;;;8572:2:1;8564:6;8561:14;8558:34;;;8588:1;8585;8578:12;8558:34;8626:6;8615:9;8611:22;8601:32;;8671:7;8664:4;8660:2;8656:13;8652:27;8642:55;;8693:1;8690;8683:12;8642:55;8729:2;8716:16;8751:2;8747;8744:10;8741:36;;;8757:18;;:::i;:::-;8832:2;8826:9;8800:2;8886:13;;-1:-1:-1;;8882:22:1;;;8906:2;8878:31;8874:40;8862:53;;;8930:18;;;8950:22;;;8927:46;8924:72;;;8976:18;;:::i;:::-;9016:10;9012:2;9005:22;9051:2;9043:6;9036:18;9091:7;9086:2;9081;9077;9073:11;9069:20;9066:33;9063:53;;;9112:1;9109;9102:12;9063:53;9168:2;9163;9159;9155:11;9150:2;9142:6;9138:15;9125:46;9213:1;9208:2;9203;9195:6;9191:15;9187:24;9180:35;9234:6;9224:16;;;;;;;8108:1138;;;;;;;:::o;9251:268::-;9449:3;9434:19;;9462:51;9438:9;9495:6;9462:51;:::i;9524:773::-;9646:6;9654;9662;9670;9723:2;9711:9;9702:7;9698:23;9694:32;9691:52;;;9739:1;9736;9729:12;9691:52;9779:9;9766:23;-1:-1:-1;;;;;9849:2:1;9841:6;9838:14;9835:34;;;9865:1;9862;9855:12;9835:34;9904:70;9966:7;9957:6;9946:9;9942:22;9904:70;:::i;:::-;9993:8;;-1:-1:-1;9878:96:1;-1:-1:-1;10081:2:1;10066:18;;10053:32;;-1:-1:-1;10097:16:1;;;10094:36;;;10126:1;10123;10116:12;10094:36;;10165:72;10229:7;10218:8;10207:9;10203:24;10165:72;:::i;:::-;9524:773;;;;-1:-1:-1;10256:8:1;-1:-1:-1;;;;9524:773:1:o;10302:260::-;10370:6;10378;10431:2;10419:9;10410:7;10406:23;10402:32;10399:52;;;10447:1;10444;10437:12;10399:52;10470:29;10489:9;10470:29;:::i;:::-;10460:39;;10518:38;10552:2;10541:9;10537:18;10518:38;:::i;10567:380::-;10646:1;10642:12;;;;10689;;;10710:61;;10764:4;10756:6;10752:17;10742:27;;10710:61;10817:2;10809:6;10806:14;10786:18;10783:38;10780:161;;10863:10;10858:3;10854:20;10851:1;10844:31;10898:4;10895:1;10888:15;10926:4;10923:1;10916:15;10780:161;;10567:380;;;:::o;11368:472::-;11570:2;11552:21;;;11609:2;11589:18;;;11582:30;11648:34;11643:2;11628:18;;11621:62;11719:34;11714:2;11699:18;;11692:62;-1:-1:-1;;;11785:3:1;11770:19;;11763:35;11830:3;11815:19;;11368:472::o;11971:545::-;12073:2;12068:3;12065:11;12062:448;;;12109:1;12134:5;12130:2;12123:17;12179:4;12175:2;12165:19;12249:2;12237:10;12233:19;12230:1;12226:27;12220:4;12216:38;12285:4;12273:10;12270:20;12267:47;;;-1:-1:-1;12308:4:1;12267:47;12363:2;12358:3;12354:12;12351:1;12347:20;12341:4;12337:31;12327:41;;12418:82;12436:2;12429:5;12426:13;12418:82;;;12481:17;;;12462:1;12451:13;12418:82;;12692:1206;-1:-1:-1;;;;;12811:3:1;12808:27;12805:53;;;12838:18;;:::i;:::-;12867:94;12957:3;12917:38;12949:4;12943:11;12917:38;:::i;:::-;12911:4;12867:94;:::i;:::-;12987:1;13012:2;13007:3;13004:11;13029:1;13024:616;;;;13684:1;13701:3;13698:93;;;-1:-1:-1;13757:19:1;;;13744:33;13698:93;-1:-1:-1;;12649:1:1;12645:11;;;12641:24;12637:29;12627:40;12673:1;12669:11;;;12624:57;13804:78;;12997:895;;13024:616;11918:1;11911:14;;;11955:4;11942:18;;-1:-1:-1;;13060:17:1;;;13161:9;13183:229;13197:7;13194:1;13191:14;13183:229;;;13286:19;;;13273:33;13258:49;;13393:4;13378:20;;;;13346:1;13334:14;;;;13213:12;13183:229;;;13187:3;13440;13431:7;13428:16;13425:159;;;13564:1;13560:6;13554:3;13548;13545:1;13541:11;13537:21;13533:34;13529:39;13516:9;13511:3;13507:19;13494:33;13490:79;13482:6;13475:95;13425:159;;;13627:1;13621:3;13618:1;13614:11;13610:19;13604:4;13597:33;12997:895;;12692:1206;;;:::o;13903:127::-;13964:10;13959:3;13955:20;13952:1;13945:31;13995:4;13992:1;13985:15;14019:4;14016:1;14009:15;14035:1176;14301:3;14330:1;14363:6;14357:13;14393:36;14419:9;14393:36;:::i;:::-;14448:1;14465:18;;;14492:133;;;;14639:1;14634:356;;;;14458:532;;14492:133;-1:-1:-1;;14525:24:1;;14513:37;;14598:14;;14591:22;14579:35;;14570:45;;;-1:-1:-1;14492:133:1;;14634:356;14665:6;14662:1;14655:17;14695:4;14740:2;14737:1;14727:16;14765:1;14779:165;14793:6;14790:1;14787:13;14779:165;;;14871:14;;14858:11;;;14851:35;14914:16;;;;14808:10;;14779:165;;;14783:3;;;14973:6;14968:3;14964:16;14957:23;;14458:532;;;;;15021:6;15015:13;15037:68;15096:8;15091:3;15084:4;15076:6;15072:17;15037:68;:::i;:::-;-1:-1:-1;;;15127:18:1;;15154:22;;;15203:1;15192:13;;14035:1176;-1:-1:-1;;;;14035:1176:1:o;16140:127::-;16201:10;16196:3;16192:20;16189:1;16182:31;16232:4;16229:1;16222:15;16256:4;16253:1;16246:15;16272:135;16311:3;16332:17;;;16329:43;;16352:18;;:::i;:::-;-1:-1:-1;16399:1:1;16388:13;;16272:135::o;16412:489::-;-1:-1:-1;;;;;16681:15:1;;;16663:34;;16733:15;;16728:2;16713:18;;16706:43;16780:2;16765:18;;16758:34;;;16828:3;16823:2;16808:18;;16801:31;;;16606:4;;16849:46;;16875:19;;16867:6;16849:46;:::i;:::-;16841:54;16412:489;-1:-1:-1;;;;;;16412:489:1:o;16906:249::-;16975:6;17028:2;17016:9;17007:7;17003:23;16999:32;16996:52;;;17044:1;17041;17034:12;16996:52;17076:9;17070:16;17095:30;17119:5;17095:30;:::i;17292:812::-;17703:25;17698:3;17691:38;17673:3;17758:6;17752:13;17774:75;17842:6;17837:2;17832:3;17828:12;17821:4;17813:6;17809:17;17774:75;:::i;:::-;-1:-1:-1;;;17908:2:1;17868:16;;;17900:11;;;17893:40;17958:13;;17980:76;17958:13;18042:2;18034:11;;18027:4;18015:17;;17980:76;:::i;:::-;18076:17;18095:2;18072:26;;17292:812;-1:-1:-1;;;;17292:812:1:o;18109:168::-;18182:9;;;18213;;18230:15;;;18224:22;;18210:37;18200:71;;18251:18;;:::i;18282:125::-;18347:9;;;18368:10;;;18365:36;;;18381:18;;:::i;18412:136::-;18451:3;18479:5;18469:39;;18488:18;;:::i;:::-;-1:-1:-1;;;18524:18:1;;18412:136::o

Swarm Source

ipfs://7929727ad1d5efa5d68b2d3975a41a98b4f09610583f5d4f53b2a382579d9c7e
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.