ETH Price: $3,331.61 (-3.45%)

Contract

0x65261a0a139df892008BedeC7e9a41d9077327AD
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Approval For...198679292024-05-14 11:24:11196 days ago1715685851IN
Neighbors: NBRS Token
0 ETH0.000169837
Set Approval For...177798932023-07-26 21:19:11489 days ago1690406351IN
Neighbors: NBRS Token
0 ETH0.0015512133.59493517
Set Approval For...176709272023-07-11 14:20:23504 days ago1689085223IN
Neighbors: NBRS Token
0 ETH0.0012811127.78866322
Set Approval For...170542472023-04-15 18:45:11591 days ago1681584311IN
Neighbors: NBRS Token
0 ETH0.0005553222.93390234
Set Approval For...168400972023-03-16 11:25:23621 days ago1678965923IN
Neighbors: NBRS Token
0 ETH0.0009215435.05843939
Set Approval For...168400972023-03-16 11:25:23621 days ago1678965923IN
Neighbors: NBRS Token
0 ETH0.0008910633.89880731
Set Approval For...167639412023-03-05 18:21:47632 days ago1678040507IN
Neighbors: NBRS Token
0 ETH0.0015246433.01087664
Set Approval For...166347952023-02-15 14:40:11650 days ago1676472011IN
Neighbors: NBRS Token
0 ETH0.0018995241.18124816
Set Approval For...166224192023-02-13 21:08:23652 days ago1676322503IN
Neighbors: NBRS Token
0 ETH0.0011402724.73366438
Set Approval For...164158872023-01-16 0:50:59680 days ago1673830259IN
Neighbors: NBRS Token
0 ETH0.0007427716.11150436
Set Approval For...161264552022-12-06 14:49:23721 days ago1670338163IN
Neighbors: NBRS Token
0 ETH0.0007545316.36654316
Set Approval For...161264402022-12-06 14:46:23721 days ago1670337983IN
Neighbors: NBRS Token
0 ETH0.0008724719.34446817
Set Approval For...160189032022-11-21 14:11:59736 days ago1669039919IN
Neighbors: NBRS Token
0 ETH0.0005703712.37201172
Set Approval For...159262432022-11-08 15:34:35749 days ago1667921675IN
Neighbors: NBRS Token
0 ETH0.0015965134.61211386
Set Approval For...159096022022-11-06 7:51:47751 days ago1667721107IN
Neighbors: NBRS Token
0 ETH0.0004645210.07088289
Set Approval For...158950152022-11-04 6:59:47753 days ago1667545187IN
Neighbors: NBRS Token
0 ETH0.000731415.85678073
Set Approval For...158242612022-10-25 9:40:23763 days ago1666690823IN
Neighbors: NBRS Token
0 ETH0.0004861610.5400404
Set Approval For...158237872022-10-25 8:05:11763 days ago1666685111IN
Neighbors: NBRS Token
0 ETH0.0006093113.20978754
Set Approval For...158091392022-10-23 6:52:23765 days ago1666507943IN
Neighbors: NBRS Token
0 ETH0.0005279111.44515721
Set Approval For...157865302022-10-20 3:09:23768 days ago1666235363IN
Neighbors: NBRS Token
0 ETH0.000868718.8333751
Set Approval For...157865102022-10-20 3:05:23768 days ago1666235123IN
Neighbors: NBRS Token
0 ETH0.0007703516.7010391
Set Approval For...157863242022-10-20 2:28:11768 days ago1666232891IN
Neighbors: NBRS Token
0 ETH0.0008551418.53927857
Set Approval For...157863142022-10-20 2:26:11768 days ago1666232771IN
Neighbors: NBRS Token
0 ETH0.0009092619.71262371
Set Approval For...157863012022-10-20 2:23:35768 days ago1666232615IN
Neighbors: NBRS Token
0 ETH0.0008143617.65526858
Set Approval For...157548022022-10-15 16:46:23773 days ago1665852383IN
Neighbors: NBRS Token
0 ETH0.0009330720.23938172
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Neighbors

Compiler Version
v0.8.13+commit.abaa5c0e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

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

//SPDX-License-Identifier: MIT

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

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

pragma solidity ^0.8.0;

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

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


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

// 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 @openzeppelin/contracts/utils/math/[email protected]

// OpenZeppelin Contracts v4.4.1 (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}


// File erc721a/contracts/[email protected]


// ERC721A Contracts v4.0.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();

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

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

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

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

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

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

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

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

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

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

    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;
    }

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


// File erc721a/contracts/[email protected]

// ERC721A Contracts v4.0.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 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`
    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 auxillary 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 auxillary data for `owner`. (e.g. number of whitelist mint slots used).
     * If there are multiple variables, please pack them into a uint64.
     */
    function _setAux(address owner, uint64 aux) internal {
        uint256 packed = _packedAddressData[owner];
        uint256 auxCasted;
        assembly { // Cast aux without masking.
            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;
    }

    /**
     * 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 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, can be overriden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return '';
    }

    /**
     * @dev Casts the address to uint256 without masking.
     */
    function _addressToUint256(address value) private pure returns (uint256 result) {
        assembly {
            result := value
        }
    }

    /**
     * @dev Casts the boolean to uint256 without branching.
     */
    function _boolToUint256(bool value) private pure returns (uint256 result) {
        assembly {
            result := value
        }
    }

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

        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-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        _transfer(from, to, tokenId);
    }

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

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        _transfer(from, to, tokenId);
        if (to.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.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(
        address to,
        uint256 quantity,
        bytes memory _data
    ) internal {
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();

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

        // Overflows are incredibly unrealistic.
        // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1
        // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the balance and number minted.
            _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] =
                _addressToUint256(to) |
                (block.timestamp << BITPOS_START_TIMESTAMP) |
                (_boolToUint256(quantity == 1) << BITPOS_NEXT_INITIALIZED);

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

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

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

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

        // Overflows are incredibly unrealistic.
        // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1
        // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the balance and number minted.
            _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] =
                _addressToUint256(to) |
                (block.timestamp << BITPOS_START_TIMESTAMP) |
                (_boolToUint256(quantity == 1) << BITPOS_NEXT_INITIALIZED);

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

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

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

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

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

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

        // Clear approvals from the previous owner.
        delete _tokenApprovals[tokenId];

        // 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] =
                _addressToUint256(to) |
                (block.timestamp << BITPOS_START_TIMESTAMP) |
                BITMASK_NEXT_INITIALIZED;

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

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

            if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        }

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

        // Clear approvals from the previous owner.
        delete _tokenApprovals[tokenId];

        // 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] =
                _addressToUint256(from) |
                (block.timestamp << BITPOS_START_TIMESTAMP) |
                BITMASK_BURNED |
                BITMASK_NEXT_INITIALIZED;

            // 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 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/Neighbors.sol
pragma solidity ^0.8.13;
contract Neighbors is ERC721A, Ownable {
    using SafeMath for uint256;

    event PermanentURI(string _value, uint256 indexed _id);

    bool private isWhitelistSaleActive = true;
    bool private isPublicSaleActive = false;
    uint256 private totalNeighbors = 1111;

    mapping(address => uint8) private _whiteList;

    constructor() ERC721A("Neighbors", "NBRS") {}

    function setWhiteList(address[] calldata addresses, uint8 mintCount) external onlyOwner {
        for (uint256 i = 0; i < addresses.length; i++) {
            _whiteList[addresses[i]] = mintCount;
        }
    }

    function togglePublicSale() external onlyOwner {
        isPublicSaleActive = !isPublicSaleActive;
    }

    function toggleWhitelistSale() external onlyOwner {
        isWhitelistSaleActive = !isWhitelistSaleActive;
    }

    function setTotalNeighbors(uint256 amount) external onlyOwner returns (uint256) {
        totalNeighbors = amount;
        return totalNeighbors;
    }

    function reserve(address to, uint256 quantity) external onlyOwner {
        uint256 ts = totalSupply();
        require(quantity > 0, "Quantity cannot be zero");
        require(ts.add(quantity) <= totalNeighbors, "Not enough supply");
        _safeMint(to, quantity);
    }

    function mint() external payable {
        uint256 ts = totalSupply();
        require(isWhitelistSaleActive, "Mint is not active.");

        uint8 quantity = 1;
        if (!isPublicSaleActive) {
            require(_whiteList[msg.sender] > 0, "Public mint is not active.");
            require(ts.add(_whiteList[msg.sender]) <= totalNeighbors, "Not enough supply");
            quantity = _whiteList[msg.sender];
            _whiteList[msg.sender] = 0;
        } else {
            require(ts.add(1) <= totalNeighbors, "Not enough supply");
        }

        _safeMint(msg.sender, quantity);
    }

    function lockMetaData() external onlyOwner {
        uint256 ts = totalSupply();
        for (uint256 i = 0; i < ts; i++) {
            uint256 tid = totalSupply() - i;
            emit PermanentURI(tokenURI(tid), tid);
        }
    }

    function withdraw() external onlyOwner {
        uint balance = address(this).balance;
        payable(msg.sender).transfer(balance);
    }

    function contractURI() public pure returns (string memory) {
        return "https://nbrs.io/opensea/metadata.json";
    }

    function _baseURI() internal view virtual override returns (string memory) {
        return "https://storage.googleapis.com/nbrs.io/neighbors/";
    }

    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 + 1), '.json')) : '';
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"_value","type":"string"},{"indexed":true,"internalType":"uint256","name":"_id","type":"uint256"}],"name":"PermanentURI","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lockMetaData","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"reserve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setTotalNeighbors","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"},{"internalType":"uint8","name":"mintCount","type":"uint8"}],"name":"setWhiteList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"togglePublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleWhitelistSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526008805461ffff60a01b1916600160a01b1790556104576009553480156200002b57600080fd5b5060408051808201825260098152684e65696768626f727360b81b6020808301918252835180850190945260048452634e42525360e01b9084015281519192916200007991600291620000f9565b5080516200008f906003906020840190620000f9565b50506000805550620000a133620000a7565b620001db565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b82805462000107906200019f565b90600052602060002090601f0160209004810192826200012b576000855562000176565b82601f106200014657805160ff191683800117855562000176565b8280016001018555821562000176579182015b828111156200017657825182559160200191906001019062000159565b506200018492915062000188565b5090565b5b8082111562000184576000815560010162000189565b600181811c90821680620001b457607f821691505b602082108103620001d557634e487b7160e01b600052602260045260246000fd5b50919050565b61194580620001eb6000396000f3fe6080604052600436106101815760003560e01c80638da5cb5b116100d1578063cbf47ed21161008a578063e8a3d48511610064578063e8a3d4851461041e578063e985e9c514610433578063f2fde38b1461047c578063f6dc6bf81461049c57600080fd5b8063cbf47ed2146103c9578063cc47a40b146103e9578063e222c7f91461040957600080fd5b80638da5cb5b1461032157806395d89b411461033f5780639e25175814610354578063a22cb46514610369578063b88d4fde14610389578063c87b56dd146103a957600080fd5b806323b872dd1161013e57806359eda1b51161011857806359eda1b5146102b75780636352211e146102cc57806370a08231146102ec578063715018a61461030c57600080fd5b806323b872dd146102625780633ccfd60b1461028257806342842e0e1461029757600080fd5b806301ffc9a71461018657806306fdde03146101bb578063081812fc146101dd578063095ea7b3146102155780631249c58b1461023757806318160ddd1461023f575b600080fd5b34801561019257600080fd5b506101a66101a13660046113ec565b6104bc565b60405190151581526020015b60405180910390f35b3480156101c757600080fd5b506101d061050e565b6040516101b29190611461565b3480156101e957600080fd5b506101fd6101f8366004611474565b6105a0565b6040516001600160a01b0390911681526020016101b2565b34801561022157600080fd5b506102356102303660046114a4565b6105e4565b005b6102356106b6565b34801561024b57600080fd5b50600154600054035b6040519081526020016101b2565b34801561026e57600080fd5b5061023561027d3660046114ce565b61082d565b34801561028e57600080fd5b5061023561083d565b3480156102a357600080fd5b506102356102b23660046114ce565b610896565b3480156102c357600080fd5b506102356108b1565b3480156102d857600080fd5b506101fd6102e7366004611474565b6108fc565b3480156102f857600080fd5b5061025461030736600461150a565b610907565b34801561031857600080fd5b50610235610956565b34801561032d57600080fd5b506008546001600160a01b03166101fd565b34801561034b57600080fd5b506101d061098c565b34801561036057600080fd5b5061023561099b565b34801561037557600080fd5b50610235610384366004611525565b610a50565b34801561039557600080fd5b506102356103a4366004611577565b610ae5565b3480156103b557600080fd5b506101d06103c4366004611474565b610b2f565b3480156103d557600080fd5b506102546103e4366004611474565b610bbd565b3480156103f557600080fd5b506102356104043660046114a4565b610bf7565b34801561041557600080fd5b50610235610cb7565b34801561042a57600080fd5b506101d0610d02565b34801561043f57600080fd5b506101a661044e366004611653565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561048857600080fd5b5061023561049736600461150a565b610d22565b3480156104a857600080fd5b506102356104b7366004611686565b610dbd565b60006301ffc9a760e01b6001600160e01b0319831614806104ed57506380ac58cd60e01b6001600160e01b03198316145b806105085750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606002805461051d90611712565b80601f016020809104026020016040519081016040528092919081815260200182805461054990611712565b80156105965780601f1061056b57610100808354040283529160200191610596565b820191906000526020600020905b81548152906001019060200180831161057957829003601f168201915b5050505050905090565b60006105ab82610e5b565b6105c8576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006105ef82610e82565b9050806001600160a01b0316836001600160a01b0316036106235760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b0382161461065a5761063d813361044e565b61065a576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006106c56001546000540390565b600854909150600160a01b900460ff1661071c5760405162461bcd60e51b815260206004820152601360248201527226b4b73a1034b9903737ba1030b1ba34bb329760691b60448201526064015b60405180910390fd5b600854600190600160a81b900460ff166107f057336000908152600a602052604090205460ff1661078f5760405162461bcd60e51b815260206004820152601a60248201527f5075626c6963206d696e74206973206e6f74206163746976652e0000000000006044820152606401610713565b600954336000908152600a60205260409020546107b090849060ff16610ee9565b11156107ce5760405162461bcd60e51b81526004016107139061174c565b50336000908152600a60205260409020805460ff19811690915560ff1661081c565b6009546107fe836001610ee9565b111561081c5760405162461bcd60e51b81526004016107139061174c565b610829338260ff16610ef5565b5050565b610838838383610f0f565b505050565b6008546001600160a01b031633146108675760405162461bcd60e51b815260040161071390611777565b6040514790339082156108fc029083906000818181858888f19350505050158015610829573d6000803e3d6000fd5b61083883838360405180602001604052806000815250610ae5565b6008546001600160a01b031633146108db5760405162461bcd60e51b815260040161071390611777565b6008805460ff60a01b198116600160a01b9182900460ff1615909102179055565b600061050882610e82565b60006001600160a01b038216610930576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b031633146109805760405162461bcd60e51b815260040161071390611777565b61098a60006110b6565b565b60606003805461051d90611712565b6008546001600160a01b031633146109c55760405162461bcd60e51b815260040161071390611777565b60006109d46001546000540390565b905060005b81811015610829576000816109f16001546000540390565b6109fb91906117c2565b9050807fa109ba539900bf1b633f956d63c96fc89b814c7287f7aa50a9216d0b55657207610a2883610b2f565b604051610a359190611461565b60405180910390a25080610a48816117d9565b9150506109d9565b336001600160a01b03831603610a795760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610af0848484610f0f565b6001600160a01b0383163b15610b2957610b0c84848484611108565b610b29576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610b3a82610e5b565b610b5757604051630a14c4b560e41b815260040160405180910390fd5b6000610b616111f3565b90508051600003610b815760405180602001604052806000815250610bb6565b80610b95610b908560016117f2565b611213565b604051602001610ba692919061180a565b6040516020818303038152906040525b9392505050565b6008546000906001600160a01b03163314610bea5760405162461bcd60e51b815260040161071390611777565b506009819055805b919050565b6008546001600160a01b03163314610c215760405162461bcd60e51b815260040161071390611777565b6000610c306001546000540390565b905060008211610c825760405162461bcd60e51b815260206004820152601760248201527f5175616e746974792063616e6e6f74206265207a65726f0000000000000000006044820152606401610713565b600954610c8f8284610ee9565b1115610cad5760405162461bcd60e51b81526004016107139061174c565b6108388383610ef5565b6008546001600160a01b03163314610ce15760405162461bcd60e51b815260040161071390611777565b6008805460ff60a81b198116600160a81b9182900460ff1615909102179055565b60606040518060600160405280602581526020016118ba60259139905090565b6008546001600160a01b03163314610d4c5760405162461bcd60e51b815260040161071390611777565b6001600160a01b038116610db15760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610713565b610dba816110b6565b50565b6008546001600160a01b03163314610de75760405162461bcd60e51b815260040161071390611777565b60005b82811015610b295781600a6000868685818110610e0957610e09611849565b9050602002016020810190610e1e919061150a565b6001600160a01b031681526020810191909152604001600020805460ff191660ff9290921691909117905580610e53816117d9565b915050610dea565b6000805482108015610508575050600090815260046020526040902054600160e01b161590565b600081600054811015610ed05760008181526004602052604081205490600160e01b82169003610ece575b80600003610bb6575060001901600081815260046020526040902054610ead565b505b604051636f96cda160e11b815260040160405180910390fd5b6000610bb682846117f2565b610829828260405180602001604052806000815250611262565b6000610f1a82610e82565b9050836001600160a01b0316816001600160a01b031614610f4d5760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b0386161480610f6b5750610f6b853361044e565b80610f86575033610f7b846105a0565b6001600160a01b0316145b905080610fa657604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038416610fcd57604051633a954ecd60e21b815260040160405180910390fd5b600083815260066020908152604080832080546001600160a01b03191690556001600160a01b038881168452600583528184208054600019019055871683528083208054600101905585835260049091528120600160e11b4260a01b871781179091558316900361106e5760018301600081815260046020526040812054900361106c57600054811461106c5760008181526004602052604090208390555b505b82846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050505050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061113d90339089908890889060040161185f565b6020604051808303816000875af1925050508015611178575060408051601f3d908101601f191682019092526111759181019061189c565b60015b6111d6573d8080156111a6576040519150601f19603f3d011682016040523d82523d6000602084013e6111ab565b606091505b5080516000036111ce576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b60606040518060600160405280603181526020016118df60319139905090565b604080516080810191829052607f0190826030600a8206018353600a90045b801561125057600183039250600a81066030018353600a9004611232565b50819003601f19909101908152919050565b6000546001600160a01b03841661128b57604051622e076360e81b815260040160405180910390fd5b826000036112ac5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03841660008181526005602090815260408083208054680100000000000000018902019055848352600490915290204260a01b86176001861460e11b1790558190818501903b15611381575b60405182906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a461134a6000878480600101955087611108565b611367576040516368d2bf6b60e11b815260040160405180910390fd5b8082106112ff57826000541461137c57600080fd5b6113c6565b5b6040516001830192906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210611382575b506000908155610b299085838684565b6001600160e01b031981168114610dba57600080fd5b6000602082840312156113fe57600080fd5b8135610bb6816113d6565b60005b8381101561142457818101518382015260200161140c565b83811115610b295750506000910152565b6000815180845261144d816020860160208601611409565b601f01601f19169290920160200192915050565b602081526000610bb66020830184611435565b60006020828403121561148657600080fd5b5035919050565b80356001600160a01b0381168114610bf257600080fd5b600080604083850312156114b757600080fd5b6114c08361148d565b946020939093013593505050565b6000806000606084860312156114e357600080fd5b6114ec8461148d565b92506114fa6020850161148d565b9150604084013590509250925092565b60006020828403121561151c57600080fd5b610bb68261148d565b6000806040838503121561153857600080fd5b6115418361148d565b91506020830135801515811461155657600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b6000806000806080858703121561158d57600080fd5b6115968561148d565b93506115a46020860161148d565b925060408501359150606085013567ffffffffffffffff808211156115c857600080fd5b818701915087601f8301126115dc57600080fd5b8135818111156115ee576115ee611561565b604051601f8201601f19908116603f0116810190838211818310171561161657611616611561565b816040528281528a602084870101111561162f57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806040838503121561166657600080fd5b61166f8361148d565b915061167d6020840161148d565b90509250929050565b60008060006040848603121561169b57600080fd5b833567ffffffffffffffff808211156116b357600080fd5b818601915086601f8301126116c757600080fd5b8135818111156116d657600080fd5b8760208260051b85010111156116eb57600080fd5b6020928301955093505084013560ff8116811461170757600080fd5b809150509250925092565b600181811c9082168061172657607f821691505b60208210810361174657634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252601190820152704e6f7420656e6f75676820737570706c7960781b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b6000828210156117d4576117d46117ac565b500390565b6000600182016117eb576117eb6117ac565b5060010190565b60008219821115611805576118056117ac565b500190565b6000835161181c818460208801611409565b835190830190611830818360208801611409565b64173539b7b760d91b9101908152600501949350505050565b634e487b7160e01b600052603260045260246000fd5b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061189290830184611435565b9695505050505050565b6000602082840312156118ae57600080fd5b8151610bb6816113d656fe68747470733a2f2f6e6272732e696f2f6f70656e7365612f6d657461646174612e6a736f6e68747470733a2f2f73746f726167652e676f6f676c65617069732e636f6d2f6e6272732e696f2f6e65696768626f72732fa26469706673582212207a05431cd9f7aee6a6cc34263d8383fa7a73f673d41287aa2e22d5e57c332d0e64736f6c634300080d0033

Deployed Bytecode

0x6080604052600436106101815760003560e01c80638da5cb5b116100d1578063cbf47ed21161008a578063e8a3d48511610064578063e8a3d4851461041e578063e985e9c514610433578063f2fde38b1461047c578063f6dc6bf81461049c57600080fd5b8063cbf47ed2146103c9578063cc47a40b146103e9578063e222c7f91461040957600080fd5b80638da5cb5b1461032157806395d89b411461033f5780639e25175814610354578063a22cb46514610369578063b88d4fde14610389578063c87b56dd146103a957600080fd5b806323b872dd1161013e57806359eda1b51161011857806359eda1b5146102b75780636352211e146102cc57806370a08231146102ec578063715018a61461030c57600080fd5b806323b872dd146102625780633ccfd60b1461028257806342842e0e1461029757600080fd5b806301ffc9a71461018657806306fdde03146101bb578063081812fc146101dd578063095ea7b3146102155780631249c58b1461023757806318160ddd1461023f575b600080fd5b34801561019257600080fd5b506101a66101a13660046113ec565b6104bc565b60405190151581526020015b60405180910390f35b3480156101c757600080fd5b506101d061050e565b6040516101b29190611461565b3480156101e957600080fd5b506101fd6101f8366004611474565b6105a0565b6040516001600160a01b0390911681526020016101b2565b34801561022157600080fd5b506102356102303660046114a4565b6105e4565b005b6102356106b6565b34801561024b57600080fd5b50600154600054035b6040519081526020016101b2565b34801561026e57600080fd5b5061023561027d3660046114ce565b61082d565b34801561028e57600080fd5b5061023561083d565b3480156102a357600080fd5b506102356102b23660046114ce565b610896565b3480156102c357600080fd5b506102356108b1565b3480156102d857600080fd5b506101fd6102e7366004611474565b6108fc565b3480156102f857600080fd5b5061025461030736600461150a565b610907565b34801561031857600080fd5b50610235610956565b34801561032d57600080fd5b506008546001600160a01b03166101fd565b34801561034b57600080fd5b506101d061098c565b34801561036057600080fd5b5061023561099b565b34801561037557600080fd5b50610235610384366004611525565b610a50565b34801561039557600080fd5b506102356103a4366004611577565b610ae5565b3480156103b557600080fd5b506101d06103c4366004611474565b610b2f565b3480156103d557600080fd5b506102546103e4366004611474565b610bbd565b3480156103f557600080fd5b506102356104043660046114a4565b610bf7565b34801561041557600080fd5b50610235610cb7565b34801561042a57600080fd5b506101d0610d02565b34801561043f57600080fd5b506101a661044e366004611653565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561048857600080fd5b5061023561049736600461150a565b610d22565b3480156104a857600080fd5b506102356104b7366004611686565b610dbd565b60006301ffc9a760e01b6001600160e01b0319831614806104ed57506380ac58cd60e01b6001600160e01b03198316145b806105085750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606002805461051d90611712565b80601f016020809104026020016040519081016040528092919081815260200182805461054990611712565b80156105965780601f1061056b57610100808354040283529160200191610596565b820191906000526020600020905b81548152906001019060200180831161057957829003601f168201915b5050505050905090565b60006105ab82610e5b565b6105c8576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006105ef82610e82565b9050806001600160a01b0316836001600160a01b0316036106235760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b0382161461065a5761063d813361044e565b61065a576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006106c56001546000540390565b600854909150600160a01b900460ff1661071c5760405162461bcd60e51b815260206004820152601360248201527226b4b73a1034b9903737ba1030b1ba34bb329760691b60448201526064015b60405180910390fd5b600854600190600160a81b900460ff166107f057336000908152600a602052604090205460ff1661078f5760405162461bcd60e51b815260206004820152601a60248201527f5075626c6963206d696e74206973206e6f74206163746976652e0000000000006044820152606401610713565b600954336000908152600a60205260409020546107b090849060ff16610ee9565b11156107ce5760405162461bcd60e51b81526004016107139061174c565b50336000908152600a60205260409020805460ff19811690915560ff1661081c565b6009546107fe836001610ee9565b111561081c5760405162461bcd60e51b81526004016107139061174c565b610829338260ff16610ef5565b5050565b610838838383610f0f565b505050565b6008546001600160a01b031633146108675760405162461bcd60e51b815260040161071390611777565b6040514790339082156108fc029083906000818181858888f19350505050158015610829573d6000803e3d6000fd5b61083883838360405180602001604052806000815250610ae5565b6008546001600160a01b031633146108db5760405162461bcd60e51b815260040161071390611777565b6008805460ff60a01b198116600160a01b9182900460ff1615909102179055565b600061050882610e82565b60006001600160a01b038216610930576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b031633146109805760405162461bcd60e51b815260040161071390611777565b61098a60006110b6565b565b60606003805461051d90611712565b6008546001600160a01b031633146109c55760405162461bcd60e51b815260040161071390611777565b60006109d46001546000540390565b905060005b81811015610829576000816109f16001546000540390565b6109fb91906117c2565b9050807fa109ba539900bf1b633f956d63c96fc89b814c7287f7aa50a9216d0b55657207610a2883610b2f565b604051610a359190611461565b60405180910390a25080610a48816117d9565b9150506109d9565b336001600160a01b03831603610a795760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610af0848484610f0f565b6001600160a01b0383163b15610b2957610b0c84848484611108565b610b29576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610b3a82610e5b565b610b5757604051630a14c4b560e41b815260040160405180910390fd5b6000610b616111f3565b90508051600003610b815760405180602001604052806000815250610bb6565b80610b95610b908560016117f2565b611213565b604051602001610ba692919061180a565b6040516020818303038152906040525b9392505050565b6008546000906001600160a01b03163314610bea5760405162461bcd60e51b815260040161071390611777565b506009819055805b919050565b6008546001600160a01b03163314610c215760405162461bcd60e51b815260040161071390611777565b6000610c306001546000540390565b905060008211610c825760405162461bcd60e51b815260206004820152601760248201527f5175616e746974792063616e6e6f74206265207a65726f0000000000000000006044820152606401610713565b600954610c8f8284610ee9565b1115610cad5760405162461bcd60e51b81526004016107139061174c565b6108388383610ef5565b6008546001600160a01b03163314610ce15760405162461bcd60e51b815260040161071390611777565b6008805460ff60a81b198116600160a81b9182900460ff1615909102179055565b60606040518060600160405280602581526020016118ba60259139905090565b6008546001600160a01b03163314610d4c5760405162461bcd60e51b815260040161071390611777565b6001600160a01b038116610db15760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610713565b610dba816110b6565b50565b6008546001600160a01b03163314610de75760405162461bcd60e51b815260040161071390611777565b60005b82811015610b295781600a6000868685818110610e0957610e09611849565b9050602002016020810190610e1e919061150a565b6001600160a01b031681526020810191909152604001600020805460ff191660ff9290921691909117905580610e53816117d9565b915050610dea565b6000805482108015610508575050600090815260046020526040902054600160e01b161590565b600081600054811015610ed05760008181526004602052604081205490600160e01b82169003610ece575b80600003610bb6575060001901600081815260046020526040902054610ead565b505b604051636f96cda160e11b815260040160405180910390fd5b6000610bb682846117f2565b610829828260405180602001604052806000815250611262565b6000610f1a82610e82565b9050836001600160a01b0316816001600160a01b031614610f4d5760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b0386161480610f6b5750610f6b853361044e565b80610f86575033610f7b846105a0565b6001600160a01b0316145b905080610fa657604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038416610fcd57604051633a954ecd60e21b815260040160405180910390fd5b600083815260066020908152604080832080546001600160a01b03191690556001600160a01b038881168452600583528184208054600019019055871683528083208054600101905585835260049091528120600160e11b4260a01b871781179091558316900361106e5760018301600081815260046020526040812054900361106c57600054811461106c5760008181526004602052604090208390555b505b82846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050505050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061113d90339089908890889060040161185f565b6020604051808303816000875af1925050508015611178575060408051601f3d908101601f191682019092526111759181019061189c565b60015b6111d6573d8080156111a6576040519150601f19603f3d011682016040523d82523d6000602084013e6111ab565b606091505b5080516000036111ce576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b60606040518060600160405280603181526020016118df60319139905090565b604080516080810191829052607f0190826030600a8206018353600a90045b801561125057600183039250600a81066030018353600a9004611232565b50819003601f19909101908152919050565b6000546001600160a01b03841661128b57604051622e076360e81b815260040160405180910390fd5b826000036112ac5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03841660008181526005602090815260408083208054680100000000000000018902019055848352600490915290204260a01b86176001861460e11b1790558190818501903b15611381575b60405182906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a461134a6000878480600101955087611108565b611367576040516368d2bf6b60e11b815260040160405180910390fd5b8082106112ff57826000541461137c57600080fd5b6113c6565b5b6040516001830192906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210611382575b506000908155610b299085838684565b6001600160e01b031981168114610dba57600080fd5b6000602082840312156113fe57600080fd5b8135610bb6816113d6565b60005b8381101561142457818101518382015260200161140c565b83811115610b295750506000910152565b6000815180845261144d816020860160208601611409565b601f01601f19169290920160200192915050565b602081526000610bb66020830184611435565b60006020828403121561148657600080fd5b5035919050565b80356001600160a01b0381168114610bf257600080fd5b600080604083850312156114b757600080fd5b6114c08361148d565b946020939093013593505050565b6000806000606084860312156114e357600080fd5b6114ec8461148d565b92506114fa6020850161148d565b9150604084013590509250925092565b60006020828403121561151c57600080fd5b610bb68261148d565b6000806040838503121561153857600080fd5b6115418361148d565b91506020830135801515811461155657600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b6000806000806080858703121561158d57600080fd5b6115968561148d565b93506115a46020860161148d565b925060408501359150606085013567ffffffffffffffff808211156115c857600080fd5b818701915087601f8301126115dc57600080fd5b8135818111156115ee576115ee611561565b604051601f8201601f19908116603f0116810190838211818310171561161657611616611561565b816040528281528a602084870101111561162f57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806040838503121561166657600080fd5b61166f8361148d565b915061167d6020840161148d565b90509250929050565b60008060006040848603121561169b57600080fd5b833567ffffffffffffffff808211156116b357600080fd5b818601915086601f8301126116c757600080fd5b8135818111156116d657600080fd5b8760208260051b85010111156116eb57600080fd5b6020928301955093505084013560ff8116811461170757600080fd5b809150509250925092565b600181811c9082168061172657607f821691505b60208210810361174657634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252601190820152704e6f7420656e6f75676820737570706c7960781b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b6000828210156117d4576117d46117ac565b500390565b6000600182016117eb576117eb6117ac565b5060010190565b60008219821115611805576118056117ac565b500190565b6000835161181c818460208801611409565b835190830190611830818360208801611409565b64173539b7b760d91b9101908152600501949350505050565b634e487b7160e01b600052603260045260246000fd5b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061189290830184611435565b9695505050505050565b6000602082840312156118ae57600080fd5b8151610bb6816113d656fe68747470733a2f2f6e6272732e696f2f6f70656e7365612f6d657461646174612e6a736f6e68747470733a2f2f73746f726167652e676f6f676c65617069732e636f6d2f6e6272732e696f2f6e65696768626f72732fa26469706673582212207a05431cd9f7aee6a6cc34263d8383fa7a73f673d41287aa2e22d5e57c332d0e64736f6c634300080d0033

Deployed Bytecode Sourcemap

48893:2949:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23577:615;;;;;;;;;;-1:-1:-1;23577:615:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;23577:615:0;;;;;;;;28590:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;30658:204::-;;;;;;;;;;-1:-1:-1;30658:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1692:32:1;;;1674:51;;1662:2;1647:18;30658:204:0;1528:203:1;30118:474:0;;;;;;;;;;-1:-1:-1;30118:474:0;;;;;:::i;:::-;;:::i;:::-;;50193:616;;;:::i;22631:315::-;;;;;;;;;;-1:-1:-1;22897:12:0;;22684:7;22881:13;:28;22631:315;;;2319:25:1;;;2307:2;2292:18;22631:315:0;2173:177:1;31544:170:0;;;;;;;;;;-1:-1:-1;31544:170:0;;;;;:::i;:::-;;:::i;51066:142::-;;;;;;;;;;;;;:::i;31785:185::-;;;;;;;;;;-1:-1:-1;31785:185:0;;;;;:::i;:::-;;:::i;49621:115::-;;;;;;;;;;;;;:::i;28379:144::-;;;;;;;;;;-1:-1:-1;28379:144:0;;;;;:::i;:::-;;:::i;24256:224::-;;;;;;;;;;-1:-1:-1;24256:224:0;;;;;:::i;:::-;;:::i;2648:103::-;;;;;;;;;;;;;:::i;1997:87::-;;;;;;;;;;-1:-1:-1;2070:6:0;;-1:-1:-1;;;;;2070:6:0;1997:87;;28759:104;;;;;;;;;;;;;:::i;50817:241::-;;;;;;;;;;;;;:::i;30934:308::-;;;;;;;;;;-1:-1:-1;30934:308:0;;;;;:::i;:::-;;:::i;32041:396::-;;;;;;;;;;-1:-1:-1;32041:396:0;;;;;:::i;:::-;;:::i;51508:331::-;;;;;;;;;;-1:-1:-1;51508:331:0;;;;;:::i;:::-;;:::i;49744:154::-;;;;;;;;;;-1:-1:-1;49744:154:0;;;;;:::i;:::-;;:::i;49906:279::-;;;;;;;;;;-1:-1:-1;49906:279:0;;;;;:::i;:::-;;:::i;49507:106::-;;;;;;;;;;;;;:::i;51216:124::-;;;;;;;;;;;;;:::i;31313:164::-;;;;;;;;;;-1:-1:-1;31313:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;31434:25:0;;;31410:4;31434:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;31313:164;2906:201;;;;;;;;;;-1:-1:-1;2906:201:0;;;;;:::i;:::-;;:::i;49283:216::-;;;;;;;;;;-1:-1:-1;49283:216:0;;;;;:::i;:::-;;:::i;23577:615::-;23662:4;-1:-1:-1;;;;;;;;;23962:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;24039:25:0;;;23962:102;:179;;;-1:-1:-1;;;;;;;;;;24116:25:0;;;23962:179;23942:199;23577:615;-1:-1:-1;;23577:615:0:o;28590:100::-;28644:13;28677:5;28670:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28590:100;:::o;30658:204::-;30726:7;30751:16;30759:7;30751;:16::i;:::-;30746:64;;30776:34;;-1:-1:-1;;;30776:34:0;;;;;;;;;;;30746:64;-1:-1:-1;30830:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;30830:24:0;;30658:204::o;30118:474::-;30191:13;30223:27;30242:7;30223:18;:27::i;:::-;30191:61;;30273:5;-1:-1:-1;;;;;30267:11:0;:2;-1:-1:-1;;;;;30267:11:0;;30263:48;;30287:24;;-1:-1:-1;;;30287:24:0;;;;;;;;;;;30263:48;46760:10;-1:-1:-1;;;;;30328:28:0;;;30324:175;;30376:44;30393:5;46760:10;31313:164;:::i;30376:44::-;30371:128;;30448:35;;-1:-1:-1;;;30448:35:0;;;;;;;;;;;30371:128;30511:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;30511:29:0;-1:-1:-1;;;;;30511:29:0;;;;;;;;;30556:28;;30511:24;;30556:28;;;;;;;30180:412;30118:474;;:::o;50193:616::-;50237:10;50250:13;22897:12;;22684:7;22881:13;:28;;22631:315;50250:13;50282:21;;50237:26;;-1:-1:-1;;;;50282:21:0;;;;50274:53;;;;-1:-1:-1;;;50274:53:0;;6141:2:1;50274:53:0;;;6123:21:1;6180:2;6160:18;;;6153:30;-1:-1:-1;;;6199:18:1;;;6192:49;6258:18;;50274:53:0;;;;;;;;;50374:18;;50357:1;;-1:-1:-1;;;50374:18:0;;;;50369:389;;50428:10;50442:1;50417:22;;;:10;:22;;;;;;;;50409:65;;;;-1:-1:-1;;;50409:65:0;;6489:2:1;50409:65:0;;;6471:21:1;6528:2;6508:18;;;6501:30;6567:28;6547:18;;;6540:56;6613:18;;50409:65:0;6287:350:1;50409:65:0;50531:14;;50515:10;50504:22;;;;:10;:22;;;;;;50497:30;;:2;;50504:22;;50497:6;:30::i;:::-;:48;;50489:78;;;;-1:-1:-1;;;50489:78:0;;;;;;;:::i;:::-;-1:-1:-1;50604:10:0;50593:22;;;;:10;:22;;;;;;;-1:-1:-1;;50630:26:0;;;;;50593:22;;50369:389;;;50710:14;;50697:9;:2;50704:1;50697:6;:9::i;:::-;:27;;50689:57;;;;-1:-1:-1;;;50689:57:0;;;;;;;:::i;:::-;50770:31;50780:10;50792:8;50770:31;;:9;:31::i;:::-;50226:583;;50193:616::o;31544:170::-;31678:28;31688:4;31694:2;31698:7;31678:9;:28::i;:::-;31544:170;;;:::o;51066:142::-;2070:6;;-1:-1:-1;;;;;2070:6:0;46760:10;2217:23;2209:68;;;;-1:-1:-1;;;2209:68:0;;;;;;;:::i;:::-;51163:37:::1;::::0;51131:21:::1;::::0;51171:10:::1;::::0;51163:37;::::1;;;::::0;51131:21;;51116:12:::1;51163:37:::0;51116:12;51163:37;51131:21;51171:10;51163:37;::::1;;;;;;;;;;;;;::::0;::::1;;;;31785:185:::0;31923:39;31940:4;31946:2;31950:7;31923:39;;;;;;;;;;;;:16;:39::i;49621:115::-;2070:6;;-1:-1:-1;;;;;2070:6:0;46760:10;2217:23;2209:68;;;;-1:-1:-1;;;2209:68:0;;;;;;;:::i;:::-;49707:21:::1;::::0;;-1:-1:-1;;;;49682:46:0;::::1;-1:-1:-1::0;;;49707:21:0;;;::::1;;;49706:22;49682:46:::0;;::::1;;::::0;;49621:115::o;28379:144::-;28443:7;28486:27;28505:7;28486:18;:27::i;24256:224::-;24320:7;-1:-1:-1;;;;;24344:19:0;;24340:60;;24372:28;;-1:-1:-1;;;24372:28:0;;;;;;;;;;;24340:60;-1:-1:-1;;;;;;24418:25:0;;;;;:18;:25;;;;;;19601:13;24418:54;;24256:224::o;2648:103::-;2070:6;;-1:-1:-1;;;;;2070:6:0;46760:10;2217:23;2209:68;;;;-1:-1:-1;;;2209:68:0;;;;;;;:::i;:::-;2713:30:::1;2740:1;2713:18;:30::i;:::-;2648:103::o:0;28759:104::-;28815:13;28848:7;28841:14;;;;;:::i;50817:241::-;2070:6;;-1:-1:-1;;;;;2070:6:0;46760:10;2217:23;2209:68;;;;-1:-1:-1;;;2209:68:0;;;;;;;:::i;:::-;50871:10:::1;50884:13;22897:12:::0;;22684:7;22881:13;:28;;22631:315;50884:13:::1;50871:26;;50913:9;50908:143;50932:2;50928:1;:6;50908:143;;;50956:11;50986:1;50970:13;22897:12:::0;;22684:7;22881:13;:28;;22631:315;50970:13:::1;:17;;;;:::i;:::-;50956:31;;51035:3;51007:32;51020:13;51029:3;51020:8;:13::i;:::-;51007:32;;;;;;:::i;:::-;;;;;;;;-1:-1:-1::0;50936:3:0;::::1;::::0;::::1;:::i;:::-;;;;50908:143;;30934:308:::0;46760:10;-1:-1:-1;;;;;31033:31:0;;;31029:61;;31073:17;;-1:-1:-1;;;31073:17:0;;;;;;;;;;;31029:61;46760:10;31103:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;31103:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;31103:60:0;;;;;;;;;;31179:55;;540:41:1;;;31103:49:0;;46760:10;31179:55;;513:18:1;31179:55:0;;;;;;;30934:308;;:::o;32041:396::-;32208:28;32218:4;32224:2;32228:7;32208:9;:28::i;:::-;-1:-1:-1;;;;;32251:14:0;;;:19;32247:183;;32290:56;32321:4;32327:2;32331:7;32340:5;32290:30;:56::i;:::-;32285:145;;32374:40;;-1:-1:-1;;;32374:40:0;;;;;;;;;;;32285:145;32041:396;;;;:::o;51508:331::-;51581:13;51612:16;51620:7;51612;:16::i;:::-;51607:59;;51637:29;;-1:-1:-1;;;51637:29:0;;;;;;;;;;;51607:59;51679:21;51703:10;:8;:10::i;:::-;51679:34;;51737:7;51731:21;51756:1;51731:26;:100;;;;;;;;;;;;;;;;;51784:7;51793:22;51803:11;:7;51813:1;51803:11;:::i;:::-;51793:9;:22::i;:::-;51767:58;;;;;;;;;:::i;:::-;;;;;;;;;;;;;51731:100;51724:107;51508:331;-1:-1:-1;;;51508:331:0:o;49744:154::-;2070:6;;49815:7;;-1:-1:-1;;;;;2070:6:0;46760:10;2217:23;2209:68;;;;-1:-1:-1;;;2209:68:0;;;;;;;:::i;:::-;-1:-1:-1;49835:14:0::1;:23:::0;;;49852:6;2288:1:::1;49744:154:::0;;;:::o;49906:279::-;2070:6;;-1:-1:-1;;;;;2070:6:0;46760:10;2217:23;2209:68;;;;-1:-1:-1;;;2209:68:0;;;;;;;:::i;:::-;49983:10:::1;49996:13;22897:12:::0;;22684:7;22881:13;:28;;22631:315;49996:13:::1;49983:26;;50039:1;50028:8;:12;50020:48;;;::::0;-1:-1:-1;;;50020:48:0;;8728:2:1;50020:48:0::1;::::0;::::1;8710:21:1::0;8767:2;8747:18;;;8740:30;8806:25;8786:18;;;8779:53;8849:18;;50020:48:0::1;8526:347:1::0;50020:48:0::1;50107:14;::::0;50087:16:::1;:2:::0;50094:8;50087:6:::1;:16::i;:::-;:34;;50079:64;;;;-1:-1:-1::0;;;50079:64:0::1;;;;;;;:::i;:::-;50154:23;50164:2;50168:8;50154:9;:23::i;49507:106::-:0;2070:6;;-1:-1:-1;;;;;2070:6:0;46760:10;2217:23;2209:68;;;;-1:-1:-1;;;2209:68:0;;;;;;;:::i;:::-;49587:18:::1;::::0;;-1:-1:-1;;;;49565:40:0;::::1;-1:-1:-1::0;;;49587:18:0;;;::::1;;;49586:19;49565:40:::0;;::::1;;::::0;;49507:106::o;51216:124::-;51260:13;51286:46;;;;;;;;;;;;;;;;;;;51216:124;:::o;2906:201::-;2070:6;;-1:-1:-1;;;;;2070:6:0;46760:10;2217:23;2209:68;;;;-1:-1:-1;;;2209:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;2995:22:0;::::1;2987:73;;;::::0;-1:-1:-1;;;2987:73:0;;9080:2:1;2987:73:0::1;::::0;::::1;9062:21:1::0;9119:2;9099:18;;;9092:30;9158:34;9138:18;;;9131:62;-1:-1:-1;;;9209:18:1;;;9202:36;9255:19;;2987:73:0::1;8878:402:1::0;2987:73:0::1;3071:28;3090:8;3071:18;:28::i;:::-;2906:201:::0;:::o;49283:216::-;2070:6;;-1:-1:-1;;;;;2070:6:0;46760:10;2217:23;2209:68;;;;-1:-1:-1;;;2209:68:0;;;;;;;:::i;:::-;49387:9:::1;49382:110;49402:20:::0;;::::1;49382:110;;;49471:9;49444:10;:24;49455:9;;49465:1;49455:12;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;49444:24:0::1;::::0;;::::1;::::0;::::1;::::0;;;;;;-1:-1:-1;49444:24:0;:36;;-1:-1:-1;;49444:36:0::1;;::::0;;;::::1;::::0;;;::::1;::::0;;49424:3;::::1;::::0;::::1;:::i;:::-;;;;49382:110;;32692:273:::0;32749:4;32839:13;;32829:7;:23;32786:152;;;;-1:-1:-1;;32890:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;32890:43:0;:48;;32692:273::o;25894:1129::-;25961:7;25996;26098:13;;26091:4;:20;26087:869;;;26136:14;26153:23;;;:17;:23;;;;;;;-1:-1:-1;;;26242:23:0;;:28;;26238:699;;26761:113;26768:6;26778:1;26768:11;26761:113;;-1:-1:-1;;;26839:6:0;26821:25;;;;:17;:25;;;;;;26761:113;;26238:699;26113:843;26087:869;26984:31;;-1:-1:-1;;;26984:31:0;;;;;;;;;;;6333:98;6391:7;6418:5;6422:1;6418;:5;:::i;33049:104::-;33118:27;33128:2;33132:8;33118:27;;;;;;;;;;;;:9;:27::i;37931:2515::-;38046:27;38076;38095:7;38076:18;:27::i;:::-;38046:57;;38161:4;-1:-1:-1;;;;;38120:45:0;38136:19;-1:-1:-1;;;;;38120:45:0;;38116:86;;38174:28;;-1:-1:-1;;;38174:28:0;;;;;;;;;;;38116:86;38215:22;46760:10;-1:-1:-1;;;;;38241:27:0;;;;:87;;-1:-1:-1;38285:43:0;38302:4;46760:10;31313:164;:::i;38285:43::-;38241:147;;;-1:-1:-1;46760:10:0;38345:20;38357:7;38345:11;:20::i;:::-;-1:-1:-1;;;;;38345:43:0;;38241:147;38215:174;;38407:17;38402:66;;38433:35;;-1:-1:-1;;;38433:35:0;;;;;;;;;;;38402:66;-1:-1:-1;;;;;38483:16:0;;38479:52;;38508:23;;-1:-1:-1;;;38508:23:0;;;;;;;;;;;38479:52;38660:24;;;;:15;:24;;;;;;;;38653:31;;-1:-1:-1;;;;;;38653:31:0;;;-1:-1:-1;;;;;39052:24:0;;;;;:18;:24;;;;;39050:26;;-1:-1:-1;;39050:26:0;;;39121:22;;;;;;;39119:24;;-1:-1:-1;39119:24:0;;;39414:26;;;:17;:26;;;;;-1:-1:-1;;;39502:15:0;20255:3;39502:41;39460:84;;:128;;39414:174;;;39708:46;;:51;;39704:626;;39812:1;39802:11;;39780:19;39935:30;;;:17;:30;;;;;;:35;;39931:384;;40073:13;;40058:11;:28;40054:242;;40220:30;;;;:17;:30;;;;;:52;;;40054:242;39761:569;39704:626;40377:7;40373:2;-1:-1:-1;;;;;40358:27:0;40367:4;-1:-1:-1;;;;;40358:27:0;;;;;;;;;;;38035:2411;;37931:2515;;;:::o;3267:191::-;3360:6;;;-1:-1:-1;;;;;3377:17:0;;;-1:-1:-1;;;;;;3377:17:0;;;;;;;3410:40;;3360:6;;;3377:17;3360:6;;3410:40;;3341:16;;3410:40;3330:128;3267:191;:::o;44142:716::-;44326:88;;-1:-1:-1;;;44326:88:0;;44305:4;;-1:-1:-1;;;;;44326:45:0;;;;;:88;;46760:10;;44393:4;;44399:7;;44408:5;;44326:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;44326:88:0;;;;;;;;-1:-1:-1;;44326:88:0;;;;;;;;;;;;:::i;:::-;;;44322:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44609:6;:13;44626:1;44609:18;44605:235;;44655:40;;-1:-1:-1;;;44655:40:0;;;;;;;;;;;44605:235;44798:6;44792:13;44783:6;44779:2;44775:15;44768:38;44322:529;-1:-1:-1;;;;;;44485:64:0;-1:-1:-1;;;44485:64:0;;-1:-1:-1;44142:716:0;;;;;;:::o;51348:152::-;51408:13;51434:58;;;;;;;;;;;;;;;;;;;51348:152;:::o;46884:1943::-;47353:4;47347:11;;47360:3;47343:21;;47438:17;;;;48134:11;;;48013:5;48266:2;48280;48270:13;;48262:22;48134:11;48249:36;48321:2;48311:13;;47905:680;48340:4;47905:680;;;48514:1;48509:3;48505:11;48498:18;;48565:2;48559:4;48555:13;48551:2;48547:22;48542:3;48534:36;48435:2;48425:13;;47905:680;;;-1:-1:-1;48615:13:0;;;-1:-1:-1;;48730:12:0;;;48790:19;;;48730:12;46884:1943;-1:-1:-1;46884:1943:0:o;33526:2236::-;33649:20;33672:13;-1:-1:-1;;;;;33700:16:0;;33696:48;;33725:19;;-1:-1:-1;;;33725:19:0;;;;;;;;;;;33696:48;33759:8;33771:1;33759:13;33755:44;;33781:18;;-1:-1:-1;;;33781:18:0;;;;;;;;;;;33755:44;-1:-1:-1;;;;;34348:22:0;;;;;;:18;:22;;;;19738:2;34348:22;;;:70;;34386:31;34374:44;;34348:70;;;34661:31;;;:17;:31;;;;;34754:15;20255:3;34754:41;34712:84;;-1:-1:-1;34832:13:0;;20514:3;34817:56;34712:162;34661:213;;:31;;34955:23;;;;34999:14;:19;34995:635;;35039:313;35070:38;;35095:12;;-1:-1:-1;;;;;35070:38:0;;;35087:1;;35070:38;;35087:1;;35070:38;35136:69;35175:1;35179:2;35183:14;;;;;;35199:5;35136:30;:69::i;:::-;35131:174;;35241:40;;-1:-1:-1;;;35241:40:0;;;;;;;;;;;35131:174;35347:3;35332:12;:18;35039:313;;35433:12;35416:13;;:29;35412:43;;35447:8;;;35412:43;34995:635;;;35496:119;35527:40;;35552:14;;;;;-1:-1:-1;;;;;35527:40:0;;;35544:1;;35527:40;;35544:1;;35527:40;35610:3;35595:12;:18;35496:119;;34995:635;-1:-1:-1;35644:13:0;:28;;;35694:60;;35727:2;35731:12;35745:8;35694:60;:::i;14:131:1:-;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:258::-;664:1;674:113;688:6;685:1;682:13;674:113;;;764:11;;;758:18;745:11;;;738:39;710:2;703:10;674:113;;;805:6;802:1;799:13;796:48;;;-1:-1:-1;;840:1:1;822:16;;815:27;592:258::o;855:::-;897:3;935:5;929:12;962:6;957:3;950:19;978:63;1034:6;1027:4;1022:3;1018:14;1011:4;1004:5;1000:16;978:63;:::i;:::-;1095:2;1074:15;-1:-1:-1;;1070:29:1;1061:39;;;;1102:4;1057:50;;855:258;-1:-1:-1;;855:258:1:o;1118:220::-;1267:2;1256:9;1249:21;1230:4;1287:45;1328:2;1317:9;1313:18;1305:6;1287:45;:::i;1343:180::-;1402:6;1455:2;1443:9;1434:7;1430:23;1426:32;1423:52;;;1471:1;1468;1461:12;1423:52;-1:-1:-1;1494:23:1;;1343:180;-1:-1:-1;1343:180:1:o;1736:173::-;1804:20;;-1:-1:-1;;;;;1853:31:1;;1843:42;;1833:70;;1899:1;1896;1889:12;1914:254;1982:6;1990;2043:2;2031:9;2022:7;2018:23;2014:32;2011:52;;;2059:1;2056;2049:12;2011:52;2082:29;2101:9;2082:29;:::i;:::-;2072:39;2158:2;2143:18;;;;2130:32;;-1:-1:-1;;;1914:254:1:o;2355:328::-;2432:6;2440;2448;2501:2;2489:9;2480:7;2476:23;2472:32;2469:52;;;2517:1;2514;2507:12;2469:52;2540:29;2559:9;2540:29;:::i;:::-;2530:39;;2588:38;2622:2;2611:9;2607:18;2588:38;:::i;:::-;2578:48;;2673:2;2662:9;2658:18;2645:32;2635:42;;2355:328;;;;;:::o;2688:186::-;2747:6;2800:2;2788:9;2779:7;2775:23;2771:32;2768:52;;;2816:1;2813;2806:12;2768:52;2839:29;2858:9;2839:29;:::i;2879:347::-;2944:6;2952;3005:2;2993:9;2984:7;2980:23;2976:32;2973:52;;;3021:1;3018;3011:12;2973:52;3044:29;3063:9;3044:29;:::i;:::-;3034:39;;3123:2;3112:9;3108:18;3095:32;3170:5;3163:13;3156:21;3149:5;3146:32;3136:60;;3192:1;3189;3182:12;3136:60;3215:5;3205:15;;;2879:347;;;;;:::o;3231:127::-;3292:10;3287:3;3283:20;3280:1;3273:31;3323:4;3320:1;3313:15;3347:4;3344:1;3337:15;3363:1138;3458:6;3466;3474;3482;3535:3;3523:9;3514:7;3510:23;3506:33;3503:53;;;3552:1;3549;3542:12;3503:53;3575:29;3594:9;3575:29;:::i;:::-;3565:39;;3623:38;3657:2;3646:9;3642:18;3623:38;:::i;:::-;3613:48;;3708:2;3697:9;3693:18;3680:32;3670:42;;3763:2;3752:9;3748:18;3735:32;3786:18;3827:2;3819:6;3816:14;3813:34;;;3843:1;3840;3833:12;3813:34;3881:6;3870:9;3866:22;3856:32;;3926:7;3919:4;3915:2;3911:13;3907:27;3897:55;;3948:1;3945;3938:12;3897:55;3984:2;3971:16;4006:2;4002;3999:10;3996:36;;;4012:18;;:::i;:::-;4087:2;4081:9;4055:2;4141:13;;-1:-1:-1;;4137:22:1;;;4161:2;4133:31;4129:40;4117:53;;;4185:18;;;4205:22;;;4182:46;4179:72;;;4231:18;;:::i;:::-;4271:10;4267:2;4260:22;4306:2;4298:6;4291:18;4346:7;4341:2;4336;4332;4328:11;4324:20;4321:33;4318:53;;;4367:1;4364;4357:12;4318:53;4423:2;4418;4414;4410:11;4405:2;4397:6;4393:15;4380:46;4468:1;4463:2;4458;4450:6;4446:15;4442:24;4435:35;4489:6;4479:16;;;;;;;3363:1138;;;;;;;:::o;4506:260::-;4574:6;4582;4635:2;4623:9;4614:7;4610:23;4606:32;4603:52;;;4651:1;4648;4641:12;4603:52;4674:29;4693:9;4674:29;:::i;:::-;4664:39;;4722:38;4756:2;4745:9;4741:18;4722:38;:::i;:::-;4712:48;;4506:260;;;;;:::o;4771:778::-;4864:6;4872;4880;4933:2;4921:9;4912:7;4908:23;4904:32;4901:52;;;4949:1;4946;4939:12;4901:52;4989:9;4976:23;5018:18;5059:2;5051:6;5048:14;5045:34;;;5075:1;5072;5065:12;5045:34;5113:6;5102:9;5098:22;5088:32;;5158:7;5151:4;5147:2;5143:13;5139:27;5129:55;;5180:1;5177;5170:12;5129:55;5220:2;5207:16;5246:2;5238:6;5235:14;5232:34;;;5262:1;5259;5252:12;5232:34;5317:7;5310:4;5300:6;5297:1;5293:14;5289:2;5285:23;5281:34;5278:47;5275:67;;;5338:1;5335;5328:12;5275:67;5369:4;5361:13;;;;-1:-1:-1;5393:6:1;-1:-1:-1;;5434:20:1;;5421:34;5495:4;5484:16;;5474:27;;5464:55;;5515:1;5512;5505:12;5464:55;5538:5;5528:15;;;4771:778;;;;;:::o;5554:380::-;5633:1;5629:12;;;;5676;;;5697:61;;5751:4;5743:6;5739:17;5729:27;;5697:61;5804:2;5796:6;5793:14;5773:18;5770:38;5767:161;;5850:10;5845:3;5841:20;5838:1;5831:31;5885:4;5882:1;5875:15;5913:4;5910:1;5903:15;5767:161;;5554:380;;;:::o;6642:341::-;6844:2;6826:21;;;6883:2;6863:18;;;6856:30;-1:-1:-1;;;6917:2:1;6902:18;;6895:47;6974:2;6959:18;;6642:341::o;6988:356::-;7190:2;7172:21;;;7209:18;;;7202:30;7268:34;7263:2;7248:18;;7241:62;7335:2;7320:18;;6988:356::o;7349:127::-;7410:10;7405:3;7401:20;7398:1;7391:31;7441:4;7438:1;7431:15;7465:4;7462:1;7455:15;7481:125;7521:4;7549:1;7546;7543:8;7540:34;;;7554:18;;:::i;:::-;-1:-1:-1;7591:9:1;;7481:125::o;7611:135::-;7650:3;7671:17;;;7668:43;;7691:18;;:::i;:::-;-1:-1:-1;7738:1:1;7727:13;;7611:135::o;7751:128::-;7791:3;7822:1;7818:6;7815:1;7812:13;7809:39;;;7828:18;;:::i;:::-;-1:-1:-1;7864:9:1;;7751:128::o;7884:637::-;8164:3;8202:6;8196:13;8218:53;8264:6;8259:3;8252:4;8244:6;8240:17;8218:53;:::i;:::-;8334:13;;8293:16;;;;8356:57;8334:13;8293:16;8390:4;8378:17;;8356:57;:::i;:::-;-1:-1:-1;;;8435:20:1;;8464:22;;;8513:1;8502:13;;7884:637;-1:-1:-1;;;;7884:637:1:o;9285:127::-;9346:10;9341:3;9337:20;9334:1;9327:31;9377:4;9374:1;9367:15;9401:4;9398:1;9391:15;9417:489;-1:-1:-1;;;;;9686:15:1;;;9668:34;;9738:15;;9733:2;9718:18;;9711:43;9785:2;9770:18;;9763:34;;;9833:3;9828:2;9813:18;;9806:31;;;9611:4;;9854:46;;9880:19;;9872:6;9854:46;:::i;:::-;9846:54;9417:489;-1:-1:-1;;;;;;9417:489:1:o;9911:249::-;9980:6;10033:2;10021:9;10012:7;10008:23;10004:32;10001:52;;;10049:1;10046;10039:12;10001:52;10081:9;10075:16;10100:30;10124:5;10100:30;:::i

Swarm Source

ipfs://7a05431cd9f7aee6a6cc34263d8383fa7a73f673d41287aa2e22d5e57c332d0e

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

OVERVIEW

Neighbors is a collection of 1,111 unique genesis NFTs on the ethereum blockchain. Let's become Neighbors!

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.