ETH Price: $2,432.75 (+1.50%)
 

Overview

Max Total Supply

6,537 TEENPUNK

Holders

1,992

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
4 TEENPUNK
0x7c9d85f49dde4793eca29f8342c7a8c0943c857d
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:
TeenPunks

Compiler Version
v0.8.16+commit.07a7930e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

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

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


/**
 * @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 TeenPunks is IERC721A { 

    address private _owner;
    modifier onlyOwner() { 
        require(_owner==msg.sender, "No!"); 
        _; 
    }

    bool public saleIsActive = true;

    uint256 public constant MAX_SUPPLY = 10000;
    uint256 public constant MAX_FREE_PER_WALLET = 2;
    uint256 public constant MAX_PER_WALLET = 10;
    uint256 public constant COST = 0.002 ether;

    string private constant _name = "Teen Punks";
    string private constant _symbol = "TEENPUNK";
    string private _contractURI = "QmbFiCiQNtrrsmFR8gvjBJ9ssyTU1ph4FhE1cvt4U3bj1n";
    string private _baseURI = "QmWBHPeTwq3HHDvoSg1wxeiGtUhY8EAN7pPwhk39eCbwjo";

    constructor() {
        _owner = msg.sender;
    }

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

        require(saleIsActive, "NotActive");
        require(totalSupply() + amount <= MAX_SUPPLY, "SoldOut");
        require(amount + _numberMinted(msg.sender) <= MAX_PER_WALLET+MAX_FREE_PER_WALLET, "AccLimit");
        require(msg.value >= COST*amount, "Price");

        _safeMint(_caller, amount);
    }

    function freeMint() external{
        uint256 amount = MAX_FREE_PER_WALLET;
        address _caller = _msgSenderERC721A();
        uint256 earlyBonus = 0;
        if(totalSupply()<5000){
            earlyBonus += 2;
        }

        require(saleIsActive, "NotActive");
        require(totalSupply() + amount <= MAX_SUPPLY, "SoldOut");
        require(amount + _numberMinted(msg.sender) <= MAX_FREE_PER_WALLET+earlyBonus, "AccLimit");

        _safeMint(_caller, amount+earlyBonus);
    }


    // 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 setSale(bool _saleIsActive) external onlyOwner{
        saleIsActive = _saleIsActive;
    }

    function setBaseURI(string memory _new) external onlyOwner{
        _baseURI = _new;
    }

    function setContractURI(string memory _new) external onlyOwner{
        _contractURI = _new;
    }
   

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

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

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

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

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

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

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

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

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

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

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

    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")) : "";
    }

    function contractURI() public view returns (string memory) {
        return string(abi.encodePacked("ipfs://", _contractURI));
    }

    /**
     * @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 Equivalent to `_safeMint(to, quantity, '')`.
     */
    function _safeMint(address to, uint256 quantity) internal {
        _safeMint(to, quantity, '');
    }

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

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

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 quantity) internal {
        uint256 startTokenId = _currentIndex;
        if (_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();

        //X if (_addressToUint256(to) == 0) revert TransferToZeroAddress();


        // 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":"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":"COST","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_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":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"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":[{"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":[],"name":"saleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"_new","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_new","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_saleIsActive","type":"bool"}],"name":"setSale","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":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6000805460ff60a01b1916600160a01b17905560e0604052602e608081815290620017f660a03960019062000035908262000130565b506040518060600160405280602e8152602001620017c8602e91396002906200005f908262000130565b5060006003553480156200007257600080fd5b50600080546001600160a01b03191633179055620001fc565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620000b657607f821691505b602082108103620000d757634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200012b57600081815260208120601f850160051c81016020861015620001065750805b601f850160051c820191505b81811015620001275782815560010162000112565b5050505b505050565b81516001600160401b038111156200014c576200014c6200008b565b62000164816200015d8454620000a1565b84620000dd565b602080601f8311600181146200019c5760008415620001835750858301515b600019600386901b1c1916600185901b17855562000127565b600085815260208120601f198616915b82811015620001cd57888601518255948401946001909101908401620001ac565b5085821015620001ec5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6115bc806200020c6000396000f3fe6080604052600436106101815760003560e01c80636352211e116100d1578063a22cb4651161008a578063c87b56dd11610064578063c87b56dd1461045d578063e8a3d4851461047d578063e985e9c514610492578063eb8d2444146104b257600080fd5b8063a22cb46514610402578063b88d4fde14610422578063bf8fbbd21461044257600080fd5b80636352211e1461034957806370a0823114610369578063938e3d7b1461038957806395d89b41146103a957806398710d1e146103da578063a0712d68146103ef57600080fd5b80631d2e5a3a1161013e5780633ccfd60b116101185780633ccfd60b146102df57806342842e0e146102f457806355f804b3146103145780635b70ea9f1461033457600080fd5b80631d2e5a3a1461028957806323b872dd146102a957806332cb6b0c146102c957600080fd5b806301ffc9a71461018657806306fdde03146101bb578063081812fc146101f7578063095ea7b31461022f5780630f2cdd6c1461025157806318160ddd14610274575b600080fd5b34801561019257600080fd5b506101a66101a1366004610fd9565b6104d3565b60405190151581526020015b60405180910390f35b3480156101c757600080fd5b5060408051808201909152600a8152695465656e2050756e6b7360b01b60208201525b6040516101b29190611027565b34801561020357600080fd5b5061021761021236600461105a565b610525565b6040516001600160a01b0390911681526020016101b2565b34801561023b57600080fd5b5061024f61024a36600461108f565b61056b565b005b34801561025d57600080fd5b50610266600a81565b6040519081526020016101b2565b34801561028057600080fd5b50600354610266565b34801561029557600080fd5b5061024f6102a43660046110c9565b610629565b3480156102b557600080fd5b5061024f6102c43660046110e4565b61067a565b3480156102d557600080fd5b5061026661271081565b3480156102eb57600080fd5b5061024f61068a565b34801561030057600080fd5b5061024f61030f3660046110e4565b6106e7565b34801561032057600080fd5b5061024f61032f3660046111ac565b610702565b34801561034057600080fd5b5061024f610738565b34801561035557600080fd5b5061021761036436600461105a565b61086f565b34801561037557600080fd5b506102666103843660046111fd565b61087a565b34801561039557600080fd5b5061024f6103a43660046111ac565b6108c3565b3480156103b557600080fd5b506040805180820190915260088152675445454e50554e4b60c01b60208201526101ea565b3480156103e657600080fd5b50610266600281565b61024f6103fd36600461105a565b6108f9565b34801561040e57600080fd5b5061024f61041d366004611218565b610a4d565b34801561042e57600080fd5b5061024f61043d36600461124b565b610ae2565b34801561044e57600080fd5b5061026666071afd498d000081565b34801561046957600080fd5b506101ea61047836600461105a565b610af3565b34801561048957600080fd5b506101ea610bfc565b34801561049e57600080fd5b506101a66104ad3660046112c7565b610c24565b3480156104be57600080fd5b506000546101a690600160a01b900460ff1681565b60006301ffc9a760e01b6001600160e01b03198316148061050457506380ac58cd60e01b6001600160e01b03198316145b8061051f5750635b5e139f60e01b6001600160e01b03198316145b92915050565b6000610532826003541190565b61054f576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061057682610c52565b9050806001600160a01b0316836001600160a01b03160361059657600080fd5b336001600160a01b038216146105cd576105b08133610c24565b6105cd576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000546001600160a01b0316331461065c5760405162461bcd60e51b8152600401610653906112f1565b60405180910390fd5b60008054911515600160a01b0260ff60a01b19909216919091179055565b610685838383610cb9565b505050565b6000546001600160a01b031633146106b45760405162461bcd60e51b8152600401610653906112f1565b6040514790339082156108fc029083906000818181858888f193505050501580156106e3573d6000803e3d6000fd5b5050565b61068583838360405180602001604052806000815250610ae2565b6000546001600160a01b0316331461072c5760405162461bcd60e51b8152600401610653906112f1565b60026106e3828261138e565b600233600061138861074960035490565b101561075d5761075a600282611464565b90505b600054600160a01b900460ff166107a25760405162461bcd60e51b81526020600482015260096024820152684e6f7441637469766560b81b6044820152606401610653565b612710836107af60035490565b6107b99190611464565b11156107f15760405162461bcd60e51b815260206004820152600760248201526614dbdb1913dd5d60ca1b6044820152606401610653565b6107fc816002611464565b336000908152600560205260409081902054610823911c67ffffffffffffffff1685611464565b111561085c5760405162461bcd60e51b81526020600482015260086024820152671058d8d31a5b5a5d60c21b6044820152606401610653565b6106858261086a8386611464565b610e52565b600061051f82610c52565b60008160000361089d576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6000546001600160a01b031633146108ed5760405162461bcd60e51b8152600401610653906112f1565b60016106e3828261138e565b6000543390600160a01b900460ff166109405760405162461bcd60e51b81526020600482015260096024820152684e6f7441637469766560b81b6044820152606401610653565b6127108261094d60035490565b6109579190611464565b111561098f5760405162461bcd60e51b815260206004820152600760248201526614dbdb1913dd5d60ca1b6044820152606401610653565b61099b6002600a611464565b3360009081526005602052604090819020546109c2911c67ffffffffffffffff1684611464565b11156109fb5760405162461bcd60e51b81526020600482015260086024820152671058d8d31a5b5a5d60c21b6044820152606401610653565b610a0c8266071afd498d0000611477565b341015610a435760405162461bcd60e51b8152602060048201526005602482015264507269636560d81b6044820152606401610653565b6106e38183610e52565b336001600160a01b03831603610a765760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610aed848484610cb9565b50505050565b6060610b00826003541190565b610b1d57604051630a14c4b560e41b815260040160405180910390fd5b600060028054610b2c9061130e565b80601f0160208091040260200160405190810160405280929190818152602001828054610b589061130e565b8015610ba55780601f10610b7a57610100808354040283529160200191610ba5565b820191906000526020600020905b815481529060010190602001808311610b8857829003601f168201915b505050505090508051600003610bca5760405180602001604052806000815250610bf5565b80610bd484610e6c565b604051602001610be5929190611496565b6040516020818303038152906040525b9392505050565b60606001604051602001610c1091906114f7565b604051602081830303815290604052905090565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b600081600354811015610ca05760008181526004602052604081205490600160e01b82169003610c9e575b80600003610bf5575060001901600081815260046020526040902054610c7d565b505b604051636f96cda160e11b815260040160405180910390fd5b6000610cc482610c52565b9050836001600160a01b0316816001600160a01b031614610cf75760405162a1148160e81b815260040160405180910390fd5b6000828152600660205260408120546001600160a01b0390811691908616331480610d275750610d278633610c24565b80610d3a57506001600160a01b03821633145b905080610d5a57604051632ce44b5f60e11b815260040160405180910390fd5b8115610d7d57600084815260066020526040902080546001600160a01b03191690555b6001600160a01b038681166000908152600560209081526040808320805460001901905592881682528282208054600101905586825260049052908120600160e11b4260a01b8817811790915584169003610e0857600184016000818152600460205260408120549003610e06576003548114610e065760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b6106e3828260405180602001604052806000815250610ebb565b604080516080810191829052607f0190826030600a8206018353600a90045b8015610ea957600183039250600a81066030018353600a9004610e8b565b50819003601f19909101908152919050565b6003546000839003610ee05760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03841660008181526005602090815260408083208054680100000000000000018902019055848352600490915290204260a01b86176001861460e11b1790558190818501903b15610f85575b60405182906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210610f33578260035414610f8057600080fd5b610fca565b5b6040516001830192906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210610f86575b50600355610aed600085838684565b600060208284031215610feb57600080fd5b81356001600160e01b031981168114610bf557600080fd5b60005b8381101561101e578181015183820152602001611006565b50506000910152565b6020815260008251806020840152611046816040850160208701611003565b601f01601f19169190910160400192915050565b60006020828403121561106c57600080fd5b5035919050565b80356001600160a01b038116811461108a57600080fd5b919050565b600080604083850312156110a257600080fd5b6110ab83611073565b946020939093013593505050565b8035801515811461108a57600080fd5b6000602082840312156110db57600080fd5b610bf5826110b9565b6000806000606084860312156110f957600080fd5b61110284611073565b925061111060208501611073565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561115157611151611120565b604051601f8501601f19908116603f0116810190828211818310171561117957611179611120565b8160405280935085815286868601111561119257600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156111be57600080fd5b813567ffffffffffffffff8111156111d557600080fd5b8201601f810184136111e657600080fd5b6111f584823560208401611136565b949350505050565b60006020828403121561120f57600080fd5b610bf582611073565b6000806040838503121561122b57600080fd5b61123483611073565b9150611242602084016110b9565b90509250929050565b6000806000806080858703121561126157600080fd5b61126a85611073565b935061127860208601611073565b925060408501359150606085013567ffffffffffffffff81111561129b57600080fd5b8501601f810187136112ac57600080fd5b6112bb87823560208401611136565b91505092959194509250565b600080604083850312156112da57600080fd5b6112e383611073565b915061124260208401611073565b6020808252600390820152624e6f2160e81b604082015260600190565b600181811c9082168061132257607f821691505b60208210810361134257634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561068557600081815260208120601f850160051c8101602086101561136f5750805b601f850160051c820191505b81811015610e4a5782815560010161137b565b815167ffffffffffffffff8111156113a8576113a8611120565b6113bc816113b6845461130e565b84611348565b602080601f8311600181146113f157600084156113d95750858301515b600019600386901b1c1916600185901b178555610e4a565b600085815260208120601f198616915b8281101561142057888601518255948401946001909101908401611401565b508582101561143e5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b8082018082111561051f5761051f61144e565b60008160001904831182151516156114915761149161144e565b500290565b66697066733a2f2f60c81b8152600083516114b8816007850160208801611003565b602f60f81b60079184019182015283516114d9816008840160208801611003565b64173539b7b760d91b60089290910191820152600d01949350505050565b66697066733a2f2f60c81b815260006007600084546115158161130e565b6001828116801561152d576001811461154657611579565b60ff198416888701528215158302880186019450611579565b8860005260208060002060005b8581101561156e5781548b82018a0152908401908201611553565b505050858389010194505b509297965050505050505056fea2646970667358221220b737ef29f958ec0fde96a22a608982a726b6a1c93a7c6000005be0460bee5e2864736f6c63430008100033516d574248506554777133484844766f5367317778656947745568593845414e37705077686b3339654362776a6f516d6246694369514e747272736d46523867766a424a3973737954553170683446684531637674345533626a316e

Deployed Bytecode

0x6080604052600436106101815760003560e01c80636352211e116100d1578063a22cb4651161008a578063c87b56dd11610064578063c87b56dd1461045d578063e8a3d4851461047d578063e985e9c514610492578063eb8d2444146104b257600080fd5b8063a22cb46514610402578063b88d4fde14610422578063bf8fbbd21461044257600080fd5b80636352211e1461034957806370a0823114610369578063938e3d7b1461038957806395d89b41146103a957806398710d1e146103da578063a0712d68146103ef57600080fd5b80631d2e5a3a1161013e5780633ccfd60b116101185780633ccfd60b146102df57806342842e0e146102f457806355f804b3146103145780635b70ea9f1461033457600080fd5b80631d2e5a3a1461028957806323b872dd146102a957806332cb6b0c146102c957600080fd5b806301ffc9a71461018657806306fdde03146101bb578063081812fc146101f7578063095ea7b31461022f5780630f2cdd6c1461025157806318160ddd14610274575b600080fd5b34801561019257600080fd5b506101a66101a1366004610fd9565b6104d3565b60405190151581526020015b60405180910390f35b3480156101c757600080fd5b5060408051808201909152600a8152695465656e2050756e6b7360b01b60208201525b6040516101b29190611027565b34801561020357600080fd5b5061021761021236600461105a565b610525565b6040516001600160a01b0390911681526020016101b2565b34801561023b57600080fd5b5061024f61024a36600461108f565b61056b565b005b34801561025d57600080fd5b50610266600a81565b6040519081526020016101b2565b34801561028057600080fd5b50600354610266565b34801561029557600080fd5b5061024f6102a43660046110c9565b610629565b3480156102b557600080fd5b5061024f6102c43660046110e4565b61067a565b3480156102d557600080fd5b5061026661271081565b3480156102eb57600080fd5b5061024f61068a565b34801561030057600080fd5b5061024f61030f3660046110e4565b6106e7565b34801561032057600080fd5b5061024f61032f3660046111ac565b610702565b34801561034057600080fd5b5061024f610738565b34801561035557600080fd5b5061021761036436600461105a565b61086f565b34801561037557600080fd5b506102666103843660046111fd565b61087a565b34801561039557600080fd5b5061024f6103a43660046111ac565b6108c3565b3480156103b557600080fd5b506040805180820190915260088152675445454e50554e4b60c01b60208201526101ea565b3480156103e657600080fd5b50610266600281565b61024f6103fd36600461105a565b6108f9565b34801561040e57600080fd5b5061024f61041d366004611218565b610a4d565b34801561042e57600080fd5b5061024f61043d36600461124b565b610ae2565b34801561044e57600080fd5b5061026666071afd498d000081565b34801561046957600080fd5b506101ea61047836600461105a565b610af3565b34801561048957600080fd5b506101ea610bfc565b34801561049e57600080fd5b506101a66104ad3660046112c7565b610c24565b3480156104be57600080fd5b506000546101a690600160a01b900460ff1681565b60006301ffc9a760e01b6001600160e01b03198316148061050457506380ac58cd60e01b6001600160e01b03198316145b8061051f5750635b5e139f60e01b6001600160e01b03198316145b92915050565b6000610532826003541190565b61054f576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061057682610c52565b9050806001600160a01b0316836001600160a01b03160361059657600080fd5b336001600160a01b038216146105cd576105b08133610c24565b6105cd576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000546001600160a01b0316331461065c5760405162461bcd60e51b8152600401610653906112f1565b60405180910390fd5b60008054911515600160a01b0260ff60a01b19909216919091179055565b610685838383610cb9565b505050565b6000546001600160a01b031633146106b45760405162461bcd60e51b8152600401610653906112f1565b6040514790339082156108fc029083906000818181858888f193505050501580156106e3573d6000803e3d6000fd5b5050565b61068583838360405180602001604052806000815250610ae2565b6000546001600160a01b0316331461072c5760405162461bcd60e51b8152600401610653906112f1565b60026106e3828261138e565b600233600061138861074960035490565b101561075d5761075a600282611464565b90505b600054600160a01b900460ff166107a25760405162461bcd60e51b81526020600482015260096024820152684e6f7441637469766560b81b6044820152606401610653565b612710836107af60035490565b6107b99190611464565b11156107f15760405162461bcd60e51b815260206004820152600760248201526614dbdb1913dd5d60ca1b6044820152606401610653565b6107fc816002611464565b336000908152600560205260409081902054610823911c67ffffffffffffffff1685611464565b111561085c5760405162461bcd60e51b81526020600482015260086024820152671058d8d31a5b5a5d60c21b6044820152606401610653565b6106858261086a8386611464565b610e52565b600061051f82610c52565b60008160000361089d576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6000546001600160a01b031633146108ed5760405162461bcd60e51b8152600401610653906112f1565b60016106e3828261138e565b6000543390600160a01b900460ff166109405760405162461bcd60e51b81526020600482015260096024820152684e6f7441637469766560b81b6044820152606401610653565b6127108261094d60035490565b6109579190611464565b111561098f5760405162461bcd60e51b815260206004820152600760248201526614dbdb1913dd5d60ca1b6044820152606401610653565b61099b6002600a611464565b3360009081526005602052604090819020546109c2911c67ffffffffffffffff1684611464565b11156109fb5760405162461bcd60e51b81526020600482015260086024820152671058d8d31a5b5a5d60c21b6044820152606401610653565b610a0c8266071afd498d0000611477565b341015610a435760405162461bcd60e51b8152602060048201526005602482015264507269636560d81b6044820152606401610653565b6106e38183610e52565b336001600160a01b03831603610a765760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610aed848484610cb9565b50505050565b6060610b00826003541190565b610b1d57604051630a14c4b560e41b815260040160405180910390fd5b600060028054610b2c9061130e565b80601f0160208091040260200160405190810160405280929190818152602001828054610b589061130e565b8015610ba55780601f10610b7a57610100808354040283529160200191610ba5565b820191906000526020600020905b815481529060010190602001808311610b8857829003601f168201915b505050505090508051600003610bca5760405180602001604052806000815250610bf5565b80610bd484610e6c565b604051602001610be5929190611496565b6040516020818303038152906040525b9392505050565b60606001604051602001610c1091906114f7565b604051602081830303815290604052905090565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b600081600354811015610ca05760008181526004602052604081205490600160e01b82169003610c9e575b80600003610bf5575060001901600081815260046020526040902054610c7d565b505b604051636f96cda160e11b815260040160405180910390fd5b6000610cc482610c52565b9050836001600160a01b0316816001600160a01b031614610cf75760405162a1148160e81b815260040160405180910390fd5b6000828152600660205260408120546001600160a01b0390811691908616331480610d275750610d278633610c24565b80610d3a57506001600160a01b03821633145b905080610d5a57604051632ce44b5f60e11b815260040160405180910390fd5b8115610d7d57600084815260066020526040902080546001600160a01b03191690555b6001600160a01b038681166000908152600560209081526040808320805460001901905592881682528282208054600101905586825260049052908120600160e11b4260a01b8817811790915584169003610e0857600184016000818152600460205260408120549003610e06576003548114610e065760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b6106e3828260405180602001604052806000815250610ebb565b604080516080810191829052607f0190826030600a8206018353600a90045b8015610ea957600183039250600a81066030018353600a9004610e8b565b50819003601f19909101908152919050565b6003546000839003610ee05760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03841660008181526005602090815260408083208054680100000000000000018902019055848352600490915290204260a01b86176001861460e11b1790558190818501903b15610f85575b60405182906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210610f33578260035414610f8057600080fd5b610fca565b5b6040516001830192906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210610f86575b50600355610aed600085838684565b600060208284031215610feb57600080fd5b81356001600160e01b031981168114610bf557600080fd5b60005b8381101561101e578181015183820152602001611006565b50506000910152565b6020815260008251806020840152611046816040850160208701611003565b601f01601f19169190910160400192915050565b60006020828403121561106c57600080fd5b5035919050565b80356001600160a01b038116811461108a57600080fd5b919050565b600080604083850312156110a257600080fd5b6110ab83611073565b946020939093013593505050565b8035801515811461108a57600080fd5b6000602082840312156110db57600080fd5b610bf5826110b9565b6000806000606084860312156110f957600080fd5b61110284611073565b925061111060208501611073565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561115157611151611120565b604051601f8501601f19908116603f0116810190828211818310171561117957611179611120565b8160405280935085815286868601111561119257600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156111be57600080fd5b813567ffffffffffffffff8111156111d557600080fd5b8201601f810184136111e657600080fd5b6111f584823560208401611136565b949350505050565b60006020828403121561120f57600080fd5b610bf582611073565b6000806040838503121561122b57600080fd5b61123483611073565b9150611242602084016110b9565b90509250929050565b6000806000806080858703121561126157600080fd5b61126a85611073565b935061127860208601611073565b925060408501359150606085013567ffffffffffffffff81111561129b57600080fd5b8501601f810187136112ac57600080fd5b6112bb87823560208401611136565b91505092959194509250565b600080604083850312156112da57600080fd5b6112e383611073565b915061124260208401611073565b6020808252600390820152624e6f2160e81b604082015260600190565b600181811c9082168061132257607f821691505b60208210810361134257634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561068557600081815260208120601f850160051c8101602086101561136f5750805b601f850160051c820191505b81811015610e4a5782815560010161137b565b815167ffffffffffffffff8111156113a8576113a8611120565b6113bc816113b6845461130e565b84611348565b602080601f8311600181146113f157600084156113d95750858301515b600019600386901b1c1916600185901b178555610e4a565b600085815260208120601f198616915b8281101561142057888601518255948401946001909101908401611401565b508582101561143e5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b8082018082111561051f5761051f61144e565b60008160001904831182151516156114915761149161144e565b500290565b66697066733a2f2f60c81b8152600083516114b8816007850160208801611003565b602f60f81b60079184019182015283516114d9816008840160208801611003565b64173539b7b760d91b60089290910191820152600d01949350505050565b66697066733a2f2f60c81b815260006007600084546115158161130e565b6001828116801561152d576001811461154657611579565b60ff198416888701528215158302880186019450611579565b8860005260208060002060005b8581101561156e5781548b82018a0152908401908201611553565b505050858389010194505b509297965050505050505056fea2646970667358221220b737ef29f958ec0fde96a22a608982a726b6a1c93a7c6000005be0460bee5e2864736f6c63430008100033

Deployed Bytecode Sourcemap

9018:24843:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14635:615;;;;;;;;;;-1:-1:-1;14635:615:0;;;;;:::i;:::-;;:::i;:::-;;;470:14:1;;463:22;445:41;;433:2;418:18;14635:615:0;;;;;;;;19388:100;;;;;;;;;;-1:-1:-1;19475:5:0;;;;;;;;;;;;-1:-1:-1;;;19475:5:0;;;;19388:100;;;;;;;:::i;21191:204::-;;;;;;;;;;-1:-1:-1;21191:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1502:32:1;;;1484:51;;1472:2;1457:18;21191:204:0;1338:203:1;20674:451:0;;;;;;;;;;-1:-1:-1;20674:451:0;;;;;:::i;:::-;;:::i;:::-;;9328:43;;;;;;;;;;;;9369:2;9328:43;;;;;2129:25:1;;;2117:2;2102:18;9328:43:0;1983:177:1;13878:300:0;;;;;;;;;;-1:-1:-1;14128:13:0;;13878:300;;12943:102;;;;;;;;;;-1:-1:-1;12943:102:0;;;;;:::i;:::-;;:::i;22077:190::-;;;;;;;;;;-1:-1:-1;22077:190:0;;;;;:::i;:::-;;:::i;9225:42::-;;;;;;;;;;;;9262:5;9225:42;;33713:145;;;;;;;;;;;;;:::i;22338:205::-;;;;;;;;;;-1:-1:-1;22338:205:0;;;;;:::i;:::-;;:::i;13053:92::-;;;;;;;;;;-1:-1:-1;13053:92:0;;;;;:::i;:::-;;:::i;10179:502::-;;;;;;;;;;;;;:::i;19177:144::-;;;;;;;;;;-1:-1:-1;19177:144:0;;;;;:::i;:::-;;:::i;15314:234::-;;;;;;;;;;-1:-1:-1;15314:234:0;;;;;:::i;:::-;;:::i;13153:100::-;;;;;;;;;;-1:-1:-1;13153:100:0;;;;;:::i;:::-;;:::i;19557:104::-;;;;;;;;;;-1:-1:-1;19646:7:0;;;;;;;;;;;;-1:-1:-1;;;19646:7:0;;;;19557:104;;9274:47;;;;;;;;;;;;9320:1;9274:47;;9759:412;;;;;;:::i;:::-;;:::i;21467:308::-;;;;;;;;;;-1:-1:-1;21467:308:0;;;;;:::i;:::-;;:::i;22614:227::-;;;;;;;;;;-1:-1:-1;22614:227:0;;;;;:::i;:::-;;:::i;9378:42::-;;;;;;;;;;;;9409:11;9378:42;;19669:339;;;;;;;;;;-1:-1:-1;19669:339:0;;;;;:::i;:::-;;:::i;20016:134::-;;;;;;;;;;;;;:::i;21846:164::-;;;;;;;;;;-1:-1:-1;21846:164:0;;;;;:::i;:::-;;:::i;9185:31::-;;;;;;;;;;-1:-1:-1;9185:31:0;;;;-1:-1:-1;;;9185:31:0;;;;;;14635:615;14720:4;-1:-1:-1;;;;;;;;;15020:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;15097:25:0;;;15020:102;:179;;;-1:-1:-1;;;;;;;;;;15174:25:0;;;15020:179;15000:199;14635:615;-1:-1:-1;;14635:615:0:o;21191:204::-;21259:7;21284:16;21292:7;23243:13;;-1:-1:-1;23233:23:0;23096:168;21284:16;21279:64;;21309:34;;-1:-1:-1;;;21309:34:0;;;;;;;;;;;21279:64;-1:-1:-1;21363:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;21363:24:0;;21191:204::o;20674:451::-;20747:13;20779:27;20798:7;20779:18;:27::i;:::-;20747:61;;20829:5;-1:-1:-1;;;;;20823:11:0;:2;-1:-1:-1;;;;;20823:11:0;;20819:25;;20836:8;;;20819:25;31691:10;-1:-1:-1;;;;;20861:28:0;;;20857:175;;20909:44;20926:5;31691:10;21846:164;:::i;20909:44::-;20904:128;;20981:35;;-1:-1:-1;;;20981:35:0;;;;;;;;;;;20904:128;21044:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;21044:29:0;-1:-1:-1;;;;;21044:29:0;;;;;;;;;21089:28;;21044:24;;21089:28;;;;;;;20736:389;20674:451;;:::o;12943:102::-;9129:6;;-1:-1:-1;;;;;9129:6:0;9137:10;9129:18;9121:34;;;;-1:-1:-1;;;9121:34:0;;;;;;;:::i;:::-;;;;;;;;;13009:12:::1;:28:::0;;;::::1;;-1:-1:-1::0;;;13009:28:0::1;-1:-1:-1::0;;;;13009:28:0;;::::1;::::0;;;::::1;::::0;;12943:102::o;22077:190::-;22231:28;22241:4;22247:2;22251:7;22231:9;:28::i;:::-;22077:190;;;:::o;33713:145::-;9129:6;;-1:-1:-1;;;;;9129:6:0;9137:10;9129:18;9121:34;;;;-1:-1:-1;;;9121:34:0;;;;;;;:::i;:::-;33813:37:::1;::::0;33781:21:::1;::::0;33821:10:::1;::::0;33813:37;::::1;;;::::0;33781:21;;33763:15:::1;33813:37:::0;33763:15;33813:37;33781:21;33821:10;33813:37;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;33752:106;33713:145::o:0;22338:205::-;22496:39;22513:4;22519:2;22523:7;22496:39;;;;;;;;;;;;:16;:39::i;13053:92::-;9129:6;;-1:-1:-1;;;;;9129:6:0;9137:10;9129:18;9121:34;;;;-1:-1:-1;;;9121:34:0;;;;;;;:::i;:::-;13122:8:::1;:15;13133:4:::0;13122:8;:15:::1;:::i;10179:502::-:0;9320:1;31691:10;10218:14;10363:4;10349:13;14128;;;13878:300;10349:13;:18;10346:64;;;10383:15;10397:1;10383:15;;:::i;:::-;;;10346:64;10430:12;;-1:-1:-1;;;10430:12:0;;;;10422:34;;;;-1:-1:-1;;;10422:34:0;;8844:2:1;10422:34:0;;;8826:21:1;8883:1;8863:18;;;8856:29;-1:-1:-1;;;8901:18:1;;;8894:39;8950:18;;10422:34:0;8642:332:1;10422:34:0;9262:5;10491:6;10475:13;14128;;;13878:300;10475:13;:22;;;;:::i;:::-;:36;;10467:56;;;;-1:-1:-1;;;10467:56:0;;9181:2:1;10467:56:0;;;9163:21:1;9220:1;9200:18;;;9193:29;-1:-1:-1;;;9238:18:1;;;9231:37;9285:18;;10467:56:0;8979:330:1;10467:56:0;10580:30;10600:10;9320:1;10580:30;:::i;:::-;10565:10;15691:7;15719:25;;;:18;:25;;10931:2;15719:25;;;;;10542:34;;15719:49;10794:13;15718:80;10542:6;:34;:::i;:::-;:68;;10534:89;;;;-1:-1:-1;;;10534:89:0;;9516:2:1;10534:89:0;;;9498:21:1;9555:1;9535:18;;;9528:29;-1:-1:-1;;;9573:18:1;;;9566:38;9621:18;;10534:89:0;9314:331:1;10534:89:0;10636:37;10646:7;10655:17;10662:10;10655:6;:17;:::i;:::-;10636:9;:37::i;19177:144::-;19241:7;19284:27;19303:7;19284:18;:27::i;15314:234::-;15378:7;15420:5;15430:1;15402:29;15398:70;;15440:28;;-1:-1:-1;;;15440:28:0;;;;;;;;;;;15398:70;-1:-1:-1;;;;;;15486:25:0;;;;;:18;:25;;;;;;10794:13;15486:54;;15314:234::o;13153:100::-;9129:6;;-1:-1:-1;;;;;9129:6:0;9137:10;9129:18;9121:34;;;;-1:-1:-1;;;9121:34:0;;;;;;;:::i;:::-;13226:12:::1;:19;13241:4:::0;13226:12;:19:::1;:::i;9759:412::-:0;9816:15;9874:12;31691:10;;-1:-1:-1;;;9874:12:0;;;;9866:34;;;;-1:-1:-1;;;9866:34:0;;8844:2:1;9866:34:0;;;8826:21:1;8883:1;8863:18;;;8856:29;-1:-1:-1;;;8901:18:1;;;8894:39;8950:18;;9866:34:0;8642:332:1;9866:34:0;9262:5;9935:6;9919:13;14128;;;13878:300;9919:13;:22;;;;:::i;:::-;:36;;9911:56;;;;-1:-1:-1;;;9911:56:0;;9181:2:1;9911:56:0;;;9163:21:1;9220:1;9200:18;;;9193:29;-1:-1:-1;;;9238:18:1;;;9231:37;9285:18;;9911:56:0;8979:330:1;9911:56:0;10024:34;9320:1;9369:2;10024:34;:::i;:::-;10009:10;15691:7;15719:25;;;:18;:25;;10931:2;15719:25;;;;;9986:34;;15719:49;10794:13;15718:80;9986:6;:34;:::i;:::-;:72;;9978:93;;;;-1:-1:-1;;;9978:93:0;;9516:2:1;9978:93:0;;;9498:21:1;9555:1;9535:18;;;9528:29;-1:-1:-1;;;9573:18:1;;;9566:38;9621:18;;9978:93:0;9314:331:1;9978:93:0;10103:11;10108:6;9409:11;10103;:::i;:::-;10090:9;:24;;10082:42;;;;-1:-1:-1;;;10082:42:0;;10025:2:1;10082:42:0;;;10007:21:1;10064:1;10044:18;;;10037:29;-1:-1:-1;;;10082:18:1;;;10075:35;10127:18;;10082:42:0;9823:328:1;10082:42:0;10137:26;10147:7;10156:6;10137:9;:26::i;21467:308::-;31691:10;-1:-1:-1;;;;;21566:31:0;;;21562:61;;21606:17;;-1:-1:-1;;;21606:17:0;;;;;;;;;;;21562:61;31691:10;21636:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;21636:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;21636:60:0;;;;;;;;;;21712:55;;445:41:1;;;21636:49:0;;31691:10;21712:55;;418:18:1;21712:55:0;;;;;;;21467:308;;:::o;22614:227::-;22805:28;22815:4;22821:2;22825:7;22805:9;:28::i;:::-;22614:227;;;;:::o;19669:339::-;19742:13;19773:16;19781:7;23243:13;;-1:-1:-1;23233:23:0;23096:168;19773:16;19768:59;;19798:29;;-1:-1:-1;;;19798:29:0;;;;;;;;;;;19768:59;19838:21;19862:8;19838:32;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19894:7;19888:21;19913:1;19888:26;:112;;;;;;;;;;;;;;;;;19952:7;19966:18;19976:7;19966:9;:18::i;:::-;19924:70;;;;;;;;;:::i;:::-;;;;;;;;;;;;;19888:112;19881:119;19669:339;-1:-1:-1;;;19669:339:0:o;20016:134::-;20060:13;20128:12;20100:41;;;;;;;;:::i;:::-;;;;;;;;;;;;;20086:56;;20016:134;:::o;21846:164::-;-1:-1:-1;;;;;21967:25:0;;;21943:4;21967:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;21846:164::o;16692:1129::-;16759:7;16794;16896:13;;16889:4;:20;16885:869;;;16934:14;16951:23;;;:17;:23;;;;;;;-1:-1:-1;;;17040:23:0;;:28;;17036:699;;17559:113;17566:6;17576:1;17566:11;17559:113;;-1:-1:-1;;;17637:6:0;17619:25;;;;:17;:25;;;;;;17559:113;;17036:699;16911:843;16885:869;17782:31;;-1:-1:-1;;;17782:31:0;;;;;;;;;;;27930:2636;28067:27;28097;28116:7;28097:18;:27::i;:::-;28067:57;;28182:4;-1:-1:-1;;;;;28141:45:0;28157:19;-1:-1:-1;;;;;28141:45:0;;28137:86;;28195:28;;-1:-1:-1;;;28195:28:0;;;;;;;;;;;28137:86;28236:23;28262:24;;;:15;:24;;;;;;-1:-1:-1;;;;;28262:24:0;;;;28236:23;28325:27;;31691:10;28325:27;;:91;;-1:-1:-1;28373:43:0;28390:4;31691:10;21846:164;:::i;28373:43::-;28325:150;;;-1:-1:-1;;;;;;28437:38:0;;31691:10;28437:38;28325:150;28299:177;;28494:17;28489:66;;28520:35;;-1:-1:-1;;;28520:35:0;;;;;;;;;;;28489:66;28724:15;28706:39;28702:103;;28769:24;;;;:15;:24;;;;;28762:31;;-1:-1:-1;;;;;;28762:31:0;;;28702:103;-1:-1:-1;;;;;29172:24:0;;;;;;;:18;:24;;;;;;;;29170:26;;-1:-1:-1;;29170:26:0;;;29241:22;;;;;;;;29239:24;;-1:-1:-1;29239:24:0;;;29534:26;;;:17;:26;;;;;-1:-1:-1;;;29622:15:0;11448:3;29622:41;29580:84;;:128;;29534:174;;;29828:46;;:51;;29824:626;;29932:1;29922:11;;29900:19;30055:30;;;:17;:30;;;;;;:35;;30051:384;;30193:13;;30178:11;:28;30174:242;;30340:30;;;;:17;:30;;;;;:52;;;30174:242;29881:569;29824:626;30497:7;30493:2;-1:-1:-1;;;;;30478:27:0;30487:4;-1:-1:-1;;;;;30478:27:0;;;;;;;;;;;30516:42;28054:2512;;;27930:2636;;;:::o;23348:104::-;23417:27;23427:2;23431:8;23417:27;;;;;;;;;;;;:9;:27::i;31815:1882::-;32286:4;32280:11;;32293:3;32276:21;;32367:17;;;;33039:11;;;32916:5;33173:2;33187;33177:13;;33169:22;33039:11;33156:36;33229:2;33219:13;;32813:661;33245:4;32813:661;;;33413:1;33408:3;33404:11;33397:18;;33457:2;33451:4;33447:13;33443:2;33439:22;33434:3;33426:36;33330:2;33320:13;;32813:661;;;-1:-1:-1;33497:13:0;;;-1:-1:-1;;33606:12:0;;;33660:19;;;33606:12;31815:1882;-1:-1:-1;31815:1882:0:o;23823:2000::-;23989:13;;23966:20;24088:13;;;24084:44;;24110:18;;-1:-1:-1;;;24110:18:0;;;;;;;;;;;24084:44;-1:-1:-1;;;;;24605:22:0;;;;;;:18;:22;;;;10931:2;24605:22;;;:70;;24643:31;24631:44;;24605:70;;;24918:31;;;:17;:31;;;;;25011:15;11448:3;25011:41;24969:84;;-1:-1:-1;25089:13:0;;11707:3;25074:56;24969:162;24918:213;;:31;;25212:23;;;;25256:14;:19;25252:439;;25296:117;25327:38;;25352:12;;-1:-1:-1;;;;;25327:38:0;;;25344:1;;25327:38;;25344:1;;25327:38;25408:3;25393:12;:18;25296:117;;25494:12;25477:13;;:29;25473:43;;25508:8;;;25473:43;25252:439;;;25557:119;25588:40;;25613:14;;;;;-1:-1:-1;;;;;25588:40:0;;;25605:1;;25588:40;;25605:1;;25588:40;25671:3;25656:12;:18;25557:119;;25252:439;-1:-1:-1;25705:13:0;:28;25755:60;25784:1;25788:2;25792:12;25806:8;25755:60;:::i;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;2165:160::-;2230:20;;2286:13;;2279:21;2269:32;;2259:60;;2315:1;2312;2305:12;2330:180;2386:6;2439:2;2427:9;2418:7;2414:23;2410:32;2407:52;;;2455:1;2452;2445:12;2407:52;2478:26;2494:9;2478:26;:::i;2515:328::-;2592:6;2600;2608;2661:2;2649:9;2640:7;2636:23;2632:32;2629:52;;;2677:1;2674;2667:12;2629:52;2700:29;2719:9;2700:29;:::i;:::-;2690:39;;2748:38;2782:2;2771:9;2767:18;2748:38;:::i;:::-;2738:48;;2833:2;2822:9;2818:18;2805:32;2795:42;;2515:328;;;;;:::o;2848:127::-;2909:10;2904:3;2900:20;2897:1;2890:31;2940:4;2937:1;2930:15;2964:4;2961:1;2954:15;2980:632;3045:5;3075:18;3116:2;3108:6;3105:14;3102:40;;;3122:18;;:::i;:::-;3197:2;3191:9;3165:2;3251:15;;-1:-1:-1;;3247:24:1;;;3273:2;3243:33;3239:42;3227:55;;;3297:18;;;3317:22;;;3294:46;3291:72;;;3343:18;;:::i;:::-;3383:10;3379:2;3372:22;3412:6;3403:15;;3442:6;3434;3427:22;3482:3;3473:6;3468:3;3464:16;3461:25;3458:45;;;3499:1;3496;3489:12;3458:45;3549:6;3544:3;3537:4;3529:6;3525:17;3512:44;3604:1;3597:4;3588:6;3580;3576:19;3572:30;3565:41;;;;2980:632;;;;;:::o;3617:451::-;3686:6;3739:2;3727:9;3718:7;3714:23;3710:32;3707:52;;;3755:1;3752;3745:12;3707:52;3795:9;3782:23;3828:18;3820:6;3817:30;3814:50;;;3860:1;3857;3850:12;3814:50;3883:22;;3936:4;3928:13;;3924:27;-1:-1:-1;3914:55:1;;3965:1;3962;3955:12;3914:55;3988:74;4054:7;4049:2;4036:16;4031:2;4027;4023:11;3988:74;:::i;:::-;3978:84;3617:451;-1:-1:-1;;;;3617:451:1:o;4073:186::-;4132:6;4185:2;4173:9;4164:7;4160:23;4156:32;4153:52;;;4201:1;4198;4191:12;4153:52;4224:29;4243:9;4224:29;:::i;4264:254::-;4329:6;4337;4390:2;4378:9;4369:7;4365:23;4361:32;4358:52;;;4406:1;4403;4396:12;4358:52;4429:29;4448:9;4429:29;:::i;:::-;4419:39;;4477:35;4508:2;4497:9;4493:18;4477:35;:::i;:::-;4467:45;;4264:254;;;;;:::o;4523:667::-;4618:6;4626;4634;4642;4695:3;4683:9;4674:7;4670:23;4666:33;4663:53;;;4712:1;4709;4702:12;4663:53;4735:29;4754:9;4735:29;:::i;:::-;4725:39;;4783:38;4817:2;4806:9;4802:18;4783:38;:::i;:::-;4773:48;;4868:2;4857:9;4853:18;4840:32;4830:42;;4923:2;4912:9;4908:18;4895:32;4950:18;4942:6;4939:30;4936:50;;;4982:1;4979;4972:12;4936:50;5005:22;;5058:4;5050:13;;5046:27;-1:-1:-1;5036:55:1;;5087:1;5084;5077:12;5036:55;5110:74;5176:7;5171:2;5158:16;5153:2;5149;5145:11;5110:74;:::i;:::-;5100:84;;;4523:667;;;;;;;:::o;5195:260::-;5263:6;5271;5324:2;5312:9;5303:7;5299:23;5295:32;5292:52;;;5340:1;5337;5330:12;5292:52;5363:29;5382:9;5363:29;:::i;:::-;5353:39;;5411:38;5445:2;5434:9;5430:18;5411:38;:::i;5460:326::-;5662:2;5644:21;;;5701:1;5681:18;;;5674:29;-1:-1:-1;;;5734:2:1;5719:18;;5712:33;5777:2;5762:18;;5460:326::o;5791:380::-;5870:1;5866:12;;;;5913;;;5934:61;;5988:4;5980:6;5976:17;5966:27;;5934:61;6041:2;6033:6;6030:14;6010:18;6007:38;6004:161;;6087:10;6082:3;6078:20;6075:1;6068:31;6122:4;6119:1;6112:15;6150:4;6147:1;6140:15;6004:161;;5791:380;;;:::o;6302:545::-;6404:2;6399:3;6396:11;6393:448;;;6440:1;6465:5;6461:2;6454:17;6510:4;6506:2;6496:19;6580:2;6568:10;6564:19;6561:1;6557:27;6551:4;6547:38;6616:4;6604:10;6601:20;6598:47;;;-1:-1:-1;6639:4:1;6598:47;6694:2;6689:3;6685:12;6682:1;6678:20;6672:4;6668:31;6658:41;;6749:82;6767:2;6760:5;6757:13;6749:82;;;6812:17;;;6793:1;6782:13;6749:82;;7023:1352;7149:3;7143:10;7176:18;7168:6;7165:30;7162:56;;;7198:18;;:::i;:::-;7227:97;7317:6;7277:38;7309:4;7303:11;7277:38;:::i;:::-;7271:4;7227:97;:::i;:::-;7379:4;;7443:2;7432:14;;7460:1;7455:663;;;;8162:1;8179:6;8176:89;;;-1:-1:-1;8231:19:1;;;8225:26;8176:89;-1:-1:-1;;6980:1:1;6976:11;;;6972:24;6968:29;6958:40;7004:1;7000:11;;;6955:57;8278:81;;7425:944;;7455:663;6249:1;6242:14;;;6286:4;6273:18;;-1:-1:-1;;7491:20:1;;;7609:236;7623:7;7620:1;7617:14;7609:236;;;7712:19;;;7706:26;7691:42;;7804:27;;;;7772:1;7760:14;;;;7639:19;;7609:236;;;7613:3;7873:6;7864:7;7861:19;7858:201;;;7934:19;;;7928:26;-1:-1:-1;;8017:1:1;8013:14;;;8029:3;8009:24;8005:37;8001:42;7986:58;7971:74;;7858:201;-1:-1:-1;;;;;8105:1:1;8089:14;;;8085:22;8072:36;;-1:-1:-1;7023:1352:1:o;8380:127::-;8441:10;8436:3;8432:20;8429:1;8422:31;8472:4;8469:1;8462:15;8496:4;8493:1;8486:15;8512:125;8577:9;;;8598:10;;;8595:36;;;8611:18;;:::i;9650:168::-;9690:7;9756:1;9752;9748:6;9744:14;9741:1;9738:21;9733:1;9726:9;9719:17;9715:45;9712:71;;;9763:18;;:::i;:::-;-1:-1:-1;9803:9:1;;9650:168::o;10156:935::-;-1:-1:-1;;;10663:3:1;10656:22;10638:3;10707:6;10701:13;10723:74;10790:6;10786:1;10781:3;10777:11;10770:4;10762:6;10758:17;10723:74;:::i;:::-;-1:-1:-1;;;10856:1:1;10816:16;;;10848:10;;;10841:23;10889:13;;10911:75;10889:13;10973:1;10965:10;;10958:4;10946:17;;10911:75;:::i;:::-;-1:-1:-1;;;11046:1:1;11005:17;;;;11038:10;;;11031:27;11082:2;11074:11;;10156:935;-1:-1:-1;;;;10156:935:1:o;11096:1030::-;-1:-1:-1;;;11350:3:1;11343:22;11325:3;11384:1;11405;11438:6;11432:13;11468:36;11494:9;11468:36;:::i;:::-;11523:1;11540:18;;;11567:151;;;;11732:1;11727:374;;;;11533:568;;11567:151;-1:-1:-1;;11609:24:1;;11595:12;;;11588:46;11686:14;;11679:22;11667:35;;11658:45;;11654:54;;;-1:-1:-1;11567:151:1;;11727:374;11758:6;11755:1;11748:17;11788:4;11833:2;11830:1;11820:16;11858:1;11872:174;11886:6;11883:1;11880:13;11872:174;;;11973:14;;11955:11;;;11951:20;;11944:44;12016:16;;;;11901:10;;11872:174;;;11876:3;;;12088:2;12079:6;12074:3;12070:16;12066:25;12059:32;;11533:568;-1:-1:-1;12117:3:1;;11096:1030;-1:-1:-1;;;;;;;11096:1030:1:o

Swarm Source

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