ETH Price: $2,429.43 (-2.42%)

Token

Mortiverse (MORTI)
 

Overview

Max Total Supply

2,583 MORTI

Holders

790

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Balance
1 MORTI
0x715f39303E63aE006B0bCe4754bE5D402fced51E
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:
Mortiverse

Compiler Version
v0.8.15+commit.e14f2714

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-10-14
*/

// SPDX-License-Identifier: MIT
pragma solidity 0.8.15;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/**
 * @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 << 3) < value ? 1 : 0);
        }
    }
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

interface IOperatorFilter {
    function mayTransfer(address operator) external view returns (bool);
}

abstract contract ERC721OperatorFilter is ERC721A, Ownable, AccessControl {
    IOperatorFilter private operatorFilter_;

    constructor(
        string memory name_,
        string memory symbol_,
        address filter
    ) Ownable() ERC721A(name_, symbol_) AccessControl() {
        operatorFilter_ = IOperatorFilter(filter);
    }

    function setOperatorFilter(IOperatorFilter filter) public onlyRole(DEFAULT_ADMIN_ROLE) {
        operatorFilter_ = filter;
    }

    function operatorFilter() public view returns (IOperatorFilter) {
        return operatorFilter_;
    }

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

    function _beforeTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual override(ERC721A) {
        if (
            from != address(0) &&
            to != address(0) &&
            !_mayTransfer(msg.sender, startTokenId)
        ) {
            revert("ERC721OperatorFilter: illegal operator");
        }
        super._beforeTokenTransfers(from, to, startTokenId, quantity);
    }

    function _mayTransfer(address operator, uint256 tokenId)
        private
        view
        returns (bool)
    {
        IOperatorFilter filter = operatorFilter_;
        if (address(filter) == address(0)) return true;
        if (operator == ownerOf(tokenId)) return true;
        return filter.mayTransfer(msg.sender);
    }
}

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

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

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

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

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

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

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

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

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

        return (royalty.receiver, royaltyAmount);
    }

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

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

        _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator);
    }

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

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

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

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

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

/**
 * @dev These functions deal with verification of Merkle Tree proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 *
 * WARNING: You should avoid using leaf values that are 64 bytes long prior to
 * hashing, or use a hash function other than keccak256 for hashing leaves.
 * This is because the concatenation of a sorted pair of internal nodes in
 * the merkle tree could be reinterpreted as a leaf value.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

interface IMortiverse {
    error InvalidETHQuantity();
    error MaxSupply();
    error NonExistentTokenURI();
    error WithdrawTransfer();
    error NotInAllowlist();
    error ExceedsMintAllowance();
    error InvalidURI();
    error LengthsMismatch();
    error NotAllowlistPhase();
    error NotPublicPhase();
    error PublicSaleMustStartAfterAllowlist();
    error NewAllowanceLowerThanActual();
    error IllegalOperator();
}

contract Mortiverse is
    ERC721OperatorFilter,
    ERC2981,
    IMortiverse
{
    struct SaleConfig {
        uint128 allowlist;
        uint128 publicSale;
    }

    enum Phase {
        CLOSED,
        ALLOWLIST,
        PUBLIC,
        OVER
    }

    uint256 public constant TOTAL_SUPPLY = 5555;
    bytes32 public constant MANAGER_ROLE = keccak256("MANAGER_ROLE");

    string public contractURI = "ipfs://QmR2y7P2m9cbmtc31LskvVcbn2qxJPWNE4EvrioJJjPukJ";
    string public baseURI = "ipfs://QmWpxg6xzYgZhdzoejrp8HFxUppr8sPQaV6kE5XasfuZeX/";

    uint256 public price = 0.029 ether;
    uint256 public mintAllowance = 2;

    bytes32 public allowlistMerkleRoot;

    SaleConfig public saleConfig;

    modifier isMintable(uint256 quantity) {
        if (price * quantity != msg.value) {
            revert InvalidETHQuantity();
        }
        if (_totalMinted() + quantity > TOTAL_SUPPLY) {
            revert MaxSupply();
        }
        if (_getAux(msg.sender) + quantity > mintAllowance) {
            revert ExceedsMintAllowance();
        }
        _;
    }

    constructor(
        address owner_,
        address manager_,
        uint256 initialQty_,
        address filter_
    ) ERC721OperatorFilter("Mortiverse", "MORTI", filter_) {
        _grantRole(DEFAULT_ADMIN_ROLE, owner_);
        _grantRole(DEFAULT_ADMIN_ROLE, manager_);
        _grantRole(MANAGER_ROLE, owner_);
        _grantRole(MANAGER_ROLE, manager_);
        _setDefaultRoyalty(owner_, 750);
        saleConfig = SaleConfig(1665779000, 1665789000);
        if(initialQty_ > 0) {
            _mintERC2309(owner_, initialQty_);
        }
        _transferOwnership(manager_);
    }

    function allowlistMint(bytes32[] calldata merkleProof, uint64 quantity)
        external
        payable
        isMintable(quantity)
    {
        if (currentPhase() != Phase.ALLOWLIST) revert NotAllowlistPhase();
        bytes32 leaf = keccak256(abi.encodePacked(msg.sender));
        if (!MerkleProof.verify(merkleProof, allowlistMerkleRoot, leaf)) {
            revert NotInAllowlist();
        }
        _setAux(msg.sender, _getAux(msg.sender) + quantity);
        _safeMint(msg.sender, quantity);
    }

    function mint(uint64 quantity) external payable isMintable(quantity) {
        if (currentPhase() != Phase.PUBLIC) revert NotPublicPhase();
        _setAux(msg.sender, _getAux(msg.sender) + quantity);
        _safeMint(msg.sender, quantity);
    }

    function ownerMint(address recipient, uint256 quantity)
        external
        onlyRole(DEFAULT_ADMIN_ROLE)
    {
        _safeMint(recipient, quantity);
    }

    function airdrop(
        address[] calldata receivers,
        uint256[] calldata quantities
    ) external onlyRole(DEFAULT_ADMIN_ROLE) {
        if (receivers.length != quantities.length) revert LengthsMismatch();
        uint256 total;
        for (uint256 i = 0; i < quantities.length; i++) {
            total += quantities[i];
        }
        if (_totalMinted() + total > TOTAL_SUPPLY) revert MaxSupply();
        for (uint256 i = 0; i < receivers.length; i++) {
            _safeMint(receivers[i], quantities[i]);
        }
    }

    function setContractURI(string calldata _contractURI)
        external
        onlyRole(MANAGER_ROLE)
    {
        if (bytes(_contractURI).length == 0) {
            revert InvalidURI();
        }
        contractURI = _contractURI;
    }

    function setBaseURI(string calldata _baseURI)
        external
        onlyRole(MANAGER_ROLE)
    {
        if (bytes(_baseURI).length == 0) {
            revert InvalidURI();
        }
        baseURI = _baseURI;
    }

    function setSaleConfig(uint128 allowlistTimestamp, uint128 publicTimestamp)
        external
        onlyRole(MANAGER_ROLE)
    {
        if (allowlistTimestamp >= publicTimestamp)
            revert PublicSaleMustStartAfterAllowlist();
        saleConfig = SaleConfig(allowlistTimestamp, publicTimestamp);
    }

    function setAllowlistRoot(bytes32 merkleRoot)
        external
        onlyRole(MANAGER_ROLE)
    {
        allowlistMerkleRoot = merkleRoot;
    }

    function setDefaultAdmin() external onlyOwner {
        _grantRole(DEFAULT_ADMIN_ROLE, owner());
    }

    function withdrawPayments(address payable payee)
        external
        onlyRole(DEFAULT_ADMIN_ROLE)
    {
        uint256 balance = address(this).balance;
        (bool transferTx, ) = payee.call{value: balance}(""); // solhint-disable-line avoid-low-level-calls
        if (!transferTx) {
            revert WithdrawTransfer();
        }
    }

    /// @notice Sets the royalty information that all ids in this contract will default to.
    /// @dev Explain to a developer any extra details
    /// @param receiver cannot be the zero address.
    /// @param feeNumerator cannot be greater than the fee denominator.
    function setDefaultRoyalty(address receiver, uint96 feeNumerator)
        external
        onlyRole(DEFAULT_ADMIN_ROLE)
    {
        _setDefaultRoyalty(receiver, feeNumerator);
    }

    // @notice Sets the royalty information that token ids.
    /// @dev to Resets royalty information set _feeNumerator to 0
    /// @param tokenId the specific token id to Sets the royalty information for
    /// @param receiver the address that will receive the royalty
    /// @param feeNumerator cannot be greater than the fee denominator other case revert with InvalidFeeNumerator
    function setTokenRoyalty(
        uint256 tokenId,
        address receiver,
        uint96 feeNumerator
    ) external onlyRole(DEFAULT_ADMIN_ROLE) {
        _setTokenRoyalty(tokenId, receiver, feeNumerator);
    }

    function setMintAllowance(uint256 allowance) external onlyRole(MANAGER_ROLE) {
        if(allowance <= mintAllowance) revert NewAllowanceLowerThanActual();
        mintAllowance = allowance;
    }

    function setPrice(uint256 newPrice) external onlyRole(MANAGER_ROLE) {
        price = newPrice;
    }

    function supportsInterface(bytes4 interfaceId)
        public
        view
        virtual
        override(ERC721OperatorFilter, ERC2981)
        returns (bool)
    {
        return
            interfaceId == 0x2a55205a || // ERC165 Interface ID for ERC2981
            ERC721OperatorFilter.supportsInterface(interfaceId);
    }

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

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

    // solhint-disable not-rely-on-time
    function currentPhase() public view returns (Phase) {
        if (_totalMinted() == TOTAL_SUPPLY) {
            return Phase.OVER;
        } else if (block.timestamp > saleConfig.publicSale) {
            return Phase.PUBLIC;
        } else if (block.timestamp > saleConfig.allowlist) {
            return Phase.ALLOWLIST;
        } else {
            return Phase.CLOSED;
        }
    }
    // solhint-enable

    function userAllowance(address user) public view returns (uint256) {
        return mintAllowance - _getAux(user);
    }

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"owner_","type":"address"},{"internalType":"address","name":"manager_","type":"address"},{"internalType":"uint256","name":"initialQty_","type":"uint256"},{"internalType":"address","name":"filter_","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"ExceedsMintAllowance","type":"error"},{"inputs":[],"name":"IllegalOperator","type":"error"},{"inputs":[],"name":"InvalidETHQuantity","type":"error"},{"inputs":[],"name":"InvalidURI","type":"error"},{"inputs":[],"name":"LengthsMismatch","type":"error"},{"inputs":[],"name":"MaxSupply","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"NewAllowanceLowerThanActual","type":"error"},{"inputs":[],"name":"NonExistentTokenURI","type":"error"},{"inputs":[],"name":"NotAllowlistPhase","type":"error"},{"inputs":[],"name":"NotInAllowlist","type":"error"},{"inputs":[],"name":"NotPublicPhase","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"PublicSaleMustStartAfterAllowlist","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"},{"inputs":[],"name":"WithdrawTransfer","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"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":"MANAGER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOTAL_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"receivers","type":"address[]"},{"internalType":"uint256[]","name":"quantities","type":"uint256[]"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"allowlistMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"},{"internalType":"uint64","name":"quantity","type":"uint64"}],"name":"allowlistMint","outputs":[],"stateMutability":"payable","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":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentPhase","outputs":[{"internalType":"enum Mortiverse.Phase","name":"","type":"uint8"}],"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":"uint64","name":"quantity","type":"uint64"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintAllowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"operatorFilter","outputs":[{"internalType":"contract IOperatorFilter","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"ownerMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","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":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"saleConfig","outputs":[{"internalType":"uint128","name":"allowlist","type":"uint128"},{"internalType":"uint128","name":"publicSale","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"}],"name":"setAllowlistRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_contractURI","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setDefaultAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint96","name":"feeNumerator","type":"uint96"}],"name":"setDefaultRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"allowance","type":"uint256"}],"name":"setMintAllowance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IOperatorFilter","name":"filter","type":"address"}],"name":"setOperatorFilter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint128","name":"allowlistTimestamp","type":"uint128"},{"internalType":"uint128","name":"publicTimestamp","type":"uint128"}],"name":"setSaleConfig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint96","name":"feeNumerator","type":"uint96"}],"name":"setTokenRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"userAllowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"payee","type":"address"}],"name":"withdrawPayments","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60e060405260356080818152906200364360a039600d9062000022908262000794565b506040518060600160405280603681526020016200369860369139600e906200004c908262000794565b5066670758aa7c8000600f5560026010553480156200006a57600080fd5b50604051620036ce380380620036ce8339810160408190526200008d916200087d565b6040518060400160405280600a8152602001694d6f727469766572736560b01b815250604051806040016040528060058152602001644d4f52544960d81b8152508282828160029081620000e2919062000794565b506003620000f1828262000794565b50506001600055506200010433620001e1565b600a80546001600160a01b0319166001600160a01b03929092169190911790555062000134905060008562000233565b6200014160008462000233565b6200015c600080516020620036788339815191528562000233565b62000177600080516020620036788339815191528462000233565b62000185846102ee620002be565b60408051808201909152636349c5388152636349ec48602090910152736349ec480000000000000000000000006349c5386012558115620001cc57620001cc8483620003c3565b620001d783620001e1565b50505050620008f5565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6200023f8282620004cb565b620002ba5760008281526009602090815260408083206001600160a01b03851684529091529020805460ff19166001179055620002793390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6127106001600160601b0382161115620003325760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b60648201526084015b60405180910390fd5b6001600160a01b0382166200038a5760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c696420726563656976657200000000000000604482015260640162000329565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600b55565b6000546001600160a01b038316620003ed57604051622e076360e81b815260040160405180910390fd5b816000036200040f5760405163b562e8dd60e01b815260040160405180910390fd5b6113888211156200043357604051633db1f9af60e01b815260040160405180910390fd5b620004426000848385620004f8565b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600482528083206001871460e11b4260a01b17851790558051600019868801018152905185927fdeaa91b6123d068f5821d0fb0678463d1a8a6079fe8af5de3ce5e896dcf9133d928290030190a40160005550565b505050565b60008281526009602090815260408083206001600160a01b038516845290915290205460ff165b92915050565b6001600160a01b038416158015906200051957506001600160a01b03831615155b80156200052f57506200052d3383620005ac565b155b156200058d5760405162461bcd60e51b815260206004820152602660248201527f4552433732314f70657261746f7246696c7465723a20696c6c6567616c206f7060448201526532b930ba37b960d11b606482015260840162000329565b620005a684848484620005a660201b620010a61760201c565b50505050565b600a546000906001600160a01b031680620005cc576001915050620004f2565b620005d7836200066e565b6001600160a01b0316846001600160a01b031603620005fb576001915050620004f2565b604051630c962cb760e11b81523360048201526001600160a01b0382169063192c596e90602401602060405180830381865afa15801562000640573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620006669190620008d1565b949350505050565b6000620004f28260008180600111620006d757600054811015620006d75760008181526004602052604081205490600160e01b82169003620006d5575b80600003620006ce575060001901600081815260046020526040902054620006ab565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200071b57607f821691505b6020821081036200073c57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620004c657600081815260208120601f850160051c810160208610156200076b5750805b601f850160051c820191505b818110156200078c5782815560010162000777565b505050505050565b81516001600160401b03811115620007b057620007b0620006f0565b620007c881620007c1845462000706565b8462000742565b602080601f831160018114620008005760008415620007e75750858301515b600019600386901b1c1916600185901b1785556200078c565b600085815260208120601f198616915b82811015620008315788860151825594840194600190910190840162000810565b5085821015620008505787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b80516001600160a01b03811681146200087857600080fd5b919050565b600080600080608085870312156200089457600080fd5b6200089f8562000860565b9350620008af6020860162000860565b925060408501519150620008c66060860162000860565b905092959194509250565b600060208284031215620008e457600080fd5b81518015158114620006ce57600080fd5b612d3e80620009056000396000f3fe6080604052600436106102c95760003560e01c8063689843e011610175578063a035b1fe116100dc578063d547741f11610095578063e985e9c51161006f578063e985e9c514610877578063ec87621c146108c0578063f2fde38b146108e2578063fb9d09c81461090257600080fd5b8063d547741f14610822578063d783925b14610842578063e8a3d4851461086257600080fd5b8063a035b1fe14610784578063a217fddf1461079a578063a22cb465146107af578063acf080d1146107cf578063b88d4fde146107ef578063c87b56dd1461080257600080fd5b8063902d55a51161012e578063902d55a5146106ae57806390aa0b0f146106c457806391b7f5ed1461070f57806391d148541461072f578063938e3d7b1461074f57806395d89b411461076f57600080fd5b8063689843e0146106085780636c0360eb1461062657806370a082311461063b578063715018a61461065b5780638da5cb5b146106705780638e0acd121461068e57600080fd5b8063293108e011610234578063396876bd116101ed57806355f804b3116101c757806355f804b3146105885780635944c753146105a85780636352211e146105c857806367243482146105e857600080fd5b8063396876bd1461053f57806342842e0e14610555578063484b973c1461056857600080fd5b8063293108e0146104755780632a55205a1461048b5780632f2ff15d146104ca57806331b3eb94146104ea57806336568abe1461050a57806338a59d971461052a57600080fd5b8063081812fc11610286578063081812fc1461039c578063095ea7b3146103d45780630c6b2cbf146103e757806318160ddd1461041557806323b872dd14610432578063248a9ca31461044557600080fd5b806301ffc9a7146102ce57806303f35fef1461030357806304392a4c1461031857806304634d8d14610338578063055ad42e1461035857806306fdde031461037a575b600080fd5b3480156102da57600080fd5b506102ee6102e936600461233a565b610915565b60405190151581526020015b60405180910390f35b6103166103113660046123b7565b610940565b005b34801561032457600080fd5b50610316610333366004612421565b610b24565b34801561034457600080fd5b50610316610353366004612480565b610ba1565b34801561036457600080fd5b5061036d610bbb565b6040516102fa91906124c2565b34801561038657600080fd5b5061038f610c17565b6040516102fa9190612542565b3480156103a857600080fd5b506103bc6103b7366004612555565b610ca9565b6040516001600160a01b0390911681526020016102fa565b6103166103e236600461256e565b610ced565b3480156103f357600080fd5b5061040761040236600461259a565b610d8d565b6040519081526020016102fa565b34801561042157600080fd5b506001546000540360001901610407565b6103166104403660046125b7565b610dae565b34801561045157600080fd5b50610407610460366004612555565b60009081526009602052604090206001015490565b34801561048157600080fd5b5061040760115481565b34801561049757600080fd5b506104ab6104a63660046125f8565b610f54565b604080516001600160a01b0390931683526020830191909152016102fa565b3480156104d657600080fd5b506103166104e536600461261a565b611002565b3480156104f657600080fd5b5061031661050536600461259a565b611027565b34801561051657600080fd5b5061031661052536600461261a565b6110ac565b34801561053657600080fd5b5061031661112f565b34801561054b57600080fd5b5061040760105481565b6103166105633660046125b7565b611155565b34801561057457600080fd5b5061031661058336600461256e565b611170565b34801561059457600080fd5b506103166105a336600461264a565b611185565b3480156105b457600080fd5b506103166105c33660046126bb565b6111cc565b3480156105d457600080fd5b506103bc6105e3366004612555565b6111e2565b3480156105f457600080fd5b506103166106033660046126f0565b6111ed565b34801561061457600080fd5b50600a546001600160a01b03166103bc565b34801561063257600080fd5b5061038f611305565b34801561064757600080fd5b5061040761065636600461259a565b611393565b34801561066757600080fd5b506103166113e1565b34801561067c57600080fd5b506008546001600160a01b03166103bc565b34801561069a57600080fd5b506103166106a9366004612555565b6113f3565b3480156106ba57600080fd5b506104076115b381565b3480156106d057600080fd5b506012546106ef906001600160801b0380821691600160801b90041682565b604080516001600160801b039384168152929091166020830152016102fa565b34801561071b57600080fd5b5061031661072a366004612555565b611411565b34801561073b57600080fd5b506102ee61074a36600461261a565b61142f565b34801561075b57600080fd5b5061031661076a36600461264a565b61145a565b34801561077b57600080fd5b5061038f6114a1565b34801561079057600080fd5b50610407600f5481565b3480156107a657600080fd5b50610407600081565b3480156107bb57600080fd5b506103166107ca366004612769565b6114b0565b3480156107db57600080fd5b506103166107ea366004612555565b61151c565b6103166107fd3660046127ad565b61155c565b34801561080e57600080fd5b5061038f61081d366004612555565b6115a0565b34801561082e57600080fd5b5061031661083d36600461261a565b611641565b34801561084e57600080fd5b5061031661085d36600461259a565b611666565b34801561086e57600080fd5b5061038f611694565b34801561088357600080fd5b506102ee61089236600461288c565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156108cc57600080fd5b50610407600080516020612ce983398151915281565b3480156108ee57600080fd5b506103166108fd36600461259a565b6116a1565b6103166109103660046128ba565b61171a565b600063152a902d60e11b6001600160e01b03198316148061093a575061093a82611824565b92915050565b806001600160401b03163481600f5461095991906128eb565b14610977576040516303b59b0160e61b815260040160405180910390fd5b6115b3816109886000546000190190565b610992919061290a565b11156109b157604051632cdb04a160e21b815260040160405180910390fd5b601054816109be33611849565b6001600160401b03166109d1919061290a565b11156109f057604051637335356360e01b815260040160405180910390fd5b60016109fa610bbb565b6003811115610a0b57610a0b6124ac565b14610a295760405163bb8f723160e01b815260040160405180910390fd5b6040516bffffffffffffffffffffffff193360601b166020820152600090603401604051602081830303815290604052805190602001209050610aa3858580806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506011549150849050611867565b610ac0576040516315ebf2b560e21b815260040160405180910390fd5b610b0a3384610ace33611849565b610ad89190612922565b6001600160a01b03909116600090815260056020526040902080546001600160c01b031660c09290921b919091179055565b610b1d33846001600160401b031661187d565b5050505050565b600080516020612ce9833981519152610b3c81611897565b816001600160801b0316836001600160801b031610610b6e57604051636de2dbdf60e01b815260040160405180910390fd5b50604080518082019091526001600160801b03928316808252919092166020909201829052600160801b90910217601255565b6000610bac81611897565b610bb683836118a1565b505050565b60006115b3610bcd6000546000190190565b03610bd85750600390565b601254600160801b90046001600160801b0316421115610bf85750600290565b6012546001600160801b0316421115610c115750600190565b50600090565b606060028054610c269061294d565b80601f0160208091040260200160405190810160405280929190818152602001828054610c529061294d565b8015610c9f5780601f10610c7457610100808354040283529160200191610c9f565b820191906000526020600020905b815481529060010190602001808311610c8257829003601f168201915b5050505050905090565b6000610cb48261195b565b610cd1576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610cf8826111e2565b9050336001600160a01b03821614610d3157610d148133610892565b610d31576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000610d9882611849565b6001600160401b031660105461093a9190612987565b6000610db982611990565b9050836001600160a01b0316816001600160a01b031614610dec5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417610e3957610e1c8633610892565b610e3957604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610e6057604051633a954ecd60e21b815260040160405180910390fd5b610e6d8686866001611a06565b8015610e7857600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003610f0a57600184016000818152600460205260408120549003610f08576000548114610f085760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b6000828152600c602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b0316928201929092528291610fc9575060408051808201909152600b546001600160a01b0381168252600160a01b90046001600160601b031660208201525b602081015160009061271090610fe8906001600160601b0316876128eb565b610ff2919061299e565b91519350909150505b9250929050565b60008281526009602052604090206001015461101d81611897565b610bb68383611a9a565b600061103281611897565b60405147906000906001600160a01b0385169083908381818185875af1925050503d806000811461107f576040519150601f19603f3d011682016040523d82523d6000602084013e611084565b606091505b50509050806110a65760405163d23a9e8960e01b815260040160405180910390fd5b50505050565b6001600160a01b03811633146111215760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b61112b8282611b20565b5050565b611137611b87565b611153600061114e6008546001600160a01b031690565b611a9a565b565b610bb68383836040518060200160405280600081525061155c565b600061117b81611897565b610bb6838361187d565b600080516020612ce983398151915261119d81611897565b60008290036111bf57604051633ba0191160e01b815260040160405180910390fd5b600e6110a6838583612a06565b60006111d781611897565b6110a6848484611be1565b600061093a82611990565b60006111f881611897565b8382146112185760405163586cb9e160e01b815260040160405180910390fd5b6000805b8381101561125c5784848281811061123657611236612ac5565b9050602002013582611248919061290a565b91508061125481612adb565b91505061121c565b506115b38161126e6000546000190190565b611278919061290a565b111561129757604051632cdb04a160e21b815260040160405180910390fd5b60005b858110156112fc576112ea8787838181106112b7576112b7612ac5565b90506020020160208101906112cc919061259a565b8686848181106112de576112de612ac5565b9050602002013561187d565b806112f481612adb565b91505061129a565b50505050505050565b600e80546113129061294d565b80601f016020809104026020016040519081016040528092919081815260200182805461133e9061294d565b801561138b5780601f106113605761010080835404028352916020019161138b565b820191906000526020600020905b81548152906001019060200180831161136e57829003601f168201915b505050505081565b60006001600160a01b0382166113bc576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b6113e9611b87565b6111536000611cac565b600080516020612ce983398151915261140b81611897565b50601155565b600080516020612ce983398151915261142981611897565b50600f55565b60009182526009602090815260408084206001600160a01b0393909316845291905290205460ff1690565b600080516020612ce983398151915261147281611897565b600082900361149457604051633ba0191160e01b815260040160405180910390fd5b600d6110a6838583612a06565b606060038054610c269061294d565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600080516020612ce983398151915261153481611897565b601054821161155657604051634a000f7b60e11b815260040160405180910390fd5b50601055565b611567848484610dae565b6001600160a01b0383163b156110a65761158384848484611cfe565b6110a6576040516368d2bf6b60e11b815260040160405180910390fd5b60606115ab8261195b565b6115c857604051630a14c4b560e41b815260040160405180910390fd5b600e80546115d59061294d565b90506000036115f3576040518060200160405280600081525061093a565b600e6115fe83611de9565b60405160200161160f929190612af4565b60408051601f198184030181529082905261162c91602001612b72565b60405160208183030381529060405292915050565b60008281526009602052604090206001015461165c81611897565b610bb68383611b20565b600061167181611897565b50600a80546001600160a01b0319166001600160a01b0392909216919091179055565b600d80546113129061294d565b6116a9611b87565b6001600160a01b03811661170e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401611118565b61171781611cac565b50565b806001600160401b03163481600f5461173391906128eb565b14611751576040516303b59b0160e61b815260040160405180910390fd5b6115b3816117626000546000190190565b61176c919061290a565b111561178b57604051632cdb04a160e21b815260040160405180910390fd5b6010548161179833611849565b6001600160401b03166117ab919061290a565b11156117ca57604051637335356360e01b815260040160405180910390fd5b60026117d4610bbb565b60038111156117e5576117e56124ac565b146118035760405163275b660b60e01b815260040160405180910390fd5b6118113383610ace33611849565b61112b33836001600160401b031661187d565b60006001600160e01b0319821663da8def7360e01b148061093a575061093a82611e2d565b6001600160a01b031660009081526005602052604090205460c01c90565b6000826118748584611e7b565b14949350505050565b61112b828260405180602001604052806000815250611ec8565b6117178133611f2e565b6127106001600160601b03821611156118cc5760405162461bcd60e51b815260040161111890612b9b565b6001600160a01b0382166119225760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401611118565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600b55565b60008160011115801561196f575060005482105b801561093a575050600090815260046020526040902054600160e01b161590565b600081806001116119ed576000548110156119ed5760008181526004602052604081205490600160e01b821690036119eb575b806000036119e45750600019016000818152600460205260409020546119c3565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b6001600160a01b03841615801590611a2657506001600160a01b03831615155b8015611a395750611a373383611f87565b155b15611a955760405162461bcd60e51b815260206004820152602660248201527f4552433732314f70657261746f7246696c7465723a20696c6c6567616c206f7060448201526532b930ba37b960d11b6064820152608401611118565b6110a6565b611aa4828261142f565b61112b5760008281526009602090815260408083206001600160a01b03851684529091529020805460ff19166001179055611adc3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b611b2a828261142f565b1561112b5760008281526009602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6008546001600160a01b031633146111535760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401611118565b6127106001600160601b0382161115611c0c5760405162461bcd60e51b815260040161111890612b9b565b6001600160a01b038216611c625760405162461bcd60e51b815260206004820152601b60248201527f455243323938313a20496e76616c696420706172616d657465727300000000006044820152606401611118565b6040805180820182526001600160a01b0393841681526001600160601b0392831660208083019182526000968752600c90529190942093519051909116600160a01b029116179055565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611d33903390899088908890600401612be5565b6020604051808303816000875af1925050508015611d6e575060408051601f3d908101601f19168201909252611d6b91810190612c22565b60015b611dcc573d808015611d9c576040519150601f19603f3d011682016040523d82523d6000602084013e611da1565b606091505b508051600003611dc4576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a900480611e035750819003601f19909101908152919050565b60006301ffc9a760e01b6001600160e01b031983161480611e5e57506380ac58cd60e01b6001600160e01b03198316145b8061093a5750506001600160e01b031916635b5e139f60e01b1490565b600081815b8451811015611ec057611eac82868381518110611e9f57611e9f612ac5565b6020026020010151612040565b915080611eb881612adb565b915050611e80565b509392505050565b611ed2838361206c565b6001600160a01b0383163b15610bb6576000548281035b611efc6000868380600101945086611cfe565b611f19576040516368d2bf6b60e11b815260040160405180910390fd5b818110611ee9578160005414610b1d57600080fd5b611f38828261142f565b61112b57611f4581612177565b611f50836020612189565b604051602001611f61929190612c3f565b60408051601f198184030181529082905262461bcd60e51b825261111891600401612542565b600a546000906001600160a01b031680611fa557600191505061093a565b611fae836111e2565b6001600160a01b0316846001600160a01b031603611fd057600191505061093a565b604051630c962cb760e11b81523360048201526001600160a01b0382169063192c596e90602401602060405180830381865afa158015612014573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120389190612cb4565b949350505050565b600081831061205c5760008281526020849052604090206119e4565b5060009182526020526040902090565b60008054908290036120915760405163b562e8dd60e01b815260040160405180910390fd5b61209e6000848385611a06565b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461214d57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101612115565b508160000361216e57604051622e076360e81b815260040160405180910390fd5b60005550505050565b606061093a6001600160a01b03831660145b606060006121988360026128eb565b6121a390600261290a565b6001600160401b038111156121ba576121ba612797565b6040519080825280601f01601f1916602001820160405280156121e4576020820181803683370190505b509050600360fc1b816000815181106121ff576121ff612ac5565b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061222e5761222e612ac5565b60200101906001600160f81b031916908160001a90535060006122528460026128eb565b61225d90600161290a565b90505b60018111156122d5576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061229157612291612ac5565b1a60f81b8282815181106122a7576122a7612ac5565b60200101906001600160f81b031916908160001a90535060049490941c936122ce81612cd1565b9050612260565b5083156119e45760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401611118565b6001600160e01b03198116811461171757600080fd5b60006020828403121561234c57600080fd5b81356119e481612324565b60008083601f84011261236957600080fd5b5081356001600160401b0381111561238057600080fd5b6020830191508360208260051b8501011115610ffb57600080fd5b80356001600160401b03811681146123b257600080fd5b919050565b6000806000604084860312156123cc57600080fd5b83356001600160401b038111156123e257600080fd5b6123ee86828701612357565b909450925061240190506020850161239b565b90509250925092565b80356001600160801b03811681146123b257600080fd5b6000806040838503121561243457600080fd5b61243d8361240a565b915061244b6020840161240a565b90509250929050565b6001600160a01b038116811461171757600080fd5b80356001600160601b03811681146123b257600080fd5b6000806040838503121561249357600080fd5b823561249e81612454565b915061244b60208401612469565b634e487b7160e01b600052602160045260246000fd5b60208101600483106124e457634e487b7160e01b600052602160045260246000fd5b91905290565b60005b838110156125055781810151838201526020016124ed565b838111156110a65750506000910152565b6000815180845261252e8160208601602086016124ea565b601f01601f19169290920160200192915050565b6020815260006119e46020830184612516565b60006020828403121561256757600080fd5b5035919050565b6000806040838503121561258157600080fd5b823561258c81612454565b946020939093013593505050565b6000602082840312156125ac57600080fd5b81356119e481612454565b6000806000606084860312156125cc57600080fd5b83356125d781612454565b925060208401356125e781612454565b929592945050506040919091013590565b6000806040838503121561260b57600080fd5b50508035926020909101359150565b6000806040838503121561262d57600080fd5b82359150602083013561263f81612454565b809150509250929050565b6000806020838503121561265d57600080fd5b82356001600160401b038082111561267457600080fd5b818501915085601f83011261268857600080fd5b81358181111561269757600080fd5b8660208285010111156126a957600080fd5b60209290920196919550909350505050565b6000806000606084860312156126d057600080fd5b8335925060208401356126e281612454565b915061240160408501612469565b6000806000806040858703121561270657600080fd5b84356001600160401b038082111561271d57600080fd5b61272988838901612357565b9096509450602087013591508082111561274257600080fd5b5061274f87828801612357565b95989497509550505050565b801515811461171757600080fd5b6000806040838503121561277c57600080fd5b823561278781612454565b9150602083013561263f8161275b565b634e487b7160e01b600052604160045260246000fd5b600080600080608085870312156127c357600080fd5b84356127ce81612454565b935060208501356127de81612454565b92506040850135915060608501356001600160401b038082111561280157600080fd5b818701915087601f83011261281557600080fd5b81358181111561282757612827612797565b604051601f8201601f19908116603f0116810190838211818310171561284f5761284f612797565b816040528281528a602084870101111561286857600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806040838503121561289f57600080fd5b82356128aa81612454565b9150602083013561263f81612454565b6000602082840312156128cc57600080fd5b6119e48261239b565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615612905576129056128d5565b500290565b6000821982111561291d5761291d6128d5565b500190565b60006001600160401b03808316818516808303821115612944576129446128d5565b01949350505050565b600181811c9082168061296157607f821691505b60208210810361298157634e487b7160e01b600052602260045260246000fd5b50919050565b600082821015612999576129996128d5565b500390565b6000826129bb57634e487b7160e01b600052601260045260246000fd5b500490565b601f821115610bb657600081815260208120601f850160051c810160208610156129e75750805b601f850160051c820191505b81811015610f4c578281556001016129f3565b6001600160401b03831115612a1d57612a1d612797565b612a3183612a2b835461294d565b836129c0565b6000601f841160018114612a655760008515612a4d5750838201355b600019600387901b1c1916600186901b178355610b1d565b600083815260209020601f19861690835b82811015612a965786850135825560209485019460019092019101612a76565b5086821015612ab35760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b634e487b7160e01b600052603260045260246000fd5b600060018201612aed57612aed6128d5565b5060010190565b6000808454612b028161294d565b60018281168015612b1a5760018114612b2f57612b5e565b60ff1984168752821515830287019450612b5e565b8860005260208060002060005b85811015612b555781548a820152908401908201612b3c565b50505082870194505b5050505083516129448183602088016124ea565b60008251612b848184602087016124ea565b64173539b7b760d91b920191825250600501919050565b6020808252602a908201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646040820152692073616c65507269636560b01b606082015260800190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612c1890830184612516565b9695505050505050565b600060208284031215612c3457600080fd5b81516119e481612324565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351612c778160178501602088016124ea565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351612ca88160288401602088016124ea565b01602801949350505050565b600060208284031215612cc657600080fd5b81516119e48161275b565b600081612ce057612ce06128d5565b50600019019056fe241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b08a26469706673582212203749bcc46cb01534d3cc1149ffc1a7b825d3e41f446dfd4d2597f51d707eb59664736f6c634300080f0033697066733a2f2f516d5232793750326d3963626d746333314c736b765663626e3271784a50574e4534457672696f4a4a6a50756b4a241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b08697066733a2f2f516d5770786736787a59675a68647a6f656a72703848467855707072387350516156366b453558617366755a65582f000000000000000000000000d4746f083df2d2e06734466d863e170881897e7100000000000000000000000098a3fba3036c9ed0ad4b28eacd9d939d7e3e1366000000000000000000000000000000000000000000000000000000000000022b000000000000000000000000438c25354b3fea87aba46875cba259eae7b455db

Deployed Bytecode

0x6080604052600436106102c95760003560e01c8063689843e011610175578063a035b1fe116100dc578063d547741f11610095578063e985e9c51161006f578063e985e9c514610877578063ec87621c146108c0578063f2fde38b146108e2578063fb9d09c81461090257600080fd5b8063d547741f14610822578063d783925b14610842578063e8a3d4851461086257600080fd5b8063a035b1fe14610784578063a217fddf1461079a578063a22cb465146107af578063acf080d1146107cf578063b88d4fde146107ef578063c87b56dd1461080257600080fd5b8063902d55a51161012e578063902d55a5146106ae57806390aa0b0f146106c457806391b7f5ed1461070f57806391d148541461072f578063938e3d7b1461074f57806395d89b411461076f57600080fd5b8063689843e0146106085780636c0360eb1461062657806370a082311461063b578063715018a61461065b5780638da5cb5b146106705780638e0acd121461068e57600080fd5b8063293108e011610234578063396876bd116101ed57806355f804b3116101c757806355f804b3146105885780635944c753146105a85780636352211e146105c857806367243482146105e857600080fd5b8063396876bd1461053f57806342842e0e14610555578063484b973c1461056857600080fd5b8063293108e0146104755780632a55205a1461048b5780632f2ff15d146104ca57806331b3eb94146104ea57806336568abe1461050a57806338a59d971461052a57600080fd5b8063081812fc11610286578063081812fc1461039c578063095ea7b3146103d45780630c6b2cbf146103e757806318160ddd1461041557806323b872dd14610432578063248a9ca31461044557600080fd5b806301ffc9a7146102ce57806303f35fef1461030357806304392a4c1461031857806304634d8d14610338578063055ad42e1461035857806306fdde031461037a575b600080fd5b3480156102da57600080fd5b506102ee6102e936600461233a565b610915565b60405190151581526020015b60405180910390f35b6103166103113660046123b7565b610940565b005b34801561032457600080fd5b50610316610333366004612421565b610b24565b34801561034457600080fd5b50610316610353366004612480565b610ba1565b34801561036457600080fd5b5061036d610bbb565b6040516102fa91906124c2565b34801561038657600080fd5b5061038f610c17565b6040516102fa9190612542565b3480156103a857600080fd5b506103bc6103b7366004612555565b610ca9565b6040516001600160a01b0390911681526020016102fa565b6103166103e236600461256e565b610ced565b3480156103f357600080fd5b5061040761040236600461259a565b610d8d565b6040519081526020016102fa565b34801561042157600080fd5b506001546000540360001901610407565b6103166104403660046125b7565b610dae565b34801561045157600080fd5b50610407610460366004612555565b60009081526009602052604090206001015490565b34801561048157600080fd5b5061040760115481565b34801561049757600080fd5b506104ab6104a63660046125f8565b610f54565b604080516001600160a01b0390931683526020830191909152016102fa565b3480156104d657600080fd5b506103166104e536600461261a565b611002565b3480156104f657600080fd5b5061031661050536600461259a565b611027565b34801561051657600080fd5b5061031661052536600461261a565b6110ac565b34801561053657600080fd5b5061031661112f565b34801561054b57600080fd5b5061040760105481565b6103166105633660046125b7565b611155565b34801561057457600080fd5b5061031661058336600461256e565b611170565b34801561059457600080fd5b506103166105a336600461264a565b611185565b3480156105b457600080fd5b506103166105c33660046126bb565b6111cc565b3480156105d457600080fd5b506103bc6105e3366004612555565b6111e2565b3480156105f457600080fd5b506103166106033660046126f0565b6111ed565b34801561061457600080fd5b50600a546001600160a01b03166103bc565b34801561063257600080fd5b5061038f611305565b34801561064757600080fd5b5061040761065636600461259a565b611393565b34801561066757600080fd5b506103166113e1565b34801561067c57600080fd5b506008546001600160a01b03166103bc565b34801561069a57600080fd5b506103166106a9366004612555565b6113f3565b3480156106ba57600080fd5b506104076115b381565b3480156106d057600080fd5b506012546106ef906001600160801b0380821691600160801b90041682565b604080516001600160801b039384168152929091166020830152016102fa565b34801561071b57600080fd5b5061031661072a366004612555565b611411565b34801561073b57600080fd5b506102ee61074a36600461261a565b61142f565b34801561075b57600080fd5b5061031661076a36600461264a565b61145a565b34801561077b57600080fd5b5061038f6114a1565b34801561079057600080fd5b50610407600f5481565b3480156107a657600080fd5b50610407600081565b3480156107bb57600080fd5b506103166107ca366004612769565b6114b0565b3480156107db57600080fd5b506103166107ea366004612555565b61151c565b6103166107fd3660046127ad565b61155c565b34801561080e57600080fd5b5061038f61081d366004612555565b6115a0565b34801561082e57600080fd5b5061031661083d36600461261a565b611641565b34801561084e57600080fd5b5061031661085d36600461259a565b611666565b34801561086e57600080fd5b5061038f611694565b34801561088357600080fd5b506102ee61089236600461288c565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156108cc57600080fd5b50610407600080516020612ce983398151915281565b3480156108ee57600080fd5b506103166108fd36600461259a565b6116a1565b6103166109103660046128ba565b61171a565b600063152a902d60e11b6001600160e01b03198316148061093a575061093a82611824565b92915050565b806001600160401b03163481600f5461095991906128eb565b14610977576040516303b59b0160e61b815260040160405180910390fd5b6115b3816109886000546000190190565b610992919061290a565b11156109b157604051632cdb04a160e21b815260040160405180910390fd5b601054816109be33611849565b6001600160401b03166109d1919061290a565b11156109f057604051637335356360e01b815260040160405180910390fd5b60016109fa610bbb565b6003811115610a0b57610a0b6124ac565b14610a295760405163bb8f723160e01b815260040160405180910390fd5b6040516bffffffffffffffffffffffff193360601b166020820152600090603401604051602081830303815290604052805190602001209050610aa3858580806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506011549150849050611867565b610ac0576040516315ebf2b560e21b815260040160405180910390fd5b610b0a3384610ace33611849565b610ad89190612922565b6001600160a01b03909116600090815260056020526040902080546001600160c01b031660c09290921b919091179055565b610b1d33846001600160401b031661187d565b5050505050565b600080516020612ce9833981519152610b3c81611897565b816001600160801b0316836001600160801b031610610b6e57604051636de2dbdf60e01b815260040160405180910390fd5b50604080518082019091526001600160801b03928316808252919092166020909201829052600160801b90910217601255565b6000610bac81611897565b610bb683836118a1565b505050565b60006115b3610bcd6000546000190190565b03610bd85750600390565b601254600160801b90046001600160801b0316421115610bf85750600290565b6012546001600160801b0316421115610c115750600190565b50600090565b606060028054610c269061294d565b80601f0160208091040260200160405190810160405280929190818152602001828054610c529061294d565b8015610c9f5780601f10610c7457610100808354040283529160200191610c9f565b820191906000526020600020905b815481529060010190602001808311610c8257829003601f168201915b5050505050905090565b6000610cb48261195b565b610cd1576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610cf8826111e2565b9050336001600160a01b03821614610d3157610d148133610892565b610d31576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000610d9882611849565b6001600160401b031660105461093a9190612987565b6000610db982611990565b9050836001600160a01b0316816001600160a01b031614610dec5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417610e3957610e1c8633610892565b610e3957604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610e6057604051633a954ecd60e21b815260040160405180910390fd5b610e6d8686866001611a06565b8015610e7857600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003610f0a57600184016000818152600460205260408120549003610f08576000548114610f085760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b6000828152600c602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b0316928201929092528291610fc9575060408051808201909152600b546001600160a01b0381168252600160a01b90046001600160601b031660208201525b602081015160009061271090610fe8906001600160601b0316876128eb565b610ff2919061299e565b91519350909150505b9250929050565b60008281526009602052604090206001015461101d81611897565b610bb68383611a9a565b600061103281611897565b60405147906000906001600160a01b0385169083908381818185875af1925050503d806000811461107f576040519150601f19603f3d011682016040523d82523d6000602084013e611084565b606091505b50509050806110a65760405163d23a9e8960e01b815260040160405180910390fd5b50505050565b6001600160a01b03811633146111215760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b61112b8282611b20565b5050565b611137611b87565b611153600061114e6008546001600160a01b031690565b611a9a565b565b610bb68383836040518060200160405280600081525061155c565b600061117b81611897565b610bb6838361187d565b600080516020612ce983398151915261119d81611897565b60008290036111bf57604051633ba0191160e01b815260040160405180910390fd5b600e6110a6838583612a06565b60006111d781611897565b6110a6848484611be1565b600061093a82611990565b60006111f881611897565b8382146112185760405163586cb9e160e01b815260040160405180910390fd5b6000805b8381101561125c5784848281811061123657611236612ac5565b9050602002013582611248919061290a565b91508061125481612adb565b91505061121c565b506115b38161126e6000546000190190565b611278919061290a565b111561129757604051632cdb04a160e21b815260040160405180910390fd5b60005b858110156112fc576112ea8787838181106112b7576112b7612ac5565b90506020020160208101906112cc919061259a565b8686848181106112de576112de612ac5565b9050602002013561187d565b806112f481612adb565b91505061129a565b50505050505050565b600e80546113129061294d565b80601f016020809104026020016040519081016040528092919081815260200182805461133e9061294d565b801561138b5780601f106113605761010080835404028352916020019161138b565b820191906000526020600020905b81548152906001019060200180831161136e57829003601f168201915b505050505081565b60006001600160a01b0382166113bc576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b6113e9611b87565b6111536000611cac565b600080516020612ce983398151915261140b81611897565b50601155565b600080516020612ce983398151915261142981611897565b50600f55565b60009182526009602090815260408084206001600160a01b0393909316845291905290205460ff1690565b600080516020612ce983398151915261147281611897565b600082900361149457604051633ba0191160e01b815260040160405180910390fd5b600d6110a6838583612a06565b606060038054610c269061294d565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600080516020612ce983398151915261153481611897565b601054821161155657604051634a000f7b60e11b815260040160405180910390fd5b50601055565b611567848484610dae565b6001600160a01b0383163b156110a65761158384848484611cfe565b6110a6576040516368d2bf6b60e11b815260040160405180910390fd5b60606115ab8261195b565b6115c857604051630a14c4b560e41b815260040160405180910390fd5b600e80546115d59061294d565b90506000036115f3576040518060200160405280600081525061093a565b600e6115fe83611de9565b60405160200161160f929190612af4565b60408051601f198184030181529082905261162c91602001612b72565b60405160208183030381529060405292915050565b60008281526009602052604090206001015461165c81611897565b610bb68383611b20565b600061167181611897565b50600a80546001600160a01b0319166001600160a01b0392909216919091179055565b600d80546113129061294d565b6116a9611b87565b6001600160a01b03811661170e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401611118565b61171781611cac565b50565b806001600160401b03163481600f5461173391906128eb565b14611751576040516303b59b0160e61b815260040160405180910390fd5b6115b3816117626000546000190190565b61176c919061290a565b111561178b57604051632cdb04a160e21b815260040160405180910390fd5b6010548161179833611849565b6001600160401b03166117ab919061290a565b11156117ca57604051637335356360e01b815260040160405180910390fd5b60026117d4610bbb565b60038111156117e5576117e56124ac565b146118035760405163275b660b60e01b815260040160405180910390fd5b6118113383610ace33611849565b61112b33836001600160401b031661187d565b60006001600160e01b0319821663da8def7360e01b148061093a575061093a82611e2d565b6001600160a01b031660009081526005602052604090205460c01c90565b6000826118748584611e7b565b14949350505050565b61112b828260405180602001604052806000815250611ec8565b6117178133611f2e565b6127106001600160601b03821611156118cc5760405162461bcd60e51b815260040161111890612b9b565b6001600160a01b0382166119225760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401611118565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600b55565b60008160011115801561196f575060005482105b801561093a575050600090815260046020526040902054600160e01b161590565b600081806001116119ed576000548110156119ed5760008181526004602052604081205490600160e01b821690036119eb575b806000036119e45750600019016000818152600460205260409020546119c3565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b6001600160a01b03841615801590611a2657506001600160a01b03831615155b8015611a395750611a373383611f87565b155b15611a955760405162461bcd60e51b815260206004820152602660248201527f4552433732314f70657261746f7246696c7465723a20696c6c6567616c206f7060448201526532b930ba37b960d11b6064820152608401611118565b6110a6565b611aa4828261142f565b61112b5760008281526009602090815260408083206001600160a01b03851684529091529020805460ff19166001179055611adc3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b611b2a828261142f565b1561112b5760008281526009602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6008546001600160a01b031633146111535760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401611118565b6127106001600160601b0382161115611c0c5760405162461bcd60e51b815260040161111890612b9b565b6001600160a01b038216611c625760405162461bcd60e51b815260206004820152601b60248201527f455243323938313a20496e76616c696420706172616d657465727300000000006044820152606401611118565b6040805180820182526001600160a01b0393841681526001600160601b0392831660208083019182526000968752600c90529190942093519051909116600160a01b029116179055565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611d33903390899088908890600401612be5565b6020604051808303816000875af1925050508015611d6e575060408051601f3d908101601f19168201909252611d6b91810190612c22565b60015b611dcc573d808015611d9c576040519150601f19603f3d011682016040523d82523d6000602084013e611da1565b606091505b508051600003611dc4576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a900480611e035750819003601f19909101908152919050565b60006301ffc9a760e01b6001600160e01b031983161480611e5e57506380ac58cd60e01b6001600160e01b03198316145b8061093a5750506001600160e01b031916635b5e139f60e01b1490565b600081815b8451811015611ec057611eac82868381518110611e9f57611e9f612ac5565b6020026020010151612040565b915080611eb881612adb565b915050611e80565b509392505050565b611ed2838361206c565b6001600160a01b0383163b15610bb6576000548281035b611efc6000868380600101945086611cfe565b611f19576040516368d2bf6b60e11b815260040160405180910390fd5b818110611ee9578160005414610b1d57600080fd5b611f38828261142f565b61112b57611f4581612177565b611f50836020612189565b604051602001611f61929190612c3f565b60408051601f198184030181529082905262461bcd60e51b825261111891600401612542565b600a546000906001600160a01b031680611fa557600191505061093a565b611fae836111e2565b6001600160a01b0316846001600160a01b031603611fd057600191505061093a565b604051630c962cb760e11b81523360048201526001600160a01b0382169063192c596e90602401602060405180830381865afa158015612014573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120389190612cb4565b949350505050565b600081831061205c5760008281526020849052604090206119e4565b5060009182526020526040902090565b60008054908290036120915760405163b562e8dd60e01b815260040160405180910390fd5b61209e6000848385611a06565b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461214d57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101612115565b508160000361216e57604051622e076360e81b815260040160405180910390fd5b60005550505050565b606061093a6001600160a01b03831660145b606060006121988360026128eb565b6121a390600261290a565b6001600160401b038111156121ba576121ba612797565b6040519080825280601f01601f1916602001820160405280156121e4576020820181803683370190505b509050600360fc1b816000815181106121ff576121ff612ac5565b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061222e5761222e612ac5565b60200101906001600160f81b031916908160001a90535060006122528460026128eb565b61225d90600161290a565b90505b60018111156122d5576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061229157612291612ac5565b1a60f81b8282815181106122a7576122a7612ac5565b60200101906001600160f81b031916908160001a90535060049490941c936122ce81612cd1565b9050612260565b5083156119e45760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401611118565b6001600160e01b03198116811461171757600080fd5b60006020828403121561234c57600080fd5b81356119e481612324565b60008083601f84011261236957600080fd5b5081356001600160401b0381111561238057600080fd5b6020830191508360208260051b8501011115610ffb57600080fd5b80356001600160401b03811681146123b257600080fd5b919050565b6000806000604084860312156123cc57600080fd5b83356001600160401b038111156123e257600080fd5b6123ee86828701612357565b909450925061240190506020850161239b565b90509250925092565b80356001600160801b03811681146123b257600080fd5b6000806040838503121561243457600080fd5b61243d8361240a565b915061244b6020840161240a565b90509250929050565b6001600160a01b038116811461171757600080fd5b80356001600160601b03811681146123b257600080fd5b6000806040838503121561249357600080fd5b823561249e81612454565b915061244b60208401612469565b634e487b7160e01b600052602160045260246000fd5b60208101600483106124e457634e487b7160e01b600052602160045260246000fd5b91905290565b60005b838110156125055781810151838201526020016124ed565b838111156110a65750506000910152565b6000815180845261252e8160208601602086016124ea565b601f01601f19169290920160200192915050565b6020815260006119e46020830184612516565b60006020828403121561256757600080fd5b5035919050565b6000806040838503121561258157600080fd5b823561258c81612454565b946020939093013593505050565b6000602082840312156125ac57600080fd5b81356119e481612454565b6000806000606084860312156125cc57600080fd5b83356125d781612454565b925060208401356125e781612454565b929592945050506040919091013590565b6000806040838503121561260b57600080fd5b50508035926020909101359150565b6000806040838503121561262d57600080fd5b82359150602083013561263f81612454565b809150509250929050565b6000806020838503121561265d57600080fd5b82356001600160401b038082111561267457600080fd5b818501915085601f83011261268857600080fd5b81358181111561269757600080fd5b8660208285010111156126a957600080fd5b60209290920196919550909350505050565b6000806000606084860312156126d057600080fd5b8335925060208401356126e281612454565b915061240160408501612469565b6000806000806040858703121561270657600080fd5b84356001600160401b038082111561271d57600080fd5b61272988838901612357565b9096509450602087013591508082111561274257600080fd5b5061274f87828801612357565b95989497509550505050565b801515811461171757600080fd5b6000806040838503121561277c57600080fd5b823561278781612454565b9150602083013561263f8161275b565b634e487b7160e01b600052604160045260246000fd5b600080600080608085870312156127c357600080fd5b84356127ce81612454565b935060208501356127de81612454565b92506040850135915060608501356001600160401b038082111561280157600080fd5b818701915087601f83011261281557600080fd5b81358181111561282757612827612797565b604051601f8201601f19908116603f0116810190838211818310171561284f5761284f612797565b816040528281528a602084870101111561286857600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806040838503121561289f57600080fd5b82356128aa81612454565b9150602083013561263f81612454565b6000602082840312156128cc57600080fd5b6119e48261239b565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615612905576129056128d5565b500290565b6000821982111561291d5761291d6128d5565b500190565b60006001600160401b03808316818516808303821115612944576129446128d5565b01949350505050565b600181811c9082168061296157607f821691505b60208210810361298157634e487b7160e01b600052602260045260246000fd5b50919050565b600082821015612999576129996128d5565b500390565b6000826129bb57634e487b7160e01b600052601260045260246000fd5b500490565b601f821115610bb657600081815260208120601f850160051c810160208610156129e75750805b601f850160051c820191505b81811015610f4c578281556001016129f3565b6001600160401b03831115612a1d57612a1d612797565b612a3183612a2b835461294d565b836129c0565b6000601f841160018114612a655760008515612a4d5750838201355b600019600387901b1c1916600186901b178355610b1d565b600083815260209020601f19861690835b82811015612a965786850135825560209485019460019092019101612a76565b5086821015612ab35760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b634e487b7160e01b600052603260045260246000fd5b600060018201612aed57612aed6128d5565b5060010190565b6000808454612b028161294d565b60018281168015612b1a5760018114612b2f57612b5e565b60ff1984168752821515830287019450612b5e565b8860005260208060002060005b85811015612b555781548a820152908401908201612b3c565b50505082870194505b5050505083516129448183602088016124ea565b60008251612b848184602087016124ea565b64173539b7b760d91b920191825250600501919050565b6020808252602a908201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646040820152692073616c65507269636560b01b606082015260800190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612c1890830184612516565b9695505050505050565b600060208284031215612c3457600080fd5b81516119e481612324565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351612c778160178501602088016124ea565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351612ca88160288401602088016124ea565b01602801949350505050565b600060208284031215612cc657600080fd5b81516119e48161275b565b600081612ce057612ce06128d5565b50600019019056fe241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b08a26469706673582212203749bcc46cb01534d3cc1149ffc1a7b825d3e41f446dfd4d2597f51d707eb59664736f6c634300080f0033

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

000000000000000000000000d4746f083df2d2e06734466d863e170881897e7100000000000000000000000098a3fba3036c9ed0ad4b28eacd9d939d7e3e1366000000000000000000000000000000000000000000000000000000000000022b000000000000000000000000438c25354b3fea87aba46875cba259eae7b455db

-----Decoded View---------------
Arg [0] : owner_ (address): 0xd4746f083DF2D2e06734466D863E170881897E71
Arg [1] : manager_ (address): 0x98A3fbA3036C9ed0Ad4b28EacD9d939D7e3e1366
Arg [2] : initialQty_ (uint256): 555
Arg [3] : filter_ (address): 0x438c25354B3fEa87aBA46875CbA259Eae7b455DB

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 000000000000000000000000d4746f083df2d2e06734466d863e170881897e71
Arg [1] : 00000000000000000000000098a3fba3036c9ed0ad4b28eacd9d939d7e3e1366
Arg [2] : 000000000000000000000000000000000000000000000000000000000000022b
Arg [3] : 000000000000000000000000438c25354b3fea87aba46875cba259eae7b455db


Deployed Bytecode Sourcemap

99283:7485:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;105402:339;;;;;;;;;;-1:-1:-1;105402:339:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;105402:339:0;;;;;;;;101019:520;;;;;;:::i;:::-;;:::i;:::-;;103030:319;;;;;;;;;;-1:-1:-1;103030:319:0;;;;;:::i;:::-;;:::i;104267:188::-;;;;;;;;;;-1:-1:-1;104267:188:0;;;;;:::i;:::-;;:::i;106105:398::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;50524:100::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;57015:218::-;;;;;;;;;;-1:-1:-1;57015:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;4331:32:1;;;4313:51;;4301:2;4286:18;57015:218:0;4167:203:1;56448:408:0;;;;;;:::i;:::-;;:::i;106534:122::-;;;;;;;;;;-1:-1:-1;106534:122:0;;;;;:::i;:::-;;:::i;:::-;;;5093:25:1;;;5081:2;5066:18;106534:122:0;4947:177:1;46275:323:0;;;;;;;;;;-1:-1:-1;106756:1:0;46549:12;46336:7;46533:13;:28;-1:-1:-1;;46533:46:0;46275:323;;60654:2825;;;;;;:::i;:::-;;:::i;27517:131::-;;;;;;;;;;-1:-1:-1;27517:131:0;;;;;:::i;:::-;27591:7;27618:12;;;:6;:12;;;;;:22;;;;27517:131;99942:34;;;;;;;;;;;;;;;;86876:442;;;;;;;;;;-1:-1:-1;86876:442:0;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;6402:32:1;;;6384:51;;6466:2;6451:18;;6444:34;;;;6357:18;86876:442:0;6210:274:1;27958:147:0;;;;;;;;;;-1:-1:-1;27958:147:0;;;;;:::i;:::-;;:::i;103629:356::-;;;;;;;;;;-1:-1:-1;103629:356:0;;;;;:::i;:::-;;:::i;29102:218::-;;;;;;;;;;-1:-1:-1;29102:218:0;;;;;:::i;:::-;;:::i;103517:104::-;;;;;;;;;;;;;:::i;99901:32::-;;;;;;;;;;;;;;;;63575:193;;;;;;:::i;:::-;;:::i;101806:166::-;;;;;;;;;;-1:-1:-1;101806:166:0;;;;;:::i;:::-;;:::i;102795:227::-;;;;;;;;;;-1:-1:-1;102795:227:0;;;;;:::i;:::-;;:::i;104855:221::-;;;;;;;;;;-1:-1:-1;104855:221:0;;;;;:::i;:::-;;:::i;51917:152::-;;;;;;;;;;-1:-1:-1;51917:152:0;;;;;:::i;:::-;;:::i;101980:552::-;;;;;;;;;;-1:-1:-1;101980:552:0;;;;;:::i;:::-;;:::i;83252:105::-;;;;;;;;;;-1:-1:-1;83334:15:0;;-1:-1:-1;;;;;83334:15:0;83252:105;;99771:80;;;;;;;;;;;;;:::i;47459:233::-;;;;;;;;;;-1:-1:-1;47459:233:0;;;;;:::i;:::-;;:::i;2667:103::-;;;;;;;;;;;;;:::i;2019:87::-;;;;;;;;;;-1:-1:-1;2092:6:0;;-1:-1:-1;;;;;2092:6:0;2019:87;;103357:152;;;;;;;;;;-1:-1:-1;103357:152:0;;;;;:::i;:::-;;:::i;99558:43::-;;;;;;;;;;;;99597:4;99558:43;;99985:28;;;;;;;;;;-1:-1:-1;99985:28:0;;;;-1:-1:-1;;;;;99985:28:0;;;;-1:-1:-1;;;99985:28:0;;;;;;;;;-1:-1:-1;;;;;9313:15:1;;;9295:34;;9365:15;;;;9360:2;9345:18;;9338:43;9215:18;99985:28:0;9068:319:1;105291:103:0;;;;;;;;;;-1:-1:-1;105291:103:0;;;;;:::i;:::-;;:::i;25990:147::-;;;;;;;;;;-1:-1:-1;25990:147:0;;;;;:::i;:::-;;:::i;102540:247::-;;;;;;;;;;-1:-1:-1;102540:247:0;;;;;:::i;:::-;;:::i;50700:104::-;;;;;;;;;;;;;:::i;99860:34::-;;;;;;;;;;;;;;;;25095:49;;;;;;;;;;-1:-1:-1;25095:49:0;25140:4;25095:49;;57573:234;;;;;;;;;;-1:-1:-1;57573:234:0;;;;;:::i;:::-;;:::i;105084:199::-;;;;;;;;;;-1:-1:-1;105084:199:0;;;;;:::i;:::-;;:::i;64366:407::-;;;;;;:::i;:::-;;:::i;105749:307::-;;;;;;;;;;-1:-1:-1;105749:307:0;;;;;:::i;:::-;;:::i;28398:149::-;;;;;;;;;;-1:-1:-1;28398:149:0;;;;;:::i;:::-;;:::i;83114:130::-;;;;;;;;;;-1:-1:-1;83114:130:0;;;;;:::i;:::-;;:::i;99681:83::-;;;;;;;;;;;;;:::i;57964:164::-;;;;;;;;;;-1:-1:-1;57964:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;58085:25:0;;;58061:4;58085:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;57964:164;99608:64;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;99608:64:0;;2925:201;;;;;;;;;;-1:-1:-1;2925:201:0;;;;;:::i;:::-;;:::i;101547:251::-;;;;;;:::i;:::-;;:::i;105402:339::-;105563:4;-1:-1:-1;;;;;;;;;105605:25:0;;;;:128;;;105682:51;105721:11;105682:38;:51::i;:::-;105585:148;105402:339;-1:-1:-1;;105402:339:0:o;101019:520::-;101146:8;-1:-1:-1;;;;;100022:376:0;100095:9;100083:8;100075:5;;:16;;;;:::i;:::-;:29;100071:89;;100128:20;;-1:-1:-1;;;100128:20:0;;;;;;;;;;;100071:89;99597:4;100191:8;100174:14;46751:7;46942:13;-1:-1:-1;;46942:31:0;;46696:296;100174:14;:25;;;;:::i;:::-;:40;100170:91;;;100238:11;;-1:-1:-1;;;100238:11:0;;;;;;;;;;;100170:91;100308:13;;100297:8;100275:19;100283:10;100275:7;:19::i;:::-;-1:-1:-1;;;;;100275:30:0;;;;;:::i;:::-;:46;100271:108;;;100345:22;;-1:-1:-1;;;100345:22:0;;;;;;;;;;;100271:108;101194:15:::1;101176:14;:12;:14::i;:::-;:33;;;;;;;;:::i;:::-;;101172:65;;101218:19;;-1:-1:-1::0;;;101218:19:0::1;;;;;;;;;;;101172:65;101273:28;::::0;-1:-1:-1;;101290:10:0::1;12750:2:1::0;12746:15;12742:53;101273:28:0::1;::::0;::::1;12730:66:1::0;101248:12:0::1;::::0;12812::1;;101273:28:0::1;;;;;;;;;;;;101263:39;;;;;;101248:54;;101318:58;101337:11;;101318:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;;101350:19:0::1;::::0;;-1:-1:-1;101371:4:0;;-1:-1:-1;101318:18:0::1;:58::i;:::-;101313:115;;101400:16;;-1:-1:-1::0;;;101400:16:0::1;;;;;;;;;;;101313:115;101438:51;101446:10;101480:8;101458:19;101466:10;101458:7;:19::i;:::-;:30;;;;:::i;:::-;-1:-1:-1::0;;;;;48760:25:0;;;48743:14;48760:25;;;:18;:25;;;;;;;-1:-1:-1;;;;;48960:32:0;41992:3;48997:24;;;;48959:63;;;;49033:34;;48671:404;101438:51:::1;101500:31;101510:10;101522:8;-1:-1:-1::0;;;;;101500:31:0::1;:9;:31::i;:::-;101161:378;101019:520:::0;;;;:::o;103030:319::-;-1:-1:-1;;;;;;;;;;;25586:16:0;25597:4;25586:10;:16::i;:::-;103198:15:::1;-1:-1:-1::0;;;;;103176:37:0::1;:18;-1:-1:-1::0;;;;;103176:37:0::1;;103172:98;;103235:35;;-1:-1:-1::0;;;103235:35:0::1;;;;;;;;;;;103172:98;-1:-1:-1::0;103294:47:0::1;::::0;;;;::::1;::::0;;;-1:-1:-1;;;;;103294:47:0;;::::1;::::0;;;;;;::::1;;::::0;;::::1;::::0;;;-1:-1:-1;;;103281:60:0;;::::1;;:10;:60:::0;103030:319::o;104267:188::-;25140:4;25586:16;25140:4;25586:10;:16::i;:::-;104405:42:::1;104424:8;104434:12;104405:18;:42::i;:::-;104267:188:::0;;;:::o;106105:398::-;106150:5;99597:4;106172:14;46751:7;46942:13;-1:-1:-1;;46942:31:0;;46696:296;106172:14;:30;106168:328;;-1:-1:-1;106226:10:0;;106105:398::o;106168:328::-;106276:10;:21;-1:-1:-1;;;106276:21:0;;-1:-1:-1;;;;;106276:21:0;106258:15;:39;106254:242;;;-1:-1:-1;106321:12:0;;106105:398::o;106254:242::-;106373:10;:20;-1:-1:-1;;;;;106373:20:0;106355:15;:38;106351:145;;;-1:-1:-1;106417:15:0;;106105:398::o;106351:145::-;-1:-1:-1;106472:12:0;;106105:398::o;50524:100::-;50578:13;50611:5;50604:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50524:100;:::o;57015:218::-;57091:7;57116:16;57124:7;57116;:16::i;:::-;57111:64;;57141:34;;-1:-1:-1;;;57141:34:0;;;;;;;;;;;57111:64;-1:-1:-1;57195:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;57195:30:0;;57015:218::o;56448:408::-;56537:13;56553:16;56561:7;56553;:16::i;:::-;56537:32;-1:-1:-1;80781:10:0;-1:-1:-1;;;;;56586:28:0;;;56582:175;;56634:44;56651:5;80781:10;57964:164;:::i;56634:44::-;56629:128;;56706:35;;-1:-1:-1;;;56706:35:0;;;;;;;;;;;56629:128;56769:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;56769:35:0;-1:-1:-1;;;;;56769:35:0;;;;;;;;;56820:28;;56769:24;;56820:28;;;;;;;56526:330;56448:408;;:::o;106534:122::-;106592:7;106635:13;106643:4;106635:7;:13::i;:::-;-1:-1:-1;;;;;106619:29:0;:13;;:29;;;;:::i;60654:2825::-;60796:27;60826;60845:7;60826:18;:27::i;:::-;60796:57;;60911:4;-1:-1:-1;;;;;60870:45:0;60886:19;-1:-1:-1;;;;;60870:45:0;;60866:86;;60924:28;;-1:-1:-1;;;60924:28:0;;;;;;;;;;;60866:86;60966:27;59762:24;;;:15;:24;;;;;59990:26;;80781:10;59387:30;;;-1:-1:-1;;;;;59080:28:0;;59365:20;;;59362:56;61152:180;;61245:43;61262:4;80781:10;57964:164;:::i;61245:43::-;61240:92;;61297:35;;-1:-1:-1;;;61297:35:0;;;;;;;;;;;61240:92;-1:-1:-1;;;;;61349:16:0;;61345:52;;61374:23;;-1:-1:-1;;;61374:23:0;;;;;;;;;;;61345:52;61410:43;61432:4;61438:2;61442:7;61451:1;61410:21;:43::i;:::-;61546:15;61543:160;;;61686:1;61665:19;61658:30;61543:160;-1:-1:-1;;;;;62083:24:0;;;;;;;:18;:24;;;;;;62081:26;;-1:-1:-1;;62081:26:0;;;62152:22;;;;;;;;;62150:24;;-1:-1:-1;62150:24:0;;;55306:11;55281:23;55277:41;55264:63;-1:-1:-1;;;55264:63:0;62445:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;62740:47:0;;:52;;62736:627;;62845:1;62835:11;;62813:19;62968:30;;;:17;:30;;;;;;:35;;62964:384;;63106:13;;63091:11;:28;63087:242;;63253:30;;;;:17;:30;;;;;:52;;;63087:242;62794:569;62736:627;63410:7;63406:2;-1:-1:-1;;;;;63391:27:0;63400:4;-1:-1:-1;;;;;63391:27:0;;;;;;;;;;;63429:42;60785:2694;;;60654:2825;;;:::o;86876:442::-;86973:7;87031:27;;;:17;:27;;;;;;;;87002:56;;;;;;;;;-1:-1:-1;;;;;87002:56:0;;;;;-1:-1:-1;;;87002:56:0;;;-1:-1:-1;;;;;87002:56:0;;;;;;;;86973:7;;87071:92;;-1:-1:-1;87122:29:0;;;;;;;;;87132:19;87122:29;-1:-1:-1;;;;;87122:29:0;;;;-1:-1:-1;;;87122:29:0;;-1:-1:-1;;;;;87122:29:0;;;;;87071:92;87213:23;;;;87175:21;;87684:5;;87200:36;;-1:-1:-1;;;;;87200:36:0;:10;:36;:::i;:::-;87199:58;;;;:::i;:::-;87278:16;;;-1:-1:-1;87175:82:0;;-1:-1:-1;;86876:442:0;;;;;;:::o;27958:147::-;27591:7;27618:12;;;:6;:12;;;;;:22;;;25586:16;25597:4;25586:10;:16::i;:::-;28072:25:::1;28083:4;28089:7;28072:10;:25::i;103629:356::-:0;25140:4;25586:16;25140:4;25586:10;:16::i;:::-;103822:30:::1;::::0;103768:21:::1;::::0;103750:15:::1;::::0;-1:-1:-1;;;;;103822:10:0;::::1;::::0;103768:21;;103750:15;103822:30;103750:15;103822:30;103768:21;103822:10;:30:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;103800:52;;;103914:10;103909:69;;103948:18;;-1:-1:-1::0;;;103948:18:0::1;;;;;;;;;;;103909:69;103739:246;;103629:356:::0;;:::o;29102:218::-;-1:-1:-1;;;;;29198:23:0;;80781:10;29198:23;29190:83;;;;-1:-1:-1;;;29190:83:0;;14225:2:1;29190:83:0;;;14207:21:1;14264:2;14244:18;;;14237:30;14303:34;14283:18;;;14276:62;-1:-1:-1;;;14354:18:1;;;14347:45;14409:19;;29190:83:0;;;;;;;;;29286:26;29298:4;29304:7;29286:11;:26::i;:::-;29102:218;;:::o;103517:104::-;1905:13;:11;:13::i;:::-;103574:39:::1;25140:4;103605:7;2092:6:::0;;-1:-1:-1;;;;;2092:6:0;;2019:87;103605:7:::1;103574:10;:39::i;:::-;103517:104::o:0;63575:193::-;63721:39;63738:4;63744:2;63748:7;63721:39;;;;;;;;;;;;:16;:39::i;101806:166::-;25140:4;25586:16;25140:4;25586:10;:16::i;:::-;101934:30:::1;101944:9;101955:8;101934:9;:30::i;102795:227::-:0;-1:-1:-1;;;;;;;;;;;25586:16:0;25597:4;25586:10;:16::i;:::-;102937:1:::1;102911:27:::0;;;102907:79:::1;;102962:12;;-1:-1:-1::0;;;102962:12:0::1;;;;;;;;;;;102907:79;102996:7;:18;103006:8:::0;;102996:7;:18:::1;:::i;104855:221::-:0;25140:4;25586:16;25140:4;25586:10;:16::i;:::-;105019:49:::1;105036:7;105045:8;105055:12;105019:16;:49::i;51917:152::-:0;51989:7;52032:27;52051:7;52032:18;:27::i;101980:552::-;25140:4;25586:16;25140:4;25586:10;:16::i;:::-;102136:37;;::::1;102132:67;;102182:17;;-1:-1:-1::0;;;102182:17:0::1;;;;;;;;;;;102132:67;102210:13;::::0;102234:97:::1;102254:21:::0;;::::1;102234:97;;;102306:10;;102317:1;102306:13;;;;;;;:::i;:::-;;;;;;;102297:22;;;;;:::i;:::-;::::0;-1:-1:-1;102277:3:0;::::1;::::0;::::1;:::i;:::-;;;;102234:97;;;;99597:4;102362:5;102345:14;46751:7:::0;46942:13;-1:-1:-1;;46942:31:0;;46696:296;102345:14:::1;:22;;;;:::i;:::-;:37;102341:61;;;102391:11;;-1:-1:-1::0;;;102391:11:0::1;;;;;;;;;;;102341:61;102418:9;102413:112;102433:20:::0;;::::1;102413:112;;;102475:38;102485:9;;102495:1;102485:12;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;102499:10;;102510:1;102499:13;;;;;;;:::i;:::-;;;;;;;102475:9;:38::i;:::-;102455:3:::0;::::1;::::0;::::1;:::i;:::-;;;;102413:112;;;;102121:411;101980:552:::0;;;;;:::o;99771:80::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;47459:233::-;47531:7;-1:-1:-1;;;;;47555:19:0;;47551:60;;47583:28;;-1:-1:-1;;;47583:28:0;;;;;;;;;;;47551:60;-1:-1:-1;;;;;;47629:25:0;;;;;:18;:25;;;;;;-1:-1:-1;;;;;47629:55:0;;47459:233::o;2667:103::-;1905:13;:11;:13::i;:::-;2732:30:::1;2759:1;2732:18;:30::i;103357:152::-:0;-1:-1:-1;;;;;;;;;;;25586:16:0;25597:4;25586:10;:16::i;:::-;-1:-1:-1;103469:19:0::1;:32:::0;103357:152::o;105291:103::-;-1:-1:-1;;;;;;;;;;;25586:16:0;25597:4;25586:10;:16::i;:::-;-1:-1:-1;105370:5:0::1;:16:::0;105291:103::o;25990:147::-;26076:4;26100:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;26100:29:0;;;;;;;;;;;;;;;25990:147::o;102540:247::-;-1:-1:-1;;;;;;;;;;;25586:16:0;25597:4;25586:10;:16::i;:::-;102694:1:::1;102664:31:::0;;;102660:83:::1;;102719:12;;-1:-1:-1::0;;;102719:12:0::1;;;;;;;;;;;102660:83;102753:11;:26;102767:12:::0;;102753:11;:26:::1;:::i;50700:104::-:0;50756:13;50789:7;50782:14;;;;;:::i;57573:234::-;80781:10;57668:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;57668:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;57668:60:0;;;;;;;;;;57744:55;;540:41:1;;;57668:49:0;;80781:10;57744:55;;513:18:1;57744:55:0;;;;;;;57573:234;;:::o;105084:199::-;-1:-1:-1;;;;;;;;;;;25586:16:0;25597:4;25586:10;:16::i;:::-;105188:13:::1;;105175:9;:26;105172:67;;105210:29;;-1:-1:-1::0;;;105210:29:0::1;;;;;;;;;;;105172:67;-1:-1:-1::0;105250:13:0::1;:25:::0;105084:199::o;64366:407::-;64541:31;64554:4;64560:2;64564:7;64541:12;:31::i;:::-;-1:-1:-1;;;;;64587:14:0;;;:19;64583:183;;64626:56;64657:4;64663:2;64667:7;64676:5;64626:30;:56::i;:::-;64621:145;;64710:40;;-1:-1:-1;;;64710:40:0;;;;;;;;;;;105749:307;105822:13;105853:16;105861:7;105853;:16::i;:::-;105848:59;;105878:29;;-1:-1:-1;;;105878:29:0;;;;;;;;;;;105848:59;105933:7;105927:21;;;;;:::i;:::-;;;105952:1;105927:26;:121;;;;;;;;;;;;;;;;;106004:7;106013:18;106023:7;106013:9;:18::i;:::-;105987:45;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;105987:45:0;;;;;;;;;;105963:79;;105987:45;105963:79;;:::i;:::-;;;;;;;;;;;;;105920:128;105749:307;-1:-1:-1;;105749:307:0:o;28398:149::-;27591:7;27618:12;;;:6;:12;;;;;:22;;;25586:16;25597:4;25586:10;:16::i;:::-;28513:26:::1;28525:4;28531:7;28513:11;:26::i;83114:130::-:0;25140:4;25586:16;25140:4;25586:10;:16::i;:::-;-1:-1:-1;83212:15:0::1;:24:::0;;-1:-1:-1;;;;;;83212:24:0::1;-1:-1:-1::0;;;;;83212:24:0;;;::::1;::::0;;;::::1;::::0;;83114:130::o;99681:83::-;;;;;;;:::i;2925:201::-;1905:13;:11;:13::i;:::-;-1:-1:-1;;;;;3014:22:0;::::1;3006:73;;;::::0;-1:-1:-1;;;3006:73:0;;18431:2:1;3006:73:0::1;::::0;::::1;18413:21:1::0;18470:2;18450:18;;;18443:30;18509:34;18489:18;;;18482:62;-1:-1:-1;;;18560:18:1;;;18553:36;18606:19;;3006:73:0::1;18229:402:1::0;3006:73:0::1;3090:28;3109:8;3090:18;:28::i;:::-;2925:201:::0;:::o;101547:251::-;101606:8;-1:-1:-1;;;;;100022:376:0;100095:9;100083:8;100075:5;;:16;;;;:::i;:::-;:29;100071:89;;100128:20;;-1:-1:-1;;;100128:20:0;;;;;;;;;;;100071:89;99597:4;100191:8;100174:14;46751:7;46942:13;-1:-1:-1;;46942:31:0;;46696:296;100174:14;:25;;;;:::i;:::-;:40;100170:91;;;100238:11;;-1:-1:-1;;;100238:11:0;;;;;;;;;;;100170:91;100308:13;;100297:8;100275:19;100283:10;100275:7;:19::i;:::-;-1:-1:-1;;;;;100275:30:0;;;;;:::i;:::-;:46;100271:108;;;100345:22;;-1:-1:-1;;;100345:22:0;;;;;;;;;;;100271:108;101649:12:::1;101631:14;:12;:14::i;:::-;:30;;;;;;;;:::i;:::-;;101627:59;;101670:16;;-1:-1:-1::0;;;101670:16:0::1;;;;;;;;;;;101627:59;101697:51;101705:10;101739:8;101717:19;101725:10;101717:7;:19::i;101697:51::-;101759:31;101769:10;101781:8;-1:-1:-1::0;;;;;101759:31:0::1;:9;:31::i;83365:305::-:0;83519:4;-1:-1:-1;;;;;;83561:46:0;;-1:-1:-1;;;83561:46:0;;:101;;;83624:38;83650:11;83624:25;:38::i;48346:137::-;-1:-1:-1;;;;;48434:25:0;48401:6;48434:25;;;:18;:25;;;;;;41992:3;48434:40;;48346:137::o;90492:190::-;90617:4;90670;90641:25;90654:5;90661:4;90641:12;:25::i;:::-;:33;;90492:190;-1:-1:-1;;;;90492:190:0:o;74526:112::-;74603:27;74613:2;74617:8;74603:27;;;;;;;;;;;;:9;:27::i;26441:105::-;26508:30;26519:4;80781:10;26508;:30::i;87968:332::-;87684:5;-1:-1:-1;;;;;88071:33:0;;;;88063:88;;;;-1:-1:-1;;;88063:88:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;88170:22:0;;88162:60;;;;-1:-1:-1;;;88162:60:0;;19249:2:1;88162:60:0;;;19231:21:1;19288:2;19268:18;;;19261:30;19327:27;19307:18;;;19300:55;19372:18;;88162:60:0;19047:349:1;88162:60:0;88257:35;;;;;;;;;-1:-1:-1;;;;;88257:35:0;;;;;;-1:-1:-1;;;;;88257:35:0;;;;;;;;;;-1:-1:-1;;;88235:57:0;;;;:19;:57;87968:332::o;58386:282::-;58451:4;58507:7;106756:1;58488:26;;:66;;;;;58541:13;;58531:7;:23;58488:66;:153;;;;-1:-1:-1;;58592:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;58592:44:0;:49;;58386:282::o;53072:1275::-;53139:7;53174;;106756:1;53223:23;53219:1061;;53276:13;;53269:4;:20;53265:1015;;;53314:14;53331:23;;;:17;:23;;;;;;;-1:-1:-1;;;53420:24:0;;:29;;53416:845;;54085:113;54092:6;54102:1;54092:11;54085:113;;-1:-1:-1;;;54163:6:0;54145:25;;;;:17;:25;;;;;;54085:113;;;54231:6;53072:1275;-1:-1:-1;;;53072:1275:0:o;53416:845::-;53291:989;53265:1015;54308:31;;-1:-1:-1;;;54308:31:0;;;;;;;;;;;83678:477;-1:-1:-1;;;;;83882:18:0;;;;;;:51;;-1:-1:-1;;;;;;83917:16:0;;;;83882:51;:107;;;;;83951:38;83964:10;83976:12;83951;:38::i;:::-;83950:39;83882:107;83864:212;;;84016:48;;-1:-1:-1;;;84016:48:0;;19603:2:1;84016:48:0;;;19585:21:1;19642:2;19622:18;;;19615:30;19681:34;19661:18;;;19654:62;-1:-1:-1;;;19732:18:1;;;19725:36;19778:19;;84016:48:0;19401:402:1;83864:212:0;84086:61;103629:356;30699:238;30783:22;30791:4;30797:7;30783;:22::i;:::-;30778:152;;30822:12;;;;:6;:12;;;;;;;;-1:-1:-1;;;;;30822:29:0;;;;;;;;;:36;;-1:-1:-1;;30822:36:0;30854:4;30822:36;;;30905:12;80781:10;;80694:105;30905:12;-1:-1:-1;;;;;30878:40:0;30896:7;-1:-1:-1;;;;;30878:40:0;30890:4;30878:40;;;;;;;;;;30699:238;;:::o;31117:239::-;31201:22;31209:4;31215:7;31201;:22::i;:::-;31197:152;;;31272:5;31240:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;31240:29:0;;;;;;;;;;:37;;-1:-1:-1;;31240:37:0;;;31297:40;80781:10;;31240:12;;31297:40;;31272:5;31297:40;31117:239;;:::o;2184:132::-;2092:6;;-1:-1:-1;;;;;2092:6:0;80781:10;2248:23;2240:68;;;;-1:-1:-1;;;2240:68:0;;20010:2:1;2240:68:0;;;19992:21:1;;;20029:18;;;20022:30;20088:34;20068:18;;;20061:62;20140:18;;2240:68:0;19808:356:1;88751:390:0;87684:5;-1:-1:-1;;;;;88903:33:0;;;;88895:88;;;;-1:-1:-1;;;88895:88:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;89002:22:0;;88994:62;;;;-1:-1:-1;;;88994:62:0;;20371:2:1;88994:62:0;;;20353:21:1;20410:2;20390:18;;;20383:30;20449:29;20429:18;;;20422:57;20496:18;;88994:62:0;20169:351:1;88994:62:0;89098:35;;;;;;;;-1:-1:-1;;;;;89098:35:0;;;;;-1:-1:-1;;;;;89098:35:0;;;;;;;;;;-1:-1:-1;89069:26:0;;;:17;:26;;;;;;:64;;;;;;;-1:-1:-1;;;89069:64:0;;;;;;88751:390::o;3286:191::-;3379:6;;;-1:-1:-1;;;;;3396:17:0;;;-1:-1:-1;;;;;;3396:17:0;;;;;;;3429:40;;3379:6;;;3396:17;3379:6;;3429:40;;3360:16;;3429:40;3349:128;3286:191;:::o;66857:716::-;67041:88;;-1:-1:-1;;;67041:88:0;;67020:4;;-1:-1:-1;;;;;67041:45:0;;;;;:88;;80781:10;;67108:4;;67114:7;;67123:5;;67041:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;67041:88:0;;;;;;;;-1:-1:-1;;67041:88:0;;;;;;;;;;;;:::i;:::-;;;67037:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;67324:6;:13;67341:1;67324:18;67320:235;;67370:40;;-1:-1:-1;;;67370:40:0;;;;;;;;;;;67320:235;67513:6;67507:13;67498:6;67494:2;67490:15;67483:38;67037:529;-1:-1:-1;;;;;;67200:64:0;-1:-1:-1;;;67200:64:0;;-1:-1:-1;66857:716:0;;;;;;:::o;80901:1745::-;80966:17;81400:4;81393;81387:11;81383:22;81492:1;81486:4;81479:15;81567:4;81564:1;81560:12;81553:19;;;81649:1;81644:3;81637:14;81753:3;81992:5;81974:428;82040:1;82035:3;82031:11;82024:18;;82211:2;82205:4;82201:13;82197:2;82193:22;82188:3;82180:36;82305:2;82295:13;;82362:25;81974:428;82362:25;-1:-1:-1;82432:13:0;;;-1:-1:-1;;82547:14:0;;;82609:19;;;82547:14;80901:1745;-1:-1:-1;80901:1745:0:o;49622:639::-;49707:4;-1:-1:-1;;;;;;;;;50031:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;50108:25:0;;;50031:102;:179;;;-1:-1:-1;;;;;;;;50185:25:0;-1:-1:-1;;;50185:25:0;;49622:639::o;91359:296::-;91442:7;91485:4;91442:7;91500:118;91524:5;:12;91520:1;:16;91500:118;;;91573:33;91583:12;91597:5;91603:1;91597:8;;;;;;;;:::i;:::-;;;;;;;91573:9;:33::i;:::-;91558:48;-1:-1:-1;91538:3:0;;;;:::i;:::-;;;;91500:118;;;-1:-1:-1;91635:12:0;91359:296;-1:-1:-1;;;91359:296:0:o;73753:689::-;73884:19;73890:2;73894:8;73884:5;:19::i;:::-;-1:-1:-1;;;;;73945:14:0;;;:19;73941:483;;73985:11;73999:13;74047:14;;;74080:233;74111:62;74150:1;74154:2;74158:7;;;;;;74167:5;74111:30;:62::i;:::-;74106:167;;74209:40;;-1:-1:-1;;;74209:40:0;;;;;;;;;;;74106:167;74308:3;74300:5;:11;74080:233;;74395:3;74378:13;;:20;74374:34;;74400:8;;;26836:492;26925:22;26933:4;26939:7;26925;:22::i;:::-;26920:401;;27113:28;27133:7;27113:19;:28::i;:::-;27214:38;27242:4;27249:2;27214:19;:38::i;:::-;27018:257;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;27018:257:0;;;;;;;;;;-1:-1:-1;;;26964:345:0;;;;;;;:::i;84163:337::-;84316:15;;84269:4;;-1:-1:-1;;;;;84316:15:0;;84342:46;;84384:4;84377:11;;;;;84342:46;84415:16;84423:7;84415;:16::i;:::-;-1:-1:-1;;;;;84403:28:0;:8;-1:-1:-1;;;;;84403:28:0;;84399:45;;84440:4;84433:11;;;;;84399:45;84462:30;;-1:-1:-1;;;84462:30:0;;84481:10;84462:30;;;4313:51:1;-1:-1:-1;;;;;84462:18:0;;;;;4286::1;;84462:30:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;84455:37;84163:337;-1:-1:-1;;;;84163:337:0:o;98399:149::-;98462:7;98493:1;98489;:5;:51;;98624:13;98718:15;;;98754:4;98747:15;;;98801:4;98785:21;;98489:51;;;-1:-1:-1;98624:13:0;98718:15;;;98754:4;98747:15;98801:4;98785:21;;;98399:149::o;68035:2966::-;68108:20;68131:13;;;68159;;;68155:44;;68181:18;;-1:-1:-1;;;68181:18:0;;;;;;;;;;;68155:44;68212:61;68242:1;68246:2;68250:12;68264:8;68212:21;:61::i;:::-;-1:-1:-1;;;;;68687:22:0;;;;;;:18;:22;;;;41756:2;68687:22;;;:71;;68725:32;68713:45;;68687:71;;;69001:31;;;:17;:31;;;;;-1:-1:-1;55737:15:0;;55711:24;55707:46;55306:11;55281:23;55277:41;55274:52;55264:63;;69001:173;;69236:23;;;;69001:31;;68687:22;;70001:25;68687:22;;69854:335;70515:1;70501:12;70497:20;70455:346;70556:3;70547:7;70544:16;70455:346;;70774:7;70764:8;70761:1;70734:25;70731:1;70728;70723:59;70609:1;70596:15;70455:346;;;70459:77;70834:8;70846:1;70834:13;70830:45;;70856:19;;-1:-1:-1;;;70856:19:0;;;;;;;;;;;70830:45;70892:13;:19;-1:-1:-1;104267:188:0;;;:::o;21384:151::-;21442:13;21475:52;-1:-1:-1;;;;;21487:22:0;;19539:2;20780:447;20855:13;20881:19;20913:10;20917:6;20913:1;:10;:::i;:::-;:14;;20926:1;20913:14;:::i;:::-;-1:-1:-1;;;;;20903:25:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;20903:25:0;;20881:47;;-1:-1:-1;;;20939:6:0;20946:1;20939:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;20939:15:0;;;;;;;;;-1:-1:-1;;;20965:6:0;20972:1;20965:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;20965:15:0;;;;;;;;-1:-1:-1;20996:9:0;21008:10;21012:6;21008:1;:10;:::i;:::-;:14;;21021:1;21008:14;:::i;:::-;20996:26;;20991:131;21028:1;21024;:5;20991:131;;;-1:-1:-1;;;21072:5:0;21080:3;21072:11;21063:21;;;;;;;:::i;:::-;;;;21051:6;21058:1;21051:9;;;;;;;;:::i;:::-;;;;:33;-1:-1:-1;;;;;21051:33:0;;;;;;;;-1:-1:-1;21109:1:0;21099:11;;;;;21031:3;;;:::i;:::-;;;20991:131;;;-1:-1:-1;21140:10:0;;21132:55;;;;-1:-1:-1;;;21132:55:0;;22657:2:1;21132:55:0;;;22639:21:1;;;22676:18;;;22669:30;22735:34;22715:18;;;22708:62;22787:18;;21132:55:0;22455:356:1;14:131;-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:367::-;655:8;665:6;719:3;712:4;704:6;700:17;696:27;686:55;;737:1;734;727:12;686:55;-1:-1:-1;760:20:1;;-1:-1:-1;;;;;792:30:1;;789:50;;;835:1;832;825:12;789:50;872:4;864:6;860:17;848:29;;932:3;925:4;915:6;912:1;908:14;900:6;896:27;892:38;889:47;886:67;;;949:1;946;939:12;964:171;1031:20;;-1:-1:-1;;;;;1080:30:1;;1070:41;;1060:69;;1125:1;1122;1115:12;1060:69;964:171;;;:::o;1140:509::-;1234:6;1242;1250;1303:2;1291:9;1282:7;1278:23;1274:32;1271:52;;;1319:1;1316;1309:12;1271:52;1359:9;1346:23;-1:-1:-1;;;;;1384:6:1;1381:30;1378:50;;;1424:1;1421;1414:12;1378:50;1463:70;1525:7;1516:6;1505:9;1501:22;1463:70;:::i;:::-;1552:8;;-1:-1:-1;1437:96:1;-1:-1:-1;1606:37:1;;-1:-1:-1;1639:2:1;1624:18;;1606:37;:::i;:::-;1596:47;;1140:509;;;;;:::o;1654:188::-;1722:20;;-1:-1:-1;;;;;1771:46:1;;1761:57;;1751:85;;1832:1;1829;1822:12;1847:260;1915:6;1923;1976:2;1964:9;1955:7;1951:23;1947:32;1944:52;;;1992:1;1989;1982:12;1944:52;2015:29;2034:9;2015:29;:::i;:::-;2005:39;;2063:38;2097:2;2086:9;2082:18;2063:38;:::i;:::-;2053:48;;1847:260;;;;;:::o;2112:131::-;-1:-1:-1;;;;;2187:31:1;;2177:42;;2167:70;;2233:1;2230;2223:12;2248:179;2315:20;;-1:-1:-1;;;;;2364:38:1;;2354:49;;2344:77;;2417:1;2414;2407:12;2432:319;2499:6;2507;2560:2;2548:9;2539:7;2535:23;2531:32;2528:52;;;2576:1;2573;2566:12;2528:52;2615:9;2602:23;2634:31;2659:5;2634:31;:::i;:::-;2684:5;-1:-1:-1;2708:37:1;2741:2;2726:18;;2708:37;:::i;2756:127::-;2817:10;2812:3;2808:20;2805:1;2798:31;2848:4;2845:1;2838:15;2872:4;2869:1;2862:15;2888:338;3030:2;3015:18;;3063:1;3052:13;;3042:144;;3108:10;3103:3;3099:20;3096:1;3089:31;3143:4;3140:1;3133:15;3171:4;3168:1;3161:15;3042:144;3195:25;;;2888:338;:::o;3231:258::-;3303:1;3313:113;3327:6;3324:1;3321:13;3313:113;;;3403:11;;;3397:18;3384:11;;;3377:39;3349:2;3342:10;3313:113;;;3444:6;3441:1;3438:13;3435:48;;;-1:-1:-1;;3479:1:1;3461:16;;3454:27;3231:258::o;3494:::-;3536:3;3574:5;3568:12;3601:6;3596:3;3589:19;3617:63;3673:6;3666:4;3661:3;3657:14;3650:4;3643:5;3639:16;3617:63;:::i;:::-;3734:2;3713:15;-1:-1:-1;;3709:29:1;3700:39;;;;3741:4;3696:50;;3494:258;-1:-1:-1;;3494:258:1:o;3757:220::-;3906:2;3895:9;3888:21;3869:4;3926:45;3967:2;3956:9;3952:18;3944:6;3926:45;:::i;3982:180::-;4041:6;4094:2;4082:9;4073:7;4069:23;4065:32;4062:52;;;4110:1;4107;4100:12;4062:52;-1:-1:-1;4133:23:1;;3982:180;-1:-1:-1;3982:180:1:o;4375:315::-;4443:6;4451;4504:2;4492:9;4483:7;4479:23;4475:32;4472:52;;;4520:1;4517;4510:12;4472:52;4559:9;4546:23;4578:31;4603:5;4578:31;:::i;:::-;4628:5;4680:2;4665:18;;;;4652:32;;-1:-1:-1;;;4375:315:1:o;4695:247::-;4754:6;4807:2;4795:9;4786:7;4782:23;4778:32;4775:52;;;4823:1;4820;4813:12;4775:52;4862:9;4849:23;4881:31;4906:5;4881:31;:::i;5129:456::-;5206:6;5214;5222;5275:2;5263:9;5254:7;5250:23;5246:32;5243:52;;;5291:1;5288;5281:12;5243:52;5330:9;5317:23;5349:31;5374:5;5349:31;:::i;:::-;5399:5;-1:-1:-1;5456:2:1;5441:18;;5428:32;5469:33;5428:32;5469:33;:::i;:::-;5129:456;;5521:7;;-1:-1:-1;;;5575:2:1;5560:18;;;;5547:32;;5129:456::o;5957:248::-;6025:6;6033;6086:2;6074:9;6065:7;6061:23;6057:32;6054:52;;;6102:1;6099;6092:12;6054:52;-1:-1:-1;;6125:23:1;;;6195:2;6180:18;;;6167:32;;-1:-1:-1;5957:248:1:o;6489:315::-;6557:6;6565;6618:2;6606:9;6597:7;6593:23;6589:32;6586:52;;;6634:1;6631;6624:12;6586:52;6670:9;6657:23;6647:33;;6730:2;6719:9;6715:18;6702:32;6743:31;6768:5;6743:31;:::i;:::-;6793:5;6783:15;;;6489:315;;;;;:::o;7069:592::-;7140:6;7148;7201:2;7189:9;7180:7;7176:23;7172:32;7169:52;;;7217:1;7214;7207:12;7169:52;7257:9;7244:23;-1:-1:-1;;;;;7327:2:1;7319:6;7316:14;7313:34;;;7343:1;7340;7333:12;7313:34;7381:6;7370:9;7366:22;7356:32;;7426:7;7419:4;7415:2;7411:13;7407:27;7397:55;;7448:1;7445;7438:12;7397:55;7488:2;7475:16;7514:2;7506:6;7503:14;7500:34;;;7530:1;7527;7520:12;7500:34;7575:7;7570:2;7561:6;7557:2;7553:15;7549:24;7546:37;7543:57;;;7596:1;7593;7586:12;7543:57;7627:2;7619:11;;;;;7649:6;;-1:-1:-1;7069:592:1;;-1:-1:-1;;;;7069:592:1:o;7666:387::-;7742:6;7750;7758;7811:2;7799:9;7790:7;7786:23;7782:32;7779:52;;;7827:1;7824;7817:12;7779:52;7863:9;7850:23;7840:33;;7923:2;7912:9;7908:18;7895:32;7936:31;7961:5;7936:31;:::i;:::-;7986:5;-1:-1:-1;8010:37:1;8043:2;8028:18;;8010:37;:::i;8058:773::-;8180:6;8188;8196;8204;8257:2;8245:9;8236:7;8232:23;8228:32;8225:52;;;8273:1;8270;8263:12;8225:52;8313:9;8300:23;-1:-1:-1;;;;;8383:2:1;8375:6;8372:14;8369:34;;;8399:1;8396;8389:12;8369:34;8438:70;8500:7;8491:6;8480:9;8476:22;8438:70;:::i;:::-;8527:8;;-1:-1:-1;8412:96:1;-1:-1:-1;8615:2:1;8600:18;;8587:32;;-1:-1:-1;8631:16:1;;;8628:36;;;8660:1;8657;8650:12;8628:36;;8699:72;8763:7;8752:8;8741:9;8737:24;8699:72;:::i;:::-;8058:773;;;;-1:-1:-1;8790:8:1;-1:-1:-1;;;;8058:773:1:o;9392:118::-;9478:5;9471:13;9464:21;9457:5;9454:32;9444:60;;9500:1;9497;9490:12;9515:382;9580:6;9588;9641:2;9629:9;9620:7;9616:23;9612:32;9609:52;;;9657:1;9654;9647:12;9609:52;9696:9;9683:23;9715:31;9740:5;9715:31;:::i;:::-;9765:5;-1:-1:-1;9822:2:1;9807:18;;9794:32;9835:30;9794:32;9835:30;:::i;9902:127::-;9963:10;9958:3;9954:20;9951:1;9944:31;9994:4;9991:1;9984:15;10018:4;10015:1;10008:15;10034:1266;10129:6;10137;10145;10153;10206:3;10194:9;10185:7;10181:23;10177:33;10174:53;;;10223:1;10220;10213:12;10174:53;10262:9;10249:23;10281:31;10306:5;10281:31;:::i;:::-;10331:5;-1:-1:-1;10388:2:1;10373:18;;10360:32;10401:33;10360:32;10401:33;:::i;:::-;10453:7;-1:-1:-1;10507:2:1;10492:18;;10479:32;;-1:-1:-1;10562:2:1;10547:18;;10534:32;-1:-1:-1;;;;;10615:14:1;;;10612:34;;;10642:1;10639;10632:12;10612:34;10680:6;10669:9;10665:22;10655:32;;10725:7;10718:4;10714:2;10710:13;10706:27;10696:55;;10747:1;10744;10737:12;10696:55;10783:2;10770:16;10805:2;10801;10798:10;10795:36;;;10811:18;;:::i;:::-;10886:2;10880:9;10854:2;10940:13;;-1:-1:-1;;10936:22:1;;;10960:2;10932:31;10928:40;10916:53;;;10984:18;;;11004:22;;;10981:46;10978:72;;;11030:18;;:::i;:::-;11070:10;11066:2;11059:22;11105:2;11097:6;11090:18;11145:7;11140:2;11135;11131;11127:11;11123:20;11120:33;11117:53;;;11166:1;11163;11156:12;11117:53;11222:2;11217;11213;11209:11;11204:2;11196:6;11192:15;11179:46;11267:1;11262:2;11257;11249:6;11245:15;11241:24;11234:35;11288:6;11278:16;;;;;;;10034:1266;;;;;;;:::o;11581:388::-;11649:6;11657;11710:2;11698:9;11689:7;11685:23;11681:32;11678:52;;;11726:1;11723;11716:12;11678:52;11765:9;11752:23;11784:31;11809:5;11784:31;:::i;:::-;11834:5;-1:-1:-1;11891:2:1;11876:18;;11863:32;11904:33;11863:32;11904:33;:::i;11974:184::-;12032:6;12085:2;12073:9;12064:7;12060:23;12056:32;12053:52;;;12101:1;12098;12091:12;12053:52;12124:28;12142:9;12124:28;:::i;12163:127::-;12224:10;12219:3;12215:20;12212:1;12205:31;12255:4;12252:1;12245:15;12279:4;12276:1;12269:15;12295:168;12335:7;12401:1;12397;12393:6;12389:14;12386:1;12383:21;12378:1;12371:9;12364:17;12360:45;12357:71;;;12408:18;;:::i;:::-;-1:-1:-1;12448:9:1;;12295:168::o;12468:128::-;12508:3;12539:1;12535:6;12532:1;12529:13;12526:39;;;12545:18;;:::i;:::-;-1:-1:-1;12581:9:1;;12468:128::o;12835:236::-;12874:3;-1:-1:-1;;;;;12947:2:1;12944:1;12940:10;12977:2;12974:1;12970:10;13008:3;13004:2;13000:12;12995:3;12992:21;12989:47;;;13016:18;;:::i;:::-;13052:13;;12835:236;-1:-1:-1;;;;12835:236:1:o;13076:380::-;13155:1;13151:12;;;;13198;;;13219:61;;13273:4;13265:6;13261:17;13251:27;;13219:61;13326:2;13318:6;13315:14;13295:18;13292:38;13289:161;;13372:10;13367:3;13363:20;13360:1;13353:31;13407:4;13404:1;13397:15;13435:4;13432:1;13425:15;13289:161;;13076:380;;;:::o;13461:125::-;13501:4;13529:1;13526;13523:8;13520:34;;;13534:18;;:::i;:::-;-1:-1:-1;13571:9:1;;13461:125::o;13591:217::-;13631:1;13657;13647:132;;13701:10;13696:3;13692:20;13689:1;13682:31;13736:4;13733:1;13726:15;13764:4;13761:1;13754:15;13647:132;-1:-1:-1;13793:9:1;;13591:217::o;14565:545::-;14667:2;14662:3;14659:11;14656:448;;;14703:1;14728:5;14724:2;14717:17;14773:4;14769:2;14759:19;14843:2;14831:10;14827:19;14824:1;14820:27;14814:4;14810:38;14879:4;14867:10;14864:20;14861:47;;;-1:-1:-1;14902:4:1;14861:47;14957:2;14952:3;14948:12;14945:1;14941:20;14935:4;14931:31;14921:41;;15012:82;15030:2;15023:5;15020:13;15012:82;;;15075:17;;;15056:1;15045:13;15012:82;;15286:1206;-1:-1:-1;;;;;15405:3:1;15402:27;15399:53;;;15432:18;;:::i;:::-;15461:94;15551:3;15511:38;15543:4;15537:11;15511:38;:::i;:::-;15505:4;15461:94;:::i;:::-;15581:1;15606:2;15601:3;15598:11;15623:1;15618:616;;;;16278:1;16295:3;16292:93;;;-1:-1:-1;16351:19:1;;;16338:33;16292:93;-1:-1:-1;;15243:1:1;15239:11;;;15235:24;15231:29;15221:40;15267:1;15263:11;;;15218:57;16398:78;;15591:895;;15618:616;14512:1;14505:14;;;14549:4;14536:18;;-1:-1:-1;;15654:17:1;;;15755:9;15777:229;15791:7;15788:1;15785:14;15777:229;;;15880:19;;;15867:33;15852:49;;15987:4;15972:20;;;;15940:1;15928:14;;;;15807:12;15777:229;;;15781:3;16034;16025:7;16022:16;16019:159;;;16158:1;16154:6;16148:3;16142;16139:1;16135:11;16131:21;16127:34;16123:39;16110:9;16105:3;16101:19;16088:33;16084:79;16076:6;16069:95;16019:159;;;16221:1;16215:3;16212:1;16208:11;16204:19;16198:4;16191:33;15591:895;;15286:1206;;;:::o;16497:127::-;16558:10;16553:3;16549:20;16546:1;16539:31;16589:4;16586:1;16579:15;16613:4;16610:1;16603:15;16629:135;16668:3;16689:17;;;16686:43;;16709:18;;:::i;:::-;-1:-1:-1;16756:1:1;16745:13;;16629:135::o;16769:1007::-;16945:3;16974:1;17007:6;17001:13;17037:36;17063:9;17037:36;:::i;:::-;17092:1;17109:18;;;17136:133;;;;17283:1;17278:356;;;;17102:532;;17136:133;-1:-1:-1;;17169:24:1;;17157:37;;17242:14;;17235:22;17223:35;;17214:45;;;-1:-1:-1;17136:133:1;;17278:356;17309:6;17306:1;17299:17;17339:4;17384:2;17381:1;17371:16;17409:1;17423:165;17437:6;17434:1;17431:13;17423:165;;;17515:14;;17502:11;;;17495:35;17558:16;;;;17452:10;;17423:165;;;17427:3;;;17617:6;17612:3;17608:16;17601:23;;17102:532;;;;;17665:6;17659:13;17681:55;17727:8;17722:3;17715:4;17707:6;17703:17;17681:55;:::i;17781:443::-;18013:3;18051:6;18045:13;18067:53;18113:6;18108:3;18101:4;18093:6;18089:17;18067:53;:::i;:::-;-1:-1:-1;;;18142:16:1;;18167:22;;;-1:-1:-1;18216:1:1;18205:13;;17781:443;-1:-1:-1;17781:443:1:o;18636:406::-;18838:2;18820:21;;;18877:2;18857:18;;;18850:30;18916:34;18911:2;18896:18;;18889:62;-1:-1:-1;;;18982:2:1;18967:18;;18960:40;19032:3;19017:19;;18636:406::o;20525:489::-;-1:-1:-1;;;;;20794:15:1;;;20776:34;;20846:15;;20841:2;20826:18;;20819:43;20893:2;20878:18;;20871:34;;;20941:3;20936:2;20921:18;;20914:31;;;20719:4;;20962:46;;20988:19;;20980:6;20962:46;:::i;:::-;20954:54;20525:489;-1:-1:-1;;;;;;20525:489:1:o;21019:249::-;21088:6;21141:2;21129:9;21120:7;21116:23;21112:32;21109:52;;;21157:1;21154;21147:12;21109:52;21189:9;21183:16;21208:30;21232:5;21208:30;:::i;21273:786::-;21684:25;21679:3;21672:38;21654:3;21739:6;21733:13;21755:62;21810:6;21805:2;21800:3;21796:12;21789:4;21781:6;21777:17;21755:62;:::i;:::-;-1:-1:-1;;;21876:2:1;21836:16;;;21868:11;;;21861:40;21926:13;;21948:63;21926:13;21997:2;21989:11;;21982:4;21970:17;;21948:63;:::i;:::-;22031:17;22050:2;22027:26;;21273:786;-1:-1:-1;;;;21273:786:1:o;22064:245::-;22131:6;22184:2;22172:9;22163:7;22159:23;22155:32;22152:52;;;22200:1;22197;22190:12;22152:52;22232:9;22226:16;22251:28;22273:5;22251:28;:::i;22314:136::-;22353:3;22381:5;22371:39;;22390:18;;:::i;:::-;-1:-1:-1;;;22426:18:1;;22314:136::o

Swarm Source

ipfs://3749bcc46cb01534d3cc1149ffc1a7b825d3e41f446dfd4d2597f51d707eb596
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.