ETH Price: $2,601.09 (-2.28%)

LXDAO1stAnniversaryNFT (LXDAO1stAT)
 

Overview

TokenID

18

Total Transfers

-

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 0 Decimals)

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:
LXDAOAnniversaryToken

Compiler Version
v0.8.18+commit.87f61d96

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license
File 1 of 13 : LXDAOAnniversaryToken.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.18;

import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/access/AccessControl.sol";
import "erc721a/contracts/ERC721A.sol";
import "erc721a/contracts/extensions/ERC721AQueryable.sol";

contract LXDAOAnniversaryToken is ERC721AQueryable, AccessControl {
    bytes32 public constant OPERATION_ROLE = keccak256("OPERATION_ROLE");

    using Strings for uint256;

    string public baseURI;
    uint256 public remainingMintAmount = 1900;
    uint256 public remainingAirdropAmount = 100;
    uint256 public constant price = 0.02 ether;

    event BaseURIChanged(
        address operator,
        string fromBaseURI,
        string toBaseURI
    );

    event Withdraw(address from, address to, uint256 amount);

    error CallFailed();

    constructor(
        string memory _baseURI
    ) ERC721A("LXDAO1stAnniversaryNFT", "LXDAO1stAT") {
        _grantRole(DEFAULT_ADMIN_ROLE, msg.sender);
        _grantRole(OPERATION_ROLE, msg.sender);

        baseURI = _baseURI;
    }

    receive() external payable {}

    fallback() external payable {}

    function updateBaseURI(
        string calldata _newBaseURI
    ) external onlyRole(OPERATION_ROLE) {
        emit BaseURIChanged(msg.sender, baseURI, _newBaseURI);
        baseURI = _newBaseURI;
    }

    function supportsInterface(
        bytes4 interfaceId
    ) public view override(IERC721A, ERC721A, AccessControl) returns (bool) {
        return super.supportsInterface(interfaceId);
    }

    function safeTransferETH(address to, uint256 value) internal {
        (bool success, ) = to.call{value: value}(new bytes(0));
        require(
            success,
            "TransferHelper::safeTransferETH: ETH transfer failed"
        );
    }

    function mint(uint256 amount) external payable {
        require(amount <= remainingMintAmount, "Exceeded mint amount.");
        require(amount > 0, "the amount must greater then 0.");

        uint256 pay = price * amount;

        require(msg.value >= pay, "Insufficient payment.");

        remainingMintAmount = remainingMintAmount - amount;

        _safeMint(msg.sender, amount);

        // refund dust eth, if any
        if (msg.value > pay) {
            safeTransferETH(msg.sender, msg.value - pay);
        }
    }

    function airdrop(
        address[] calldata receivers,
        uint256[] calldata amounts
    ) external onlyRole(OPERATION_ROLE) {
        require(
            receivers.length == amounts.length,
            "the length of accounts is not equal to amounts"
        );

        uint256 total = 0;
        for (uint256 i = 0; i < receivers.length; i++) {
            total = total + amounts[i];
        }
        require(remainingAirdropAmount >= total, "Exceeded airdrop amount.");

        for (uint256 i = 0; i < receivers.length; i++) {
            _safeMint(receivers[i], uint96(amounts[i]));
        }

        remainingAirdropAmount = remainingAirdropAmount - total;
    }

    function releaseAirdrop() external onlyRole(OPERATION_ROLE) {
        remainingMintAmount = remainingMintAmount + remainingAirdropAmount;
        remainingAirdropAmount = 0;
    }

    function withdrawToken(
        address to,
        uint256 amount
    ) external onlyRole(DEFAULT_ADMIN_ROLE) {
        require(to != address(0), "ZERO_ADDRESS");
        require(amount > 0, "Invalid input amount.");

        // transfer
        (bool success, ) = to.call{value: amount}("");
        if (!success) {
            revert CallFailed();
        }
        emit Withdraw(_msgSender(), to, amount);
    }

    function tokenURI(
        uint256 tokenId
    ) public view override(ERC721A, IERC721A) returns (string memory) {
        require(_exists(tokenId), "Invalid tokenId.");
        return
            bytes(baseURI).length > 0
                ? string(abi.encodePacked(baseURI, tokenId.toString()))
                : "";
    }
}

File 2 of 13 : ERC721AQueryable.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.3
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import './IERC721AQueryable.sol';
import '../ERC721A.sol';

/**
 * @title ERC721AQueryable.
 *
 * @dev ERC721A subclass with convenience query functions.
 */
abstract contract ERC721AQueryable is ERC721A, IERC721AQueryable {
    /**
     * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting.
     *
     * If the `tokenId` is out of bounds:
     *
     * - `addr = address(0)`
     * - `startTimestamp = 0`
     * - `burned = false`
     * - `extraData = 0`
     *
     * If the `tokenId` is burned:
     *
     * - `addr = <Address of owner before token was burned>`
     * - `startTimestamp = <Timestamp when token was burned>`
     * - `burned = true`
     * - `extraData = <Extra data when token was burned>`
     *
     * Otherwise:
     *
     * - `addr = <Address of owner>`
     * - `startTimestamp = <Timestamp of start of ownership>`
     * - `burned = false`
     * - `extraData = <Extra data at start of ownership>`
     */
    function explicitOwnershipOf(uint256 tokenId) public view virtual override returns (TokenOwnership memory) {
        TokenOwnership memory ownership;
        if (tokenId < _startTokenId() || tokenId >= _nextTokenId()) {
            return ownership;
        }
        ownership = _ownershipAt(tokenId);
        if (ownership.burned) {
            return ownership;
        }
        return _ownershipOf(tokenId);
    }

    /**
     * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order.
     * See {ERC721AQueryable-explicitOwnershipOf}
     */
    function explicitOwnershipsOf(uint256[] calldata tokenIds)
        external
        view
        virtual
        override
        returns (TokenOwnership[] memory)
    {
        unchecked {
            uint256 tokenIdsLength = tokenIds.length;
            TokenOwnership[] memory ownerships = new TokenOwnership[](tokenIdsLength);
            for (uint256 i; i != tokenIdsLength; ++i) {
                ownerships[i] = explicitOwnershipOf(tokenIds[i]);
            }
            return ownerships;
        }
    }

    /**
     * @dev Returns an array of token IDs owned by `owner`,
     * in the range [`start`, `stop`)
     * (i.e. `start <= tokenId < stop`).
     *
     * This function allows for tokens to be queried if the collection
     * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}.
     *
     * Requirements:
     *
     * - `start < stop`
     */
    function tokensOfOwnerIn(
        address owner,
        uint256 start,
        uint256 stop
    ) external view virtual override returns (uint256[] memory) {
        unchecked {
            if (start >= stop) revert InvalidQueryRange();
            uint256 tokenIdsIdx;
            uint256 stopLimit = _nextTokenId();
            // Set `start = max(start, _startTokenId())`.
            if (start < _startTokenId()) {
                start = _startTokenId();
            }
            // Set `stop = min(stop, stopLimit)`.
            if (stop > stopLimit) {
                stop = stopLimit;
            }
            uint256 tokenIdsMaxLength = balanceOf(owner);
            // Set `tokenIdsMaxLength = min(balanceOf(owner), stop - start)`,
            // to cater for cases where `balanceOf(owner)` is too big.
            if (start < stop) {
                uint256 rangeLength = stop - start;
                if (rangeLength < tokenIdsMaxLength) {
                    tokenIdsMaxLength = rangeLength;
                }
            } else {
                tokenIdsMaxLength = 0;
            }
            uint256[] memory tokenIds = new uint256[](tokenIdsMaxLength);
            if (tokenIdsMaxLength == 0) {
                return tokenIds;
            }
            // We need to call `explicitOwnershipOf(start)`,
            // because the slot at `start` may not be initialized.
            TokenOwnership memory ownership = explicitOwnershipOf(start);
            address currOwnershipAddr;
            // If the starting slot exists (i.e. not burned), initialize `currOwnershipAddr`.
            // `ownership.address` will not be zero, as `start` is clamped to the valid token ID range.
            if (!ownership.burned) {
                currOwnershipAddr = ownership.addr;
            }
            for (uint256 i = start; i != stop && tokenIdsIdx != tokenIdsMaxLength; ++i) {
                ownership = _ownershipAt(i);
                if (ownership.burned) {
                    continue;
                }
                if (ownership.addr != address(0)) {
                    currOwnershipAddr = ownership.addr;
                }
                if (currOwnershipAddr == owner) {
                    tokenIds[tokenIdsIdx++] = i;
                }
            }
            // Downsize the array to fit.
            assembly {
                mstore(tokenIds, tokenIdsIdx)
            }
            return tokenIds;
        }
    }

    /**
     * @dev Returns an array of token IDs owned by `owner`.
     *
     * This function scans the ownership mapping and is O(`totalSupply`) in complexity.
     * It is meant to be called off-chain.
     *
     * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into
     * multiple smaller scans if the collection is large enough to cause
     * an out-of-gas error (10K collections should be fine).
     */
    function tokensOfOwner(address owner) external view virtual override returns (uint256[] memory) {
        unchecked {
            uint256 tokenIdsIdx;
            address currOwnershipAddr;
            uint256 tokenIdsLength = balanceOf(owner);
            uint256[] memory tokenIds = new uint256[](tokenIdsLength);
            TokenOwnership memory ownership;
            for (uint256 i = _startTokenId(); tokenIdsIdx != tokenIdsLength; ++i) {
                ownership = _ownershipAt(i);
                if (ownership.burned) {
                    continue;
                }
                if (ownership.addr != address(0)) {
                    currOwnershipAddr = ownership.addr;
                }
                if (currOwnershipAddr == owner) {
                    tokenIds[tokenIdsIdx++] = i;
                }
            }
            return tokenIds;
        }
    }
}

File 3 of 13 : ERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.3
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import './IERC721A.sol';

/**
 * @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 4 of 13 : AccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (access/AccessControl.sol)

pragma solidity ^0.8.0;

import "./IAccessControl.sol";
import "../utils/Context.sol";
import "../utils/Strings.sol";
import "../utils/introspection/ERC165.sol";

/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms. This is a lightweight version that doesn't allow enumerating role
 * members except through off-chain means by accessing the contract event logs. Some
 * applications may benefit from on-chain enumerability, for those cases see
 * {AccessControlEnumerable}.
 *
 * Roles are referred to by their `bytes32` identifier. These should be exposed
 * in the external API and be unique. The best way to achieve this is by
 * using `public constant` hash digests:
 *
 * ```solidity
 * bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
 * ```
 *
 * Roles can be used to represent a set of permissions. To restrict access to a
 * function call, use {hasRole}:
 *
 * ```solidity
 * function foo() public {
 *     require(hasRole(MY_ROLE, msg.sender));
 *     ...
 * }
 * ```
 *
 * Roles can be granted and revoked dynamically via the {grantRole} and
 * {revokeRole} functions. Each role has an associated admin role, and only
 * accounts that have a role's admin role can call {grantRole} and {revokeRole}.
 *
 * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
 * that only accounts with this role will be able to grant or revoke other
 * roles. More complex role relationships can be created by using
 * {_setRoleAdmin}.
 *
 * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
 * grant and revoke this role. Extra precautions should be taken to secure
 * accounts that have been granted it. We recommend using {AccessControlDefaultAdminRules}
 * to enforce additional security measures for this role.
 */
abstract contract AccessControl is Context, IAccessControl, ERC165 {
    struct RoleData {
        mapping(address => bool) members;
        bytes32 adminRole;
    }

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Modifier that checks that an account has a specific role. Reverts
     * with a standardized message including the required role.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     *
     * _Available since v4.1._
     */
    modifier onlyRole(bytes32 role) {
        _checkRole(role);
        _;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId);
    }

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) public view virtual override returns (bool) {
        return _roles[role].members[account];
    }

    /**
     * @dev Revert with a standard message if `_msgSender()` is missing `role`.
     * Overriding this function changes the behavior of the {onlyRole} modifier.
     *
     * Format of the revert message is described in {_checkRole}.
     *
     * _Available since v4.6._
     */
    function _checkRole(bytes32 role) internal view virtual {
        _checkRole(role, _msgSender());
    }

    /**
     * @dev Revert with a standard message if `account` is missing `role`.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     */
    function _checkRole(bytes32 role, address account) internal view virtual {
        if (!hasRole(role, account)) {
            revert(
                string(
                    abi.encodePacked(
                        "AccessControl: account ",
                        Strings.toHexString(account),
                        " is missing role ",
                        Strings.toHexString(uint256(role), 32)
                    )
                )
            );
        }
    }

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) public view virtual override returns (bytes32) {
        return _roles[role].adminRole;
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     *
     * May emit a {RoleGranted} event.
     */
    function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _grantRole(role, account);
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     *
     * May emit a {RoleRevoked} event.
     */
    function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _revokeRole(role, account);
    }

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been revoked `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     *
     * May emit a {RoleRevoked} event.
     */
    function renounceRole(bytes32 role, address account) public virtual override {
        require(account == _msgSender(), "AccessControl: can only renounce roles for self");

        _revokeRole(role, account);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * May emit a {RoleGranted} event.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     *
     * NOTE: This function is deprecated in favor of {_grantRole}.
     */
    function _setupRole(bytes32 role, address account) internal virtual {
        _grantRole(role, account);
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
        bytes32 previousAdminRole = getRoleAdmin(role);
        _roles[role].adminRole = adminRole;
        emit RoleAdminChanged(role, previousAdminRole, adminRole);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * Internal function without access restriction.
     *
     * May emit a {RoleGranted} event.
     */
    function _grantRole(bytes32 role, address account) internal virtual {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * Internal function without access restriction.
     *
     * May emit a {RoleRevoked} event.
     */
    function _revokeRole(bytes32 role, address account) internal virtual {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}

File 5 of 13 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

import "./math/Math.sol";
import "./math/SignedMath.sol";

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

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        unchecked {
            uint256 length = Math.log10(value) + 1;
            string memory buffer = new string(length);
            uint256 ptr;
            /// @solidity memory-safe-assembly
            assembly {
                ptr := add(buffer, add(32, length))
            }
            while (true) {
                ptr--;
                /// @solidity memory-safe-assembly
                assembly {
                    mstore8(ptr, byte(mod(value, 10), _SYMBOLS))
                }
                value /= 10;
                if (value == 0) break;
            }
            return buffer;
        }
    }

    /**
     * @dev Converts a `int256` to its ASCII `string` decimal representation.
     */
    function toString(int256 value) internal pure returns (string memory) {
        return string(abi.encodePacked(value < 0 ? "-" : "", toString(SignedMath.abs(value))));
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        unchecked {
            return toHexString(value, Math.log256(value) + 1);
        }
    }

    /**
     * @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] = _SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }

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

    /**
     * @dev Returns true if the two strings are equal.
     */
    function equal(string memory a, string memory b) internal pure returns (bool) {
        return keccak256(bytes(a)) == keccak256(bytes(b));
    }
}

File 6 of 13 : IERC721AQueryable.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.3
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import '../IERC721A.sol';

/**
 * @dev Interface of ERC721AQueryable.
 */
interface IERC721AQueryable is IERC721A {
    /**
     * Invalid query range (`start` >= `stop`).
     */
    error InvalidQueryRange();

    /**
     * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting.
     *
     * If the `tokenId` is out of bounds:
     *
     * - `addr = address(0)`
     * - `startTimestamp = 0`
     * - `burned = false`
     * - `extraData = 0`
     *
     * If the `tokenId` is burned:
     *
     * - `addr = <Address of owner before token was burned>`
     * - `startTimestamp = <Timestamp when token was burned>`
     * - `burned = true`
     * - `extraData = <Extra data when token was burned>`
     *
     * Otherwise:
     *
     * - `addr = <Address of owner>`
     * - `startTimestamp = <Timestamp of start of ownership>`
     * - `burned = false`
     * - `extraData = <Extra data at start of ownership>`
     */
    function explicitOwnershipOf(uint256 tokenId) external view returns (TokenOwnership memory);

    /**
     * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order.
     * See {ERC721AQueryable-explicitOwnershipOf}
     */
    function explicitOwnershipsOf(uint256[] memory tokenIds) external view returns (TokenOwnership[] memory);

    /**
     * @dev Returns an array of token IDs owned by `owner`,
     * in the range [`start`, `stop`)
     * (i.e. `start <= tokenId < stop`).
     *
     * This function allows for tokens to be queried if the collection
     * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}.
     *
     * Requirements:
     *
     * - `start < stop`
     */
    function tokensOfOwnerIn(
        address owner,
        uint256 start,
        uint256 stop
    ) external view returns (uint256[] memory);

    /**
     * @dev Returns an array of token IDs owned by `owner`.
     *
     * This function scans the ownership mapping and is O(`totalSupply`) in complexity.
     * It is meant to be called off-chain.
     *
     * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into
     * multiple smaller scans if the collection is large enough to cause
     * an out-of-gas error (10K collections should be fine).
     */
    function tokensOfOwner(address owner) external view returns (uint256[] memory);
}

File 7 of 13 : IERC721A.sol
// SPDX-License-Identifier: MIT
// 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 8 of 13 : SignedMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/SignedMath.sol)

pragma solidity ^0.8.0;

/**
 * @dev Standard signed math utilities missing in the Solidity language.
 */
library SignedMath {
    /**
     * @dev Returns the largest of two signed numbers.
     */
    function max(int256 a, int256 b) internal pure returns (int256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two signed numbers.
     */
    function min(int256 a, int256 b) internal pure returns (int256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two signed numbers without overflow.
     * The result is rounded towards zero.
     */
    function average(int256 a, int256 b) internal pure returns (int256) {
        // Formula from the book "Hacker's Delight"
        int256 x = (a & b) + ((a ^ b) >> 1);
        return x + (int256(uint256(x) >> 255) & (a ^ b));
    }

    /**
     * @dev Returns the absolute unsigned value of a signed value.
     */
    function abs(int256 n) internal pure returns (uint256) {
        unchecked {
            // must be unchecked in order to support `n = type(int256).min`
            return uint256(n >= 0 ? n : -n);
        }
    }
}

File 9 of 13 : Math.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/math/Math.sol)

pragma solidity ^0.8.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    enum Rounding {
        Down, // Toward negative infinity
        Up, // Toward infinity
        Zero // Toward zero
    }

    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow.
        return (a & b) + (a ^ b) / 2;
    }

    /**
     * @dev Returns the ceiling of the division of two numbers.
     *
     * This differs from standard division with `/` in that it rounds up instead
     * of rounding down.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b - 1) / b can overflow on addition, so we distribute.
        return a == 0 ? 0 : (a - 1) / b + 1;
    }

    /**
     * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0
     * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv)
     * with further edits by Uniswap Labs also under MIT license.
     */
    function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) {
        unchecked {
            // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use
            // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256
            // variables such that product = prod1 * 2^256 + prod0.
            uint256 prod0; // Least significant 256 bits of the product
            uint256 prod1; // Most significant 256 bits of the product
            assembly {
                let mm := mulmod(x, y, not(0))
                prod0 := mul(x, y)
                prod1 := sub(sub(mm, prod0), lt(mm, prod0))
            }

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                // Solidity will revert if denominator == 0, unlike the div opcode on its own.
                // The surrounding unchecked block does not change this fact.
                // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic.
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            require(denominator > prod1, "Math: mulDiv overflow");

            ///////////////////////////////////////////////
            // 512 by 256 division.
            ///////////////////////////////////////////////

            // Make division exact by subtracting the remainder from [prod1 prod0].
            uint256 remainder;
            assembly {
                // Compute remainder using mulmod.
                remainder := mulmod(x, y, denominator)

                // Subtract 256 bit number from 512 bit number.
                prod1 := sub(prod1, gt(remainder, prod0))
                prod0 := sub(prod0, remainder)
            }

            // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1.
            // See https://cs.stackexchange.com/q/138556/92363.

            // Does not overflow because the denominator cannot be zero at this stage in the function.
            uint256 twos = denominator & (~denominator + 1);
            assembly {
                // Divide denominator by twos.
                denominator := div(denominator, twos)

                // Divide [prod1 prod0] by twos.
                prod0 := div(prod0, twos)

                // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.
                twos := add(div(sub(0, twos), twos), 1)
            }

            // Shift in bits from prod1 into prod0.
            prod0 |= prod1 * twos;

            // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such
            // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for
            // four bits. That is, denominator * inv = 1 mod 2^4.
            uint256 inverse = (3 * denominator) ^ 2;

            // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works
            // in modular arithmetic, doubling the correct bits in each step.
            inverse *= 2 - denominator * inverse; // inverse mod 2^8
            inverse *= 2 - denominator * inverse; // inverse mod 2^16
            inverse *= 2 - denominator * inverse; // inverse mod 2^32
            inverse *= 2 - denominator * inverse; // inverse mod 2^64
            inverse *= 2 - denominator * inverse; // inverse mod 2^128
            inverse *= 2 - denominator * inverse; // inverse mod 2^256

            // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.
            // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is
            // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1
            // is no longer required.
            result = prod0 * inverse;
            return result;
        }
    }

    /**
     * @notice Calculates x * y / denominator with full precision, following the selected rounding direction.
     */
    function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) {
        uint256 result = mulDiv(x, y, denominator);
        if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) {
            result += 1;
        }
        return result;
    }

    /**
     * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down.
     *
     * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11).
     */
    function sqrt(uint256 a) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }

        // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.
        //
        // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have
        // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.
        //
        // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`
        // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`
        // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`
        //
        // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.
        uint256 result = 1 << (log2(a) >> 1);

        // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,
        // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at
        // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision
        // into the expected uint128 result.
        unchecked {
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            return min(result, a / result);
        }
    }

    /**
     * @notice Calculates sqrt(a), following the selected rounding direction.
     */
    function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = sqrt(a);
            return result + (rounding == Rounding.Up && result * result < a ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 2, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 128;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 64;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 32;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 16;
            }
            if (value >> 8 > 0) {
                value >>= 8;
                result += 8;
            }
            if (value >> 4 > 0) {
                value >>= 4;
                result += 4;
            }
            if (value >> 2 > 0) {
                value >>= 2;
                result += 2;
            }
            if (value >> 1 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 2, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log2(value);
            return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 10, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >= 10 ** 64) {
                value /= 10 ** 64;
                result += 64;
            }
            if (value >= 10 ** 32) {
                value /= 10 ** 32;
                result += 32;
            }
            if (value >= 10 ** 16) {
                value /= 10 ** 16;
                result += 16;
            }
            if (value >= 10 ** 8) {
                value /= 10 ** 8;
                result += 8;
            }
            if (value >= 10 ** 4) {
                value /= 10 ** 4;
                result += 4;
            }
            if (value >= 10 ** 2) {
                value /= 10 ** 2;
                result += 2;
            }
            if (value >= 10 ** 1) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log10(value);
            return result + (rounding == Rounding.Up && 10 ** result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 256, rounded down, of a positive value.
     * Returns 0 if given 0.
     *
     * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.
     */
    function log256(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 16;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 8;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 4;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 2;
            }
            if (value >> 8 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 256, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log256(value);
            return result + (rounding == Rounding.Up && 1 << (result << 3) < value ? 1 : 0);
        }
    }
}

File 10 of 13 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

File 11 of 13 : Context.sol
// SPDX-License-Identifier: MIT
// 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 12 of 13 : IAccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol)

pragma solidity ^0.8.0;

/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControl {
    /**
     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
     *
     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
     * {RoleAdminChanged} not being emitted signaling this.
     *
     * _Available since v3.1._
     */
    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);

    /**
     * @dev Emitted when `account` is granted `role`.
     *
     * `sender` is the account that originated the contract call, an admin role
     * bearer except when using {AccessControl-_setupRole}.
     */
    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Emitted when `account` is revoked `role`.
     *
     * `sender` is the account that originated the contract call:
     *   - if using `revokeRole`, it is the admin role bearer
     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)
     */
    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) external view returns (bool);

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {AccessControl-_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) external view returns (bytes32);

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) external;
}

File 13 of 13 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"CallFailed","type":"error"},{"inputs":[],"name":"InvalidQueryRange","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":false,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"string","name":"fromBaseURI","type":"string"},{"indexed":false,"internalType":"string","name":"toBaseURI","type":"string"}],"name":"BaseURIChanged","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":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OPERATION_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"receivers","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"explicitOwnershipOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"explicitOwnershipsOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"releaseAirdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"remainingAirdropAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"remainingMintAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","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":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"start","type":"uint256"},{"internalType":"uint256","name":"stop","type":"uint256"}],"name":"tokensOfOwnerIn","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"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":"string","name":"_newBaseURI","type":"string"}],"name":"updateBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdrawToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

608060405261076c600a556064600b553480156200001c57600080fd5b5060405162002c2838038062002c288339810160408190526200003f91620001c9565b6040518060400160405280601681526020017f4c5844414f317374416e6e69766572736172794e4654000000000000000000008152506040518060400160405280600a8152602001691316111053cc5cdd105560b21b8152508160029081620000a991906200032d565b506003620000b882826200032d565b50506000808055620000cc9150336200010e565b620000f87f20296b01d0b6bd176f0c1e29644934c0047abf080dae43609a1bbc09e39bafdb336200010e565b60096200010682826200032d565b5050620003f9565b60008281526008602090815260408083206001600160a01b038516845290915290205460ff16620001af5760008281526008602090815260408083206001600160a01b03851684529091529020805460ff191660011790556200016e3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b634e487b7160e01b600052604160045260246000fd5b60006020808385031215620001dd57600080fd5b82516001600160401b0380821115620001f557600080fd5b818501915085601f8301126200020a57600080fd5b8151818111156200021f576200021f620001b3565b604051601f8201601f19908116603f011681019083821181831017156200024a576200024a620001b3565b8160405282815288868487010111156200026357600080fd5b600093505b8284101562000287578484018601518185018701529285019262000268565b600086848301015280965050505050505092915050565b600181811c90821680620002b357607f821691505b602082108103620002d457634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200032857600081815260208120601f850160051c81016020861015620003035750805b601f850160051c820191505b8181101562000324578281556001016200030f565b5050505b505050565b81516001600160401b03811115620003495762000349620001b3565b62000361816200035a84546200029e565b84620002da565b602080601f831160018114620003995760008415620003805750858301515b600019600386901b1c1916600185901b17855562000324565b600085815260208120601f198616915b82811015620003ca57888601518255948401946001909101908401620003a9565b5085821015620003e95787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b61281f80620004096000396000f3fe6080604052600436106101e55760003560e01c80638462151c11610101578063a035b1fe1161009a578063b88d4fde1161006c578063b88d4fde14610573578063c23dc68f14610586578063c87b56dd146105b3578063d547741f146105d3578063e985e9c5146105f357005b8063a035b1fe14610510578063a0712d681461052b578063a217fddf1461053e578063a22cb4651461055357005b8063931688cb116100d3578063931688cb1461049b57806395d89b41146104bb57806399a2557a146104d05780639e281a98146104f057005b80638462151c146104175780638545d8df1461044457806391d148541461046657806392b905691461048657005b806335c63f1f1161017e5780635bbb2177116101505780635bbb2177146103755780636352211e146103a257806367243482146103c25780636c0360eb146103e257806370a08231146103f757005b806335c63f1f1461031657806336568abe1461032c57806342842e0e1461034c5780635489f2bb1461035f57005b806318160ddd116101b757806318160ddd1461029057806323b872dd146102b3578063248a9ca3146102c65780632f2ff15d146102f657005b806301ffc9a7146101ee57806306fdde0314610223578063081812fc14610245578063095ea7b31461027d57005b366101ec57005b005b3480156101fa57600080fd5b5061020e610209366004611e8e565b61063c565b60405190151581526020015b60405180910390f35b34801561022f57600080fd5b5061023861064d565b60405161021a9190611efb565b34801561025157600080fd5b50610265610260366004611f0e565b6106df565b6040516001600160a01b03909116815260200161021a565b6101ec61028b366004611f43565b610723565b34801561029c57600080fd5b50600154600054035b60405190815260200161021a565b6101ec6102c1366004611f6d565b6107c3565b3480156102d257600080fd5b506102a56102e1366004611f0e565b60009081526008602052604090206001015490565b34801561030257600080fd5b506101ec610311366004611fa9565b61095c565b34801561032257600080fd5b506102a5600a5481565b34801561033857600080fd5b506101ec610347366004611fa9565b610986565b6101ec61035a366004611f6d565b610a09565b34801561036b57600080fd5b506102a5600b5481565b34801561038157600080fd5b50610395610390366004612020565b610a24565b60405161021a919061209d565b3480156103ae57600080fd5b506102656103bd366004611f0e565b610aef565b3480156103ce57600080fd5b506101ec6103dd3660046120df565b610afa565b3480156103ee57600080fd5b50610238610c9c565b34801561040357600080fd5b506102a561041236600461214a565b610d2a565b34801561042357600080fd5b5061043761043236600461214a565b610d78565b60405161021a9190612165565b34801561045057600080fd5b506102a56000805160206127ca83398151915281565b34801561047257600080fd5b5061020e610481366004611fa9565b610e80565b34801561049257600080fd5b506101ec610eab565b3480156104a757600080fd5b506101ec6104b636600461219d565b610ede565b3480156104c757600080fd5b50610238610f47565b3480156104dc57600080fd5b506104376104eb36600461220e565b610f56565b3480156104fc57600080fd5b506101ec61050b366004611f43565b6110cf565b34801561051c57600080fd5b506102a566470de4df82000081565b6101ec610539366004611f0e565b611229565b34801561054a57600080fd5b506102a5600081565b34801561055f57600080fd5b506101ec61056e366004612241565b611356565b6101ec610581366004612293565b6113c2565b34801561059257600080fd5b506105a66105a1366004611f0e565b611406565b60405161021a919061236e565b3480156105bf57600080fd5b506102386105ce366004611f0e565b61147e565b3480156105df57600080fd5b506101ec6105ee366004611fa9565b611524565b3480156105ff57600080fd5b5061020e61060e36600461237c565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b600061064782611549565b92915050565b60606002805461065c906123a6565b80601f0160208091040260200160405190810160405280929190818152602001828054610688906123a6565b80156106d55780601f106106aa576101008083540402835291602001916106d5565b820191906000526020600020905b8154815290600101906020018083116106b857829003601f168201915b5050505050905090565b60006106ea8261157e565b610707576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061072e82610aef565b9050336001600160a01b038216146107675761074a813361060e565b610767576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006107ce826115a5565b9050836001600160a01b0316816001600160a01b0316146108015760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b0388169091141761084e57610831863361060e565b61084e57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661087557604051633a954ecd60e21b815260040160405180910390fd5b801561088057600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003610912576001840160008181526004602052604081205490036109105760005481146109105760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b6000828152600860205260409020600101546109778161160c565b6109818383611619565b505050565b6001600160a01b03811633146109fb5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b610a05828261169f565b5050565b610981838383604051806020016040528060008152506113c2565b6060816000816001600160401b03811115610a4157610a4161227d565b604051908082528060200260200182016040528015610a9357816020015b604080516080810182526000808252602080830182905292820181905260608201528252600019909201910181610a5f5790505b50905060005b828114610ae657610ac1868683818110610ab557610ab56123e0565b90506020020135611406565b828281518110610ad357610ad36123e0565b6020908102919091010152600101610a99565b50949350505050565b6000610647826115a5565b6000805160206127ca833981519152610b128161160c565b838214610b785760405162461bcd60e51b815260206004820152602e60248201527f746865206c656e677468206f66206163636f756e7473206973206e6f7420657160448201526d75616c20746f20616d6f756e747360901b60648201526084016109f2565b6000805b85811015610bbc57848482818110610b9657610b966123e0565b9050602002013582610ba8919061240c565b915080610bb48161241f565b915050610b7c565b5080600b541015610c0f5760405162461bcd60e51b815260206004820152601860248201527f45786365656465642061697264726f7020616d6f756e742e000000000000000060448201526064016109f2565b60005b85811015610c8257610c70878783818110610c2f57610c2f6123e0565b9050602002016020810190610c44919061214a565b868684818110610c5657610c566123e0565b905060200201356bffffffffffffffffffffffff16611706565b80610c7a8161241f565b915050610c12565b5080600b54610c919190612438565b600b55505050505050565b60098054610ca9906123a6565b80601f0160208091040260200160405190810160405280929190818152602001828054610cd5906123a6565b8015610d225780601f10610cf757610100808354040283529160200191610d22565b820191906000526020600020905b815481529060010190602001808311610d0557829003601f168201915b505050505081565b60006001600160a01b038216610d53576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b60606000806000610d8885610d2a565b90506000816001600160401b03811115610da457610da461227d565b604051908082528060200260200182016040528015610dcd578160200160208202803683370190505b509050610dfa60408051608081018252600080825260208201819052918101829052606081019190915290565b60005b838614610e7457610e0d81611720565b91508160400151610e6c5781516001600160a01b031615610e2d57815194505b876001600160a01b0316856001600160a01b031603610e6c5780838780600101985081518110610e5f57610e5f6123e0565b6020026020010181815250505b600101610dfd565b50909695505050505050565b60009182526008602090815260408084206001600160a01b0393909316845291905290205460ff1690565b6000805160206127ca833981519152610ec38161160c565b600b54600a54610ed3919061240c565b600a55506000600b55565b6000805160206127ca833981519152610ef68161160c565b7f92bf6a7b8937c17e6781a68d61f9fe6a5ce08604b96ca2206f311049a3a295ea3360098585604051610f2c9493929190612474565b60405180910390a16009610f4183858361256a565b50505050565b60606003805461065c906123a6565b6060818310610f7857604051631960ccad60e11b815260040160405180910390fd5b600080610f8460005490565b905080841115610f92578093505b6000610f9d87610d2a565b905084861015610fbc5785850381811015610fb6578091505b50610fc0565b5060005b6000816001600160401b03811115610fda57610fda61227d565b604051908082528060200260200182016040528015611003578160200160208202803683370190505b509050816000036110195793506110c892505050565b600061102488611406565b905060008160400151611035575080515b885b8881141580156110475750848714155b156110bc5761105581611720565b925082604001516110b45782516001600160a01b03161561107557825191505b8a6001600160a01b0316826001600160a01b0316036110b457808488806001019950815181106110a7576110a76123e0565b6020026020010181815250505b600101611037565b50505092835250909150505b9392505050565b60006110da8161160c565b6001600160a01b03831661111f5760405162461bcd60e51b815260206004820152600c60248201526b5a45524f5f4144445245535360a01b60448201526064016109f2565b600082116111675760405162461bcd60e51b815260206004820152601560248201527424b73b30b634b21034b7383aba1030b6b7bab73a1760591b60448201526064016109f2565b6000836001600160a01b03168360405160006040518083038185875af1925050503d80600081146111b4576040519150601f19603f3d011682016040523d82523d6000602084013e6111b9565b606091505b50509050806111db57604051633204506f60e01b815260040160405180910390fd5b604080513381526001600160a01b038616602082015280820185905290517f9b1bfa7fa9ee420a16e124f794c35ac9f90472acc99140eb2f6447c714cad8eb9181900360600190a150505050565b600a548111156112735760405162461bcd60e51b815260206004820152601560248201527422bc31b2b2b232b21036b4b73a1030b6b7bab73a1760591b60448201526064016109f2565b600081116112c35760405162461bcd60e51b815260206004820152601f60248201527f74686520616d6f756e74206d7573742067726561746572207468656e20302e0060448201526064016109f2565b60006112d68266470de4df820000612629565b9050803410156113205760405162461bcd60e51b815260206004820152601560248201527424b739bab33334b1b4b2b73a103830bcb6b2b73a1760591b60448201526064016109f2565b81600a5461132e9190612438565b600a5561133b3383611706565b80341115610a0557610a05336113518334612438565b61175c565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6113cd8484846107c3565b6001600160a01b0383163b15610f41576113e984848484611836565b610f41576040516368d2bf6b60e11b815260040160405180910390fd5b604080516080808201835260008083526020808401829052838501829052606080850183905285519384018652828452908301829052938201819052928101839052909150600054831061145a5792915050565b61146383611720565b90508060400151156114755792915050565b6110c883611921565b60606114898261157e565b6114c85760405162461bcd60e51b815260206004820152601060248201526f24b73b30b634b2103a37b5b2b724b21760811b60448201526064016109f2565b6000600980546114d7906123a6565b9050116114f35760405180602001604052806000815250610647565b60096114fe83611956565b60405160200161150f929190612640565b60405160208183030381529060405292915050565b60008281526008602052604090206001015461153f8161160c565b610981838361169f565b60006001600160e01b03198216637965db0b60e01b148061064757506301ffc9a760e01b6001600160e01b0319831614610647565b6000805482108015610647575050600090815260046020526040902054600160e01b161590565b6000816000548110156115f35760008181526004602052604081205490600160e01b821690036115f1575b806000036110c85750600019016000818152600460205260409020546115d0565b505b604051636f96cda160e11b815260040160405180910390fd5b61161681336119e8565b50565b6116238282610e80565b610a055760008281526008602090815260408083206001600160a01b03851684529091529020805460ff1916600117905561165b3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6116a98282610e80565b15610a055760008281526008602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b610a05828260405180602001604052806000815250611a41565b60408051608081018252600080825260208201819052918101829052606081019190915260008281526004602052604090205461064790611aae565b604080516000808252602082019092526001600160a01b03841690839060405161178691906126c7565b60006040518083038185875af1925050503d80600081146117c3576040519150601f19603f3d011682016040523d82523d6000602084013e6117c8565b606091505b50509050806109815760405162461bcd60e51b815260206004820152603460248201527f5472616e7366657248656c7065723a3a736166655472616e736665724554483a60448201527308115512081d1c985b9cd9995c8819985a5b195960621b60648201526084016109f2565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061186b9033908990889088906004016126e3565b6020604051808303816000875af19250505080156118a6575060408051601f3d908101601f191682019092526118a391810190612720565b60015b611904573d8080156118d4576040519150601f19603f3d011682016040523d82523d6000602084013e6118d9565b606091505b5080516000036118fc576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b604080516080810182526000808252602082018190529181018290526060810191909152610647611951836115a5565b611aae565b6060600061196383611af5565b60010190506000816001600160401b038111156119825761198261227d565b6040519080825280601f01601f1916602001820160405280156119ac576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a85049450846119b657509392505050565b6119f28282610e80565b610a05576119ff81611bcd565b611a0a836020611bdf565b604051602001611a1b92919061273d565b60408051601f198184030181529082905262461bcd60e51b82526109f291600401611efb565b611a4b8383611d7a565b6001600160a01b0383163b15610981576000548281035b611a756000868380600101945086611836565b611a92576040516368d2bf6b60e11b815260040160405180910390fd5b818110611a62578160005414611aa757600080fd5b5050505050565b604080516080810182526001600160a01b038316815260a083901c6001600160401b03166020820152600160e01b831615159181019190915260e89190911c606082015290565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310611b345772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611b60576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310611b7e57662386f26fc10000830492506010015b6305f5e1008310611b96576305f5e100830492506008015b6127108310611baa57612710830492506004015b60648310611bbc576064830492506002015b600a83106106475760010192915050565b60606106476001600160a01b03831660145b60606000611bee836002612629565b611bf990600261240c565b6001600160401b03811115611c1057611c1061227d565b6040519080825280601f01601f191660200182016040528015611c3a576020820181803683370190505b509050600360fc1b81600081518110611c5557611c556123e0565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110611c8457611c846123e0565b60200101906001600160f81b031916908160001a9053506000611ca8846002612629565b611cb390600161240c565b90505b6001811115611d2b576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110611ce757611ce76123e0565b1a60f81b828281518110611cfd57611cfd6123e0565b60200101906001600160f81b031916908160001a90535060049490941c93611d24816127b2565b9050611cb6565b5083156110c85760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016109f2565b6000805490829003611d9f5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114611e4e57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611e16565b5081600003611e6f57604051622e076360e81b815260040160405180910390fd5b60005550505050565b6001600160e01b03198116811461161657600080fd5b600060208284031215611ea057600080fd5b81356110c881611e78565b60005b83811015611ec6578181015183820152602001611eae565b50506000910152565b60008151808452611ee7816020860160208601611eab565b601f01601f19169290920160200192915050565b6020815260006110c86020830184611ecf565b600060208284031215611f2057600080fd5b5035919050565b80356001600160a01b0381168114611f3e57600080fd5b919050565b60008060408385031215611f5657600080fd5b611f5f83611f27565b946020939093013593505050565b600080600060608486031215611f8257600080fd5b611f8b84611f27565b9250611f9960208501611f27565b9150604084013590509250925092565b60008060408385031215611fbc57600080fd5b82359150611fcc60208401611f27565b90509250929050565b60008083601f840112611fe757600080fd5b5081356001600160401b03811115611ffe57600080fd5b6020830191508360208260051b850101111561201957600080fd5b9250929050565b6000806020838503121561203357600080fd5b82356001600160401b0381111561204957600080fd5b61205585828601611fd5565b90969095509350505050565b80516001600160a01b031682526020808201516001600160401b03169083015260408082015115159083015260609081015162ffffff16910152565b6020808252825182820181905260009190848201906040850190845b81811015610e74576120cc838551612061565b92840192608092909201916001016120b9565b600080600080604085870312156120f557600080fd5b84356001600160401b038082111561210c57600080fd5b61211888838901611fd5565b9096509450602087013591508082111561213157600080fd5b5061213e87828801611fd5565b95989497509550505050565b60006020828403121561215c57600080fd5b6110c882611f27565b6020808252825182820181905260009190848201906040850190845b81811015610e7457835183529284019291840191600101612181565b600080602083850312156121b057600080fd5b82356001600160401b03808211156121c757600080fd5b818501915085601f8301126121db57600080fd5b8135818111156121ea57600080fd5b8660208285010111156121fc57600080fd5b60209290920196919550909350505050565b60008060006060848603121561222357600080fd5b61222c84611f27565b95602085013595506040909401359392505050565b6000806040838503121561225457600080fd5b61225d83611f27565b91506020830135801515811461227257600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b600080600080608085870312156122a957600080fd5b6122b285611f27565b93506122c060208601611f27565b92506040850135915060608501356001600160401b03808211156122e357600080fd5b818701915087601f8301126122f757600080fd5b8135818111156123095761230961227d565b604051601f8201601f19908116603f011681019083821181831017156123315761233161227d565b816040528281528a602084870101111561234a57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b608081016106478284612061565b6000806040838503121561238f57600080fd5b61239883611f27565b9150611fcc60208401611f27565b600181811c908216806123ba57607f821691505b6020821081036123da57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b80820180821115610647576106476123f6565b600060018201612431576124316123f6565b5060010190565b81810381811115610647576106476123f6565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b60018060a01b03851681526000602060608184015260008654612496816123a6565b80606087015260806001808416600081146124b857600181146124d257612500565b60ff1985168984015283151560051b890183019550612500565b8b6000528660002060005b858110156124f85781548b82018601529083019088016124dd565b8a0184019650505b5050505050838103604085015261251881868861244b565b98975050505050505050565b601f82111561098157600081815260208120601f850160051c8101602086101561254b5750805b601f850160051c820191505b8181101561095457828155600101612557565b6001600160401b038311156125815761258161227d565b6125958361258f83546123a6565b83612524565b6000601f8411600181146125c957600085156125b15750838201355b600019600387901b1c1916600186901b178355611aa7565b600083815260209020601f19861690835b828110156125fa57868501358255602094850194600190920191016125da565b50868210156126175760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b8082028115828204841417610647576106476123f6565b600080845461264e816123a6565b60018281168015612666576001811461267b576126aa565b60ff19841687528215158302870194506126aa565b8860005260208060002060005b858110156126a15781548a820152908401908201612688565b50505082870194505b5050505083516126be818360208801611eab565b01949350505050565b600082516126d9818460208701611eab565b9190910192915050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061271690830184611ecf565b9695505050505050565b60006020828403121561273257600080fd5b81516110c881611e78565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351612775816017850160208801611eab565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516127a6816028840160208801611eab565b01602801949350505050565b6000816127c1576127c16123f6565b50600019019056fe20296b01d0b6bd176f0c1e29644934c0047abf080dae43609a1bbc09e39bafdba26469706673582212207aa16c5ac06ba56be0c0b8dd7e1382b1c2b3c49c16833a6559bcf6c114dd4b2964736f6c634300081200330000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002e68747470733a2f2f6170692e6c7864616f2e696f2f616e6e69766572736172792d6e66742f6d657461646174612f000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106101e55760003560e01c80638462151c11610101578063a035b1fe1161009a578063b88d4fde1161006c578063b88d4fde14610573578063c23dc68f14610586578063c87b56dd146105b3578063d547741f146105d3578063e985e9c5146105f357005b8063a035b1fe14610510578063a0712d681461052b578063a217fddf1461053e578063a22cb4651461055357005b8063931688cb116100d3578063931688cb1461049b57806395d89b41146104bb57806399a2557a146104d05780639e281a98146104f057005b80638462151c146104175780638545d8df1461044457806391d148541461046657806392b905691461048657005b806335c63f1f1161017e5780635bbb2177116101505780635bbb2177146103755780636352211e146103a257806367243482146103c25780636c0360eb146103e257806370a08231146103f757005b806335c63f1f1461031657806336568abe1461032c57806342842e0e1461034c5780635489f2bb1461035f57005b806318160ddd116101b757806318160ddd1461029057806323b872dd146102b3578063248a9ca3146102c65780632f2ff15d146102f657005b806301ffc9a7146101ee57806306fdde0314610223578063081812fc14610245578063095ea7b31461027d57005b366101ec57005b005b3480156101fa57600080fd5b5061020e610209366004611e8e565b61063c565b60405190151581526020015b60405180910390f35b34801561022f57600080fd5b5061023861064d565b60405161021a9190611efb565b34801561025157600080fd5b50610265610260366004611f0e565b6106df565b6040516001600160a01b03909116815260200161021a565b6101ec61028b366004611f43565b610723565b34801561029c57600080fd5b50600154600054035b60405190815260200161021a565b6101ec6102c1366004611f6d565b6107c3565b3480156102d257600080fd5b506102a56102e1366004611f0e565b60009081526008602052604090206001015490565b34801561030257600080fd5b506101ec610311366004611fa9565b61095c565b34801561032257600080fd5b506102a5600a5481565b34801561033857600080fd5b506101ec610347366004611fa9565b610986565b6101ec61035a366004611f6d565b610a09565b34801561036b57600080fd5b506102a5600b5481565b34801561038157600080fd5b50610395610390366004612020565b610a24565b60405161021a919061209d565b3480156103ae57600080fd5b506102656103bd366004611f0e565b610aef565b3480156103ce57600080fd5b506101ec6103dd3660046120df565b610afa565b3480156103ee57600080fd5b50610238610c9c565b34801561040357600080fd5b506102a561041236600461214a565b610d2a565b34801561042357600080fd5b5061043761043236600461214a565b610d78565b60405161021a9190612165565b34801561045057600080fd5b506102a56000805160206127ca83398151915281565b34801561047257600080fd5b5061020e610481366004611fa9565b610e80565b34801561049257600080fd5b506101ec610eab565b3480156104a757600080fd5b506101ec6104b636600461219d565b610ede565b3480156104c757600080fd5b50610238610f47565b3480156104dc57600080fd5b506104376104eb36600461220e565b610f56565b3480156104fc57600080fd5b506101ec61050b366004611f43565b6110cf565b34801561051c57600080fd5b506102a566470de4df82000081565b6101ec610539366004611f0e565b611229565b34801561054a57600080fd5b506102a5600081565b34801561055f57600080fd5b506101ec61056e366004612241565b611356565b6101ec610581366004612293565b6113c2565b34801561059257600080fd5b506105a66105a1366004611f0e565b611406565b60405161021a919061236e565b3480156105bf57600080fd5b506102386105ce366004611f0e565b61147e565b3480156105df57600080fd5b506101ec6105ee366004611fa9565b611524565b3480156105ff57600080fd5b5061020e61060e36600461237c565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b600061064782611549565b92915050565b60606002805461065c906123a6565b80601f0160208091040260200160405190810160405280929190818152602001828054610688906123a6565b80156106d55780601f106106aa576101008083540402835291602001916106d5565b820191906000526020600020905b8154815290600101906020018083116106b857829003601f168201915b5050505050905090565b60006106ea8261157e565b610707576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061072e82610aef565b9050336001600160a01b038216146107675761074a813361060e565b610767576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006107ce826115a5565b9050836001600160a01b0316816001600160a01b0316146108015760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b0388169091141761084e57610831863361060e565b61084e57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661087557604051633a954ecd60e21b815260040160405180910390fd5b801561088057600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003610912576001840160008181526004602052604081205490036109105760005481146109105760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b6000828152600860205260409020600101546109778161160c565b6109818383611619565b505050565b6001600160a01b03811633146109fb5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b610a05828261169f565b5050565b610981838383604051806020016040528060008152506113c2565b6060816000816001600160401b03811115610a4157610a4161227d565b604051908082528060200260200182016040528015610a9357816020015b604080516080810182526000808252602080830182905292820181905260608201528252600019909201910181610a5f5790505b50905060005b828114610ae657610ac1868683818110610ab557610ab56123e0565b90506020020135611406565b828281518110610ad357610ad36123e0565b6020908102919091010152600101610a99565b50949350505050565b6000610647826115a5565b6000805160206127ca833981519152610b128161160c565b838214610b785760405162461bcd60e51b815260206004820152602e60248201527f746865206c656e677468206f66206163636f756e7473206973206e6f7420657160448201526d75616c20746f20616d6f756e747360901b60648201526084016109f2565b6000805b85811015610bbc57848482818110610b9657610b966123e0565b9050602002013582610ba8919061240c565b915080610bb48161241f565b915050610b7c565b5080600b541015610c0f5760405162461bcd60e51b815260206004820152601860248201527f45786365656465642061697264726f7020616d6f756e742e000000000000000060448201526064016109f2565b60005b85811015610c8257610c70878783818110610c2f57610c2f6123e0565b9050602002016020810190610c44919061214a565b868684818110610c5657610c566123e0565b905060200201356bffffffffffffffffffffffff16611706565b80610c7a8161241f565b915050610c12565b5080600b54610c919190612438565b600b55505050505050565b60098054610ca9906123a6565b80601f0160208091040260200160405190810160405280929190818152602001828054610cd5906123a6565b8015610d225780601f10610cf757610100808354040283529160200191610d22565b820191906000526020600020905b815481529060010190602001808311610d0557829003601f168201915b505050505081565b60006001600160a01b038216610d53576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b60606000806000610d8885610d2a565b90506000816001600160401b03811115610da457610da461227d565b604051908082528060200260200182016040528015610dcd578160200160208202803683370190505b509050610dfa60408051608081018252600080825260208201819052918101829052606081019190915290565b60005b838614610e7457610e0d81611720565b91508160400151610e6c5781516001600160a01b031615610e2d57815194505b876001600160a01b0316856001600160a01b031603610e6c5780838780600101985081518110610e5f57610e5f6123e0565b6020026020010181815250505b600101610dfd565b50909695505050505050565b60009182526008602090815260408084206001600160a01b0393909316845291905290205460ff1690565b6000805160206127ca833981519152610ec38161160c565b600b54600a54610ed3919061240c565b600a55506000600b55565b6000805160206127ca833981519152610ef68161160c565b7f92bf6a7b8937c17e6781a68d61f9fe6a5ce08604b96ca2206f311049a3a295ea3360098585604051610f2c9493929190612474565b60405180910390a16009610f4183858361256a565b50505050565b60606003805461065c906123a6565b6060818310610f7857604051631960ccad60e11b815260040160405180910390fd5b600080610f8460005490565b905080841115610f92578093505b6000610f9d87610d2a565b905084861015610fbc5785850381811015610fb6578091505b50610fc0565b5060005b6000816001600160401b03811115610fda57610fda61227d565b604051908082528060200260200182016040528015611003578160200160208202803683370190505b509050816000036110195793506110c892505050565b600061102488611406565b905060008160400151611035575080515b885b8881141580156110475750848714155b156110bc5761105581611720565b925082604001516110b45782516001600160a01b03161561107557825191505b8a6001600160a01b0316826001600160a01b0316036110b457808488806001019950815181106110a7576110a76123e0565b6020026020010181815250505b600101611037565b50505092835250909150505b9392505050565b60006110da8161160c565b6001600160a01b03831661111f5760405162461bcd60e51b815260206004820152600c60248201526b5a45524f5f4144445245535360a01b60448201526064016109f2565b600082116111675760405162461bcd60e51b815260206004820152601560248201527424b73b30b634b21034b7383aba1030b6b7bab73a1760591b60448201526064016109f2565b6000836001600160a01b03168360405160006040518083038185875af1925050503d80600081146111b4576040519150601f19603f3d011682016040523d82523d6000602084013e6111b9565b606091505b50509050806111db57604051633204506f60e01b815260040160405180910390fd5b604080513381526001600160a01b038616602082015280820185905290517f9b1bfa7fa9ee420a16e124f794c35ac9f90472acc99140eb2f6447c714cad8eb9181900360600190a150505050565b600a548111156112735760405162461bcd60e51b815260206004820152601560248201527422bc31b2b2b232b21036b4b73a1030b6b7bab73a1760591b60448201526064016109f2565b600081116112c35760405162461bcd60e51b815260206004820152601f60248201527f74686520616d6f756e74206d7573742067726561746572207468656e20302e0060448201526064016109f2565b60006112d68266470de4df820000612629565b9050803410156113205760405162461bcd60e51b815260206004820152601560248201527424b739bab33334b1b4b2b73a103830bcb6b2b73a1760591b60448201526064016109f2565b81600a5461132e9190612438565b600a5561133b3383611706565b80341115610a0557610a05336113518334612438565b61175c565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6113cd8484846107c3565b6001600160a01b0383163b15610f41576113e984848484611836565b610f41576040516368d2bf6b60e11b815260040160405180910390fd5b604080516080808201835260008083526020808401829052838501829052606080850183905285519384018652828452908301829052938201819052928101839052909150600054831061145a5792915050565b61146383611720565b90508060400151156114755792915050565b6110c883611921565b60606114898261157e565b6114c85760405162461bcd60e51b815260206004820152601060248201526f24b73b30b634b2103a37b5b2b724b21760811b60448201526064016109f2565b6000600980546114d7906123a6565b9050116114f35760405180602001604052806000815250610647565b60096114fe83611956565b60405160200161150f929190612640565b60405160208183030381529060405292915050565b60008281526008602052604090206001015461153f8161160c565b610981838361169f565b60006001600160e01b03198216637965db0b60e01b148061064757506301ffc9a760e01b6001600160e01b0319831614610647565b6000805482108015610647575050600090815260046020526040902054600160e01b161590565b6000816000548110156115f35760008181526004602052604081205490600160e01b821690036115f1575b806000036110c85750600019016000818152600460205260409020546115d0565b505b604051636f96cda160e11b815260040160405180910390fd5b61161681336119e8565b50565b6116238282610e80565b610a055760008281526008602090815260408083206001600160a01b03851684529091529020805460ff1916600117905561165b3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6116a98282610e80565b15610a055760008281526008602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b610a05828260405180602001604052806000815250611a41565b60408051608081018252600080825260208201819052918101829052606081019190915260008281526004602052604090205461064790611aae565b604080516000808252602082019092526001600160a01b03841690839060405161178691906126c7565b60006040518083038185875af1925050503d80600081146117c3576040519150601f19603f3d011682016040523d82523d6000602084013e6117c8565b606091505b50509050806109815760405162461bcd60e51b815260206004820152603460248201527f5472616e7366657248656c7065723a3a736166655472616e736665724554483a60448201527308115512081d1c985b9cd9995c8819985a5b195960621b60648201526084016109f2565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061186b9033908990889088906004016126e3565b6020604051808303816000875af19250505080156118a6575060408051601f3d908101601f191682019092526118a391810190612720565b60015b611904573d8080156118d4576040519150601f19603f3d011682016040523d82523d6000602084013e6118d9565b606091505b5080516000036118fc576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b604080516080810182526000808252602082018190529181018290526060810191909152610647611951836115a5565b611aae565b6060600061196383611af5565b60010190506000816001600160401b038111156119825761198261227d565b6040519080825280601f01601f1916602001820160405280156119ac576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a85049450846119b657509392505050565b6119f28282610e80565b610a05576119ff81611bcd565b611a0a836020611bdf565b604051602001611a1b92919061273d565b60408051601f198184030181529082905262461bcd60e51b82526109f291600401611efb565b611a4b8383611d7a565b6001600160a01b0383163b15610981576000548281035b611a756000868380600101945086611836565b611a92576040516368d2bf6b60e11b815260040160405180910390fd5b818110611a62578160005414611aa757600080fd5b5050505050565b604080516080810182526001600160a01b038316815260a083901c6001600160401b03166020820152600160e01b831615159181019190915260e89190911c606082015290565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310611b345772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611b60576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310611b7e57662386f26fc10000830492506010015b6305f5e1008310611b96576305f5e100830492506008015b6127108310611baa57612710830492506004015b60648310611bbc576064830492506002015b600a83106106475760010192915050565b60606106476001600160a01b03831660145b60606000611bee836002612629565b611bf990600261240c565b6001600160401b03811115611c1057611c1061227d565b6040519080825280601f01601f191660200182016040528015611c3a576020820181803683370190505b509050600360fc1b81600081518110611c5557611c556123e0565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110611c8457611c846123e0565b60200101906001600160f81b031916908160001a9053506000611ca8846002612629565b611cb390600161240c565b90505b6001811115611d2b576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110611ce757611ce76123e0565b1a60f81b828281518110611cfd57611cfd6123e0565b60200101906001600160f81b031916908160001a90535060049490941c93611d24816127b2565b9050611cb6565b5083156110c85760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016109f2565b6000805490829003611d9f5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114611e4e57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611e16565b5081600003611e6f57604051622e076360e81b815260040160405180910390fd5b60005550505050565b6001600160e01b03198116811461161657600080fd5b600060208284031215611ea057600080fd5b81356110c881611e78565b60005b83811015611ec6578181015183820152602001611eae565b50506000910152565b60008151808452611ee7816020860160208601611eab565b601f01601f19169290920160200192915050565b6020815260006110c86020830184611ecf565b600060208284031215611f2057600080fd5b5035919050565b80356001600160a01b0381168114611f3e57600080fd5b919050565b60008060408385031215611f5657600080fd5b611f5f83611f27565b946020939093013593505050565b600080600060608486031215611f8257600080fd5b611f8b84611f27565b9250611f9960208501611f27565b9150604084013590509250925092565b60008060408385031215611fbc57600080fd5b82359150611fcc60208401611f27565b90509250929050565b60008083601f840112611fe757600080fd5b5081356001600160401b03811115611ffe57600080fd5b6020830191508360208260051b850101111561201957600080fd5b9250929050565b6000806020838503121561203357600080fd5b82356001600160401b0381111561204957600080fd5b61205585828601611fd5565b90969095509350505050565b80516001600160a01b031682526020808201516001600160401b03169083015260408082015115159083015260609081015162ffffff16910152565b6020808252825182820181905260009190848201906040850190845b81811015610e74576120cc838551612061565b92840192608092909201916001016120b9565b600080600080604085870312156120f557600080fd5b84356001600160401b038082111561210c57600080fd5b61211888838901611fd5565b9096509450602087013591508082111561213157600080fd5b5061213e87828801611fd5565b95989497509550505050565b60006020828403121561215c57600080fd5b6110c882611f27565b6020808252825182820181905260009190848201906040850190845b81811015610e7457835183529284019291840191600101612181565b600080602083850312156121b057600080fd5b82356001600160401b03808211156121c757600080fd5b818501915085601f8301126121db57600080fd5b8135818111156121ea57600080fd5b8660208285010111156121fc57600080fd5b60209290920196919550909350505050565b60008060006060848603121561222357600080fd5b61222c84611f27565b95602085013595506040909401359392505050565b6000806040838503121561225457600080fd5b61225d83611f27565b91506020830135801515811461227257600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b600080600080608085870312156122a957600080fd5b6122b285611f27565b93506122c060208601611f27565b92506040850135915060608501356001600160401b03808211156122e357600080fd5b818701915087601f8301126122f757600080fd5b8135818111156123095761230961227d565b604051601f8201601f19908116603f011681019083821181831017156123315761233161227d565b816040528281528a602084870101111561234a57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b608081016106478284612061565b6000806040838503121561238f57600080fd5b61239883611f27565b9150611fcc60208401611f27565b600181811c908216806123ba57607f821691505b6020821081036123da57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b80820180821115610647576106476123f6565b600060018201612431576124316123f6565b5060010190565b81810381811115610647576106476123f6565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b60018060a01b03851681526000602060608184015260008654612496816123a6565b80606087015260806001808416600081146124b857600181146124d257612500565b60ff1985168984015283151560051b890183019550612500565b8b6000528660002060005b858110156124f85781548b82018601529083019088016124dd565b8a0184019650505b5050505050838103604085015261251881868861244b565b98975050505050505050565b601f82111561098157600081815260208120601f850160051c8101602086101561254b5750805b601f850160051c820191505b8181101561095457828155600101612557565b6001600160401b038311156125815761258161227d565b6125958361258f83546123a6565b83612524565b6000601f8411600181146125c957600085156125b15750838201355b600019600387901b1c1916600186901b178355611aa7565b600083815260209020601f19861690835b828110156125fa57868501358255602094850194600190920191016125da565b50868210156126175760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b8082028115828204841417610647576106476123f6565b600080845461264e816123a6565b60018281168015612666576001811461267b576126aa565b60ff19841687528215158302870194506126aa565b8860005260208060002060005b858110156126a15781548a820152908401908201612688565b50505082870194505b5050505083516126be818360208801611eab565b01949350505050565b600082516126d9818460208701611eab565b9190910192915050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061271690830184611ecf565b9695505050505050565b60006020828403121561273257600080fd5b81516110c881611e78565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351612775816017850160208801611eab565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516127a6816028840160208801611eab565b01602801949350505050565b6000816127c1576127c16123f6565b50600019019056fe20296b01d0b6bd176f0c1e29644934c0047abf080dae43609a1bbc09e39bafdba26469706673582212207aa16c5ac06ba56be0c0b8dd7e1382b1c2b3c49c16833a6559bcf6c114dd4b2964736f6c63430008120033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002e68747470733a2f2f6170692e6c7864616f2e696f2f616e6e69766572736172792d6e66742f6d657461646174612f000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _baseURI (string): https://api.lxdao.io/anniversary-nft/metadata/

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 000000000000000000000000000000000000000000000000000000000000002e
Arg [2] : 68747470733a2f2f6170692e6c7864616f2e696f2f616e6e6976657273617279
Arg [3] : 2d6e66742f6d657461646174612f000000000000000000000000000000000000


Deployed Bytecode Sourcemap

270:3669:8:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1340:191;;;;;;;;;;-1:-1:-1;1340:191:8;;;;;:::i;:::-;;:::i;:::-;;;565:14:13;;558:22;540:41;;528:2;513:18;1340:191:8;;;;;;;;10039:98:9;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;16360:214::-;;;;;;;;;;-1:-1:-1;16360:214:9;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1697:32:13;;;1679:51;;1667:2;1652:18;16360:214:9;1533:203:13;15812:398:9;;;;;;:::i;:::-;;:::i;5894:317::-;;;;;;;;;;-1:-1:-1;6164:12:9;;5955:7;6148:13;:28;5894:317;;;2324:25:13;;;2312:2;2297:18;5894:317:9;2178:177:13;19903:2764:9;;;;;;:::i;:::-;;:::i;4504:129:0:-;;;;;;;;;;-1:-1:-1;4504:129:0;;;;;:::i;:::-;4578:7;4604:12;;;:6;:12;;;;;:22;;;;4504:129;4929:145;;;;;;;;;;-1:-1:-1;4929:145:0;;;;;:::i;:::-;;:::i;476:41:8:-;;;;;;;;;;;;;;;;6038:214:0;;;;;;;;;;-1:-1:-1;6038:214:0;;;;;:::i;:::-;;:::i;22758:187:9:-;;;;;;:::i;:::-;;:::i;523:43:8:-;;;;;;;;;;;;;;;;1641:513:11;;;;;;;;;;-1:-1:-1;1641:513:11;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;11391:150:9:-;;;;;;;;;;-1:-1:-1;11391:150:9;;;;;:::i;:::-;;:::i;2324:679:8:-;;;;;;;;;;-1:-1:-1;2324:679:8;;;;;:::i;:::-;;:::i;449:21::-;;;;;;;;;;;;;:::i;7045:230:9:-;;;;;;;;;;-1:-1:-1;7045:230:9;;;;;:::i;:::-;;:::i;5417:879:11:-;;;;;;;;;;-1:-1:-1;5417:879:11;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;342:68:8:-;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;342:68:8;;3021:145:0;;;;;;;;;;-1:-1:-1;3021:145:0;;;;;:::i;:::-;;:::i;3009:179:8:-;;;;;;;;;;;;;:::i;1133:201::-;;;;;;;;;;-1:-1:-1;1133:201:8;;;;;:::i;:::-;;:::i;10208:102:9:-;;;;;;;;;;;;;:::i;2528:2454:11:-;;;;;;;;;;-1:-1:-1;2528:2454:11;;;;;:::i;:::-;;:::i;3194:415:8:-;;;;;;;;;;-1:-1:-1;3194:415:8;;;;;:::i;:::-;;:::i;572:42::-;;;;;;;;;;;;604:10;572:42;;1791:527;;;;;;:::i;:::-;;:::i;2153:49:0:-;;;;;;;;;;-1:-1:-1;2153:49:0;2198:4;2153:49;;16901:231:9;;;;;;;;;;-1:-1:-1;16901:231:9;;;;;:::i;:::-;;:::i;23526:396::-;;;;;;:::i;:::-;;:::i;1070:418:11:-;;;;;;;;;;-1:-1:-1;1070:418:11;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;3615:322:8:-;;;;;;;;;;-1:-1:-1;3615:322:8;;;;;:::i;:::-;;:::i;5354:147:0:-;;;;;;;;;;-1:-1:-1;5354:147:0;;;;;:::i;:::-;;:::i;17282:162:9:-;;;;;;;;;;-1:-1:-1;17282:162:9;;;;;:::i;:::-;-1:-1:-1;;;;;17402:25:9;;;17379:4;17402:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;17282:162;1340:191:8;1465:4;1488:36;1512:11;1488:23;:36::i;:::-;1481:43;1340:191;-1:-1:-1;;1340:191:8:o;10039:98:9:-;10093:13;10125:5;10118:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10039:98;:::o;16360:214::-;16436:7;16460:16;16468:7;16460;:16::i;:::-;16455:64;;16485:34;;-1:-1:-1;;;16485:34:9;;;;;;;;;;;16455:64;-1:-1:-1;16537:24:9;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;16537:30:9;;16360:214::o;15812:398::-;15900:13;15916:16;15924:7;15916;:16::i;:::-;15900:32;-1:-1:-1;39523:10:9;-1:-1:-1;;;;;15947:28:9;;;15943:172;;15994:44;16011:5;39523:10;17282:162;:::i;15994:44::-;15989:126;;16065:35;;-1:-1:-1;;;16065:35:9;;;;;;;;;;;15989:126;16125:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;16125:35:9;-1:-1:-1;;;;;16125:35:9;;;;;;;;;16175:28;;16125:24;;16175:28;;;;;;;15890:320;15812:398;;:::o;19903:2764::-;20040:27;20070;20089:7;20070:18;:27::i;:::-;20040:57;;20153:4;-1:-1:-1;;;;;20112:45:9;20128:19;-1:-1:-1;;;;;20112:45:9;;20108:86;;20166:28;;-1:-1:-1;;;20166:28:9;;;;;;;;;;;20108:86;20206:27;19036:24;;;:15;:24;;;;;19260:26;;39523:10;18673:30;;;-1:-1:-1;;;;;18370:28:9;;18651:20;;;18648:56;20389:179;;20481:43;20498:4;39523:10;17282:162;:::i;20481:43::-;20476:92;;20533:35;;-1:-1:-1;;;20533:35:9;;;;;;;;;;;20476:92;-1:-1:-1;;;;;20583:16:9;;20579:52;;20608:23;;-1:-1:-1;;;20608:23:9;;;;;;;;;;;20579:52;20774:15;20771:157;;;20912:1;20891:19;20884:30;20771:157;-1:-1:-1;;;;;21300:24:9;;;;;;;:18;:24;;;;;;21298:26;;-1:-1:-1;;21298:26:9;;;21368:22;;;;;;;;;21366:24;;-1:-1:-1;21366:24:9;;;14703:11;14678:23;14674:41;14661:63;-1:-1:-1;;;14661:63:9;21654:26;;;;:17;:26;;;;;:172;;;;-1:-1:-1;;;21943:47:9;;:52;;21939:617;;22047:1;22037:11;;22015:19;22168:30;;;:17;:30;;;;;;:35;;22164:378;;22304:13;;22289:11;:28;22285:239;;22449:30;;;;:17;:30;;;;;:52;;;22285:239;21997:559;21939:617;22600:7;22596:2;-1:-1:-1;;;;;22581:27:9;22590:4;-1:-1:-1;;;;;22581:27:9;;;;;;;;;;;22618:42;20030:2637;;;19903:2764;;;:::o;4929:145:0:-;4578:7;4604:12;;;:6;:12;;;;;:22;;;2631:16;2642:4;2631:10;:16::i;:::-;5042:25:::1;5053:4;5059:7;5042:10;:25::i;:::-;4929:145:::0;;;:::o;6038:214::-;-1:-1:-1;;;;;6133:23:0;;39523:10:9;6133:23:0;6125:83;;;;-1:-1:-1;;;6125:83:0;;10498:2:13;6125:83:0;;;10480:21:13;10537:2;10517:18;;;10510:30;10576:34;10556:18;;;10549:62;-1:-1:-1;;;10627:18:13;;;10620:45;10682:19;;6125:83:0;;;;;;;;;6219:26;6231:4;6237:7;6219:11;:26::i;:::-;6038:214;;:::o;22758:187:9:-;22899:39;22916:4;22922:2;22926:7;22899:39;;;;;;;;;;;;:16;:39::i;1641:513:11:-;1780:23;1868:8;1843:22;1868:8;-1:-1:-1;;;;;1934:36:11;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1934:36:11;;-1:-1:-1;;1934:36:11;;;;;;;;;;;;1897:73;;1989:9;1984:123;2005:14;2000:1;:19;1984:123;;2060:32;2080:8;;2089:1;2080:11;;;;;;;:::i;:::-;;;;;;;2060:19;:32::i;:::-;2044:10;2055:1;2044:13;;;;;;;;:::i;:::-;;;;;;;;;;:48;2021:3;;1984:123;;;-1:-1:-1;2127:10:11;1641:513;-1:-1:-1;;;;1641:513:11:o;11391:150:9:-;11463:7;11505:27;11524:7;11505:18;:27::i;2324:679:8:-;-1:-1:-1;;;;;;;;;;;2631:16:0;2642:4;2631:10;:16::i;:::-;2486:34:8;;::::1;2465:127;;;::::0;-1:-1:-1;;;2465:127:8;;11046:2:13;2465:127:8::1;::::0;::::1;11028:21:13::0;11085:2;11065:18;;;11058:30;11124:34;11104:18;;;11097:62;-1:-1:-1;;;11175:18:13;;;11168:44;11229:19;;2465:127:8::1;10844:410:13::0;2465:127:8::1;2603:13;2635:9:::0;2630:98:::1;2650:20:::0;;::::1;2630:98;;;2707:7;;2715:1;2707:10;;;;;;;:::i;:::-;;;;;;;2699:5;:18;;;;:::i;:::-;2691:26:::0;-1:-1:-1;2672:3:8;::::1;::::0;::::1;:::i;:::-;;;;2630:98;;;;2771:5;2745:22;;:31;;2737:68;;;::::0;-1:-1:-1;;;2737:68:8;;11863:2:13;2737:68:8::1;::::0;::::1;11845:21:13::0;11902:2;11882:18;;;11875:30;11941:26;11921:18;;;11914:54;11985:18;;2737:68:8::1;11661:348:13::0;2737:68:8::1;2821:9;2816:115;2836:20:::0;;::::1;2816:115;;;2877:43;2887:9;;2897:1;2887:12;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;2908:7;;2916:1;2908:10;;;;;;;:::i;:::-;;;;;;;2877:43;;:9;:43::i;:::-;2858:3:::0;::::1;::::0;::::1;:::i;:::-;;;;2816:115;;;;2991:5;2966:22;;:30;;;;:::i;:::-;2941:22;:55:::0;-1:-1:-1;;;;;;2324:679:8:o;449:21::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;7045:230:9:-;7117:7;-1:-1:-1;;;;;7140:19:9;;7136:60;;7168:28;;-1:-1:-1;;;7168:28:9;;;;;;;;;;;7136:60;-1:-1:-1;;;;;;7213:25:9;;;;;:18;:25;;;;;;-1:-1:-1;;;;;7213:55:9;;7045:230::o;5417:879:11:-;5495:16;5547:19;5580:25;5619:22;5644:16;5654:5;5644:9;:16::i;:::-;5619:41;;5674:25;5716:14;-1:-1:-1;;;;;5702:29:11;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;5702:29:11;;5674:57;;5745:31;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5745:31:11;5795:9;5790:461;5839:14;5824:11;:29;5790:461;;5890:15;5903:1;5890:12;:15::i;:::-;5878:27;;5927:9;:16;;;5967:8;5923:71;6015:14;;-1:-1:-1;;;;;6015:28:11;;6011:109;;6087:14;;;-1:-1:-1;6011:109:11;6162:5;-1:-1:-1;;;;;6141:26:11;:17;-1:-1:-1;;;;;6141:26:11;;6137:100;;6217:1;6191:8;6200:13;;;;;;6191:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;6137:100;5855:3;;5790:461;;;-1:-1:-1;6271:8:11;;5417:879;-1:-1:-1;;;;;;5417:879:11:o;3021:145:0:-;3107:4;3130:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;3130:29:0;;;;;;;;;;;;;;;3021:145::o;3009:179:8:-;-1:-1:-1;;;;;;;;;;;2631:16:0;2642:4;2631:10;:16::i;:::-;3123:22:8::1;;3101:19;;:44;;;;:::i;:::-;3079:19;:66:::0;-1:-1:-1;3180:1:8::1;3155:22;:26:::0;3009:179::o;1133:201::-;-1:-1:-1;;;;;;;;;;;2631:16:0;2642:4;2631:10;:16::i;:::-;1248:48:8::1;1263:10;1275:7;1284:11;;1248:48;;;;;;;;;:::i;:::-;;;;;;;;1306:7;:21;1316:11:::0;;1306:7;:21:::1;:::i;:::-;;1133:201:::0;;;:::o;10208:102:9:-;10264:13;10296:7;10289:14;;;;;:::i;2528:2454:11:-;2667:16;2732:4;2723:5;:13;2719:45;;2745:19;;-1:-1:-1;;;2745:19:11;;;;;;;;;;;2719:45;2778:19;2811:17;2831:14;5645:7:9;5671:13;;5590:101;2831:14:11;2811:34;-1:-1:-1;3076:9:11;3069:4;:16;3065:71;;;3112:9;3105:16;;3065:71;3149:25;3177:16;3187:5;3177:9;:16::i;:::-;3149:44;;3368:4;3360:5;:12;3356:271;;;3414:12;;;3448:31;;;3444:109;;;3523:11;3503:31;;3444:109;3374:193;3356:271;;;-1:-1:-1;3611:1:11;3356:271;3640:25;3682:17;-1:-1:-1;;;;;3668:32:11;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3668:32:11;;3640:60;;3718:17;3739:1;3718:22;3714:76;;3767:8;-1:-1:-1;3760:15:11;;-1:-1:-1;;;3760:15:11;3714:76;3931:31;3965:26;3985:5;3965:19;:26::i;:::-;3931:60;;4005:25;4247:9;:16;;;4242:90;;-1:-1:-1;4303:14:11;;4242:90;4362:5;4345:467;4374:4;4369:1;:9;;:45;;;;;4397:17;4382:11;:32;;4369:45;4345:467;;;4451:15;4464:1;4451:12;:15::i;:::-;4439:27;;4488:9;:16;;;4528:8;4484:71;4576:14;;-1:-1:-1;;;;;4576:28:11;;4572:109;;4648:14;;;-1:-1:-1;4572:109:11;4723:5;-1:-1:-1;;;;;4702:26:11;:17;-1:-1:-1;;;;;4702:26:11;;4698:100;;4778:1;4752:8;4761:13;;;;;;4752:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;4698:100;4416:3;;4345:467;;;-1:-1:-1;;;4894:29:11;;;-1:-1:-1;4901:8:11;;-1:-1:-1;;2528:2454:11;;;;;;:::o;3194:415:8:-;2198:4:0;2631:16;2198:4;2631:10;:16::i;:::-;-1:-1:-1;;;;;3323:16:8;::::1;3315:41;;;::::0;-1:-1:-1;;;3315:41:8;;15903:2:13;3315:41:8::1;::::0;::::1;15885:21:13::0;15942:2;15922:18;;;15915:30;-1:-1:-1;;;15961:18:13;;;15954:42;16013:18;;3315:41:8::1;15701:336:13::0;3315:41:8::1;3383:1;3374:6;:10;3366:44;;;::::0;-1:-1:-1;;;3366:44:8;;16244:2:13;3366:44:8::1;::::0;::::1;16226:21:13::0;16283:2;16263:18;;;16256:30;-1:-1:-1;;;16302:18:13;;;16295:51;16363:18;;3366:44:8::1;16042:345:13::0;3366:44:8::1;3442:12;3460:2;-1:-1:-1::0;;;;;3460:7:8::1;3475:6;3460:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3441:45;;;3501:7;3496:58;;3531:12;;-1:-1:-1::0;;;3531:12:8::1;;;;;;;;;;;3496:58;3568:34;::::0;;39523:10:9;16842:34:13;;-1:-1:-1;;;;;16912:15:13;;16907:2;16892:18;;16885:43;16944:18;;;16937:34;;;3568::8;;::::1;::::0;;;;16792:2:13;3568:34:8;;::::1;3305:304;3194:415:::0;;;:::o;1791:527::-;1866:19;;1856:6;:29;;1848:63;;;;-1:-1:-1;;;1848:63:8;;17184:2:13;1848:63:8;;;17166:21:13;17223:2;17203:18;;;17196:30;-1:-1:-1;;;17242:18:13;;;17235:51;17303:18;;1848:63:8;16982:345:13;1848:63:8;1938:1;1929:6;:10;1921:54;;;;-1:-1:-1;;;1921:54:8;;17534:2:13;1921:54:8;;;17516:21:13;17573:2;17553:18;;;17546:30;17612:33;17592:18;;;17585:61;17663:18;;1921:54:8;17332:355:13;1921:54:8;1986:11;2000:14;2008:6;604:10;2000:14;:::i;:::-;1986:28;;2046:3;2033:9;:16;;2025:50;;;;-1:-1:-1;;;2025:50:8;;18067:2:13;2025:50:8;;;18049:21:13;18106:2;18086:18;;;18079:30;-1:-1:-1;;;18125:18:13;;;18118:51;18186:18;;2025:50:8;17865:345:13;2025:50:8;2130:6;2108:19;;:28;;;;:::i;:::-;2086:19;:50;2147:29;2157:10;2169:6;2147:9;:29::i;:::-;2238:3;2226:9;:15;2222:90;;;2257:44;2273:10;2285:15;2297:3;2285:9;:15;:::i;:::-;2257;:44::i;16901:231:9:-;39523:10;16995:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;16995:49:9;;;;;;;;;;;;:60;;-1:-1:-1;;16995:60:9;;;;;;;;;;17070:55;;540:41:13;;;16995:49:9;;39523:10;17070:55;;513:18:13;17070:55:9;;;;;;;16901:231;;:::o;23526:396::-;23695:31;23708:4;23714:2;23718:7;23695:12;:31::i;:::-;-1:-1:-1;;;;;23740:14:9;;;:19;23736:180;;23778:56;23809:4;23815:2;23819:7;23828:5;23778:30;:56::i;:::-;23773:143;;23861:40;;-1:-1:-1;;;23861:40:9;;;;;;;;;;;1070:418:11;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5645:7:9;5671:13;1261:7:11;:25;1228:101;;1309:9;1070:418;-1:-1:-1;;1070:418:11:o;1228:101::-;1350:21;1363:7;1350:12;:21::i;:::-;1338:33;;1385:9;:16;;;1381:63;;;1424:9;1070:418;-1:-1:-1;;1070:418:11:o;1381:63::-;1460:21;1473:7;1460:12;:21::i;3615:322:8:-;3713:13;3746:16;3754:7;3746;:16::i;:::-;3738:45;;;;-1:-1:-1;;;3738:45:8;;18417:2:13;3738:45:8;;;18399:21:13;18456:2;18436:18;;;18429:30;-1:-1:-1;;;18475:18:13;;;18468:46;18531:18;;3738:45:8;18215:340:13;3738:45:8;3836:1;3818:7;3812:21;;;;;:::i;:::-;;;:25;:118;;;;;;;;;;;;;;;;;3880:7;3889:18;:7;:16;:18::i;:::-;3863:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;3793:137;3615:322;-1:-1:-1;;3615:322:8:o;5354:147:0:-;4578:7;4604:12;;;:6;:12;;;;;:22;;;2631:16;2642:4;2631:10;:16::i;:::-;5468:26:::1;5480:4;5486:7;5468:11;:26::i;2732:202::-:0;2817:4;-1:-1:-1;;;;;;2840:47:0;;-1:-1:-1;;;2840:47:0;;:87;;-1:-1:-1;;;;;;;;;;937:40:4;;;2891:36:0;829:155:4;17693:277:9;17758:4;17845:13;;17835:7;:23;17793:151;;;;-1:-1:-1;;17895:26:9;;;;:17;:26;;;;;;-1:-1:-1;;;17895:44:9;:49;;17693:277::o;12515:1249::-;12582:7;12616;12714:13;;12707:4;:20;12703:997;;;12751:14;12768:23;;;:17;:23;;;;;;;-1:-1:-1;;;12855:24:9;;:29;;12851:831;;13510:111;13517:6;13527:1;13517:11;13510:111;;-1:-1:-1;;;13587:6:9;13569:25;;;;:17;:25;;;;;;13510:111;;12851:831;12729:971;12703:997;13726:31;;-1:-1:-1;;;13726:31:9;;;;;;;;;;;3460:103:0;3526:30;3537:4;39523:10:9;3526::0;:30::i;:::-;3460:103;:::o;7587:233::-;7670:22;7678:4;7684:7;7670;:22::i;:::-;7665:149;;7708:12;;;;:6;:12;;;;;;;;-1:-1:-1;;;;;7708:29:0;;;;;;;;;:36;;-1:-1:-1;;7708:36:0;7740:4;7708:36;;;7790:12;39523:10:9;;39437:103;7790:12:0;-1:-1:-1;;;;;7763:40:0;7781:7;-1:-1:-1;;;;;7763:40:0;7775:4;7763:40;;;;;;;;;;7587:233;;:::o;7991:234::-;8074:22;8082:4;8088:7;8074;:22::i;:::-;8070:149;;;8144:5;8112:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;8112:29:0;;;;;;;;;;:37;;-1:-1:-1;;8112:37:0;;;8168:40;39523:10:9;;8112:12:0;;8168:40;;8144:5;8168:40;7991:234;;:::o;33423:110:9:-;33499:27;33509:2;33513:8;33499:27;;;;;;;;;;;;:9;:27::i;11979:159::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12106:24:9;;;;:17;:24;;;;;;12087:44;;:18;:44::i;1537:248:8:-;1649:12;;;1609;1649;;;;;;;;;-1:-1:-1;;;;;1627:7:8;;;1642:5;;1627:35;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1608:54;;;1693:7;1672:106;;;;-1:-1:-1;;;1672:106:8;;20079:2:13;1672:106:8;;;20061:21:13;20118:2;20098:18;;;20091:30;20157:34;20137:18;;;20130:62;-1:-1:-1;;;20208:18:13;;;20201:50;20268:19;;1672:106:8;19877:416:13;25948:697:9;26126:88;;-1:-1:-1;;;26126:88:9;;26106:4;;-1:-1:-1;;;;;26126:45:9;;;;;:88;;39523:10;;26193:4;;26199:7;;26208:5;;26126:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;26126:88:9;;;;;;;;-1:-1:-1;;26126:88:9;;;;;;;;;;;;:::i;:::-;;;26122:517;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26404:6;:13;26421:1;26404:18;26400:229;;26449:40;;-1:-1:-1;;;26449:40:9;;;;;;;;;;;26400:229;26589:6;26583:13;26574:6;26570:2;26566:15;26559:38;26122:517;-1:-1:-1;;;;;;26282:64:9;-1:-1:-1;;;26282:64:9;;-1:-1:-1;25948:697:9;;;;;;:::o;11724:164::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11834:47:9;11853:27;11872:7;11853:18;:27::i;:::-;11834:18;:47::i;447:696:3:-;503:13;552:14;569:17;580:5;569:10;:17::i;:::-;589:1;569:21;552:38;;604:20;638:6;-1:-1:-1;;;;;627:18:3;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;627:18:3;-1:-1:-1;604:41:3;-1:-1:-1;765:28:3;;;781:2;765:28;820:280;-1:-1:-1;;851:5:3;-1:-1:-1;;;985:2:3;974:14;;969:30;851:5;956:44;1044:2;1035:11;;;-1:-1:-1;1064:21:3;820:280;1064:21;-1:-1:-1;1120:6:3;447:696;-1:-1:-1;;;447:696:3:o;3844:479:0:-;3932:22;3940:4;3946:7;3932;:22::i;:::-;3927:390;;4115:28;4135:7;4115:19;:28::i;:::-;4214:38;4242:4;4249:2;4214:19;:38::i;:::-;4022:252;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;4022:252:0;;;;;;;;;;-1:-1:-1;;;3970:336:0;;;;;;;:::i;32675:669:9:-;32801:19;32807:2;32811:8;32801:5;:19::i;:::-;-1:-1:-1;;;;;32859:14:9;;;:19;32855:473;;32898:11;32912:13;32959:14;;;32991:229;33021:62;33060:1;33064:2;33068:7;;;;;;33077:5;33021:30;:62::i;:::-;33016:165;;33118:40;;-1:-1:-1;;;33118:40:9;;;;;;;;;;;33016:165;33215:3;33207:5;:11;32991:229;;33300:3;33283:13;;:20;33279:34;;33305:8;;;33279:34;32880:448;;32675:669;;;:::o;13858:361::-;-1:-1:-1;;;;;;;;;;;;;13967:41:9;;;;2004:3;14052:33;;;-1:-1:-1;;;;;14018:68:9;-1:-1:-1;;;14018:68:9;-1:-1:-1;;;14115:24:9;;:29;;-1:-1:-1;;;14096:48:9;;;;2513:3;14183:28;;;;-1:-1:-1;;;14154:58:9;-1:-1:-1;13858:361:9:o;10139:916:6:-;10192:7;;-1:-1:-1;;;10267:17:6;;10263:103;;-1:-1:-1;;;10304:17:6;;;-1:-1:-1;10349:2:6;10339:12;10263:103;10392:8;10383:5;:17;10379:103;;10429:8;10420:17;;;-1:-1:-1;10465:2:6;10455:12;10379:103;10508:8;10499:5;:17;10495:103;;10545:8;10536:17;;;-1:-1:-1;10581:2:6;10571:12;10495:103;10624:7;10615:5;:16;10611:100;;10660:7;10651:16;;;-1:-1:-1;10695:1:6;10685:11;10611:100;10737:7;10728:5;:16;10724:100;;10773:7;10764:16;;;-1:-1:-1;10808:1:6;10798:11;10724:100;10850:7;10841:5;:16;10837:100;;10886:7;10877:16;;;-1:-1:-1;10921:1:6;10911:11;10837:100;10963:7;10954:5;:16;10950:66;;11000:1;10990:11;11042:6;10139:916;-1:-1:-1;;10139:916:6:o;2407:149:3:-;2465:13;2497:52;-1:-1:-1;;;;;2509:22:3;;343:2;1818:437;1893:13;1918:19;1950:10;1954:6;1950:1;:10;:::i;:::-;:14;;1963:1;1950:14;:::i;:::-;-1:-1:-1;;;;;1940:25:3;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1940:25:3;;1918:47;;-1:-1:-1;;;1975:6:3;1982:1;1975:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;1975:15:3;;;;;;;;;-1:-1:-1;;;2000:6:3;2007:1;2000:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;2000:15:3;;;;;;;;-1:-1:-1;2030:9:3;2042:10;2046:6;2042:1;:10;:::i;:::-;:14;;2055:1;2042:14;:::i;:::-;2030:26;;2025:128;2062:1;2058;:5;2025:128;;;-1:-1:-1;;;2105:5:3;2113:3;2105:11;2096:21;;;;;;;:::i;:::-;;;;2084:6;2091:1;2084:9;;;;;;;;:::i;:::-;;;;:33;-1:-1:-1;;;;;2084:33:3;;;;;;;;-1:-1:-1;2141:1:3;2131:11;;;;;2065:3;;;:::i;:::-;;;2025:128;;;-1:-1:-1;2170:10:3;;2162:55;;;;-1:-1:-1;;;2162:55:3;;22338:2:13;2162:55:3;;;22320:21:13;;;22357:18;;;22350:30;22416:34;22396:18;;;22389:62;22468:18;;2162:55:3;22136:356:13;27091:2902:9;27163:20;27186:13;;;27213;;;27209:44;;27235:18;;-1:-1:-1;;;27235:18:9;;;;;;;;;;;27209:44;-1:-1:-1;;;;;27728:22:9;;;;;;:18;:22;;;;1495:2;27728:22;;;:71;;27766:32;27754:45;;27728:71;;;28035:31;;;:17;:31;;;;;-1:-1:-1;15123:15:9;;15097:24;15093:46;14703:11;14678:23;14674:41;14671:52;14661:63;;28035:170;;28264:23;;;;28035:31;;27728:22;;29016:25;27728:22;;28872:328;29520:1;29506:12;29502:20;29461:339;29560:3;29551:7;29548:16;29461:339;;29774:7;29764:8;29761:1;29734:25;29731:1;29728;29723:59;29612:1;29599:15;29461:339;;;29465:75;29831:8;29843:1;29831:13;29827:45;;29853:19;;-1:-1:-1;;;29853:19:9;;;;;;;;;;;29827:45;29887:13;:19;-1:-1:-1;4929:145:0;;;:::o;14:131:13:-;-1:-1:-1;;;;;;88:32:13;;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:13;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:13;1066:39;;;;1107:4;1062:50;;847:271;-1:-1:-1;;847:271:13: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:13;;1348:180;-1:-1:-1;1348:180:13:o;1741:173::-;1809:20;;-1:-1:-1;;;;;1858:31:13;;1848:42;;1838:70;;1904:1;1901;1894:12;1838:70;1741:173;;;:::o;1919:254::-;1987:6;1995;2048:2;2036:9;2027:7;2023:23;2019:32;2016:52;;;2064:1;2061;2054:12;2016:52;2087:29;2106:9;2087:29;:::i;:::-;2077:39;2163:2;2148:18;;;;2135:32;;-1:-1:-1;;;1919:254:13:o;2360:328::-;2437:6;2445;2453;2506:2;2494:9;2485:7;2481:23;2477:32;2474:52;;;2522:1;2519;2512:12;2474:52;2545:29;2564:9;2545:29;:::i;:::-;2535:39;;2593:38;2627:2;2616:9;2612:18;2593:38;:::i;:::-;2583:48;;2678:2;2667:9;2663:18;2650:32;2640:42;;2360:328;;;;;:::o;3060:254::-;3128:6;3136;3189:2;3177:9;3168:7;3164:23;3160:32;3157:52;;;3205:1;3202;3195:12;3157:52;3241:9;3228:23;3218:33;;3270:38;3304:2;3293:9;3289:18;3270:38;:::i;:::-;3260:48;;3060:254;;;;;:::o;3319:367::-;3382:8;3392:6;3446:3;3439:4;3431:6;3427:17;3423:27;3413:55;;3464:1;3461;3454:12;3413:55;-1:-1:-1;3487:20:13;;-1:-1:-1;;;;;3519:30:13;;3516:50;;;3562:1;3559;3552:12;3516:50;3599:4;3591:6;3587:17;3575:29;;3659:3;3652:4;3642:6;3639:1;3635:14;3627:6;3623:27;3619:38;3616:47;3613:67;;;3676:1;3673;3666:12;3613:67;3319:367;;;;;:::o;3691:437::-;3777:6;3785;3838:2;3826:9;3817:7;3813:23;3809:32;3806:52;;;3854:1;3851;3844:12;3806:52;3894:9;3881:23;-1:-1:-1;;;;;3919:6:13;3916:30;3913:50;;;3959:1;3956;3949:12;3913:50;3998:70;4060:7;4051:6;4040:9;4036:22;3998:70;:::i;:::-;4087:8;;3972:96;;-1:-1:-1;3691:437:13;-1:-1:-1;;;;3691:437:13:o;4133:349::-;4217:12;;-1:-1:-1;;;;;4213:38:13;4201:51;;4305:4;4294:16;;;4288:23;-1:-1:-1;;;;;4284:48:13;4268:14;;;4261:72;4396:4;4385:16;;;4379:23;4372:31;4365:39;4349:14;;;4342:63;4458:4;4447:16;;;4441:23;4466:8;4437:38;4421:14;;4414:62;4133:349::o;4487:724::-;4722:2;4774:21;;;4844:13;;4747:18;;;4866:22;;;4693:4;;4722:2;4945:15;;;;4919:2;4904:18;;;4693:4;4988:197;5002:6;4999:1;4996:13;4988:197;;;5051:52;5099:3;5090:6;5084:13;5051:52;:::i;:::-;5160:15;;;;5132:4;5123:14;;;;;5024:1;5017:9;4988:197;;5216:773;5338:6;5346;5354;5362;5415:2;5403:9;5394:7;5390:23;5386:32;5383:52;;;5431:1;5428;5421:12;5383:52;5471:9;5458:23;-1:-1:-1;;;;;5541:2:13;5533:6;5530:14;5527:34;;;5557:1;5554;5547:12;5527:34;5596:70;5658:7;5649:6;5638:9;5634:22;5596:70;:::i;:::-;5685:8;;-1:-1:-1;5570:96:13;-1:-1:-1;5773:2:13;5758:18;;5745:32;;-1:-1:-1;5789:16:13;;;5786:36;;;5818:1;5815;5808:12;5786:36;;5857:72;5921:7;5910:8;5899:9;5895:24;5857:72;:::i;:::-;5216:773;;;;-1:-1:-1;5948:8:13;-1:-1:-1;;;;5216:773:13:o;5994:186::-;6053:6;6106:2;6094:9;6085:7;6081:23;6077:32;6074:52;;;6122:1;6119;6112:12;6074:52;6145:29;6164:9;6145:29;:::i;6185:632::-;6356:2;6408:21;;;6478:13;;6381:18;;;6500:22;;;6327:4;;6356:2;6579:15;;;;6553:2;6538:18;;;6327:4;6622:169;6636:6;6633:1;6630:13;6622:169;;;6697:13;;6685:26;;6766:15;;;;6731:12;;;;6658:1;6651:9;6622:169;;6822:592;6893:6;6901;6954:2;6942:9;6933:7;6929:23;6925:32;6922:52;;;6970:1;6967;6960:12;6922:52;7010:9;6997:23;-1:-1:-1;;;;;7080:2:13;7072:6;7069:14;7066:34;;;7096:1;7093;7086:12;7066:34;7134:6;7123:9;7119:22;7109:32;;7179:7;7172:4;7168:2;7164:13;7160:27;7150:55;;7201:1;7198;7191:12;7150:55;7241:2;7228:16;7267:2;7259:6;7256:14;7253:34;;;7283:1;7280;7273:12;7253:34;7328:7;7323:2;7314:6;7310:2;7306:15;7302:24;7299:37;7296:57;;;7349:1;7346;7339:12;7296:57;7380:2;7372:11;;;;;7402:6;;-1:-1:-1;6822:592:13;;-1:-1:-1;;;;6822:592:13:o;7419:322::-;7496:6;7504;7512;7565:2;7553:9;7544:7;7540:23;7536:32;7533:52;;;7581:1;7578;7571:12;7533:52;7604:29;7623:9;7604:29;:::i;:::-;7594:39;7680:2;7665:18;;7652:32;;-1:-1:-1;7731:2:13;7716:18;;;7703:32;;7419:322;-1:-1:-1;;;7419:322:13:o;7746:347::-;7811:6;7819;7872:2;7860:9;7851:7;7847:23;7843:32;7840:52;;;7888:1;7885;7878:12;7840:52;7911:29;7930:9;7911:29;:::i;:::-;7901:39;;7990:2;7979:9;7975:18;7962:32;8037:5;8030:13;8023:21;8016:5;8013:32;8003:60;;8059:1;8056;8049:12;8003:60;8082:5;8072:15;;;7746:347;;;;;:::o;8098:127::-;8159:10;8154:3;8150:20;8147:1;8140:31;8190:4;8187:1;8180:15;8214:4;8211:1;8204:15;8230:1138;8325:6;8333;8341;8349;8402:3;8390:9;8381:7;8377:23;8373:33;8370:53;;;8419:1;8416;8409:12;8370:53;8442:29;8461:9;8442:29;:::i;:::-;8432:39;;8490:38;8524:2;8513:9;8509:18;8490:38;:::i;:::-;8480:48;;8575:2;8564:9;8560:18;8547:32;8537:42;;8630:2;8619:9;8615:18;8602:32;-1:-1:-1;;;;;8694:2:13;8686:6;8683:14;8680:34;;;8710:1;8707;8700:12;8680:34;8748:6;8737:9;8733:22;8723:32;;8793:7;8786:4;8782:2;8778:13;8774:27;8764:55;;8815:1;8812;8805:12;8764:55;8851:2;8838:16;8873:2;8869;8866:10;8863:36;;;8879:18;;:::i;:::-;8954:2;8948:9;8922:2;9008:13;;-1:-1:-1;;9004:22:13;;;9028:2;9000:31;8996:40;8984:53;;;9052:18;;;9072:22;;;9049:46;9046:72;;;9098:18;;:::i;:::-;9138:10;9134:2;9127:22;9173:2;9165:6;9158:18;9213:7;9208:2;9203;9199;9195:11;9191:20;9188:33;9185:53;;;9234:1;9231;9224:12;9185:53;9290:2;9285;9281;9277:11;9272:2;9264:6;9260:15;9247:46;9335:1;9330:2;9325;9317:6;9313:15;9309:24;9302:35;9356:6;9346:16;;;;;;;8230:1138;;;;;;;:::o;9373:268::-;9571:3;9556:19;;9584:51;9560:9;9617:6;9584:51;:::i;9646:260::-;9714:6;9722;9775:2;9763:9;9754:7;9750:23;9746:32;9743:52;;;9791:1;9788;9781:12;9743:52;9814:29;9833:9;9814:29;:::i;:::-;9804:39;;9862:38;9896:2;9885:9;9881:18;9862:38;:::i;9911:380::-;9990:1;9986:12;;;;10033;;;10054:61;;10108:4;10100:6;10096:17;10086:27;;10054:61;10161:2;10153:6;10150:14;10130:18;10127:38;10124:161;;10207:10;10202:3;10198:20;10195:1;10188:31;10242:4;10239:1;10232:15;10270:4;10267:1;10260:15;10124:161;;9911:380;;;:::o;10712:127::-;10773:10;10768:3;10764:20;10761:1;10754:31;10804:4;10801:1;10794:15;10828:4;10825:1;10818:15;11259:127;11320:10;11315:3;11311:20;11308:1;11301:31;11351:4;11348:1;11341:15;11375:4;11372:1;11365:15;11391:125;11456:9;;;11477:10;;;11474:36;;;11490:18;;:::i;11521:135::-;11560:3;11581:17;;;11578:43;;11601:18;;:::i;:::-;-1:-1:-1;11648:1:13;11637:13;;11521:135::o;12014:128::-;12081:9;;;12102:11;;;12099:37;;;12116:18;;:::i;12273:267::-;12362:6;12357:3;12350:19;12414:6;12407:5;12400:4;12395:3;12391:14;12378:43;-1:-1:-1;12466:1:13;12441:16;;;12459:4;12437:27;;;12430:38;;;;12522:2;12501:15;;;-1:-1:-1;;12497:29:13;12488:39;;;12484:50;;12273:267::o;12545:1219::-;12806:1;12802;12797:3;12793:11;12789:19;12781:6;12777:32;12766:9;12759:51;12740:4;12829:2;12867;12862;12851:9;12847:18;12840:30;12890:1;12923:6;12917:13;12953:36;12979:9;12953:36;:::i;:::-;13025:6;13020:2;13009:9;13005:18;12998:34;13051:3;13073:1;13105:2;13094:9;13090:18;13122:1;13117:158;;;;13289:1;13284:354;;;;13083:555;;13117:158;-1:-1:-1;;13165:24:13;;13145:18;;;13138:52;13243:14;;13236:22;13233:1;13229:30;13214:46;;13210:55;;;-1:-1:-1;13117:158:13;;13284:354;13315:6;13312:1;13305:17;13363:2;13360:1;13350:16;13388:1;13402:180;13416:6;13413:1;13410:13;13402:180;;;13509:14;;13485:17;;;13481:26;;13474:50;13552:16;;;;13431:10;;13402:180;;;13606:17;;13602:26;;;-1:-1:-1;;13083:555:13;;;;;;13683:9;13678:3;13674:19;13669:2;13658:9;13654:18;13647:47;13711;13754:3;13746:6;13738;13711:47;:::i;:::-;13703:55;12545:1219;-1:-1:-1;;;;;;;;12545:1219:13:o;13769:545::-;13871:2;13866:3;13863:11;13860:448;;;13907:1;13932:5;13928:2;13921:17;13977:4;13973:2;13963:19;14047:2;14035:10;14031:19;14028:1;14024:27;14018:4;14014:38;14083:4;14071:10;14068:20;14065:47;;;-1:-1:-1;14106:4:13;14065:47;14161:2;14156:3;14152:12;14149:1;14145:20;14139:4;14135:31;14125:41;;14216:82;14234:2;14227:5;14224:13;14216:82;;;14279:17;;;14260:1;14249:13;14216:82;;14490:1206;-1:-1:-1;;;;;14609:3:13;14606:27;14603:53;;;14636:18;;:::i;:::-;14665:94;14755:3;14715:38;14747:4;14741:11;14715:38;:::i;:::-;14709:4;14665:94;:::i;:::-;14785:1;14810:2;14805:3;14802:11;14827:1;14822:616;;;;15482:1;15499:3;15496:93;;;-1:-1:-1;15555:19:13;;;15542:33;15496:93;-1:-1:-1;;14447:1:13;14443:11;;;14439:24;14435:29;14425:40;14471:1;14467:11;;;14422:57;15602:78;;14795:895;;14822:616;12220:1;12213:14;;;12257:4;12244:18;;-1:-1:-1;;14858:17:13;;;14959:9;14981:229;14995:7;14992:1;14989:14;14981:229;;;15084:19;;;15071:33;15056:49;;15191:4;15176:20;;;;15144:1;15132:14;;;;15011:12;14981:229;;;14985:3;15238;15229:7;15226:16;15223:159;;;15362:1;15358:6;15352:3;15346;15343:1;15339:11;15335:21;15331:34;15327:39;15314:9;15309:3;15305:19;15292:33;15288:79;15280:6;15273:95;15223:159;;;15425:1;15419:3;15416:1;15412:11;15408:19;15402:4;15395:33;14795:895;;14490:1206;;;:::o;17692:168::-;17765:9;;;17796;;17813:15;;;17807:22;;17793:37;17783:71;;17834:18;;:::i;18560:1020::-;18736:3;18765:1;18798:6;18792:13;18828:36;18854:9;18828:36;:::i;:::-;18883:1;18900:18;;;18927:133;;;;19074:1;19069:356;;;;18893:532;;18927:133;-1:-1:-1;;18960:24:13;;18948:37;;19033:14;;19026:22;19014:35;;19005:45;;;-1:-1:-1;18927:133:13;;19069:356;19100:6;19097:1;19090:17;19130:4;19175:2;19172:1;19162:16;19200:1;19214:165;19228:6;19225:1;19222:13;19214:165;;;19306:14;;19293:11;;;19286:35;19349:16;;;;19243:10;;19214:165;;;19218:3;;;19408:6;19403:3;19399:16;19392:23;;18893:532;;;;;19456:6;19450:13;19472:68;19531:8;19526:3;19519:4;19511:6;19507:17;19472:68;:::i;:::-;19556:18;;18560:1020;-1:-1:-1;;;;18560:1020:13:o;19585:287::-;19714:3;19752:6;19746:13;19768:66;19827:6;19822:3;19815:4;19807:6;19803:17;19768:66;:::i;:::-;19850:16;;;;;19585:287;-1:-1:-1;;19585:287:13:o;20298:489::-;-1:-1:-1;;;;;20567:15:13;;;20549:34;;20619:15;;20614:2;20599:18;;20592:43;20666:2;20651:18;;20644:34;;;20714:3;20709:2;20694:18;;20687:31;;;20492:4;;20735:46;;20761:19;;20753:6;20735:46;:::i;:::-;20727:54;20298:489;-1:-1:-1;;;;;;20298:489:13:o;20792:249::-;20861:6;20914:2;20902:9;20893:7;20889:23;20885:32;20882:52;;;20930:1;20927;20920:12;20882:52;20962:9;20956:16;20981:30;21005:5;20981:30;:::i;21178:812::-;21589:25;21584:3;21577:38;21559:3;21644:6;21638:13;21660:75;21728:6;21723:2;21718:3;21714:12;21707:4;21699:6;21695:17;21660:75;:::i;:::-;-1:-1:-1;;;21794:2:13;21754:16;;;21786:11;;;21779:40;21844:13;;21866:76;21844:13;21928:2;21920:11;;21913:4;21901:17;;21866:76;:::i;:::-;21962:17;21981:2;21958:26;;21178:812;-1:-1:-1;;;;21178:812:13:o;21995:136::-;22034:3;22062:5;22052:39;;22071:18;;:::i;:::-;-1:-1:-1;;;22107:18:13;;21995:136::o

Swarm Source

ipfs://7aa16c5ac06ba56be0c0b8dd7e1382b1c2b3c49c16833a6559bcf6c114dd4b29
Loading...
Loading
Loading...
Loading
[ 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.