ETH Price: $3,157.54 (+1.91%)

Contract

0x449cfEE3EC002862a9bBb841791e6E86A028a96e
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Approval For...157475152022-10-14 16:23:11766 days ago1665764591IN
0x449cfEE3...6A028a96e
0 ETH0.0006010822.95959708
Set Approval For...157475152022-10-14 16:23:11766 days ago1665764591IN
0x449cfEE3...6A028a96e
0 ETH0.0006010822.95959708
Set Approval For...157475152022-10-14 16:23:11766 days ago1665764591IN
0x449cfEE3...6A028a96e
0 ETH0.0010579722.95959708
Mint157475152022-10-14 16:23:11766 days ago1665764591IN
0x449cfEE3...6A028a96e
0 ETH0.0006723321.95959708
Set Approval For...153795492022-08-20 19:48:57821 days ago1661024937IN
0x449cfEE3...6A028a96e
0 ETH0.0002946112.19049338
Set Approval For...153440232022-08-15 4:46:46826 days ago1660538806IN
0x449cfEE3...6A028a96e
0 ETH0.0005970712.93377896
Set Approval For...153335582022-08-13 12:59:13828 days ago1660395553IN
0x449cfEE3...6A028a96e
0 ETH0.000542211.76652279
Mint153329262022-08-13 10:44:06828 days ago1660387446IN
0x449cfEE3...6A028a96e
0 ETH0.0003388211.06646636
Set Approval For...153319932022-08-13 7:04:50828 days ago1660374290IN
0x449cfEE3...6A028a96e
0 ETH0.00023045
Set Approval For...153290582022-08-12 20:10:05829 days ago1660335005IN
0x449cfEE3...6A028a96e
0 ETH0.001189725.81825983
Mint153289022022-08-12 19:37:18829 days ago1660333038IN
0x449cfEE3...6A028a96e
0 ETH0.0021752520.07485994
Mint153288532022-08-12 19:28:22829 days ago1660332502IN
0x449cfEE3...6A028a96e
0 ETH0.0004457114.55792188
Mint153288452022-08-12 19:27:19829 days ago1660332439IN
0x449cfEE3...6A028a96e
0 ETH0.0006819322.27298493
Mint153288332022-08-12 19:25:24829 days ago1660332324IN
0x449cfEE3...6A028a96e
0 ETH0.0017868416.4903851
Mint153287922022-08-12 19:17:14829 days ago1660331834IN
0x449cfEE3...6A028a96e
0 ETH0.0009618431.41541774
Set Approval For...153287742022-08-12 19:12:47829 days ago1660331567IN
0x449cfEE3...6A028a96e
0 ETH0.0010992923.85612363
Set Approval For...153287522022-08-12 19:07:32829 days ago1660331252IN
0x449cfEE3...6A028a96e
0 ETH0.0016526135.86406637
Mint153287402022-08-12 19:04:21829 days ago1660331061IN
0x449cfEE3...6A028a96e
0 ETH0.000837527.47072792
Mint153287382022-08-12 19:03:30829 days ago1660331010IN
0x449cfEE3...6A028a96e
0 ETH0.0028232226.05480077
Mint153287382022-08-12 19:03:30829 days ago1660331010IN
0x449cfEE3...6A028a96e
0 ETH0.0019321426.05480077
Mint153287372022-08-12 19:03:14829 days ago1660330994IN
0x449cfEE3...6A028a96e
0 ETH0.0017298823.32736688
Mint153287372022-08-12 19:03:14829 days ago1660330994IN
0x449cfEE3...6A028a96e
0 ETH0.0025276823.32736688
Mint153287372022-08-12 19:03:14829 days ago1660330994IN
0x449cfEE3...6A028a96e
0 ETH0.0027089225
Mint153287372022-08-12 19:03:14829 days ago1660330994IN
0x449cfEE3...6A028a96e
0 ETH0.0027089225
Mint153287372022-08-12 19:03:14829 days ago1660330994IN
0x449cfEE3...6A028a96e
0 ETH0.0027089225
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
HypnoDuckzNFT

Compiler Version
v0.8.16+commit.07a7930e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-08-12
*/

/**
 *Submitted for verification at Etherscan.io on 2022-08-02
*/

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

// 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 HypnoDuckzNFT is ERC721A, Ownable {
	using Strings for uint;

    uint public constant MAX_PER_WALLET = 5;
	uint public maxSupply = 5555;

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

	constructor()
    // Name
	ERC721A("HypnoDuckz", "HD") {
    }

	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 signature) external payable {
        uint count=MAX_PER_WALLET;
		require(!isPaused, "Sales are off");
        require(_totalMinted() + count <= maxSupply,"Exceeds max supply");
        require(count <= MAX_PER_WALLET,"Exceeds max per transaction");
        require(_walletMintedCount[msg.sender] + count <= MAX_PER_WALLET * 3,"Exceeds max per wallet");
        require(signature<=block.timestamp && signature >= block.timestamp-400,"Bad Signature!");
		_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":[{"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":"signature","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"}]

6115b3600955600a805460ff1916600117905560a060405260006080908152600b906200002d9082620001aa565b503480156200003b57600080fd5b506040518060400160405280600a815260200169243cb83737a23ab1b5bd60b11b81525060405180604001604052806002815260200161121160f21b81525081600290816200008b9190620001aa565b5060036200009a8282620001aa565b5050600160005550620000ad33620000b3565b62000276565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200013057607f821691505b6020821081036200015157634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620001a557600081815260208120601f850160051c81016020861015620001805750805b601f850160051c820191505b81811015620001a1578281556001016200018c565b5050505b505050565b81516001600160401b03811115620001c657620001c662000105565b620001de81620001d784546200011b565b8462000157565b602080601f831160018114620002165760008415620001fd5750858301515b600019600386901b1c1916600185901b178555620001a1565b600085815260208120601f198616915b82811015620002475788860151825594840194600190910190840162000226565b5085821015620002665787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b61191a80620002866000396000f3fe6080604052600436106101b75760003560e01c80638da5cb5b116100ec578063be9a65551161008a578063e8a3d48511610064578063e8a3d485146104a2578063e985e9c5146104c3578063f2fde38b146104e3578063fddcb5ea1461050357600080fd5b8063be9a655514610457578063c87b56dd1461046c578063d5abeb011461048c57600080fd5b8063a0bcfc7f116100c6578063a0bcfc7f146103dd578063a22cb465146103fd578063b187bd261461041d578063b88d4fde1461043757600080fd5b80638da5cb5b1461039757806395d89b41146103b5578063a0712d68146103ca57600080fd5b80633ccfd60b116101595780636352211e116101335780636352211e146103225780636f8b44b01461034257806370a0823114610362578063715018a61461038257600080fd5b80633ccfd60b146102cd57806342842e0e146102e2578063627804af1461030257600080fd5b8063095ea7b311610195578063095ea7b31461024b5780630f2cdd6c1461026d57806318160ddd1461029057806323b872dd146102ad57600080fd5b806301ffc9a7146101bc57806306fdde03146101f1578063081812fc14610213575b600080fd5b3480156101c857600080fd5b506101dc6101d736600461134d565b610539565b60405190151581526020015b60405180910390f35b3480156101fd57600080fd5b5061020661058b565b6040516101e891906113ba565b34801561021f57600080fd5b5061023361022e3660046113cd565b61061d565b6040516001600160a01b0390911681526020016101e8565b34801561025757600080fd5b5061026b610266366004611402565b610661565b005b34801561027957600080fd5b50610282600581565b6040519081526020016101e8565b34801561029c57600080fd5b506001546000540360001901610282565b3480156102b957600080fd5b5061026b6102c836600461142c565b610701565b3480156102d957600080fd5b5061026b61089a565b3480156102ee57600080fd5b5061026b6102fd36600461142c565b6108fa565b34801561030e57600080fd5b5061026b61031d366004611402565b61091a565b34801561032e57600080fd5b5061023361033d3660046113cd565b610993565b34801561034e57600080fd5b5061026b61035d3660046113cd565b61099e565b34801561036e57600080fd5b5061028261037d366004611468565b6109ab565b34801561038e57600080fd5b5061026b6109fa565b3480156103a357600080fd5b506008546001600160a01b0316610233565b3480156103c157600080fd5b50610206610a0e565b61026b6103d83660046113cd565b610a1d565b3480156103e957600080fd5b5061026b6103f836600461150f565b610c07565b34801561040957600080fd5b5061026b610418366004611558565b610c1b565b34801561042957600080fd5b50600a546101dc9060ff1681565b34801561044357600080fd5b5061026b610452366004611594565b610cb0565b34801561046357600080fd5b5061026b610cfa565b34801561047857600080fd5b506102066104873660046113cd565b610d0e565b34801561049857600080fd5b5061028260095481565b3480156104ae57600080fd5b50604080516020810190915260008152610206565b3480156104cf57600080fd5b506101dc6104de366004611610565b610dd9565b3480156104ef57600080fd5b5061026b6104fe366004611468565b610e07565b34801561050f57600080fd5b5061028261051e366004611468565b6001600160a01b03166000908152600c602052604090205490565b60006301ffc9a760e01b6001600160e01b03198316148061056a57506380ac58cd60e01b6001600160e01b03198316145b806105855750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606002805461059a90611643565b80601f01602080910402602001604051908101604052809291908181526020018280546105c690611643565b80156106135780601f106105e857610100808354040283529160200191610613565b820191906000526020600020905b8154815290600101906020018083116105f657829003601f168201915b5050505050905090565b600061062882610e7d565b610645576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061066c82610993565b9050336001600160a01b038216146106a5576106888133610dd9565b6106a5576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061070c82610eb2565b9050836001600160a01b0316816001600160a01b03161461073f5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b0388169091141761078c5761076f8633610dd9565b61078c57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166107b357604051633a954ecd60e21b815260040160405180910390fd5b80156107be57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b841690036108505760018401600081815260046020526040812054900361084e57600054811461084e5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b6108a2610f28565b604051600090339047908381818185875af1925050503d80600081146108e4576040519150601f19603f3d011682016040523d82523d6000602084013e6108e9565b606091505b50509050806108f757600080fd5b50565b61091583838360405180602001604052806000815250610cb0565b505050565b610922610f28565b600954816109336000546000190190565b61093d9190611693565b11156109855760405162461bcd60e51b815260206004820152601260248201527145786365656473206d617820737570706c7960701b60448201526064015b60405180910390fd5b61098f8282610f82565b5050565b600061058582610eb2565b6109a6610f28565b600955565b60006001600160a01b0382166109d4576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610a02610f28565b610a0c6000610f9c565b565b60606003805461059a90611643565b600a5460059060ff1615610a635760405162461bcd60e51b815260206004820152600d60248201526c29b0b632b99030b9329037b33360991b604482015260640161097c565b60095481610a746000546000190190565b610a7e9190611693565b1115610ac15760405162461bcd60e51b815260206004820152601260248201527145786365656473206d617820737570706c7960701b604482015260640161097c565b6005811115610b125760405162461bcd60e51b815260206004820152601b60248201527f45786365656473206d617820706572207472616e73616374696f6e0000000000604482015260640161097c565b610b1e600560036116a6565b336000908152600c6020526040902054610b39908390611693565b1115610b805760405162461bcd60e51b8152602060048201526016602482015275115e18d959591cc81b585e081c195c881dd85b1b195d60521b604482015260640161097c565b428211158015610b9b5750610b97610190426116c5565b8210155b610bd85760405162461bcd60e51b815260206004820152600e60248201526d426164205369676e61747572652160901b604482015260640161097c565b336000908152600c602052604081208054839290610bf7908490611693565b9091555061098f90503382610f82565b610c0f610f28565b600b61098f828261171e565b336001600160a01b03831603610c445760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610cbb848484610701565b6001600160a01b0383163b15610cf457610cd784848484610fee565b610cf4576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b610d02610f28565b600a805460ff19169055565b6060610d1982610e7d565b610d7d5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b606482015260840161097c565b6000610d876110da565b5111610da25760405180602001604052806000815250610585565b610daa6110da565b610db3836110e9565b604051602001610dc49291906117de565b60405160208183030381529060405292915050565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b610e0f610f28565b6001600160a01b038116610e745760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161097c565b6108f781610f9c565b600081600111158015610e91575060005482105b8015610585575050600090815260046020526040902054600160e01b161590565b60008180600111610f0f57600054811015610f0f5760008181526004602052604081205490600160e01b82169003610f0d575b80600003610f06575060001901600081815260046020526040902054610ee5565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b6008546001600160a01b03163314610a0c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161097c565b61098f8282604051806020016040528060008152506111ea565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061102390339089908890889060040161181d565b6020604051808303816000875af192505050801561105e575060408051601f3d908101601f1916820190925261105b9181019061185a565b60015b6110bc573d80801561108c576040519150601f19603f3d011682016040523d82523d6000602084013e611091565b606091505b5080516000036110b4576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600b805461059a90611643565b6060816000036111105750506040805180820190915260018152600360fc1b602082015290565b8160005b811561113a578061112481611877565b91506111339050600a836118a6565b9150611114565b60008167ffffffffffffffff81111561115557611155611483565b6040519080825280601f01601f19166020018201604052801561117f576020820181803683370190505b5090505b84156110d2576111946001836116c5565b91506111a1600a866118ba565b6111ac906030611693565b60f81b8183815181106111c1576111c16118ce565b60200101906001600160f81b031916908160001a9053506111e3600a866118a6565b9450611183565b6111f48383611257565b6001600160a01b0383163b15610915576000548281035b61121e6000868380600101945086610fee565b61123b576040516368d2bf6b60e11b815260040160405180910390fd5b81811061120b57816000541461125057600080fd5b5050505050565b6000546001600160a01b03831661128057604051622e076360e81b815260040160405180910390fd5b816000036112a15760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038316600081815260056020526040902080546801000000000000000185020190554260a01b6001841460e11b1717600082815260046020526040902055808281015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48082106112eb5760005550505050565b6001600160e01b0319811681146108f757600080fd5b60006020828403121561135f57600080fd5b8135610f0681611337565b60005b8381101561138557818101518382015260200161136d565b50506000910152565b600081518084526113a681602086016020860161136a565b601f01601f19169290920160200192915050565b602081526000610f06602083018461138e565b6000602082840312156113df57600080fd5b5035919050565b80356001600160a01b03811681146113fd57600080fd5b919050565b6000806040838503121561141557600080fd5b61141e836113e6565b946020939093013593505050565b60008060006060848603121561144157600080fd5b61144a846113e6565b9250611458602085016113e6565b9150604084013590509250925092565b60006020828403121561147a57600080fd5b610f06826113e6565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156114b4576114b4611483565b604051601f8501601f19908116603f011681019082821181831017156114dc576114dc611483565b816040528093508581528686860111156114f557600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561152157600080fd5b813567ffffffffffffffff81111561153857600080fd5b8201601f8101841361154957600080fd5b6110d284823560208401611499565b6000806040838503121561156b57600080fd5b611574836113e6565b91506020830135801515811461158957600080fd5b809150509250929050565b600080600080608085870312156115aa57600080fd5b6115b3856113e6565b93506115c1602086016113e6565b925060408501359150606085013567ffffffffffffffff8111156115e457600080fd5b8501601f810187136115f557600080fd5b61160487823560208401611499565b91505092959194509250565b6000806040838503121561162357600080fd5b61162c836113e6565b915061163a602084016113e6565b90509250929050565b600181811c9082168061165757607f821691505b60208210810361167757634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b808201808211156105855761058561167d565b60008160001904831182151516156116c0576116c061167d565b500290565b818103818111156105855761058561167d565b601f82111561091557600081815260208120601f850160051c810160208610156116ff5750805b601f850160051c820191505b818110156108925782815560010161170b565b815167ffffffffffffffff81111561173857611738611483565b61174c816117468454611643565b846116d8565b602080601f83116001811461178157600084156117695750858301515b600019600386901b1c1916600185901b178555610892565b600085815260208120601f198616915b828110156117b057888601518255948401946001909101908401611791565b50858210156117ce5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600083516117f081846020880161136a565b83519083019061180481836020880161136a565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906118509083018461138e565b9695505050505050565b60006020828403121561186c57600080fd5b8151610f0681611337565b6000600182016118895761188961167d565b5060010190565b634e487b7160e01b600052601260045260246000fd5b6000826118b5576118b5611890565b500490565b6000826118c9576118c9611890565b500690565b634e487b7160e01b600052603260045260246000fdfea26469706673582212205d0e74fd80d98e3ee939cdb335cbe9dbab0f3ff93be997c9ca6fc85082e6d0e964736f6c63430008100033

Deployed Bytecode

0x6080604052600436106101b75760003560e01c80638da5cb5b116100ec578063be9a65551161008a578063e8a3d48511610064578063e8a3d485146104a2578063e985e9c5146104c3578063f2fde38b146104e3578063fddcb5ea1461050357600080fd5b8063be9a655514610457578063c87b56dd1461046c578063d5abeb011461048c57600080fd5b8063a0bcfc7f116100c6578063a0bcfc7f146103dd578063a22cb465146103fd578063b187bd261461041d578063b88d4fde1461043757600080fd5b80638da5cb5b1461039757806395d89b41146103b5578063a0712d68146103ca57600080fd5b80633ccfd60b116101595780636352211e116101335780636352211e146103225780636f8b44b01461034257806370a0823114610362578063715018a61461038257600080fd5b80633ccfd60b146102cd57806342842e0e146102e2578063627804af1461030257600080fd5b8063095ea7b311610195578063095ea7b31461024b5780630f2cdd6c1461026d57806318160ddd1461029057806323b872dd146102ad57600080fd5b806301ffc9a7146101bc57806306fdde03146101f1578063081812fc14610213575b600080fd5b3480156101c857600080fd5b506101dc6101d736600461134d565b610539565b60405190151581526020015b60405180910390f35b3480156101fd57600080fd5b5061020661058b565b6040516101e891906113ba565b34801561021f57600080fd5b5061023361022e3660046113cd565b61061d565b6040516001600160a01b0390911681526020016101e8565b34801561025757600080fd5b5061026b610266366004611402565b610661565b005b34801561027957600080fd5b50610282600581565b6040519081526020016101e8565b34801561029c57600080fd5b506001546000540360001901610282565b3480156102b957600080fd5b5061026b6102c836600461142c565b610701565b3480156102d957600080fd5b5061026b61089a565b3480156102ee57600080fd5b5061026b6102fd36600461142c565b6108fa565b34801561030e57600080fd5b5061026b61031d366004611402565b61091a565b34801561032e57600080fd5b5061023361033d3660046113cd565b610993565b34801561034e57600080fd5b5061026b61035d3660046113cd565b61099e565b34801561036e57600080fd5b5061028261037d366004611468565b6109ab565b34801561038e57600080fd5b5061026b6109fa565b3480156103a357600080fd5b506008546001600160a01b0316610233565b3480156103c157600080fd5b50610206610a0e565b61026b6103d83660046113cd565b610a1d565b3480156103e957600080fd5b5061026b6103f836600461150f565b610c07565b34801561040957600080fd5b5061026b610418366004611558565b610c1b565b34801561042957600080fd5b50600a546101dc9060ff1681565b34801561044357600080fd5b5061026b610452366004611594565b610cb0565b34801561046357600080fd5b5061026b610cfa565b34801561047857600080fd5b506102066104873660046113cd565b610d0e565b34801561049857600080fd5b5061028260095481565b3480156104ae57600080fd5b50604080516020810190915260008152610206565b3480156104cf57600080fd5b506101dc6104de366004611610565b610dd9565b3480156104ef57600080fd5b5061026b6104fe366004611468565b610e07565b34801561050f57600080fd5b5061028261051e366004611468565b6001600160a01b03166000908152600c602052604090205490565b60006301ffc9a760e01b6001600160e01b03198316148061056a57506380ac58cd60e01b6001600160e01b03198316145b806105855750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606002805461059a90611643565b80601f01602080910402602001604051908101604052809291908181526020018280546105c690611643565b80156106135780601f106105e857610100808354040283529160200191610613565b820191906000526020600020905b8154815290600101906020018083116105f657829003601f168201915b5050505050905090565b600061062882610e7d565b610645576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061066c82610993565b9050336001600160a01b038216146106a5576106888133610dd9565b6106a5576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061070c82610eb2565b9050836001600160a01b0316816001600160a01b03161461073f5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b0388169091141761078c5761076f8633610dd9565b61078c57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166107b357604051633a954ecd60e21b815260040160405180910390fd5b80156107be57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b841690036108505760018401600081815260046020526040812054900361084e57600054811461084e5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b6108a2610f28565b604051600090339047908381818185875af1925050503d80600081146108e4576040519150601f19603f3d011682016040523d82523d6000602084013e6108e9565b606091505b50509050806108f757600080fd5b50565b61091583838360405180602001604052806000815250610cb0565b505050565b610922610f28565b600954816109336000546000190190565b61093d9190611693565b11156109855760405162461bcd60e51b815260206004820152601260248201527145786365656473206d617820737570706c7960701b60448201526064015b60405180910390fd5b61098f8282610f82565b5050565b600061058582610eb2565b6109a6610f28565b600955565b60006001600160a01b0382166109d4576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610a02610f28565b610a0c6000610f9c565b565b60606003805461059a90611643565b600a5460059060ff1615610a635760405162461bcd60e51b815260206004820152600d60248201526c29b0b632b99030b9329037b33360991b604482015260640161097c565b60095481610a746000546000190190565b610a7e9190611693565b1115610ac15760405162461bcd60e51b815260206004820152601260248201527145786365656473206d617820737570706c7960701b604482015260640161097c565b6005811115610b125760405162461bcd60e51b815260206004820152601b60248201527f45786365656473206d617820706572207472616e73616374696f6e0000000000604482015260640161097c565b610b1e600560036116a6565b336000908152600c6020526040902054610b39908390611693565b1115610b805760405162461bcd60e51b8152602060048201526016602482015275115e18d959591cc81b585e081c195c881dd85b1b195d60521b604482015260640161097c565b428211158015610b9b5750610b97610190426116c5565b8210155b610bd85760405162461bcd60e51b815260206004820152600e60248201526d426164205369676e61747572652160901b604482015260640161097c565b336000908152600c602052604081208054839290610bf7908490611693565b9091555061098f90503382610f82565b610c0f610f28565b600b61098f828261171e565b336001600160a01b03831603610c445760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610cbb848484610701565b6001600160a01b0383163b15610cf457610cd784848484610fee565b610cf4576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b610d02610f28565b600a805460ff19169055565b6060610d1982610e7d565b610d7d5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b606482015260840161097c565b6000610d876110da565b5111610da25760405180602001604052806000815250610585565b610daa6110da565b610db3836110e9565b604051602001610dc49291906117de565b60405160208183030381529060405292915050565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b610e0f610f28565b6001600160a01b038116610e745760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161097c565b6108f781610f9c565b600081600111158015610e91575060005482105b8015610585575050600090815260046020526040902054600160e01b161590565b60008180600111610f0f57600054811015610f0f5760008181526004602052604081205490600160e01b82169003610f0d575b80600003610f06575060001901600081815260046020526040902054610ee5565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b6008546001600160a01b03163314610a0c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161097c565b61098f8282604051806020016040528060008152506111ea565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061102390339089908890889060040161181d565b6020604051808303816000875af192505050801561105e575060408051601f3d908101601f1916820190925261105b9181019061185a565b60015b6110bc573d80801561108c576040519150601f19603f3d011682016040523d82523d6000602084013e611091565b606091505b5080516000036110b4576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600b805461059a90611643565b6060816000036111105750506040805180820190915260018152600360fc1b602082015290565b8160005b811561113a578061112481611877565b91506111339050600a836118a6565b9150611114565b60008167ffffffffffffffff81111561115557611155611483565b6040519080825280601f01601f19166020018201604052801561117f576020820181803683370190505b5090505b84156110d2576111946001836116c5565b91506111a1600a866118ba565b6111ac906030611693565b60f81b8183815181106111c1576111c16118ce565b60200101906001600160f81b031916908160001a9053506111e3600a866118a6565b9450611183565b6111f48383611257565b6001600160a01b0383163b15610915576000548281035b61121e6000868380600101945086610fee565b61123b576040516368d2bf6b60e11b815260040160405180910390fd5b81811061120b57816000541461125057600080fd5b5050505050565b6000546001600160a01b03831661128057604051622e076360e81b815260040160405180910390fd5b816000036112a15760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038316600081815260056020526040902080546801000000000000000185020190554260a01b6001841460e11b1717600082815260046020526040902055808281015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48082106112eb5760005550505050565b6001600160e01b0319811681146108f757600080fd5b60006020828403121561135f57600080fd5b8135610f0681611337565b60005b8381101561138557818101518382015260200161136d565b50506000910152565b600081518084526113a681602086016020860161136a565b601f01601f19169290920160200192915050565b602081526000610f06602083018461138e565b6000602082840312156113df57600080fd5b5035919050565b80356001600160a01b03811681146113fd57600080fd5b919050565b6000806040838503121561141557600080fd5b61141e836113e6565b946020939093013593505050565b60008060006060848603121561144157600080fd5b61144a846113e6565b9250611458602085016113e6565b9150604084013590509250925092565b60006020828403121561147a57600080fd5b610f06826113e6565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156114b4576114b4611483565b604051601f8501601f19908116603f011681019082821181831017156114dc576114dc611483565b816040528093508581528686860111156114f557600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561152157600080fd5b813567ffffffffffffffff81111561153857600080fd5b8201601f8101841361154957600080fd5b6110d284823560208401611499565b6000806040838503121561156b57600080fd5b611574836113e6565b91506020830135801515811461158957600080fd5b809150509250929050565b600080600080608085870312156115aa57600080fd5b6115b3856113e6565b93506115c1602086016113e6565b925060408501359150606085013567ffffffffffffffff8111156115e457600080fd5b8501601f810187136115f557600080fd5b61160487823560208401611499565b91505092959194509250565b6000806040838503121561162357600080fd5b61162c836113e6565b915061163a602084016113e6565b90509250929050565b600181811c9082168061165757607f821691505b60208210810361167757634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b808201808211156105855761058561167d565b60008160001904831182151516156116c0576116c061167d565b500290565b818103818111156105855761058561167d565b601f82111561091557600081815260208120601f850160051c810160208610156116ff5750805b601f850160051c820191505b818110156108925782815560010161170b565b815167ffffffffffffffff81111561173857611738611483565b61174c816117468454611643565b846116d8565b602080601f83116001811461178157600084156117695750858301515b600019600386901b1c1916600185901b178555610892565b600085815260208120601f198616915b828110156117b057888601518255948401946001909101908401611791565b50858210156117ce5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600083516117f081846020880161136a565b83519083019061180481836020880161136a565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906118509083018461138e565b9695505050505050565b60006020828403121561186c57600080fd5b8151610f0681611337565b6000600182016118895761188961167d565b5060010190565b634e487b7160e01b600052601260045260246000fd5b6000826118b5576118b5611890565b500490565b6000826118c9576118c9611890565b500690565b634e487b7160e01b600052603260045260246000fdfea26469706673582212205d0e74fd80d98e3ee939cdb335cbe9dbab0f3ff93be997c9ca6fc85082e6d0e964736f6c63430008100033

Deployed Bytecode Sourcemap

50547:2256:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18360:615;;;;;;;;;;-1:-1:-1;18360:615:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;18360:615:0;;;;;;;;24007:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;25953:204::-;;;;;;;;;;-1:-1:-1;25953:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1697:32:1;;;1679:51;;1667:2;1652:18;25953:204:0;1533:203:1;25501:386:0;;;;;;;;;;-1:-1:-1;25501:386:0;;;;;:::i;:::-;;:::i;:::-;;50625:39;;;;;;;;;;;;50663:1;50625:39;;;;;2324:25:1;;;2312:2;2297:18;50625:39:0;2178:177:1;17414:315:0;;;;;;;;;;-1:-1:-1;51067:1:0;17680:12;17467:7;17664:13;:28;-1:-1:-1;;17664:46:0;17414:315;;35218:2800;;;;;;;;;;-1:-1:-1;35218:2800:0;;;;;:::i;:::-;;:::i;51448:177::-;;;;;;;;;;;;;:::i;26843:185::-;;;;;;;;;;-1:-1:-1;26843:185:0;;;;;:::i;:::-;;:::i;51630:174::-;;;;;;;;;;-1:-1:-1;51630:174:0;;;;;:::i;:::-;;:::i;23796:144::-;;;;;;;;;;-1:-1:-1;23796:144:0;;;;;:::i;:::-;;:::i;51809:94::-;;;;;;;;;;-1:-1:-1;51809:94:0;;;;;:::i;:::-;;:::i;19039:224::-;;;;;;;;;;-1:-1:-1;19039:224:0;;;;;:::i;:::-;;:::i;2951:103::-;;;;;;;;;;;;;:::i;2303:87::-;;;;;;;;;;-1:-1:-1;2376:6:0;;-1:-1:-1;;;;;2376:6:0;2303:87;;24176:104;;;;;;;;;;;;;:::i;52242:558::-;;;;;;:::i;:::-;;:::i;51288:85::-;;;;;;;;;;-1:-1:-1;51288:85:0;;;;;:::i;:::-;;:::i;26229:308::-;;;;;;;;;;-1:-1:-1;26229:308:0;;;;;:::i;:::-;;:::i;50702:27::-;;;;;;;;;;-1:-1:-1;50702:27:0;;;;;;;;27099:399;;;;;;;;;;-1:-1:-1;27099:399:0;;;;;:::i;:::-;;:::i;51378:65::-;;;;;;;;;;;;;:::i;51908:329::-;;;;;;;;;;-1:-1:-1;51908:329:0;;;;;:::i;:::-;;:::i;50668:28::-;;;;;;;;;;;;;;;;51078:78;;;;;;;;;;-1:-1:-1;51142:9:0;;;;;;;;;-1:-1:-1;51142:9:0;;51078:78;;26608:164;;;;;;;;;;-1:-1:-1;26608:164:0;;;;;:::i;:::-;;:::i;3209:201::-;;;;;;;;;;-1:-1:-1;3209:201:0;;;;;:::i;:::-;;:::i;51164:116::-;;;;;;;;;;-1:-1:-1;51164:116:0;;;;;:::i;:::-;-1:-1:-1;;;;;51247:25:0;51223:4;51247:25;;;:18;:25;;;;;;;51164:116;18360:615;18445:4;-1:-1:-1;;;;;;;;;18745:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;18822:25:0;;;18745:102;:179;;;-1:-1:-1;;;;;;;;;;18899:25:0;;;18745:179;18725:199;18360:615;-1:-1:-1;;18360:615:0:o;24007:100::-;24061:13;24094:5;24087:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24007:100;:::o;25953:204::-;26021:7;26046:16;26054:7;26046;:16::i;:::-;26041:64;;26071:34;;-1:-1:-1;;;26071:34:0;;;;;;;;;;;26041:64;-1:-1:-1;26125:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;26125:24:0;;25953:204::o;25501:386::-;25574:13;25590:16;25598:7;25590;:16::i;:::-;25574:32;-1:-1:-1;46401:10:0;-1:-1:-1;;;;;25623:28:0;;;25619:175;;25671:44;25688:5;46401:10;26608:164;:::i;25671:44::-;25666:128;;25743:35;;-1:-1:-1;;;25743:35:0;;;;;;;;;;;25666:128;25806:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;25806:29:0;-1:-1:-1;;;;;25806:29:0;;;;;;;;;25851:28;;25806:24;;25851:28;;;;;;;25563:324;25501:386;;:::o;35218:2800::-;35352:27;35382;35401:7;35382:18;:27::i;:::-;35352:57;;35467:4;-1:-1:-1;;;;;35426:45:0;35442:19;-1:-1:-1;;;;;35426:45:0;;35422:86;;35480:28;;-1:-1:-1;;;35480:28:0;;;;;;;;;;;35422:86;35522:27;33948:21;;;33775:15;33990:4;33983:36;34072:4;34056:21;;34162:26;;46401:10;34915:30;;;-1:-1:-1;;;;;34613:26:0;;34894:19;;;34891:55;35701:174;;35788:43;35805:4;46401:10;26608:164;:::i;35788:43::-;35783:92;;35840:35;;-1:-1:-1;;;35840:35:0;;;;;;;;;;;35783:92;-1:-1:-1;;;;;35892:16:0;;35888:52;;35917:23;;-1:-1:-1;;;35917:23:0;;;;;;;;;;;35888:52;36089:15;36086:160;;;36229:1;36208:19;36201:30;36086:160;-1:-1:-1;;;;;36624:24:0;;;;;;;:18;:24;;;;;;36622:26;;-1:-1:-1;;36622:26:0;;;36693:22;;;;;;;;;36691:24;;-1:-1:-1;36691:24:0;;;23695:11;23671:22;23667:40;23654:62;-1:-1:-1;;;23654:62:0;36986:26;;;;:17;:26;;;;;:174;;;;-1:-1:-1;;;37280:46:0;;:51;;37276:626;;37384:1;37374:11;;37352:19;37507:30;;;:17;:30;;;;;;:35;;37503:384;;37645:13;;37630:11;:28;37626:242;;37792:30;;;;:17;:30;;;;;:52;;;37626:242;37333:569;37276:626;37949:7;37945:2;-1:-1:-1;;;;;37930:27:0;37939:4;-1:-1:-1;;;;;37930:27:0;;;;;;;;;;;37968:42;35341:2677;;;35218:2800;;;:::o;51448:177::-;2189:13;:11;:13::i;:::-;51511:82:::1;::::0;51493:12:::1;::::0;51519:10:::1;::::0;51557:21:::1;::::0;51493:12;51511:82;51493:12;51511:82;51557:21;51519:10;51511:82:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51492:101;;;51612:7;51604:16;;;::::0;::::1;;51487:138;51448:177::o:0;26843:185::-;26981:39;26998:4;27004:2;27008:7;26981:39;;;;;;;;;;;;:16;:39::i;:::-;26843:185;;;:::o;51630:174::-;2189:13;:11;:13::i;:::-;51734:9:::1;;51725:5;51708:14;17874:7:::0;18062:13;-1:-1:-1;;18062:31:0;;17827:285;51708:14:::1;:22;;;;:::i;:::-;:35;;51695:79;;;::::0;-1:-1:-1;;;51695:79:0;;6457:2:1;51695:79:0::1;::::0;::::1;6439:21:1::0;6496:2;6476:18;;;6469:30;-1:-1:-1;;;6515:18:1;;;6508:48;6573:18;;51695:79:0::1;;;;;;;;;51779:20;51789:2;51793:5;51779:9;:20::i;:::-;51630:174:::0;;:::o;23796:144::-;23860:7;23903:27;23922:7;23903:18;:27::i;51809:94::-;2189:13;:11;:13::i;:::-;51874:9:::1;:24:::0;51809:94::o;19039:224::-;19103:7;-1:-1:-1;;;;;19127:19:0;;19123:60;;19155:28;;-1:-1:-1;;;19155:28:0;;;;;;;;;;;19123:60;-1:-1:-1;;;;;;19201:25:0;;;;;:18;:25;;;;;;13594:13;19201:54;;19039:224::o;2951:103::-;2189:13;:11;:13::i;:::-;3016:30:::1;3043:1;3016:18;:30::i;:::-;2951:103::o:0;24176:104::-;24232:13;24265:7;24258:14;;;;;:::i;52242:558::-;52339:8;;50663:1;;52339:8;;52338:9;52330:35;;;;-1:-1:-1;;;52330:35:0;;6804:2:1;52330:35:0;;;6786:21:1;6843:2;6823:18;;;6816:30;-1:-1:-1;;;6862:18:1;;;6855:43;6915:18;;52330:35:0;6602:337:1;52330:35:0;52410:9;;52401:5;52384:14;17874:7;18062:13;-1:-1:-1;;18062:31:0;;17827:285;52384:14;:22;;;;:::i;:::-;:35;;52376:65;;;;-1:-1:-1;;;52376:65:0;;6457:2:1;52376:65:0;;;6439:21:1;6496:2;6476:18;;;6469:30;-1:-1:-1;;;6515:18:1;;;6508:48;6573:18;;52376:65:0;6255:342:1;52376:65:0;50663:1;52460:5;:23;;52452:62;;;;-1:-1:-1;;;52452:62:0;;7146:2:1;52452:62:0;;;7128:21:1;7185:2;7165:18;;;7158:30;7224:29;7204:18;;;7197:57;7271:18;;52452:62:0;6944:351:1;52452:62:0;52575:18;50663:1;52592;52575:18;:::i;:::-;52552:10;52533:30;;;;:18;:30;;;;;;:38;;52566:5;;52533:38;:::i;:::-;:60;;52525:94;;;;-1:-1:-1;;;52525:94:0;;7675:2:1;52525:94:0;;;7657:21:1;7714:2;7694:18;;;7687:30;-1:-1:-1;;;7733:18:1;;;7726:52;7795:18;;52525:94:0;7473:346:1;52525:94:0;52649:15;52638:9;:26;;:62;;;;-1:-1:-1;52681:19:0;52697:3;52681:15;:19;:::i;:::-;52668:9;:32;;52638:62;52630:88;;;;-1:-1:-1;;;52630:88:0;;8159:2:1;52630:88:0;;;8141:21:1;8198:2;8178:18;;;8171:30;-1:-1:-1;;;8217:18:1;;;8210:44;8271:18;;52630:88:0;7957:338:1;52630:88:0;52742:10;52723:30;;;;:18;:30;;;;;:39;;52757:5;;52723:30;:39;;52757:5;;52723:39;:::i;:::-;;;;-1:-1:-1;52767:28:0;;-1:-1:-1;52777:10:0;52789:5;52767:9;:28::i;51288:85::-;2189:13;:11;:13::i;:::-;51354:8:::1;:14;51365:3:::0;51354:8;:14:::1;:::i;26229:308::-:0;46401:10;-1:-1:-1;;;;;26328:31:0;;;26324:61;;26368:17;;-1:-1:-1;;;26368:17:0;;;;;;;;;;;26324:61;46401:10;26398:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;26398:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;26398:60:0;;;;;;;;;;26474:55;;540:41:1;;;26398:49:0;;46401:10;26474:55;;513:18:1;26474:55:0;;;;;;;26229:308;;:::o;27099:399::-;27266:31;27279:4;27285:2;27289:7;27266:12;:31::i;:::-;-1:-1:-1;;;;;27312:14:0;;;:19;27308:183;;27351:56;27382:4;27388:2;27392:7;27401:5;27351:30;:56::i;:::-;27346:145;;27435:40;;-1:-1:-1;;;27435:40:0;;;;;;;;;;;27346:145;27099:399;;;;:::o;51378:65::-;2189:13;:11;:13::i;:::-;51422:8:::1;:16:::0;;-1:-1:-1;;51422:16:0::1;::::0;;51378:65::o;51908:329::-;51982:13;52018:16;52026:7;52018;:16::i;:::-;52010:76;;;;-1:-1:-1;;;52010:76:0;;10706:2:1;52010:76:0;;;10688:21:1;10745:2;10725:18;;;10718:30;10784:34;10764:18;;;10757:62;-1:-1:-1;;;10835:18:1;;;10828:45;10890:19;;52010:76:0;10504:411:1;52010:76:0;52131:1;52110:10;:8;:10::i;:::-;52104:24;:28;:128;;;;;;;;;;;;;;;;;52173:10;:8;:10::i;:::-;52185:18;:7;:16;:18::i;:::-;52156:57;;;;;;;;;:::i;:::-;;;;;;;;;;;;;52097:135;51908:329;-1:-1:-1;;51908:329:0:o;26608:164::-;-1:-1:-1;;;;;26729:25:0;;;26705:4;26729:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;26608:164::o;3209:201::-;2189:13;:11;:13::i;:::-;-1:-1:-1;;;;;3298:22:0;::::1;3290:73;;;::::0;-1:-1:-1;;;3290:73:0;;11790:2:1;3290:73:0::1;::::0;::::1;11772:21:1::0;11829:2;11809:18;;;11802:30;11868:34;11848:18;;;11841:62;-1:-1:-1;;;11919:18:1;;;11912:36;11965:19;;3290:73:0::1;11588:402:1::0;3290:73:0::1;3374:28;3393:8;3374:18;:28::i;27753:273::-:0;27810:4;27866:7;51067:1;27847:26;;:66;;;;;27900:13;;27890:7;:23;27847:66;:152;;;;-1:-1:-1;;27951:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;27951:43:0;:48;;27753:273::o;20713:1129::-;20780:7;20815;;51067:1;20864:23;20860:915;;20917:13;;20910:4;:20;20906:869;;;20955:14;20972:23;;;:17;:23;;;;;;;-1:-1:-1;;;21061:23:0;;:28;;21057:699;;21580:113;21587:6;21597:1;21587:11;21580:113;;-1:-1:-1;;;21658:6:0;21640:25;;;;:17;:25;;;;;;21580:113;;;21726:6;20713:1129;-1:-1:-1;;;20713:1129:0:o;21057:699::-;20932:843;20906:869;21803:31;;-1:-1:-1;;;21803:31:0;;;;;;;;;;;2468:132;2376:6;;-1:-1:-1;;;;;2376:6:0;46401:10;2532:23;2524:68;;;;-1:-1:-1;;;2524:68:0;;12197:2:1;2524:68:0;;;12179:21:1;;;12216:18;;;12209:30;12275:34;12255:18;;;12248:62;12327:18;;2524:68:0;11995:356:1;28110:104:0;28179:27;28189:2;28193:8;28179:27;;;;;;;;;;;;:9;:27::i;3570:191::-;3663:6;;;-1:-1:-1;;;;;3680:17:0;;;-1:-1:-1;;;;;;3680:17:0;;;;;;;3713:40;;3663:6;;;3680:17;3663:6;;3713:40;;3644:16;;3713:40;3633:128;3570:191;:::o;41969:716::-;42153:88;;-1:-1:-1;;;42153:88:0;;42132:4;;-1:-1:-1;;;;;42153:45:0;;;;;:88;;46401:10;;42220:4;;42226:7;;42235:5;;42153:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;42153:88:0;;;;;;;;-1:-1:-1;;42153:88:0;;;;;;;;;;;;:::i;:::-;;;42149:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42436:6;:13;42453:1;42436:18;42432:235;;42482:40;;-1:-1:-1;;;42482:40:0;;;;;;;;;;;42432:235;42625:6;42619:13;42610:6;42606:2;42602:15;42595:38;42149:529;-1:-1:-1;;;;;;42312:64:0;-1:-1:-1;;;42312:64:0;;-1:-1:-1;42149:529:0;41969:716;;;;;;:::o;50895:92::-;50947:13;50974:8;50967:15;;;;;:::i;48751:723::-;48807:13;49028:5;49037:1;49028:10;49024:53;;-1:-1:-1;;49055:10:0;;;;;;;;;;;;-1:-1:-1;;;49055:10:0;;;;;48751:723::o;49024:53::-;49102:5;49087:12;49143:78;49150:9;;49143:78;;49176:8;;;;:::i;:::-;;-1:-1:-1;49199:10:0;;-1:-1:-1;49207:2:0;49199:10;;:::i;:::-;;;49143:78;;;49231:19;49263:6;49253:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;49253:17:0;;49231:39;;49281:154;49288:10;;49281:154;;49315:11;49325:1;49315:11;;:::i;:::-;;-1:-1:-1;49384:10:0;49392:2;49384:5;:10;:::i;:::-;49371:24;;:2;:24;:::i;:::-;49358:39;;49341:6;49348;49341:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;49341:56:0;;;;;;;;-1:-1:-1;49412:11:0;49421:2;49412:11;;:::i;:::-;;;49281:154;;28630:681;28753:19;28759:2;28763:8;28753:5;:19::i;:::-;-1:-1:-1;;;;;28814:14:0;;;:19;28810:483;;28854:11;28868:13;28916:14;;;28949:233;28980:62;29019:1;29023:2;29027:7;;;;;;29036:5;28980:30;:62::i;:::-;28975:167;;29078:40;;-1:-1:-1;;;29078:40:0;;;;;;;;;;;28975:167;29177:3;29169:5;:11;28949:233;;29264:3;29247:13;;:20;29243:34;;29269:8;;;29243:34;28835:458;;28630:681;;;:::o;29584:1529::-;29649:20;29672:13;-1:-1:-1;;;;;29700:16:0;;29696:48;;29725:19;;-1:-1:-1;;;29725:19:0;;;;;;;;;;;29696:48;29759:8;29771:1;29759:13;29755:44;;29781:18;;-1:-1:-1;;;29781:18:0;;;;;;;;;;;29755:44;-1:-1:-1;;;;;30287:22:0;;;;;;:18;:22;;13731:2;30287:22;;:70;;30325:31;30313:44;;30287:70;;;23695:11;23671:22;23667:40;-1:-1:-1;25405:15:0;;25380:23;25376:45;23664:51;23654:62;30600:31;;;;:17;:31;;;;;:173;30618:12;30849:23;;;30887:101;30914:35;;30939:9;;;;;-1:-1:-1;;;;;30914:35:0;;;30931:1;;30914:35;;30931:1;;30914:35;30983:3;30973:7;:13;30887:101;;31004:13;:19;-1:-1:-1;26843:185:0;;;:::o;14:131:1:-;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:250::-;677:1;687:113;701:6;698:1;695:13;687:113;;;777:11;;;771:18;758:11;;;751:39;723:2;716:10;687:113;;;-1:-1:-1;;834:1:1;816:16;;809:27;592:250::o;847:271::-;889:3;927:5;921:12;954:6;949:3;942:19;970:76;1039:6;1032:4;1027:3;1023:14;1016:4;1009:5;1005:16;970:76;:::i;:::-;1100:2;1079:15;-1:-1:-1;;1075:29:1;1066:39;;;;1107:4;1062:50;;847:271;-1:-1:-1;;847:271:1:o;1123:220::-;1272:2;1261:9;1254:21;1235:4;1292:45;1333:2;1322:9;1318:18;1310:6;1292:45;:::i;1348:180::-;1407:6;1460:2;1448:9;1439:7;1435:23;1431:32;1428:52;;;1476:1;1473;1466:12;1428:52;-1:-1:-1;1499:23:1;;1348:180;-1:-1:-1;1348:180:1:o;1741:173::-;1809:20;;-1:-1:-1;;;;;1858:31:1;;1848:42;;1838:70;;1904:1;1901;1894:12;1838:70;1741:173;;;:::o;1919:254::-;1987:6;1995;2048:2;2036:9;2027:7;2023:23;2019:32;2016:52;;;2064:1;2061;2054:12;2016:52;2087:29;2106:9;2087:29;:::i;:::-;2077:39;2163:2;2148:18;;;;2135:32;;-1:-1:-1;;;1919:254:1:o;2360:328::-;2437:6;2445;2453;2506:2;2494:9;2485:7;2481:23;2477:32;2474:52;;;2522:1;2519;2512:12;2474:52;2545:29;2564:9;2545:29;:::i;:::-;2535:39;;2593:38;2627:2;2616:9;2612:18;2593:38;:::i;:::-;2583:48;;2678:2;2667:9;2663:18;2650:32;2640:42;;2360:328;;;;;:::o;2693:186::-;2752:6;2805:2;2793:9;2784:7;2780:23;2776:32;2773:52;;;2821:1;2818;2811:12;2773:52;2844:29;2863:9;2844:29;:::i;2884:127::-;2945:10;2940:3;2936:20;2933:1;2926:31;2976:4;2973:1;2966:15;3000:4;2997:1;2990:15;3016:632;3081:5;3111:18;3152:2;3144:6;3141:14;3138:40;;;3158:18;;:::i;:::-;3233:2;3227:9;3201:2;3287:15;;-1:-1:-1;;3283:24:1;;;3309:2;3279:33;3275:42;3263:55;;;3333:18;;;3353:22;;;3330:46;3327:72;;;3379:18;;:::i;:::-;3419:10;3415:2;3408:22;3448:6;3439:15;;3478:6;3470;3463:22;3518:3;3509:6;3504:3;3500:16;3497:25;3494:45;;;3535:1;3532;3525:12;3494:45;3585:6;3580:3;3573:4;3565:6;3561:17;3548:44;3640:1;3633:4;3624:6;3616;3612:19;3608:30;3601:41;;;;3016:632;;;;;:::o;3653:451::-;3722:6;3775:2;3763:9;3754:7;3750:23;3746:32;3743:52;;;3791:1;3788;3781:12;3743:52;3831:9;3818:23;3864:18;3856:6;3853:30;3850:50;;;3896:1;3893;3886:12;3850:50;3919:22;;3972:4;3964:13;;3960:27;-1:-1:-1;3950:55:1;;4001:1;3998;3991:12;3950:55;4024:74;4090:7;4085:2;4072:16;4067:2;4063;4059:11;4024:74;:::i;4109:347::-;4174:6;4182;4235:2;4223:9;4214:7;4210:23;4206:32;4203:52;;;4251:1;4248;4241:12;4203:52;4274:29;4293:9;4274:29;:::i;:::-;4264:39;;4353:2;4342:9;4338:18;4325:32;4400:5;4393:13;4386:21;4379:5;4376:32;4366:60;;4422:1;4419;4412:12;4366:60;4445:5;4435:15;;;4109:347;;;;;:::o;4461:667::-;4556:6;4564;4572;4580;4633:3;4621:9;4612:7;4608:23;4604:33;4601:53;;;4650:1;4647;4640:12;4601:53;4673:29;4692:9;4673:29;:::i;:::-;4663:39;;4721:38;4755:2;4744:9;4740:18;4721:38;:::i;:::-;4711:48;;4806:2;4795:9;4791:18;4778:32;4768:42;;4861:2;4850:9;4846:18;4833:32;4888:18;4880:6;4877:30;4874:50;;;4920:1;4917;4910:12;4874:50;4943:22;;4996:4;4988:13;;4984:27;-1:-1:-1;4974:55:1;;5025:1;5022;5015:12;4974:55;5048:74;5114:7;5109:2;5096:16;5091:2;5087;5083:11;5048:74;:::i;:::-;5038:84;;;4461:667;;;;;;;:::o;5133:260::-;5201:6;5209;5262:2;5250:9;5241:7;5237:23;5233:32;5230:52;;;5278:1;5275;5268:12;5230:52;5301:29;5320:9;5301:29;:::i;:::-;5291:39;;5349:38;5383:2;5372:9;5368:18;5349:38;:::i;:::-;5339:48;;5133:260;;;;;:::o;5398:380::-;5477:1;5473:12;;;;5520;;;5541:61;;5595:4;5587:6;5583:17;5573:27;;5541:61;5648:2;5640:6;5637:14;5617:18;5614:38;5611:161;;5694:10;5689:3;5685:20;5682:1;5675:31;5729:4;5726:1;5719:15;5757:4;5754:1;5747:15;5611:161;;5398:380;;;:::o;5993:127::-;6054:10;6049:3;6045:20;6042:1;6035:31;6085:4;6082:1;6075:15;6109:4;6106:1;6099:15;6125:125;6190:9;;;6211:10;;;6208:36;;;6224:18;;:::i;7300:168::-;7340:7;7406:1;7402;7398:6;7394:14;7391:1;7388:21;7383:1;7376:9;7369:17;7365:45;7362:71;;;7413:18;;:::i;:::-;-1:-1:-1;7453:9:1;;7300:168::o;7824:128::-;7891:9;;;7912:11;;;7909:37;;;7926:18;;:::i;8426:545::-;8528:2;8523:3;8520:11;8517:448;;;8564:1;8589:5;8585:2;8578:17;8634:4;8630:2;8620:19;8704:2;8692:10;8688:19;8685:1;8681:27;8675:4;8671:38;8740:4;8728:10;8725:20;8722:47;;;-1:-1:-1;8763:4:1;8722:47;8818:2;8813:3;8809:12;8806:1;8802:20;8796:4;8792:31;8782:41;;8873:82;8891:2;8884:5;8881:13;8873:82;;;8936:17;;;8917:1;8906:13;8873:82;;9147:1352;9273:3;9267:10;9300:18;9292:6;9289:30;9286:56;;;9322:18;;:::i;:::-;9351:97;9441:6;9401:38;9433:4;9427:11;9401:38;:::i;:::-;9395:4;9351:97;:::i;:::-;9503:4;;9567:2;9556:14;;9584:1;9579:663;;;;10286:1;10303:6;10300:89;;;-1:-1:-1;10355:19:1;;;10349:26;10300:89;-1:-1:-1;;9104:1:1;9100:11;;;9096:24;9092:29;9082:40;9128:1;9124:11;;;9079:57;10402:81;;9549:944;;9579:663;8373:1;8366:14;;;8410:4;8397:18;;-1:-1:-1;;9615:20:1;;;9733:236;9747:7;9744:1;9741:14;9733:236;;;9836:19;;;9830:26;9815:42;;9928:27;;;;9896:1;9884:14;;;;9763:19;;9733:236;;;9737:3;9997:6;9988:7;9985:19;9982:201;;;10058:19;;;10052:26;-1:-1:-1;;10141:1:1;10137:14;;;10153:3;10133:24;10129:37;10125:42;10110:58;10095:74;;9982:201;-1:-1:-1;;;;;10229:1:1;10213:14;;;10209:22;10196:36;;-1:-1:-1;9147:1352:1:o;10920:663::-;11200:3;11238:6;11232:13;11254:66;11313:6;11308:3;11301:4;11293:6;11289:17;11254:66;:::i;:::-;11383:13;;11342:16;;;;11405:70;11383:13;11342:16;11452:4;11440:17;;11405:70;:::i;:::-;-1:-1:-1;;;11497:20:1;;11526:22;;;11575:1;11564:13;;10920:663;-1:-1:-1;;;;10920:663:1:o;12356:489::-;-1:-1:-1;;;;;12625:15:1;;;12607:34;;12677:15;;12672:2;12657:18;;12650:43;12724:2;12709:18;;12702:34;;;12772:3;12767:2;12752:18;;12745:31;;;12550:4;;12793:46;;12819:19;;12811:6;12793:46;:::i;:::-;12785:54;12356:489;-1:-1:-1;;;;;;12356:489:1:o;12850:249::-;12919:6;12972:2;12960:9;12951:7;12947:23;12943:32;12940:52;;;12988:1;12985;12978:12;12940:52;13020:9;13014:16;13039:30;13063:5;13039:30;:::i;13104:135::-;13143:3;13164:17;;;13161:43;;13184:18;;:::i;:::-;-1:-1:-1;13231:1:1;13220:13;;13104:135::o;13244:127::-;13305:10;13300:3;13296:20;13293:1;13286:31;13336:4;13333:1;13326:15;13360:4;13357:1;13350:15;13376:120;13416:1;13442;13432:35;;13447:18;;:::i;:::-;-1:-1:-1;13481:9:1;;13376:120::o;13501:112::-;13533:1;13559;13549:35;;13564:18;;:::i;:::-;-1:-1:-1;13598:9:1;;13501:112::o;13618:127::-;13679:10;13674:3;13670:20;13667:1;13660:31;13710:4;13707:1;13700:15;13734:4;13731:1;13724:15

Swarm Source

ipfs://5d0e74fd80d98e3ee939cdb335cbe9dbab0f3ff93be997c9ca6fc85082e6d0e9

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  ]

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.