ETH Price: $3,327.89 (-4.76%)

Token

Smolbirds (SMOLBIRD)
 

Overview

Max Total Supply

319 SMOLBIRD

Holders

223

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Filtered by Token Holder
0xa2ab.eth
Balance
1 SMOLBIRD
0xc4fad66f8fce143284a4a783bb4a6125d9c2a2ab
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Smolbirds

Compiler Version
v0.8.19+commit.7dd6d404

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2023-06-01
*/

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

/*
Smolbirds:
    - Max Supply: 5.555 
    - Twitter: https://twitter.com/smolbirds_NFT
    - Discord: https://discord.gg/UWbptH9p8y

    ::::::::::::::::::::::::::::::::::::::::::
    ::::::::::::__:::::::::::::__:::::::::::::
    ::::::::::::_=___::_____:__,_:::::::::::::
    ::::::::::::_.==,__.,,,,__,,_:::::::::::::
    :::::::::::::_.,..,,,,==,._._:::::::::::::
    ::::::::::::::_...,,,,,=,,._::::::::::::::
    ::::::::::::::_..,,,,,,,,,,._:::::::::::::
    ::::::::::::::_..,:::,,,:::=_:::::::::::::
    ::::::::::::::_.=:,,::,::,,:_:::::::::::::
    ::::::::::::::_==,::,:::,::,_:::::::::::::
    ::::::::::::::_=,: ;:,:,: ;:_:::::::::::::
    ::::::::::::::_=,:  :,:,:  :_:::::::::::::
    ::::::::::::::_==,::,...,::,_:::::::::::::
    ::::::::::::::_.==,,.--.:,,:_:::::::::::::
    ::::::::::::::_..==::.-.:::=_:::::::::::::
    ::::::::::::::_....==:.:===._:::::::::::::
    :::::::::::::_...,,..===....._::::::::::::
    :::::::::::::_....,,,...,,,,._::::::::::::
    :::::::::::::_....,,,,,,,,,,._::::::::::::
    :::::::::::::_....,,,,,,,,,,._::::::::::::
*/

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

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

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

    // =============================================================
    //                            STRUCTS
    // =============================================================

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

    // =============================================================
    //                         TOKEN COUNTERS
    // =============================================================

    /**
     * @dev Returns the total number of tokens in existence.
     * Burned tokens will reduce the count.
     * To get the total number of tokens minted, please see {_totalMinted}.
     */
    function totalSupply() external view returns (uint256);

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

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

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

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

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

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

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

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

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

    /**
     * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

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

    /**
     * @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](https://eips.ethereum.org/EIPS/eip-2309) standard.
     *
     * See {_mintERC2309} for more details.
     */
    event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to);
}



contract Smolbirds is IERC721A { 

    address private _owner;
    function owner() public view returns(address){
        return _owner;
    }

    modifier onlyOwner() { 
        require(_owner==msg.sender);
        _; 
    }

    modifier nonContract(){
        require(!(msg.sender.code.length>0), "no contracts allowed");
        _;
    }
    

    uint256 public constant MAX_SUPPLY = 5555;
    uint256 public MAX_FREE = 5555;
    uint256 public MAX_FREE_PER_WALLET = 1;
    uint256 public COST = 0.003 ether;

    string private constant _name = "Smolbirds";
    string private constant _symbol = "SMOLBIRD";
    string private _baseURI = "QmX6oqwtPcwi3yV1garMNZeZGhM9W7vNHiqe8njqhHaYbz";

    constructor() {
        _owner = msg.sender;
    }

    function mint(uint256 amount) external payable{
        address _caller = _msgSenderERC721A();

        require(totalSupply() + amount <= MAX_SUPPLY, "Sold Out");
        require(amount*COST <= msg.value, "Value to Low");

        _mint(_caller, amount);
    }

    function freeMint() external nonContract{
        address _caller = _msgSenderERC721A();
        uint256 amount = 1;

        require(totalSupply() + amount <= MAX_FREE, "Freemint Sold Out");
        require(amount + _numberMinted(_caller) <= MAX_FREE_PER_WALLET, "Max per Wallet");

        _mint(_caller, amount);
    }

    // NESTING

    modifier onlyApprovedOrOwner(uint tokenId){
        address approvedAddress = _tokenApprovals[tokenId];
        address owner = ownerOf(tokenId);

        bool isApprovedOrOwner = (_msgSenderERC721A() == owner ||
                isApprovedForAll(owner, _msgSenderERC721A()) ||
                approvedAddress == _msgSenderERC721A());
        
        require(isApprovedOrOwner, "Not Owner, Not Approved");
        _;
    }
    /**
    @dev tokenId to nesting start time (0 = not nesting).
     */
    mapping(uint256 => uint256) private nestingStarted;

    /**
    @dev Cumulative per-token nesting, excluding the current period.
     */
    mapping(uint256 => uint256) private nestingTotal;


    function nestingPeriod(uint256 tokenId)
        external
        view
        returns (
            bool nesting,
            uint256 current,
            uint256 total
        )
    {
        uint256 start = nestingStarted[tokenId];
        if (start != 0) {
            nesting = true;
            current = block.timestamp - start;
        }
        total = current + nestingTotal[tokenId];
    }

    /**
    @dev MUST only be modified by safeTransferWhileNesting(); if set to 2 then
    the _beforeTokenTransfer() block while nesting is disabled.
     */
    uint256 private nestingTransfer = 1;

    /**
    @notice Transfer a token between addresses while the Smolbird is minting,
    thus not resetting the nesting period.
     */
    function safeTransferWhileNesting(
        address from,
        address to,
        uint256 tokenId
    ) external {
        require(ownerOf(tokenId) == _msgSenderERC721A(), "Only owner");
        nestingTransfer = 2;
        safeTransferFrom(from, to, tokenId);
        nestingTransfer = 1;
    }

    /**
    @dev Block transfers while nesting.
     */
    function _beforeTokenTransfers(
        address,
        address,
        uint256 startTokenId,
        uint256 quantity
    ) internal view {
        uint256 tokenId = startTokenId;
        for (uint256 end = tokenId + quantity; tokenId < end; ++tokenId) {
            require(
                nestingStarted[tokenId] == 0 || nestingTransfer == 2,
                "nesting"
            );
        }
    }

    /**
    @dev Emitted when a Smolbird begins nesting.
     */
    event Nested(uint256 indexed tokenId);

    /**
    @dev Emitted when a Smolbird stops nesting; either through standard means or
    by expulsion.
     */
    event Unnested(uint256 indexed tokenId);

    /**
    @dev Emitted when a Smolbird is expelled from the nest.
     */
    event Expelled(uint256 indexed tokenId);

    /**
    @notice Whether nesting is currently allowed.
    @dev If false then nesting is blocked, but unnesting is always allowed.
     */
    bool public nestingOpen = false;

    /**
    @notice Toggles the `nestingOpen` flag.
     */
    function setNestingOpen(bool open) external onlyOwner {
        nestingOpen = open;
    }

    /**
    @notice Changes the Smolbird's nesting status.
    */
    function toggleNesting(uint256 tokenId)
        internal
        onlyApprovedOrOwner(tokenId)
    {
        uint256 start = nestingStarted[tokenId];
        if (start == 0) {
            require(nestingOpen, "Smolbirds: nesting closed");
            nestingStarted[tokenId] = block.timestamp;
            emit Nested(tokenId);
        } else {
            nestingTotal[tokenId] += block.timestamp - start;
            nestingStarted[tokenId] = 0;
            emit Unnested(tokenId);
        }
    }

    /**
    @notice Changes the Smolbird's nesting statuss (what's the plural of status?
    statii? statuses? status? The plural of sheep is sheep; maybe it's also the
    plural of status).
    @dev Changes the Smolbird's nesting sheep (see @notice).
     */
    function toggleNesting(uint256[] calldata tokenIds) external {
        uint256 n = tokenIds.length;
        for (uint256 i = 0; i < n; ++i) {
            toggleNesting(tokenIds[i]);
        }
    }


    // Mask of an entry in packed address data.
    uint256 private constant BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1;

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

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

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

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

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

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

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

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

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

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


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

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

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

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


    function setData(string memory _base) external onlyOwner{
        _baseURI = _base;
    }

    function setConfig(uint256 _MAX_FREE_PER_WALLET, uint256 _COST, uint256 _MAX_FREE) external onlyOwner{
        MAX_FREE_PER_WALLET = _MAX_FREE_PER_WALLET;
        COST = _COST;
        MAX_FREE = _MAX_FREE;
    }

    /**
     * @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 - _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 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 (_addressToUint256(owner) == 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 auxillary data for `owner`. (e.g. number of whitelist mint slots used).
     */
    function _getAux(address owner) internal view returns (uint64) {
        return uint64(_packedAddressData[owner] >> BITPOS_AUX);
    }

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

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

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

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

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

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

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

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

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

    
    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("ipfs://", baseURI, "/", _toString(tokenId), ".json")) : "";
    }

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

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

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

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

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

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

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

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

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

  

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


        // Overflows are incredibly unrealistic.
        // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1
        // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the balance and number minted.
            _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1);

            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `quantity == 1`.
            _packedOwnerships[startTokenId] =
                _addressToUint256(to) |
                (block.timestamp << BITPOS_START_TIMESTAMP) |
                (_boolToUint256(quantity == 1) << BITPOS_NEXT_INITIALIZED);

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

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

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

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

        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

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

        address approvedAddress = _tokenApprovals[tokenId];

        bool isApprovedOrOwner = (_msgSenderERC721A() == from ||
                isApprovedForAll(from, _msgSenderERC721A()) ||
                approvedAddress == _msgSenderERC721A());

        if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();


        // Clear approvals from the previous owner.
        if (_addressToUint256(approvedAddress) != 0) {
            delete _tokenApprovals[tokenId];
        }

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

            // Updates:
            // - `address` to the next owner.
            // - `startTimestamp` to the timestamp of transfering.
            // - `burned` to `false`.
            // - `nextInitialized` to `true`.
            _packedOwnerships[tokenId] =
                _addressToUint256(to) |
                (block.timestamp << BITPOS_START_TIMESTAMP) |
                BITMASK_NEXT_INITIALIZED;

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

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




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

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

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":"uint256","name":"tokenId","type":"uint256"}],"name":"Expelled","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Nested","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"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Unnested","type":"event"},{"inputs":[],"name":"COST","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_FREE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_FREE_PER_WALLET","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"freeMint","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":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nestingOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"nestingPeriod","outputs":[{"internalType":"bool","name":"nesting","type":"bool"},{"internalType":"uint256","name":"current","type":"uint256"},{"internalType":"uint256","name":"total","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferWhileNesting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_MAX_FREE_PER_WALLET","type":"uint256"},{"internalType":"uint256","name":"_COST","type":"uint256"},{"internalType":"uint256","name":"_MAX_FREE","type":"uint256"}],"name":"setConfig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_base","type":"string"}],"name":"setData","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"open","type":"bool"}],"name":"setNestingOpen","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":"tokenIds","type":"uint256[]"}],"name":"toggleNesting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6115b36001908155600255660aa87bee53800060035560e0604052602e6080818152906200199f60a03960049062000038908262000118565b5060016007556008805460ff1916905560006009553480156200005a57600080fd5b50600080546001600160a01b03191633179055620001e4565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200009e57607f821691505b602082108103620000bf57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200011357600081815260208120601f850160051c81016020861015620000ee5750805b601f850160051c820191505b818110156200010f57828155600101620000fa565b5050505b505050565b81516001600160401b0381111562000134576200013462000073565b6200014c8162000145845462000089565b84620000c5565b602080601f8311600181146200018457600084156200016b5750858301515b600019600386901b1c1916600185901b1785556200010f565b600085815260208120601f198616915b82811015620001b55788860151825594840194600190910190840162000194565b5085821015620001d45787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6117ab80620001f46000396000f3fe6080604052600436106101c25760003560e01c80634ca4fdf5116100f7578063a0712d6811610095578063bf8fbbd211610064578063bf8fbbd21461051f578063c87b56dd14610535578063e985e9c514610555578063ed6661c21461057557600080fd5b8063a0712d68146104ac578063a22cb465146104bf578063aa967878146104df578063b88d4fde146104ff57600080fd5b806370a08231116100d157806370a08231146104275780638da5cb5b1461044757806395d89b411461046557806398710d1e1461049657600080fd5b80634ca4fdf5146103b55780635b70ea9f146103f25780636352211e1461040757600080fd5b806323b872dd11610164578063421745ab1161013e578063421745ab1461033557806342842e0e14610355578063469b29cd1461037557806347064d6a1461039557600080fd5b806323b872dd146102ea57806332cb6b0c1461030a5780633ccfd60b1461032057600080fd5b8063095ea7b3116101a0578063095ea7b31461026f578063129ee21a1461029157806318160ddd146102b15780632015c291146102d057600080fd5b806301ffc9a7146101c757806306fdde03146101fc578063081812fc14610237575b600080fd5b3480156101d357600080fd5b506101e76101e2366004611199565b61058b565b60405190151581526020015b60405180910390f35b34801561020857600080fd5b50604080518082019091526009815268536d6f6c626972647360b81b60208201525b6040516101f391906111e7565b34801561024357600080fd5b5061025761025236600461121a565b6105dd565b6040516001600160a01b0390911681526020016101f3565b34801561027b57600080fd5b5061028f61028a36600461124f565b610623565b005b34801561029d57600080fd5b5061028f6102ac366004611279565b6106e1565b3480156102bd57600080fd5b506009545b6040519081526020016101f3565b3480156102dc57600080fd5b506008546101e79060ff1681565b3480156102f657600080fd5b5061028f6103053660046112a5565b610706565b34801561031657600080fd5b506102c26115b381565b34801561032c57600080fd5b5061028f610716565b34801561034157600080fd5b5061028f6103503660046112f1565b610760565b34801561036157600080fd5b5061028f6103703660046112a5565b61078a565b34801561038157600080fd5b5061028f61039036600461130c565b6107a5565b3480156103a157600080fd5b5061028f6103b036600461140d565b6107e8565b3480156103c157600080fd5b506103d56103d036600461121a565b61080b565b6040805193151584526020840192909252908201526060016101f3565b3480156103fe57600080fd5b5061028f610857565b34801561041357600080fd5b5061025761042236600461121a565b61097b565b34801561043357600080fd5b506102c261044236600461145e565b610986565b34801561045357600080fd5b506000546001600160a01b0316610257565b34801561047157600080fd5b5060408051808201909152600881526714d353d31092549160c21b602082015261022a565b3480156104a257600080fd5b506102c260025481565b61028f6104ba36600461121a565b6109cf565b3480156104cb57600080fd5b5061028f6104da366004611479565b610a76565b3480156104eb57600080fd5b5061028f6104fa3660046112a5565b610b0b565b34801561050b57600080fd5b5061028f61051a3660046114ac565b610b72565b34801561052b57600080fd5b506102c260035481565b34801561054157600080fd5b5061022a61055036600461121a565b610b7d565b34801561056157600080fd5b506101e7610570366004611528565b610c86565b34801561058157600080fd5b506102c260015481565b60006301ffc9a760e01b6001600160e01b0319831614806105bc57506380ac58cd60e01b6001600160e01b03198316145b806105d75750635b5e139f60e01b6001600160e01b03198316145b92915050565b60006105ea826009541190565b610607576040516333d1c03960e21b815260040160405180910390fd5b506000908152600c60205260409020546001600160a01b031690565b600061062e82610cb4565b9050806001600160a01b0316836001600160a01b03160361064e57600080fd5b336001600160a01b03821614610685576106688133610c86565b610685576040516367d9dca160e11b815260040160405180910390fd5b6000828152600c602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000546001600160a01b031633146106f857600080fd5b600292909255600355600155565b610711838383610d1b565b505050565b6000546001600160a01b0316331461072d57600080fd5b6040514790339082156108fc029083906000818181858888f1935050505015801561075c573d6000803e3d6000fd5b5050565b6000546001600160a01b0316331461077757600080fd5b6008805460ff1916911515919091179055565b61071183838360405180602001604052806000815250610b72565b8060005b818110156107e2576107d28484838181106107c6576107c6611552565b90506020020135610eb4565b6107db8161157e565b90506107a9565b50505050565b6000546001600160a01b031633146107ff57600080fd5b600461075c8282611617565b600081815260056020526040812054819081908015610835576001935061083281426116d7565b92505b60008581526006602052604090205461084e90846116ea565b93959294505050565b333b156108a25760405162461bcd60e51b81526020600482015260146024820152731b9bc818dbdb9d1c9858dd1cc8185b1b1bddd95960621b60448201526064015b60405180910390fd5b60018054339190816108b360095490565b6108bd91906116ea565b11156108ff5760405162461bcd60e51b8152602060048201526011602482015270119c99595b5a5b9d0814dbdb190813dd5d607a1b6044820152606401610899565b6002546001600160a01b0383166000908152600b60205260409081902054610932911c67ffffffffffffffff16836116ea565b11156109715760405162461bcd60e51b815260206004820152600e60248201526d13585e081c195c8815d85b1b195d60921b6044820152606401610899565b61075c828261106f565b60006105d782610cb4565b6000816000036109a9576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600b602052604090205467ffffffffffffffff1690565b336115b3826109dd60095490565b6109e791906116ea565b1115610a205760405162461bcd60e51b815260206004820152600860248201526714dbdb190813dd5d60c21b6044820152606401610899565b3460035483610a2f91906116fd565b1115610a6c5760405162461bcd60e51b815260206004820152600c60248201526b56616c756520746f204c6f7760a01b6044820152606401610899565b61075c818361106f565b336001600160a01b03831603610a9f5760405163b06307db60e01b815260040160405180910390fd5b336000818152600d602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b33610b158261097b565b6001600160a01b031614610b585760405162461bcd60e51b815260206004820152600a60248201526927b7363c9037bbb732b960b11b6044820152606401610899565b6002600755610b6883838361078a565b5050600160075550565b6107e2848484610d1b565b6060610b8a826009541190565b610ba757604051630a14c4b560e41b815260040160405180910390fd5b600060048054610bb690611597565b80601f0160208091040260200160405190810160405280929190818152602001828054610be290611597565b8015610c2f5780601f10610c0457610100808354040283529160200191610c2f565b820191906000526020600020905b815481529060010190602001808311610c1257829003601f168201915b505050505090508051600003610c545760405180602001604052806000815250610c7f565b80610c5e8461114a565b604051602001610c6f929190611714565b6040516020818303038152906040525b9392505050565b6001600160a01b039182166000908152600d6020908152604080832093909416825291909152205460ff1690565b600081600954811015610d02576000818152600a602052604081205490600160e01b82169003610d00575b80600003610c7f5750600019016000818152600a6020526040902054610cdf565b505b604051636f96cda160e11b815260040160405180910390fd5b6000610d2682610cb4565b9050836001600160a01b0316816001600160a01b031614610d595760405162a1148160e81b815260040160405180910390fd5b6000828152600c60205260408120546001600160a01b0390811691908616331480610d895750610d898633610c86565b80610d9c57506001600160a01b03821633145b905080610dbc57604051632ce44b5f60e11b815260040160405180910390fd5b8115610ddf576000848152600c6020526040902080546001600160a01b03191690555b6001600160a01b038681166000908152600b602090815260408083208054600019019055928816825282822080546001019055868252600a9052908120600160e11b4260a01b8817811790915584169003610e6a57600184016000818152600a60205260408120549003610e68576009548114610e68576000818152600a602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b6000818152600c602052604081205482916001600160a01b0390911690610eda8361097b565b90506000336001600160a01b0383161480610efa5750610efa8233610c86565b80610f0d57506001600160a01b03831633145b905080610f5c5760405162461bcd60e51b815260206004820152601760248201527f4e6f74204f776e65722c204e6f7420417070726f7665640000000000000000006044820152606401610899565b600085815260056020526040812054908190036110025760085460ff16610fc55760405162461bcd60e51b815260206004820152601960248201527f536d6f6c62697264733a206e657374696e6720636c6f736564000000000000006044820152606401610899565b6000868152600560205260408082204290555187917f84bccedf5fbad5c802864c2d64e4562a610a468ba28173bd7528588e4429eaf791a2610eac565b61100c81426116d7565b6000878152600660205260408120805490919061102a9084906116ea565b90915550506000868152600560205260408082208290555187917f657500793744fd287ed8e476832a3cb4b7aa5b931cda10bdc773a301e0e9a83191a2505050505050565b6009548260000361109257604051622e076360e81b815260040160405180910390fd5b816000036110b35760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b0383166000908152600b602090815260408083208054680100000000000000018702019055838352600a90915290204260a01b84176001841460e11b179055808083015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48082106110fe5750600955505050565b604080516080810191829052607f0190826030600a8206018353600a90045b801561118757600183039250600a81066030018353600a9004611169565b50819003601f19909101908152919050565b6000602082840312156111ab57600080fd5b81356001600160e01b031981168114610c7f57600080fd5b60005b838110156111de5781810151838201526020016111c6565b50506000910152565b60208152600082518060208401526112068160408501602087016111c3565b601f01601f19169190910160400192915050565b60006020828403121561122c57600080fd5b5035919050565b80356001600160a01b038116811461124a57600080fd5b919050565b6000806040838503121561126257600080fd5b61126b83611233565b946020939093013593505050565b60008060006060848603121561128e57600080fd5b505081359360208301359350604090920135919050565b6000806000606084860312156112ba57600080fd5b6112c384611233565b92506112d160208501611233565b9150604084013590509250925092565b8035801515811461124a57600080fd5b60006020828403121561130357600080fd5b610c7f826112e1565b6000806020838503121561131f57600080fd5b823567ffffffffffffffff8082111561133757600080fd5b818501915085601f83011261134b57600080fd5b81358181111561135a57600080fd5b8660208260051b850101111561136f57600080fd5b60209290920196919550909350505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156113b2576113b2611381565b604051601f8501601f19908116603f011681019082821181831017156113da576113da611381565b816040528093508581528686860111156113f357600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561141f57600080fd5b813567ffffffffffffffff81111561143657600080fd5b8201601f8101841361144757600080fd5b61145684823560208401611397565b949350505050565b60006020828403121561147057600080fd5b610c7f82611233565b6000806040838503121561148c57600080fd5b61149583611233565b91506114a3602084016112e1565b90509250929050565b600080600080608085870312156114c257600080fd5b6114cb85611233565b93506114d960208601611233565b925060408501359150606085013567ffffffffffffffff8111156114fc57600080fd5b8501601f8101871361150d57600080fd5b61151c87823560208401611397565b91505092959194509250565b6000806040838503121561153b57600080fd5b61154483611233565b91506114a360208401611233565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60006001820161159057611590611568565b5060010190565b600181811c908216806115ab57607f821691505b6020821081036115cb57634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561071157600081815260208120601f850160051c810160208610156115f85750805b601f850160051c820191505b81811015610eac57828155600101611604565b815167ffffffffffffffff81111561163157611631611381565b6116458161163f8454611597565b846115d1565b602080601f83116001811461167a57600084156116625750858301515b600019600386901b1c1916600185901b178555610eac565b600085815260208120601f198616915b828110156116a95788860151825594840194600190910190840161168a565b50858210156116c75787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b818103818111156105d7576105d7611568565b808201808211156105d7576105d7611568565b80820281158282048414176105d7576105d7611568565b66697066733a2f2f60c81b8152600083516117368160078501602088016111c3565b602f60f81b60079184019182015283516117578160088401602088016111c3565b64173539b7b760d91b60089290910191820152600d0194935050505056fea2646970667358221220fdcf5bb9063083bafff1dc869040ccd6367630c0c4d87fe2ad15d02bc339b30864736f6c63430008130033516d58366f71777450637769337956316761724d4e5a655a47684d395737764e48697165386e6a7168486159627a

Deployed Bytecode

0x6080604052600436106101c25760003560e01c80634ca4fdf5116100f7578063a0712d6811610095578063bf8fbbd211610064578063bf8fbbd21461051f578063c87b56dd14610535578063e985e9c514610555578063ed6661c21461057557600080fd5b8063a0712d68146104ac578063a22cb465146104bf578063aa967878146104df578063b88d4fde146104ff57600080fd5b806370a08231116100d157806370a08231146104275780638da5cb5b1461044757806395d89b411461046557806398710d1e1461049657600080fd5b80634ca4fdf5146103b55780635b70ea9f146103f25780636352211e1461040757600080fd5b806323b872dd11610164578063421745ab1161013e578063421745ab1461033557806342842e0e14610355578063469b29cd1461037557806347064d6a1461039557600080fd5b806323b872dd146102ea57806332cb6b0c1461030a5780633ccfd60b1461032057600080fd5b8063095ea7b3116101a0578063095ea7b31461026f578063129ee21a1461029157806318160ddd146102b15780632015c291146102d057600080fd5b806301ffc9a7146101c757806306fdde03146101fc578063081812fc14610237575b600080fd5b3480156101d357600080fd5b506101e76101e2366004611199565b61058b565b60405190151581526020015b60405180910390f35b34801561020857600080fd5b50604080518082019091526009815268536d6f6c626972647360b81b60208201525b6040516101f391906111e7565b34801561024357600080fd5b5061025761025236600461121a565b6105dd565b6040516001600160a01b0390911681526020016101f3565b34801561027b57600080fd5b5061028f61028a36600461124f565b610623565b005b34801561029d57600080fd5b5061028f6102ac366004611279565b6106e1565b3480156102bd57600080fd5b506009545b6040519081526020016101f3565b3480156102dc57600080fd5b506008546101e79060ff1681565b3480156102f657600080fd5b5061028f6103053660046112a5565b610706565b34801561031657600080fd5b506102c26115b381565b34801561032c57600080fd5b5061028f610716565b34801561034157600080fd5b5061028f6103503660046112f1565b610760565b34801561036157600080fd5b5061028f6103703660046112a5565b61078a565b34801561038157600080fd5b5061028f61039036600461130c565b6107a5565b3480156103a157600080fd5b5061028f6103b036600461140d565b6107e8565b3480156103c157600080fd5b506103d56103d036600461121a565b61080b565b6040805193151584526020840192909252908201526060016101f3565b3480156103fe57600080fd5b5061028f610857565b34801561041357600080fd5b5061025761042236600461121a565b61097b565b34801561043357600080fd5b506102c261044236600461145e565b610986565b34801561045357600080fd5b506000546001600160a01b0316610257565b34801561047157600080fd5b5060408051808201909152600881526714d353d31092549160c21b602082015261022a565b3480156104a257600080fd5b506102c260025481565b61028f6104ba36600461121a565b6109cf565b3480156104cb57600080fd5b5061028f6104da366004611479565b610a76565b3480156104eb57600080fd5b5061028f6104fa3660046112a5565b610b0b565b34801561050b57600080fd5b5061028f61051a3660046114ac565b610b72565b34801561052b57600080fd5b506102c260035481565b34801561054157600080fd5b5061022a61055036600461121a565b610b7d565b34801561056157600080fd5b506101e7610570366004611528565b610c86565b34801561058157600080fd5b506102c260015481565b60006301ffc9a760e01b6001600160e01b0319831614806105bc57506380ac58cd60e01b6001600160e01b03198316145b806105d75750635b5e139f60e01b6001600160e01b03198316145b92915050565b60006105ea826009541190565b610607576040516333d1c03960e21b815260040160405180910390fd5b506000908152600c60205260409020546001600160a01b031690565b600061062e82610cb4565b9050806001600160a01b0316836001600160a01b03160361064e57600080fd5b336001600160a01b03821614610685576106688133610c86565b610685576040516367d9dca160e11b815260040160405180910390fd5b6000828152600c602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000546001600160a01b031633146106f857600080fd5b600292909255600355600155565b610711838383610d1b565b505050565b6000546001600160a01b0316331461072d57600080fd5b6040514790339082156108fc029083906000818181858888f1935050505015801561075c573d6000803e3d6000fd5b5050565b6000546001600160a01b0316331461077757600080fd5b6008805460ff1916911515919091179055565b61071183838360405180602001604052806000815250610b72565b8060005b818110156107e2576107d28484838181106107c6576107c6611552565b90506020020135610eb4565b6107db8161157e565b90506107a9565b50505050565b6000546001600160a01b031633146107ff57600080fd5b600461075c8282611617565b600081815260056020526040812054819081908015610835576001935061083281426116d7565b92505b60008581526006602052604090205461084e90846116ea565b93959294505050565b333b156108a25760405162461bcd60e51b81526020600482015260146024820152731b9bc818dbdb9d1c9858dd1cc8185b1b1bddd95960621b60448201526064015b60405180910390fd5b60018054339190816108b360095490565b6108bd91906116ea565b11156108ff5760405162461bcd60e51b8152602060048201526011602482015270119c99595b5a5b9d0814dbdb190813dd5d607a1b6044820152606401610899565b6002546001600160a01b0383166000908152600b60205260409081902054610932911c67ffffffffffffffff16836116ea565b11156109715760405162461bcd60e51b815260206004820152600e60248201526d13585e081c195c8815d85b1b195d60921b6044820152606401610899565b61075c828261106f565b60006105d782610cb4565b6000816000036109a9576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600b602052604090205467ffffffffffffffff1690565b336115b3826109dd60095490565b6109e791906116ea565b1115610a205760405162461bcd60e51b815260206004820152600860248201526714dbdb190813dd5d60c21b6044820152606401610899565b3460035483610a2f91906116fd565b1115610a6c5760405162461bcd60e51b815260206004820152600c60248201526b56616c756520746f204c6f7760a01b6044820152606401610899565b61075c818361106f565b336001600160a01b03831603610a9f5760405163b06307db60e01b815260040160405180910390fd5b336000818152600d602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b33610b158261097b565b6001600160a01b031614610b585760405162461bcd60e51b815260206004820152600a60248201526927b7363c9037bbb732b960b11b6044820152606401610899565b6002600755610b6883838361078a565b5050600160075550565b6107e2848484610d1b565b6060610b8a826009541190565b610ba757604051630a14c4b560e41b815260040160405180910390fd5b600060048054610bb690611597565b80601f0160208091040260200160405190810160405280929190818152602001828054610be290611597565b8015610c2f5780601f10610c0457610100808354040283529160200191610c2f565b820191906000526020600020905b815481529060010190602001808311610c1257829003601f168201915b505050505090508051600003610c545760405180602001604052806000815250610c7f565b80610c5e8461114a565b604051602001610c6f929190611714565b6040516020818303038152906040525b9392505050565b6001600160a01b039182166000908152600d6020908152604080832093909416825291909152205460ff1690565b600081600954811015610d02576000818152600a602052604081205490600160e01b82169003610d00575b80600003610c7f5750600019016000818152600a6020526040902054610cdf565b505b604051636f96cda160e11b815260040160405180910390fd5b6000610d2682610cb4565b9050836001600160a01b0316816001600160a01b031614610d595760405162a1148160e81b815260040160405180910390fd5b6000828152600c60205260408120546001600160a01b0390811691908616331480610d895750610d898633610c86565b80610d9c57506001600160a01b03821633145b905080610dbc57604051632ce44b5f60e11b815260040160405180910390fd5b8115610ddf576000848152600c6020526040902080546001600160a01b03191690555b6001600160a01b038681166000908152600b602090815260408083208054600019019055928816825282822080546001019055868252600a9052908120600160e11b4260a01b8817811790915584169003610e6a57600184016000818152600a60205260408120549003610e68576009548114610e68576000818152600a602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b6000818152600c602052604081205482916001600160a01b0390911690610eda8361097b565b90506000336001600160a01b0383161480610efa5750610efa8233610c86565b80610f0d57506001600160a01b03831633145b905080610f5c5760405162461bcd60e51b815260206004820152601760248201527f4e6f74204f776e65722c204e6f7420417070726f7665640000000000000000006044820152606401610899565b600085815260056020526040812054908190036110025760085460ff16610fc55760405162461bcd60e51b815260206004820152601960248201527f536d6f6c62697264733a206e657374696e6720636c6f736564000000000000006044820152606401610899565b6000868152600560205260408082204290555187917f84bccedf5fbad5c802864c2d64e4562a610a468ba28173bd7528588e4429eaf791a2610eac565b61100c81426116d7565b6000878152600660205260408120805490919061102a9084906116ea565b90915550506000868152600560205260408082208290555187917f657500793744fd287ed8e476832a3cb4b7aa5b931cda10bdc773a301e0e9a83191a2505050505050565b6009548260000361109257604051622e076360e81b815260040160405180910390fd5b816000036110b35760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b0383166000908152600b602090815260408083208054680100000000000000018702019055838352600a90915290204260a01b84176001841460e11b179055808083015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48082106110fe5750600955505050565b604080516080810191829052607f0190826030600a8206018353600a90045b801561118757600183039250600a81066030018353600a9004611169565b50819003601f19909101908152919050565b6000602082840312156111ab57600080fd5b81356001600160e01b031981168114610c7f57600080fd5b60005b838110156111de5781810151838201526020016111c6565b50506000910152565b60208152600082518060208401526112068160408501602087016111c3565b601f01601f19169190910160400192915050565b60006020828403121561122c57600080fd5b5035919050565b80356001600160a01b038116811461124a57600080fd5b919050565b6000806040838503121561126257600080fd5b61126b83611233565b946020939093013593505050565b60008060006060848603121561128e57600080fd5b505081359360208301359350604090920135919050565b6000806000606084860312156112ba57600080fd5b6112c384611233565b92506112d160208501611233565b9150604084013590509250925092565b8035801515811461124a57600080fd5b60006020828403121561130357600080fd5b610c7f826112e1565b6000806020838503121561131f57600080fd5b823567ffffffffffffffff8082111561133757600080fd5b818501915085601f83011261134b57600080fd5b81358181111561135a57600080fd5b8660208260051b850101111561136f57600080fd5b60209290920196919550909350505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156113b2576113b2611381565b604051601f8501601f19908116603f011681019082821181831017156113da576113da611381565b816040528093508581528686860111156113f357600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561141f57600080fd5b813567ffffffffffffffff81111561143657600080fd5b8201601f8101841361144757600080fd5b61145684823560208401611397565b949350505050565b60006020828403121561147057600080fd5b610c7f82611233565b6000806040838503121561148c57600080fd5b61149583611233565b91506114a3602084016112e1565b90509250929050565b600080600080608085870312156114c257600080fd5b6114cb85611233565b93506114d960208601611233565b925060408501359150606085013567ffffffffffffffff8111156114fc57600080fd5b8501601f8101871361150d57600080fd5b61151c87823560208401611397565b91505092959194509250565b6000806040838503121561153b57600080fd5b61154483611233565b91506114a360208401611233565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60006001820161159057611590611568565b5060010190565b600181811c908216806115ab57607f821691505b6020821081036115cb57634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561071157600081815260208120601f850160051c810160208610156115f85750805b601f850160051c820191505b81811015610eac57828155600101611604565b815167ffffffffffffffff81111561163157611631611381565b6116458161163f8454611597565b846115d1565b602080601f83116001811461167a57600084156116625750858301515b600019600386901b1c1916600185901b178555610eac565b600085815260208120601f198616915b828110156116a95788860151825594840194600190910190840161168a565b50858210156116c75787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b818103818111156105d7576105d7611568565b808201808211156105d7576105d7611568565b80820281158282048414176105d7576105d7611568565b66697066733a2f2f60c81b8152600083516117368160078501602088016111c3565b602f60f81b60079184019182015283516117578160088401602088016111c3565b64173539b7b760d91b60089290910191820152600d0194935050505056fea2646970667358221220fdcf5bb9063083bafff1dc869040ccd6367630c0c4d87fe2ad15d02bc339b30864736f6c63430008130033

Deployed Bytecode Sourcemap

10126:25380:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19602:615;;;;;;;;;;-1:-1:-1;19602:615:0;;;;;:::i;:::-;;:::i;:::-;;;470:14:1;;463:22;445:41;;433:2;418:18;19602:615:0;;;;;;;;23809:100;;;;;;;;;;-1:-1:-1;23896:5:0;;;;;;;;;;;;-1:-1:-1;;;23896:5:0;;;;23809:100;;;;;;;:::i;25476:204::-;;;;;;;;;;-1:-1:-1;25476:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1502:32:1;;;1484:51;;1472:2;1457:18;25476:204:0;1338:203:1;24959:451:0;;;;;;;;;;-1:-1:-1;24959:451:0;;;;;:::i;:::-;;:::i;:::-;;18009:216;;;;;;;;;;-1:-1:-1;18009:216:0;;;;;:::i;:::-;;:::i;18845:300::-;;;;;;;;;;-1:-1:-1;19095:13:0;;18845:300;;;2450:25:1;;;2438:2;2423:18;18845:300:0;2304:177:1;14388:31:0;;;;;;;;;;-1:-1:-1;14388:31:0;;;;;;;;26362:190;;;;;;;;;;-1:-1:-1;26362:190:0;;;;;:::i;:::-;;:::i;10497:41::-;;;;;;;;;;;;10534:4;10497:41;;35358:145;;;;;;;;;;;;;:::i;14491:91::-;;;;;;;;;;-1:-1:-1;14491:91:0;;;;;:::i;:::-;;:::i;26623:205::-;;;;;;;;;;-1:-1:-1;26623:205:0;;;;;:::i;:::-;;:::i;15446:202::-;;;;;;;;;;-1:-1:-1;15446:202:0;;;;;:::i;:::-;;:::i;17910:91::-;;;;;;;;;;-1:-1:-1;17910:91:0;;;;;:::i;:::-;;:::i;12264:414::-;;;;;;;;;;-1:-1:-1;12264:414:0;;;;;:::i;:::-;;:::i;:::-;;;;5235:14:1;;5228:22;5210:41;;5282:2;5267:18;;5260:34;;;;5310:18;;;5303:34;5198:2;5183:18;12264:414:0;5014:329:1;11188::0;;;;;;;;;;;;;:::i;23598:144::-;;;;;;;;;;-1:-1:-1;23598:144:0;;;;;:::i;:::-;;:::i;20281:234::-;;;;;;;;;;-1:-1:-1;20281:234:0;;;;;:::i;:::-;;:::i;10196:77::-;;;;;;;;;;-1:-1:-1;10233:7:0;10259:6;-1:-1:-1;;;;;10259:6:0;10196:77;;23978:104;;;;;;;;;;-1:-1:-1;24067:7:0;;;;;;;;;;;;-1:-1:-1;;;24067:7:0;;;;23978:104;;10582:38;;;;;;;;;;;;;;;;10913:267;;;;;;:::i;:::-;;:::i;25752:308::-;;;;;;;;;;-1:-1:-1;25752:308:0;;;;;:::i;:::-;;:::i;13034:307::-;;;;;;;;;;-1:-1:-1;13034:307:0;;;;;:::i;:::-;;:::i;26899:227::-;;;;;;;;;;-1:-1:-1;26899:227:0;;;;;:::i;:::-;;:::i;10627:33::-;;;;;;;;;;;;;;;;24096:339;;;;;;;;;;-1:-1:-1;24096:339:0;;;;;:::i;:::-;;:::i;26131:164::-;;;;;;;;;;-1:-1:-1;26131:164:0;;;;;:::i;:::-;;:::i;10545:30::-;;;;;;;;;;;;;;;;19602:615;19687:4;-1:-1:-1;;;;;;;;;19987:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;20064:25:0;;;19987:102;:179;;;-1:-1:-1;;;;;;;;;;20141:25:0;;;19987:179;19967:199;19602:615;-1:-1:-1;;19602:615:0:o;25476:204::-;25544:7;25569:16;25577:7;27528:13;;-1:-1:-1;27518:23:0;27381:168;25569:16;25564:64;;25594:34;;-1:-1:-1;;;25594:34:0;;;;;;;;;;;25564:64;-1:-1:-1;25648:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;25648:24:0;;25476:204::o;24959:451::-;25032:13;25064:27;25083:7;25064:18;:27::i;:::-;25032:61;;25114:5;-1:-1:-1;;;;;25108:11:0;:2;-1:-1:-1;;;;;25108:11:0;;25104:25;;25121:8;;;25104:25;33344:10;-1:-1:-1;;;;;25146:28:0;;;25142:175;;25194:44;25211:5;33344:10;26131:164;:::i;25194:44::-;25189:128;;25266:35;;-1:-1:-1;;;25266:35:0;;;;;;;;;;;25189:128;25329:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;25329:29:0;-1:-1:-1;;;;;25329:29:0;;;;;;;;;25374:28;;25329:24;;25374:28;;;;;;;25021:389;24959:451;;:::o;18009:216::-;10322:6;;-1:-1:-1;;;;;10322:6:0;10330:10;10322:18;10314:27;;;;;;18121:19:::1;:42:::0;;;;18174:4:::1;:12:::0;18197:8:::1;:20:::0;18009:216::o;26362:190::-;26516:28;26526:4;26532:2;26536:7;26516:9;:28::i;:::-;26362:190;;;:::o;35358:145::-;10322:6;;-1:-1:-1;;;;;10322:6:0;10330:10;10322:18;10314:27;;;;;;35458:37:::1;::::0;35426:21:::1;::::0;35466:10:::1;::::0;35458:37;::::1;;;::::0;35426:21;;35408:15:::1;35458:37:::0;35408:15;35458:37;35426:21;35466:10;35458:37;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;35397:106;35358:145::o:0;14491:91::-;10322:6;;-1:-1:-1;;;;;10322:6:0;10330:10;10322:18;10314:27;;;;;;14556:11:::1;:18:::0;;-1:-1:-1;;14556:18:0::1;::::0;::::1;;::::0;;;::::1;::::0;;14491:91::o;26623:205::-;26781:39;26798:4;26804:2;26808:7;26781:39;;;;;;;;;;;;:16;:39::i;15446:202::-;15530:8;15518:9;15556:85;15580:1;15576;:5;15556:85;;;15603:26;15617:8;;15626:1;15617:11;;;;;;;:::i;:::-;;;;;;;15603:13;:26::i;:::-;15583:3;;;:::i;:::-;;;15556:85;;;;15507:141;15446:202;;:::o;17910:91::-;10322:6;;-1:-1:-1;;;;;10322:6:0;10330:10;10322:18;10314:27;;;;;;17977:8:::1;:16;17988:5:::0;17977:8;:16:::1;:::i;12264:414::-:0;12368:12;12482:23;;;:14;:23;;;;;;12368:12;;;;12520:10;;12516:105;;12557:4;;-1:-1:-1;12586:23:0;12604:5;12586:15;:23;:::i;:::-;12576:33;;12516:105;12649:21;;;;:12;:21;;;;;;12639:31;;:7;:31;:::i;:::-;12264:414;;;;-1:-1:-1;;;12264:414:0:o;11188:329::-;10413:10;:22;:24;10403:60;;;;-1:-1:-1;;;10403:60:0;;10193:2:1;10403:60:0;;;10175:21:1;10232:2;10212:18;;;10205:30;-1:-1:-1;;;10251:18:1;;;10244:50;10311:18;;10403:60:0;;;;;;;;;11304:1:::1;11352:8:::0;;33344:10;;11304:1;;11326:13:::1;19095::::0;;;18845:300;11326:13:::1;:22;;;;:::i;:::-;:34;;11318:64;;;::::0;-1:-1:-1;;;11318:64:0;;10542:2:1;11318:64:0::1;::::0;::::1;10524:21:1::0;10581:2;10561:18;;;10554:30;-1:-1:-1;;;10600:18:1;;;10593:47;10657:18;;11318:64:0::1;10340:341:1::0;11318:64:0::1;11436:19;::::0;-1:-1:-1;;;;;20686:25:0;;20658:7;20686:25;;;:18;:25;;15898:2;20686:25;;;;;11401:31:::1;::::0;20686:49;15761:13;20685:80;11401:6;:31:::1;:::i;:::-;:54;;11393:81;;;::::0;-1:-1:-1;;;11393:81:0;;10888:2:1;11393:81:0::1;::::0;::::1;10870:21:1::0;10927:2;10907:18;;;10900:30;-1:-1:-1;;;10946:18:1;;;10939:44;11000:18;;11393:81:0::1;10686:338:1::0;11393:81:0::1;11487:22;11493:7;11502:6;11487:5;:22::i;23598:144::-:0;23662:7;23705:27;23724:7;23705:18;:27::i;20281:234::-;20345:7;20387:5;20397:1;20369:29;20365:70;;20407:28;;-1:-1:-1;;;20407:28:0;;;;;;;;;;;20365:70;-1:-1:-1;;;;;;20453:25:0;;;;;:18;:25;;;;;;15761:13;20453:54;;20281:234::o;10913:267::-;33344:10;10534:4;11044:6;11028:13;19095;;;18845:300;11028:13;:22;;;;:::i;:::-;:36;;11020:57;;;;-1:-1:-1;;;11020:57:0;;11231:2:1;11020:57:0;;;11213:21:1;11270:1;11250:18;;;11243:29;-1:-1:-1;;;11288:18:1;;;11281:38;11336:18;;11020:57:0;11029:331:1;11020:57:0;11111:9;11103:4;;11096:6;:11;;;;:::i;:::-;:24;;11088:49;;;;-1:-1:-1;;;11088:49:0;;11740:2:1;11088:49:0;;;11722:21:1;11779:2;11759:18;;;11752:30;-1:-1:-1;;;11798:18:1;;;11791:42;11850:18;;11088:49:0;11538:336:1;11088:49:0;11150:22;11156:7;11165:6;11150:5;:22::i;25752:308::-;33344:10;-1:-1:-1;;;;;25851:31:0;;;25847:61;;25891:17;;-1:-1:-1;;;25891:17:0;;;;;;;;;;;25847:61;33344:10;25921:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;25921:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;25921:60:0;;;;;;;;;;25997:55;;445:41:1;;;25921:49:0;;33344:10;25997:55;;418:18:1;25997:55:0;;;;;;;25752:308;;:::o;13034:307::-;33344:10;13173:16;13181:7;13173;:16::i;:::-;-1:-1:-1;;;;;13173:39:0;;13165:62;;;;-1:-1:-1;;;13165:62:0;;12081:2:1;13165:62:0;;;12063:21:1;12120:2;12100:18;;;12093:30;-1:-1:-1;;;12139:18:1;;;12132:40;12189:18;;13165:62:0;11879:334:1;13165:62:0;13256:1;13238:15;:19;13268:35;13285:4;13291:2;13295:7;13268:16;:35::i;:::-;-1:-1:-1;;13332:1:0;13314:15;:19;-1:-1:-1;13034:307:0:o;26899:227::-;27090:28;27100:4;27106:2;27110:7;27090:9;:28::i;24096:339::-;24169:13;24200:16;24208:7;27528:13;;-1:-1:-1;27518:23:0;27381:168;24200:16;24195:59;;24225:29;;-1:-1:-1;;;24225:29:0;;;;;;;;;;;24195:59;24265:21;24289:8;24265:32;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24321:7;24315:21;24340:1;24315:26;:112;;;;;;;;;;;;;;;;;24379:7;24393:18;24403:7;24393:9;:18::i;:::-;24351:70;;;;;;;;;:::i;:::-;;;;;;;;;;;;;24315:112;24308:119;24096:339;-1:-1:-1;;;24096:339:0:o;26131:164::-;-1:-1:-1;;;;;26252:25:0;;;26228:4;26252:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;26131:164::o;21113:1129::-;21180:7;21215;21317:13;;21310:4;:20;21306:869;;;21355:14;21372:23;;;:17;:23;;;;;;;-1:-1:-1;;;21461:23:0;;:28;;21457:699;;21980:113;21987:6;21997:1;21987:11;21980:113;;-1:-1:-1;;;22058:6:0;22040:25;;;;:17;:25;;;;;;21980:113;;21457:699;21332:843;21306:869;22203:31;;-1:-1:-1;;;22203:31:0;;;;;;;;;;;29662:2557;29799:27;29829;29848:7;29829:18;:27::i;:::-;29799:57;;29914:4;-1:-1:-1;;;;;29873:45:0;29889:19;-1:-1:-1;;;;;29873:45:0;;29869:86;;29927:28;;-1:-1:-1;;;29927:28:0;;;;;;;;;;;29869:86;29968:23;29994:24;;;:15;:24;;;;;;-1:-1:-1;;;;;29994:24:0;;;;29968:23;30057:27;;33344:10;30057:27;;:91;;-1:-1:-1;30105:43:0;30122:4;33344:10;26131:164;:::i;30105:43::-;30057:150;;;-1:-1:-1;;;;;;30169:38:0;;33344:10;30169:38;30057:150;30031:177;;30226:17;30221:66;;30252:35;;-1:-1:-1;;;30252:35:0;;;;;;;;;;;30221:66;30377:15;30359:39;30355:103;;30422:24;;;;:15;:24;;;;;30415:31;;-1:-1:-1;;;;;;30415:31:0;;;30355:103;-1:-1:-1;;;;;30825:24:0;;;;;;;:18;:24;;;;;;;;30823:26;;-1:-1:-1;;30823:26:0;;;30894:22;;;;;;;;30892:24;;-1:-1:-1;30892:24:0;;;31187:26;;;:17;:26;;;;;-1:-1:-1;;;31275:15:0;16415:3;31275:41;31233:84;;:128;;31187:174;;;31481:46;;:51;;31477:626;;31585:1;31575:11;;31553:19;31708:30;;;:17;:30;;;;;;:35;;31704:384;;31846:13;;31831:11;:28;31827:242;;31993:30;;;;:17;:30;;;;;:52;;;31827:242;31534:569;31477:626;32150:7;32146:2;-1:-1:-1;;;;;32131:27:0;32140:4;-1:-1:-1;;;;;32131:27:0;;;;;;;;;;;32169:42;29786:2433;;;29662:2557;;;:::o;14659:512::-;11596:23;11622:24;;;:15;:24;;;;;;14746:7;;-1:-1:-1;;;;;11622:24:0;;;;11673:16;14746:7;11673;:16::i;:::-;11657:32;-1:-1:-1;11702:22:0;33344:10;-1:-1:-1;;;;;11728:28:0;;;;:93;;-1:-1:-1;11777:44:0;11794:5;33344:10;26131:164;:::i;11777:44::-;11728:152;;;-1:-1:-1;;;;;;11842:38:0;;33344:10;11842:38;11728:152;11702:179;;11910:17;11902:53;;;;-1:-1:-1;;;11902:53:0;;13360:2:1;11902:53:0;;;13342:21:1;13399:2;13379:18;;;13372:30;13438:25;13418:18;;;13411:53;13481:18;;11902:53:0;13158:347:1;11902:53:0;14771:13:::1;14787:23:::0;;;:14:::1;:23;::::0;;;;;;14825:10;;;14821:343:::1;;14860:11;::::0;::::1;;14852:49;;;::::0;-1:-1:-1;;;14852:49:0;;13712:2:1;14852:49:0::1;::::0;::::1;13694:21:1::0;13751:2;13731:18;;;13724:30;13790:27;13770:18;;;13763:55;13835:18;;14852:49:0::1;13510:349:1::0;14852:49:0::1;14916:23;::::0;;;:14:::1;:23;::::0;;;;;14942:15:::1;14916:41:::0;;14977:15;14931:7;;14977:15:::1;::::0;::::1;14821:343;;;15050:23;15068:5:::0;15050:15:::1;:23;:::i;:::-;15025:21;::::0;;;:12:::1;:21;::::0;;;;:48;;:21;;;:48:::1;::::0;;;::::1;:::i;:::-;::::0;;;-1:-1:-1;;15114:1:0::1;15088:23:::0;;;:14:::1;:23;::::0;;;;;:27;;;15135:17;15103:7;;15135:17:::1;::::0;::::1;14760:411;11585:390:::0;;;14659:512;;:::o;27814:1594::-;27902:13;;27948:2;27955:1;27930:26;27926:58;;27965:19;;-1:-1:-1;;;27965:19:0;;;;;;;;;;;27926:58;27999:8;28011:1;27999:13;27995:44;;28021:18;;-1:-1:-1;;;28021:18:0;;;;;;;;;;;27995:44;-1:-1:-1;;;;;28516:22:0;;;;;;:18;:22;;;;15898:2;28516:22;;;:70;;28554:31;28542:44;;28516:70;;;28829:31;;;:17;:31;;;;;28922:15;16415:3;28922:41;28880:84;;-1:-1:-1;29000:13:0;;16674:3;28985:56;28880:162;28829:213;;:31;29123:23;;;29163:111;29190:40;;29215:14;;;;;-1:-1:-1;;;;;29190:40:0;;;29207:1;;29190:40;;29207:1;;29190:40;29269:3;29254:12;:18;29163:111;;-1:-1:-1;29290:13:0;:28;26362:190;;;:::o;33468:1882::-;33939:4;33933:11;;33946:3;33929:21;;34020:17;;;;34692:11;;;34569:5;34826:2;34840;34830:13;;34822:22;34692:11;34809:36;34882:2;34872:13;;34466:661;34898:4;34466:661;;;35066:1;35061:3;35057:11;35050:18;;35110:2;35104:4;35100:13;35096:2;35092:22;35087:3;35079:36;34983:2;34973:13;;34466:661;;;-1:-1:-1;35150:13:0;;;-1:-1:-1;;35259:12:0;;;35313:19;;;35259:12;33468:1882;-1:-1:-1;33468:1882:0:o;14:286:1:-;72:6;125:2;113:9;104:7;100:23;96:32;93:52;;;141:1;138;131:12;93:52;167:23;;-1:-1:-1;;;;;;219:32:1;;209:43;;199:71;;266:1;263;256:12;497:250;582:1;592:113;606:6;603:1;600:13;592:113;;;682:11;;;676:18;663:11;;;656:39;628:2;621:10;592:113;;;-1:-1:-1;;739:1:1;721:16;;714:27;497:250::o;752:396::-;901:2;890:9;883:21;864:4;933:6;927:13;976:6;971:2;960:9;956:18;949:34;992:79;1064:6;1059:2;1048:9;1044:18;1039:2;1031:6;1027:15;992:79;:::i;:::-;1132:2;1111:15;-1:-1:-1;;1107:29:1;1092:45;;;;1139:2;1088:54;;752:396;-1:-1:-1;;752:396:1:o;1153:180::-;1212:6;1265:2;1253:9;1244:7;1240:23;1236:32;1233:52;;;1281:1;1278;1271:12;1233:52;-1:-1:-1;1304:23:1;;1153:180;-1:-1:-1;1153:180:1:o;1546:173::-;1614:20;;-1:-1:-1;;;;;1663:31:1;;1653:42;;1643:70;;1709:1;1706;1699:12;1643:70;1546:173;;;:::o;1724:254::-;1792:6;1800;1853:2;1841:9;1832:7;1828:23;1824:32;1821:52;;;1869:1;1866;1859:12;1821:52;1892:29;1911:9;1892:29;:::i;:::-;1882:39;1968:2;1953:18;;;;1940:32;;-1:-1:-1;;;1724:254:1:o;1983:316::-;2060:6;2068;2076;2129:2;2117:9;2108:7;2104:23;2100:32;2097:52;;;2145:1;2142;2135:12;2097:52;-1:-1:-1;;2168:23:1;;;2238:2;2223:18;;2210:32;;-1:-1:-1;2289:2:1;2274:18;;;2261:32;;1983:316;-1:-1:-1;1983:316:1:o;2486:328::-;2563:6;2571;2579;2632:2;2620:9;2611:7;2607:23;2603:32;2600:52;;;2648:1;2645;2638:12;2600:52;2671:29;2690:9;2671:29;:::i;:::-;2661:39;;2719:38;2753:2;2742:9;2738:18;2719:38;:::i;:::-;2709:48;;2804:2;2793:9;2789:18;2776:32;2766:42;;2486:328;;;;;:::o;2819:160::-;2884:20;;2940:13;;2933:21;2923:32;;2913:60;;2969:1;2966;2959:12;2984:180;3040:6;3093:2;3081:9;3072:7;3068:23;3064:32;3061:52;;;3109:1;3106;3099:12;3061:52;3132:26;3148:9;3132:26;:::i;3169:615::-;3255:6;3263;3316:2;3304:9;3295:7;3291:23;3287:32;3284:52;;;3332:1;3329;3322:12;3284:52;3372:9;3359:23;3401:18;3442:2;3434:6;3431:14;3428:34;;;3458:1;3455;3448:12;3428:34;3496:6;3485:9;3481:22;3471:32;;3541:7;3534:4;3530:2;3526:13;3522:27;3512:55;;3563:1;3560;3553:12;3512:55;3603:2;3590:16;3629:2;3621:6;3618:14;3615:34;;;3645:1;3642;3635:12;3615:34;3698:7;3693:2;3683:6;3680:1;3676:14;3672:2;3668:23;3664:32;3661:45;3658:65;;;3719:1;3716;3709:12;3658:65;3750:2;3742:11;;;;;3772:6;;-1:-1:-1;3169:615:1;;-1:-1:-1;;;;3169:615:1:o;3789:127::-;3850:10;3845:3;3841:20;3838:1;3831:31;3881:4;3878:1;3871:15;3905:4;3902:1;3895:15;3921:632;3986:5;4016:18;4057:2;4049:6;4046:14;4043:40;;;4063:18;;:::i;:::-;4138:2;4132:9;4106:2;4192:15;;-1:-1:-1;;4188:24:1;;;4214:2;4184:33;4180:42;4168:55;;;4238:18;;;4258:22;;;4235:46;4232:72;;;4284:18;;:::i;:::-;4324:10;4320:2;4313:22;4353:6;4344:15;;4383:6;4375;4368:22;4423:3;4414:6;4409:3;4405:16;4402:25;4399:45;;;4440:1;4437;4430:12;4399:45;4490:6;4485:3;4478:4;4470:6;4466:17;4453:44;4545:1;4538:4;4529:6;4521;4517:19;4513:30;4506:41;;;;3921:632;;;;;:::o;4558:451::-;4627:6;4680:2;4668:9;4659:7;4655:23;4651:32;4648:52;;;4696:1;4693;4686:12;4648:52;4736:9;4723:23;4769:18;4761:6;4758:30;4755:50;;;4801:1;4798;4791:12;4755:50;4824:22;;4877:4;4869:13;;4865:27;-1:-1:-1;4855:55:1;;4906:1;4903;4896:12;4855:55;4929:74;4995:7;4990:2;4977:16;4972:2;4968;4964:11;4929:74;:::i;:::-;4919:84;4558:451;-1:-1:-1;;;;4558:451:1:o;5348:186::-;5407:6;5460:2;5448:9;5439:7;5435:23;5431:32;5428:52;;;5476:1;5473;5466:12;5428:52;5499:29;5518:9;5499:29;:::i;5539:254::-;5604:6;5612;5665:2;5653:9;5644:7;5640:23;5636:32;5633:52;;;5681:1;5678;5671:12;5633:52;5704:29;5723:9;5704:29;:::i;:::-;5694:39;;5752:35;5783:2;5772:9;5768:18;5752:35;:::i;:::-;5742:45;;5539:254;;;;;:::o;5798:667::-;5893:6;5901;5909;5917;5970:3;5958:9;5949:7;5945:23;5941:33;5938:53;;;5987:1;5984;5977:12;5938:53;6010:29;6029:9;6010:29;:::i;:::-;6000:39;;6058:38;6092:2;6081:9;6077:18;6058:38;:::i;:::-;6048:48;;6143:2;6132:9;6128:18;6115:32;6105:42;;6198:2;6187:9;6183:18;6170:32;6225:18;6217:6;6214:30;6211:50;;;6257:1;6254;6247:12;6211:50;6280:22;;6333:4;6325:13;;6321:27;-1:-1:-1;6311:55:1;;6362:1;6359;6352:12;6311:55;6385:74;6451:7;6446:2;6433:16;6428:2;6424;6420:11;6385:74;:::i;:::-;6375:84;;;5798:667;;;;;;;:::o;6470:260::-;6538:6;6546;6599:2;6587:9;6578:7;6574:23;6570:32;6567:52;;;6615:1;6612;6605:12;6567:52;6638:29;6657:9;6638:29;:::i;:::-;6628:39;;6686:38;6720:2;6709:9;6705:18;6686:38;:::i;6735:127::-;6796:10;6791:3;6787:20;6784:1;6777:31;6827:4;6824:1;6817:15;6851:4;6848:1;6841:15;6867:127;6928:10;6923:3;6919:20;6916:1;6909:31;6959:4;6956:1;6949:15;6983:4;6980:1;6973:15;6999:135;7038:3;7059:17;;;7056:43;;7079:18;;:::i;:::-;-1:-1:-1;7126:1:1;7115:13;;6999:135::o;7139:380::-;7218:1;7214:12;;;;7261;;;7282:61;;7336:4;7328:6;7324:17;7314:27;;7282:61;7389:2;7381:6;7378:14;7358:18;7355:38;7352:161;;7435:10;7430:3;7426:20;7423:1;7416:31;7470:4;7467:1;7460:15;7498:4;7495:1;7488:15;7352:161;;7139:380;;;:::o;7650:545::-;7752:2;7747:3;7744:11;7741:448;;;7788:1;7813:5;7809:2;7802:17;7858:4;7854:2;7844:19;7928:2;7916:10;7912:19;7909:1;7905:27;7899:4;7895:38;7964:4;7952:10;7949:20;7946:47;;;-1:-1:-1;7987:4:1;7946:47;8042:2;8037:3;8033:12;8030:1;8026:20;8020:4;8016:31;8006:41;;8097:82;8115:2;8108:5;8105:13;8097:82;;;8160:17;;;8141:1;8130:13;8097:82;;8371:1352;8497:3;8491:10;8524:18;8516:6;8513:30;8510:56;;;8546:18;;:::i;:::-;8575:97;8665:6;8625:38;8657:4;8651:11;8625:38;:::i;:::-;8619:4;8575:97;:::i;:::-;8727:4;;8791:2;8780:14;;8808:1;8803:663;;;;9510:1;9527:6;9524:89;;;-1:-1:-1;9579:19:1;;;9573:26;9524:89;-1:-1:-1;;8328:1:1;8324:11;;;8320:24;8316:29;8306:40;8352:1;8348:11;;;8303:57;9626:81;;8773:944;;8803:663;7597:1;7590:14;;;7634:4;7621:18;;-1:-1:-1;;8839:20:1;;;8957:236;8971:7;8968:1;8965:14;8957:236;;;9060:19;;;9054:26;9039:42;;9152:27;;;;9120:1;9108:14;;;;8987:19;;8957:236;;;8961:3;9221:6;9212:7;9209:19;9206:201;;;9282:19;;;9276:26;-1:-1:-1;;9365:1:1;9361:14;;;9377:3;9357:24;9353:37;9349:42;9334:58;9319:74;;9206:201;-1:-1:-1;;;;;9453:1:1;9437:14;;;9433:22;9420:36;;-1:-1:-1;8371:1352:1:o;9728:128::-;9795:9;;;9816:11;;;9813:37;;;9830:18;;:::i;9861:125::-;9926:9;;;9947:10;;;9944:36;;;9960:18;;:::i;11365:168::-;11438:9;;;11469;;11486:15;;;11480:22;;11466:37;11456:71;;11507:18;;:::i;12218:935::-;-1:-1:-1;;;12725:3:1;12718:22;12700:3;12769:6;12763:13;12785:74;12852:6;12848:1;12843:3;12839:11;12832:4;12824:6;12820:17;12785:74;:::i;:::-;-1:-1:-1;;;12918:1:1;12878:16;;;12910:10;;;12903:23;12951:13;;12973:75;12951:13;13035:1;13027:10;;13020:4;13008:17;;12973:75;:::i;:::-;-1:-1:-1;;;13108:1:1;13067:17;;;;13100:10;;;13093:27;13144:2;13136:11;;12218:935;-1:-1:-1;;;;12218:935:1:o

Swarm Source

ipfs://fdcf5bb9063083bafff1dc869040ccd6367630c0c4d87fe2ad15d02bc339b308
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.