ETH Price: $2,437.45 (+1.69%)
 

Overview

Max Total Supply

545 LLA

Holders

58

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
defi-land.eth
Balance
10 LLA
0xaf4eea865efcFc2843a53cf78D3b78E26e761922
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:
Llama

Compiler Version
v0.8.16+commit.07a7930e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2023-08-04
*/

// SPDX-License-Identifier: MIT
// File: erc721a/contracts/IERC721A.sol


// ERC721A Contracts v4.2.3
// 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();

    /**
     * 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 payable;

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

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

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

    /**
     * @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.3
// 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 {
    // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364).
    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 payable 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 {
        _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].value`.
        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 payable 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 payable 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 payable 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.
            // The duplicated `log4` removes an extra check and reduces stack juggling.
            // The assembly, together with the surrounding Solidity code, have been
            // delicately arranged to nudge the compiler into producing optimized opcodes.
            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`.
                )

                // The `iszero(eq(,))` check ensures that large values of `quantity`
                // that overflows uint256 will make the loop run out of gas.
                // The compiler will optimize the `iszero` away for performance.
                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 str) {
        assembly {
            // The maximum value of a uint256 contains 78 digits (1 byte per digit), but
            // we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned.
            // We will need 1 word for the trailing zeros padding, 1 word for the length,
            // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0.
            let m := add(mload(0x40), 0xa0)
            // Update the free memory pointer to allocate.
            mstore(0x40, m)
            // Assign the `str` to the end.
            str := sub(m, 0x20)
            // Zeroize the slot after the string.
            mstore(str, 0)

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

            // We write the string from rightmost digit to leftmost digit.
            // The following is essentially a do-while loop that also handles the zero case.
            // prettier-ignore
            for { let temp := value } 1 {} {
                str := sub(str, 1)
                // Write the character to the pointer.
                // The ASCII index of the '0' character is 48.
                mstore8(str, add(48, mod(temp, 10)))
                // Keep dividing `temp` until zero.
                temp := div(temp, 10)
                // prettier-ignore
                if iszero(temp) { break }
            }

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

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


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

pragma solidity ^0.8.0;

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

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

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

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

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

// 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 v4.4.1 (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 Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        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: contracts/Llama.sol


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

pragma solidity ^0.8.0;




contract Llama is ERC721A, Ownable {

    uint256 public constant MAX_SUPPLY = 200000;
    uint256 public constant FREE_SUPPLY = 3;
    uint256 public constant PAID_SUPPLY = 10;

    uint256 private _flag;
    string private _defTokenURI = "https://ipfs.io/ipfs/QmRCYjuCy59DoGgYT6UMWaAm6Uk2UPKvvnETu7TE51sDDY";
    string private _baseTokenURI = "";

    mapping(address => bool) private _hasMinted;

    event NewMint(address indexed msgSender, uint256 indexed mintQuantity);

    constructor() ERC721A("Llama AI", "LLA") {
    }

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

    function transferOut(address _to) public onlyOwner {
        uint256 balance = address(this).balance;
        payable(_to).transfer(balance);
    }

    function changeTokenURIFlag(uint256 flag) external onlyOwner {
        _flag = flag;
    }

    function changeDefURI(string calldata _tokenURI) external onlyOwner {
        _defTokenURI = _tokenURI;
    }

    function changeURI(string calldata _tokenURI) external onlyOwner {
        _baseTokenURI = _tokenURI;
    }

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

    function tokenURI(uint256 tokenId) public view override returns (string memory) {
        if (_flag == 0) {
            return _defTokenURI;
        } else {
            require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");
            return string(abi.encodePacked(_baseTokenURI, Strings.toString(tokenId)));
        }
    }

    function mint(uint256 quantity) public payable {
        require(totalSupply() + quantity <= MAX_SUPPLY, "ERC721: Exceeds maximum supply");
        require(quantity == 1 || quantity == FREE_SUPPLY || quantity == PAID_SUPPLY || quantity == 100, "ERC721: Invalid quantity");

        if (quantity == 1 ) {
            require(msg.value >= 0.0001 ether, "ERC721: Insufficient payment");
            _safeMint(msg.sender,quantity);
        } else if (quantity == FREE_SUPPLY ) {
            _safeMint(msg.sender,quantity);
        } else if (quantity == 100 ) {
            require(msg.value >= 0.05 ether, "ERC721: Insufficient payment");
            _safeMint(msg.sender,quantity);
        } else {
            require(msg.value >= 0.0005 ether, "ERC721: Insufficient payment");
            _safeMint(msg.sender,quantity);
        }
        
        emit NewMint(msg.sender, quantity);
    }

}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"msgSender","type":"address"},{"indexed":true,"internalType":"uint256","name":"mintQuantity","type":"uint256"}],"name":"NewMint","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"FREE_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PAID_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_tokenURI","type":"string"}],"name":"changeDefURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"flag","type":"uint256"}],"name":"changeTokenURIFlag","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_tokenURI","type":"string"}],"name":"changeURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","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":"payable","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":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","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":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"}],"name":"transferOut","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

610100604052604360808181529062001b8160a039600a90620000239082620001be565b50604080516020810190915260008152600b90620000429082620001be565b503480156200005057600080fd5b50604051806040016040528060088152602001674c6c616d6120414960c01b815250604051806040016040528060038152602001624c4c4160e81b81525081600290816200009f9190620001be565b506003620000ae8282620001be565b5050600160005550620000c133620000c7565b6200028a565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200014457607f821691505b6020821081036200016557634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620001b957600081815260208120601f850160051c81016020861015620001945750805b601f850160051c820191505b81811015620001b557828155600101620001a0565b5050505b505050565b81516001600160401b03811115620001da57620001da62000119565b620001f281620001eb84546200012f565b846200016b565b602080601f8311600181146200022a5760008415620002115750858301515b600019600386901b1c1916600185901b178555620001b5565b600085815260208120601f198616915b828110156200025b578886015182559484019460019091019084016200023a565b50858210156200027a5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6118e7806200029a6000396000f3fe6080604052600436106101665760003560e01c8063715018a6116100d1578063a22cb4651161008a578063e5e01c1111610064578063e5e01c11146103d6578063e985e9c5146103f6578063f2fde38b14610416578063fe878b1d1461043657600080fd5b8063a22cb46514610383578063b88d4fde146103a3578063c87b56dd146103b657600080fd5b8063715018a6146102f35780638da5cb5b1461030857806395d89b41146103265780639858cf191461033b5780639894ba7c14610350578063a0712d681461037057600080fd5b806323b872dd1161012357806323b872dd1461025657806332cb6b0c1461026957806342842e0e14610280578063528c06cc146102935780636352211e146102b357806370a08231146102d357600080fd5b806301ffc9a71461016b57806306fdde03146101a0578063081812fc146101c2578063095ea7b3146101fa5780630e5c19191461020f57806318160ddd1461022f575b600080fd5b34801561017757600080fd5b5061018b610186366004611277565b61044b565b60405190151581526020015b60405180910390f35b3480156101ac57600080fd5b506101b561049d565b60405161019791906112e4565b3480156101ce57600080fd5b506101e26101dd3660046112f7565b61052f565b6040516001600160a01b039091168152602001610197565b61020d610208366004611327565b610573565b005b34801561021b57600080fd5b5061020d61022a366004611351565b610613565b34801561023b57600080fd5b5060015460005403600019015b604051908152602001610197565b61020d6102643660046113c3565b610658565b34801561027557600080fd5b5061024862030d4081565b61020d61028e3660046113c3565b6107f1565b34801561029f57600080fd5b5061020d6102ae3660046112f7565b61080c565b3480156102bf57600080fd5b506101e26102ce3660046112f7565b61083b565b3480156102df57600080fd5b506102486102ee3660046113ff565b610846565b3480156102ff57600080fd5b5061020d610895565b34801561031457600080fd5b506008546001600160a01b03166101e2565b34801561033257600080fd5b506101b56108cb565b34801561034757600080fd5b50610248600381565b34801561035c57600080fd5b5061020d61036b3660046113ff565b6108da565b61020d61037e3660046112f7565b61093c565b34801561038f57600080fd5b5061020d61039e36600461141a565b610af6565b61020d6103b136600461146c565b610b62565b3480156103c257600080fd5b506101b56103d13660046112f7565b610bac565b3480156103e257600080fd5b5061020d6103f1366004611351565b610cee565b34801561040257600080fd5b5061018b610411366004611548565b610d25565b34801561042257600080fd5b5061020d6104313660046113ff565b610d53565b34801561044257600080fd5b50610248600a81565b60006301ffc9a760e01b6001600160e01b03198316148061047c57506380ac58cd60e01b6001600160e01b03198316145b806104975750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546104ac9061157b565b80601f01602080910402602001604051908101604052809291908181526020018280546104d89061157b565b80156105255780601f106104fa57610100808354040283529160200191610525565b820191906000526020600020905b81548152906001019060200180831161050857829003601f168201915b5050505050905090565b600061053a82610dee565b610557576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061057e8261083b565b9050336001600160a01b038216146105b75761059a8133610d25565b6105b7576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6008546001600160a01b031633146106465760405162461bcd60e51b815260040161063d906115b5565b60405180910390fd5b600a610653828483611630565b505050565b600061066382610e23565b9050836001600160a01b0316816001600160a01b0316146106965760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b038816909114176106e3576106c68633610d25565b6106e357604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661070a57604051633a954ecd60e21b815260040160405180910390fd5b801561071557600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b841690036107a7576001840160008181526004602052604081205490036107a55760005481146107a55760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b61065383838360405180602001604052806000815250610b62565b6008546001600160a01b031633146108365760405162461bcd60e51b815260040161063d906115b5565b600955565b600061049782610e23565b60006001600160a01b03821661086f576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b031633146108bf5760405162461bcd60e51b815260040161063d906115b5565b6108c96000610e99565b565b6060600380546104ac9061157b565b6008546001600160a01b031633146109045760405162461bcd60e51b815260040161063d906115b5565b60405147906001600160a01b0383169082156108fc029083906000818181858888f19350505050158015610653573d6000803e3d6000fd5b60015460005462030d4091839103600019016109589190611706565b11156109a65760405162461bcd60e51b815260206004820152601e60248201527f4552433732313a2045786365656473206d6178696d756d20737570706c790000604482015260640161063d565b80600114806109b55750600381145b806109c05750600a81145b806109cb5750806064145b610a175760405162461bcd60e51b815260206004820152601860248201527f4552433732313a20496e76616c6964207175616e746974790000000000000000604482015260640161063d565b80600103610a5457655af3107a4000341015610a455760405162461bcd60e51b815260040161063d90611719565b610a4f3382610eeb565b610ac6565b60038103610a6657610a4f3382610eeb565b80606403610a955766b1a2bc2ec50000341015610a455760405162461bcd60e51b815260040161063d90611719565b6601c6bf52634000341015610abc5760405162461bcd60e51b815260040161063d90611719565b610ac63382610eeb565b604051819033907f52277f0b4a9b555c5aa96900a13546f972bda413737ec164aac947c87eec602490600090a350565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610b6d848484610658565b6001600160a01b0383163b15610ba657610b8984848484610f09565b610ba6576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060600954600003610c4a57600a8054610bc59061157b565b80601f0160208091040260200160405190810160405280929190818152602001828054610bf19061157b565b8015610c3e5780601f10610c1357610100808354040283529160200191610c3e565b820191906000526020600020905b815481529060010190602001808311610c2157829003601f168201915b50505050509050919050565b610c5382610dee565b610cb75760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b606482015260840161063d565b600b610cc283610ff5565b604051602001610cd3929190611750565b6040516020818303038152906040529050919050565b919050565b6008546001600160a01b03163314610d185760405162461bcd60e51b815260040161063d906115b5565b600b610653828483611630565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6008546001600160a01b03163314610d7d5760405162461bcd60e51b815260040161063d906115b5565b6001600160a01b038116610de25760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161063d565b610deb81610e99565b50565b600081600111158015610e02575060005482105b8015610497575050600090815260046020526040902054600160e01b161590565b60008180600111610e8057600054811015610e805760008181526004602052604081205490600160e01b82169003610e7e575b80600003610e77575060001901600081815260046020526040902054610e56565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610f058282604051806020016040528060008152506110f6565b5050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290610f3e9033908990889088906004016117d7565b6020604051808303816000875af1925050508015610f79575060408051601f3d908101601f19168201909252610f7691810190611814565b60015b610fd7573d808015610fa7576040519150601f19603f3d011682016040523d82523d6000602084013e610fac565b606091505b508051600003610fcf576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60608160000361101c5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611046578061103081611831565b915061103f9050600a83611860565b9150611020565b60008167ffffffffffffffff81111561106157611061611456565b6040519080825280601f01601f19166020018201604052801561108b576020820181803683370190505b5090505b8415610fed576110a0600183611874565b91506110ad600a86611887565b6110b8906030611706565b60f81b8183815181106110cd576110cd61189b565b60200101906001600160f81b031916908160001a9053506110ef600a86611860565b945061108f565b6111008383611163565b6001600160a01b0383163b15610653576000548281035b61112a6000868380600101945086610f09565b611147576040516368d2bf6b60e11b815260040160405180910390fd5b81811061111757816000541461115c57600080fd5b5050505050565b60008054908290036111885760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461123757808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46001016111ff565b508160000361125857604051622e076360e81b815260040160405180910390fd5b60005550505050565b6001600160e01b031981168114610deb57600080fd5b60006020828403121561128957600080fd5b8135610e7781611261565b60005b838110156112af578181015183820152602001611297565b50506000910152565b600081518084526112d0816020860160208601611294565b601f01601f19169290920160200192915050565b602081526000610e7760208301846112b8565b60006020828403121561130957600080fd5b5035919050565b80356001600160a01b0381168114610ce957600080fd5b6000806040838503121561133a57600080fd5b61134383611310565b946020939093013593505050565b6000806020838503121561136457600080fd5b823567ffffffffffffffff8082111561137c57600080fd5b818501915085601f83011261139057600080fd5b81358181111561139f57600080fd5b8660208285010111156113b157600080fd5b60209290920196919550909350505050565b6000806000606084860312156113d857600080fd5b6113e184611310565b92506113ef60208501611310565b9150604084013590509250925092565b60006020828403121561141157600080fd5b610e7782611310565b6000806040838503121561142d57600080fd5b61143683611310565b91506020830135801515811461144b57600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b6000806000806080858703121561148257600080fd5b61148b85611310565b935061149960208601611310565b925060408501359150606085013567ffffffffffffffff808211156114bd57600080fd5b818701915087601f8301126114d157600080fd5b8135818111156114e3576114e3611456565b604051601f8201601f19908116603f0116810190838211818310171561150b5761150b611456565b816040528281528a602084870101111561152457600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806040838503121561155b57600080fd5b61156483611310565b915061157260208401611310565b90509250929050565b600181811c9082168061158f57607f821691505b6020821081036115af57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b601f82111561065357600081815260208120601f850160051c810160208610156116115750805b601f850160051c820191505b818110156107e95782815560010161161d565b67ffffffffffffffff83111561164857611648611456565b61165c83611656835461157b565b836115ea565b6000601f84116001811461169057600085156116785750838201355b600019600387901b1c1916600186901b17835561115c565b600083815260209020601f19861690835b828110156116c157868501358255602094850194600190920191016116a1565b50868210156116de5760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b634e487b7160e01b600052601160045260246000fd5b80820180821115610497576104976116f0565b6020808252601c908201527f4552433732313a20496e73756666696369656e74207061796d656e7400000000604082015260600190565b600080845461175e8161157b565b60018281168015611776576001811461178b576117ba565b60ff19841687528215158302870194506117ba565b8860005260208060002060005b858110156117b15781548a820152908401908201611798565b50505082870194505b5050505083516117ce818360208801611294565b01949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061180a908301846112b8565b9695505050505050565b60006020828403121561182657600080fd5b8151610e7781611261565b600060018201611843576118436116f0565b5060010190565b634e487b7160e01b600052601260045260246000fd5b60008261186f5761186f61184a565b500490565b81810381811115610497576104976116f0565b6000826118965761189661184a565b500690565b634e487b7160e01b600052603260045260246000fdfea2646970667358221220a29752efbded880d2d2545194486a3b77e23985da3de673ae03225d8f452e45764736f6c6343000810003368747470733a2f2f697066732e696f2f697066732f516d5243596a7543793539446f4767595436554d5761416d36556b3255504b76766e455475375445353173444459

Deployed Bytecode

0x6080604052600436106101665760003560e01c8063715018a6116100d1578063a22cb4651161008a578063e5e01c1111610064578063e5e01c11146103d6578063e985e9c5146103f6578063f2fde38b14610416578063fe878b1d1461043657600080fd5b8063a22cb46514610383578063b88d4fde146103a3578063c87b56dd146103b657600080fd5b8063715018a6146102f35780638da5cb5b1461030857806395d89b41146103265780639858cf191461033b5780639894ba7c14610350578063a0712d681461037057600080fd5b806323b872dd1161012357806323b872dd1461025657806332cb6b0c1461026957806342842e0e14610280578063528c06cc146102935780636352211e146102b357806370a08231146102d357600080fd5b806301ffc9a71461016b57806306fdde03146101a0578063081812fc146101c2578063095ea7b3146101fa5780630e5c19191461020f57806318160ddd1461022f575b600080fd5b34801561017757600080fd5b5061018b610186366004611277565b61044b565b60405190151581526020015b60405180910390f35b3480156101ac57600080fd5b506101b561049d565b60405161019791906112e4565b3480156101ce57600080fd5b506101e26101dd3660046112f7565b61052f565b6040516001600160a01b039091168152602001610197565b61020d610208366004611327565b610573565b005b34801561021b57600080fd5b5061020d61022a366004611351565b610613565b34801561023b57600080fd5b5060015460005403600019015b604051908152602001610197565b61020d6102643660046113c3565b610658565b34801561027557600080fd5b5061024862030d4081565b61020d61028e3660046113c3565b6107f1565b34801561029f57600080fd5b5061020d6102ae3660046112f7565b61080c565b3480156102bf57600080fd5b506101e26102ce3660046112f7565b61083b565b3480156102df57600080fd5b506102486102ee3660046113ff565b610846565b3480156102ff57600080fd5b5061020d610895565b34801561031457600080fd5b506008546001600160a01b03166101e2565b34801561033257600080fd5b506101b56108cb565b34801561034757600080fd5b50610248600381565b34801561035c57600080fd5b5061020d61036b3660046113ff565b6108da565b61020d61037e3660046112f7565b61093c565b34801561038f57600080fd5b5061020d61039e36600461141a565b610af6565b61020d6103b136600461146c565b610b62565b3480156103c257600080fd5b506101b56103d13660046112f7565b610bac565b3480156103e257600080fd5b5061020d6103f1366004611351565b610cee565b34801561040257600080fd5b5061018b610411366004611548565b610d25565b34801561042257600080fd5b5061020d6104313660046113ff565b610d53565b34801561044257600080fd5b50610248600a81565b60006301ffc9a760e01b6001600160e01b03198316148061047c57506380ac58cd60e01b6001600160e01b03198316145b806104975750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546104ac9061157b565b80601f01602080910402602001604051908101604052809291908181526020018280546104d89061157b565b80156105255780601f106104fa57610100808354040283529160200191610525565b820191906000526020600020905b81548152906001019060200180831161050857829003601f168201915b5050505050905090565b600061053a82610dee565b610557576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061057e8261083b565b9050336001600160a01b038216146105b75761059a8133610d25565b6105b7576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6008546001600160a01b031633146106465760405162461bcd60e51b815260040161063d906115b5565b60405180910390fd5b600a610653828483611630565b505050565b600061066382610e23565b9050836001600160a01b0316816001600160a01b0316146106965760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b038816909114176106e3576106c68633610d25565b6106e357604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661070a57604051633a954ecd60e21b815260040160405180910390fd5b801561071557600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b841690036107a7576001840160008181526004602052604081205490036107a55760005481146107a55760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b61065383838360405180602001604052806000815250610b62565b6008546001600160a01b031633146108365760405162461bcd60e51b815260040161063d906115b5565b600955565b600061049782610e23565b60006001600160a01b03821661086f576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b031633146108bf5760405162461bcd60e51b815260040161063d906115b5565b6108c96000610e99565b565b6060600380546104ac9061157b565b6008546001600160a01b031633146109045760405162461bcd60e51b815260040161063d906115b5565b60405147906001600160a01b0383169082156108fc029083906000818181858888f19350505050158015610653573d6000803e3d6000fd5b60015460005462030d4091839103600019016109589190611706565b11156109a65760405162461bcd60e51b815260206004820152601e60248201527f4552433732313a2045786365656473206d6178696d756d20737570706c790000604482015260640161063d565b80600114806109b55750600381145b806109c05750600a81145b806109cb5750806064145b610a175760405162461bcd60e51b815260206004820152601860248201527f4552433732313a20496e76616c6964207175616e746974790000000000000000604482015260640161063d565b80600103610a5457655af3107a4000341015610a455760405162461bcd60e51b815260040161063d90611719565b610a4f3382610eeb565b610ac6565b60038103610a6657610a4f3382610eeb565b80606403610a955766b1a2bc2ec50000341015610a455760405162461bcd60e51b815260040161063d90611719565b6601c6bf52634000341015610abc5760405162461bcd60e51b815260040161063d90611719565b610ac63382610eeb565b604051819033907f52277f0b4a9b555c5aa96900a13546f972bda413737ec164aac947c87eec602490600090a350565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610b6d848484610658565b6001600160a01b0383163b15610ba657610b8984848484610f09565b610ba6576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060600954600003610c4a57600a8054610bc59061157b565b80601f0160208091040260200160405190810160405280929190818152602001828054610bf19061157b565b8015610c3e5780601f10610c1357610100808354040283529160200191610c3e565b820191906000526020600020905b815481529060010190602001808311610c2157829003601f168201915b50505050509050919050565b610c5382610dee565b610cb75760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b606482015260840161063d565b600b610cc283610ff5565b604051602001610cd3929190611750565b6040516020818303038152906040529050919050565b919050565b6008546001600160a01b03163314610d185760405162461bcd60e51b815260040161063d906115b5565b600b610653828483611630565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6008546001600160a01b03163314610d7d5760405162461bcd60e51b815260040161063d906115b5565b6001600160a01b038116610de25760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161063d565b610deb81610e99565b50565b600081600111158015610e02575060005482105b8015610497575050600090815260046020526040902054600160e01b161590565b60008180600111610e8057600054811015610e805760008181526004602052604081205490600160e01b82169003610e7e575b80600003610e77575060001901600081815260046020526040902054610e56565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610f058282604051806020016040528060008152506110f6565b5050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290610f3e9033908990889088906004016117d7565b6020604051808303816000875af1925050508015610f79575060408051601f3d908101601f19168201909252610f7691810190611814565b60015b610fd7573d808015610fa7576040519150601f19603f3d011682016040523d82523d6000602084013e610fac565b606091505b508051600003610fcf576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60608160000361101c5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611046578061103081611831565b915061103f9050600a83611860565b9150611020565b60008167ffffffffffffffff81111561106157611061611456565b6040519080825280601f01601f19166020018201604052801561108b576020820181803683370190505b5090505b8415610fed576110a0600183611874565b91506110ad600a86611887565b6110b8906030611706565b60f81b8183815181106110cd576110cd61189b565b60200101906001600160f81b031916908160001a9053506110ef600a86611860565b945061108f565b6111008383611163565b6001600160a01b0383163b15610653576000548281035b61112a6000868380600101945086610f09565b611147576040516368d2bf6b60e11b815260040160405180910390fd5b81811061111757816000541461115c57600080fd5b5050505050565b60008054908290036111885760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461123757808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46001016111ff565b508160000361125857604051622e076360e81b815260040160405180910390fd5b60005550505050565b6001600160e01b031981168114610deb57600080fd5b60006020828403121561128957600080fd5b8135610e7781611261565b60005b838110156112af578181015183820152602001611297565b50506000910152565b600081518084526112d0816020860160208601611294565b601f01601f19169290920160200192915050565b602081526000610e7760208301846112b8565b60006020828403121561130957600080fd5b5035919050565b80356001600160a01b0381168114610ce957600080fd5b6000806040838503121561133a57600080fd5b61134383611310565b946020939093013593505050565b6000806020838503121561136457600080fd5b823567ffffffffffffffff8082111561137c57600080fd5b818501915085601f83011261139057600080fd5b81358181111561139f57600080fd5b8660208285010111156113b157600080fd5b60209290920196919550909350505050565b6000806000606084860312156113d857600080fd5b6113e184611310565b92506113ef60208501611310565b9150604084013590509250925092565b60006020828403121561141157600080fd5b610e7782611310565b6000806040838503121561142d57600080fd5b61143683611310565b91506020830135801515811461144b57600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b6000806000806080858703121561148257600080fd5b61148b85611310565b935061149960208601611310565b925060408501359150606085013567ffffffffffffffff808211156114bd57600080fd5b818701915087601f8301126114d157600080fd5b8135818111156114e3576114e3611456565b604051601f8201601f19908116603f0116810190838211818310171561150b5761150b611456565b816040528281528a602084870101111561152457600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806040838503121561155b57600080fd5b61156483611310565b915061157260208401611310565b90509250929050565b600181811c9082168061158f57607f821691505b6020821081036115af57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b601f82111561065357600081815260208120601f850160051c810160208610156116115750805b601f850160051c820191505b818110156107e95782815560010161161d565b67ffffffffffffffff83111561164857611648611456565b61165c83611656835461157b565b836115ea565b6000601f84116001811461169057600085156116785750838201355b600019600387901b1c1916600186901b17835561115c565b600083815260209020601f19861690835b828110156116c157868501358255602094850194600190920191016116a1565b50868210156116de5760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b634e487b7160e01b600052601160045260246000fd5b80820180821115610497576104976116f0565b6020808252601c908201527f4552433732313a20496e73756666696369656e74207061796d656e7400000000604082015260600190565b600080845461175e8161157b565b60018281168015611776576001811461178b576117ba565b60ff19841687528215158302870194506117ba565b8860005260208060002060005b858110156117b15781548a820152908401908201611798565b50505082870194505b5050505083516117ce818360208801611294565b01949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061180a908301846112b8565b9695505050505050565b60006020828403121561182657600080fd5b8151610e7781611261565b600060018201611843576118436116f0565b5060010190565b634e487b7160e01b600052601260045260246000fd5b60008261186f5761186f61184a565b500490565b81810381811115610497576104976116f0565b6000826118965761189661184a565b500690565b634e487b7160e01b600052603260045260246000fdfea2646970667358221220a29752efbded880d2d2545194486a3b77e23985da3de673ae03225d8f452e45764736f6c63430008100033

Deployed Bytecode Sourcemap

57154:2555:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18437:639;;;;;;;;;;-1:-1:-1;18437:639:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;18437:639:0;;;;;;;;19339:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;25830:218::-;;;;;;;;;;-1:-1:-1;25830:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1697:32:1;;;1679:51;;1667:2;1652:18;25830:218:0;1533:203:1;25263:408:0;;;;;;:::i;:::-;;:::i;:::-;;58074:111;;;;;;;;;;-1:-1:-1;58074:111:0;;;;;:::i;:::-;;:::i;15090:323::-;;;;;;;;;;-1:-1:-1;57799:1:0;15364:12;15151:7;15348:13;:28;-1:-1:-1;;15348:46:0;15090:323;;;2921:25:1;;;2909:2;2894:18;15090:323:0;2775:177:1;29469:2825:0;;;;;;:::i;:::-;;:::i;57198:43::-;;;;;;;;;;;;57235:6;57198:43;;32390:193;;;;;;:::i;:::-;;:::i;57974:92::-;;;;;;;;;;-1:-1:-1;57974:92:0;;;;;:::i;:::-;;:::i;20732:152::-;;;;;;;;;;-1:-1:-1;20732:152:0;;;;;:::i;:::-;;:::i;16274:233::-;;;;;;;;;;-1:-1:-1;16274:233:0;;;;;:::i;:::-;;:::i;56198:103::-;;;;;;;;;;;;;:::i;55547:87::-;;;;;;;;;;-1:-1:-1;55620:6:0;;-1:-1:-1;;;;;55620:6:0;55547:87;;19515:104;;;;;;;;;;;;;:::i;57248:39::-;;;;;;;;;;;;57286:1;57248:39;;57816:150;;;;;;;;;;-1:-1:-1;57816:150:0;;;;;:::i;:::-;;:::i;58797:907::-;;;;;;:::i;:::-;;:::i;26388:234::-;;;;;;;;;;-1:-1:-1;26388:234:0;;;;;:::i;:::-;;:::i;33181:407::-;;;;;;:::i;:::-;;:::i;58432:357::-;;;;;;;;;;-1:-1:-1;58432:357:0;;;;;:::i;:::-;;:::i;58193:109::-;;;;;;;;;;-1:-1:-1;58193:109:0;;;;;:::i;:::-;;:::i;26779:164::-;;;;;;;;;;-1:-1:-1;26779:164:0;;;;;:::i;:::-;;:::i;56456:201::-;;;;;;;;;;-1:-1:-1;56456:201:0;;;;;:::i;:::-;;:::i;57294:40::-;;;;;;;;;;;;57332:2;57294:40;;18437:639;18522:4;-1:-1:-1;;;;;;;;;18846:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;18923:25:0;;;18846:102;:179;;;-1:-1:-1;;;;;;;;;;19000:25:0;;;18846:179;18826:199;18437:639;-1:-1:-1;;18437:639:0:o;19339:100::-;19393:13;19426:5;19419:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19339:100;:::o;25830:218::-;25906:7;25931:16;25939:7;25931;:16::i;:::-;25926:64;;25956:34;;-1:-1:-1;;;25956:34:0;;;;;;;;;;;25926:64;-1:-1:-1;26010:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;26010:30:0;;25830:218::o;25263:408::-;25352:13;25368:16;25376:7;25368;:16::i;:::-;25352:32;-1:-1:-1;49596:10:0;-1:-1:-1;;;;;25401:28:0;;;25397:175;;25449:44;25466:5;49596:10;26779:164;:::i;25449:44::-;25444:128;;25521:35;;-1:-1:-1;;;25521:35:0;;;;;;;;;;;25444:128;25584:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;25584:35:0;-1:-1:-1;;;;;25584:35:0;;;;;;;;;25635:28;;25584:24;;25635:28;;;;;;;25341:330;25263:408;;:::o;58074:111::-;55620:6;;-1:-1:-1;;;;;55620:6:0;49596:10;55767:23;55759:68;;;;-1:-1:-1;;;55759:68:0;;;;;;;:::i;:::-;;;;;;;;;58153:12:::1;:24;58168:9:::0;;58153:12;:24:::1;:::i;:::-;;58074:111:::0;;:::o;29469:2825::-;29611:27;29641;29660:7;29641:18;:27::i;:::-;29611:57;;29726:4;-1:-1:-1;;;;;29685:45:0;29701:19;-1:-1:-1;;;;;29685:45:0;;29681:86;;29739:28;;-1:-1:-1;;;29739:28:0;;;;;;;;;;;29681:86;29781:27;28577:24;;;:15;:24;;;;;28805:26;;49596:10;28202:30;;;-1:-1:-1;;;;;27895:28:0;;28180:20;;;28177:56;29967:180;;30060:43;30077:4;49596:10;26779:164;:::i;30060:43::-;30055:92;;30112:35;;-1:-1:-1;;;30112:35:0;;;;;;;;;;;30055:92;-1:-1:-1;;;;;30164:16:0;;30160:52;;30189:23;;-1:-1:-1;;;30189:23:0;;;;;;;;;;;30160:52;30361:15;30358:160;;;30501:1;30480:19;30473:30;30358:160;-1:-1:-1;;;;;30898:24:0;;;;;;;:18;:24;;;;;;30896:26;;-1:-1:-1;;30896:26:0;;;30967:22;;;;;;;;;30965:24;;-1:-1:-1;30965:24:0;;;24121:11;24096:23;24092:41;24079:63;-1:-1:-1;;;24079:63:0;31260:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;31555:47:0;;:52;;31551:627;;31660:1;31650:11;;31628:19;31783:30;;;:17;:30;;;;;;:35;;31779:384;;31921:13;;31906:11;:28;31902:242;;32068:30;;;;:17;:30;;;;;:52;;;31902:242;31609:569;31551:627;32225:7;32221:2;-1:-1:-1;;;;;32206:27:0;32215:4;-1:-1:-1;;;;;32206:27:0;;;;;;;;;;;32244:42;29600:2694;;;29469:2825;;;:::o;32390:193::-;32536:39;32553:4;32559:2;32563:7;32536:39;;;;;;;;;;;;:16;:39::i;57974:92::-;55620:6;;-1:-1:-1;;;;;55620:6:0;49596:10;55767:23;55759:68;;;;-1:-1:-1;;;55759:68:0;;;;;;;:::i;:::-;58046:5:::1;:12:::0;57974:92::o;20732:152::-;20804:7;20847:27;20866:7;20847:18;:27::i;16274:233::-;16346:7;-1:-1:-1;;;;;16370:19:0;;16366:60;;16398:28;;-1:-1:-1;;;16398:28:0;;;;;;;;;;;16366:60;-1:-1:-1;;;;;;16444:25:0;;;;;:18;:25;;;;;;10433:13;16444:55;;16274:233::o;56198:103::-;55620:6;;-1:-1:-1;;;;;55620:6:0;49596:10;55767:23;55759:68;;;;-1:-1:-1;;;55759:68:0;;;;;;;:::i;:::-;56263:30:::1;56290:1;56263:18;:30::i;:::-;56198:103::o:0;19515:104::-;19571:13;19604:7;19597:14;;;;;:::i;57816:150::-;55620:6;;-1:-1:-1;;;;;55620:6:0;49596:10;55767:23;55759:68;;;;-1:-1:-1;;;55759:68:0;;;;;;;:::i;:::-;57928:30:::1;::::0;57896:21:::1;::::0;-1:-1:-1;;;;;57928:21:0;::::1;::::0;:30;::::1;;;::::0;57896:21;;57878:15:::1;57928:30:::0;57878:15;57928:30;57896:21;57928;:30;::::1;;;;;;;;;;;;;::::0;::::1;;;;58797:907:::0;57799:1;15364:12;15151:7;15348:13;57235:6;;58879:8;;15348:28;-1:-1:-1;;15348:46:0;58863:24;;;;:::i;:::-;:38;;58855:81;;;;-1:-1:-1;;;58855:81:0;;8641:2:1;58855:81:0;;;8623:21:1;8680:2;8660:18;;;8653:30;8719:32;8699:18;;;8692:60;8769:18;;58855:81:0;8439:354:1;58855:81:0;58955:8;58967:1;58955:13;:40;;;;57286:1;58972:8;:23;58955:40;:67;;;;57332:2;58999:8;:23;58955:67;:86;;;;59026:8;59038:3;59026:15;58955:86;58947:123;;;;-1:-1:-1;;;58947:123:0;;9000:2:1;58947:123:0;;;8982:21:1;9039:2;9019:18;;;9012:30;9078:26;9058:18;;;9051:54;9122:18;;58947:123:0;8798:348:1;58947:123:0;59087:8;59099:1;59087:13;59083:559;;59139:12;59126:9;:25;;59118:66;;;;-1:-1:-1;;;59118:66:0;;;;;;;:::i;:::-;59199:30;59209:10;59220:8;59199:9;:30::i;:::-;59083:559;;;57286:1;59251:8;:23;59247:395;;59292:30;59302:10;59313:8;59292:9;:30::i;59247:395::-;59344:8;59356:3;59344:15;59340:302;;59398:10;59385:9;:23;;59377:64;;;;-1:-1:-1;;;59377:64:0;;;;;;;:::i;59340:302::-;59540:12;59527:9;:25;;59519:66;;;;-1:-1:-1;;;59519:66:0;;;;;;;:::i;:::-;59600:30;59610:10;59621:8;59600:9;:30::i;:::-;59667:29;;59687:8;;59675:10;;59667:29;;;;;58797:907;:::o;26388:234::-;49596:10;26483:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;26483:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;26483:60:0;;;;;;;;;;26559:55;;540:41:1;;;26483:49:0;;49596:10;26559:55;;513:18:1;26559:55:0;;;;;;;26388:234;;:::o;33181:407::-;33356:31;33369:4;33375:2;33379:7;33356:12;:31::i;:::-;-1:-1:-1;;;;;33402:14:0;;;:19;33398:183;;33441:56;33472:4;33478:2;33482:7;33491:5;33441:30;:56::i;:::-;33436:145;;33525:40;;-1:-1:-1;;;33525:40:0;;;;;;;;;;;33436:145;33181:407;;;;:::o;58432:357::-;58497:13;58527:5;;58536:1;58527:10;58523:259;;58561:12;58554:19;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58432:357;;;:::o;58523:259::-;58614:16;58622:7;58614;:16::i;:::-;58606:76;;;;-1:-1:-1;;;58606:76:0;;9710:2:1;58606:76:0;;;9692:21:1;9749:2;9729:18;;;9722:30;9788:34;9768:18;;;9761:62;-1:-1:-1;;;9839:18:1;;;9832:45;9894:19;;58606:76:0;9508:411:1;58606:76:0;58728:13;58743:25;58760:7;58743:16;:25::i;:::-;58711:58;;;;;;;;;:::i;:::-;;;;;;;;;;;;;58697:73;;58432:357;;;:::o;58523:259::-;58432:357;;;:::o;58193:109::-;55620:6;;-1:-1:-1;;;;;55620:6:0;49596:10;55767:23;55759:68;;;;-1:-1:-1;;;55759:68:0;;;;;;;:::i;:::-;58269:13:::1;:25;58285:9:::0;;58269:13;:25:::1;:::i;26779:164::-:0;-1:-1:-1;;;;;26900:25:0;;;26876:4;26900:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;26779:164::o;56456:201::-;55620:6;;-1:-1:-1;;;;;55620:6:0;49596:10;55767:23;55759:68;;;;-1:-1:-1;;;55759:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;56545:22:0;::::1;56537:73;;;::::0;-1:-1:-1;;;56537:73:0;;11151:2:1;56537:73:0::1;::::0;::::1;11133:21:1::0;11190:2;11170:18;;;11163:30;11229:34;11209:18;;;11202:62;-1:-1:-1;;;11280:18:1;;;11273:36;11326:19;;56537:73:0::1;10949:402:1::0;56537:73:0::1;56621:28;56640:8;56621:18;:28::i;:::-;56456:201:::0;:::o;27201:282::-;27266:4;27322:7;57799:1;27303:26;;:66;;;;;27356:13;;27346:7;:23;27303:66;:153;;;;-1:-1:-1;;27407:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;27407:44:0;:49;;27201:282::o;21887:1275::-;21954:7;21989;;57799:1;22038:23;22034:1061;;22091:13;;22084:4;:20;22080:1015;;;22129:14;22146:23;;;:17;:23;;;;;;;-1:-1:-1;;;22235:24:0;;:29;;22231:845;;22900:113;22907:6;22917:1;22907:11;22900:113;;-1:-1:-1;;;22978:6:0;22960:25;;;;:17;:25;;;;;;22900:113;;;23046:6;21887:1275;-1:-1:-1;;;21887:1275:0:o;22231:845::-;22106:989;22080:1015;23123:31;;-1:-1:-1;;;23123:31:0;;;;;;;;;;;56817:191;56910:6;;;-1:-1:-1;;;;;56927:17:0;;;-1:-1:-1;;;;;;56927:17:0;;;;;;;56960:40;;56910:6;;;56927:17;56910:6;;56960:40;;56891:16;;56960:40;56880:128;56817:191;:::o;43341:112::-;43418:27;43428:2;43432:8;43418:27;;;;;;;;;;;;:9;:27::i;:::-;43341:112;;:::o;35672:716::-;35856:88;;-1:-1:-1;;;35856:88:0;;35835:4;;-1:-1:-1;;;;;35856:45:0;;;;;:88;;49596:10;;35923:4;;35929:7;;35938:5;;35856:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35856:88:0;;;;;;;;-1:-1:-1;;35856:88:0;;;;;;;;;;;;:::i;:::-;;;35852:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36139:6;:13;36156:1;36139:18;36135:235;;36185:40;;-1:-1:-1;;;36185:40:0;;;;;;;;;;;36135:235;36328:6;36322:13;36313:6;36309:2;36305:15;36298:38;35852:529;-1:-1:-1;;;;;;36015:64:0;-1:-1:-1;;;36015:64:0;;-1:-1:-1;35852:529:0;35672:716;;;;;;:::o;51833:723::-;51889:13;52110:5;52119:1;52110:10;52106:53;;-1:-1:-1;;52137:10:0;;;;;;;;;;;;-1:-1:-1;;;52137:10:0;;;;;51833:723::o;52106:53::-;52184:5;52169:12;52225:78;52232:9;;52225:78;;52258:8;;;;:::i;:::-;;-1:-1:-1;52281:10:0;;-1:-1:-1;52289:2:0;52281:10;;:::i;:::-;;;52225:78;;;52313:19;52345:6;52335:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;52335:17:0;;52313:39;;52363:154;52370:10;;52363:154;;52397:11;52407:1;52397:11;;:::i;:::-;;-1:-1:-1;52466:10:0;52474:2;52466:5;:10;:::i;:::-;52453:24;;:2;:24;:::i;:::-;52440:39;;52423:6;52430;52423:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;52423:56:0;;;;;;;;-1:-1:-1;52494:11:0;52503:2;52494:11;;:::i;:::-;;;52363:154;;42568:689;42699:19;42705:2;42709:8;42699:5;:19::i;:::-;-1:-1:-1;;;;;42760:14:0;;;:19;42756:483;;42800:11;42814:13;42862:14;;;42895:233;42926:62;42965:1;42969:2;42973:7;;;;;;42982:5;42926:30;:62::i;:::-;42921:167;;43024:40;;-1:-1:-1;;;43024:40:0;;;;;;;;;;;42921:167;43123:3;43115:5;:11;42895:233;;43210:3;43193:13;;:20;43189:34;;43215:8;;;43189:34;42781:458;;42568:689;;;:::o;36850:2966::-;36923:20;36946:13;;;36974;;;36970:44;;36996:18;;-1:-1:-1;;;36996:18:0;;;;;;;;;;;36970:44;-1:-1:-1;;;;;37502:22:0;;;;;;:18;:22;;;;10571:2;37502:22;;;:71;;37540:32;37528:45;;37502:71;;;37816:31;;;:17;:31;;;;;-1:-1:-1;24552:15:0;;24526:24;24522:46;24121:11;24096:23;24092:41;24089:52;24079:63;;37816:173;;38051:23;;;;37816:31;;37502:22;;38816:25;37502:22;;38669:335;39330:1;39316:12;39312:20;39270:346;39371:3;39362:7;39359:16;39270:346;;39589:7;39579:8;39576:1;39549:25;39546:1;39543;39538:59;39424:1;39411:15;39270:346;;;39274:77;39649:8;39661:1;39649:13;39645:45;;39671:19;;-1:-1:-1;;;39671:19:0;;;;;;;;;;;39645:45;39707:13;:19;-1:-1:-1;58153:24:0::1;58074:111:::0;;:::o;14:131:1:-;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:250::-;677:1;687:113;701:6;698:1;695:13;687:113;;;777:11;;;771:18;758:11;;;751:39;723:2;716:10;687:113;;;-1:-1:-1;;834:1:1;816:16;;809:27;592:250::o;847:271::-;889:3;927:5;921:12;954:6;949:3;942:19;970:76;1039:6;1032:4;1027:3;1023:14;1016:4;1009:5;1005:16;970:76;:::i;:::-;1100:2;1079:15;-1:-1:-1;;1075:29:1;1066:39;;;;1107:4;1062:50;;847:271;-1:-1:-1;;847:271:1:o;1123:220::-;1272:2;1261:9;1254:21;1235:4;1292:45;1333:2;1322:9;1318:18;1310:6;1292:45;:::i;1348:180::-;1407:6;1460:2;1448:9;1439:7;1435:23;1431:32;1428:52;;;1476:1;1473;1466:12;1428:52;-1:-1:-1;1499:23:1;;1348:180;-1:-1:-1;1348:180:1:o;1741:173::-;1809:20;;-1:-1:-1;;;;;1858:31:1;;1848:42;;1838:70;;1904:1;1901;1894:12;1919:254;1987:6;1995;2048:2;2036:9;2027:7;2023:23;2019:32;2016:52;;;2064:1;2061;2054:12;2016:52;2087:29;2106:9;2087:29;:::i;:::-;2077:39;2163:2;2148:18;;;;2135:32;;-1:-1:-1;;;1919:254:1:o;2178:592::-;2249:6;2257;2310:2;2298:9;2289:7;2285:23;2281:32;2278:52;;;2326:1;2323;2316:12;2278:52;2366:9;2353:23;2395:18;2436:2;2428:6;2425:14;2422:34;;;2452:1;2449;2442:12;2422:34;2490:6;2479:9;2475:22;2465:32;;2535:7;2528:4;2524:2;2520:13;2516:27;2506:55;;2557:1;2554;2547:12;2506:55;2597:2;2584:16;2623:2;2615:6;2612:14;2609:34;;;2639:1;2636;2629:12;2609:34;2684:7;2679:2;2670:6;2666:2;2662:15;2658:24;2655:37;2652:57;;;2705:1;2702;2695:12;2652:57;2736:2;2728:11;;;;;2758:6;;-1:-1:-1;2178:592:1;;-1:-1:-1;;;;2178:592:1:o;2957:328::-;3034:6;3042;3050;3103:2;3091:9;3082:7;3078:23;3074:32;3071:52;;;3119:1;3116;3109:12;3071:52;3142:29;3161:9;3142:29;:::i;:::-;3132:39;;3190:38;3224:2;3213:9;3209:18;3190:38;:::i;:::-;3180:48;;3275:2;3264:9;3260:18;3247:32;3237:42;;2957:328;;;;;:::o;3290:186::-;3349:6;3402:2;3390:9;3381:7;3377:23;3373:32;3370:52;;;3418:1;3415;3408:12;3370:52;3441:29;3460:9;3441:29;:::i;3481:347::-;3546:6;3554;3607:2;3595:9;3586:7;3582:23;3578:32;3575:52;;;3623:1;3620;3613:12;3575:52;3646:29;3665:9;3646:29;:::i;:::-;3636:39;;3725:2;3714:9;3710:18;3697:32;3772:5;3765:13;3758:21;3751:5;3748:32;3738:60;;3794:1;3791;3784:12;3738:60;3817:5;3807:15;;;3481:347;;;;;:::o;3833:127::-;3894:10;3889:3;3885:20;3882:1;3875:31;3925:4;3922:1;3915:15;3949:4;3946:1;3939:15;3965:1138;4060:6;4068;4076;4084;4137:3;4125:9;4116:7;4112:23;4108:33;4105:53;;;4154:1;4151;4144:12;4105:53;4177:29;4196:9;4177:29;:::i;:::-;4167:39;;4225:38;4259:2;4248:9;4244:18;4225:38;:::i;:::-;4215:48;;4310:2;4299:9;4295:18;4282:32;4272:42;;4365:2;4354:9;4350:18;4337:32;4388:18;4429:2;4421:6;4418:14;4415:34;;;4445:1;4442;4435:12;4415:34;4483:6;4472:9;4468:22;4458:32;;4528:7;4521:4;4517:2;4513:13;4509:27;4499:55;;4550:1;4547;4540:12;4499:55;4586:2;4573:16;4608:2;4604;4601:10;4598:36;;;4614:18;;:::i;:::-;4689:2;4683:9;4657:2;4743:13;;-1:-1:-1;;4739:22:1;;;4763:2;4735:31;4731:40;4719:53;;;4787:18;;;4807:22;;;4784:46;4781:72;;;4833:18;;:::i;:::-;4873:10;4869:2;4862:22;4908:2;4900:6;4893:18;4948:7;4943:2;4938;4934;4930:11;4926:20;4923:33;4920:53;;;4969:1;4966;4959:12;4920:53;5025:2;5020;5016;5012:11;5007:2;4999:6;4995:15;4982:46;5070:1;5065:2;5060;5052:6;5048:15;5044:24;5037:35;5091:6;5081:16;;;;;;;3965:1138;;;;;;;:::o;5108:260::-;5176:6;5184;5237:2;5225:9;5216:7;5212:23;5208:32;5205:52;;;5253:1;5250;5243:12;5205:52;5276:29;5295:9;5276:29;:::i;:::-;5266:39;;5324:38;5358:2;5347:9;5343:18;5324:38;:::i;:::-;5314:48;;5108:260;;;;;:::o;5373:380::-;5452:1;5448:12;;;;5495;;;5516:61;;5570:4;5562:6;5558:17;5548:27;;5516:61;5623:2;5615:6;5612:14;5592:18;5589:38;5586:161;;5669:10;5664:3;5660:20;5657:1;5650:31;5704:4;5701:1;5694:15;5732:4;5729:1;5722:15;5586:161;;5373:380;;;:::o;5758:356::-;5960:2;5942:21;;;5979:18;;;5972:30;6038:34;6033:2;6018:18;;6011:62;6105:2;6090:18;;5758:356::o;6245:545::-;6347:2;6342:3;6339:11;6336:448;;;6383:1;6408:5;6404:2;6397:17;6453:4;6449:2;6439:19;6523:2;6511:10;6507:19;6504:1;6500:27;6494:4;6490:38;6559:4;6547:10;6544:20;6541:47;;;-1:-1:-1;6582:4:1;6541:47;6637:2;6632:3;6628:12;6625:1;6621:20;6615:4;6611:31;6601:41;;6692:82;6710:2;6703:5;6700:13;6692:82;;;6755:17;;;6736:1;6725:13;6692:82;;6966:1206;7090:18;7085:3;7082:27;7079:53;;;7112:18;;:::i;:::-;7141:94;7231:3;7191:38;7223:4;7217:11;7191:38;:::i;:::-;7185:4;7141:94;:::i;:::-;7261:1;7286:2;7281:3;7278:11;7303:1;7298:616;;;;7958:1;7975:3;7972:93;;;-1:-1:-1;8031:19:1;;;8018:33;7972:93;-1:-1:-1;;6923:1:1;6919:11;;;6915:24;6911:29;6901:40;6947:1;6943:11;;;6898:57;8078:78;;7271:895;;7298:616;6192:1;6185:14;;;6229:4;6216:18;;-1:-1:-1;;7334:17:1;;;7435:9;7457:229;7471:7;7468:1;7465:14;7457:229;;;7560:19;;;7547:33;7532:49;;7667:4;7652:20;;;;7620:1;7608:14;;;;7487:12;7457:229;;;7461:3;7714;7705:7;7702:16;7699:159;;;7838:1;7834:6;7828:3;7822;7819:1;7815:11;7811:21;7807:34;7803:39;7790:9;7785:3;7781:19;7768:33;7764:79;7756:6;7749:95;7699:159;;;7901:1;7895:3;7892:1;7888:11;7884:19;7878:4;7871:33;7271:895;;6966:1206;;;:::o;8177:127::-;8238:10;8233:3;8229:20;8226:1;8219:31;8269:4;8266:1;8259:15;8293:4;8290:1;8283:15;8309:125;8374:9;;;8395:10;;;8392:36;;;8408:18;;:::i;9151:352::-;9353:2;9335:21;;;9392:2;9372:18;;;9365:30;9431;9426:2;9411:18;;9404:58;9494:2;9479:18;;9151:352::o;9924:1020::-;10100:3;10129:1;10162:6;10156:13;10192:36;10218:9;10192:36;:::i;:::-;10247:1;10264:18;;;10291:133;;;;10438:1;10433:356;;;;10257:532;;10291:133;-1:-1:-1;;10324:24:1;;10312:37;;10397:14;;10390:22;10378:35;;10369:45;;;-1:-1:-1;10291:133:1;;10433:356;10464:6;10461:1;10454:17;10494:4;10539:2;10536:1;10526:16;10564:1;10578:165;10592:6;10589:1;10586:13;10578:165;;;10670:14;;10657:11;;;10650:35;10713:16;;;;10607:10;;10578:165;;;10582:3;;;10772:6;10767:3;10763:16;10756:23;;10257:532;;;;;10820:6;10814:13;10836:68;10895:8;10890:3;10883:4;10875:6;10871:17;10836:68;:::i;:::-;10920:18;;9924:1020;-1:-1:-1;;;;9924:1020:1:o;11356:489::-;-1:-1:-1;;;;;11625:15:1;;;11607:34;;11677:15;;11672:2;11657:18;;11650:43;11724:2;11709:18;;11702:34;;;11772:3;11767:2;11752:18;;11745:31;;;11550:4;;11793:46;;11819:19;;11811:6;11793:46;:::i;:::-;11785:54;11356:489;-1:-1:-1;;;;;;11356:489:1:o;11850:249::-;11919:6;11972:2;11960:9;11951:7;11947:23;11943:32;11940:52;;;11988:1;11985;11978:12;11940:52;12020:9;12014:16;12039:30;12063:5;12039:30;:::i;12104:135::-;12143:3;12164:17;;;12161:43;;12184:18;;:::i;:::-;-1:-1:-1;12231:1:1;12220:13;;12104:135::o;12244:127::-;12305:10;12300:3;12296:20;12293:1;12286:31;12336:4;12333:1;12326:15;12360:4;12357:1;12350:15;12376:120;12416:1;12442;12432:35;;12447:18;;:::i;:::-;-1:-1:-1;12481:9:1;;12376:120::o;12501:128::-;12568:9;;;12589:11;;;12586:37;;;12603:18;;:::i;12634:112::-;12666:1;12692;12682:35;;12697:18;;:::i;:::-;-1:-1:-1;12731:9:1;;12634:112::o;12751:127::-;12812:10;12807:3;12803:20;12800:1;12793:31;12843:4;12840:1;12833:15;12867:4;12864:1;12857:15

Swarm Source

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