ETH Price: $3,714.07 (+3.35%)

Contract

0x35d4718Ca7e350007b9fD6b881912f65c2CD4C73
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Mint204463472024-08-03 6:53:35119 days ago1722668015IN
0x35d4718C...5c2CD4C73
0 ETH0.000117471.14388856
Mint204159342024-07-30 0:53:23123 days ago1722300803IN
0x35d4718C...5c2CD4C73
0 ETH0.000102631
Mint204156332024-07-29 23:52:47123 days ago1722297167IN
0x35d4718C...5c2CD4C73
0 ETH0.000102631
Mint204099422024-07-29 4:51:11124 days ago1722228671IN
0x35d4718C...5c2CD4C73
0 ETH0.000102631
Mint204091422024-07-29 2:09:23124 days ago1722218963IN
0x35d4718C...5c2CD4C73
0 ETH0.000102631
Mint204090752024-07-29 1:55:59124 days ago1722218159IN
0x35d4718C...5c2CD4C73
0 ETH0.000102631
Mint204090752024-07-29 1:55:59124 days ago1722218159IN
0x35d4718C...5c2CD4C73
0 ETH0.000102631
Mint204090712024-07-29 1:55:11124 days ago1722218111IN
0x35d4718C...5c2CD4C73
0 ETH0.000102631
Mint204090712024-07-29 1:55:11124 days ago1722218111IN
0x35d4718C...5c2CD4C73
0 ETH0.000102631
Mint204090712024-07-29 1:55:11124 days ago1722218111IN
0x35d4718C...5c2CD4C73
0 ETH0.000102631
Mint204090652024-07-29 1:53:59124 days ago1722218039IN
0x35d4718C...5c2CD4C73
0 ETH0.000102631
Mint204090262024-07-29 1:46:11124 days ago1722217571IN
0x35d4718C...5c2CD4C73
0 ETH0.000102631
Mint204087192024-07-29 0:44:47124 days ago1722213887IN
0x35d4718C...5c2CD4C73
0 ETH0.000102631
Mint204087192024-07-29 0:44:47124 days ago1722213887IN
0x35d4718C...5c2CD4C73
0 ETH0.000102631
Mint204087192024-07-29 0:44:47124 days ago1722213887IN
0x35d4718C...5c2CD4C73
0 ETH0.000102631
Mint204087192024-07-29 0:44:47124 days ago1722213887IN
0x35d4718C...5c2CD4C73
0 ETH0.000102631
Mint204087192024-07-29 0:44:47124 days ago1722213887IN
0x35d4718C...5c2CD4C73
0 ETH0.000102631
Mint204087072024-07-29 0:42:23124 days ago1722213743IN
0x35d4718C...5c2CD4C73
0 ETH0.000102631
Mint204087072024-07-29 0:42:23124 days ago1722213743IN
0x35d4718C...5c2CD4C73
0 ETH0.000102631
Mint204085642024-07-29 0:13:23124 days ago1722212003IN
0x35d4718C...5c2CD4C73
0 ETH0.000102631
Mint204085472024-07-29 0:09:59124 days ago1722211799IN
0x35d4718C...5c2CD4C73
0 ETH0.000102631
Mint204085472024-07-29 0:09:59124 days ago1722211799IN
0x35d4718C...5c2CD4C73
0 ETH0.000102631
Mint204085422024-07-29 0:08:59124 days ago1722211739IN
0x35d4718C...5c2CD4C73
0 ETH0.000102631
Mint204085322024-07-29 0:06:59124 days ago1722211619IN
0x35d4718C...5c2CD4C73
0 ETH0.000102631
Mint204085322024-07-29 0:06:59124 days ago1722211619IN
0x35d4718C...5c2CD4C73
0 ETH0.000102631
View all transactions

Latest 1 internal transaction

Advanced mode:
Parent Transaction Hash Block From To
151921992022-07-22 11:53:49862 days ago1658490829
0x35d4718C...5c2CD4C73
0.025 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
DegenGhostsGangNFT

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

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

// SPDX-License-Identifier: MIT
// File: @openzeppelin/contracts/utils/Context.sol


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

pragma solidity ^0.8.0;

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

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

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


// OpenZeppelin Contracts (last updated v4.7.0) (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 Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

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

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

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

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

// File: erc721a/contracts/IERC721A.sol


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

pragma solidity ^0.8.4;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Emitted when tokens in `fromTokenId` to `toTokenId` (inclusive) is transferred from `from` to `to`,
     * as defined in the ERC2309 standard. See `_mintERC2309` for more details.
     */
    event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to);
}

// File: erc721a/contracts/ERC721A.sol


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

pragma solidity ^0.8.4;


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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        // The interface IDs are constants representing the first 4 bytes of the XOR of
        // all function selectors in the interface. See: https://eips.ethereum.org/EIPS/eip-165
        // e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`
        return
            interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165.
            interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721.
            interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata.
    }

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

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

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

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

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

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

        unchecked {
            if (_startTokenId() <= curr)
                if (curr < _currentIndex) {
                    uint256 packed = _packedOwnerships[curr];
                    // If not burned.
                    if (packed & BITMASK_BURNED == 0) {
                        // Invariant:
                        // There will always be an ownership that has an address and is not burned
                        // before an ownership that does not have an address and is not burned.
                        // Hence, curr will not underflow.
                        //
                        // We can directly compare the packed value.
                        // If the address is zero, packed is zero.
                        while (packed == 0) {
                            packed = _packedOwnerships[--curr];
                        }
                        return packed;
                    }
                }
        }
        revert OwnerQueryForNonexistentToken();
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

            uint256 tokenId = startTokenId;
            uint256 end = startTokenId + quantity;
            do {
                emit Transfer(address(0), to, tokenId++);
            } while (tokenId < end);

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

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

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

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

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

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

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

    /**
     * @dev Returns the storage slot and value for the approved address of `tokenId`.
     */
    function _getApprovedAddress(uint256 tokenId)
        private
        view
        returns (uint256 approvedAddressSlot, address approvedAddress)
    {
        mapping(uint256 => address) storage tokenApprovalsPtr = _tokenApprovals;
        // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId]`.
        assembly {
            // Compute the slot.
            mstore(0x00, tokenId)
            mstore(0x20, tokenApprovalsPtr.slot)
            approvedAddressSlot := keccak256(0x00, 0x40)
            // Load the slot"s value from storage.
            approvedAddress := sload(approvedAddressSlot)
        }
    }

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

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

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

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

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

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

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

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

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

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

        address from = address(uint160(prevOwnershipPacked));

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function _toString(uint256 value) internal pure returns (string memory ptr) {
        assembly {
            // The maximum value of a uint256 contains 78 digits (1 byte per digit),
            // but we allocate 128 bytes to keep the free memory pointer 32-byte word aliged.
            // We will need 1 32-byte word to store the length,
            // and 3 32-byte words to store a maximum of 78 digits. Total: 32 + 3 * 32 = 128.
            ptr := add(mload(0x40), 128)
            // Update the free memory pointer to allocate.
            mstore(0x40, ptr)

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

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

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




pragma solidity ^0.8.0;

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

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

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

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

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




pragma solidity ^0.8.0;



contract DegenGhostsGangNFT is ERC721A, Ownable {
	using Strings for uint;

	uint public constant MINT_PRICE = 0.01 ether;
    uint public constant MAX_PER_WALLET = 7;
	uint public maxSupply = 2666;

	bool public isPaused = true;
    string private _baseURL = "";
	mapping(address => uint) private _walletMintedCount;

	constructor()
    // Name
	ERC721A("Degen Ghosts Gang", "DGG") {
    }

	function _baseURI() internal view override returns (string memory) {
		return _baseURL;
	}

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

	function contractURI() public pure returns (string memory) {
		return "";
	}

    function mintedCount(address owner) external view returns (uint) {
        return _walletMintedCount[owner];
    }

    function setBaseUri(string memory url) external onlyOwner {
	    _baseURL = url;
	}

	function start() external onlyOwner {
	    isPaused = false;
	}

	function withdraw() external onlyOwner {
		(bool success, ) = payable(msg.sender).call{
            value: address(this).balance
        }("");
        require(success);
	}

	function devMint(address to, uint count) external onlyOwner {
		require(
			_totalMinted() + count <= maxSupply,
			"Exceeds max supply"
		);
		_safeMint(to, count);
	}

	function setMaxSupply(uint newMaxSupply) external onlyOwner {
		maxSupply = newMaxSupply;
	}

	function tokenURI(uint tokenId)
		public
		view
		override
		returns (string memory)
	{
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");
        return bytes(_baseURI()).length > 0 
            ? string(abi.encodePacked(_baseURI(), tokenId.toString(), ".json"))
            : "";
	}

	function mint(uint count) external payable {
		require(!isPaused, "Sales are off");
        require(_totalMinted() + count <= maxSupply,"Exceeds max supply");
        require(_walletMintedCount[msg.sender] + count <= MAX_PER_WALLET,"Exceeds max per wallet");
            uint countFree = 0;
            if(_walletMintedCount[msg.sender] < 2)
                countFree = 2 -_walletMintedCount[msg.sender];
            if(count>countFree)
		    require(msg.value >= (count-countFree) * MINT_PRICE,"Ether value sent is not sufficient");
		_walletMintedCount[msg.sender] += count;
		_safeMint(msg.sender, count);
	}

}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_PER_WALLET","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINT_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"count","type":"uint256"}],"name":"devMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":"isPaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"count","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"mintedCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","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":"string","name":"url","type":"string"}],"name":"setBaseUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMaxSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"start","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

610a6a600955600a805460ff1916600117905560a06040819052600060808190526200002e91600b9162000112565b503480156200003c57600080fd5b506040805180820182526011815270446567656e2047686f7374732047616e6760781b60208083019182528351808501909452600384526244474760e81b908401528151919291620000919160029162000112565b508051620000a790600390602084019062000112565b5050600160005550620000ba33620000c0565b620001f5565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200012090620001b8565b90600052602060002090601f0160209004810192826200014457600085556200018f565b82601f106200015f57805160ff19168380011785556200018f565b828001600101855582156200018f579182015b828111156200018f57825182559160200191906001019062000172565b506200019d929150620001a1565b5090565b5b808211156200019d5760008155600101620001a2565b600181811c90821680620001cd57607f821691505b60208210811415620001ef57634e487b7160e01b600052602260045260246000fd5b50919050565b6118e180620002056000396000f3fe6080604052600436106101c25760003560e01c80638da5cb5b116100f7578063be9a655511610095578063e8a3d48511610064578063e8a3d485146104c8578063e985e9c5146104e9578063f2fde38b14610532578063fddcb5ea1461055257600080fd5b8063be9a655514610462578063c002d23d14610477578063c87b56dd14610492578063d5abeb01146104b257600080fd5b8063a0bcfc7f116100d1578063a0bcfc7f146103e8578063a22cb46514610408578063b187bd2614610428578063b88d4fde1461044257600080fd5b80638da5cb5b146103a257806395d89b41146103c0578063a0712d68146103d557600080fd5b80633ccfd60b116101645780636352211e1161013e5780636352211e1461032d5780636f8b44b01461034d57806370a082311461036d578063715018a61461038d57600080fd5b80633ccfd60b146102d857806342842e0e146102ed578063627804af1461030d57600080fd5b8063095ea7b3116101a0578063095ea7b3146102565780630f2cdd6c1461027857806318160ddd1461029b57806323b872dd146102b857600080fd5b806301ffc9a7146101c757806306fdde03146101fc578063081812fc1461021e575b600080fd5b3480156101d357600080fd5b506101e76101e23660046115ee565b610588565b60405190151581526020015b60405180910390f35b34801561020857600080fd5b506102116105da565b6040516101f39190611732565b34801561022a57600080fd5b5061023e610239366004611671565b61066c565b6040516001600160a01b0390911681526020016101f3565b34801561026257600080fd5b506102766102713660046115c4565b6106b0565b005b34801561028457600080fd5b5061028d600781565b6040519081526020016101f3565b3480156102a757600080fd5b50600154600054036000190161028d565b3480156102c457600080fd5b506102766102d33660046114d0565b610750565b3480156102e457600080fd5b506102766108e1565b3480156102f957600080fd5b506102766103083660046114d0565b610941565b34801561031957600080fd5b506102766103283660046115c4565b610961565b34801561033957600080fd5b5061023e610348366004611671565b6109da565b34801561035957600080fd5b50610276610368366004611671565b6109e5565b34801561037957600080fd5b5061028d610388366004611482565b6109f2565b34801561039957600080fd5b50610276610a41565b3480156103ae57600080fd5b506008546001600160a01b031661023e565b3480156103cc57600080fd5b50610211610a55565b6102766103e3366004611671565b610a64565b3480156103f457600080fd5b50610276610403366004611628565b610c4d565b34801561041457600080fd5b50610276610423366004611588565b610c68565b34801561043457600080fd5b50600a546101e79060ff1681565b34801561044e57600080fd5b5061027661045d36600461150c565b610cfe565b34801561046e57600080fd5b50610276610d48565b34801561048357600080fd5b5061028d662386f26fc1000081565b34801561049e57600080fd5b506102116104ad366004611671565b610d5c565b3480156104be57600080fd5b5061028d60095481565b3480156104d457600080fd5b50604080516020810190915260008152610211565b3480156104f557600080fd5b506101e761050436600461149d565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561053e57600080fd5b5061027661054d366004611482565b610e27565b34801561055e57600080fd5b5061028d61056d366004611482565b6001600160a01b03166000908152600c602052604090205490565b60006301ffc9a760e01b6001600160e01b0319831614806105b957506380ac58cd60e01b6001600160e01b03198316145b806105d45750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546105e9906117d3565b80601f0160208091040260200160405190810160405280929190818152602001828054610615906117d3565b80156106625780601f1061063757610100808354040283529160200191610662565b820191906000526020600020905b81548152906001019060200180831161064557829003601f168201915b5050505050905090565b600061067782610e9d565b610694576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006106bb826109da565b9050336001600160a01b038216146106f4576106d78133610504565b6106f4576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061075b82610ed2565b9050836001600160a01b0316816001600160a01b03161461078e5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b038816909114176107db576107be8633610504565b6107db57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661080257604051633a954ecd60e21b815260040160405180910390fd5b801561080d57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b831661089857600184016000818152600460205260409020546108965760005481146108965760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b6108e9610f42565b604051600090339047908381818185875af1925050503d806000811461092b576040519150601f19603f3d011682016040523d82523d6000602084013e610930565b606091505b505090508061093e57600080fd5b50565b61095c83838360405180602001604052806000815250610cfe565b505050565b610969610f42565b6009548161097a6000546000190190565b6109849190611745565b11156109cc5760405162461bcd60e51b815260206004820152601260248201527145786365656473206d617820737570706c7960701b60448201526064015b60405180910390fd5b6109d68282610f9c565b5050565b60006105d482610ed2565b6109ed610f42565b600955565b60006001600160a01b038216610a1b576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610a49610f42565b610a536000610fb6565b565b6060600380546105e9906117d3565b600a5460ff1615610aa75760405162461bcd60e51b815260206004820152600d60248201526c29b0b632b99030b9329037b33360991b60448201526064016109c3565b60095481610ab86000546000190190565b610ac29190611745565b1115610b055760405162461bcd60e51b815260206004820152601260248201527145786365656473206d617820737570706c7960701b60448201526064016109c3565b336000908152600c6020526040902054600790610b23908390611745565b1115610b6a5760405162461bcd60e51b8152602060048201526016602482015275115e18d959591cc81b585e081c195c881dd85b1b195d60521b60448201526064016109c3565b336000908152600c602052604081205460021115610ba057336000908152600c6020526040902054610b9d906002611790565b90505b80821115610c1e57662386f26fc10000610bba8284611790565b610bc49190611771565b341015610c1e5760405162461bcd60e51b815260206004820152602260248201527f45746865722076616c75652073656e74206973206e6f742073756666696369656044820152611b9d60f21b60648201526084016109c3565b336000908152600c602052604081208054849290610c3d908490611745565b909155506109d690503383610f9c565b610c55610f42565b80516109d690600b906020840190611357565b6001600160a01b038216331415610c925760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610d09848484610750565b6001600160a01b0383163b15610d4257610d2584848484611008565b610d42576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b610d50610f42565b600a805460ff19169055565b6060610d6782610e9d565b610dcb5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016109c3565b6000610dd5611100565b5111610df057604051806020016040528060008152506105d4565b610df8611100565b610e018361110f565b604051602001610e129291906116b6565b60405160208183030381529060405292915050565b610e2f610f42565b6001600160a01b038116610e945760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109c3565b61093e81610fb6565b600081600111158015610eb1575060005482105b80156105d4575050600090815260046020526040902054600160e01b161590565b60008180600111610f2957600054811015610f2957600081815260046020526040902054600160e01b8116610f27575b80610f20575060001901600081815260046020526040902054610f02565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b6008546001600160a01b03163314610a535760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109c3565b6109d682826040518060200160405280600081525061120d565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061103d9033908990889088906004016116f5565b602060405180830381600087803b15801561105757600080fd5b505af1925050508015611087575060408051601f3d908101601f191682019092526110849181019061160b565b60015b6110e2573d8080156110b5576040519150601f19603f3d011682016040523d82523d6000602084013e6110ba565b606091505b5080516110da576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600b80546105e9906117d3565b6060816111335750506040805180820190915260018152600360fc1b602082015290565b8160005b811561115d57806111478161180e565b91506111569050600a8361175d565b9150611137565b60008167ffffffffffffffff8111156111785761117861187f565b6040519080825280601f01601f1916602001820160405280156111a2576020820181803683370190505b5090505b84156110f8576111b7600183611790565b91506111c4600a86611829565b6111cf906030611745565b60f81b8183815181106111e4576111e4611869565b60200101906001600160f81b031916908160001a905350611206600a8661175d565b94506111a6565b611217838361127a565b6001600160a01b0383163b1561095c576000548281035b6112416000868380600101945086611008565b61125e576040516368d2bf6b60e11b815260040160405180910390fd5b81811061122e57816000541461127357600080fd5b5050505050565b6000546001600160a01b0383166112a357604051622e076360e81b815260040160405180910390fd5b816112c15760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038316600081815260056020526040902080546801000000000000000185020190554260a01b6001841460e11b1717600082815260046020526040902055808281015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a480821061130b5760005550505050565b828054611363906117d3565b90600052602060002090601f01602090048101928261138557600085556113cb565b82601f1061139e57805160ff19168380011785556113cb565b828001600101855582156113cb579182015b828111156113cb5782518255916020019190600101906113b0565b506113d79291506113db565b5090565b5b808211156113d757600081556001016113dc565b600067ffffffffffffffff8084111561140b5761140b61187f565b604051601f8501601f19908116603f011681019082821181831017156114335761143361187f565b8160405280935085815286868601111561144c57600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461147d57600080fd5b919050565b60006020828403121561149457600080fd5b610f2082611466565b600080604083850312156114b057600080fd5b6114b983611466565b91506114c760208401611466565b90509250929050565b6000806000606084860312156114e557600080fd5b6114ee84611466565b92506114fc60208501611466565b9150604084013590509250925092565b6000806000806080858703121561152257600080fd5b61152b85611466565b935061153960208601611466565b925060408501359150606085013567ffffffffffffffff81111561155c57600080fd5b8501601f8101871361156d57600080fd5b61157c878235602084016113f0565b91505092959194509250565b6000806040838503121561159b57600080fd5b6115a483611466565b9150602083013580151581146115b957600080fd5b809150509250929050565b600080604083850312156115d757600080fd5b6115e083611466565b946020939093013593505050565b60006020828403121561160057600080fd5b8135610f2081611895565b60006020828403121561161d57600080fd5b8151610f2081611895565b60006020828403121561163a57600080fd5b813567ffffffffffffffff81111561165157600080fd5b8201601f8101841361166257600080fd5b6110f8848235602084016113f0565b60006020828403121561168357600080fd5b5035919050565b600081518084526116a28160208601602086016117a7565b601f01601f19169290920160200192915050565b600083516116c88184602088016117a7565b8351908301906116dc8183602088016117a7565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906117289083018461168a565b9695505050505050565b602081526000610f20602083018461168a565b600082198211156117585761175861183d565b500190565b60008261176c5761176c611853565b500490565b600081600019048311821515161561178b5761178b61183d565b500290565b6000828210156117a2576117a261183d565b500390565b60005b838110156117c25781810151838201526020016117aa565b83811115610d425750506000910152565b600181811c908216806117e757607f821691505b6020821081141561180857634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156118225761182261183d565b5060010190565b60008261183857611838611853565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461093e57600080fdfea26469706673582212209c26c33ed90bcc1ad56e11005ae55de782812ff5ef9b7e1de678a13db0d2477d64736f6c63430008070033

Deployed Bytecode

0x6080604052600436106101c25760003560e01c80638da5cb5b116100f7578063be9a655511610095578063e8a3d48511610064578063e8a3d485146104c8578063e985e9c5146104e9578063f2fde38b14610532578063fddcb5ea1461055257600080fd5b8063be9a655514610462578063c002d23d14610477578063c87b56dd14610492578063d5abeb01146104b257600080fd5b8063a0bcfc7f116100d1578063a0bcfc7f146103e8578063a22cb46514610408578063b187bd2614610428578063b88d4fde1461044257600080fd5b80638da5cb5b146103a257806395d89b41146103c0578063a0712d68146103d557600080fd5b80633ccfd60b116101645780636352211e1161013e5780636352211e1461032d5780636f8b44b01461034d57806370a082311461036d578063715018a61461038d57600080fd5b80633ccfd60b146102d857806342842e0e146102ed578063627804af1461030d57600080fd5b8063095ea7b3116101a0578063095ea7b3146102565780630f2cdd6c1461027857806318160ddd1461029b57806323b872dd146102b857600080fd5b806301ffc9a7146101c757806306fdde03146101fc578063081812fc1461021e575b600080fd5b3480156101d357600080fd5b506101e76101e23660046115ee565b610588565b60405190151581526020015b60405180910390f35b34801561020857600080fd5b506102116105da565b6040516101f39190611732565b34801561022a57600080fd5b5061023e610239366004611671565b61066c565b6040516001600160a01b0390911681526020016101f3565b34801561026257600080fd5b506102766102713660046115c4565b6106b0565b005b34801561028457600080fd5b5061028d600781565b6040519081526020016101f3565b3480156102a757600080fd5b50600154600054036000190161028d565b3480156102c457600080fd5b506102766102d33660046114d0565b610750565b3480156102e457600080fd5b506102766108e1565b3480156102f957600080fd5b506102766103083660046114d0565b610941565b34801561031957600080fd5b506102766103283660046115c4565b610961565b34801561033957600080fd5b5061023e610348366004611671565b6109da565b34801561035957600080fd5b50610276610368366004611671565b6109e5565b34801561037957600080fd5b5061028d610388366004611482565b6109f2565b34801561039957600080fd5b50610276610a41565b3480156103ae57600080fd5b506008546001600160a01b031661023e565b3480156103cc57600080fd5b50610211610a55565b6102766103e3366004611671565b610a64565b3480156103f457600080fd5b50610276610403366004611628565b610c4d565b34801561041457600080fd5b50610276610423366004611588565b610c68565b34801561043457600080fd5b50600a546101e79060ff1681565b34801561044e57600080fd5b5061027661045d36600461150c565b610cfe565b34801561046e57600080fd5b50610276610d48565b34801561048357600080fd5b5061028d662386f26fc1000081565b34801561049e57600080fd5b506102116104ad366004611671565b610d5c565b3480156104be57600080fd5b5061028d60095481565b3480156104d457600080fd5b50604080516020810190915260008152610211565b3480156104f557600080fd5b506101e761050436600461149d565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561053e57600080fd5b5061027661054d366004611482565b610e27565b34801561055e57600080fd5b5061028d61056d366004611482565b6001600160a01b03166000908152600c602052604090205490565b60006301ffc9a760e01b6001600160e01b0319831614806105b957506380ac58cd60e01b6001600160e01b03198316145b806105d45750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546105e9906117d3565b80601f0160208091040260200160405190810160405280929190818152602001828054610615906117d3565b80156106625780601f1061063757610100808354040283529160200191610662565b820191906000526020600020905b81548152906001019060200180831161064557829003601f168201915b5050505050905090565b600061067782610e9d565b610694576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006106bb826109da565b9050336001600160a01b038216146106f4576106d78133610504565b6106f4576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061075b82610ed2565b9050836001600160a01b0316816001600160a01b03161461078e5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b038816909114176107db576107be8633610504565b6107db57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661080257604051633a954ecd60e21b815260040160405180910390fd5b801561080d57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b831661089857600184016000818152600460205260409020546108965760005481146108965760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b6108e9610f42565b604051600090339047908381818185875af1925050503d806000811461092b576040519150601f19603f3d011682016040523d82523d6000602084013e610930565b606091505b505090508061093e57600080fd5b50565b61095c83838360405180602001604052806000815250610cfe565b505050565b610969610f42565b6009548161097a6000546000190190565b6109849190611745565b11156109cc5760405162461bcd60e51b815260206004820152601260248201527145786365656473206d617820737570706c7960701b60448201526064015b60405180910390fd5b6109d68282610f9c565b5050565b60006105d482610ed2565b6109ed610f42565b600955565b60006001600160a01b038216610a1b576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610a49610f42565b610a536000610fb6565b565b6060600380546105e9906117d3565b600a5460ff1615610aa75760405162461bcd60e51b815260206004820152600d60248201526c29b0b632b99030b9329037b33360991b60448201526064016109c3565b60095481610ab86000546000190190565b610ac29190611745565b1115610b055760405162461bcd60e51b815260206004820152601260248201527145786365656473206d617820737570706c7960701b60448201526064016109c3565b336000908152600c6020526040902054600790610b23908390611745565b1115610b6a5760405162461bcd60e51b8152602060048201526016602482015275115e18d959591cc81b585e081c195c881dd85b1b195d60521b60448201526064016109c3565b336000908152600c602052604081205460021115610ba057336000908152600c6020526040902054610b9d906002611790565b90505b80821115610c1e57662386f26fc10000610bba8284611790565b610bc49190611771565b341015610c1e5760405162461bcd60e51b815260206004820152602260248201527f45746865722076616c75652073656e74206973206e6f742073756666696369656044820152611b9d60f21b60648201526084016109c3565b336000908152600c602052604081208054849290610c3d908490611745565b909155506109d690503383610f9c565b610c55610f42565b80516109d690600b906020840190611357565b6001600160a01b038216331415610c925760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610d09848484610750565b6001600160a01b0383163b15610d4257610d2584848484611008565b610d42576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b610d50610f42565b600a805460ff19169055565b6060610d6782610e9d565b610dcb5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016109c3565b6000610dd5611100565b5111610df057604051806020016040528060008152506105d4565b610df8611100565b610e018361110f565b604051602001610e129291906116b6565b60405160208183030381529060405292915050565b610e2f610f42565b6001600160a01b038116610e945760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109c3565b61093e81610fb6565b600081600111158015610eb1575060005482105b80156105d4575050600090815260046020526040902054600160e01b161590565b60008180600111610f2957600054811015610f2957600081815260046020526040902054600160e01b8116610f27575b80610f20575060001901600081815260046020526040902054610f02565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b6008546001600160a01b03163314610a535760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109c3565b6109d682826040518060200160405280600081525061120d565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061103d9033908990889088906004016116f5565b602060405180830381600087803b15801561105757600080fd5b505af1925050508015611087575060408051601f3d908101601f191682019092526110849181019061160b565b60015b6110e2573d8080156110b5576040519150601f19603f3d011682016040523d82523d6000602084013e6110ba565b606091505b5080516110da576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600b80546105e9906117d3565b6060816111335750506040805180820190915260018152600360fc1b602082015290565b8160005b811561115d57806111478161180e565b91506111569050600a8361175d565b9150611137565b60008167ffffffffffffffff8111156111785761117861187f565b6040519080825280601f01601f1916602001820160405280156111a2576020820181803683370190505b5090505b84156110f8576111b7600183611790565b91506111c4600a86611829565b6111cf906030611745565b60f81b8183815181106111e4576111e4611869565b60200101906001600160f81b031916908160001a905350611206600a8661175d565b94506111a6565b611217838361127a565b6001600160a01b0383163b1561095c576000548281035b6112416000868380600101945086611008565b61125e576040516368d2bf6b60e11b815260040160405180910390fd5b81811061122e57816000541461127357600080fd5b5050505050565b6000546001600160a01b0383166112a357604051622e076360e81b815260040160405180910390fd5b816112c15760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038316600081815260056020526040902080546801000000000000000185020190554260a01b6001841460e11b1717600082815260046020526040902055808281015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a480821061130b5760005550505050565b828054611363906117d3565b90600052602060002090601f01602090048101928261138557600085556113cb565b82601f1061139e57805160ff19168380011785556113cb565b828001600101855582156113cb579182015b828111156113cb5782518255916020019190600101906113b0565b506113d79291506113db565b5090565b5b808211156113d757600081556001016113dc565b600067ffffffffffffffff8084111561140b5761140b61187f565b604051601f8501601f19908116603f011681019082821181831017156114335761143361187f565b8160405280935085815286868601111561144c57600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461147d57600080fd5b919050565b60006020828403121561149457600080fd5b610f2082611466565b600080604083850312156114b057600080fd5b6114b983611466565b91506114c760208401611466565b90509250929050565b6000806000606084860312156114e557600080fd5b6114ee84611466565b92506114fc60208501611466565b9150604084013590509250925092565b6000806000806080858703121561152257600080fd5b61152b85611466565b935061153960208601611466565b925060408501359150606085013567ffffffffffffffff81111561155c57600080fd5b8501601f8101871361156d57600080fd5b61157c878235602084016113f0565b91505092959194509250565b6000806040838503121561159b57600080fd5b6115a483611466565b9150602083013580151581146115b957600080fd5b809150509250929050565b600080604083850312156115d757600080fd5b6115e083611466565b946020939093013593505050565b60006020828403121561160057600080fd5b8135610f2081611895565b60006020828403121561161d57600080fd5b8151610f2081611895565b60006020828403121561163a57600080fd5b813567ffffffffffffffff81111561165157600080fd5b8201601f8101841361166257600080fd5b6110f8848235602084016113f0565b60006020828403121561168357600080fd5b5035919050565b600081518084526116a28160208601602086016117a7565b601f01601f19169290920160200192915050565b600083516116c88184602088016117a7565b8351908301906116dc8183602088016117a7565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906117289083018461168a565b9695505050505050565b602081526000610f20602083018461168a565b600082198211156117585761175861183d565b500190565b60008261176c5761176c611853565b500490565b600081600019048311821515161561178b5761178b61183d565b500290565b6000828210156117a2576117a261183d565b500390565b60005b838110156117c25781810151838201526020016117aa565b83811115610d425750506000910152565b600181811c908216806117e757607f821691505b6020821081141561180857634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156118225761182261183d565b5060010190565b60008261183857611838611853565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461093e57600080fdfea26469706673582212209c26c33ed90bcc1ad56e11005ae55de782812ff5ef9b7e1de678a13db0d2477d64736f6c63430008070033

Deployed Bytecode Sourcemap

50405:2383:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18218:615;;;;;;;;;;-1:-1:-1;18218:615:0;;;;;:::i;:::-;;:::i;:::-;;;6023:14:1;;6016:22;5998:41;;5986:2;5971:18;18218:615:0;;;;;;;;23865:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;25811:204::-;;;;;;;;;;-1:-1:-1;25811:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;5321:32:1;;;5303:51;;5291:2;5276:18;25811:204:0;5157:203:1;25359:386:0;;;;;;;;;;-1:-1:-1;25359:386:0;;;;;:::i;:::-;;:::i;:::-;;50536:39;;;;;;;;;;;;50574:1;50536:39;;;;;9047:25:1;;;9035:2;9020:18;50536:39:0;8901:177:1;17272:315:0;;;;;;;;;;-1:-1:-1;50986:1:0;17538:12;17325:7;17522:13;:28;-1:-1:-1;;17522:46:0;17272:315;;35076:2800;;;;;;;;;;-1:-1:-1;35076:2800:0;;;;;:::i;:::-;;:::i;51367:177::-;;;;;;;;;;;;;:::i;26701:185::-;;;;;;;;;;-1:-1:-1;26701:185:0;;;;;:::i;:::-;;:::i;51549:174::-;;;;;;;;;;-1:-1:-1;51549:174:0;;;;;:::i;:::-;;:::i;23654:144::-;;;;;;;;;;-1:-1:-1;23654:144:0;;;;;:::i;:::-;;:::i;51728:94::-;;;;;;;;;;-1:-1:-1;51728:94:0;;;;;:::i;:::-;;:::i;18897:224::-;;;;;;;;;;-1:-1:-1;18897:224:0;;;;;:::i;:::-;;:::i;2809:103::-;;;;;;;;;;;;;:::i;2161:87::-;;;;;;;;;;-1:-1:-1;2234:6:0;;-1:-1:-1;;;;;2234:6:0;2161:87;;24034:104;;;;;;;;;;;;;:::i;52161:622::-;;;;;;:::i;:::-;;:::i;51207:85::-;;;;;;;;;;-1:-1:-1;51207:85:0;;;;;:::i;:::-;;:::i;26087:308::-;;;;;;;;;;-1:-1:-1;26087:308:0;;;;;:::i;:::-;;:::i;50613:27::-;;;;;;;;;;-1:-1:-1;50613:27:0;;;;;;;;26957:399;;;;;;;;;;-1:-1:-1;26957:399:0;;;;;:::i;:::-;;:::i;51297:65::-;;;;;;;;;;;;;:::i;50485:44::-;;;;;;;;;;;;50519:10;50485:44;;51827:329;;;;;;;;;;-1:-1:-1;51827:329:0;;;;;:::i;:::-;;:::i;50579:28::-;;;;;;;;;;;;;;;;50997:78;;;;;;;;;;-1:-1:-1;51061:9:0;;;;;;;;;-1:-1:-1;51061:9:0;;50997:78;;26466:164;;;;;;;;;;-1:-1:-1;26466:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;26587:25:0;;;26563:4;26587:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;26466:164;3067:201;;;;;;;;;;-1:-1:-1;3067:201:0;;;;;:::i;:::-;;:::i;51083:116::-;;;;;;;;;;-1:-1:-1;51083:116:0;;;;;:::i;:::-;-1:-1:-1;;;;;51166:25:0;51142:4;51166:25;;;:18;:25;;;;;;;51083:116;18218:615;18303:4;-1:-1:-1;;;;;;;;;18603:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;18680:25:0;;;18603:102;:179;;;-1:-1:-1;;;;;;;;;;18757:25:0;;;18603:179;18583:199;18218:615;-1:-1:-1;;18218:615:0:o;23865:100::-;23919:13;23952:5;23945:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23865:100;:::o;25811:204::-;25879:7;25904:16;25912:7;25904;:16::i;:::-;25899:64;;25929:34;;-1:-1:-1;;;25929:34:0;;;;;;;;;;;25899:64;-1:-1:-1;25983:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;25983:24:0;;25811:204::o;25359:386::-;25432:13;25448:16;25456:7;25448;:16::i;:::-;25432:32;-1:-1:-1;46259:10:0;-1:-1:-1;;;;;25481:28:0;;;25477:175;;25529:44;25546:5;46259:10;26466:164;:::i;25529:44::-;25524:128;;25601:35;;-1:-1:-1;;;25601:35:0;;;;;;;;;;;25524:128;25664:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;25664:29:0;-1:-1:-1;;;;;25664:29:0;;;;;;;;;25709:28;;25664:24;;25709:28;;;;;;;25421:324;25359:386;;:::o;35076:2800::-;35210:27;35240;35259:7;35240:18;:27::i;:::-;35210:57;;35325:4;-1:-1:-1;;;;;35284:45:0;35300:19;-1:-1:-1;;;;;35284:45:0;;35280:86;;35338:28;;-1:-1:-1;;;35338:28:0;;;;;;;;;;;35280:86;35380:27;33806:21;;;33633:15;33848:4;33841:36;33930:4;33914:21;;34020:26;;46259:10;34773:30;;;-1:-1:-1;;;;;34471:26:0;;34752:19;;;34749:55;35559:174;;35646:43;35663:4;46259:10;26466:164;:::i;35646:43::-;35641:92;;35698:35;;-1:-1:-1;;;35698:35:0;;;;;;;;;;;35641:92;-1:-1:-1;;;;;35750:16:0;;35746:52;;35775:23;;-1:-1:-1;;;35775:23:0;;;;;;;;;;;35746:52;35947:15;35944:160;;;36087:1;36066:19;36059:30;35944:160;-1:-1:-1;;;;;36482:24:0;;;;;;;:18;:24;;;;;;36480:26;;-1:-1:-1;;36480:26:0;;;36551:22;;;;;;;;;36549:24;;-1:-1:-1;36549:24:0;;;23553:11;23529:22;23525:40;23512:62;-1:-1:-1;;;23512:62:0;36844:26;;;;:17;:26;;;;;:174;-1:-1:-1;;;37138:46:0;;37134:626;;37242:1;37232:11;;37210:19;37365:30;;;:17;:30;;;;;;37361:384;;37503:13;;37488:11;:28;37484:242;;37650:30;;;;:17;:30;;;;;:52;;;37484:242;37191:569;37134:626;37807:7;37803:2;-1:-1:-1;;;;;37788:27:0;37797:4;-1:-1:-1;;;;;37788:27:0;;;;;;;;;;;35199:2677;;;35076:2800;;;:::o;51367:177::-;2047:13;:11;:13::i;:::-;51430:82:::1;::::0;51412:12:::1;::::0;51438:10:::1;::::0;51476:21:::1;::::0;51412:12;51430:82;51412:12;51430:82;51476:21;51438:10;51430:82:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51411:101;;;51531:7;51523:16;;;::::0;::::1;;51406:138;51367:177::o:0;26701:185::-;26839:39;26856:4;26862:2;26866:7;26839:39;;;;;;;;;;;;:16;:39::i;:::-;26701:185;;;:::o;51549:174::-;2047:13;:11;:13::i;:::-;51653:9:::1;;51644:5;51627:14;17732:7:::0;17920:13;-1:-1:-1;;17920:31:0;;17685:285;51627:14:::1;:22;;;;:::i;:::-;:35;;51614:79;;;::::0;-1:-1:-1;;;51614:79:0;;7225:2:1;51614:79:0::1;::::0;::::1;7207:21:1::0;7264:2;7244:18;;;7237:30;-1:-1:-1;;;7283:18:1;;;7276:48;7341:18;;51614:79:0::1;;;;;;;;;51698:20;51708:2;51712:5;51698:9;:20::i;:::-;51549:174:::0;;:::o;23654:144::-;23718:7;23761:27;23780:7;23761:18;:27::i;51728:94::-;2047:13;:11;:13::i;:::-;51793:9:::1;:24:::0;51728:94::o;18897:224::-;18961:7;-1:-1:-1;;;;;18985:19:0;;18981:60;;19013:28;;-1:-1:-1;;;19013:28:0;;;;;;;;;;;18981:60;-1:-1:-1;;;;;;19059:25:0;;;;;:18;:25;;;;;;13452:13;19059:54;;18897:224::o;2809:103::-;2047:13;:11;:13::i;:::-;2874:30:::1;2901:1;2874:18;:30::i;:::-;2809:103::o:0;24034:104::-;24090:13;24123:7;24116:14;;;;;:::i;52161:622::-;52218:8;;;;52217:9;52209:35;;;;-1:-1:-1;;;52209:35:0;;6883:2:1;52209:35:0;;;6865:21:1;6922:2;6902:18;;;6895:30;-1:-1:-1;;;6941:18:1;;;6934:43;6994:18;;52209:35:0;6681:337:1;52209:35:0;52289:9;;52280:5;52263:14;17732:7;17920:13;-1:-1:-1;;17920:31:0;;17685:285;52263:14;:22;;;;:::i;:::-;:35;;52255:65;;;;-1:-1:-1;;;52255:65:0;;7225:2:1;52255:65:0;;;7207:21:1;7264:2;7244:18;;;7237:30;-1:-1:-1;;;7283:18:1;;;7276:48;7341:18;;52255:65:0;7023:342:1;52255:65:0;52358:10;52339:30;;;;:18;:30;;;;;;50574:1;;52339:38;;52372:5;;52339:38;:::i;:::-;:56;;52331:90;;;;-1:-1:-1;;;52331:90:0;;8752:2:1;52331:90:0;;;8734:21:1;8791:2;8771:18;;;8764:30;-1:-1:-1;;;8810:18:1;;;8803:52;8872:18;;52331:90:0;8550:346:1;52331:90:0;52491:10;52436:14;52472:30;;;:18;:30;;;;;;52505:1;-1:-1:-1;52469:101:0;;;52559:10;52540:30;;;;:18;:30;;;;;;52537:33;;:1;:33;:::i;:::-;52525:45;;52469:101;52594:9;52588:5;:15;52585:116;;;50519:10;52634:15;52640:9;52634:5;:15;:::i;:::-;52633:30;;;;:::i;:::-;52620:9;:43;;52612:89;;;;-1:-1:-1;;;52612:89:0;;7572:2:1;52612:89:0;;;7554:21:1;7611:2;7591:18;;;7584:30;7650:34;7630:18;;;7623:62;-1:-1:-1;;;7701:18:1;;;7694:32;7743:19;;52612:89:0;7370:398:1;52612:89:0;52725:10;52706:30;;;;:18;:30;;;;;:39;;52740:5;;52706:30;:39;;52740:5;;52706:39;:::i;:::-;;;;-1:-1:-1;52750:28:0;;-1:-1:-1;52760:10:0;52772:5;52750:9;:28::i;51207:85::-;2047:13;:11;:13::i;:::-;51273:14;;::::1;::::0;:8:::1;::::0;:14:::1;::::0;::::1;::::0;::::1;:::i;26087:308::-:0;-1:-1:-1;;;;;26186:31:0;;46259:10;26186:31;26182:61;;;26226:17;;-1:-1:-1;;;26226:17:0;;;;;;;;;;;26182:61;46259:10;26256:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;26256:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;26256:60:0;;;;;;;;;;26332:55;;5998:41:1;;;26256:49:0;;46259:10;26332:55;;5971:18:1;26332:55:0;;;;;;;26087:308;;:::o;26957:399::-;27124:31;27137:4;27143:2;27147:7;27124:12;:31::i;:::-;-1:-1:-1;;;;;27170:14:0;;;:19;27166:183;;27209:56;27240:4;27246:2;27250:7;27259:5;27209:30;:56::i;:::-;27204:145;;27293:40;;-1:-1:-1;;;27293:40:0;;;;;;;;;;;27204:145;26957:399;;;;:::o;51297:65::-;2047:13;:11;:13::i;:::-;51341:8:::1;:16:::0;;-1:-1:-1;;51341:16:0::1;::::0;;51297:65::o;51827:329::-;51901:13;51937:16;51945:7;51937;:16::i;:::-;51929:76;;;;-1:-1:-1;;;51929:76:0;;8336:2:1;51929:76:0;;;8318:21:1;8375:2;8355:18;;;8348:30;8414:34;8394:18;;;8387:62;-1:-1:-1;;;8465:18:1;;;8458:45;8520:19;;51929:76:0;8134:411:1;51929:76:0;52050:1;52029:10;:8;:10::i;:::-;52023:24;:28;:128;;;;;;;;;;;;;;;;;52092:10;:8;:10::i;:::-;52104:18;:7;:16;:18::i;:::-;52075:57;;;;;;;;;:::i;:::-;;;;;;;;;;;;;52016:135;51827:329;-1:-1:-1;;51827:329:0:o;3067:201::-;2047:13;:11;:13::i;:::-;-1:-1:-1;;;;;3156:22:0;::::1;3148:73;;;::::0;-1:-1:-1;;;3148:73:0;;6476:2:1;3148:73:0::1;::::0;::::1;6458:21:1::0;6515:2;6495:18;;;6488:30;6554:34;6534:18;;;6527:62;-1:-1:-1;;;6605:18:1;;;6598:36;6651:19;;3148:73:0::1;6274:402:1::0;3148:73:0::1;3232:28;3251:8;3232:18;:28::i;27611:273::-:0;27668:4;27724:7;50986:1;27705:26;;:66;;;;;27758:13;;27748:7;:23;27705:66;:152;;;;-1:-1:-1;;27809:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;27809:43:0;:48;;27611:273::o;20571:1129::-;20638:7;20673;;50986:1;20722:23;20718:915;;20775:13;;20768:4;:20;20764:869;;;20813:14;20830:23;;;:17;:23;;;;;;-1:-1:-1;;;20919:23:0;;20915:699;;21438:113;21445:11;21438:113;;-1:-1:-1;;;21516:6:0;21498:25;;;;:17;:25;;;;;;21438:113;;;21584:6;20571:1129;-1:-1:-1;;;20571:1129:0:o;20915:699::-;20790:843;20764:869;21661:31;;-1:-1:-1;;;21661:31:0;;;;;;;;;;;2326:132;2234:6;;-1:-1:-1;;;;;2234:6:0;46259:10;2390:23;2382:68;;;;-1:-1:-1;;;2382:68:0;;7975:2:1;2382:68:0;;;7957:21:1;;;7994:18;;;7987:30;8053:34;8033:18;;;8026:62;8105:18;;2382:68:0;7773:356:1;27968:104:0;28037:27;28047:2;28051:8;28037:27;;;;;;;;;;;;:9;:27::i;3428:191::-;3521:6;;;-1:-1:-1;;;;;3538:17:0;;;-1:-1:-1;;;;;;3538:17:0;;;;;;;3571:40;;3521:6;;;3538:17;3521:6;;3571:40;;3502:16;;3571:40;3491:128;3428:191;:::o;41827:716::-;42011:88;;-1:-1:-1;;;42011:88:0;;41990:4;;-1:-1:-1;;;;;42011:45:0;;;;;:88;;46259:10;;42078:4;;42084:7;;42093:5;;42011:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;42011:88:0;;;;;;;;-1:-1:-1;;42011:88:0;;;;;;;;;;;;:::i;:::-;;;42007:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;42294:13:0;;42290:235;;42340:40;;-1:-1:-1;;;42340:40:0;;;;;;;;;;;42290:235;42483:6;42477:13;42468:6;42464:2;42460:15;42453:38;42007:529;-1:-1:-1;;;;;;42170:64:0;-1:-1:-1;;;42170:64:0;;-1:-1:-1;42007:529:0;41827:716;;;;;;:::o;50814:92::-;50866:13;50893:8;50886:15;;;;;:::i;48609:723::-;48665:13;48886:10;48882:53;;-1:-1:-1;;48913:10:0;;;;;;;;;;;;-1:-1:-1;;;48913:10:0;;;;;48609:723::o;48882:53::-;48960:5;48945:12;49001:78;49008:9;;49001:78;;49034:8;;;;:::i;:::-;;-1:-1:-1;49057:10:0;;-1:-1:-1;49065:2:0;49057:10;;:::i;:::-;;;49001:78;;;49089:19;49121:6;49111:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;49111:17:0;;49089:39;;49139:154;49146:10;;49139:154;;49173:11;49183:1;49173:11;;:::i;:::-;;-1:-1:-1;49242:10:0;49250:2;49242:5;:10;:::i;:::-;49229:24;;:2;:24;:::i;:::-;49216:39;;49199:6;49206;49199:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;49199:56:0;;;;;;;;-1:-1:-1;49270:11:0;49279:2;49270:11;;:::i;:::-;;;49139:154;;28488:681;28611:19;28617:2;28621:8;28611:5;:19::i;:::-;-1:-1:-1;;;;;28672:14:0;;;:19;28668:483;;28712:11;28726:13;28774:14;;;28807:233;28838:62;28877:1;28881:2;28885:7;;;;;;28894:5;28838:30;:62::i;:::-;28833:167;;28936:40;;-1:-1:-1;;;28936:40:0;;;;;;;;;;;28833:167;29035:3;29027:5;:11;28807:233;;29122:3;29105:13;;:20;29101:34;;29127:8;;;29101:34;28693:458;;28488:681;;;:::o;29442:1529::-;29507:20;29530:13;-1:-1:-1;;;;;29558:16:0;;29554:48;;29583:19;;-1:-1:-1;;;29583:19:0;;;;;;;;;;;29554:48;29617:13;29613:44;;29639:18;;-1:-1:-1;;;29639:18:0;;;;;;;;;;;29613:44;-1:-1:-1;;;;;30145:22:0;;;;;;:18;:22;;13589:2;30145:22;;:70;;30183:31;30171:44;;30145:70;;;23553:11;23529:22;23525:40;-1:-1:-1;25263:15:0;;25238:23;25234:45;23522:51;23512:62;30458:31;;;;:17;:31;;;;;:173;30476:12;30707:23;;;30745:101;30772:35;;30797:9;;;;;-1:-1:-1;;;;;30772:35:0;;;30789:1;;30772:35;;30789:1;;30772:35;30841:3;30831:7;:13;30745:101;;30862:13;:19;-1:-1:-1;26701:185:0;;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:631:1;78:5;108:18;149:2;141:6;138:14;135:40;;;155:18;;:::i;:::-;230:2;224:9;198:2;284:15;;-1:-1:-1;;280:24:1;;;306:2;276:33;272:42;260:55;;;330:18;;;350:22;;;327:46;324:72;;;376:18;;:::i;:::-;416:10;412:2;405:22;445:6;436:15;;475:6;467;460:22;515:3;506:6;501:3;497:16;494:25;491:45;;;532:1;529;522:12;491:45;582:6;577:3;570:4;562:6;558:17;545:44;637:1;630:4;621:6;613;609:19;605:30;598:41;;;;14:631;;;;;:::o;650:173::-;718:20;;-1:-1:-1;;;;;767:31:1;;757:42;;747:70;;813:1;810;803:12;747:70;650:173;;;:::o;828:186::-;887:6;940:2;928:9;919:7;915:23;911:32;908:52;;;956:1;953;946:12;908:52;979:29;998:9;979:29;:::i;1019:260::-;1087:6;1095;1148:2;1136:9;1127:7;1123:23;1119:32;1116:52;;;1164:1;1161;1154:12;1116:52;1187:29;1206:9;1187:29;:::i;:::-;1177:39;;1235:38;1269:2;1258:9;1254:18;1235:38;:::i;:::-;1225:48;;1019:260;;;;;:::o;1284:328::-;1361:6;1369;1377;1430:2;1418:9;1409:7;1405:23;1401:32;1398:52;;;1446:1;1443;1436:12;1398:52;1469:29;1488:9;1469:29;:::i;:::-;1459:39;;1517:38;1551:2;1540:9;1536:18;1517:38;:::i;:::-;1507:48;;1602:2;1591:9;1587:18;1574:32;1564:42;;1284:328;;;;;:::o;1617:666::-;1712:6;1720;1728;1736;1789:3;1777:9;1768:7;1764:23;1760:33;1757:53;;;1806:1;1803;1796:12;1757:53;1829:29;1848:9;1829:29;:::i;:::-;1819:39;;1877:38;1911:2;1900:9;1896:18;1877:38;:::i;:::-;1867:48;;1962:2;1951:9;1947:18;1934:32;1924:42;;2017:2;2006:9;2002:18;1989:32;2044:18;2036:6;2033:30;2030:50;;;2076:1;2073;2066:12;2030:50;2099:22;;2152:4;2144:13;;2140:27;-1:-1:-1;2130:55:1;;2181:1;2178;2171:12;2130:55;2204:73;2269:7;2264:2;2251:16;2246:2;2242;2238:11;2204:73;:::i;:::-;2194:83;;;1617:666;;;;;;;:::o;2288:347::-;2353:6;2361;2414:2;2402:9;2393:7;2389:23;2385:32;2382:52;;;2430:1;2427;2420:12;2382:52;2453:29;2472:9;2453:29;:::i;:::-;2443:39;;2532:2;2521:9;2517:18;2504:32;2579:5;2572:13;2565:21;2558:5;2555:32;2545:60;;2601:1;2598;2591:12;2545:60;2624:5;2614:15;;;2288:347;;;;;:::o;2640:254::-;2708:6;2716;2769:2;2757:9;2748:7;2744:23;2740:32;2737:52;;;2785:1;2782;2775:12;2737:52;2808:29;2827:9;2808:29;:::i;:::-;2798:39;2884:2;2869:18;;;;2856:32;;-1:-1:-1;;;2640:254:1:o;2899:245::-;2957:6;3010:2;2998:9;2989:7;2985:23;2981:32;2978:52;;;3026:1;3023;3016:12;2978:52;3065:9;3052:23;3084:30;3108:5;3084:30;:::i;3149:249::-;3218:6;3271:2;3259:9;3250:7;3246:23;3242:32;3239:52;;;3287:1;3284;3277:12;3239:52;3319:9;3313:16;3338:30;3362:5;3338:30;:::i;3403:450::-;3472:6;3525:2;3513:9;3504:7;3500:23;3496:32;3493:52;;;3541:1;3538;3531:12;3493:52;3581:9;3568:23;3614:18;3606:6;3603:30;3600:50;;;3646:1;3643;3636:12;3600:50;3669:22;;3722:4;3714:13;;3710:27;-1:-1:-1;3700:55:1;;3751:1;3748;3741:12;3700:55;3774:73;3839:7;3834:2;3821:16;3816:2;3812;3808:11;3774:73;:::i;3858:180::-;3917:6;3970:2;3958:9;3949:7;3945:23;3941:32;3938:52;;;3986:1;3983;3976:12;3938:52;-1:-1:-1;4009:23:1;;3858:180;-1:-1:-1;3858:180:1:o;4043:257::-;4084:3;4122:5;4116:12;4149:6;4144:3;4137:19;4165:63;4221:6;4214:4;4209:3;4205:14;4198:4;4191:5;4187:16;4165:63;:::i;:::-;4282:2;4261:15;-1:-1:-1;;4257:29:1;4248:39;;;;4289:4;4244:50;;4043:257;-1:-1:-1;;4043:257:1:o;4305:637::-;4585:3;4623:6;4617:13;4639:53;4685:6;4680:3;4673:4;4665:6;4661:17;4639:53;:::i;:::-;4755:13;;4714:16;;;;4777:57;4755:13;4714:16;4811:4;4799:17;;4777:57;:::i;:::-;-1:-1:-1;;;4856:20:1;;4885:22;;;4934:1;4923:13;;4305:637;-1:-1:-1;;;;4305:637:1:o;5365:488::-;-1:-1:-1;;;;;5634:15:1;;;5616:34;;5686:15;;5681:2;5666:18;;5659:43;5733:2;5718:18;;5711:34;;;5781:3;5776:2;5761:18;;5754:31;;;5559:4;;5802:45;;5827:19;;5819:6;5802:45;:::i;:::-;5794:53;5365:488;-1:-1:-1;;;;;;5365:488:1:o;6050:219::-;6199:2;6188:9;6181:21;6162:4;6219:44;6259:2;6248:9;6244:18;6236:6;6219:44;:::i;9083:128::-;9123:3;9154:1;9150:6;9147:1;9144:13;9141:39;;;9160:18;;:::i;:::-;-1:-1:-1;9196:9:1;;9083:128::o;9216:120::-;9256:1;9282;9272:35;;9287:18;;:::i;:::-;-1:-1:-1;9321:9:1;;9216:120::o;9341:168::-;9381:7;9447:1;9443;9439:6;9435:14;9432:1;9429:21;9424:1;9417:9;9410:17;9406:45;9403:71;;;9454:18;;:::i;:::-;-1:-1:-1;9494:9:1;;9341:168::o;9514:125::-;9554:4;9582:1;9579;9576:8;9573:34;;;9587:18;;:::i;:::-;-1:-1:-1;9624:9:1;;9514:125::o;9644:258::-;9716:1;9726:113;9740:6;9737:1;9734:13;9726:113;;;9816:11;;;9810:18;9797:11;;;9790:39;9762:2;9755:10;9726:113;;;9857:6;9854:1;9851:13;9848:48;;;-1:-1:-1;;9892:1:1;9874:16;;9867:27;9644:258::o;9907:380::-;9986:1;9982:12;;;;10029;;;10050:61;;10104:4;10096:6;10092:17;10082:27;;10050:61;10157:2;10149:6;10146:14;10126:18;10123:38;10120:161;;;10203:10;10198:3;10194:20;10191:1;10184:31;10238:4;10235:1;10228:15;10266:4;10263:1;10256:15;10120:161;;9907:380;;;:::o;10292:135::-;10331:3;-1:-1:-1;;10352:17:1;;10349:43;;;10372:18;;:::i;:::-;-1:-1:-1;10419:1:1;10408:13;;10292:135::o;10432:112::-;10464:1;10490;10480:35;;10495:18;;:::i;:::-;-1:-1:-1;10529:9:1;;10432:112::o;10549:127::-;10610:10;10605:3;10601:20;10598:1;10591:31;10641:4;10638:1;10631:15;10665:4;10662:1;10655:15;10681:127;10742:10;10737:3;10733:20;10730:1;10723:31;10773:4;10770:1;10763:15;10797:4;10794:1;10787:15;10813:127;10874:10;10869:3;10865:20;10862:1;10855:31;10905:4;10902:1;10895:15;10929:4;10926:1;10919:15;10945:127;11006:10;11001:3;10997:20;10994:1;10987:31;11037:4;11034:1;11027:15;11061:4;11058:1;11051:15;11077:131;-1:-1:-1;;;;;;11151:32:1;;11141:43;;11131:71;;11198:1;11195;11188:12

Swarm Source

ipfs://9c26c33ed90bcc1ad56e11005ae55de782812ff5ef9b7e1de678a13db0d2477d

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ 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.