ETH Price: $3,441.25 (-0.03%)
Gas: 2 Gwei

Token

Intree Teddies (INTEDDIES)
 

Overview

Max Total Supply

613 INTEDDIES

Holders

312

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
rayyu.eth
Balance
2 INTEDDIES
0x7f0FaBb9e9CA34fD876838d959557d81108681dC
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:
IntreeBears

Compiler Version
v0.8.15+commit.e14f2714

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

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

// File: @openzeppelin/contracts/utils/Context.sol


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

pragma solidity ^0.8.0;

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

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

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


// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;


/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

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

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

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

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

// File: @openzeppelin/contracts/utils/Strings.sol


// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
    }
}

// File: erc721a/contracts/IERC721A.sol


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

pragma solidity ^0.8.4;

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

// File: erc721a/contracts/ERC721A.sol


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

pragma solidity ^0.8.4;


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

/**
 * @title ERC721A
 *
 * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721)
 * Non-Fungible Token Standard, including the Metadata extension.
 * Optimized for lower gas during batch mints.
 *
 * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...)
 * starting from `_startTokenId()`.
 *
 * Assumptions:
 *
 * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
 * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256).
 */
contract ERC721A is IERC721A {
    // Reference type for token approval.
    struct TokenApprovalRef {
        address value;
    }

    // =============================================================
    //                           CONSTANTS
    // =============================================================

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

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

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

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

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

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

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

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

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

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

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

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

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

    // The `Transfer` event signature is given by:
    // `keccak256(bytes("Transfer(address,address,uint256)"))`.
    bytes32 private constant _TRANSFER_EVENT_SIGNATURE =
        0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef;

    // =============================================================
    //                            STORAGE
    // =============================================================

    // The next token ID to be minted.
    uint256 private _currentIndex;

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

    // =============================================================
    //                          CONSTRUCTOR
    // =============================================================

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

    // =============================================================
    //                   TOKEN COUNTING OPERATIONS
    // =============================================================

    /**
     * @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 virtual 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 virtual override returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than `_currentIndex - _startTokenId()` times.
        unchecked {
            return _currentIndex - _burnCounter - _startTokenId();
        }
    }

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

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

    // =============================================================
    //                    ADDRESS DATA OPERATIONS
    // =============================================================

    /**
     * @dev Returns the number of tokens in `owner`'s account.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        if (owner == address(0)) revert BalanceQueryForZeroAddress();
        return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY;
    }

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

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

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

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

    // =============================================================
    //                            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) 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: [ERC165](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.
    }

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

    /**
     * @dev Returns the token collection name.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

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

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

    // =============================================================
    //                     OWNERSHIPS OPERATIONS
    // =============================================================

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        return address(uint160(_packedOwnershipOf(tokenId)));
    }

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

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

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

    /**
     * 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 initialized ownership slot
                        // (i.e. `ownership.addr != address(0) && ownership.burned == false`)
                        // before an unintialized ownership slot
                        // (i.e. `ownership.addr == address(0) && ownership.burned == false`)
                        // Hence, `curr` will not underflow.
                        //
                        // We can directly compare the packed value.
                        // If the address is zero, packed will be zero.
                        while (packed == 0) {
                            packed = _packedOwnerships[--curr];
                        }
                        return packed;
                    }
                }
        }
        revert OwnerQueryForNonexistentToken();
    }

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

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

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

    // =============================================================
    //                      APPROVAL OPERATIONS
    // =============================================================

    /**
     * @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) public virtual override {
        address owner = ownerOf(tokenId);

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

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

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();

        return _tokenApprovals[tokenId].value;
    }

    /**
     * @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) public virtual override {
        if (operator == _msgSenderERC721A()) revert ApproveToCaller();

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

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

    /**
     * @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. See {_mint}.
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return
            _startTokenId() <= tokenId &&
            tokenId < _currentIndex && // If within bounds,
            _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned.
    }

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

    /**
     * @dev Returns the storage slot and value for the approved address of `tokenId`.
     */
    function _getApprovedSlotAndAddress(uint256 tokenId)
        private
        view
        returns (uint256 approvedAddressSlot, address approvedAddress)
    {
        TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId];
        // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId]`.
        assembly {
            approvedAddressSlot := tokenApproval.slot
            approvedAddress := sload(approvedAddressSlot)
        }
    }

    // =============================================================
    //                      TRANSFER OPERATIONS
    // =============================================================

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * 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
    ) public virtual override {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

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

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

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

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

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

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token
     * by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement
     * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        transferFrom(from, to, tokenId);
        if (to.code.length != 0)
            if (!_checkContractOnERC721Received(from, to, tokenId, _data)) {
                revert TransferToNonERC721ReceiverImplementer();
            }
    }

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

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

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

    // =============================================================
    //                        MINT OPERATIONS
    // =============================================================

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

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

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

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

            uint256 toMasked;
            uint256 end = startTokenId + quantity;

            // Use assembly to loop and emit the `Transfer` event for gas savings.
            assembly {
                // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean.
                toMasked := and(to, _BITMASK_ADDRESS)
                // Emit the `Transfer` event.
                log4(
                    0, // Start of data (0, since no data).
                    0, // End of data (0, since no data).
                    _TRANSFER_EVENT_SIGNATURE, // Signature.
                    0, // `address(0)`.
                    toMasked, // `to`.
                    startTokenId // `tokenId`.
                )

                for {
                    let tokenId := add(startTokenId, 1)
                } iszero(eq(tokenId, end)) {
                    tokenId := add(tokenId, 1)
                } {
                    // Emit the `Transfer` event. Similar to above.
                    log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId)
                }
            }
            if (toMasked == 0) revert MintToZeroAddress();

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

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

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

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

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

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

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

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

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

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

    // =============================================================
    //                        BURN OPERATIONS
    // =============================================================

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

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

        address from = address(uint160(prevOwnershipPacked));

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

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

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

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

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

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

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

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

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

    // =============================================================
    //                     EXTRA DATA OPERATIONS
    // =============================================================

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

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

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

    // =============================================================
    //                       OTHER OPERATIONS
    // =============================================================

    /**
     * @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 virtual 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.
                // The ASCII index of the '0' character is 48.
                mstore8(ptr, add(48, mod(temp, 10)))
                temp := div(temp, 10)
            } temp {
                // Keep dividing `temp` until zero.
                temp := div(temp, 10)
            } {
                // Body of the for loop.
                ptr := sub(ptr, 1)
                mstore8(ptr, add(48, mod(temp, 10)))
            }

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

// File: contracts/IntreeTeddies.sol



pragma solidity >=0.8.9 <0.9.0;




contract IntreeBears is ERC721A, Ownable {

    error InexistentToken();

    using Strings for uint256;
    string baseURI = "ipfs://QmXEbbotLairUaQ5EDHz3RJ593azjqZ3PfqJ4n9ozqVrDM/";

    constructor() ERC721A("Intree Teddies", "INTEDDIES") payable {
        transferOwnership(address(0x644e8C6D0Ab42Ee5f2117ccb3eEA41b0d013f365));
    }

    function airdrop(address[] calldata addresses, uint[] calldata quantities) public onlyOwner {
        unchecked {
            uint i;
            for (i=0; i < addresses.length; ++i) {
                _mint(addresses[i], quantities[i]);
            }
        }
    }

    function _startTokenId()
        internal
        view
        virtual
        override returns (uint256) 
    {
        return 1;
    }

    /// METADATA URI ///
    function _baseURI()
        internal 
        view 
        virtual
        override returns (string memory)
    {
        return baseURI;
    }

    function setBaseURI(string memory _newBaseURI) public onlyOwner {
        baseURI = _newBaseURI;
    }

    /// @dev Returning concatenated URI with .json as suffix on the tokenID when revealed.
    function tokenURI(uint256 _tokenId)
        public
        view
        virtual
        override
        returns (string memory)
    {
        if(!_exists(_tokenId)) revert InexistentToken();
        return string(abi.encodePacked(_baseURI(), _tokenId.toString(), ".json"));
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"payable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"InexistentToken","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"},{"internalType":"uint256[]","name":"quantities","type":"uint256[]"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","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":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60e060405260366080818152906200176b60a0396009906200002290826200029c565b506040518060400160405280600e81526020016d496e74726565205465646469657360901b81525060405180604001604052806009815260200168494e5445444449455360b81b81525081600290816200007d91906200029c565b5060036200008c82826200029c565b50506001600055506200009f33620000c4565b620000be73644e8c6d0ab42ee5f2117ccb3eea41b0d013f36562000116565b62000368565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6200012062000199565b6001600160a01b0381166200018b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084015b60405180910390fd5b6200019681620000c4565b50565b6008546001600160a01b03163314620001f55760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640162000182565b565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200022257607f821691505b6020821081036200024357634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200029757600081815260208120601f850160051c81016020861015620002725750805b601f850160051c820191505b8181101562000293578281556001016200027e565b5050505b505050565b81516001600160401b03811115620002b857620002b8620001f7565b620002d081620002c984546200020d565b8462000249565b602080601f831160018114620003085760008415620002ef5750858301515b600019600386901b1c1916600185901b17855562000293565b600085815260208120601f198616915b82811015620003395788860151825594840194600190910190840162000318565b5085821015620003585787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6113f380620003786000396000f3fe608060405234801561001057600080fd5b50600436106101215760003560e01c806367243482116100ad578063a22cb46511610071578063a22cb46514610250578063b88d4fde14610263578063c87b56dd14610276578063e985e9c514610289578063f2fde38b146102c557600080fd5b8063672434821461020957806370a082311461021c578063715018a61461022f5780638da5cb5b1461023757806395d89b411461024857600080fd5b806318160ddd116100f457806318160ddd146101a357806323b872dd146101bd57806342842e0e146101d057806355f804b3146101e35780636352211e146101f657600080fd5b806301ffc9a71461012657806306fdde031461014e578063081812fc14610163578063095ea7b31461018e575b600080fd5b610139610134366004610d7c565b6102d8565b60405190151581526020015b60405180910390f35b61015661032a565b6040516101459190610df1565b610176610171366004610e04565b6103bc565b6040516001600160a01b039091168152602001610145565b6101a161019c366004610e39565b610400565b005b60015460005403600019015b604051908152602001610145565b6101a16101cb366004610e63565b6104a0565b6101a16101de366004610e63565b610639565b6101a16101f1366004610f2b565b610659565b610176610204366004610e04565b610671565b6101a1610217366004610fc0565b61067c565b6101af61022a36600461102c565b6106e6565b6101a1610735565b6008546001600160a01b0316610176565b610156610749565b6101a161025e366004611047565b610758565b6101a1610271366004611083565b6107ed565b610156610284366004610e04565b610837565b6101396102973660046110ff565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6101a16102d336600461102c565b610897565b60006301ffc9a760e01b6001600160e01b03198316148061030957506380ac58cd60e01b6001600160e01b03198316145b806103245750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606002805461033990611132565b80601f016020809104026020016040519081016040528092919081815260200182805461036590611132565b80156103b25780601f10610387576101008083540402835291602001916103b2565b820191906000526020600020905b81548152906001019060200180831161039557829003601f168201915b5050505050905090565b60006103c782610915565b6103e4576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061040b82610671565b9050336001600160a01b03821614610444576104278133610297565b610444576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006104ab8261094a565b9050836001600160a01b0316816001600160a01b0316146104de5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b0388169091141761052b5761050e8633610297565b61052b57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661055257604051633a954ecd60e21b815260040160405180910390fd5b801561055d57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b841690036105ef576001840160008181526004602052604081205490036105ed5760005481146105ed5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b610654838383604051806020016040528060008152506107ed565b505050565b6106616109c0565b600961066d82826111b2565b5050565b60006103248261094a565b6106846109c0565b60005b838110156106df576106d78585838181106106a4576106a4611272565b90506020020160208101906106b9919061102c565b8484848181106106cb576106cb611272565b90506020020135610a1a565b600101610687565b5050505050565b60006001600160a01b03821661070f576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b61073d6109c0565b6107476000610b18565b565b60606003805461033990611132565b336001600160a01b038316036107815760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6107f88484846104a0565b6001600160a01b0383163b156108315761081484848484610b6a565b610831576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b606061084282610915565b61085f5760405163055d40f560e21b815260040160405180910390fd5b610867610c56565b61087083610c65565b604051602001610881929190611288565b6040516020818303038152906040529050919050565b61089f6109c0565b6001600160a01b0381166109095760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084015b60405180910390fd5b61091281610b18565b50565b600081600111158015610929575060005482105b8015610324575050600090815260046020526040902054600160e01b161590565b600081806001116109a7576000548110156109a75760008181526004602052604081205490600160e01b821690036109a5575b8060000361099e57506000190160008181526004602052604090205461097d565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b6008546001600160a01b031633146107475760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610900565b6000805490829003610a3f5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114610aee57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101610ab6565b5081600003610b0f57604051622e076360e81b815260040160405180910390fd5b60005550505050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290610b9f9033908990889088906004016112c7565b6020604051808303816000875af1925050508015610bda575060408051601f3d908101601f19168201909252610bd791810190611304565b60015b610c38573d808015610c08576040519150601f19603f3d011682016040523d82523d6000602084013e610c0d565b606091505b508051600003610c30576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60606009805461033990611132565b606081600003610c8c5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115610cb65780610ca081611337565b9150610caf9050600a83611366565b9150610c90565b60008167ffffffffffffffff811115610cd157610cd1610e9f565b6040519080825280601f01601f191660200182016040528015610cfb576020820181803683370190505b5090505b8415610c4e57610d1060018361137a565b9150610d1d600a86611391565b610d289060306113a5565b60f81b818381518110610d3d57610d3d611272565b60200101906001600160f81b031916908160001a905350610d5f600a86611366565b9450610cff565b6001600160e01b03198116811461091257600080fd5b600060208284031215610d8e57600080fd5b813561099e81610d66565b60005b83811015610db4578181015183820152602001610d9c565b838111156108315750506000910152565b60008151808452610ddd816020860160208601610d99565b601f01601f19169290920160200192915050565b60208152600061099e6020830184610dc5565b600060208284031215610e1657600080fd5b5035919050565b80356001600160a01b0381168114610e3457600080fd5b919050565b60008060408385031215610e4c57600080fd5b610e5583610e1d565b946020939093013593505050565b600080600060608486031215610e7857600080fd5b610e8184610e1d565b9250610e8f60208501610e1d565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115610ed057610ed0610e9f565b604051601f8501601f19908116603f01168101908282118183101715610ef857610ef8610e9f565b81604052809350858152868686011115610f1157600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215610f3d57600080fd5b813567ffffffffffffffff811115610f5457600080fd5b8201601f81018413610f6557600080fd5b610c4e84823560208401610eb5565b60008083601f840112610f8657600080fd5b50813567ffffffffffffffff811115610f9e57600080fd5b6020830191508360208260051b8501011115610fb957600080fd5b9250929050565b60008060008060408587031215610fd657600080fd5b843567ffffffffffffffff80821115610fee57600080fd5b610ffa88838901610f74565b9096509450602087013591508082111561101357600080fd5b5061102087828801610f74565b95989497509550505050565b60006020828403121561103e57600080fd5b61099e82610e1d565b6000806040838503121561105a57600080fd5b61106383610e1d565b91506020830135801515811461107857600080fd5b809150509250929050565b6000806000806080858703121561109957600080fd5b6110a285610e1d565b93506110b060208601610e1d565b925060408501359150606085013567ffffffffffffffff8111156110d357600080fd5b8501601f810187136110e457600080fd5b6110f387823560208401610eb5565b91505092959194509250565b6000806040838503121561111257600080fd5b61111b83610e1d565b915061112960208401610e1d565b90509250929050565b600181811c9082168061114657607f821691505b60208210810361116657634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561065457600081815260208120601f850160051c810160208610156111935750805b601f850160051c820191505b818110156106315782815560010161119f565b815167ffffffffffffffff8111156111cc576111cc610e9f565b6111e0816111da8454611132565b8461116c565b602080601f83116001811461121557600084156111fd5750858301515b600019600386901b1c1916600185901b178555610631565b600085815260208120601f198616915b8281101561124457888601518255948401946001909101908401611225565b50858210156112625787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052603260045260246000fd5b6000835161129a818460208801610d99565b8351908301906112ae818360208801610d99565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906112fa90830184610dc5565b9695505050505050565b60006020828403121561131657600080fd5b815161099e81610d66565b634e487b7160e01b600052601160045260246000fd5b60006001820161134957611349611321565b5060010190565b634e487b7160e01b600052601260045260246000fd5b60008261137557611375611350565b500490565b60008282101561138c5761138c611321565b500390565b6000826113a0576113a0611350565b500690565b600082198211156113b8576113b8611321565b50019056fea2646970667358221220ca5c31a48522105cd78d6b017dfb25ffb6b3c2c4dbc8141a8da5c24cc07910de64736f6c634300080f0033697066733a2f2f516d584562626f744c616972556151354544487a33524a353933617a6a715a335066714a346e396f7a715672444d2f

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101215760003560e01c806367243482116100ad578063a22cb46511610071578063a22cb46514610250578063b88d4fde14610263578063c87b56dd14610276578063e985e9c514610289578063f2fde38b146102c557600080fd5b8063672434821461020957806370a082311461021c578063715018a61461022f5780638da5cb5b1461023757806395d89b411461024857600080fd5b806318160ddd116100f457806318160ddd146101a357806323b872dd146101bd57806342842e0e146101d057806355f804b3146101e35780636352211e146101f657600080fd5b806301ffc9a71461012657806306fdde031461014e578063081812fc14610163578063095ea7b31461018e575b600080fd5b610139610134366004610d7c565b6102d8565b60405190151581526020015b60405180910390f35b61015661032a565b6040516101459190610df1565b610176610171366004610e04565b6103bc565b6040516001600160a01b039091168152602001610145565b6101a161019c366004610e39565b610400565b005b60015460005403600019015b604051908152602001610145565b6101a16101cb366004610e63565b6104a0565b6101a16101de366004610e63565b610639565b6101a16101f1366004610f2b565b610659565b610176610204366004610e04565b610671565b6101a1610217366004610fc0565b61067c565b6101af61022a36600461102c565b6106e6565b6101a1610735565b6008546001600160a01b0316610176565b610156610749565b6101a161025e366004611047565b610758565b6101a1610271366004611083565b6107ed565b610156610284366004610e04565b610837565b6101396102973660046110ff565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6101a16102d336600461102c565b610897565b60006301ffc9a760e01b6001600160e01b03198316148061030957506380ac58cd60e01b6001600160e01b03198316145b806103245750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606002805461033990611132565b80601f016020809104026020016040519081016040528092919081815260200182805461036590611132565b80156103b25780601f10610387576101008083540402835291602001916103b2565b820191906000526020600020905b81548152906001019060200180831161039557829003601f168201915b5050505050905090565b60006103c782610915565b6103e4576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061040b82610671565b9050336001600160a01b03821614610444576104278133610297565b610444576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006104ab8261094a565b9050836001600160a01b0316816001600160a01b0316146104de5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b0388169091141761052b5761050e8633610297565b61052b57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661055257604051633a954ecd60e21b815260040160405180910390fd5b801561055d57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b841690036105ef576001840160008181526004602052604081205490036105ed5760005481146105ed5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b610654838383604051806020016040528060008152506107ed565b505050565b6106616109c0565b600961066d82826111b2565b5050565b60006103248261094a565b6106846109c0565b60005b838110156106df576106d78585838181106106a4576106a4611272565b90506020020160208101906106b9919061102c565b8484848181106106cb576106cb611272565b90506020020135610a1a565b600101610687565b5050505050565b60006001600160a01b03821661070f576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b61073d6109c0565b6107476000610b18565b565b60606003805461033990611132565b336001600160a01b038316036107815760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6107f88484846104a0565b6001600160a01b0383163b156108315761081484848484610b6a565b610831576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b606061084282610915565b61085f5760405163055d40f560e21b815260040160405180910390fd5b610867610c56565b61087083610c65565b604051602001610881929190611288565b6040516020818303038152906040529050919050565b61089f6109c0565b6001600160a01b0381166109095760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084015b60405180910390fd5b61091281610b18565b50565b600081600111158015610929575060005482105b8015610324575050600090815260046020526040902054600160e01b161590565b600081806001116109a7576000548110156109a75760008181526004602052604081205490600160e01b821690036109a5575b8060000361099e57506000190160008181526004602052604090205461097d565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b6008546001600160a01b031633146107475760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610900565b6000805490829003610a3f5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114610aee57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101610ab6565b5081600003610b0f57604051622e076360e81b815260040160405180910390fd5b60005550505050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290610b9f9033908990889088906004016112c7565b6020604051808303816000875af1925050508015610bda575060408051601f3d908101601f19168201909252610bd791810190611304565b60015b610c38573d808015610c08576040519150601f19603f3d011682016040523d82523d6000602084013e610c0d565b606091505b508051600003610c30576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60606009805461033990611132565b606081600003610c8c5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115610cb65780610ca081611337565b9150610caf9050600a83611366565b9150610c90565b60008167ffffffffffffffff811115610cd157610cd1610e9f565b6040519080825280601f01601f191660200182016040528015610cfb576020820181803683370190505b5090505b8415610c4e57610d1060018361137a565b9150610d1d600a86611391565b610d289060306113a5565b60f81b818381518110610d3d57610d3d611272565b60200101906001600160f81b031916908160001a905350610d5f600a86611366565b9450610cff565b6001600160e01b03198116811461091257600080fd5b600060208284031215610d8e57600080fd5b813561099e81610d66565b60005b83811015610db4578181015183820152602001610d9c565b838111156108315750506000910152565b60008151808452610ddd816020860160208601610d99565b601f01601f19169290920160200192915050565b60208152600061099e6020830184610dc5565b600060208284031215610e1657600080fd5b5035919050565b80356001600160a01b0381168114610e3457600080fd5b919050565b60008060408385031215610e4c57600080fd5b610e5583610e1d565b946020939093013593505050565b600080600060608486031215610e7857600080fd5b610e8184610e1d565b9250610e8f60208501610e1d565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115610ed057610ed0610e9f565b604051601f8501601f19908116603f01168101908282118183101715610ef857610ef8610e9f565b81604052809350858152868686011115610f1157600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215610f3d57600080fd5b813567ffffffffffffffff811115610f5457600080fd5b8201601f81018413610f6557600080fd5b610c4e84823560208401610eb5565b60008083601f840112610f8657600080fd5b50813567ffffffffffffffff811115610f9e57600080fd5b6020830191508360208260051b8501011115610fb957600080fd5b9250929050565b60008060008060408587031215610fd657600080fd5b843567ffffffffffffffff80821115610fee57600080fd5b610ffa88838901610f74565b9096509450602087013591508082111561101357600080fd5b5061102087828801610f74565b95989497509550505050565b60006020828403121561103e57600080fd5b61099e82610e1d565b6000806040838503121561105a57600080fd5b61106383610e1d565b91506020830135801515811461107857600080fd5b809150509250929050565b6000806000806080858703121561109957600080fd5b6110a285610e1d565b93506110b060208601610e1d565b925060408501359150606085013567ffffffffffffffff8111156110d357600080fd5b8501601f810187136110e457600080fd5b6110f387823560208401610eb5565b91505092959194509250565b6000806040838503121561111257600080fd5b61111b83610e1d565b915061112960208401610e1d565b90509250929050565b600181811c9082168061114657607f821691505b60208210810361116657634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561065457600081815260208120601f850160051c810160208610156111935750805b601f850160051c820191505b818110156106315782815560010161119f565b815167ffffffffffffffff8111156111cc576111cc610e9f565b6111e0816111da8454611132565b8461116c565b602080601f83116001811461121557600084156111fd5750858301515b600019600386901b1c1916600185901b178555610631565b600085815260208120601f198616915b8281101561124457888601518255948401946001909101908401611225565b50858210156112625787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052603260045260246000fd5b6000835161129a818460208801610d99565b8351908301906112ae818360208801610d99565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906112fa90830184610dc5565b9695505050505050565b60006020828403121561131657600080fd5b815161099e81610d66565b634e487b7160e01b600052601160045260246000fd5b60006001820161134957611349611321565b5060010190565b634e487b7160e01b600052601260045260246000fd5b60008261137557611375611350565b500490565b60008282101561138c5761138c611321565b500390565b6000826113a0576113a0611350565b500690565b600082198211156113b8576113b8611321565b50019056fea2646970667358221220ca5c31a48522105cd78d6b017dfb25ffb6b3c2c4dbc8141a8da5c24cc07910de64736f6c634300080f0033

Deployed Bytecode Sourcemap

57422:1467:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24525:639;;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;24525:639:0;;;;;;;;25427:100;;;:::i;:::-;;;;;;;:::i;31910:218::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1692:32:1;;;1674:51;;1662:2;1647:18;31910:218:0;1528:203:1;31351:400:0;;;;;;:::i;:::-;;:::i;:::-;;21178:323;58191:1;21452:12;21239:7;21436:13;:28;-1:-1:-1;;21436:46:0;21178:323;;;2319:25:1;;;2307:2;2292:18;21178:323:0;2173:177:1;35617:2817:0;;;;;;:::i;:::-;;:::i;38530:185::-;;;;;;:::i;:::-;;:::i;58393:104::-;;;;;;:::i;:::-;;:::i;26820:152::-;;;;;;:::i;:::-;;:::i;57776:273::-;;;;;;:::i;:::-;;:::i;22362:233::-;;;;;;:::i;:::-;;:::i;2776:103::-;;;:::i;2128:87::-;2201:6;;-1:-1:-1;;;;;2201:6:0;2128:87;;25603:104;;;:::i;32468:308::-;;;;;;:::i;:::-;;:::i;39313:399::-;;;;;;:::i;:::-;;:::i;58597:289::-;;;;;;:::i;:::-;;:::i;32933:164::-;;;;;;:::i;:::-;-1:-1:-1;;;;;33054:25:0;;;33030:4;33054:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;32933:164;3034:201;;;;;;:::i;:::-;;:::i;24525:639::-;24610:4;-1:-1:-1;;;;;;;;;24934:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;25011:25:0;;;24934:102;:179;;;-1:-1:-1;;;;;;;;;;25088:25:0;;;24934:179;24914:199;24525:639;-1:-1:-1;;24525:639:0:o;25427:100::-;25481:13;25514:5;25507:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25427:100;:::o;31910:218::-;31986:7;32011:16;32019:7;32011;:16::i;:::-;32006:64;;32036:34;;-1:-1:-1;;;32036:34:0;;;;;;;;;;;32006:64;-1:-1:-1;32090:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;32090:30:0;;31910:218::o;31351:400::-;31432:13;31448:16;31456:7;31448;:16::i;:::-;31432:32;-1:-1:-1;55208:10:0;-1:-1:-1;;;;;31481:28:0;;;31477:175;;31529:44;31546:5;55208:10;32933:164;:::i;31529:44::-;31524:128;;31601:35;;-1:-1:-1;;;31601:35:0;;;;;;;;;;;31524:128;31664:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;31664:35:0;-1:-1:-1;;;;;31664:35:0;;;;;;;;;31715:28;;31664:24;;31715:28;;;;;;;31421:330;31351:400;;:::o;35617:2817::-;35751:27;35781;35800:7;35781:18;:27::i;:::-;35751:57;;35866:4;-1:-1:-1;;;;;35825:45:0;35841:19;-1:-1:-1;;;;;35825:45:0;;35821:86;;35879:28;;-1:-1:-1;;;35879:28:0;;;;;;;;;;;35821:86;35921:27;34731:24;;;:15;:24;;;;;34953:26;;55208:10;34356:30;;;-1:-1:-1;;;;;34049:28:0;;34334:20;;;34331:56;36107:180;;36200:43;36217:4;55208:10;32933:164;:::i;36200:43::-;36195:92;;36252:35;;-1:-1:-1;;;36252:35:0;;;;;;;;;;;36195:92;-1:-1:-1;;;;;36304:16:0;;36300:52;;36329:23;;-1:-1:-1;;;36329:23:0;;;;;;;;;;;36300:52;36501:15;36498:160;;;36641:1;36620:19;36613:30;36498:160;-1:-1:-1;;;;;37038:24:0;;;;;;;:18;:24;;;;;;37036:26;;-1:-1:-1;;37036:26:0;;;37107:22;;;;;;;;;37105:24;;-1:-1:-1;37105:24:0;;;30209:11;30184:23;30180:41;30167:63;-1:-1:-1;;;30167:63:0;37400:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;37695:47:0;;:52;;37691:627;;37800:1;37790:11;;37768:19;37923:30;;;:17;:30;;;;;;:35;;37919:384;;38061:13;;38046:11;:28;38042:242;;38208:30;;;;:17;:30;;;;;:52;;;38042:242;37749:569;37691:627;38365:7;38361:2;-1:-1:-1;;;;;38346:27:0;38355:4;-1:-1:-1;;;;;38346:27:0;;;;;;;;;;;38384:42;35740:2694;;;35617:2817;;;:::o;38530:185::-;38668:39;38685:4;38691:2;38695:7;38668:39;;;;;;;;;;;;:16;:39::i;:::-;38530:185;;;:::o;58393:104::-;2014:13;:11;:13::i;:::-;58468:7:::1;:21;58478:11:::0;58468:7;:21:::1;:::i;:::-;;58393:104:::0;:::o;26820:152::-;26892:7;26935:27;26954:7;26935:18;:27::i;57776:273::-;2014:13;:11;:13::i;:::-;57904:6:::1;57925:106;57935:20:::0;;::::1;57925:106;;;57981:34;57987:9;;57997:1;57987:12;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;58001:10;;58012:1;58001:13;;;;;;;:::i;:::-;;;;;;;57981:5;:34::i;:::-;57957:3;;57925:106;;;57879:163;57776:273:::0;;;;:::o;22362:233::-;22434:7;-1:-1:-1;;;;;22458:19:0;;22454:60;;22486:28;;-1:-1:-1;;;22486:28:0;;;;;;;;;;;22454:60;-1:-1:-1;;;;;;22532:25:0;;;;;:18;:25;;;;;;16521:13;22532:55;;22362:233::o;2776:103::-;2014:13;:11;:13::i;:::-;2841:30:::1;2868:1;2841:18;:30::i;:::-;2776:103::o:0;25603:104::-;25659:13;25692:7;25685:14;;;;;:::i;32468:308::-;55208:10;-1:-1:-1;;;;;32567:31:0;;;32563:61;;32607:17;;-1:-1:-1;;;32607:17:0;;;;;;;;;;;32563:61;55208:10;32637:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;32637:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;32637:60:0;;;;;;;;;;32713:55;;540:41:1;;;32637:49:0;;55208:10;32713:55;;513:18:1;32713:55:0;;;;;;;32468:308;;:::o;39313:399::-;39480:31;39493:4;39499:2;39503:7;39480:12;:31::i;:::-;-1:-1:-1;;;;;39526:14:0;;;:19;39522:183;;39565:56;39596:4;39602:2;39606:7;39615:5;39565:30;:56::i;:::-;39560:145;;39649:40;;-1:-1:-1;;;39649:40:0;;;;;;;;;;;39560:145;39313:399;;;;:::o;58597:289::-;58716:13;58751:17;58759:8;58751:7;:17::i;:::-;58747:47;;58777:17;;-1:-1:-1;;;58777:17:0;;;;;;;;;;;58747:47;58836:10;:8;:10::i;:::-;58848:19;:8;:17;:19::i;:::-;58819:58;;;;;;;;;:::i;:::-;;;;;;;;;;;;;58805:73;;58597:289;;;:::o;3034:201::-;2014:13;:11;:13::i;:::-;-1:-1:-1;;;;;3123:22:0;::::1;3115:73;;;::::0;-1:-1:-1;;;3115:73:0;;10108:2:1;3115:73:0::1;::::0;::::1;10090:21:1::0;10147:2;10127:18;;;10120:30;10186:34;10166:18;;;10159:62;-1:-1:-1;;;10237:18:1;;;10230:36;10283:19;;3115:73:0::1;;;;;;;;;3199:28;3218:8;3199:18;:28::i;:::-;3034:201:::0;:::o;33355:282::-;33420:4;33476:7;58191:1;33457:26;;:66;;;;;33510:13;;33500:7;:23;33457:66;:153;;;;-1:-1:-1;;33561:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;33561:44:0;:49;;33355:282::o;27975:1275::-;28042:7;28077;;58191:1;28126:23;28122:1061;;28179:13;;28172:4;:20;28168:1015;;;28217:14;28234:23;;;:17;:23;;;;;;;-1:-1:-1;;;28323:24:0;;:29;;28319:845;;28988:113;28995:6;29005:1;28995:11;28988:113;;-1:-1:-1;;;29066:6:0;29048:25;;;;:17;:25;;;;;;28988:113;;;29134:6;27975:1275;-1:-1:-1;;;27975:1275:0:o;28319:845::-;28194:989;28168:1015;29211:31;;-1:-1:-1;;;29211:31:0;;;;;;;;;;;2293:132;2201:6;;-1:-1:-1;;;;;2201:6:0;55208:10;2357:23;2349:68;;;;-1:-1:-1;;;2349:68:0;;10515:2:1;2349:68:0;;;10497:21:1;;;10534:18;;;10527:30;10593:34;10573:18;;;10566:62;10645:18;;2349:68:0;10313:356:1;42974:2454:0;43047:20;43070:13;;;43098;;;43094:44;;43120:18;;-1:-1:-1;;;43120:18:0;;;;;;;;;;;43094:44;-1:-1:-1;;;;;43626:22:0;;;;;;:18;:22;;;;16659:2;43626:22;;;:71;;43664:32;43652:45;;43626:71;;;43940:31;;;:17;:31;;;;;-1:-1:-1;30640:15:0;;30614:24;30610:46;30209:11;30184:23;30180:41;30177:52;30167:63;;43940:173;;44175:23;;;;43940:31;;43626:22;;44674:25;43626:22;;44527:335;44942:1;44928:12;44924:20;44882:346;44983:3;44974:7;44971:16;44882:346;;45201:7;45191:8;45188:1;45161:25;45158:1;45155;45150:59;45036:1;45023:15;44882:346;;;44886:77;45261:8;45273:1;45261:13;45257:45;;45283:19;;-1:-1:-1;;;45283:19:0;;;;;;;;;;;45257:45;45319:13;:19;-1:-1:-1;38530:185:0;;;:::o;3395:191::-;3488:6;;;-1:-1:-1;;;;;3505:17:0;;;-1:-1:-1;;;;;;3505:17:0;;;;;;;3538:40;;3488:6;;;3505:17;3488:6;;3538:40;;3469:16;;3538:40;3458:128;3395:191;:::o;41796:716::-;41980:88;;-1:-1:-1;;;41980:88:0;;41959:4;;-1:-1:-1;;;;;41980:45:0;;;;;:88;;55208:10;;42047:4;;42053:7;;42062:5;;41980:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;41980:88:0;;;;;;;;-1:-1:-1;;41980:88:0;;;;;;;;;;;;:::i;:::-;;;41976:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42263:6;:13;42280:1;42263:18;42259:235;;42309:40;;-1:-1:-1;;;42309:40:0;;;;;;;;;;;42259:235;42452:6;42446:13;42437:6;42433:2;42429:15;42422:38;41976:529;-1:-1:-1;;;;;;42139:64:0;-1:-1:-1;;;42139:64:0;;-1:-1:-1;41976:529:0;41796:716;;;;;;:::o;58234:151::-;58332:13;58370:7;58363:14;;;;;:::i;4023:723::-;4079:13;4300:5;4309:1;4300:10;4296:53;;-1:-1:-1;;4327:10:0;;;;;;;;;;;;-1:-1:-1;;;4327:10:0;;;;;4023:723::o;4296:53::-;4374:5;4359:12;4415:78;4422:9;;4415:78;;4448:8;;;;:::i;:::-;;-1:-1:-1;4471:10:0;;-1:-1:-1;4479:2:0;4471:10;;:::i;:::-;;;4415:78;;;4503:19;4535:6;4525:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;4525:17:0;;4503:39;;4553:154;4560:10;;4553:154;;4587:11;4597:1;4587:11;;:::i;:::-;;-1:-1:-1;4656:10:0;4664:2;4656:5;:10;:::i;:::-;4643:24;;:2;:24;:::i;:::-;4630:39;;4613:6;4620;4613:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;4613:56:0;;;;;;;;-1:-1:-1;4684:11:0;4693:2;4684:11;;:::i;:::-;;;4553:154;;14:131:1;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:258::-;664:1;674:113;688:6;685:1;682:13;674:113;;;764:11;;;758:18;745:11;;;738:39;710:2;703:10;674:113;;;805:6;802:1;799:13;796:48;;;-1:-1:-1;;840:1:1;822:16;;815:27;592:258::o;855:::-;897:3;935:5;929:12;962:6;957:3;950:19;978:63;1034:6;1027:4;1022:3;1018:14;1011:4;1004:5;1000:16;978:63;:::i;:::-;1095:2;1074:15;-1:-1:-1;;1070:29:1;1061:39;;;;1102:4;1057:50;;855:258;-1:-1:-1;;855:258:1:o;1118:220::-;1267:2;1256:9;1249:21;1230:4;1287:45;1328:2;1317:9;1313:18;1305:6;1287:45;:::i;1343:180::-;1402:6;1455:2;1443:9;1434:7;1430:23;1426:32;1423:52;;;1471:1;1468;1461:12;1423:52;-1:-1:-1;1494:23:1;;1343:180;-1:-1:-1;1343:180:1:o;1736:173::-;1804:20;;-1:-1:-1;;;;;1853:31:1;;1843:42;;1833:70;;1899:1;1896;1889:12;1833:70;1736:173;;;:::o;1914:254::-;1982:6;1990;2043:2;2031:9;2022:7;2018:23;2014:32;2011:52;;;2059:1;2056;2049:12;2011:52;2082:29;2101:9;2082:29;:::i;:::-;2072:39;2158:2;2143:18;;;;2130:32;;-1:-1:-1;;;1914:254:1:o;2355:328::-;2432:6;2440;2448;2501:2;2489:9;2480:7;2476:23;2472:32;2469:52;;;2517:1;2514;2507:12;2469:52;2540:29;2559:9;2540:29;:::i;:::-;2530:39;;2588:38;2622:2;2611:9;2607:18;2588:38;:::i;:::-;2578:48;;2673:2;2662:9;2658:18;2645:32;2635:42;;2355:328;;;;;:::o;2688:127::-;2749:10;2744:3;2740:20;2737:1;2730:31;2780:4;2777:1;2770:15;2804:4;2801:1;2794:15;2820:632;2885:5;2915:18;2956:2;2948:6;2945:14;2942:40;;;2962:18;;:::i;:::-;3037:2;3031:9;3005:2;3091:15;;-1:-1:-1;;3087:24:1;;;3113:2;3083:33;3079:42;3067:55;;;3137:18;;;3157:22;;;3134:46;3131:72;;;3183:18;;:::i;:::-;3223:10;3219:2;3212:22;3252:6;3243:15;;3282:6;3274;3267:22;3322:3;3313:6;3308:3;3304:16;3301:25;3298:45;;;3339:1;3336;3329:12;3298:45;3389:6;3384:3;3377:4;3369:6;3365:17;3352:44;3444:1;3437:4;3428:6;3420;3416:19;3412:30;3405:41;;;;2820:632;;;;;:::o;3457:451::-;3526:6;3579:2;3567:9;3558:7;3554:23;3550:32;3547:52;;;3595:1;3592;3585:12;3547:52;3635:9;3622:23;3668:18;3660:6;3657:30;3654:50;;;3700:1;3697;3690:12;3654:50;3723:22;;3776:4;3768:13;;3764:27;-1:-1:-1;3754:55:1;;3805:1;3802;3795:12;3754:55;3828:74;3894:7;3889:2;3876:16;3871:2;3867;3863:11;3828:74;:::i;3913:367::-;3976:8;3986:6;4040:3;4033:4;4025:6;4021:17;4017:27;4007:55;;4058:1;4055;4048:12;4007:55;-1:-1:-1;4081:20:1;;4124:18;4113:30;;4110:50;;;4156:1;4153;4146:12;4110:50;4193:4;4185:6;4181:17;4169:29;;4253:3;4246:4;4236:6;4233:1;4229:14;4221:6;4217:27;4213:38;4210:47;4207:67;;;4270:1;4267;4260:12;4207:67;3913:367;;;;;:::o;4285:773::-;4407:6;4415;4423;4431;4484:2;4472:9;4463:7;4459:23;4455:32;4452:52;;;4500:1;4497;4490:12;4452:52;4540:9;4527:23;4569:18;4610:2;4602:6;4599:14;4596:34;;;4626:1;4623;4616:12;4596:34;4665:70;4727:7;4718:6;4707:9;4703:22;4665:70;:::i;:::-;4754:8;;-1:-1:-1;4639:96:1;-1:-1:-1;4842:2:1;4827:18;;4814:32;;-1:-1:-1;4858:16:1;;;4855:36;;;4887:1;4884;4877:12;4855:36;;4926:72;4990:7;4979:8;4968:9;4964:24;4926:72;:::i;:::-;4285:773;;;;-1:-1:-1;5017:8:1;-1:-1:-1;;;;4285:773:1:o;5063:186::-;5122:6;5175:2;5163:9;5154:7;5150:23;5146:32;5143:52;;;5191:1;5188;5181:12;5143:52;5214:29;5233:9;5214:29;:::i;5254:347::-;5319:6;5327;5380:2;5368:9;5359:7;5355:23;5351:32;5348:52;;;5396:1;5393;5386:12;5348:52;5419:29;5438:9;5419:29;:::i;:::-;5409:39;;5498:2;5487:9;5483:18;5470:32;5545:5;5538:13;5531:21;5524:5;5521:32;5511:60;;5567:1;5564;5557:12;5511:60;5590:5;5580:15;;;5254:347;;;;;:::o;5606:667::-;5701:6;5709;5717;5725;5778:3;5766:9;5757:7;5753:23;5749:33;5746:53;;;5795:1;5792;5785:12;5746:53;5818:29;5837:9;5818:29;:::i;:::-;5808:39;;5866:38;5900:2;5889:9;5885:18;5866:38;:::i;:::-;5856:48;;5951:2;5940:9;5936:18;5923:32;5913:42;;6006:2;5995:9;5991:18;5978:32;6033:18;6025:6;6022:30;6019:50;;;6065:1;6062;6055:12;6019:50;6088:22;;6141:4;6133:13;;6129:27;-1:-1:-1;6119:55:1;;6170:1;6167;6160:12;6119:55;6193:74;6259:7;6254:2;6241:16;6236:2;6232;6228:11;6193:74;:::i;:::-;6183:84;;;5606:667;;;;;;;:::o;6278:260::-;6346:6;6354;6407:2;6395:9;6386:7;6382:23;6378:32;6375:52;;;6423:1;6420;6413:12;6375:52;6446:29;6465:9;6446:29;:::i;:::-;6436:39;;6494:38;6528:2;6517:9;6513:18;6494:38;:::i;:::-;6484:48;;6278:260;;;;;:::o;6543:380::-;6622:1;6618:12;;;;6665;;;6686:61;;6740:4;6732:6;6728:17;6718:27;;6686:61;6793:2;6785:6;6782:14;6762:18;6759:38;6756:161;;6839:10;6834:3;6830:20;6827:1;6820:31;6874:4;6871:1;6864:15;6902:4;6899:1;6892:15;6756:161;;6543:380;;;:::o;7054:545::-;7156:2;7151:3;7148:11;7145:448;;;7192:1;7217:5;7213:2;7206:17;7262:4;7258:2;7248:19;7332:2;7320:10;7316:19;7313:1;7309:27;7303:4;7299:38;7368:4;7356:10;7353:20;7350:47;;;-1:-1:-1;7391:4:1;7350:47;7446:2;7441:3;7437:12;7434:1;7430:20;7424:4;7420:31;7410:41;;7501:82;7519:2;7512:5;7509:13;7501:82;;;7564:17;;;7545:1;7534:13;7501:82;;7775:1352;7901:3;7895:10;7928:18;7920:6;7917:30;7914:56;;;7950:18;;:::i;:::-;7979:97;8069:6;8029:38;8061:4;8055:11;8029:38;:::i;:::-;8023:4;7979:97;:::i;:::-;8131:4;;8195:2;8184:14;;8212:1;8207:663;;;;8914:1;8931:6;8928:89;;;-1:-1:-1;8983:19:1;;;8977:26;8928:89;-1:-1:-1;;7732:1:1;7728:11;;;7724:24;7720:29;7710:40;7756:1;7752:11;;;7707:57;9030:81;;8177:944;;8207:663;7001:1;6994:14;;;7038:4;7025:18;;-1:-1:-1;;8243:20:1;;;8361:236;8375:7;8372:1;8369:14;8361:236;;;8464:19;;;8458:26;8443:42;;8556:27;;;;8524:1;8512:14;;;;8391:19;;8361:236;;;8365:3;8625:6;8616:7;8613:19;8610:201;;;8686:19;;;8680:26;-1:-1:-1;;8769:1:1;8765:14;;;8781:3;8761:24;8757:37;8753:42;8738:58;8723:74;;8610:201;-1:-1:-1;;;;;8857:1:1;8841:14;;;8837:22;8824:36;;-1:-1:-1;7775:1352:1:o;9132:127::-;9193:10;9188:3;9184:20;9181:1;9174:31;9224:4;9221:1;9214:15;9248:4;9245:1;9238:15;9264:637;9544:3;9582:6;9576:13;9598:53;9644:6;9639:3;9632:4;9624:6;9620:17;9598:53;:::i;:::-;9714:13;;9673:16;;;;9736:57;9714:13;9673:16;9770:4;9758:17;;9736:57;:::i;:::-;-1:-1:-1;;;9815:20:1;;9844:22;;;9893:1;9882:13;;9264:637;-1:-1:-1;;;;9264:637:1:o;10674:489::-;-1:-1:-1;;;;;10943:15:1;;;10925:34;;10995:15;;10990:2;10975:18;;10968:43;11042:2;11027:18;;11020:34;;;11090:3;11085:2;11070:18;;11063:31;;;10868:4;;11111:46;;11137:19;;11129:6;11111:46;:::i;:::-;11103:54;10674:489;-1:-1:-1;;;;;;10674:489:1:o;11168:249::-;11237:6;11290:2;11278:9;11269:7;11265:23;11261:32;11258:52;;;11306:1;11303;11296:12;11258:52;11338:9;11332:16;11357:30;11381:5;11357:30;:::i;11422:127::-;11483:10;11478:3;11474:20;11471:1;11464:31;11514:4;11511:1;11504:15;11538:4;11535:1;11528:15;11554:135;11593:3;11614:17;;;11611:43;;11634:18;;:::i;:::-;-1:-1:-1;11681:1:1;11670:13;;11554:135::o;11694:127::-;11755:10;11750:3;11746:20;11743:1;11736:31;11786:4;11783:1;11776:15;11810:4;11807:1;11800:15;11826:120;11866:1;11892;11882:35;;11897:18;;:::i;:::-;-1:-1:-1;11931:9:1;;11826:120::o;11951:125::-;11991:4;12019:1;12016;12013:8;12010:34;;;12024:18;;:::i;:::-;-1:-1:-1;12061:9:1;;11951:125::o;12081:112::-;12113:1;12139;12129:35;;12144:18;;:::i;:::-;-1:-1:-1;12178:9:1;;12081:112::o;12198:128::-;12238:3;12269:1;12265:6;12262:1;12259:13;12256:39;;;12275:18;;:::i;:::-;-1:-1:-1;12311:9:1;;12198:128::o

Swarm Source

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