ETH Price: $3,494.30 (+2.51%)
Gas: 3.45 Gwei

Token

Project Dudes (DUDES)
 

Overview

Max Total Supply

8,000 DUDES

Holders

2,471

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Filtered by Token Holder
paperhande.eth
Balance
2 DUDES
0x9ee1634c762c9553c500ef4e39d3d90bf126411a
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:
ProjectDudes

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-07-18
*/

//SPDX-License-Identifier: MIT

//`7MM"""Mq.`7MM"""Mq.   .g8""8q.     `7MMF'`7MM"""YMM    .g8"""bgd MMP""MM""YMM
//  MM   `MM. MM   `MM..dP'    `YM.     MM    MM    `7  .dP'     `M P'   MM   `7
//  MM   ,M9  MM   ,M9 dM'      `MM     MM    MM   d    dM'       `      MM
//  MMmmdM9   MMmmdM9  MM        MM     MM    MMmmMM    MM               MM
//  MM        MM   `Mb.`Mb.    ,dP'(O)  MM    MM     ,M `Mb.     ,'      MM
//.JMML.    .JMML. .JMM. `"bmmd"'   Ymmm9   .JMMmmmmMMM   `"bmmmd'     .JMML.

//`7MM"""Yb. `7MMF'   `7MF'`7MM"""Yb. `7MM"""YMM   .M"""bgd
//  MM    `Yb. MM       M    MM    `Yb. MM    `7  ,MI    "Y
//  MM     `Mb MM       M    MM     `Mb MM   d    `MMb.
//  MM      MM MM       M    MM      MM MMmmMM      `YMMNq.
//  MM     ,MP MM       M    MM     ,MP MM   Y  , .     `MM
//  MM    ,dP' YM.     ,M    MM    ,dP' MM     ,M Mb     dM 
//.JMMmmmdP'    `bmmmmd"'  .JMMmmmdP' .JMMmmmmMMM P"Ybmmd"
  

// File: @openzeppelin/contracts/security/ReentrancyGuard.sol

// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

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


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

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @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] = _HEX_SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }
}

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


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

pragma solidity ^0.8.0;

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

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

// File: @openzeppelin/contracts/access/Ownable.sol


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

pragma solidity ^0.8.0;


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

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

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

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

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

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

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

// File: erc721a/contracts/IERC721A.sol


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

pragma solidity ^0.8.4;

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

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

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

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

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

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

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must 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
    ) external;

    /**
     * @dev Transfers `tokenId` token 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;

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

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

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

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

    // ==============================
    //        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 standard. See `_mintERC2309` for more details.
     */
    event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to);
}

// File: erc721a/contracts/ERC721A.sol


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

pragma solidity ^0.8.4;


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

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

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

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

    /**
     * @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 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 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 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 returns (uint256) {
        return _burnCounter;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    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: 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.
    }

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view 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 {
        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;
    }

    /**
     * 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 ownership that has an address and is not burned
                        // before an ownership that does not have an address and is not burned.
                        // Hence, curr will not underflow.
                        //
                        // We can directly compare the packed value.
                        // If the address is zero, packed is zero.
                        while (packed == 0) {
                            packed = _packedOwnerships[--curr];
                        }
                        return packed;
                    }
                }
        }
        revert OwnerQueryForNonexistentToken();
    }

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

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

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

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

    /**
     * @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 See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view override returns (address) {
        return address(uint160(_packedOwnershipOf(tokenId)));
    }

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

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

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

        string memory baseURI = _baseURI();
        return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _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 '';
    }

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

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

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

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

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

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

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

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

    /**
     * @dev Safely mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement
     *   {IERC721Receiver-onERC721Received}, which is called for each safe transfer.
     * - `quantity` must be greater than 0.
     *
     * See {_mint}.
     *
     * Emits a {Transfer} event for each mint.
     */
    function _safeMint(
        address to,
        uint256 quantity,
        bytes memory _data
    ) internal {
        _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 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 {
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();

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

        // Overflows are incredibly unrealistic.
        // `balance` 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 tokenId = startTokenId;
            uint256 end = startTokenId + quantity;
            do {
                emit Transfer(address(0), to, tokenId++);
            } while (tokenId < end);

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

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * This function is intended for efficient minting only during contract creation.
     *
     * It emits only one {ConsecutiveTransfer} as defined in
     * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309),
     * instead of a sequence of {Transfer} event(s).
     *
     * Calling this function outside of contract creation WILL make your contract
     * non-compliant with the ERC721 standard.
     * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309
     * {ConsecutiveTransfer} event is only permissible during contract creation.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {ConsecutiveTransfer} event.
     */
    function _mintERC2309(address to, uint256 quantity) internal {
        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 Returns the storage slot and value for the approved address of `tokenId`.
     */
    function _getApprovedAddress(uint256 tokenId)
        private
        view
        returns (uint256 approvedAddressSlot, address approvedAddress)
    {
        mapping(uint256 => address) storage tokenApprovalsPtr = _tokenApprovals;
        // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId]`.
        assembly {
            // Compute the slot.
            mstore(0x00, tokenId)
            mstore(0x20, tokenApprovalsPtr.slot)
            approvedAddressSlot := keccak256(0x00, 0x40)
            // Load the slot's value from storage.
            approvedAddress := sload(approvedAddressSlot)
        }
    }

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

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

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

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

        // The nested ifs save around 20+ gas over a compound boolean condition.
        if (!_isOwnerOrApproved(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 `_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) = _getApprovedAddress(tokenId);

        if (approvalCheck) {
            // The nested ifs save around 20+ gas over a compound boolean condition.
            if (!_isOwnerOrApproved(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++;
        }
    }

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param _data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkContractOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        try 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))
                }
            }
        }
    }

    /**
     * @dev Directly sets the extra data for the ownership data `index`.
     */
    function _setExtraDataAt(uint256 index, uint24 extraData) internal {
        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 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;
    }

    /**
     * @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 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 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 returns (string memory ptr) {
        assembly {
            // The maximum value of a uint256 contains 78 digits (1 byte per digit),
            // but we allocate 128 bytes to keep the free memory pointer 32-byte word aliged.
            // We will need 1 32-byte word to store the length,
            // and 3 32-byte words to store a maximum of 78 digits. Total: 32 + 3 * 32 = 128.
            ptr := add(mload(0x40), 128)
            // Update the free memory pointer to allocate.
            mstore(0x40, ptr)

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

            // We write the string from the rightmost digit to the leftmost digit.
            // The following is essentially a do-while loop that also handles the zero case.
            // Costs a bit more than early returning for the zero case,
            // but cheaper in terms of deployment and overall runtime costs.
            for {
                // Initialize and perform the first pass without check.
                let temp := value
                // Move the pointer 1 byte leftwards to point to an empty character slot.
                ptr := sub(ptr, 1)
                // Write the character to the pointer. 48 is the ASCII index of '0'.
                mstore8(ptr, add(48, mod(temp, 10)))
                temp := div(temp, 10)
            } temp {
                // Keep dividing `temp` until zero.
                temp := div(temp, 10)
            } {
                // Body of the for loop.
                ptr := sub(ptr, 1)
                mstore8(ptr, add(48, mod(temp, 10)))
            }

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

// File: contracts/ProjectDudes.sol
// The following code was written by MrMoon.
// Unless it doesn't work, then I have no idea who wrote it.

pragma solidity ^0.8.4;

contract ProjectDudes is ERC721A, Ownable, ReentrancyGuard {
    using Strings for uint256;
    address private constant _creator1 = 0xF5C57Ebd20741492C17bE7BFB56b52DA0026F747;
    address private constant _creator2 = 0x914912F14fE6FD17Ac83E672c0E5EB8A29cd8Fd1;
    address private constant _creator3 = 0xd5ea12B40648168394B4554EC7572d65465098B4;
    
    string public constant needsHug = "(>0.0)><(0.0<)";   
    uint256 public MAX_SUPPLY = 10000;
    uint256 public FREE_SUPPLY = 2000;
    uint256 public publicPrice = 0.08 ether;
    uint256 private MINT_PER_FREE_TX = 2;
    uint256 private maxFreePerWallet = 2;
    
    uint256 private MAX_MINTS_PER_TX = 10;
    uint256 constant public limitAmountPerWallet = 20;

    string public constant missingIngredient = "TheSauce";
    string public uriPrefix = '';
    string public uriSuffix = '';
    string public notRevealedUri = "ipfs://QmRh8YrvjF4fTg1R83yPcBSufrNMYPmWHFfgNbC3AQ7wVy/";

    bool public paused = true;
    bool public revealed = false;

    mapping(address => bool) public userMintedFree;
    mapping(address => uint256) public mintedWallets;

    constructor() ERC721A("Project Dudes", "DUDES") {
        _mint(msg.sender, 96);
    }

    modifier callerIsUser() {
        require(!paused, "Contract is paused");
        require(tx.origin == msg.sender, "No contract minting");
        _;
    }
   
    function _startTokenId() internal view virtual override returns (uint256) {
        return 1;
    }

    function freeMint(uint256 quantity)        
        external
        payable
        nonReentrant
        callerIsUser
    {

        require(msg.value == 0, "This phase is free");
        require(quantity <= 2, "Only 2 free");
        require(mintedWallets[msg.sender] + quantity <= maxFreePerWallet, "mints per wallet exceeded");
        
        if (totalSupply() + MINT_PER_FREE_TX > (MAX_SUPPLY - FREE_SUPPLY)) revert("Amount exceeds supply");
        if (quantity > MAX_MINTS_PER_TX) revert("Amount exceeds transaction limit");
        
        mintedWallets[msg.sender] += quantity;

        _safeMint(msg.sender, MINT_PER_FREE_TX);
    }
    // Anyone Got 5$?
    function saleMint(uint256 quantity)
        external
        payable
        nonReentrant
        callerIsUser
    {   
        if (quantity > MAX_MINTS_PER_TX)
            revert("Amount exceeds transaction limit");
        if (totalSupply() + quantity > (MAX_SUPPLY - FREE_SUPPLY))
            revert("Amount exceeds supply");
        if (getPublicPrice() * quantity > msg.value)
            revert("Insufficient payment");
        

        _safeMint(msg.sender, quantity);
    }
     
    function walletOfOwner(address _owner) public view returns (uint256[] memory)
    {
        uint256 ownerTokenCount = balanceOf(_owner);
        uint256[] memory ownedTokenIds = new uint256[](ownerTokenCount);
        uint256 currentTokenId = 1;
        uint256 ownedTokenIndex = 0;

        while (ownedTokenIndex < ownerTokenCount && currentTokenId <= MAX_SUPPLY) {
            address currentTokenOwner = ownerOf(currentTokenId);

            if (currentTokenOwner == _owner) {
                ownedTokenIds[ownedTokenIndex] = currentTokenId;

                ownedTokenIndex++;
            }

        currentTokenId++;
        }

        return ownedTokenIds;
    }
    
    function _baseURI() internal view virtual override returns (string memory) {
        return uriPrefix;
    }
    
    function numberMinted(address owner) public view returns (uint256) {
        return _numberMinted(owner);
    }
    //Drip. Drip. Drip.
    function setUriPrefix(string memory _uriPrefix) public onlyOwner {
        uriPrefix = _uriPrefix;
    }

    function setUriSuffix(string memory _uriSuffix) public onlyOwner {
        uriSuffix = _uriSuffix;
    }

    function setNotRevealedURI(string memory _notRevealedURI) external onlyOwner {
        notRevealedUri = _notRevealedURI;
    }
    
    function reveal() external onlyOwner {
        revealed = !revealed;
    }

    function tokenURI(uint256 _tokenId) public view virtual override returns (string memory) {
        require(_exists(_tokenId), 'ERC721Metadata: URI query for nonexistent token');

    if (revealed == false) {
        return notRevealedUri;
    }

    string memory currentBaseURI = _baseURI();
    return bytes(currentBaseURI).length > 0
        ? string(abi.encodePacked(currentBaseURI, _tokenId.toString(), uriSuffix))
        : '';
    }

    function setPaused(bool _state) public onlyOwner {
        paused = _state;
    }
    
    function setPublicPrice(uint256 price) external onlyOwner {
        publicPrice = price;
    }
    
    function getPublicPrice() public view returns (uint256) {
        return publicPrice;
    }
    
    function setMaxMintPerTx(uint256 maxMint) external onlyOwner {
        MAX_MINTS_PER_TX = maxMint;
    }

    function mintToUser(uint256 quantity, address receiver) public onlyOwner callerIsUser {
        _safeMint(receiver, quantity);
    }

    function withdrawAll() external onlyOwner {
        uint256 amountToCreator2 = (address(this).balance * 140) / 1000; // 14%
        uint256 amountToCreator3 = (address(this).balance * 190) / 1000; // 19%

        withdraw(_creator2, amountToCreator2);
        withdraw(_creator3, amountToCreator3);

        uint256 amountToCreator1 = address(this).balance; // ~85%
        withdraw(_creator1, amountToCreator1);
    }

    function withdraw(address account, uint256 amount) internal {
        (bool os, ) = payable(account).call{value: amount}("");
        require(os, "Failed to send ether");
    }

}
    // When I wrote this, only God and I understood what I was doing.
    // Now, God only knows.
    // :P

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"FREE_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"freeMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPublicPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"limitAmountPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"address","name":"receiver","type":"address"}],"name":"mintToUser","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"mintedWallets","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"missingIngredient","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"needsHug","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"notRevealedUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"numberMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"saleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxMint","type":"uint256"}],"name":"setMaxMintPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_notRevealedURI","type":"string"}],"name":"setNotRevealedURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"name":"setPublicPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriPrefix","type":"string"}],"name":"setUriPrefix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriSuffix","type":"string"}],"name":"setUriSuffix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uriPrefix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uriSuffix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userMintedFree","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]

612710600a9081556107d0600b5567011c37937e080000600c556002600d819055600e55600f5560a0604081905260006080819052620000429160109162000276565b50604080516020810191829052600090819052620000639160119162000276565b5060405180606001604052806036815260200162002749603691398051620000949160129160209091019062000276565b506013805461ffff19166001179055348015620000b057600080fd5b50604080518082018252600d81526c50726f6a65637420447564657360981b602080830191825283518085019094526005845264445544455360d81b908401528151919291620001039160029162000276565b5080516200011990600390602084019062000276565b50506001600055506200012c3362000144565b60016009556200013e33606062000196565b62000359565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000546001600160a01b038316620001c057604051622e076360e81b815260040160405180910390fd5b81620001df5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038316600081815260056020526040902080546801000000000000000185020190554260a01b6001841460e11b1717600082815260046020526040902055808281015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210620002295760005550505050565b82805462000284906200031c565b90600052602060002090601f016020900481019282620002a85760008555620002f3565b82601f10620002c357805160ff1916838001178555620002f3565b82800160010185558215620002f3579182015b82811115620002f3578251825591602001919060010190620002d6565b506200030192915062000305565b5090565b5b8082111562000301576000815560010162000306565b600181811c908216806200033157607f821691505b602082108114156200035357634e487b7160e01b600052602260045260246000fd5b50919050565b6123e080620003696000396000f3fe6080604052600436106102675760003560e01c8063715018a611610144578063a475b5dd116100b6578063c62752551161007a578063c627525514610718578063c87b56dd14610738578063dc33e68114610758578063e985e9c514610778578063f2c4ce1e146107c1578063f2fde38b146107e157600080fd5b8063a475b5dd1461068b578063a945bf80146106a0578063abc025d1146106b6578063ada7c4ed146106cb578063b88d4fde146106f857600080fd5b80638ca887ca116101085780638ca887ca146105ef5780638da5cb5b146106025780639007bd721461062057806395d89b41146106405780639858cf1914610655578063a22cb4651461066b57600080fd5b8063715018a61461055e5780637c928fe9146105735780637ec4a65914610586578063853828b6146105a657806389738156146105bb57600080fd5b8063363e86fe116101dd5780635c975abb116101a15780635c975abb1461049f578063616cdb1e146104b957806362b99ad4146104d95780636352211e146104ee57806364f640761461050e57806370a082311461053e57600080fd5b8063363e86fe1461040957806342842e0e1461041e578063438b63001461043e578063518302271461046b5780635503a0e81461048a57600080fd5b806316ba10e01161022f57806316ba10e01461033257806316c38b3c1461035257806318160ddd1461037257806323b872dd146103995780632ed2146d146103b957806332cb6b0c146103f357600080fd5b806301ffc9a71461026c57806306fdde03146102a1578063081812fc146102c3578063081c8c44146102fb578063095ea7b314610310575b600080fd5b34801561027857600080fd5b5061028c610287366004611f73565b610801565b60405190151581526020015b60405180910390f35b3480156102ad57600080fd5b506102b6610853565b60405161029891906121a3565b3480156102cf57600080fd5b506102e36102de366004611ff6565b6108e5565b6040516001600160a01b039091168152602001610298565b34801561030757600080fd5b506102b6610929565b34801561031c57600080fd5b5061033061032b366004611f2e565b6109b7565b005b34801561033e57600080fd5b5061033061034d366004611fad565b610a57565b34801561035e57600080fd5b5061033061036d366004611f58565b610aa1565b34801561037e57600080fd5b5060015460005403600019015b604051908152602001610298565b3480156103a557600080fd5b506103306103b4366004611e4c565b610ade565b3480156103c557600080fd5b506102b66040518060400160405280600e81526020016d283e302e30293e3c28302e303c2960901b81525081565b3480156103ff57600080fd5b5061038b600a5481565b34801561041557600080fd5b50600c5461038b565b34801561042a57600080fd5b50610330610439366004611e4c565b610c6f565b34801561044a57600080fd5b5061045e610459366004611dfe565b610c8f565b604051610298919061215f565b34801561047757600080fd5b5060135461028c90610100900460ff1681565b34801561049657600080fd5b506102b6610d70565b3480156104ab57600080fd5b5060135461028c9060ff1681565b3480156104c557600080fd5b506103306104d4366004611ff6565b610d7d565b3480156104e557600080fd5b506102b6610dac565b3480156104fa57600080fd5b506102e3610509366004611ff6565b610db9565b34801561051a57600080fd5b5061028c610529366004611dfe565b60146020526000908152604090205460ff1681565b34801561054a57600080fd5b5061038b610559366004611dfe565b610dc4565b34801561056a57600080fd5b50610330610e13565b610330610581366004611ff6565b610e49565b34801561059257600080fd5b506103306105a1366004611fad565b6110cb565b3480156105b257600080fd5b50610330611108565b3480156105c757600080fd5b506102b660405180604001604052806008815260200167546865536175636560c01b81525081565b6103306105fd366004611ff6565b6111c5565b34801561060e57600080fd5b506008546001600160a01b03166102e3565b34801561062c57600080fd5b5061033061063b36600461200f565b611383565b34801561064c57600080fd5b506102b66113f9565b34801561066157600080fd5b5061038b600b5481565b34801561067757600080fd5b50610330610686366004611f04565b611408565b34801561069757600080fd5b5061033061149e565b3480156106ac57600080fd5b5061038b600c5481565b3480156106c257600080fd5b5061038b601481565b3480156106d757600080fd5b5061038b6106e6366004611dfe565b60156020526000908152604090205481565b34801561070457600080fd5b50610330610713366004611e88565b6114e5565b34801561072457600080fd5b50610330610733366004611ff6565b61152f565b34801561074457600080fd5b506102b6610753366004611ff6565b61155e565b34801561076457600080fd5b5061038b610773366004611dfe565b6116cd565b34801561078457600080fd5b5061028c610793366004611e19565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156107cd57600080fd5b506103306107dc366004611fad565b6116f8565b3480156107ed57600080fd5b506103306107fc366004611dfe565b611735565b60006301ffc9a760e01b6001600160e01b03198316148061083257506380ac58cd60e01b6001600160e01b03198316145b8061084d5750635b5e139f60e01b6001600160e01b03198316145b92915050565b606060028054610862906122d2565b80601f016020809104026020016040519081016040528092919081815260200182805461088e906122d2565b80156108db5780601f106108b0576101008083540402835291602001916108db565b820191906000526020600020905b8154815290600101906020018083116108be57829003601f168201915b5050505050905090565b60006108f0826117d0565b61090d576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60128054610936906122d2565b80601f0160208091040260200160405190810160405280929190818152602001828054610962906122d2565b80156109af5780601f10610984576101008083540402835291602001916109af565b820191906000526020600020905b81548152906001019060200180831161099257829003601f168201915b505050505081565b60006109c282610db9565b9050336001600160a01b038216146109fb576109de8133610793565b6109fb576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6008546001600160a01b03163314610a8a5760405162461bcd60e51b8152600401610a81906121e3565b60405180910390fd5b8051610a9d906011906020840190611cc3565b5050565b6008546001600160a01b03163314610acb5760405162461bcd60e51b8152600401610a81906121e3565b6013805460ff1916911515919091179055565b6000610ae982611805565b9050836001600160a01b0316816001600160a01b031614610b1c5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417610b6957610b4c8633610793565b610b6957604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610b9057604051633a954ecd60e21b815260040160405180910390fd5b8015610b9b57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b8316610c265760018401600081815260046020526040902054610c24576000548114610c245760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b610c8a838383604051806020016040528060008152506114e5565b505050565b60606000610c9c83610dc4565b905060008167ffffffffffffffff811115610cb957610cb961237e565b604051908082528060200260200182016040528015610ce2578160200160208202803683370190505b509050600160005b8381108015610cfb5750600a548211155b15610d66576000610d0b83610db9565b9050866001600160a01b0316816001600160a01b03161415610d535782848381518110610d3a57610d3a612368565b602090810291909101015281610d4f8161230d565b9250505b82610d5d8161230d565b93505050610cea565b5090949350505050565b60118054610936906122d2565b6008546001600160a01b03163314610da75760405162461bcd60e51b8152600401610a81906121e3565b600f55565b60108054610936906122d2565b600061084d82611805565b60006001600160a01b038216610ded576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b03163314610e3d5760405162461bcd60e51b8152600401610a81906121e3565b610e47600061186e565b565b60026009541415610e9c5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610a81565b600260095560135460ff1615610ec45760405162461bcd60e51b8152600401610a8190612218565b323314610ee35760405162461bcd60e51b8152600401610a81906121b6565b3415610f265760405162461bcd60e51b815260206004820152601260248201527154686973207068617365206973206672656560701b6044820152606401610a81565b6002811115610f655760405162461bcd60e51b815260206004820152600b60248201526a4f6e6c792032206672656560a81b6044820152606401610a81565b600e5433600090815260156020526040902054610f83908390612244565b1115610fd15760405162461bcd60e51b815260206004820152601960248201527f6d696e7473207065722077616c6c6574206578636565646564000000000000006044820152606401610a81565b600b54600a54610fe1919061228f565b600d546001546000540360001901610ff99190612244565b111561103f5760405162461bcd60e51b8152602060048201526015602482015274416d6f756e74206578636565647320737570706c7960581b6044820152606401610a81565b600f548111156110915760405162461bcd60e51b815260206004820181905260248201527f416d6f756e742065786365656473207472616e73616374696f6e206c696d69746044820152606401610a81565b33600090815260156020526040812080548392906110b0908490612244565b925050819055506110c333600d546118c0565b506001600955565b6008546001600160a01b031633146110f55760405162461bcd60e51b8152600401610a81906121e3565b8051610a9d906010906020840190611cc3565b6008546001600160a01b031633146111325760405162461bcd60e51b8152600401610a81906121e3565b60006103e861114247608c612270565b61114c919061225c565b905060006103e861115e4760be612270565b611168919061225c565b905061118873914912f14fe6fd17ac83e672c0e5eb8a29cd8fd1836118da565b6111a673d5ea12b40648168394b4554ec7572d65465098b4826118da565b47610c8a73f5c57ebd20741492c17be7bfb56b52da0026f747826118da565b600260095414156112185760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610a81565b600260095560135460ff16156112405760405162461bcd60e51b8152600401610a8190612218565b32331461125f5760405162461bcd60e51b8152600401610a81906121b6565b600f548111156112b15760405162461bcd60e51b815260206004820181905260248201527f416d6f756e742065786365656473207472616e73616374696f6e206c696d69746044820152606401610a81565b600b54600a546112c1919061228f565b60015460005483919003600019016112d99190612244565b111561131f5760405162461bcd60e51b8152602060048201526015602482015274416d6f756e74206578636565647320737570706c7960581b6044820152606401610a81565b348161132a600c5490565b6113349190612270565b11156113795760405162461bcd60e51b8152602060048201526014602482015273125b9cdd59999a58da595b9d081c185e5b595b9d60621b6044820152606401610a81565b6110c333826118c0565b6008546001600160a01b031633146113ad5760405162461bcd60e51b8152600401610a81906121e3565b60135460ff16156113d05760405162461bcd60e51b8152600401610a8190612218565b3233146113ef5760405162461bcd60e51b8152600401610a81906121b6565b610a9d81836118c0565b606060038054610862906122d2565b6001600160a01b0382163314156114325760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6008546001600160a01b031633146114c85760405162461bcd60e51b8152600401610a81906121e3565b6013805461ff001981166101009182900460ff1615909102179055565b6114f0848484610ade565b6001600160a01b0383163b156115295761150c84848484611974565b611529576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6008546001600160a01b031633146115595760405162461bcd60e51b8152600401610a81906121e3565b600c55565b6060611569826117d0565b6115cd5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610a81565b601354610100900460ff1661166e57601280546115e9906122d2565b80601f0160208091040260200160405190810160405280929190818152602001828054611615906122d2565b80156116625780601f1061163757610100808354040283529160200191611662565b820191906000526020600020905b81548152906001019060200180831161164557829003601f168201915b50505050509050919050565b6000611678611a6c565b9050600081511161169857604051806020016040528060008152506116c6565b806116a284611a7b565b60116040516020016116b69392919061205e565b6040516020818303038152906040525b9392505050565b6001600160a01b0381166000908152600560205260408082205467ffffffffffffffff911c1661084d565b6008546001600160a01b031633146117225760405162461bcd60e51b8152600401610a81906121e3565b8051610a9d906012906020840190611cc3565b6008546001600160a01b0316331461175f5760405162461bcd60e51b8152600401610a81906121e3565b6001600160a01b0381166117c45760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a81565b6117cd8161186e565b50565b6000816001111580156117e4575060005482105b801561084d575050600090815260046020526040902054600160e01b161590565b600081806001116118555760005481101561185557600081815260046020526040902054600160e01b8116611853575b806116c6575060001901600081815260046020526040902054611835565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610a9d828260405180602001604052806000815250611b79565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611927576040519150601f19603f3d011682016040523d82523d6000602084013e61192c565b606091505b5050905080610c8a5760405162461bcd60e51b81526020600482015260146024820152732330b4b632b2103a379039b2b7321032ba3432b960611b6044820152606401610a81565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906119a9903390899088908890600401612122565b602060405180830381600087803b1580156119c357600080fd5b505af19250505080156119f3575060408051601f3d908101601f191682019092526119f091810190611f90565b60015b611a4e573d808015611a21576040519150601f19603f3d011682016040523d82523d6000602084013e611a26565b606091505b508051611a46576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b606060108054610862906122d2565b606081611a9f5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611ac95780611ab38161230d565b9150611ac29050600a8361225c565b9150611aa3565b60008167ffffffffffffffff811115611ae457611ae461237e565b6040519080825280601f01601f191660200182016040528015611b0e576020820181803683370190505b5090505b8415611a6457611b2360018361228f565b9150611b30600a86612328565b611b3b906030612244565b60f81b818381518110611b5057611b50612368565b60200101906001600160f81b031916908160001a905350611b72600a8661225c565b9450611b12565b611b838383611be6565b6001600160a01b0383163b15610c8a576000548281035b611bad6000868380600101945086611974565b611bca576040516368d2bf6b60e11b815260040160405180910390fd5b818110611b9a578160005414611bdf57600080fd5b5050505050565b6000546001600160a01b038316611c0f57604051622e076360e81b815260040160405180910390fd5b81611c2d5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038316600081815260056020526040902080546801000000000000000185020190554260a01b6001841460e11b1717600082815260046020526040902055808281015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210611c775760005550505050565b828054611ccf906122d2565b90600052602060002090601f016020900481019282611cf15760008555611d37565b82601f10611d0a57805160ff1916838001178555611d37565b82800160010185558215611d37579182015b82811115611d37578251825591602001919060010190611d1c565b50611d43929150611d47565b5090565b5b80821115611d435760008155600101611d48565b600067ffffffffffffffff80841115611d7757611d7761237e565b604051601f8501601f19908116603f01168101908282118183101715611d9f57611d9f61237e565b81604052809350858152868686011115611db857600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b0381168114611de957600080fd5b919050565b80358015158114611de957600080fd5b600060208284031215611e1057600080fd5b6116c682611dd2565b60008060408385031215611e2c57600080fd5b611e3583611dd2565b9150611e4360208401611dd2565b90509250929050565b600080600060608486031215611e6157600080fd5b611e6a84611dd2565b9250611e7860208501611dd2565b9150604084013590509250925092565b60008060008060808587031215611e9e57600080fd5b611ea785611dd2565b9350611eb560208601611dd2565b925060408501359150606085013567ffffffffffffffff811115611ed857600080fd5b8501601f81018713611ee957600080fd5b611ef887823560208401611d5c565b91505092959194509250565b60008060408385031215611f1757600080fd5b611f2083611dd2565b9150611e4360208401611dee565b60008060408385031215611f4157600080fd5b611f4a83611dd2565b946020939093013593505050565b600060208284031215611f6a57600080fd5b6116c682611dee565b600060208284031215611f8557600080fd5b81356116c681612394565b600060208284031215611fa257600080fd5b81516116c681612394565b600060208284031215611fbf57600080fd5b813567ffffffffffffffff811115611fd657600080fd5b8201601f81018413611fe757600080fd5b611a6484823560208401611d5c565b60006020828403121561200857600080fd5b5035919050565b6000806040838503121561202257600080fd5b82359150611e4360208401611dd2565b6000815180845261204a8160208601602086016122a6565b601f01601f19169290920160200192915050565b6000845160206120718285838a016122a6565b8551918401916120848184848a016122a6565b8554920191600090600181811c90808316806120a157607f831692505b8583108114156120bf57634e487b7160e01b85526022600452602485fd5b8080156120d357600181146120e457612111565b60ff19851688528388019550612111565b60008b81526020902060005b858110156121095781548a8201529084019088016120f0565b505083880195505b50939b9a5050505050505050505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061215590830184612032565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b818110156121975783518352928401929184019160010161217b565b50909695505050505050565b6020815260006116c66020830184612032565b6020808252601390820152724e6f20636f6e7472616374206d696e74696e6760681b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526012908201527110dbdb9d1c9858dd081a5cc81c185d5cd95960721b604082015260600190565b600082198211156122575761225761233c565b500190565b60008261226b5761226b612352565b500490565b600081600019048311821515161561228a5761228a61233c565b500290565b6000828210156122a1576122a161233c565b500390565b60005b838110156122c15781810151838201526020016122a9565b838111156115295750506000910152565b600181811c908216806122e657607f821691505b6020821081141561230757634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156123215761232161233c565b5060010190565b60008261233757612337612352565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b0319811681146117cd57600080fdfea264697066735822122085ce4cc547da7b698324468727ede94d8b09cb6907574441d93b92cbafb8f09864736f6c63430008070033697066733a2f2f516d5268385972766a46346654673152383379506342537566724e4d59506d57484666674e6243334151377756792f

Deployed Bytecode

0x6080604052600436106102675760003560e01c8063715018a611610144578063a475b5dd116100b6578063c62752551161007a578063c627525514610718578063c87b56dd14610738578063dc33e68114610758578063e985e9c514610778578063f2c4ce1e146107c1578063f2fde38b146107e157600080fd5b8063a475b5dd1461068b578063a945bf80146106a0578063abc025d1146106b6578063ada7c4ed146106cb578063b88d4fde146106f857600080fd5b80638ca887ca116101085780638ca887ca146105ef5780638da5cb5b146106025780639007bd721461062057806395d89b41146106405780639858cf1914610655578063a22cb4651461066b57600080fd5b8063715018a61461055e5780637c928fe9146105735780637ec4a65914610586578063853828b6146105a657806389738156146105bb57600080fd5b8063363e86fe116101dd5780635c975abb116101a15780635c975abb1461049f578063616cdb1e146104b957806362b99ad4146104d95780636352211e146104ee57806364f640761461050e57806370a082311461053e57600080fd5b8063363e86fe1461040957806342842e0e1461041e578063438b63001461043e578063518302271461046b5780635503a0e81461048a57600080fd5b806316ba10e01161022f57806316ba10e01461033257806316c38b3c1461035257806318160ddd1461037257806323b872dd146103995780632ed2146d146103b957806332cb6b0c146103f357600080fd5b806301ffc9a71461026c57806306fdde03146102a1578063081812fc146102c3578063081c8c44146102fb578063095ea7b314610310575b600080fd5b34801561027857600080fd5b5061028c610287366004611f73565b610801565b60405190151581526020015b60405180910390f35b3480156102ad57600080fd5b506102b6610853565b60405161029891906121a3565b3480156102cf57600080fd5b506102e36102de366004611ff6565b6108e5565b6040516001600160a01b039091168152602001610298565b34801561030757600080fd5b506102b6610929565b34801561031c57600080fd5b5061033061032b366004611f2e565b6109b7565b005b34801561033e57600080fd5b5061033061034d366004611fad565b610a57565b34801561035e57600080fd5b5061033061036d366004611f58565b610aa1565b34801561037e57600080fd5b5060015460005403600019015b604051908152602001610298565b3480156103a557600080fd5b506103306103b4366004611e4c565b610ade565b3480156103c557600080fd5b506102b66040518060400160405280600e81526020016d283e302e30293e3c28302e303c2960901b81525081565b3480156103ff57600080fd5b5061038b600a5481565b34801561041557600080fd5b50600c5461038b565b34801561042a57600080fd5b50610330610439366004611e4c565b610c6f565b34801561044a57600080fd5b5061045e610459366004611dfe565b610c8f565b604051610298919061215f565b34801561047757600080fd5b5060135461028c90610100900460ff1681565b34801561049657600080fd5b506102b6610d70565b3480156104ab57600080fd5b5060135461028c9060ff1681565b3480156104c557600080fd5b506103306104d4366004611ff6565b610d7d565b3480156104e557600080fd5b506102b6610dac565b3480156104fa57600080fd5b506102e3610509366004611ff6565b610db9565b34801561051a57600080fd5b5061028c610529366004611dfe565b60146020526000908152604090205460ff1681565b34801561054a57600080fd5b5061038b610559366004611dfe565b610dc4565b34801561056a57600080fd5b50610330610e13565b610330610581366004611ff6565b610e49565b34801561059257600080fd5b506103306105a1366004611fad565b6110cb565b3480156105b257600080fd5b50610330611108565b3480156105c757600080fd5b506102b660405180604001604052806008815260200167546865536175636560c01b81525081565b6103306105fd366004611ff6565b6111c5565b34801561060e57600080fd5b506008546001600160a01b03166102e3565b34801561062c57600080fd5b5061033061063b36600461200f565b611383565b34801561064c57600080fd5b506102b66113f9565b34801561066157600080fd5b5061038b600b5481565b34801561067757600080fd5b50610330610686366004611f04565b611408565b34801561069757600080fd5b5061033061149e565b3480156106ac57600080fd5b5061038b600c5481565b3480156106c257600080fd5b5061038b601481565b3480156106d757600080fd5b5061038b6106e6366004611dfe565b60156020526000908152604090205481565b34801561070457600080fd5b50610330610713366004611e88565b6114e5565b34801561072457600080fd5b50610330610733366004611ff6565b61152f565b34801561074457600080fd5b506102b6610753366004611ff6565b61155e565b34801561076457600080fd5b5061038b610773366004611dfe565b6116cd565b34801561078457600080fd5b5061028c610793366004611e19565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156107cd57600080fd5b506103306107dc366004611fad565b6116f8565b3480156107ed57600080fd5b506103306107fc366004611dfe565b611735565b60006301ffc9a760e01b6001600160e01b03198316148061083257506380ac58cd60e01b6001600160e01b03198316145b8061084d5750635b5e139f60e01b6001600160e01b03198316145b92915050565b606060028054610862906122d2565b80601f016020809104026020016040519081016040528092919081815260200182805461088e906122d2565b80156108db5780601f106108b0576101008083540402835291602001916108db565b820191906000526020600020905b8154815290600101906020018083116108be57829003601f168201915b5050505050905090565b60006108f0826117d0565b61090d576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60128054610936906122d2565b80601f0160208091040260200160405190810160405280929190818152602001828054610962906122d2565b80156109af5780601f10610984576101008083540402835291602001916109af565b820191906000526020600020905b81548152906001019060200180831161099257829003601f168201915b505050505081565b60006109c282610db9565b9050336001600160a01b038216146109fb576109de8133610793565b6109fb576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6008546001600160a01b03163314610a8a5760405162461bcd60e51b8152600401610a81906121e3565b60405180910390fd5b8051610a9d906011906020840190611cc3565b5050565b6008546001600160a01b03163314610acb5760405162461bcd60e51b8152600401610a81906121e3565b6013805460ff1916911515919091179055565b6000610ae982611805565b9050836001600160a01b0316816001600160a01b031614610b1c5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417610b6957610b4c8633610793565b610b6957604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610b9057604051633a954ecd60e21b815260040160405180910390fd5b8015610b9b57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b8316610c265760018401600081815260046020526040902054610c24576000548114610c245760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b610c8a838383604051806020016040528060008152506114e5565b505050565b60606000610c9c83610dc4565b905060008167ffffffffffffffff811115610cb957610cb961237e565b604051908082528060200260200182016040528015610ce2578160200160208202803683370190505b509050600160005b8381108015610cfb5750600a548211155b15610d66576000610d0b83610db9565b9050866001600160a01b0316816001600160a01b03161415610d535782848381518110610d3a57610d3a612368565b602090810291909101015281610d4f8161230d565b9250505b82610d5d8161230d565b93505050610cea565b5090949350505050565b60118054610936906122d2565b6008546001600160a01b03163314610da75760405162461bcd60e51b8152600401610a81906121e3565b600f55565b60108054610936906122d2565b600061084d82611805565b60006001600160a01b038216610ded576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b03163314610e3d5760405162461bcd60e51b8152600401610a81906121e3565b610e47600061186e565b565b60026009541415610e9c5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610a81565b600260095560135460ff1615610ec45760405162461bcd60e51b8152600401610a8190612218565b323314610ee35760405162461bcd60e51b8152600401610a81906121b6565b3415610f265760405162461bcd60e51b815260206004820152601260248201527154686973207068617365206973206672656560701b6044820152606401610a81565b6002811115610f655760405162461bcd60e51b815260206004820152600b60248201526a4f6e6c792032206672656560a81b6044820152606401610a81565b600e5433600090815260156020526040902054610f83908390612244565b1115610fd15760405162461bcd60e51b815260206004820152601960248201527f6d696e7473207065722077616c6c6574206578636565646564000000000000006044820152606401610a81565b600b54600a54610fe1919061228f565b600d546001546000540360001901610ff99190612244565b111561103f5760405162461bcd60e51b8152602060048201526015602482015274416d6f756e74206578636565647320737570706c7960581b6044820152606401610a81565b600f548111156110915760405162461bcd60e51b815260206004820181905260248201527f416d6f756e742065786365656473207472616e73616374696f6e206c696d69746044820152606401610a81565b33600090815260156020526040812080548392906110b0908490612244565b925050819055506110c333600d546118c0565b506001600955565b6008546001600160a01b031633146110f55760405162461bcd60e51b8152600401610a81906121e3565b8051610a9d906010906020840190611cc3565b6008546001600160a01b031633146111325760405162461bcd60e51b8152600401610a81906121e3565b60006103e861114247608c612270565b61114c919061225c565b905060006103e861115e4760be612270565b611168919061225c565b905061118873914912f14fe6fd17ac83e672c0e5eb8a29cd8fd1836118da565b6111a673d5ea12b40648168394b4554ec7572d65465098b4826118da565b47610c8a73f5c57ebd20741492c17be7bfb56b52da0026f747826118da565b600260095414156112185760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610a81565b600260095560135460ff16156112405760405162461bcd60e51b8152600401610a8190612218565b32331461125f5760405162461bcd60e51b8152600401610a81906121b6565b600f548111156112b15760405162461bcd60e51b815260206004820181905260248201527f416d6f756e742065786365656473207472616e73616374696f6e206c696d69746044820152606401610a81565b600b54600a546112c1919061228f565b60015460005483919003600019016112d99190612244565b111561131f5760405162461bcd60e51b8152602060048201526015602482015274416d6f756e74206578636565647320737570706c7960581b6044820152606401610a81565b348161132a600c5490565b6113349190612270565b11156113795760405162461bcd60e51b8152602060048201526014602482015273125b9cdd59999a58da595b9d081c185e5b595b9d60621b6044820152606401610a81565b6110c333826118c0565b6008546001600160a01b031633146113ad5760405162461bcd60e51b8152600401610a81906121e3565b60135460ff16156113d05760405162461bcd60e51b8152600401610a8190612218565b3233146113ef5760405162461bcd60e51b8152600401610a81906121b6565b610a9d81836118c0565b606060038054610862906122d2565b6001600160a01b0382163314156114325760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6008546001600160a01b031633146114c85760405162461bcd60e51b8152600401610a81906121e3565b6013805461ff001981166101009182900460ff1615909102179055565b6114f0848484610ade565b6001600160a01b0383163b156115295761150c84848484611974565b611529576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6008546001600160a01b031633146115595760405162461bcd60e51b8152600401610a81906121e3565b600c55565b6060611569826117d0565b6115cd5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610a81565b601354610100900460ff1661166e57601280546115e9906122d2565b80601f0160208091040260200160405190810160405280929190818152602001828054611615906122d2565b80156116625780601f1061163757610100808354040283529160200191611662565b820191906000526020600020905b81548152906001019060200180831161164557829003601f168201915b50505050509050919050565b6000611678611a6c565b9050600081511161169857604051806020016040528060008152506116c6565b806116a284611a7b565b60116040516020016116b69392919061205e565b6040516020818303038152906040525b9392505050565b6001600160a01b0381166000908152600560205260408082205467ffffffffffffffff911c1661084d565b6008546001600160a01b031633146117225760405162461bcd60e51b8152600401610a81906121e3565b8051610a9d906012906020840190611cc3565b6008546001600160a01b0316331461175f5760405162461bcd60e51b8152600401610a81906121e3565b6001600160a01b0381166117c45760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a81565b6117cd8161186e565b50565b6000816001111580156117e4575060005482105b801561084d575050600090815260046020526040902054600160e01b161590565b600081806001116118555760005481101561185557600081815260046020526040902054600160e01b8116611853575b806116c6575060001901600081815260046020526040902054611835565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610a9d828260405180602001604052806000815250611b79565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611927576040519150601f19603f3d011682016040523d82523d6000602084013e61192c565b606091505b5050905080610c8a5760405162461bcd60e51b81526020600482015260146024820152732330b4b632b2103a379039b2b7321032ba3432b960611b6044820152606401610a81565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906119a9903390899088908890600401612122565b602060405180830381600087803b1580156119c357600080fd5b505af19250505080156119f3575060408051601f3d908101601f191682019092526119f091810190611f90565b60015b611a4e573d808015611a21576040519150601f19603f3d011682016040523d82523d6000602084013e611a26565b606091505b508051611a46576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b606060108054610862906122d2565b606081611a9f5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611ac95780611ab38161230d565b9150611ac29050600a8361225c565b9150611aa3565b60008167ffffffffffffffff811115611ae457611ae461237e565b6040519080825280601f01601f191660200182016040528015611b0e576020820181803683370190505b5090505b8415611a6457611b2360018361228f565b9150611b30600a86612328565b611b3b906030612244565b60f81b818381518110611b5057611b50612368565b60200101906001600160f81b031916908160001a905350611b72600a8661225c565b9450611b12565b611b838383611be6565b6001600160a01b0383163b15610c8a576000548281035b611bad6000868380600101945086611974565b611bca576040516368d2bf6b60e11b815260040160405180910390fd5b818110611b9a578160005414611bdf57600080fd5b5050505050565b6000546001600160a01b038316611c0f57604051622e076360e81b815260040160405180910390fd5b81611c2d5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038316600081815260056020526040902080546801000000000000000185020190554260a01b6001841460e11b1717600082815260046020526040902055808281015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210611c775760005550505050565b828054611ccf906122d2565b90600052602060002090601f016020900481019282611cf15760008555611d37565b82601f10611d0a57805160ff1916838001178555611d37565b82800160010185558215611d37579182015b82811115611d37578251825591602001919060010190611d1c565b50611d43929150611d47565b5090565b5b80821115611d435760008155600101611d48565b600067ffffffffffffffff80841115611d7757611d7761237e565b604051601f8501601f19908116603f01168101908282118183101715611d9f57611d9f61237e565b81604052809350858152868686011115611db857600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b0381168114611de957600080fd5b919050565b80358015158114611de957600080fd5b600060208284031215611e1057600080fd5b6116c682611dd2565b60008060408385031215611e2c57600080fd5b611e3583611dd2565b9150611e4360208401611dd2565b90509250929050565b600080600060608486031215611e6157600080fd5b611e6a84611dd2565b9250611e7860208501611dd2565b9150604084013590509250925092565b60008060008060808587031215611e9e57600080fd5b611ea785611dd2565b9350611eb560208601611dd2565b925060408501359150606085013567ffffffffffffffff811115611ed857600080fd5b8501601f81018713611ee957600080fd5b611ef887823560208401611d5c565b91505092959194509250565b60008060408385031215611f1757600080fd5b611f2083611dd2565b9150611e4360208401611dee565b60008060408385031215611f4157600080fd5b611f4a83611dd2565b946020939093013593505050565b600060208284031215611f6a57600080fd5b6116c682611dee565b600060208284031215611f8557600080fd5b81356116c681612394565b600060208284031215611fa257600080fd5b81516116c681612394565b600060208284031215611fbf57600080fd5b813567ffffffffffffffff811115611fd657600080fd5b8201601f81018413611fe757600080fd5b611a6484823560208401611d5c565b60006020828403121561200857600080fd5b5035919050565b6000806040838503121561202257600080fd5b82359150611e4360208401611dd2565b6000815180845261204a8160208601602086016122a6565b601f01601f19169290920160200192915050565b6000845160206120718285838a016122a6565b8551918401916120848184848a016122a6565b8554920191600090600181811c90808316806120a157607f831692505b8583108114156120bf57634e487b7160e01b85526022600452602485fd5b8080156120d357600181146120e457612111565b60ff19851688528388019550612111565b60008b81526020902060005b858110156121095781548a8201529084019088016120f0565b505083880195505b50939b9a5050505050505050505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061215590830184612032565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b818110156121975783518352928401929184019160010161217b565b50909695505050505050565b6020815260006116c66020830184612032565b6020808252601390820152724e6f20636f6e7472616374206d696e74696e6760681b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526012908201527110dbdb9d1c9858dd081a5cc81c185d5cd95960721b604082015260600190565b600082198211156122575761225761233c565b500190565b60008261226b5761226b612352565b500490565b600081600019048311821515161561228a5761228a61233c565b500290565b6000828210156122a1576122a161233c565b500390565b60005b838110156122c15781810151838201526020016122a9565b838111156115295750506000910152565b600181811c908216806122e657607f821691505b6020821081141561230757634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156123215761232161233c565b5060010190565b60008261233757612337612352565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b0319811681146117cd57600080fdfea264697066735822122085ce4cc547da7b698324468727ede94d8b09cb6907574441d93b92cbafb8f09864736f6c63430008070033

Deployed Bytecode Sourcemap

54141:5783:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23835:615;;;;;;;;;;-1:-1:-1;23835:615:0;;;;;:::i;:::-;;:::i;:::-;;;8066:14:1;;8059:22;8041:41;;8029:2;8014:18;23835:615:0;;;;;;;;29482:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;31428:204::-;;;;;;;;;;-1:-1:-1;31428:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;6727:32:1;;;6709:51;;6697:2;6682:18;31428:204:0;6563:203:1;55013:87:0;;;;;;;;;;;;;:::i;30976:386::-;;;;;;;;;;-1:-1:-1;30976:386:0;;;;;:::i;:::-;;:::i;:::-;;57945:106;;;;;;;;;;-1:-1:-1;57945:106:0;;;;;:::i;:::-;;:::i;58741:83::-;;;;;;;;;;-1:-1:-1;58741:83:0;;;;;:::i;:::-;;:::i;22889:315::-;;;;;;;;;;-1:-1:-1;55646:1:0;23155:12;22942:7;23139:13;:28;-1:-1:-1;;23139:46:0;22889:315;;;13152:25:1;;;13140:2;13125:18;22889:315:0;13006:177:1;40693:2800:0;;;;;;;;;;-1:-1:-1;40693:2800:0;;;;;:::i;:::-;;:::i;54503:50::-;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;54503:50:0;;;;;54563:33;;;;;;;;;;;;;;;;58944:93;;;;;;;;;;-1:-1:-1;59018:11:0;;58944:93;;32318:185;;;;;;;;;;-1:-1:-1;32318:185:0;;;;;:::i;:::-;;:::i;56864:689::-;;;;;;;;;;-1:-1:-1;56864:689:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;55141:28::-;;;;;;;;;;-1:-1:-1;55141:28:0;;;;;;;;;;;54978;;;;;;;;;;;;;:::i;55109:25::-;;;;;;;;;;-1:-1:-1;55109:25:0;;;;;;;;59049:106;;;;;;;;;;-1:-1:-1;59049:106:0;;;;;:::i;:::-;;:::i;54943:28::-;;;;;;;;;;;;;:::i;29271:144::-;;;;;;;;;;-1:-1:-1;29271:144:0;;;;;:::i;:::-;;:::i;55178:46::-;;;;;;;;;;-1:-1:-1;55178:46:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;24514:224;;;;;;;;;;-1:-1:-1;24514:224:0;;;;;:::i;:::-;;:::i;8426:103::-;;;;;;;;;;;;;:::i;55663:662::-;;;;;;:::i;:::-;;:::i;57831:106::-;;;;;;;;;;-1:-1:-1;57831:106:0;;;;;:::i;:::-;;:::i;59305:427::-;;;;;;;;;;;;;:::i;54883:53::-;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;54883:53:0;;;;;56354:497;;;;;;:::i;:::-;;:::i;7775:87::-;;;;;;;;;;-1:-1:-1;7848:6:0;;-1:-1:-1;;;;;7848:6:0;7775:87;;59163:134;;;;;;;;;;-1:-1:-1;59163:134:0;;;;;:::i;:::-;;:::i;29651:104::-;;;;;;;;;;;;;:::i;54603:33::-;;;;;;;;;;;;;;;;31704:308;;;;;;;;;;-1:-1:-1;31704:308:0;;;;;:::i;:::-;;:::i;58199:76::-;;;;;;;;;;;;;:::i;54643:39::-;;;;;;;;;;;;;;;;54825:49;;;;;;;;;;;;54872:2;54825:49;;55231:48;;;;;;;;;;-1:-1:-1;55231:48:0;;;;;:::i;:::-;;;;;;;;;;;;;;32574:399;;;;;;;;;;-1:-1:-1;32574:399:0;;;;;:::i;:::-;;:::i;58836:96::-;;;;;;;;;;-1:-1:-1;58836:96:0;;;;;:::i;:::-;;:::i;58283:450::-;;;;;;;;;;-1:-1:-1;58283:450:0;;;;;:::i;:::-;;:::i;57687:113::-;;;;;;;;;;-1:-1:-1;57687:113:0;;;;;:::i;:::-;;:::i;32083:164::-;;;;;;;;;;-1:-1:-1;32083:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;32204:25:0;;;32180:4;32204:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;32083:164;58059:128;;;;;;;;;;-1:-1:-1;58059:128:0;;;;;:::i;:::-;;:::i;8684:201::-;;;;;;;;;;-1:-1:-1;8684:201:0;;;;;:::i;:::-;;:::i;23835:615::-;23920:4;-1:-1:-1;;;;;;;;;24220:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;24297:25:0;;;24220:102;:179;;;-1:-1:-1;;;;;;;;;;24374:25:0;;;24220:179;24200:199;23835:615;-1:-1:-1;;23835:615:0:o;29482:100::-;29536:13;29569:5;29562:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29482:100;:::o;31428:204::-;31496:7;31521:16;31529:7;31521;:16::i;:::-;31516:64;;31546:34;;-1:-1:-1;;;31546:34:0;;;;;;;;;;;31516:64;-1:-1:-1;31600:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;31600:24:0;;31428:204::o;55013:87::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;30976:386::-;31049:13;31065:16;31073:7;31065;:16::i;:::-;31049:32;-1:-1:-1;51876:10:0;-1:-1:-1;;;;;31098:28:0;;;31094:175;;31146:44;31163:5;51876:10;32083:164;:::i;31146:44::-;31141:128;;31218:35;;-1:-1:-1;;;31218:35:0;;;;;;;;;;;31141:128;31281:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;31281:29:0;-1:-1:-1;;;;;31281:29:0;;;;;;;;;31326:28;;31281:24;;31326:28;;;;;;;31038:324;30976:386;;:::o;57945:106::-;7848:6;;-1:-1:-1;;;;;7848:6:0;51876:10;7995:23;7987:68;;;;-1:-1:-1;;;7987:68:0;;;;;;;:::i;:::-;;;;;;;;;58021:22;;::::1;::::0;:9:::1;::::0;:22:::1;::::0;::::1;::::0;::::1;:::i;:::-;;57945:106:::0;:::o;58741:83::-;7848:6;;-1:-1:-1;;;;;7848:6:0;51876:10;7995:23;7987:68;;;;-1:-1:-1;;;7987:68:0;;;;;;;:::i;:::-;58801:6:::1;:15:::0;;-1:-1:-1;;58801:15:0::1;::::0;::::1;;::::0;;;::::1;::::0;;58741:83::o;40693:2800::-;40827:27;40857;40876:7;40857:18;:27::i;:::-;40827:57;;40942:4;-1:-1:-1;;;;;40901:45:0;40917:19;-1:-1:-1;;;;;40901:45:0;;40897:86;;40955:28;;-1:-1:-1;;;40955:28:0;;;;;;;;;;;40897:86;40997:27;39423:21;;;39250:15;39465:4;39458:36;39547:4;39531:21;;39637:26;;51876:10;40390:30;;;-1:-1:-1;;;;;40088:26:0;;40369:19;;;40366:55;41176:174;;41263:43;41280:4;51876:10;32083:164;:::i;41263:43::-;41258:92;;41315:35;;-1:-1:-1;;;41315:35:0;;;;;;;;;;;41258:92;-1:-1:-1;;;;;41367:16:0;;41363:52;;41392:23;;-1:-1:-1;;;41392:23:0;;;;;;;;;;;41363:52;41564:15;41561:160;;;41704:1;41683:19;41676:30;41561:160;-1:-1:-1;;;;;42099:24:0;;;;;;;:18;:24;;;;;;42097:26;;-1:-1:-1;;42097:26:0;;;42168:22;;;;;;;;;42166:24;;-1:-1:-1;42166:24:0;;;29170:11;29146:22;29142:40;29129:62;-1:-1:-1;;;29129:62:0;42461:26;;;;:17;:26;;;;;:174;-1:-1:-1;;;42755:46:0;;42751:626;;42859:1;42849:11;;42827:19;42982:30;;;:17;:30;;;;;;42978:384;;43120:13;;43105:11;:28;43101:242;;43267:30;;;;:17;:30;;;;;:52;;;43101:242;42808:569;42751:626;43424:7;43420:2;-1:-1:-1;;;;;43405:27:0;43414:4;-1:-1:-1;;;;;43405:27:0;;;;;;;;;;;40816:2677;;;40693:2800;;;:::o;32318:185::-;32456:39;32473:4;32479:2;32483:7;32456:39;;;;;;;;;;;;:16;:39::i;:::-;32318:185;;;:::o;56864:689::-;56924:16;56958:23;56984:17;56994:6;56984:9;:17::i;:::-;56958:43;;57012:30;57059:15;57045:30;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;57045:30:0;-1:-1:-1;57012:63:0;-1:-1:-1;57111:1:0;57086:22;57163:350;57188:15;57170;:33;:65;;;;;57225:10;;57207:14;:28;;57170:65;57163:350;;;57252:25;57280:23;57288:14;57280:7;:23::i;:::-;57252:51;;57345:6;-1:-1:-1;;;;;57324:27:0;:17;-1:-1:-1;;;;;57324:27:0;;57320:153;;;57405:14;57372:13;57386:15;57372:30;;;;;;;;:::i;:::-;;;;;;;;;;:47;57440:17;;;;:::i;:::-;;;;57320:153;57485:16;;;;:::i;:::-;;;;57237:276;57163:350;;;-1:-1:-1;57532:13:0;;56864:689;-1:-1:-1;;;;56864:689:0:o;54978:28::-;;;;;;;:::i;59049:106::-;7848:6;;-1:-1:-1;;;;;7848:6:0;51876:10;7995:23;7987:68;;;;-1:-1:-1;;;7987:68:0;;;;;;;:::i;:::-;59121:16:::1;:26:::0;59049:106::o;54943:28::-;;;;;;;:::i;29271:144::-;29335:7;29378:27;29397:7;29378:18;:27::i;24514:224::-;24578:7;-1:-1:-1;;;;;24602:19:0;;24598:60;;24630:28;;-1:-1:-1;;;24630:28:0;;;;;;;;;;;24598:60;-1:-1:-1;;;;;;24676:25:0;;;;;:18;:25;;;;;;19069:13;24676:54;;24514:224::o;8426:103::-;7848:6;;-1:-1:-1;;;;;7848:6:0;51876:10;7995:23;7987:68;;;;-1:-1:-1;;;7987:68:0;;;;;;;:::i;:::-;8491:30:::1;8518:1;8491:18;:30::i;:::-;8426:103::o:0;55663:662::-;2749:1;3347:7;;:19;;3339:63;;;;-1:-1:-1;;;3339:63:0;;12848:2:1;3339:63:0;;;12830:21:1;12887:2;12867:18;;;12860:30;12926:33;12906:18;;;12899:61;12977:18;;3339:63:0;12646:355:1;3339:63:0;2749:1;3480:7;:18;55428:6:::1;::::0;::::1;;55427:7;55419:38;;;;-1:-1:-1::0;;;55419:38:0::1;;;;;;;:::i;:::-;55476:9;55489:10;55476:23;55468:55;;;;-1:-1:-1::0;;;55468:55:0::1;;;;;;;:::i;:::-;55812:9:::2;:14:::0;55804:45:::2;;;::::0;-1:-1:-1;;;55804:45:0;;11439:2:1;55804:45:0::2;::::0;::::2;11421:21:1::0;11478:2;11458:18;;;11451:30;-1:-1:-1;;;11497:18:1;;;11490:48;11555:18;;55804:45:0::2;11237:342:1::0;55804:45:0::2;55880:1;55868:8;:13;;55860:37;;;::::0;-1:-1:-1;;;55860:37:0;;10334:2:1;55860:37:0::2;::::0;::::2;10316:21:1::0;10373:2;10353:18;;;10346:30;-1:-1:-1;;;10392:18:1;;;10385:41;10443:18;;55860:37:0::2;10132:335:1::0;55860:37:0::2;55956:16;::::0;55930:10:::2;55916:25;::::0;;;:13:::2;:25;::::0;;;;;:36:::2;::::0;55944:8;;55916:36:::2;:::i;:::-;:56;;55908:94;;;::::0;-1:-1:-1;;;55908:94:0;;11786:2:1;55908:94:0::2;::::0;::::2;11768:21:1::0;11825:2;11805:18;;;11798:30;11864:27;11844:18;;;11837:55;11909:18;;55908:94:0::2;11584:349:1::0;55908:94:0::2;56076:11;;56063:10;;:24;;;;:::i;:::-;56043:16;::::0;55646:1;23155:12;22942:7;23139:13;:28;-1:-1:-1;;23139:46:0;56027:32:::2;;;;:::i;:::-;:61;56023:98;;;56090:31;::::0;-1:-1:-1;;;56090:31:0;;9274:2:1;56090:31:0::2;::::0;::::2;9256:21:1::0;9313:2;9293:18;;;9286:30;-1:-1:-1;;;9332:18:1;;;9325:51;9393:18;;56090:31:0::2;9072:345:1::0;56023:98:0::2;56147:16;;56136:8;:27;56132:75;;;56165:42;::::0;-1:-1:-1;;;56165:42:0;;12487:2:1;56165:42:0::2;::::0;::::2;12469:21:1::0;;;12506:18;;;12499:30;12565:34;12545:18;;;12538:62;12617:18;;56165:42:0::2;12285:356:1::0;56132:75:0::2;56242:10;56228:25;::::0;;;:13:::2;:25;::::0;;;;:37;;56257:8;;56228:25;:37:::2;::::0;56257:8;;56228:37:::2;:::i;:::-;;;;;;;;56278:39;56288:10;56300:16;;56278:9;:39::i;:::-;-1:-1:-1::0;2705:1:0;3659:7;:22;55663:662::o;57831:106::-;7848:6;;-1:-1:-1;;;;;7848:6:0;51876:10;7995:23;7987:68;;;;-1:-1:-1;;;7987:68:0;;;;;;;:::i;:::-;57907:22;;::::1;::::0;:9:::1;::::0;:22:::1;::::0;::::1;::::0;::::1;:::i;59305:427::-:0;7848:6;;-1:-1:-1;;;;;7848:6:0;51876:10;7995:23;7987:68;;;;-1:-1:-1;;;7987:68:0;;;;;;;:::i;:::-;59358:24:::1;59417:4;59386:27;:21;59410:3;59386:27;:::i;:::-;59385:36;;;;:::i;:::-;59358:63:::0;-1:-1:-1;59439:24:0::1;59498:4;59467:27;:21;59491:3;59467:27;:::i;:::-;59466:36;;;;:::i;:::-;59439:63;;59522:37;54362:42;59542:16;59522:8;:37::i;:::-;59570;54448:42;59590:16;59570:8;:37::i;:::-;59647:21;59687:37;54276:42;59647:21:::0;59687:8:::1;:37::i;56354:497::-:0;2749:1;3347:7;;:19;;3339:63;;;;-1:-1:-1;;;3339:63:0;;12848:2:1;3339:63:0;;;12830:21:1;12887:2;12867:18;;;12860:30;12926:33;12906:18;;;12899:61;12977:18;;3339:63:0;12646:355:1;3339:63:0;2749:1;3480:7;:18;55428:6:::1;::::0;::::1;;55427:7;55419:38;;;;-1:-1:-1::0;;;55419:38:0::1;;;;;;;:::i;:::-;55476:9;55489:10;55476:23;55468:55;;;;-1:-1:-1::0;;;55468:55:0::1;;;;;;;:::i;:::-;56503:16:::2;;56492:8;:27;56488:88;;;56534:42;::::0;-1:-1:-1;;;56534:42:0;;12487:2:1;56534:42:0::2;::::0;::::2;12469:21:1::0;;;12506:18;;;12499:30;12565:34;12545:18;;;12538:62;12617:18;;56534:42:0::2;12285:356:1::0;56488:88:0::2;56632:11;;56619:10;;:24;;;;:::i;:::-;55646:1:::0;23155:12;22942:7;23139:13;56607:8;;23139:28;;-1:-1:-1;;23139:46:0;56591:24:::2;;;;:::i;:::-;:53;56587:103;;;56659:31;::::0;-1:-1:-1;;;56659:31:0;;9274:2:1;56659:31:0::2;::::0;::::2;9256:21:1::0;9313:2;9293:18;;;9286:30;-1:-1:-1;;;9332:18:1;;;9325:51;9393:18;;56659:31:0::2;9072:345:1::0;56587:103:0::2;56735:9;56724:8;56705:16;59018:11:::0;;;58944:93;56705:16:::2;:27;;;;:::i;:::-;:39;56701:88;;;56759:30;::::0;-1:-1:-1;;;56759:30:0;;9624:2:1;56759:30:0::2;::::0;::::2;9606:21:1::0;9663:2;9643:18;;;9636:30;-1:-1:-1;;;9682:18:1;;;9675:50;9742:18;;56759:30:0::2;9422:344:1::0;56701:88:0::2;56812:31;56822:10;56834:8;56812:9;:31::i;59163:134::-:0;7848:6;;-1:-1:-1;;;;;7848:6:0;51876:10;7995:23;7987:68;;;;-1:-1:-1;;;7987:68:0;;;;;;;:::i;:::-;55428:6:::1;::::0;::::1;;55427:7;55419:38;;;;-1:-1:-1::0;;;55419:38:0::1;;;;;;;:::i;:::-;55476:9;55489:10;55476:23;55468:55;;;;-1:-1:-1::0;;;55468:55:0::1;;;;;;;:::i;:::-;59260:29:::2;59270:8;59280;59260:9;:29::i;29651:104::-:0;29707:13;29740:7;29733:14;;;;;:::i;31704:308::-;-1:-1:-1;;;;;31803:31:0;;51876:10;31803:31;31799:61;;;31843:17;;-1:-1:-1;;;31843:17:0;;;;;;;;;;;31799:61;51876:10;31873:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;31873:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;31873:60:0;;;;;;;;;;31949:55;;8041:41:1;;;31873:49:0;;51876:10;31949:55;;8014:18:1;31949:55:0;;;;;;;31704:308;;:::o;58199:76::-;7848:6;;-1:-1:-1;;;;;7848:6:0;51876:10;7995:23;7987:68;;;;-1:-1:-1;;;7987:68:0;;;;;;;:::i;:::-;58259:8:::1;::::0;;-1:-1:-1;;58247:20:0;::::1;58259:8;::::0;;;::::1;;;58258:9;58247:20:::0;;::::1;;::::0;;58199:76::o;32574:399::-;32741:31;32754:4;32760:2;32764:7;32741:12;:31::i;:::-;-1:-1:-1;;;;;32787:14:0;;;:19;32783:183;;32826:56;32857:4;32863:2;32867:7;32876:5;32826:30;:56::i;:::-;32821:145;;32910:40;;-1:-1:-1;;;32910:40:0;;;;;;;;;;;32821:145;32574:399;;;;:::o;58836:96::-;7848:6;;-1:-1:-1;;;;;7848:6:0;51876:10;7995:23;7987:68;;;;-1:-1:-1;;;7987:68:0;;;;;;;:::i;:::-;58905:11:::1;:19:::0;58836:96::o;58283:450::-;58357:13;58391:17;58399:8;58391:7;:17::i;:::-;58383:77;;;;-1:-1:-1;;;58383:77:0;;11023:2:1;58383:77:0;;;11005:21:1;11062:2;11042:18;;;11035:30;11101:34;11081:18;;;11074:62;-1:-1:-1;;;11152:18:1;;;11145:45;11207:19;;58383:77:0;10821:411:1;58383:77:0;58473:8;;;;;;;58469:63;;58510:14;58503:21;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58283:450;;;:::o;58469:63::-;58540:28;58571:10;:8;:10::i;:::-;58540:41;;58626:1;58601:14;58595:28;:32;:130;;;;;;;;;;;;;;;;;58663:14;58679:19;:8;:17;:19::i;:::-;58700:9;58646:64;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;58595:130;58588:137;58283:450;-1:-1:-1;;;58283:450:0:o;57687:113::-;-1:-1:-1;;;;;24909:25:0;;57745:7;24909:25;;;:18;:25;;19206:2;24909:25;;;;19069:13;24909:49;;24908:80;57772:20;24820:176;58059:128;7848:6;;-1:-1:-1;;;;;7848:6:0;51876:10;7995:23;7987:68;;;;-1:-1:-1;;;7987:68:0;;;;;;;:::i;:::-;58147:32;;::::1;::::0;:14:::1;::::0;:32:::1;::::0;::::1;::::0;::::1;:::i;8684:201::-:0;7848:6;;-1:-1:-1;;;;;7848:6:0;51876:10;7995:23;7987:68;;;;-1:-1:-1;;;7987:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;8773:22:0;::::1;8765:73;;;::::0;-1:-1:-1;;;8765:73:0;;8519:2:1;8765:73:0::1;::::0;::::1;8501:21:1::0;8558:2;8538:18;;;8531:30;8597:34;8577:18;;;8570:62;-1:-1:-1;;;8648:18:1;;;8641:36;8694:19;;8765:73:0::1;8317:402:1::0;8765:73:0::1;8849:28;8868:8;8849:18;:28::i;:::-;8684:201:::0;:::o;33228:273::-;33285:4;33341:7;55646:1;33322:26;;:66;;;;;33375:13;;33365:7;:23;33322:66;:152;;;;-1:-1:-1;;33426:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;33426:43:0;:48;;33228:273::o;26188:1129::-;26255:7;26290;;55646:1;26339:23;26335:915;;26392:13;;26385:4;:20;26381:869;;;26430:14;26447:23;;;:17;:23;;;;;;-1:-1:-1;;;26536:23:0;;26532:699;;27055:113;27062:11;27055:113;;-1:-1:-1;;;27133:6:0;27115:25;;;;:17;:25;;;;;;27055:113;;26532:699;26407:843;26381:869;27278:31;;-1:-1:-1;;;27278:31:0;;;;;;;;;;;9045:191;9138:6;;;-1:-1:-1;;;;;9155:17:0;;;-1:-1:-1;;;;;;9155:17:0;;;;;;;9188:40;;9138:6;;;9155:17;9138:6;;9188:40;;9119:16;;9188:40;9108:128;9045:191;:::o;33585:104::-;33654:27;33664:2;33668:8;33654:27;;;;;;;;;;;;:9;:27::i;59740:179::-;59812:7;59833;-1:-1:-1;;;;;59825:21:0;59854:6;59825:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59811:54;;;59884:2;59876:35;;;;-1:-1:-1;;;59876:35:0;;10674:2:1;59876:35:0;;;10656:21:1;10713:2;10693:18;;;10686:30;-1:-1:-1;;;10732:18:1;;;10725:50;10792:18;;59876:35:0;10472:344:1;47444:716:0;47628:88;;-1:-1:-1;;;47628:88:0;;47607:4;;-1:-1:-1;;;;;47628:45:0;;;;;:88;;51876:10;;47695:4;;47701:7;;47710:5;;47628:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;47628:88:0;;;;;;;;-1:-1:-1;;47628:88:0;;;;;;;;;;;;:::i;:::-;;;47624:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;47911:13:0;;47907:235;;47957:40;;-1:-1:-1;;;47957:40:0;;;;;;;;;;;47907:235;48100:6;48094:13;48085:6;48081:2;48077:15;48070:38;47624:529;-1:-1:-1;;;;;;47787:64:0;-1:-1:-1;;;47787:64:0;;-1:-1:-1;47624:529:0;47444:716;;;;;;:::o;57565:110::-;57625:13;57658:9;57651:16;;;;;:::i;4061:723::-;4117:13;4338:10;4334:53;;-1:-1:-1;;4365:10:0;;;;;;;;;;;;-1:-1:-1;;;4365:10:0;;;;;4061:723::o;4334:53::-;4412:5;4397:12;4453:78;4460:9;;4453:78;;4486:8;;;;:::i;:::-;;-1:-1:-1;4509:10:0;;-1:-1:-1;4517:2:0;4509:10;;:::i;:::-;;;4453:78;;;4541:19;4573:6;4563:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;4563:17:0;;4541:39;;4591:154;4598:10;;4591:154;;4625:11;4635:1;4625:11;;:::i;:::-;;-1:-1:-1;4694:10:0;4702:2;4694:5;:10;:::i;:::-;4681:24;;:2;:24;:::i;:::-;4668:39;;4651:6;4658;4651:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;4651:56:0;;;;;;;;-1:-1:-1;4722:11:0;4731:2;4722:11;;:::i;:::-;;;4591:154;;34105:681;34228:19;34234:2;34238:8;34228:5;:19::i;:::-;-1:-1:-1;;;;;34289:14:0;;;:19;34285:483;;34329:11;34343:13;34391:14;;;34424:233;34455:62;34494:1;34498:2;34502:7;;;;;;34511:5;34455:30;:62::i;:::-;34450:167;;34553:40;;-1:-1:-1;;;34553:40:0;;;;;;;;;;;34450:167;34652:3;34644:5;:11;34424:233;;34739:3;34722:13;;:20;34718:34;;34744:8;;;34718:34;34310:458;;34105:681;;;:::o;35059:1529::-;35124:20;35147:13;-1:-1:-1;;;;;35175:16:0;;35171:48;;35200:19;;-1:-1:-1;;;35200:19:0;;;;;;;;;;;35171:48;35234:13;35230:44;;35256:18;;-1:-1:-1;;;35256:18:0;;;;;;;;;;;35230:44;-1:-1:-1;;;;;35762:22:0;;;;;;:18;:22;;19206:2;35762:22;;:70;;35800:31;35788:44;;35762:70;;;29170:11;29146:22;29142:40;-1:-1:-1;30880:15:0;;30855:23;30851:45;29139:51;29129:62;36075:31;;;;:17;:31;;;;;:173;36093:12;36324:23;;;36362:101;36389:35;;36414:9;;;;;-1:-1:-1;;;;;36389:35:0;;;36406:1;;36389:35;;36406:1;;36389:35;36458:3;36448:7;:13;36362:101;;36479:13;:19;-1:-1:-1;32318:185:0;;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:631:1;78:5;108:18;149:2;141:6;138:14;135:40;;;155:18;;:::i;:::-;230:2;224:9;198:2;284:15;;-1:-1:-1;;280:24:1;;;306:2;276:33;272:42;260:55;;;330:18;;;350:22;;;327:46;324:72;;;376:18;;:::i;:::-;416:10;412:2;405:22;445:6;436:15;;475:6;467;460:22;515:3;506:6;501:3;497:16;494:25;491:45;;;532:1;529;522:12;491:45;582:6;577:3;570:4;562:6;558:17;545:44;637:1;630:4;621:6;613;609:19;605:30;598:41;;;;14:631;;;;;:::o;650:173::-;718:20;;-1:-1:-1;;;;;767:31:1;;757:42;;747:70;;813:1;810;803:12;747:70;650:173;;;:::o;828:160::-;893:20;;949:13;;942:21;932:32;;922:60;;978:1;975;968:12;993:186;1052:6;1105:2;1093:9;1084:7;1080:23;1076:32;1073:52;;;1121:1;1118;1111:12;1073:52;1144:29;1163:9;1144:29;:::i;1184:260::-;1252:6;1260;1313:2;1301:9;1292:7;1288:23;1284:32;1281:52;;;1329:1;1326;1319:12;1281:52;1352:29;1371:9;1352:29;:::i;:::-;1342:39;;1400:38;1434:2;1423:9;1419:18;1400:38;:::i;:::-;1390:48;;1184:260;;;;;:::o;1449:328::-;1526:6;1534;1542;1595:2;1583:9;1574:7;1570:23;1566:32;1563:52;;;1611:1;1608;1601:12;1563:52;1634:29;1653:9;1634:29;:::i;:::-;1624:39;;1682:38;1716:2;1705:9;1701:18;1682:38;:::i;:::-;1672:48;;1767:2;1756:9;1752:18;1739:32;1729:42;;1449:328;;;;;:::o;1782:666::-;1877:6;1885;1893;1901;1954:3;1942:9;1933:7;1929:23;1925:33;1922:53;;;1971:1;1968;1961:12;1922:53;1994:29;2013:9;1994:29;:::i;:::-;1984:39;;2042:38;2076:2;2065:9;2061:18;2042:38;:::i;:::-;2032:48;;2127:2;2116:9;2112:18;2099:32;2089:42;;2182:2;2171:9;2167:18;2154:32;2209:18;2201:6;2198:30;2195:50;;;2241:1;2238;2231:12;2195:50;2264:22;;2317:4;2309:13;;2305:27;-1:-1:-1;2295:55:1;;2346:1;2343;2336:12;2295:55;2369:73;2434:7;2429:2;2416:16;2411:2;2407;2403:11;2369:73;:::i;:::-;2359:83;;;1782:666;;;;;;;:::o;2453:254::-;2518:6;2526;2579:2;2567:9;2558:7;2554:23;2550:32;2547:52;;;2595:1;2592;2585:12;2547:52;2618:29;2637:9;2618:29;:::i;:::-;2608:39;;2666:35;2697:2;2686:9;2682:18;2666:35;:::i;2712:254::-;2780:6;2788;2841:2;2829:9;2820:7;2816:23;2812:32;2809:52;;;2857:1;2854;2847:12;2809:52;2880:29;2899:9;2880:29;:::i;:::-;2870:39;2956:2;2941:18;;;;2928:32;;-1:-1:-1;;;2712:254:1:o;2971:180::-;3027:6;3080:2;3068:9;3059:7;3055:23;3051:32;3048:52;;;3096:1;3093;3086:12;3048:52;3119:26;3135:9;3119:26;:::i;3156:245::-;3214:6;3267:2;3255:9;3246:7;3242:23;3238:32;3235:52;;;3283:1;3280;3273:12;3235:52;3322:9;3309:23;3341:30;3365:5;3341:30;:::i;3406:249::-;3475:6;3528:2;3516:9;3507:7;3503:23;3499:32;3496:52;;;3544:1;3541;3534:12;3496:52;3576:9;3570:16;3595:30;3619:5;3595:30;:::i;3660:450::-;3729:6;3782:2;3770:9;3761:7;3757:23;3753:32;3750:52;;;3798:1;3795;3788:12;3750:52;3838:9;3825:23;3871:18;3863:6;3860:30;3857:50;;;3903:1;3900;3893:12;3857:50;3926:22;;3979:4;3971:13;;3967:27;-1:-1:-1;3957:55:1;;4008:1;4005;3998:12;3957:55;4031:73;4096:7;4091:2;4078:16;4073:2;4069;4065:11;4031:73;:::i;4115:180::-;4174:6;4227:2;4215:9;4206:7;4202:23;4198:32;4195:52;;;4243:1;4240;4233:12;4195:52;-1:-1:-1;4266:23:1;;4115:180;-1:-1:-1;4115:180:1:o;4300:254::-;4368:6;4376;4429:2;4417:9;4408:7;4404:23;4400:32;4397:52;;;4445:1;4442;4435:12;4397:52;4481:9;4468:23;4458:33;;4510:38;4544:2;4533:9;4529:18;4510:38;:::i;4559:257::-;4600:3;4638:5;4632:12;4665:6;4660:3;4653:19;4681:63;4737:6;4730:4;4725:3;4721:14;4714:4;4707:5;4703:16;4681:63;:::i;:::-;4798:2;4777:15;-1:-1:-1;;4773:29:1;4764:39;;;;4805:4;4760:50;;4559:257;-1:-1:-1;;4559:257:1:o;4821:1527::-;5045:3;5083:6;5077:13;5109:4;5122:51;5166:6;5161:3;5156:2;5148:6;5144:15;5122:51;:::i;:::-;5236:13;;5195:16;;;;5258:55;5236:13;5195:16;5280:15;;;5258:55;:::i;:::-;5402:13;;5335:20;;;5375:1;;5462;5484:18;;;;5537;;;;5564:93;;5642:4;5632:8;5628:19;5616:31;;5564:93;5705:2;5695:8;5692:16;5672:18;5669:40;5666:167;;;-1:-1:-1;;;5732:33:1;;5788:4;5785:1;5778:15;5818:4;5739:3;5806:17;5666:167;5849:18;5876:110;;;;6000:1;5995:328;;;;5842:481;;5876:110;-1:-1:-1;;5911:24:1;;5897:39;;5956:20;;;;-1:-1:-1;5876:110:1;;5995:328;13261:1;13254:14;;;13298:4;13285:18;;6090:1;6104:169;6118:8;6115:1;6112:15;6104:169;;;6200:14;;6185:13;;;6178:37;6243:16;;;;6135:10;;6104:169;;;6108:3;;6304:8;6297:5;6293:20;6286:27;;5842:481;-1:-1:-1;6339:3:1;;4821:1527;-1:-1:-1;;;;;;;;;;;4821:1527:1:o;6771:488::-;-1:-1:-1;;;;;7040:15:1;;;7022:34;;7092:15;;7087:2;7072:18;;7065:43;7139:2;7124:18;;7117:34;;;7187:3;7182:2;7167:18;;7160:31;;;6965:4;;7208:45;;7233:19;;7225:6;7208:45;:::i;:::-;7200:53;6771:488;-1:-1:-1;;;;;;6771:488:1:o;7264:632::-;7435:2;7487:21;;;7557:13;;7460:18;;;7579:22;;;7406:4;;7435:2;7658:15;;;;7632:2;7617:18;;;7406:4;7701:169;7715:6;7712:1;7709:13;7701:169;;;7776:13;;7764:26;;7845:15;;;;7810:12;;;;7737:1;7730:9;7701:169;;;-1:-1:-1;7887:3:1;;7264:632;-1:-1:-1;;;;;;7264:632:1:o;8093:219::-;8242:2;8231:9;8224:21;8205:4;8262:44;8302:2;8291:9;8287:18;8279:6;8262:44;:::i;8724:343::-;8926:2;8908:21;;;8965:2;8945:18;;;8938:30;-1:-1:-1;;;8999:2:1;8984:18;;8977:49;9058:2;9043:18;;8724:343::o;9771:356::-;9973:2;9955:21;;;9992:18;;;9985:30;10051:34;10046:2;10031:18;;10024:62;10118:2;10103:18;;9771:356::o;11938:342::-;12140:2;12122:21;;;12179:2;12159:18;;;12152:30;-1:-1:-1;;;12213:2:1;12198:18;;12191:48;12271:2;12256:18;;11938:342::o;13314:128::-;13354:3;13385:1;13381:6;13378:1;13375:13;13372:39;;;13391:18;;:::i;:::-;-1:-1:-1;13427:9:1;;13314:128::o;13447:120::-;13487:1;13513;13503:35;;13518:18;;:::i;:::-;-1:-1:-1;13552:9:1;;13447:120::o;13572:168::-;13612:7;13678:1;13674;13670:6;13666:14;13663:1;13660:21;13655:1;13648:9;13641:17;13637:45;13634:71;;;13685:18;;:::i;:::-;-1:-1:-1;13725:9:1;;13572:168::o;13745:125::-;13785:4;13813:1;13810;13807:8;13804:34;;;13818:18;;:::i;:::-;-1:-1:-1;13855:9:1;;13745:125::o;13875:258::-;13947:1;13957:113;13971:6;13968:1;13965:13;13957:113;;;14047:11;;;14041:18;14028:11;;;14021:39;13993:2;13986:10;13957:113;;;14088:6;14085:1;14082:13;14079:48;;;-1:-1:-1;;14123:1:1;14105:16;;14098:27;13875:258::o;14138:380::-;14217:1;14213:12;;;;14260;;;14281:61;;14335:4;14327:6;14323:17;14313:27;;14281:61;14388:2;14380:6;14377:14;14357:18;14354:38;14351:161;;;14434:10;14429:3;14425:20;14422:1;14415:31;14469:4;14466:1;14459:15;14497:4;14494:1;14487:15;14351:161;;14138:380;;;:::o;14523:135::-;14562:3;-1:-1:-1;;14583:17:1;;14580:43;;;14603:18;;:::i;:::-;-1:-1:-1;14650:1:1;14639:13;;14523:135::o;14663:112::-;14695:1;14721;14711:35;;14726:18;;:::i;:::-;-1:-1:-1;14760:9:1;;14663:112::o;14780:127::-;14841:10;14836:3;14832:20;14829:1;14822:31;14872:4;14869:1;14862:15;14896:4;14893:1;14886:15;14912:127;14973:10;14968:3;14964:20;14961:1;14954:31;15004:4;15001:1;14994:15;15028:4;15025:1;15018:15;15044:127;15105:10;15100:3;15096:20;15093:1;15086:31;15136:4;15133:1;15126:15;15160:4;15157:1;15150:15;15176:127;15237:10;15232:3;15228:20;15225:1;15218:31;15268:4;15265:1;15258:15;15292:4;15289:1;15282:15;15308:131;-1:-1:-1;;;;;;15382:32:1;;15372:43;;15362:71;;15429:1;15426;15419:12

Swarm Source

ipfs://85ce4cc547da7b698324468727ede94d8b09cb6907574441d93b92cbafb8f098
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.