ETH Price: $3,143.80 (+5.56%)

Token

LuckyGreenWitch (LGW)
 

Overview

Max Total Supply

9,000 LGW

Holders

975

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
17kk8.eth
Balance
10 LGW
0xfafbeb6a1859d06f0106423f24e7a79fb596d5b3
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:
LuckyGreenWitch

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-11-25
*/

// File: IERC721A.sol


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

pragma solidity ^0.8.4;

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

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

    /**
     * Cannot query the balance for the zero address.
     */
    error BalanceQueryForZeroAddress();

    /**
     * Cannot mint to the zero address.
     */
    error MintToZeroAddress();

    /**
     * The quantity of tokens minted must be more than zero.
     */
    error MintZeroQuantity();

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

    /**
     * The caller must own the token or be an approved operator.
     */
    error TransferCallerNotOwnerNorApproved();

    /**
     * The token must be owned by `from`.
     */
    error TransferFromIncorrectOwner();

    /**
     * Cannot safely transfer to a contract that does not implement the
     * ERC721Receiver interface.
     */
    error TransferToNonERC721ReceiverImplementer();

    /**
     * Cannot transfer to the zero address.
     */
    error TransferToZeroAddress();

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

    /**
     * The `quantity` minted with ERC2309 exceeds the safety limit.
     */
    error MintERC2309QuantityExceedsLimit();

    /**
     * The `extraData` cannot be set on an unintialized ownership slot.
     */
    error OwnershipNotInitializedForExtraData();

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the
     * zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) external;

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom}
     * for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

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

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

    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) external view returns (string memory);

    // =============================================================
    //                           IERC2309
    // =============================================================

    /**
     * @dev Emitted when tokens in `fromTokenId` to `toTokenId`
     * (inclusive) is transferred from `from` to `to`, as defined in the
     * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard.
     *
     * See {_mintERC2309} for more details.
     */
    event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to);
}

// File: ERC721A.sol


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

pragma solidity ^0.8.4;


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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

    /**
     * @dev Returns the starting token ID.
     * To change the starting token ID, please override this function.
     */
    function _startTokenId() internal view virtual returns (uint256) {
        return 0;
    }

    /**
     * @dev Returns the next token ID to be minted.
     */
    function _nextTokenId() internal view virtual returns (uint256) {
        return _currentIndex;
    }

    /**
     * @dev Returns the total number of tokens in existence.
     * Burned tokens will reduce the count.
     * To get the total number of tokens minted, please see {_totalMinted}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than `_currentIndex - _startTokenId()` times.
        unchecked {
            return _currentIndex - _burnCounter - _startTokenId();
        }
    }

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

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

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

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

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

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

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

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

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

    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified)
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30000 gas.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        // The interface IDs are constants representing the first 4 bytes
        // of the XOR of all function selectors in the interface.
        // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165)
        // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`)
        return
            interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165.
            interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721.
            interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata.
    }

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

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

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

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

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

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

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

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

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

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

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

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

        unchecked {
            if (_startTokenId() <= curr)
                if (curr < _currentIndex) {
                    uint256 packed = _packedOwnerships[curr];
                    // If not burned.
                    if (packed & _BITMASK_BURNED == 0) {
                        // Invariant:
                        // There will always be an initialized ownership slot
                        // (i.e. `ownership.addr != address(0) && ownership.burned == false`)
                        // before an unintialized ownership slot
                        // (i.e. `ownership.addr == address(0) && ownership.burned == false`)
                        // Hence, `curr` will not underflow.
                        //
                        // We can directly compare the packed value.
                        // If the address is zero, packed will be zero.
                        while (packed == 0) {
                            packed = _packedOwnerships[--curr];
                        }
                        return packed;
                    }
                }
        }
        revert OwnerQueryForNonexistentToken();
    }

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

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

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

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

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the
     * zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) public 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 virtual override {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

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

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

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            uint256 toMasked;
            uint256 end = startTokenId + quantity;

            // Use assembly to loop and emit the `Transfer` event for gas savings.
            // 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: extensions/IERC721AQueryable.sol


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

pragma solidity ^0.8.4;


/**
 * @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: extensions/ERC721AQueryable.sol


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

pragma solidity ^0.8.4;



/**
 * @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: @openzeppelin/contracts/utils/cryptography/MerkleProof.sol


// OpenZeppelin Contracts (last updated v4.8.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Tree proofs.
 *
 * The tree and the proofs can be generated using our
 * https://github.com/OpenZeppelin/merkle-tree[JavaScript library].
 * You will find a quickstart guide in the readme.
 *
 * WARNING: You should avoid using leaf values that are 64 bytes long prior to
 * hashing, or use a hash function other than keccak256 for hashing leaves.
 * This is because the concatenation of a sorted pair of internal nodes in
 * the merkle tree could be reinterpreted as a leaf value.
 * OpenZeppelin's JavaScript library generates merkle trees that are safe
 * against this attack out of the box.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

    /**
     * @dev Calldata version of {verify}
     *
     * _Available since v4.7._
     */
    function verifyCalldata(
        bytes32[] calldata proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProofCalldata(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up
     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
     * hash matches the root of the tree. When processing the proof, the pairs
     * of leafs & pre-images are assumed to be sorted.
     *
     * _Available since v4.4._
     */
    function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Calldata version of {processProof}
     *
     * _Available since v4.7._
     */
    function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Returns true if the `leaves` can be simultaneously proven to be a part of a merkle tree defined by
     * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}.
     *
     * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details.
     *
     * _Available since v4.7._
     */
    function multiProofVerify(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProof(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Calldata version of {multiProofVerify}
     *
     * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details.
     *
     * _Available since v4.7._
     */
    function multiProofVerifyCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProofCalldata(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Returns the root of a tree reconstructed from `leaves` and sibling nodes in `proof`. The reconstruction
     * proceeds by incrementally reconstructing all inner nodes by combining a leaf/inner node with either another
     * leaf/inner node or a proof sibling node, depending on whether each `proofFlags` item is true or false
     * respectively.
     *
     * CAUTION: Not all merkle trees admit multiproofs. To use multiproofs, it is sufficient to ensure that: 1) the tree
     * is complete (but not necessarily perfect), 2) the leaves to be proven are in the opposite order they are in the
     * tree (i.e., as seen from right to left starting at the deepest layer and continuing at the next layer).
     *
     * _Available since v4.7._
     */
    function processMultiProof(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    /**
     * @dev Calldata version of {processMultiProof}.
     *
     * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details.
     *
     * _Available since v4.7._
     */
    function processMultiProofCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) {
        return a < b ? _efficientHash(a, b) : _efficientHash(b, a);
    }

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        /// @solidity memory-safe-assembly
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}

// File: @openzeppelin/contracts/security/ReentrancyGuard.sol


// OpenZeppelin Contracts (last updated v4.8.0) (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        _nonReentrantBefore();
        _;
        _nonReentrantAfter();
    }

    function _nonReentrantBefore() private {
        // On the first call to nonReentrant, _status will be _NOT_ENTERED
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;
    }

    function _nonReentrantAfter() private {
        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

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


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

pragma solidity ^0.8.0;

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

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

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


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

pragma solidity ^0.8.0;


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

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

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

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

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

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

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

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

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

// File: LuckyGreenWitch.sol

//SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;

// Lucky Green Witch project






contract LuckyGreenWitch is ERC721A, Ownable, ReentrancyGuard, ERC721AQueryable {  

    string private _tokenBaseURI = '';

    uint64 private MAX_SUPPLY = 9000;
    uint64 private MAX_PER_WALLET = 11;
    uint64 private MAX_PER_MINT = 11;
    uint64 private MERKLE_RESERVED = 1000;
    bool public isOpen = false;
    bool public isShopOpen = false;
    string private _tokenWithAddonURI = '';
    uint private addonPurchasePrice = 0 ether;

    mapping(uint64 => uint64) public hasAddon;                  
    uint64[] private addonsAvailability;                        
    mapping(uint64 => string) private onIpfs;                   
    mapping(uint64 => uint) private witchDNA;    

    constructor() ERC721A("LuckyGreenWitch", "LGW") {
        _safeMint(_msgSender(), 22);  // reserved for owners   
        _safeMint(_msgSender(), 22);  // reserved for team  
        _safeMint(_msgSender(), 22);  // reserved for donors  
    }

    function mint(uint64 quantity) external {  

        require(isOpen, "Minting not open");
        require(msg.sender == tx.origin, "No bots");
        require(quantity < MAX_PER_MINT, "Too many per mint");
        require(quantity > 0, "Zero mint");
        require((_numberMinted(_msgSender()) + quantity) < MAX_PER_WALLET, "Too many per wallet");
        require((_totalMinted() + quantity) <= MAX_SUPPLY, "Out of Witches");

        _safeMint(_msgSender(), quantity);            
    }

    function tokenURI(uint256 _tokenId) public view override(ERC721A, IERC721A) returns (string memory) {

        if (hasAddon[uint64(_tokenId)] > 0) {
            string memory ipfsAddress = onIpfs[uint64(_tokenId)];
            if (bytes(ipfsAddress).length > 0) {
                return ipfsAddress;
            } else {
                return bytes(_tokenWithAddonURI).length != 0 ? string(abi.encodePacked(_tokenWithAddonURI, _toString(_tokenId))) : '';
            }
        }

        return super.tokenURI(_tokenId);
    }

    function setAddonURI(string memory _URI) public onlyOwner {
        _tokenWithAddonURI = _URI;
    }

    function setBaseURI(string memory _URI) public onlyOwner {
        _tokenBaseURI = _URI;
    }

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

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

    function putOnIpfs(uint64 _tokenId, string memory _address) public onlyOwner {
        require(_exists(_tokenId), "Token does not exist");
        require(hasAddon[_tokenId] != 0, "Token has no addon");
        onIpfs[_tokenId] = _address;
    }

    uint cntRnd = 100;
    function random(uint _l) private returns (uint256) {
        ++cntRnd;
        uint rnd = uint(keccak256(abi.encodePacked(cntRnd, block.difficulty, msg.sender)));
        return rnd % _l;
    }

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

    function setAddonPrice(uint256 _newPrice) public onlyOwner {
        addonPurchasePrice = _newPrice;
    }

    function decreaseMaxSupply(uint64 _maxSupply) public onlyOwner {
        require(_maxSupply <= 10000, "Cannot increase max supply");
        require(_maxSupply >= _totalMinted() , "Too small");
        MAX_SUPPLY = _maxSupply;
    }

    function setMaxMintAmount(uint64 _newMaxMintAmount) public onlyOwner {
        MAX_PER_MINT = _newMaxMintAmount;
    }

    function setMaxPerWallet(uint64 _newMaxPerWallet) public onlyOwner {
        MAX_PER_WALLET = _newMaxPerWallet;
    }

    function setIsOpen(bool _isOpen) external onlyOwner {
        isOpen = _isOpen;
    }

    function setIsShopOpen(bool _isShopOpen) external onlyOwner {
        isShopOpen = _isShopOpen;
    }

    event AddonPurchased(address indexed purchaser, uint64 indexed selectedAddonId, uint64 indexed _tokenId);

    function purchaseAddon(uint64 _tokenId) public payable nonReentrant {

        uint256 length = addonsAvailability.length;
        require(isShopOpen, "Shop is not open");
        require(msg.sender == tx.origin, "No bots");
        require(length > 0 , "Addons sold out");
        require(_exists(_tokenId), "Witch does not exist");
        require(hasAddon[_tokenId] == 0, "Witch already has addon");
        require(msg.value >= addonPurchasePrice , "Insufficient funds");

        uint256 rnd = random(length);
        addonPurchasePrice += 0.00666 ether;

        uint64 selectedAddonId = addonsAvailability[rnd];

        addonsAvailability[rnd] = addonsAvailability[length - 1];
        addonsAvailability.pop();

        hasAddon[_tokenId] = selectedAddonId;
        emit AddonPurchased(_msgSender(), selectedAddonId, _tokenId);
    }

    event AddonTransfered(uint64 indexed _tokenIdFrom, uint64 indexed _tokenIdTo);

    function transferAddon(uint64 _tokenIdFrom, uint64 _tokenIdTo) public nonReentrant {
        require(isShopOpen, "Not open to transfers");
        require(_exists(_tokenIdFrom), "Witch does not exist");
        require(_exists(_tokenIdTo), "Witch does not exist");
        require(hasAddon[_tokenIdFrom] != 0, "Witch has no addon");
        require(hasAddon[_tokenIdTo] == 0, "Witch already has addon");

        address tokenOwner = super.ownerOf(_tokenIdFrom);
        require (_msgSender() == tokenOwner, "Not owner");

        uint64 addonId = hasAddon[_tokenIdFrom];
        delete hasAddon[_tokenIdFrom];
        delete onIpfs[_tokenIdFrom];
        delete onIpfs[_tokenIdTo];
        hasAddon[_tokenIdTo] = addonId; 
        emit AddonTransfered(_tokenIdFrom, _tokenIdTo);
    }

    function getAddonPrice() public view returns (uint) {
        return addonPurchasePrice;
    }

    function setAddons(uint[] memory _addons) public onlyOwner {
        delete addonsAvailability;
        uint l = _addons.length;
        for (uint i = 0; i < l; i++){
            addonsAvailability.push(uint64(_addons[i]));
        }
    }   

    function getAddons() public view returns (uint64[] memory){
        return addonsAvailability;
    } 

    function setDNA(uint64 _tokenId) public {

        require(_exists(_tokenId), "Witch does not exist");
        require(witchDNA[_tokenId] == 0, "DNA exists");

        witchDNA[_tokenId] = random(1000000000000000);
    }   

    function getDNA(uint64 _tokenId) public view returns (uint) {
        return witchDNA[_tokenId];
    }  
   
    bytes32 public merkleRoot = 0x696d2a47d6f9de5197eda8dad4f27b1ced42aed75adc8fe38540f96c3c6f53de;
    
    mapping(address => bool) public claimed;

    function checkValidity(bytes32[] calldata _merkleProof) public view returns (bool){
        bytes32 leaf = keccak256(abi.encodePacked(msg.sender));
        require(MerkleProof.verify(_merkleProof, merkleRoot, leaf), "Incorrect proof");
        return true;
    }

    function mintMerkle(bytes32[] calldata merkleProof) public {
        require(isOpen, "Minting not open");
        require(claimed[msg.sender] == false, "Already claimed");
        require((_totalMinted() + 1) <= MERKLE_RESERVED, "Out of Witches");
        claimed[msg.sender] = true;
        bytes32 leaf = keccak256(abi.encodePacked(msg.sender));
        require(MerkleProof.verify(merkleProof, merkleRoot, leaf) == true, "Invalid merkle proof");

        _safeMint(_msgSender(), 1);            
    }

    function setMerkleRoot(bytes32 _root) external onlyOwner {
        merkleRoot = _root;
    }

    function setMerkleReserved(uint64 _maxM) public onlyOwner {
        require((MAX_SUPPLY + _maxM) <= 10000, "Cannot increase");
        MERKLE_RESERVED = _maxM;
    }
  
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"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":"purchaser","type":"address"},{"indexed":true,"internalType":"uint64","name":"selectedAddonId","type":"uint64"},{"indexed":true,"internalType":"uint64","name":"_tokenId","type":"uint64"}],"name":"AddonPurchased","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint64","name":"_tokenIdFrom","type":"uint64"},{"indexed":true,"internalType":"uint64","name":"_tokenIdTo","type":"uint64"}],"name":"AddonTransfered","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"checkValidity","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"claimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint64","name":"_maxSupply","type":"uint64"}],"name":"decreaseMaxSupply","outputs":[],"stateMutability":"nonpayable","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":[],"name":"getAddonPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getAddons","outputs":[{"internalType":"uint64[]","name":"","type":"uint64[]"}],"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":"uint64","name":"_tokenId","type":"uint64"}],"name":"getDNA","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint64","name":"","type":"uint64"}],"name":"hasAddon","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isShopOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint64","name":"quantity","type":"uint64"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"mintMerkle","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint64","name":"_tokenId","type":"uint64"}],"name":"purchaseAddon","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint64","name":"_tokenId","type":"uint64"},{"internalType":"string","name":"_address","type":"string"}],"name":"putOnIpfs","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrice","type":"uint256"}],"name":"setAddonPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_URI","type":"string"}],"name":"setAddonURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_addons","type":"uint256[]"}],"name":"setAddons","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_URI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint64","name":"_tokenId","type":"uint64"}],"name":"setDNA","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isOpen","type":"bool"}],"name":"setIsOpen","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isShopOpen","type":"bool"}],"name":"setIsShopOpen","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint64","name":"_newMaxMintAmount","type":"uint64"}],"name":"setMaxMintAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint64","name":"_newMaxPerWallet","type":"uint64"}],"name":"setMaxPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint64","name":"_maxM","type":"uint64"}],"name":"setMerkleReserved","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_root","type":"bytes32"}],"name":"setMerkleRoot","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":"uint64","name":"_tokenIdFrom","type":"uint64"},{"internalType":"uint64","name":"_tokenIdTo","type":"uint64"}],"name":"transferAddon","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":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60a060405260006080908152600a906200001a9082620004ac565b507903e8000000000000000b000000000000000b0000000000002328600b55600c805461ffff19169055604080516020810190915260008152600d90620000629082620004ac565b506000600e5560646013557f696d2a47d6f9de5197eda8dad4f27b1ced42aed75adc8fe38540f96c3c6f53de6014553480156200009e57600080fd5b506040518060400160405280600f81526020016e098eac6d6f28ee4cacadcaed2e8c6d608b1b815250604051806040016040528060038152602001624c475760e81b8152508160029081620000f49190620004ac565b506003620001038282620004ac565b5050600160005550620001163362000145565b600160095562000129335b601662000197565b620001343362000121565b6200013f3362000121565b6200061e565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b620001b9828260405180602001604052806000815250620001bd60201b60201c565b5050565b620001c9838362000234565b6001600160a01b0383163b156200022f576000548281035b6001810190620001f79060009087908662000314565b62000215576040516368d2bf6b60e11b815260040160405180910390fd5b818110620001e15781600054146200022c57600080fd5b50505b505050565b60008054908290036200025a5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b1783179055828401908390839060008051602062003a658339815191528180a4600183015b818114620002e9578083600060008051602062003a65833981519152600080a4600101620002c0565b50816000036200030b57604051622e076360e81b815260040160405180910390fd5b60005550505050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906200034b90339089908890889060040162000578565b6020604051808303816000875af192505050801562000389575060408051601f3d908101601f191682019092526200038691810190620005eb565b60015b620003eb573d808015620003ba576040519150601f19603f3d011682016040523d82523d6000602084013e620003bf565b606091505b508051600003620003e3576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200043357607f821691505b6020821081036200045457634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200022f57600081815260208120601f850160051c81016020861015620004835750805b601f850160051c820191505b81811015620004a4578281556001016200048f565b505050505050565b81516001600160401b03811115620004c857620004c862000408565b620004e081620004d984546200041e565b846200045a565b602080601f831160018114620005185760008415620004ff5750858301515b600019600386901b1c1916600185901b178555620004a4565b600085815260208120601f198616915b82811015620005495788860151825594840194600190910190840162000528565b5085821015620005685787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060018060a01b038087168352602081871681850152856040850152608060608501528451915081608085015260005b82811015620005c75785810182015185820160a001528101620005a9565b5050600060a0828501015260a0601f19601f83011684010191505095945050505050565b600060208284031215620005fe57600080fd5b81516001600160e01b0319811681146200061757600080fd5b9392505050565b613437806200062e6000396000f3fe6080604052600436106102935760003560e01c806370a082311161015a578063b88d4fde116100c1578063e985e9c51161007a578063e985e9c514610841578063eb0e42cc1461088a578063f2fde38b146108aa578063f82b702b146108ca578063f9d4a42d146108ea578063fb9d09c81461090a57600080fd5b8063b88d4fde14610764578063c23dc68f14610784578063c495b288146107b1578063c7676a30146107d1578063c87b56dd146107f1578063c884ef831461081157600080fd5b8063954d90d011610113578063954d90d01461068157806395d89b41146106a15780639914f4bd146106b657806399a2557a146106d6578063a22cb465146106f6578063b2e05ed71461071657600080fd5b806370a08231146105c1578063715018a6146105e15780637cb64759146105f65780638462151c146106165780638da5cb5b146106435780638ea3f3e21461066157600080fd5b80633ccfd60b116101fe57806355f804b3116101b757806355f804b3146104f45780635bbb21771461051457806362cba8ef146105415780636352211e14610561578063672fddf114610581578063699c33e1146105a157600080fd5b80633ccfd60b146104305780633e9f610b146104455780633f01f7821461046557806342842e0e1461049b57806342c2040d146104bb57806347535d7b146104da57600080fd5b806318160ddd1161025057806318160ddd1461038957806323b872dd146103b05780632a7e6e79146103d05780632eb4a7ab146103e3578063307eb72c146103f9578063310280ca1461040e57600080fd5b806301ffc9a71461029857806303c96f70146102cd57806306fdde03146102ef578063081812fc14610311578063085a10cf14610349578063095ea7b314610369575b600080fd5b3480156102a457600080fd5b506102b86102b3366004612a87565b61092a565b60405190151581526020015b60405180910390f35b3480156102d957600080fd5b506102ed6102e8366004612ac0565b61097c565b005b3480156102fb57600080fd5b50610304610a15565b6040516102c49190612b2b565b34801561031d57600080fd5b5061033161032c366004612b3e565b610aa7565b6040516001600160a01b0390911681526020016102c4565b34801561035557600080fd5b506102ed610364366004612b67565b610aeb565b34801561037557600080fd5b506102ed610384366004612b99565b610b06565b34801561039557600080fd5b5060015460005403600019015b6040519081526020016102c4565b3480156103bc57600080fd5b506102ed6103cb366004612bc3565b610ba6565b6102ed6103de366004612ac0565b610d3f565b3480156103ef57600080fd5b506103a260145481565b34801561040557600080fd5b50600e546103a2565b34801561041a57600080fd5b5061042361109d565b6040516102c49190612bff565b34801561043c57600080fd5b506102ed611126565b34801561045157600080fd5b506102ed610460366004612ac0565b611160565b34801561047157600080fd5b506103a2610480366004612ac0565b6001600160401b031660009081526012602052604090205490565b3480156104a757600080fd5b506102ed6104b6366004612bc3565b61119a565b3480156104c757600080fd5b50600c546102b890610100900460ff1681565b3480156104e657600080fd5b50600c546102b89060ff1681565b34801561050057600080fd5b506102ed61050f366004612cfd565b6111ba565b34801561052057600080fd5b5061053461052f366004612d7c565b6111ce565b6040516102c49190612df9565b34801561054d57600080fd5b506102ed61055c366004612b3e565b611299565b34801561056d57600080fd5b5061033161057c366004612b3e565b6112a6565b34801561058d57600080fd5b506102ed61059c366004612e3b565b6112b1565b3480156105ad57600080fd5b506102ed6105bc366004612b67565b611390565b3480156105cd57600080fd5b506103a26105dc366004612e88565b6113b2565b3480156105ed57600080fd5b506102ed611400565b34801561060257600080fd5b506102ed610611366004612b3e565b611414565b34801561062257600080fd5b50610636610631366004612e88565b611421565b6040516102c49190612ea3565b34801561064f57600080fd5b506008546001600160a01b0316610331565b34801561066d57600080fd5b506102ed61067c366004612cfd565b611529565b34801561068d57600080fd5b506102b861069c366004612d7c565b61153d565b3480156106ad57600080fd5b506103046115fc565b3480156106c257600080fd5b506102ed6106d1366004612d7c565b61160b565b3480156106e257600080fd5b506106366106f1366004612edb565b6117f7565b34801561070257600080fd5b506102ed610711366004612f0e565b61197e565b34801561072257600080fd5b5061074c610731366004612ac0565b600f602052600090815260409020546001600160401b031681565b6040516001600160401b0390911681526020016102c4565b34801561077057600080fd5b506102ed61077f366004612f41565b6119ea565b34801561079057600080fd5b506107a461079f366004612b3e565b611a34565b6040516102c49190612fbc565b3480156107bd57600080fd5b506102ed6107cc366004612fca565b611abc565b3480156107dd57600080fd5b506102ed6107ec366004612ac0565b611d4f565b3480156107fd57600080fd5b5061030461080c366004612b3e565b611dfc565b34801561081d57600080fd5b506102b861082c366004612e88565b60156020526000908152604090205460ff1681565b34801561084d57600080fd5b506102b861085c366004612ff4565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561089657600080fd5b506102ed6108a5366004612ac0565b611f38565b3480156108b657600080fd5b506102ed6108c5366004612e88565b611f6d565b3480156108d657600080fd5b506102ed6108e5366004612ac0565b611fe3565b3480156108f657600080fd5b506102ed61090536600461301e565b6120b4565b34801561091657600080fd5b506102ed610925366004612ac0565b612145565b60006301ffc9a760e01b6001600160e01b03198316148061095b57506380ac58cd60e01b6001600160e01b03198316145b806109765750635b5e139f60e01b6001600160e01b03198316145b92915050565b61098461236c565b600b546127109061099f9083906001600160401b03166130d9565b6001600160401b031611156109ed5760405162461bcd60e51b815260206004820152600f60248201526e43616e6e6f7420696e63726561736560881b60448201526064015b60405180910390fd5b600b80546001600160401b03909216600160c01b026001600160c01b03909216919091179055565b606060028054610a2490613100565b80601f0160208091040260200160405190810160405280929190818152602001828054610a5090613100565b8015610a9d5780601f10610a7257610100808354040283529160200191610a9d565b820191906000526020600020905b815481529060010190602001808311610a8057829003601f168201915b5050505050905090565b6000610ab2826123c6565b610acf576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b610af361236c565b600c805460ff1916911515919091179055565b6000610b11826112a6565b9050336001600160a01b03821614610b4a57610b2d813361085c565b610b4a576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000610bb1826123fb565b9050836001600160a01b0316816001600160a01b031614610be45760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417610c3157610c14863361085c565b610c3157604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610c5857604051633a954ecd60e21b815260040160405180910390fd5b8015610c6357600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003610cf557600184016000818152600460205260408120549003610cf3576000548114610cf35760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b610d4761246a565b601054600c54610100900460ff16610d945760405162461bcd60e51b815260206004820152601060248201526f29b437b81034b9903737ba1037b832b760811b60448201526064016109e4565b333214610dcd5760405162461bcd60e51b81526020600482015260076024820152664e6f20626f747360c81b60448201526064016109e4565b60008111610e0f5760405162461bcd60e51b815260206004820152600f60248201526e1059191bdb9cc81cdbdb19081bdd5d608a1b60448201526064016109e4565b610e21826001600160401b03166123c6565b610e3d5760405162461bcd60e51b81526004016109e49061313a565b6001600160401b038083166000908152600f60205260409020541615610e9f5760405162461bcd60e51b81526020600482015260176024820152762bb4ba31b41030b63932b0b23c903430b99030b23237b760491b60448201526064016109e4565b600e54341015610ee65760405162461bcd60e51b8152602060048201526012602482015271496e73756666696369656e742066756e647360701b60448201526064016109e4565b6000610ef1826124c3565b90506617a93c16344000600e6000828254610f0c9190613168565b92505081905550600060108281548110610f2857610f2861317b565b6000918252602090912060048204015460039091166008026101000a90046001600160401b031690506010610f5e600185613191565b81548110610f6e57610f6e61317b565b90600052602060002090600491828204019190066008029054906101000a90046001600160401b031660108381548110610faa57610faa61317b565b90600052602060002090600491828204019190066008026101000a8154816001600160401b0302191690836001600160401b031602179055506010805480610ff457610ff46131a4565b6000828152602080822060046000199094019384040180546001600160401b03600860038716026101000a81021990911690915592909355868216808252600f90935260409020805491841667ffffffffffffffff19909216821790556110583390565b6001600160a01b03167f159d3512feaaef219903303e7634f025f4ebc32ff48b6a1cc706b05aea03ea9960405160405180910390a450505061109a6001600955565b50565b60606010805480602002602001604051908101604052809291908181526020018280548015610a9d57602002820191906000526020600020906000905b82829054906101000a90046001600160401b03166001600160401b0316815260200190600801906020826007010492830192600103820291508084116110da5790505050505050905090565b61112e61236c565b604051339081904780156108fc02916000818181858888f1935050505015801561115c573d6000803e3d6000fd5b5050565b61116861236c565b600b80546001600160401b03909216600160401b026fffffffffffffffff000000000000000019909216919091179055565b6111b5838383604051806020016040528060008152506119ea565b505050565b6111c261236c565b600a61115c8282613200565b6060816000816001600160401b038111156111eb576111eb612c40565b60405190808252806020026020018201604052801561123d57816020015b6040805160808101825260008082526020808301829052928201819052606082015282526000199092019101816112095790505b50905060005b8281146112905761126b86868381811061125f5761125f61317b565b90506020020135611a34565b82828151811061127d5761127d61317b565b6020908102919091010152600101611243565b50949350505050565b6112a161236c565b600e55565b6000610976826123fb565b6112b961236c565b6112cb826001600160401b03166123c6565b61130e5760405162461bcd60e51b8152602060048201526014602482015273151bdad95b88191bd95cc81b9bdd08195e1a5cdd60621b60448201526064016109e4565b6001600160401b038083166000908152600f6020526040812054909116900361136e5760405162461bcd60e51b81526020600482015260126024820152712a37b5b2b7103430b99037379030b23237b760711b60448201526064016109e4565b6001600160401b03821660009081526011602052604090206111b58282613200565b61139861236c565b600c80549115156101000261ff0019909216919091179055565b60006001600160a01b0382166113db576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b61140861236c565b6114126000612533565b565b61141c61236c565b601455565b60606000806000611431856113b2565b90506000816001600160401b0381111561144d5761144d612c40565b604051908082528060200260200182016040528015611476578160200160208202803683370190505b5090506114a360408051608081018252600080825260208201819052918101829052606081019190915290565b60015b83861461151d576114b681612585565b915081604001516115155781516001600160a01b0316156114d657815194505b876001600160a01b0316856001600160a01b03160361151557808387806001019850815181106115085761150861317b565b6020026020010181815250505b6001016114a6565b50909695505050505050565b61153161236c565b600d61115c8282613200565b6040516001600160601b03193360601b16602082015260009081906034016040516020818303038152906040528051906020012090506115b48484808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152505060145491508490506125c1565b6115f25760405162461bcd60e51b815260206004820152600f60248201526e24b731b7b93932b1ba10383937b7b360891b60448201526064016109e4565b5060019392505050565b606060038054610a2490613100565b600c5460ff166116505760405162461bcd60e51b815260206004820152601060248201526f26b4b73a34b733903737ba1037b832b760811b60448201526064016109e4565b3360009081526015602052604090205460ff16156116a25760405162461bcd60e51b815260206004820152600f60248201526e105b1c9958591e4818db185a5b5959608a1b60448201526064016109e4565b600b54600160c01b90046001600160401b03166116c26000546000190190565b6116cd906001613168565b111561170c5760405162461bcd60e51b815260206004820152600e60248201526d4f7574206f66205769746368657360901b60448201526064016109e4565b336000818152601560209081526040808320805460ff1916600117905551919261174b9290910160609190911b6001600160601b031916815260140190565b6040516020818303038152906040528051906020012090506117a48383808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152505060145491508490506125c1565b15156001146117ec5760405162461bcd60e51b815260206004820152601460248201527324b73b30b634b21036b2b935b63290383937b7b360611b60448201526064016109e4565b6111b53360016125d7565b606081831061181957604051631960ccad60e11b815260040160405180910390fd5b60008061182560005490565b9050600185101561183557600194505b80841115611841578093505b600061184c876113b2565b90508486101561186b5785850381811015611865578091505b5061186f565b5060005b6000816001600160401b0381111561188957611889612c40565b6040519080825280602002602001820160405280156118b2578160200160208202803683370190505b509050816000036118c857935061197792505050565b60006118d388611a34565b9050600081604001516118e4575080515b885b8881141580156118f65750848714155b1561196b5761190481612585565b925082604001516119635782516001600160a01b03161561192457825191505b8a6001600160a01b0316826001600160a01b03160361196357808488806001019950815181106119565761195661317b565b6020026020010181815250505b6001016118e6565b50505092835250909150505b9392505050565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6119f5848484610ba6565b6001600160a01b0383163b15611a2e57611a11848484846125f1565b611a2e576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6040805160808101825260008082526020820181905291810182905260608101919091526040805160808101825260008082526020820181905291810182905260608101919091526001831080611a8d57506000548310155b15611a985792915050565b611aa183612585565b9050806040015115611ab35792915050565b611977836126dd565b611ac461246a565b600c54610100900460ff16611b135760405162461bcd60e51b81526020600482015260156024820152744e6f74206f70656e20746f207472616e736665727360581b60448201526064016109e4565b611b25826001600160401b03166123c6565b611b415760405162461bcd60e51b81526004016109e49061313a565b611b53816001600160401b03166123c6565b611b6f5760405162461bcd60e51b81526004016109e49061313a565b6001600160401b038083166000908152600f60205260408120549091169003611bcf5760405162461bcd60e51b81526020600482015260126024820152712bb4ba31b4103430b99037379030b23237b760711b60448201526064016109e4565b6001600160401b038082166000908152600f60205260409020541615611c315760405162461bcd60e51b81526020600482015260176024820152762bb4ba31b41030b63932b0b23c903430b99030b23237b760491b60448201526064016109e4565b6000611c45836001600160401b03166112a6565b9050336001600160a01b03821614611c8b5760405162461bcd60e51b81526020600482015260096024820152682737ba1037bbb732b960b91b60448201526064016109e4565b6001600160401b038084166000908152600f60209081526040808320805467ffffffffffffffff19811690915560119092528220921691611ccb916129fd565b6001600160401b0383166000908152601160205260408120611cec916129fd565b6001600160401b038381166000818152600f6020526040808220805467ffffffffffffffff19168686161790555191928716917f388d7f381e39b62388d040373733418174ed308895fdb3012f2627b1d7da6eec9190a3505061115c6001600955565b611d61816001600160401b03166123c6565b611d7d5760405162461bcd60e51b81526004016109e49061313a565b6001600160401b03811660009081526012602052604090205415611dd05760405162461bcd60e51b815260206004820152600a602482015269444e412065786973747360b01b60448201526064016109e4565b611de066038d7ea4c680006124c3565b6001600160401b03909116600090815260126020526040902055565b6001600160401b038082166000908152600f60205260409020546060911615611f2f576001600160401b03821660009081526011602052604081208054611e4290613100565b80601f0160208091040260200160405190810160405280929190818152602001828054611e6e90613100565b8015611ebb5780601f10611e9057610100808354040283529160200191611ebb565b820191906000526020600020905b815481529060010190602001808311611e9e57829003601f168201915b50505050509050600081511115611ed25792915050565b600d8054611edf90613100565b9050600003611efd5760405180602001604052806000815250611977565b600d611f0884612712565b604051602001611f199291906132bf565b6040516020818303038152906040529392505050565b61097682612756565b611f4061236c565b600b80546001600160401b03909216600160801b0267ffffffffffffffff60801b19909216919091179055565b611f7561236c565b6001600160a01b038116611fda5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109e4565b61109a81612533565b611feb61236c565b612710816001600160401b031611156120465760405162461bcd60e51b815260206004820152601a60248201527f43616e6e6f7420696e637265617365206d617820737570706c7900000000000060448201526064016109e4565b60005460001901816001600160401b031610156120915760405162461bcd60e51b8152602060048201526009602482015268151bdbc81cdb585b1b60ba1b60448201526064016109e4565b600b805467ffffffffffffffff19166001600160401b0392909216919091179055565b6120bc61236c565b6120c860106000612a37565b805160005b818110156111b55760108382815181106120e9576120e961317b565b60209081029190910181015182546001810184556000938452919092206004820401805460039092166008026101000a6001600160401b038181021990931692909316929092021790558061213d81613346565b9150506120cd565b600c5460ff1661218a5760405162461bcd60e51b815260206004820152601060248201526f26b4b73a34b733903737ba1037b832b760811b60448201526064016109e4565b3332146121c35760405162461bcd60e51b81526020600482015260076024820152664e6f20626f747360c81b60448201526064016109e4565b600b546001600160401b03600160801b90910481169082161061221c5760405162461bcd60e51b8152602060048201526011602482015270151bdbc81b585b9e481c195c881b5a5b9d607a1b60448201526064016109e4565b6000816001600160401b0316116122615760405162461bcd60e51b815260206004820152600960248201526816995c9bc81b5a5b9d60ba1b60448201526064016109e4565b600b54600160401b90046001600160401b039081169082166122a5336001600160a01b03166000908152600560205260409081902054901c6001600160401b031690565b6122af9190613168565b106122f25760405162461bcd60e51b8152602060048201526013602482015272151bdbc81b585b9e481c195c881dd85b1b195d606a1b60448201526064016109e4565b600b546001600160401b039081169082166123106000546000190190565b61231a9190613168565b11156123595760405162461bcd60e51b815260206004820152600e60248201526d4f7574206f66205769746368657360901b60448201526064016109e4565b61109a33826001600160401b03166125d7565b6008546001600160a01b031633146114125760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109e4565b6000816001111580156123da575060005482105b8015610976575050600090815260046020526040902054600160e01b161590565b60008180600111612451576000548110156124515760008181526004602052604081205490600160e01b8216900361244f575b8060000361197757506000190160008181526004602052604090205461242e565b505b604051636f96cda160e11b815260040160405180910390fd5b6002600954036124bc5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016109e4565b6002600955565b60006013600081546124d490613346565b9091555060135460405160009161250f9144903390602001928352602083019190915260601b6001600160601b031916604082015260540190565b60408051601f1981840301815291905280516020909101209050611977838261335f565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604080516080810182526000808252602082018190529181018290526060810191909152600082815260046020526040902054610976906127c3565b6000826125ce858461280a565b14949350505050565b61115c828260405180602001604052806000815250612857565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290612626903390899088908890600401613381565b6020604051808303816000875af1925050508015612661575060408051601f3d908101601f1916820190925261265e918101906133be565b60015b6126bf573d80801561268f576040519150601f19603f3d011682016040523d82523d6000602084013e612694565b606091505b5080516000036126b7576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60408051608081018252600080825260208201819052918101829052606081019190915261097661270d836123fb565b6127c3565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a90048061272c5750819003601f19909101908152919050565b6060612761826123c6565b61277e57604051630a14c4b560e41b815260040160405180910390fd5b60006127886128c4565b905080516000036127a85760405180602001604052806000815250611977565b806127b284612712565b604051602001611f199291906133db565b604080516080810182526001600160a01b038316815260a083901c6001600160401b03166020820152600160e01b831615159181019190915260e89190911c606082015290565b600081815b845181101561284f5761283b8286838151811061282e5761282e61317b565b60200260200101516128d3565b91508061284781613346565b91505061280f565b509392505050565b61286183836128ff565b6001600160a01b0383163b156111b5576000548281035b61288b60008683806001019450866125f1565b6128a8576040516368d2bf6b60e11b815260040160405180910390fd5b8181106128785781600054146128bd57600080fd5b5050505050565b6060600a8054610a2490613100565b60008183106128ef576000828152602084905260409020611977565b5060009182526020526040902090565b60008054908290036129245760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146129d357808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a460010161299b565b50816000036129f457604051622e076360e81b815260040160405180910390fd5b60005550505050565b508054612a0990613100565b6000825580601f10612a19575050565b601f01602090049060005260206000209081019061109a9190612a58565b50805460008255600301600490049060005260206000209081019061109a91905b5b80821115612a6d5760008155600101612a59565b5090565b6001600160e01b03198116811461109a57600080fd5b600060208284031215612a9957600080fd5b813561197781612a71565b80356001600160401b0381168114612abb57600080fd5b919050565b600060208284031215612ad257600080fd5b61197782612aa4565b60005b83811015612af6578181015183820152602001612ade565b50506000910152565b60008151808452612b17816020860160208601612adb565b601f01601f19169290920160200192915050565b6020815260006119776020830184612aff565b600060208284031215612b5057600080fd5b5035919050565b80358015158114612abb57600080fd5b600060208284031215612b7957600080fd5b61197782612b57565b80356001600160a01b0381168114612abb57600080fd5b60008060408385031215612bac57600080fd5b612bb583612b82565b946020939093013593505050565b600080600060608486031215612bd857600080fd5b612be184612b82565b9250612bef60208501612b82565b9150604084013590509250925092565b6020808252825182820181905260009190848201906040850190845b8181101561151d5783516001600160401b031683529284019291840191600101612c1b565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715612c7e57612c7e612c40565b604052919050565b60006001600160401b03831115612c9f57612c9f612c40565b612cb2601f8401601f1916602001612c56565b9050828152838383011115612cc657600080fd5b828260208301376000602084830101529392505050565b600082601f830112612cee57600080fd5b61197783833560208501612c86565b600060208284031215612d0f57600080fd5b81356001600160401b03811115612d2557600080fd5b6126d584828501612cdd565b60008083601f840112612d4357600080fd5b5081356001600160401b03811115612d5a57600080fd5b6020830191508360208260051b8501011115612d7557600080fd5b9250929050565b60008060208385031215612d8f57600080fd5b82356001600160401b03811115612da557600080fd5b612db185828601612d31565b90969095509350505050565b80516001600160a01b031682526020808201516001600160401b03169083015260408082015115159083015260609081015162ffffff16910152565b6020808252825182820181905260009190848201906040850190845b8181101561151d57612e28838551612dbd565b9284019260809290920191600101612e15565b60008060408385031215612e4e57600080fd5b612e5783612aa4565b915060208301356001600160401b03811115612e7257600080fd5b612e7e85828601612cdd565b9150509250929050565b600060208284031215612e9a57600080fd5b61197782612b82565b6020808252825182820181905260009190848201906040850190845b8181101561151d57835183529284019291840191600101612ebf565b600080600060608486031215612ef057600080fd5b612ef984612b82565b95602085013595506040909401359392505050565b60008060408385031215612f2157600080fd5b612f2a83612b82565b9150612f3860208401612b57565b90509250929050565b60008060008060808587031215612f5757600080fd5b612f6085612b82565b9350612f6e60208601612b82565b92506040850135915060608501356001600160401b03811115612f9057600080fd5b8501601f81018713612fa157600080fd5b612fb087823560208401612c86565b91505092959194509250565b608081016109768284612dbd565b60008060408385031215612fdd57600080fd5b612fe683612aa4565b9150612f3860208401612aa4565b6000806040838503121561300757600080fd5b61301083612b82565b9150612f3860208401612b82565b6000602080838503121561303157600080fd5b82356001600160401b038082111561304857600080fd5b818501915085601f83011261305c57600080fd5b81358181111561306e5761306e612c40565b8060051b915061307f848301612c56565b818152918301840191848101908884111561309957600080fd5b938501935b838510156130b75784358252938501939085019061309e565b98975050505050505050565b634e487b7160e01b600052601160045260246000fd5b6001600160401b038181168382160190808211156130f9576130f96130c3565b5092915050565b600181811c9082168061311457607f821691505b60208210810361313457634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526014908201527315da5d18da08191bd95cc81b9bdd08195e1a5cdd60621b604082015260600190565b80820180821115610976576109766130c3565b634e487b7160e01b600052603260045260246000fd5b81810381811115610976576109766130c3565b634e487b7160e01b600052603160045260246000fd5b601f8211156111b557600081815260208120601f850160051c810160208610156131e15750805b601f850160051c820191505b81811015610d37578281556001016131ed565b81516001600160401b0381111561321957613219612c40565b61322d816132278454613100565b846131ba565b602080601f831160018114613262576000841561324a5750858301515b600019600386901b1c1916600185901b178555610d37565b600085815260208120601f198616915b8281101561329157888601518255948401946001909101908401613272565b50858210156132af5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60008084546132cd81613100565b600182811680156132e557600181146132fa57613329565b60ff1984168752821515830287019450613329565b8860005260208060002060005b858110156133205781548a820152908401908201613307565b50505082870194505b50505050835161333d818360208801612adb565b01949350505050565b600060018201613358576133586130c3565b5060010190565b60008261337c57634e487b7160e01b600052601260045260246000fd5b500690565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906133b490830184612aff565b9695505050505050565b6000602082840312156133d057600080fd5b815161197781612a71565b600083516133ed818460208801612adb565b83519083019061333d818360208801612adb56fea26469706673582212208be6c11869dfc7acd2711978b92ddc89717c02db05e6084f358ac72870c9222f64736f6c63430008110033ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef

Deployed Bytecode

0x6080604052600436106102935760003560e01c806370a082311161015a578063b88d4fde116100c1578063e985e9c51161007a578063e985e9c514610841578063eb0e42cc1461088a578063f2fde38b146108aa578063f82b702b146108ca578063f9d4a42d146108ea578063fb9d09c81461090a57600080fd5b8063b88d4fde14610764578063c23dc68f14610784578063c495b288146107b1578063c7676a30146107d1578063c87b56dd146107f1578063c884ef831461081157600080fd5b8063954d90d011610113578063954d90d01461068157806395d89b41146106a15780639914f4bd146106b657806399a2557a146106d6578063a22cb465146106f6578063b2e05ed71461071657600080fd5b806370a08231146105c1578063715018a6146105e15780637cb64759146105f65780638462151c146106165780638da5cb5b146106435780638ea3f3e21461066157600080fd5b80633ccfd60b116101fe57806355f804b3116101b757806355f804b3146104f45780635bbb21771461051457806362cba8ef146105415780636352211e14610561578063672fddf114610581578063699c33e1146105a157600080fd5b80633ccfd60b146104305780633e9f610b146104455780633f01f7821461046557806342842e0e1461049b57806342c2040d146104bb57806347535d7b146104da57600080fd5b806318160ddd1161025057806318160ddd1461038957806323b872dd146103b05780632a7e6e79146103d05780632eb4a7ab146103e3578063307eb72c146103f9578063310280ca1461040e57600080fd5b806301ffc9a71461029857806303c96f70146102cd57806306fdde03146102ef578063081812fc14610311578063085a10cf14610349578063095ea7b314610369575b600080fd5b3480156102a457600080fd5b506102b86102b3366004612a87565b61092a565b60405190151581526020015b60405180910390f35b3480156102d957600080fd5b506102ed6102e8366004612ac0565b61097c565b005b3480156102fb57600080fd5b50610304610a15565b6040516102c49190612b2b565b34801561031d57600080fd5b5061033161032c366004612b3e565b610aa7565b6040516001600160a01b0390911681526020016102c4565b34801561035557600080fd5b506102ed610364366004612b67565b610aeb565b34801561037557600080fd5b506102ed610384366004612b99565b610b06565b34801561039557600080fd5b5060015460005403600019015b6040519081526020016102c4565b3480156103bc57600080fd5b506102ed6103cb366004612bc3565b610ba6565b6102ed6103de366004612ac0565b610d3f565b3480156103ef57600080fd5b506103a260145481565b34801561040557600080fd5b50600e546103a2565b34801561041a57600080fd5b5061042361109d565b6040516102c49190612bff565b34801561043c57600080fd5b506102ed611126565b34801561045157600080fd5b506102ed610460366004612ac0565b611160565b34801561047157600080fd5b506103a2610480366004612ac0565b6001600160401b031660009081526012602052604090205490565b3480156104a757600080fd5b506102ed6104b6366004612bc3565b61119a565b3480156104c757600080fd5b50600c546102b890610100900460ff1681565b3480156104e657600080fd5b50600c546102b89060ff1681565b34801561050057600080fd5b506102ed61050f366004612cfd565b6111ba565b34801561052057600080fd5b5061053461052f366004612d7c565b6111ce565b6040516102c49190612df9565b34801561054d57600080fd5b506102ed61055c366004612b3e565b611299565b34801561056d57600080fd5b5061033161057c366004612b3e565b6112a6565b34801561058d57600080fd5b506102ed61059c366004612e3b565b6112b1565b3480156105ad57600080fd5b506102ed6105bc366004612b67565b611390565b3480156105cd57600080fd5b506103a26105dc366004612e88565b6113b2565b3480156105ed57600080fd5b506102ed611400565b34801561060257600080fd5b506102ed610611366004612b3e565b611414565b34801561062257600080fd5b50610636610631366004612e88565b611421565b6040516102c49190612ea3565b34801561064f57600080fd5b506008546001600160a01b0316610331565b34801561066d57600080fd5b506102ed61067c366004612cfd565b611529565b34801561068d57600080fd5b506102b861069c366004612d7c565b61153d565b3480156106ad57600080fd5b506103046115fc565b3480156106c257600080fd5b506102ed6106d1366004612d7c565b61160b565b3480156106e257600080fd5b506106366106f1366004612edb565b6117f7565b34801561070257600080fd5b506102ed610711366004612f0e565b61197e565b34801561072257600080fd5b5061074c610731366004612ac0565b600f602052600090815260409020546001600160401b031681565b6040516001600160401b0390911681526020016102c4565b34801561077057600080fd5b506102ed61077f366004612f41565b6119ea565b34801561079057600080fd5b506107a461079f366004612b3e565b611a34565b6040516102c49190612fbc565b3480156107bd57600080fd5b506102ed6107cc366004612fca565b611abc565b3480156107dd57600080fd5b506102ed6107ec366004612ac0565b611d4f565b3480156107fd57600080fd5b5061030461080c366004612b3e565b611dfc565b34801561081d57600080fd5b506102b861082c366004612e88565b60156020526000908152604090205460ff1681565b34801561084d57600080fd5b506102b861085c366004612ff4565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561089657600080fd5b506102ed6108a5366004612ac0565b611f38565b3480156108b657600080fd5b506102ed6108c5366004612e88565b611f6d565b3480156108d657600080fd5b506102ed6108e5366004612ac0565b611fe3565b3480156108f657600080fd5b506102ed61090536600461301e565b6120b4565b34801561091657600080fd5b506102ed610925366004612ac0565b612145565b60006301ffc9a760e01b6001600160e01b03198316148061095b57506380ac58cd60e01b6001600160e01b03198316145b806109765750635b5e139f60e01b6001600160e01b03198316145b92915050565b61098461236c565b600b546127109061099f9083906001600160401b03166130d9565b6001600160401b031611156109ed5760405162461bcd60e51b815260206004820152600f60248201526e43616e6e6f7420696e63726561736560881b60448201526064015b60405180910390fd5b600b80546001600160401b03909216600160c01b026001600160c01b03909216919091179055565b606060028054610a2490613100565b80601f0160208091040260200160405190810160405280929190818152602001828054610a5090613100565b8015610a9d5780601f10610a7257610100808354040283529160200191610a9d565b820191906000526020600020905b815481529060010190602001808311610a8057829003601f168201915b5050505050905090565b6000610ab2826123c6565b610acf576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b610af361236c565b600c805460ff1916911515919091179055565b6000610b11826112a6565b9050336001600160a01b03821614610b4a57610b2d813361085c565b610b4a576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000610bb1826123fb565b9050836001600160a01b0316816001600160a01b031614610be45760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417610c3157610c14863361085c565b610c3157604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610c5857604051633a954ecd60e21b815260040160405180910390fd5b8015610c6357600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003610cf557600184016000818152600460205260408120549003610cf3576000548114610cf35760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b610d4761246a565b601054600c54610100900460ff16610d945760405162461bcd60e51b815260206004820152601060248201526f29b437b81034b9903737ba1037b832b760811b60448201526064016109e4565b333214610dcd5760405162461bcd60e51b81526020600482015260076024820152664e6f20626f747360c81b60448201526064016109e4565b60008111610e0f5760405162461bcd60e51b815260206004820152600f60248201526e1059191bdb9cc81cdbdb19081bdd5d608a1b60448201526064016109e4565b610e21826001600160401b03166123c6565b610e3d5760405162461bcd60e51b81526004016109e49061313a565b6001600160401b038083166000908152600f60205260409020541615610e9f5760405162461bcd60e51b81526020600482015260176024820152762bb4ba31b41030b63932b0b23c903430b99030b23237b760491b60448201526064016109e4565b600e54341015610ee65760405162461bcd60e51b8152602060048201526012602482015271496e73756666696369656e742066756e647360701b60448201526064016109e4565b6000610ef1826124c3565b90506617a93c16344000600e6000828254610f0c9190613168565b92505081905550600060108281548110610f2857610f2861317b565b6000918252602090912060048204015460039091166008026101000a90046001600160401b031690506010610f5e600185613191565b81548110610f6e57610f6e61317b565b90600052602060002090600491828204019190066008029054906101000a90046001600160401b031660108381548110610faa57610faa61317b565b90600052602060002090600491828204019190066008026101000a8154816001600160401b0302191690836001600160401b031602179055506010805480610ff457610ff46131a4565b6000828152602080822060046000199094019384040180546001600160401b03600860038716026101000a81021990911690915592909355868216808252600f90935260409020805491841667ffffffffffffffff19909216821790556110583390565b6001600160a01b03167f159d3512feaaef219903303e7634f025f4ebc32ff48b6a1cc706b05aea03ea9960405160405180910390a450505061109a6001600955565b50565b60606010805480602002602001604051908101604052809291908181526020018280548015610a9d57602002820191906000526020600020906000905b82829054906101000a90046001600160401b03166001600160401b0316815260200190600801906020826007010492830192600103820291508084116110da5790505050505050905090565b61112e61236c565b604051339081904780156108fc02916000818181858888f1935050505015801561115c573d6000803e3d6000fd5b5050565b61116861236c565b600b80546001600160401b03909216600160401b026fffffffffffffffff000000000000000019909216919091179055565b6111b5838383604051806020016040528060008152506119ea565b505050565b6111c261236c565b600a61115c8282613200565b6060816000816001600160401b038111156111eb576111eb612c40565b60405190808252806020026020018201604052801561123d57816020015b6040805160808101825260008082526020808301829052928201819052606082015282526000199092019101816112095790505b50905060005b8281146112905761126b86868381811061125f5761125f61317b565b90506020020135611a34565b82828151811061127d5761127d61317b565b6020908102919091010152600101611243565b50949350505050565b6112a161236c565b600e55565b6000610976826123fb565b6112b961236c565b6112cb826001600160401b03166123c6565b61130e5760405162461bcd60e51b8152602060048201526014602482015273151bdad95b88191bd95cc81b9bdd08195e1a5cdd60621b60448201526064016109e4565b6001600160401b038083166000908152600f6020526040812054909116900361136e5760405162461bcd60e51b81526020600482015260126024820152712a37b5b2b7103430b99037379030b23237b760711b60448201526064016109e4565b6001600160401b03821660009081526011602052604090206111b58282613200565b61139861236c565b600c80549115156101000261ff0019909216919091179055565b60006001600160a01b0382166113db576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b61140861236c565b6114126000612533565b565b61141c61236c565b601455565b60606000806000611431856113b2565b90506000816001600160401b0381111561144d5761144d612c40565b604051908082528060200260200182016040528015611476578160200160208202803683370190505b5090506114a360408051608081018252600080825260208201819052918101829052606081019190915290565b60015b83861461151d576114b681612585565b915081604001516115155781516001600160a01b0316156114d657815194505b876001600160a01b0316856001600160a01b03160361151557808387806001019850815181106115085761150861317b565b6020026020010181815250505b6001016114a6565b50909695505050505050565b61153161236c565b600d61115c8282613200565b6040516001600160601b03193360601b16602082015260009081906034016040516020818303038152906040528051906020012090506115b48484808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152505060145491508490506125c1565b6115f25760405162461bcd60e51b815260206004820152600f60248201526e24b731b7b93932b1ba10383937b7b360891b60448201526064016109e4565b5060019392505050565b606060038054610a2490613100565b600c5460ff166116505760405162461bcd60e51b815260206004820152601060248201526f26b4b73a34b733903737ba1037b832b760811b60448201526064016109e4565b3360009081526015602052604090205460ff16156116a25760405162461bcd60e51b815260206004820152600f60248201526e105b1c9958591e4818db185a5b5959608a1b60448201526064016109e4565b600b54600160c01b90046001600160401b03166116c26000546000190190565b6116cd906001613168565b111561170c5760405162461bcd60e51b815260206004820152600e60248201526d4f7574206f66205769746368657360901b60448201526064016109e4565b336000818152601560209081526040808320805460ff1916600117905551919261174b9290910160609190911b6001600160601b031916815260140190565b6040516020818303038152906040528051906020012090506117a48383808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152505060145491508490506125c1565b15156001146117ec5760405162461bcd60e51b815260206004820152601460248201527324b73b30b634b21036b2b935b63290383937b7b360611b60448201526064016109e4565b6111b53360016125d7565b606081831061181957604051631960ccad60e11b815260040160405180910390fd5b60008061182560005490565b9050600185101561183557600194505b80841115611841578093505b600061184c876113b2565b90508486101561186b5785850381811015611865578091505b5061186f565b5060005b6000816001600160401b0381111561188957611889612c40565b6040519080825280602002602001820160405280156118b2578160200160208202803683370190505b509050816000036118c857935061197792505050565b60006118d388611a34565b9050600081604001516118e4575080515b885b8881141580156118f65750848714155b1561196b5761190481612585565b925082604001516119635782516001600160a01b03161561192457825191505b8a6001600160a01b0316826001600160a01b03160361196357808488806001019950815181106119565761195661317b565b6020026020010181815250505b6001016118e6565b50505092835250909150505b9392505050565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6119f5848484610ba6565b6001600160a01b0383163b15611a2e57611a11848484846125f1565b611a2e576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6040805160808101825260008082526020820181905291810182905260608101919091526040805160808101825260008082526020820181905291810182905260608101919091526001831080611a8d57506000548310155b15611a985792915050565b611aa183612585565b9050806040015115611ab35792915050565b611977836126dd565b611ac461246a565b600c54610100900460ff16611b135760405162461bcd60e51b81526020600482015260156024820152744e6f74206f70656e20746f207472616e736665727360581b60448201526064016109e4565b611b25826001600160401b03166123c6565b611b415760405162461bcd60e51b81526004016109e49061313a565b611b53816001600160401b03166123c6565b611b6f5760405162461bcd60e51b81526004016109e49061313a565b6001600160401b038083166000908152600f60205260408120549091169003611bcf5760405162461bcd60e51b81526020600482015260126024820152712bb4ba31b4103430b99037379030b23237b760711b60448201526064016109e4565b6001600160401b038082166000908152600f60205260409020541615611c315760405162461bcd60e51b81526020600482015260176024820152762bb4ba31b41030b63932b0b23c903430b99030b23237b760491b60448201526064016109e4565b6000611c45836001600160401b03166112a6565b9050336001600160a01b03821614611c8b5760405162461bcd60e51b81526020600482015260096024820152682737ba1037bbb732b960b91b60448201526064016109e4565b6001600160401b038084166000908152600f60209081526040808320805467ffffffffffffffff19811690915560119092528220921691611ccb916129fd565b6001600160401b0383166000908152601160205260408120611cec916129fd565b6001600160401b038381166000818152600f6020526040808220805467ffffffffffffffff19168686161790555191928716917f388d7f381e39b62388d040373733418174ed308895fdb3012f2627b1d7da6eec9190a3505061115c6001600955565b611d61816001600160401b03166123c6565b611d7d5760405162461bcd60e51b81526004016109e49061313a565b6001600160401b03811660009081526012602052604090205415611dd05760405162461bcd60e51b815260206004820152600a602482015269444e412065786973747360b01b60448201526064016109e4565b611de066038d7ea4c680006124c3565b6001600160401b03909116600090815260126020526040902055565b6001600160401b038082166000908152600f60205260409020546060911615611f2f576001600160401b03821660009081526011602052604081208054611e4290613100565b80601f0160208091040260200160405190810160405280929190818152602001828054611e6e90613100565b8015611ebb5780601f10611e9057610100808354040283529160200191611ebb565b820191906000526020600020905b815481529060010190602001808311611e9e57829003601f168201915b50505050509050600081511115611ed25792915050565b600d8054611edf90613100565b9050600003611efd5760405180602001604052806000815250611977565b600d611f0884612712565b604051602001611f199291906132bf565b6040516020818303038152906040529392505050565b61097682612756565b611f4061236c565b600b80546001600160401b03909216600160801b0267ffffffffffffffff60801b19909216919091179055565b611f7561236c565b6001600160a01b038116611fda5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109e4565b61109a81612533565b611feb61236c565b612710816001600160401b031611156120465760405162461bcd60e51b815260206004820152601a60248201527f43616e6e6f7420696e637265617365206d617820737570706c7900000000000060448201526064016109e4565b60005460001901816001600160401b031610156120915760405162461bcd60e51b8152602060048201526009602482015268151bdbc81cdb585b1b60ba1b60448201526064016109e4565b600b805467ffffffffffffffff19166001600160401b0392909216919091179055565b6120bc61236c565b6120c860106000612a37565b805160005b818110156111b55760108382815181106120e9576120e961317b565b60209081029190910181015182546001810184556000938452919092206004820401805460039092166008026101000a6001600160401b038181021990931692909316929092021790558061213d81613346565b9150506120cd565b600c5460ff1661218a5760405162461bcd60e51b815260206004820152601060248201526f26b4b73a34b733903737ba1037b832b760811b60448201526064016109e4565b3332146121c35760405162461bcd60e51b81526020600482015260076024820152664e6f20626f747360c81b60448201526064016109e4565b600b546001600160401b03600160801b90910481169082161061221c5760405162461bcd60e51b8152602060048201526011602482015270151bdbc81b585b9e481c195c881b5a5b9d607a1b60448201526064016109e4565b6000816001600160401b0316116122615760405162461bcd60e51b815260206004820152600960248201526816995c9bc81b5a5b9d60ba1b60448201526064016109e4565b600b54600160401b90046001600160401b039081169082166122a5336001600160a01b03166000908152600560205260409081902054901c6001600160401b031690565b6122af9190613168565b106122f25760405162461bcd60e51b8152602060048201526013602482015272151bdbc81b585b9e481c195c881dd85b1b195d606a1b60448201526064016109e4565b600b546001600160401b039081169082166123106000546000190190565b61231a9190613168565b11156123595760405162461bcd60e51b815260206004820152600e60248201526d4f7574206f66205769746368657360901b60448201526064016109e4565b61109a33826001600160401b03166125d7565b6008546001600160a01b031633146114125760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109e4565b6000816001111580156123da575060005482105b8015610976575050600090815260046020526040902054600160e01b161590565b60008180600111612451576000548110156124515760008181526004602052604081205490600160e01b8216900361244f575b8060000361197757506000190160008181526004602052604090205461242e565b505b604051636f96cda160e11b815260040160405180910390fd5b6002600954036124bc5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016109e4565b6002600955565b60006013600081546124d490613346565b9091555060135460405160009161250f9144903390602001928352602083019190915260601b6001600160601b031916604082015260540190565b60408051601f1981840301815291905280516020909101209050611977838261335f565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604080516080810182526000808252602082018190529181018290526060810191909152600082815260046020526040902054610976906127c3565b6000826125ce858461280a565b14949350505050565b61115c828260405180602001604052806000815250612857565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290612626903390899088908890600401613381565b6020604051808303816000875af1925050508015612661575060408051601f3d908101601f1916820190925261265e918101906133be565b60015b6126bf573d80801561268f576040519150601f19603f3d011682016040523d82523d6000602084013e612694565b606091505b5080516000036126b7576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60408051608081018252600080825260208201819052918101829052606081019190915261097661270d836123fb565b6127c3565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a90048061272c5750819003601f19909101908152919050565b6060612761826123c6565b61277e57604051630a14c4b560e41b815260040160405180910390fd5b60006127886128c4565b905080516000036127a85760405180602001604052806000815250611977565b806127b284612712565b604051602001611f199291906133db565b604080516080810182526001600160a01b038316815260a083901c6001600160401b03166020820152600160e01b831615159181019190915260e89190911c606082015290565b600081815b845181101561284f5761283b8286838151811061282e5761282e61317b565b60200260200101516128d3565b91508061284781613346565b91505061280f565b509392505050565b61286183836128ff565b6001600160a01b0383163b156111b5576000548281035b61288b60008683806001019450866125f1565b6128a8576040516368d2bf6b60e11b815260040160405180910390fd5b8181106128785781600054146128bd57600080fd5b5050505050565b6060600a8054610a2490613100565b60008183106128ef576000828152602084905260409020611977565b5060009182526020526040902090565b60008054908290036129245760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146129d357808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a460010161299b565b50816000036129f457604051622e076360e81b815260040160405180910390fd5b60005550505050565b508054612a0990613100565b6000825580601f10612a19575050565b601f01602090049060005260206000209081019061109a9190612a58565b50805460008255600301600490049060005260206000209081019061109a91905b5b80821115612a6d5760008155600101612a59565b5090565b6001600160e01b03198116811461109a57600080fd5b600060208284031215612a9957600080fd5b813561197781612a71565b80356001600160401b0381168114612abb57600080fd5b919050565b600060208284031215612ad257600080fd5b61197782612aa4565b60005b83811015612af6578181015183820152602001612ade565b50506000910152565b60008151808452612b17816020860160208601612adb565b601f01601f19169290920160200192915050565b6020815260006119776020830184612aff565b600060208284031215612b5057600080fd5b5035919050565b80358015158114612abb57600080fd5b600060208284031215612b7957600080fd5b61197782612b57565b80356001600160a01b0381168114612abb57600080fd5b60008060408385031215612bac57600080fd5b612bb583612b82565b946020939093013593505050565b600080600060608486031215612bd857600080fd5b612be184612b82565b9250612bef60208501612b82565b9150604084013590509250925092565b6020808252825182820181905260009190848201906040850190845b8181101561151d5783516001600160401b031683529284019291840191600101612c1b565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715612c7e57612c7e612c40565b604052919050565b60006001600160401b03831115612c9f57612c9f612c40565b612cb2601f8401601f1916602001612c56565b9050828152838383011115612cc657600080fd5b828260208301376000602084830101529392505050565b600082601f830112612cee57600080fd5b61197783833560208501612c86565b600060208284031215612d0f57600080fd5b81356001600160401b03811115612d2557600080fd5b6126d584828501612cdd565b60008083601f840112612d4357600080fd5b5081356001600160401b03811115612d5a57600080fd5b6020830191508360208260051b8501011115612d7557600080fd5b9250929050565b60008060208385031215612d8f57600080fd5b82356001600160401b03811115612da557600080fd5b612db185828601612d31565b90969095509350505050565b80516001600160a01b031682526020808201516001600160401b03169083015260408082015115159083015260609081015162ffffff16910152565b6020808252825182820181905260009190848201906040850190845b8181101561151d57612e28838551612dbd565b9284019260809290920191600101612e15565b60008060408385031215612e4e57600080fd5b612e5783612aa4565b915060208301356001600160401b03811115612e7257600080fd5b612e7e85828601612cdd565b9150509250929050565b600060208284031215612e9a57600080fd5b61197782612b82565b6020808252825182820181905260009190848201906040850190845b8181101561151d57835183529284019291840191600101612ebf565b600080600060608486031215612ef057600080fd5b612ef984612b82565b95602085013595506040909401359392505050565b60008060408385031215612f2157600080fd5b612f2a83612b82565b9150612f3860208401612b57565b90509250929050565b60008060008060808587031215612f5757600080fd5b612f6085612b82565b9350612f6e60208601612b82565b92506040850135915060608501356001600160401b03811115612f9057600080fd5b8501601f81018713612fa157600080fd5b612fb087823560208401612c86565b91505092959194509250565b608081016109768284612dbd565b60008060408385031215612fdd57600080fd5b612fe683612aa4565b9150612f3860208401612aa4565b6000806040838503121561300757600080fd5b61301083612b82565b9150612f3860208401612b82565b6000602080838503121561303157600080fd5b82356001600160401b038082111561304857600080fd5b818501915085601f83011261305c57600080fd5b81358181111561306e5761306e612c40565b8060051b915061307f848301612c56565b818152918301840191848101908884111561309957600080fd5b938501935b838510156130b75784358252938501939085019061309e565b98975050505050505050565b634e487b7160e01b600052601160045260246000fd5b6001600160401b038181168382160190808211156130f9576130f96130c3565b5092915050565b600181811c9082168061311457607f821691505b60208210810361313457634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526014908201527315da5d18da08191bd95cc81b9bdd08195e1a5cdd60621b604082015260600190565b80820180821115610976576109766130c3565b634e487b7160e01b600052603260045260246000fd5b81810381811115610976576109766130c3565b634e487b7160e01b600052603160045260246000fd5b601f8211156111b557600081815260208120601f850160051c810160208610156131e15750805b601f850160051c820191505b81811015610d37578281556001016131ed565b81516001600160401b0381111561321957613219612c40565b61322d816132278454613100565b846131ba565b602080601f831160018114613262576000841561324a5750858301515b600019600386901b1c1916600185901b178555610d37565b600085815260208120601f198616915b8281101561329157888601518255948401946001909101908401613272565b50858210156132af5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60008084546132cd81613100565b600182811680156132e557600181146132fa57613329565b60ff1984168752821515830287019450613329565b8860005260208060002060005b858110156133205781548a820152908401908201613307565b50505082870194505b50505050835161333d818360208801612adb565b01949350505050565b600060018201613358576133586130c3565b5060010190565b60008261337c57634e487b7160e01b600052601260045260246000fd5b500690565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906133b490830184612aff565b9695505050505050565b6000602082840312156133d057600080fd5b815161197781612a71565b600083516133ed818460208801612adb565b83519083019061333d818360208801612adb56fea26469706673582212208be6c11869dfc7acd2711978b92ddc89717c02db05e6084f358ac72870c9222f64736f6c63430008110033

Deployed Bytecode Sourcemap

76508:7849:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18336:639;;;;;;;;;;-1:-1:-1;18336:639:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;18336:639:0;;;;;;;;84182:168;;;;;;;;;;-1:-1:-1;84182:168:0;;;;;:::i;:::-;;:::i;:::-;;19238:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;25721:218::-;;;;;;;;;;-1:-1:-1;25721:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;2062:32:1;;;2044:51;;2032:2;2017:18;25721:218:0;1898:203:1;80223:87:0;;;;;;;;;;-1:-1:-1;80223:87:0;;;;;:::i;:::-;;:::i;25162:400::-;;;;;;;;;;-1:-1:-1;25162:400:0;;;;;:::i;:::-;;:::i;14989:323::-;;;;;;;;;;-1:-1:-1;78956:1:0;15263:12;15050:7;15247:13;:28;-1:-1:-1;;15247:46:0;14989:323;;;3039:25:1;;;3027:2;3012:18;14989:323:0;2893:177:1;29360:2817:0;;;;;;;;;;-1:-1:-1;29360:2817:0;;;;;:::i;:::-;;:::i;80542:862::-;;;;;;:::i;:::-;;:::i;83132:94::-;;;;;;;;;;;;;;;;82307:96;;;;;;;;;;-1:-1:-1;82377:18:0;;82307:96;;82667:102;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;79459:141::-;;;;;;;;;;;;;:::i;80096:119::-;;;;;;;;;;-1:-1:-1;80096:119:0;;;;;:::i;:::-;;:::i;83015:104::-;;;;;;;;;;-1:-1:-1;83015:104:0;;;;;:::i;:::-;-1:-1:-1;;;;;83093:18:0;83069:4;83093:18;;;:8;:18;;;;;;;83015:104;32273:185;;;;;;;;;;-1:-1:-1;32273:185:0;;;;;:::i;:::-;;:::i;76837:30::-;;;;;;;;;;-1:-1:-1;76837:30:0;;;;;;;;;;;76804:26;;;;;;;;;;-1:-1:-1;76804:26:0;;;;;;;;78638:96;;;;;;;;;;-1:-1:-1;78638:96:0;;;;;:::i;:::-;;:::i;55491:528::-;;;;;;;;;;-1:-1:-1;55491:528:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;79608:108::-;;;;;;;;;;-1:-1:-1;79608:108:0;;;;;:::i;:::-;;:::i;20631:152::-;;;;;;;;;;-1:-1:-1;20631:152:0;;;;;:::i;:::-;;:::i;78973:249::-;;;;;;;;;;-1:-1:-1;78973:249:0;;;;;:::i;:::-;;:::i;80318:103::-;;;;;;;;;;-1:-1:-1;80318:103:0;;;;;:::i;:::-;;:::i;16173:233::-;;;;;;;;;;-1:-1:-1;16173:233:0;;;;;:::i;:::-;;:::i;75557:103::-;;;;;;;;;;;;;:::i;84080:94::-;;;;;;;;;;-1:-1:-1;84080:94:0;;;;;:::i;:::-;;:::i;59367:900::-;;;;;;;;;;-1:-1:-1;59367:900:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;74909:87::-;;;;;;;;;;-1:-1:-1;74982:6:0;;-1:-1:-1;;;;;74982:6:0;74909:87;;78528:102;;;;;;;;;;-1:-1:-1;78528:102:0;;;;;:::i;:::-;;:::i;83287:266::-;;;;;;;;;;-1:-1:-1;83287:266:0;;;;;:::i;:::-;;:::i;19414:104::-;;;;;;;;;;;;;:::i;83561:511::-;;;;;;;;;;-1:-1:-1;83561:511:0;;;;;:::i;:::-;;:::i;56407:2513::-;;;;;;;;;;-1:-1:-1;56407:2513:0;;;;;:::i;:::-;;:::i;26279:234::-;;;;;;;;;;-1:-1:-1;26279:234:0;;;;;:::i;:::-;;:::i;76969:41::-;;;;;;;;;;-1:-1:-1;76969:41:0;;;;;:::i;:::-;;;;;;;;;;;;-1:-1:-1;;;;;76969:41:0;;;;;;-1:-1:-1;;;;;10123:31:1;;;10105:50;;10093:2;10078:18;76969:41:0;9961:200:1;33056:399:0;;;;;;;;;;-1:-1:-1;33056:399:0;;;;;:::i;:::-;;:::i;54904:428::-;;;;;;;;;;-1:-1:-1;54904:428:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;81498:801::-;;;;;;;;;;-1:-1:-1;81498:801:0;;;;;:::i;:::-;;:::i;82778:226::-;;;;;;;;;;-1:-1:-1;82778:226:0;;;;;:::i;:::-;;:::i;77981:539::-;;;;;;;;;;-1:-1:-1;77981:539:0;;;;;:::i;:::-;;:::i;83239:39::-;;;;;;;;;;-1:-1:-1;83239:39:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;26670:164;;;;;;;;;;-1:-1:-1;26670:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;26791:25:0;;;26767:4;26791:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;26670:164;79968:120;;;;;;;;;;-1:-1:-1;79968:120:0;;;;;:::i;:::-;;:::i;75815:201::-;;;;;;;;;;-1:-1:-1;75815:201:0;;;;;:::i;:::-;;:::i;79724:236::-;;;;;;;;;;-1:-1:-1;79724:236:0;;;;;:::i;:::-;;:::i;82411:245::-;;;;;;;;;;-1:-1:-1;82411:245:0;;;;;:::i;:::-;;:::i;77475:498::-;;;;;;;;;;-1:-1:-1;77475:498:0;;;;;:::i;:::-;;:::i;18336:639::-;18421:4;-1:-1:-1;;;;;;;;;18745:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;18822:25:0;;;18745:102;:179;;;-1:-1:-1;;;;;;;;;;18899:25:0;;;18745:179;18725:199;18336:639;-1:-1:-1;;18336:639:0:o;84182:168::-;74795:13;:11;:13::i;:::-;84260:10:::1;::::0;84283:5:::1;::::0;84260:18:::1;::::0;84273:5;;-1:-1:-1;;;;;84260:10:0::1;:18;:::i;:::-;-1:-1:-1::0;;;;;84259:29:0::1;;;84251:57;;;::::0;-1:-1:-1;;;84251:57:0;;13103:2:1;84251:57:0::1;::::0;::::1;13085:21:1::0;13142:2;13122:18;;;13115:30;-1:-1:-1;;;13161:18:1;;;13154:45;13216:18;;84251:57:0::1;;;;;;;;;84319:15;:23:::0;;-1:-1:-1;;;;;84319:23:0;;::::1;-1:-1:-1::0;;;84319:23:0::1;-1:-1:-1::0;;;;;84319:23:0;;::::1;::::0;;;::::1;::::0;;84182:168::o;19238:100::-;19292:13;19325:5;19318:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19238:100;:::o;25721:218::-;25797:7;25822:16;25830:7;25822;:16::i;:::-;25817:64;;25847:34;;-1:-1:-1;;;25847:34:0;;;;;;;;;;;25817:64;-1:-1:-1;25901:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;25901:30:0;;25721:218::o;80223:87::-;74795:13;:11;:13::i;:::-;80286:6:::1;:16:::0;;-1:-1:-1;;80286:16:0::1;::::0;::::1;;::::0;;;::::1;::::0;;80223:87::o;25162:400::-;25243:13;25259:16;25267:7;25259;:16::i;:::-;25243:32;-1:-1:-1;49463:10:0;-1:-1:-1;;;;;25292:28:0;;;25288:175;;25340:44;25357:5;49463:10;26670:164;:::i;25340:44::-;25335:128;;25412:35;;-1:-1:-1;;;25412:35:0;;;;;;;;;;;25335:128;25475:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;25475:35:0;-1:-1:-1;;;;;25475:35:0;;;;;;;;;25526:28;;25475:24;;25526:28;;;;;;;25232:330;25162:400;;:::o;29360:2817::-;29494:27;29524;29543:7;29524:18;:27::i;:::-;29494:57;;29609:4;-1:-1:-1;;;;;29568:45:0;29584:19;-1:-1:-1;;;;;29568:45:0;;29564:86;;29622:28;;-1:-1:-1;;;29622:28:0;;;;;;;;;;;29564:86;29664:27;28468:24;;;:15;:24;;;;;28696:26;;49463:10;28093:30;;;-1:-1:-1;;;;;27786:28:0;;28071:20;;;28068:56;29850:180;;29943:43;29960:4;49463:10;26670:164;:::i;29943:43::-;29938:92;;29995:35;;-1:-1:-1;;;29995:35:0;;;;;;;;;;;29938:92;-1:-1:-1;;;;;30047:16:0;;30043:52;;30072:23;;-1:-1:-1;;;30072:23:0;;;;;;;;;;;30043:52;30244:15;30241:160;;;30384:1;30363:19;30356:30;30241:160;-1:-1:-1;;;;;30781:24:0;;;;;;;:18;:24;;;;;;30779:26;;-1:-1:-1;;30779:26:0;;;30850:22;;;;;;;;;30848:24;;-1:-1:-1;30848:24:0;;;24020:11;23995:23;23991:41;23978:63;-1:-1:-1;;;23978:63:0;31143:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;31438:47:0;;:52;;31434:627;;31543:1;31533:11;;31511:19;31666:30;;;:17;:30;;;;;;:35;;31662:384;;31804:13;;31789:11;:28;31785:242;;31951:30;;;;:17;:30;;;;;:52;;;31785:242;31492:569;31434:627;32108:7;32104:2;-1:-1:-1;;;;;32089:27:0;32098:4;-1:-1:-1;;;;;32089:27:0;;;;;;;;;;;32127:42;29483:2694;;;29360:2817;;;:::o;80542:862::-;72180:21;:19;:21::i;:::-;80640:18:::1;:25:::0;80684:10:::1;::::0;::::1;::::0;::::1;;;80676:39;;;::::0;-1:-1:-1;;;80676:39:0;;13832:2:1;80676:39:0::1;::::0;::::1;13814:21:1::0;13871:2;13851:18;;;13844:30;-1:-1:-1;;;13890:18:1;;;13883:46;13946:18;;80676:39:0::1;13630:340:1::0;80676:39:0::1;80734:10;80748:9;80734:23;80726:43;;;::::0;-1:-1:-1;;;80726:43:0;;14177:2:1;80726:43:0::1;::::0;::::1;14159:21:1::0;14216:1;14196:18;;;14189:29;-1:-1:-1;;;14234:18:1;;;14227:37;14281:18;;80726:43:0::1;13975:330:1::0;80726:43:0::1;80797:1;80788:6;:10;80780:39;;;::::0;-1:-1:-1;;;80780:39:0;;14512:2:1;80780:39:0::1;::::0;::::1;14494:21:1::0;14551:2;14531:18;;;14524:30;-1:-1:-1;;;14570:18:1;;;14563:45;14625:18;;80780:39:0::1;14310:339:1::0;80780:39:0::1;80838:17;80846:8;-1:-1:-1::0;;;;;80838:17:0::1;:7;:17::i;:::-;80830:50;;;;-1:-1:-1::0;;;80830:50:0::1;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;80899:18:0;;::::1;;::::0;;;:8:::1;:18;::::0;;;;;::::1;:23:::0;80891:59:::1;;;::::0;-1:-1:-1;;;80891:59:0;;15205:2:1;80891:59:0::1;::::0;::::1;15187:21:1::0;15244:2;15224:18;;;15217:30;-1:-1:-1;;;15263:18:1;;;15256:53;15326:18;;80891:59:0::1;15003:347:1::0;80891:59:0::1;80982:18;;80969:9;:31;;80961:63;;;::::0;-1:-1:-1;;;80961:63:0;;15557:2:1;80961:63:0::1;::::0;::::1;15539:21:1::0;15596:2;15576:18;;;15569:30;-1:-1:-1;;;15615:18:1;;;15608:48;15673:18;;80961:63:0::1;15355:342:1::0;80961:63:0::1;81037:11;81051:14;81058:6;81051;:14::i;:::-;81037:28;;81098:13;81076:18;;:35;;;;;;;:::i;:::-;;;;;;;;81124:22;81149:18;81168:3;81149:23;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;::::1;::::0;::::1;;::::0;;;;;::::1;;;;::::0;::::1;-1:-1:-1::0;;;;;81149:23:0::1;::::0;-1:-1:-1;81211:18:0::1;81230:10;81239:1;81230:6:::0;:10:::1;:::i;:::-;81211:30;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;;;;;81211:30:0::1;81185:18;81204:3;81185:23;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;:56;;;;;-1:-1:-1::0;;;;;81185:56:0::1;;;;;-1:-1:-1::0;;;;;81185:56:0::1;;;;;;81252:18;:24;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;::::1;-1:-1:-1::0;;81252:24:0;;;;;::::1;;::::0;;-1:-1:-1;;;;;81252:24:0::1;::::0;;;::::1;;;::::0;::::1;;::::0;;::::1;::::0;;;;;;;81289:18;;::::1;::::0;;;:8:::1;:18:::0;;;;;;:36;;;;::::1;-1:-1:-1::0;;81289:36:0;;::::1;::::0;::::1;::::0;;81356:12:::1;49463:10:::0;;49376:105;81356:12:::1;-1:-1:-1::0;;;;;81341:55:0::1;;;;;;;;;;;80610:794;;;72224:20:::0;71618:1;72744:7;:22;72561:213;72224:20;80542:862;:::o;82667:102::-;82709:15;82743:18;82736:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;82736:25:0;-1:-1:-1;;;;;82736:25:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;82667:102;:::o;79459:141::-;74795:13;:11;:13::i;:::-;79558:34:::1;::::0;79536:10:::1;::::0;;;79570:21:::1;79558:34:::0;::::1;;;::::0;79507:18:::1;79558:34:::0;79507:18;79558:34;79570:21;79536:10;79558:34;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;79496:104;79459:141::o:0;80096:119::-;74795:13;:11;:13::i;:::-;80174:14:::1;:33:::0;;-1:-1:-1;;;;;80174:33:0;;::::1;-1:-1:-1::0;;;80174:33:0::1;-1:-1:-1::0;;80174:33:0;;::::1;::::0;;;::::1;::::0;;80096:119::o;32273:185::-;32411:39;32428:4;32434:2;32438:7;32411:39;;;;;;;;;;;;:16;:39::i;:::-;32273:185;;;:::o;78638:96::-;74795:13;:11;:13::i;:::-;78706::::1;:20;78722:4:::0;78706:13;:20:::1;:::i;55491:528::-:0;55635:23;55726:8;55701:22;55726:8;-1:-1:-1;;;;;55793:36:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55793:36:0;;-1:-1:-1;;55793:36:0;;;;;;;;;;;;55756:73;;55849:9;55844:125;55865:14;55860:1;:19;55844:125;;55921:32;55941:8;;55950:1;55941:11;;;;;;;:::i;:::-;;;;;;;55921:19;:32::i;:::-;55905:10;55916:1;55905:13;;;;;;;;:::i;:::-;;;;;;;;;;:48;55881:3;;55844:125;;;-1:-1:-1;55990:10:0;55491:528;-1:-1:-1;;;;55491:528:0:o;79608:108::-;74795:13;:11;:13::i;:::-;79678:18:::1;:30:::0;79608:108::o;20631:152::-;20703:7;20746:27;20765:7;20746:18;:27::i;78973:249::-;74795:13;:11;:13::i;:::-;79069:17:::1;79077:8;-1:-1:-1::0;;;;;79069:17:0::1;:7;:17::i;:::-;79061:50;;;::::0;-1:-1:-1;;;79061:50:0;;18635:2:1;79061:50:0::1;::::0;::::1;18617:21:1::0;18674:2;18654:18;;;18647:30;-1:-1:-1;;;18693:18:1;;;18686:50;18753:18;;79061:50:0::1;18433:344:1::0;79061:50:0::1;-1:-1:-1::0;;;;;79130:18:0;;::::1;;::::0;;;:8:::1;:18;::::0;;;;;;;::::1;:23:::0;;79122:54:::1;;;::::0;-1:-1:-1;;;79122:54:0;;18984:2:1;79122:54:0::1;::::0;::::1;18966:21:1::0;19023:2;19003:18;;;18996:30;-1:-1:-1;;;19042:18:1;;;19035:48;19100:18;;79122:54:0::1;18782:342:1::0;79122:54:0::1;-1:-1:-1::0;;;;;79187:16:0;::::1;;::::0;;;:6:::1;:16;::::0;;;;:27:::1;79206:8:::0;79187:16;:27:::1;:::i;80318:103::-:0;74795:13;:11;:13::i;:::-;80389:10:::1;:24:::0;;;::::1;;;;-1:-1:-1::0;;80389:24:0;;::::1;::::0;;;::::1;::::0;;80318:103::o;16173:233::-;16245:7;-1:-1:-1;;;;;16269:19:0;;16265:60;;16297:28;;-1:-1:-1;;;16297:28:0;;;;;;;;;;;16265:60;-1:-1:-1;;;;;;16343:25:0;;;;;:18;:25;;;;;;-1:-1:-1;;;;;16343:55:0;;16173:233::o;75557:103::-;74795:13;:11;:13::i;:::-;75622:30:::1;75649:1;75622:18;:30::i;:::-;75557:103::o:0;84080:94::-;74795:13;:11;:13::i;:::-;84148:10:::1;:18:::0;84080:94::o;59367:900::-;59445:16;59499:19;59533:25;59573:22;59598:16;59608:5;59598:9;:16::i;:::-;59573:41;;59629:25;59671:14;-1:-1:-1;;;;;59657:29:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;59657:29:0;;59629:57;;59701:31;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59701:31:0;78956:1;59747:472;59796:14;59781:11;:29;59747:472;;59848:15;59861:1;59848:12;:15::i;:::-;59836:27;;59886:9;:16;;;59927:8;59882:73;59977:14;;-1:-1:-1;;;;;59977:28:0;;59973:111;;60050:14;;;-1:-1:-1;59973:111:0;60127:5;-1:-1:-1;;;;;60106:26:0;:17;-1:-1:-1;;;;;60106:26:0;;60102:102;;60183:1;60157:8;60166:13;;;;;;60157:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;60102:102;59812:3;;59747:472;;;-1:-1:-1;60240:8:0;;59367:900;-1:-1:-1;;;;;;59367:900:0:o;78528:102::-;74795:13;:11;:13::i;:::-;78597:18:::1;:25;78618:4:::0;78597:18;:25:::1;:::i;83287:266::-:0;83405:28;;-1:-1:-1;;;;;;83422:10:0;19278:2:1;19274:15;19270:53;83405:28:0;;;19258:66:1;83364:4:0;;;;19340:12:1;;83405:28:0;;;;;;;;;;;;83395:39;;;;;;83380:54;;83453:50;83472:12;;83453:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;83486:10:0;;;-1:-1:-1;83498:4:0;;-1:-1:-1;83453:18:0;:50::i;:::-;83445:78;;;;-1:-1:-1;;;83445:78:0;;19565:2:1;83445:78:0;;;19547:21:1;19604:2;19584:18;;;19577:30;-1:-1:-1;;;19623:18:1;;;19616:45;19678:18;;83445:78:0;19363:339:1;83445:78:0;-1:-1:-1;83541:4:0;;83287:266;-1:-1:-1;;;83287:266:0:o;19414:104::-;19470:13;19503:7;19496:14;;;;;:::i;83561:511::-;83639:6;;;;83631:35;;;;-1:-1:-1;;;83631:35:0;;19909:2:1;83631:35:0;;;19891:21:1;19948:2;19928:18;;;19921:30;-1:-1:-1;;;19967:18:1;;;19960:46;20023:18;;83631:35:0;19707:340:1;83631:35:0;83693:10;83685:19;;;;:7;:19;;;;;;;;:28;83677:56;;;;-1:-1:-1;;;83677:56:0;;20254:2:1;83677:56:0;;;20236:21:1;20293:2;20273:18;;;20266:30;-1:-1:-1;;;20312:18:1;;;20305:45;20367:18;;83677:56:0;20052:339:1;83677:56:0;83776:15;;-1:-1:-1;;;83776:15:0;;-1:-1:-1;;;;;83776:15:0;83753:14;15465:7;15656:13;-1:-1:-1;;15656:31:0;;15410:296;83753:14;:18;;83770:1;83753:18;:::i;:::-;83752:39;;83744:66;;;;-1:-1:-1;;;83744:66:0;;20598:2:1;83744:66:0;;;20580:21:1;20637:2;20617:18;;;20610:30;-1:-1:-1;;;20656:18:1;;;20649:44;20710:18;;83744:66:0;20396:338:1;83744:66:0;83829:10;83821:19;;;;:7;:19;;;;;;;;:26;;-1:-1:-1;;83821:26:0;83843:4;83821:26;;;83883:28;83821:19;;83883:28;;83829:10;;83883:28;19278:2:1;19274:15;;;;-1:-1:-1;;;;;;19270:53:1;19258:66;;19349:2;19340:12;;19129:229;83883:28:0;;;;;;;;;;;;;83873:39;;;;;;83858:54;;83931:49;83950:11;;83931:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;83963:10:0;;;-1:-1:-1;83975:4:0;;-1:-1:-1;83931:18:0;:49::i;:::-;:57;;83984:4;83931:57;83923:90;;;;-1:-1:-1;;;83923:90:0;;20941:2:1;83923:90:0;;;20923:21:1;20980:2;20960:18;;;20953:30;-1:-1:-1;;;20999:18:1;;;20992:50;21059:18;;83923:90:0;20739:344:1;83923:90:0;84026:26;49463:10;84050:1;84026:9;:26::i;56407:2513::-;56550:16;56617:4;56608:5;:13;56604:45;;56630:19;;-1:-1:-1;;;56630:19:0;;;;;;;;;;;56604:45;56664:19;56698:17;56718:14;14731:7;14758:13;;14676:103;56718:14;56698:34;-1:-1:-1;78956:1:0;56810:5;:23;56806:87;;;78956:1;56854:23;;56806:87;56969:9;56962:4;:16;56958:73;;;57006:9;56999:16;;56958:73;57045:25;57073:16;57083:5;57073:9;:16::i;:::-;57045:44;;57267:4;57259:5;:12;57255:278;;;57314:12;;;57349:31;;;57345:111;;;57425:11;57405:31;;57345:111;57273:198;57255:278;;;-1:-1:-1;57516:1:0;57255:278;57547:25;57589:17;-1:-1:-1;;;;;57575:32:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;57575:32:0;;57547:60;;57626:17;57647:1;57626:22;57622:78;;57676:8;-1:-1:-1;57669:15:0;;-1:-1:-1;;;57669:15:0;57622:78;57844:31;57878:26;57898:5;57878:19;:26::i;:::-;57844:60;;57919:25;58164:9;:16;;;58159:92;;-1:-1:-1;58221:14:0;;58159:92;58282:5;58265:478;58294:4;58289:1;:9;;:45;;;;;58317:17;58302:11;:32;;58289:45;58265:478;;;58372:15;58385:1;58372:12;:15::i;:::-;58360:27;;58410:9;:16;;;58451:8;58406:73;58501:14;;-1:-1:-1;;;;;58501:28:0;;58497:111;;58574:14;;;-1:-1:-1;58497:111:0;58651:5;-1:-1:-1;;;;;58630:26:0;:17;-1:-1:-1;;;;;58630:26:0;;58626:102;;58707:1;58681:8;58690:13;;;;;;58681:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;58626:102;58336:3;;58265:478;;;-1:-1:-1;;;58828:29:0;;;-1:-1:-1;58835:8:0;;-1:-1:-1;;56407:2513:0;;;;;;:::o;26279:234::-;49463:10;26374:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;26374:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;26374:60:0;;;;;;;;;;26450:55;;540:41:1;;;26374:49:0;;49463:10;26450:55;;513:18:1;26450:55:0;;;;;;;26279:234;;:::o;33056:399::-;33223:31;33236:4;33242:2;33246:7;33223:12;:31::i;:::-;-1:-1:-1;;;;;33269:14:0;;;:19;33265:183;;33308:56;33339:4;33345:2;33349:7;33358:5;33308:30;:56::i;:::-;33303:145;;33392:40;;-1:-1:-1;;;33392:40:0;;;;;;;;;;;33303:145;33056:399;;;;:::o;54904:428::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;78956:1:0;55068:7;:25;:54;;;-1:-1:-1;14731:7:0;14758:13;55097:7;:25;;55068:54;55064:103;;;55146:9;54904:428;-1:-1:-1;;54904:428:0:o;55064:103::-;55189:21;55202:7;55189:12;:21::i;:::-;55177:33;;55225:9;:16;;;55221:65;;;55265:9;54904:428;-1:-1:-1;;54904:428:0:o;55221:65::-;55303:21;55316:7;55303:12;:21::i;81498:801::-;72180:21;:19;:21::i;:::-;81600:10:::1;::::0;::::1;::::0;::::1;;;81592:44;;;::::0;-1:-1:-1;;;81592:44:0;;21290:2:1;81592:44:0::1;::::0;::::1;21272:21:1::0;21329:2;21309:18;;;21302:30;-1:-1:-1;;;21348:18:1;;;21341:51;21409:18;;81592:44:0::1;21088:345:1::0;81592:44:0::1;81655:21;81663:12;-1:-1:-1::0;;;;;81655:21:0::1;:7;:21::i;:::-;81647:54;;;;-1:-1:-1::0;;;81647:54:0::1;;;;;;;:::i;:::-;81720:19;81728:10;-1:-1:-1::0;;;;;81720:19:0::1;:7;:19::i;:::-;81712:52;;;;-1:-1:-1::0;;;81712:52:0::1;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;81783:22:0;;::::1;;::::0;;;:8:::1;:22;::::0;;;;;;;::::1;:27:::0;;81775:58:::1;;;::::0;-1:-1:-1;;;81775:58:0;;21640:2:1;81775:58:0::1;::::0;::::1;21622:21:1::0;21679:2;21659:18;;;21652:30;-1:-1:-1;;;21698:18:1;;;21691:48;21756:18;;81775:58:0::1;21438:342:1::0;81775:58:0::1;-1:-1:-1::0;;;;;81852:20:0;;::::1;;::::0;;;:8:::1;:20;::::0;;;;;::::1;:25:::0;81844:61:::1;;;::::0;-1:-1:-1;;;81844:61:0;;15205:2:1;81844:61:0::1;::::0;::::1;15187:21:1::0;15244:2;15224:18;;;15217:30;-1:-1:-1;;;15263:18:1;;;15256:53;15326:18;;81844:61:0::1;15003:347:1::0;81844:61:0::1;81918:18;81939:27;81953:12;-1:-1:-1::0;;;;;81939:27:0::1;:13;:27::i;:::-;81918:48:::0;-1:-1:-1;49463:10:0;-1:-1:-1;;;;;81986:26:0;::::1;;81977:49;;;::::0;-1:-1:-1;;;81977:49:0;;21987:2:1;81977:49:0::1;::::0;::::1;21969:21:1::0;22026:1;22006:18;;;21999:29;-1:-1:-1;;;22044:18:1;;;22037:39;22093:18;;81977:49:0::1;21785:332:1::0;81977:49:0::1;-1:-1:-1::0;;;;;82056:22:0;;::::1;82039:14;82056:22:::0;;;:8:::1;:22;::::0;;;;;;;;;-1:-1:-1;;82089:29:0;::::1;::::0;;;82136:6:::1;:20:::0;;;;;82056:22;::::1;::::0;82129:27:::1;::::0;::::1;:::i;:::-;-1:-1:-1::0;;;;;82174:18:0;::::1;;::::0;;;:6:::1;:18;::::0;;;;82167:25:::1;::::0;::::1;:::i;:::-;-1:-1:-1::0;;;;;82203:20:0;;::::1;;::::0;;;:8:::1;:20;::::0;;;;;:30;;-1:-1:-1;;82203:30:0::1;::::0;;::::1;;::::0;;82250:41;82203:20;;82250:41;::::1;::::0;::::1;::::0;82203:20;82250:41:::1;81581:718;;72224:20:::0;71618:1;72744:7;:22;72561:213;82778:226;82839:17;82847:8;-1:-1:-1;;;;;82839:17:0;:7;:17::i;:::-;82831:50;;;;-1:-1:-1;;;82831:50:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;82900:18:0;;;;;;:8;:18;;;;;;:23;82892:46;;;;-1:-1:-1;;;82892:46:0;;22324:2:1;82892:46:0;;;22306:21:1;22363:2;22343:18;;;22336:30;-1:-1:-1;;;22382:18:1;;;22375:40;22432:18;;82892:46:0;22122:334:1;82892:46:0;82972:24;82979:16;82972:6;:24::i;:::-;-1:-1:-1;;;;;82951:18:0;;;;;;;:8;:18;;;;;:45;82778:226::o;77981:539::-;-1:-1:-1;;;;;78098:26:0;;;78127:1;78098:26;;;:8;:26;;;;;;78066:13;;78098:26;:30;78094:375;;-1:-1:-1;;;;;78173:24:0;;78145:25;78173:24;;;:6;:24;;;;;78145:52;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;78244:1;78222:11;78216:25;:29;78212:246;;;78273:11;77981:539;-1:-1:-1;;77981:539:0:o;78212:246::-;78338:18;78332:32;;;;;:::i;:::-;;;78368:1;78332:37;:110;;;;;;;;;;;;;;;;;78396:18;78416:19;78426:8;78416:9;:19::i;:::-;78379:57;;;;;;;;;:::i;:::-;;;;;;;;;;;;;78325:117;77981:539;-1:-1:-1;;;77981:539:0:o;78094:375::-;78488:24;78503:8;78488:14;:24::i;79968:120::-;74795:13;:11;:13::i;:::-;80048:12:::1;:32:::0;;-1:-1:-1;;;;;80048:32:0;;::::1;-1:-1:-1::0;;;80048:32:0::1;-1:-1:-1::0;;;;80048:32:0;;::::1;::::0;;;::::1;::::0;;79968:120::o;75815:201::-;74795:13;:11;:13::i;:::-;-1:-1:-1;;;;;75904:22:0;::::1;75896:73;;;::::0;-1:-1:-1;;;75896:73:0;;23688:2:1;75896:73:0::1;::::0;::::1;23670:21:1::0;23727:2;23707:18;;;23700:30;23766:34;23746:18;;;23739:62;-1:-1:-1;;;23817:18:1;;;23810:36;23863:19;;75896:73:0::1;23486:402:1::0;75896:73:0::1;75980:28;75999:8;75980:18;:28::i;79724:236::-:0;74795:13;:11;:13::i;:::-;79820:5:::1;79806:10;-1:-1:-1::0;;;;;79806:19:0::1;;;79798:58;;;::::0;-1:-1:-1;;;79798:58:0;;24095:2:1;79798:58:0::1;::::0;::::1;24077:21:1::0;24134:2;24114:18;;;24107:30;24173:28;24153:18;;;24146:56;24219:18;;79798:58:0::1;23893:350:1::0;79798:58:0::1;15465:7:::0;15656:13;-1:-1:-1;;15656:31:0;79875:10:::1;-1:-1:-1::0;;;;;79875:28:0::1;;;79867:51;;;::::0;-1:-1:-1;;;79867:51:0;;24450:2:1;79867:51:0::1;::::0;::::1;24432:21:1::0;24489:1;24469:18;;;24462:29;-1:-1:-1;;;24507:18:1;;;24500:39;24556:18;;79867:51:0::1;24248:332:1::0;79867:51:0::1;79929:10;:23:::0;;-1:-1:-1;;79929:23:0::1;-1:-1:-1::0;;;;;79929:23:0;;;::::1;::::0;;;::::1;::::0;;79724:236::o;82411:245::-;74795:13;:11;:13::i;:::-;82481:25:::1;82488:18;;82481:25;:::i;:::-;82526:14:::0;;82517:6:::1;82551:98;82572:1;82568;:5;82551:98;;;82594:18;82625:7;82633:1;82625:10;;;;;;;;:::i;:::-;;::::0;;::::1;::::0;;;;;;;82594:43;;::::1;::::0;::::1;::::0;;-1:-1:-1;82594:43:0;;;;;;;::::1;::::0;::::1;;::::0;;;;;;::::1;;;;-1:-1:-1::0;;;;;82594:43:0;;::::1;;::::0;;::::1;::::0;;;::::1;::::0;;;::::1;;::::0;;82575:3;::::1;::::0;::::1;:::i;:::-;;;;82551:98;;77475:498:::0;77538:6;;;;77530:35;;;;-1:-1:-1;;;77530:35:0;;19909:2:1;77530:35:0;;;19891:21:1;19948:2;19928:18;;;19921:30;-1:-1:-1;;;19967:18:1;;;19960:46;20023:18;;77530:35:0;19707:340:1;77530:35:0;77584:10;77598:9;77584:23;77576:43;;;;-1:-1:-1;;;77576:43:0;;14177:2:1;77576:43:0;;;14159:21:1;14216:1;14196:18;;;14189:29;-1:-1:-1;;;14234:18:1;;;14227:37;14281:18;;77576:43:0;13975:330:1;77576:43:0;77649:12;;-1:-1:-1;;;;;;;;77649:12:0;;;;;77638:23;;;;77630:53;;;;-1:-1:-1;;;77630:53:0;;24927:2:1;77630:53:0;;;24909:21:1;24966:2;24946:18;;;24939:30;-1:-1:-1;;;24985:18:1;;;24978:47;25042:18;;77630:53:0;24725:341:1;77630:53:0;77713:1;77702:8;-1:-1:-1;;;;;77702:12:0;;77694:34;;;;-1:-1:-1;;;77694:34:0;;25273:2:1;77694:34:0;;;25255:21:1;25312:1;25292:18;;;25285:29;-1:-1:-1;;;25330:18:1;;;25323:39;25379:18;;77694:34:0;25071:332:1;77694:34:0;77790:14;;-1:-1:-1;;;77790:14:0;;-1:-1:-1;;;;;77790:14:0;;;;77748:38;;:27;49463:10;-1:-1:-1;;;;;16577:25:0;16549:7;16577:25;;;:18;:25;;10470:2;16577:25;;;;;:50;;-1:-1:-1;;;;;16576:82:0;;16488:178;77748:27;:38;;;;:::i;:::-;77747:57;77739:89;;;;-1:-1:-1;;;77739:89:0;;25610:2:1;77739:89:0;;;25592:21:1;25649:2;25629:18;;;25622:30;-1:-1:-1;;;25668:18:1;;;25661:49;25727:18;;77739:89:0;25408:343:1;77739:89:0;77878:10;;-1:-1:-1;;;;;77878:10:0;;;;77848:25;;:14;15465:7;15656:13;-1:-1:-1;;15656:31:0;;15410:296;77848:14;:25;;;;:::i;:::-;77847:41;;77839:68;;;;-1:-1:-1;;;77839:68:0;;20598:2:1;77839:68:0;;;20580:21:1;20637:2;20617:18;;;20610:30;-1:-1:-1;;;20656:18:1;;;20649:44;20710:18;;77839:68:0;20396:338:1;77839:68:0;77920:33;49463:10;77944:8;-1:-1:-1;;;;;77920:33:0;:9;:33::i;75074:132::-;74982:6;;-1:-1:-1;;;;;74982:6:0;49463:10;75138:23;75130:68;;;;-1:-1:-1;;;75130:68:0;;25958:2:1;75130:68:0;;;25940:21:1;;;25977:18;;;25970:30;26036:34;26016:18;;;26009:62;26088:18;;75130:68:0;25756:356:1;27092:282:0;27157:4;27213:7;78956:1;27194:26;;:66;;;;;27247:13;;27237:7;:23;27194:66;:153;;;;-1:-1:-1;;27298:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;27298:44:0;:49;;27092:282::o;21786:1275::-;21853:7;21888;;78956:1;21937:23;21933:1061;;21990:13;;21983:4;:20;21979:1015;;;22028:14;22045:23;;;:17;:23;;;;;;;-1:-1:-1;;;22134:24:0;;:29;;22130:845;;22799:113;22806:6;22816:1;22806:11;22799:113;;-1:-1:-1;;;22877:6:0;22859:25;;;;:17;:25;;;;;;22799:113;;22130:845;22005:989;21979:1015;23022:31;;-1:-1:-1;;;23022:31:0;;;;;;;;;;;72260:293;71662:1;72394:7;;:19;72386:63;;;;-1:-1:-1;;;72386:63:0;;26319:2:1;72386:63:0;;;26301:21:1;26358:2;26338:18;;;26331:30;26397:33;26377:18;;;26370:61;26448:18;;72386:63:0;26117:355:1;72386:63:0;71662:1;72527:7;:18;72260:293::o;79254:197::-;79296:7;79318:6;;79316:8;;;;;:::i;:::-;;;;-1:-1:-1;79378:6:0;;79361:54;;79335:8;;79361:54;;79386:16;;79404:10;;79361:54;;26662:19:1;;;26706:2;26697:12;;26690:28;;;;26756:2;26752:15;-1:-1:-1;;;;;;26748:53:1;26743:2;26734:12;;26727:75;26827:2;26818:12;;26477:359;79361:54:0;;;;-1:-1:-1;;79361:54:0;;;;;;;;;79351:65;;79361:54;79351:65;;;;;-1:-1:-1;79435:8:0;79441:2;79351:65;79435:8;:::i;76176:191::-;76269:6;;;-1:-1:-1;;;;;76286:17:0;;;-1:-1:-1;;;;;;76286:17:0;;;;;;;76319:40;;76269:6;;;76286:17;76269:6;;76319:40;;76250:16;;76319:40;76239:128;76176:191;:::o;21234:161::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21362:24:0;;;;:17;:24;;;;;;21343:44;;:18;:44::i;61496:190::-;61621:4;61674;61645:25;61658:5;61665:4;61645:12;:25::i;:::-;:33;;61496:190;-1:-1:-1;;;;61496:190:0:o;43208:112::-;43285:27;43295:2;43299:8;43285:27;;;;;;;;;;;;:9;:27::i;35539:716::-;35723:88;;-1:-1:-1;;;35723:88:0;;35702:4;;-1:-1:-1;;;;;35723:45:0;;;;;:88;;49463:10;;35790:4;;35796:7;;35805:5;;35723:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35723:88:0;;;;;;;;-1:-1:-1;;35723:88:0;;;;;;;;;;;;:::i;:::-;;;35719:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36006:6;:13;36023:1;36006:18;36002:235;;36052:40;;-1:-1:-1;;;36052:40:0;;;;;;;;;;;36002:235;36195:6;36189:13;36180:6;36176:2;36172:15;36165:38;35719:529;-1:-1:-1;;;;;;35882:64:0;-1:-1:-1;;;35882:64:0;;-1:-1:-1;35719:529:0;35539:716;;;;;;:::o;20972:166::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21083:47:0;21102:27;21121:7;21102:18;:27::i;:::-;21083:18;:47::i;49583:1745::-;49648:17;50082:4;50075;50069:11;50065:22;50174:1;50168:4;50161:15;50249:4;50246:1;50242:12;50235:19;;;50331:1;50326:3;50319:14;50435:3;50674:5;50656:428;50722:1;50717:3;50713:11;50706:18;;50893:2;50887:4;50883:13;50879:2;50875:22;50870:3;50862:36;50987:2;50977:13;;51044:25;50656:428;51044:25;-1:-1:-1;51114:13:0;;;-1:-1:-1;;51229:14:0;;;51291:19;;;51229:14;49583:1745;-1:-1:-1;49583:1745:0:o;19624:318::-;19697:13;19728:16;19736:7;19728;:16::i;:::-;19723:59;;19753:29;;-1:-1:-1;;;19753:29:0;;;;;;;;;;;19723:59;19795:21;19819:10;:8;:10::i;:::-;19795:34;;19853:7;19847:21;19872:1;19847:26;:87;;;;;;;;;;;;;;;;;19900:7;19909:18;19919:7;19909:9;:18::i;:::-;19883:45;;;;;;;;;:::i;23160:366::-;-1:-1:-1;;;;;;;;;;;;;23270:41:0;;;;10991:3;23356:33;;;-1:-1:-1;;;;;23322:68:0;-1:-1:-1;;;23322:68:0;-1:-1:-1;;;23420:24:0;;:29;;-1:-1:-1;;;23401:48:0;;;;11512:3;23489:28;;;;-1:-1:-1;;;23460:58:0;-1:-1:-1;23160:366:0:o;62363:296::-;62446:7;62489:4;62446:7;62504:118;62528:5;:12;62524:1;:16;62504:118;;;62577:33;62587:12;62601:5;62607:1;62601:8;;;;;;;;:::i;:::-;;;;;;;62577:9;:33::i;:::-;62562:48;-1:-1:-1;62542:3:0;;;;:::i;:::-;;;;62504:118;;;-1:-1:-1;62639:12:0;62363:296;-1:-1:-1;;;62363:296:0:o;42435:689::-;42566:19;42572:2;42576:8;42566:5;:19::i;:::-;-1:-1:-1;;;;;42627:14:0;;;:19;42623:483;;42667:11;42681:13;42729:14;;;42762:233;42793:62;42832:1;42836:2;42840:7;;;;;;42849:5;42793:30;:62::i;:::-;42788:167;;42891:40;;-1:-1:-1;;;42891:40:0;;;;;;;;;;;42788:167;42990:3;42982:5;:11;42762:233;;43077:3;43060:13;;:20;43056:34;;43082:8;;;43056:34;42648:458;;42435:689;;;:::o;78742:114::-;78802:13;78835;78828:20;;;;;:::i;69403:149::-;69466:7;69497:1;69493;:5;:51;;69628:13;69722:15;;;69758:4;69751:15;;;69805:4;69789:21;;69493:51;;;-1:-1:-1;69628:13:0;69722:15;;;69758:4;69751:15;69805:4;69789:21;;;69403:149::o;36717:2966::-;36790:20;36813:13;;;36841;;;36837:44;;36863:18;;-1:-1:-1;;;36863:18:0;;;;;;;;;;;36837:44;-1:-1:-1;;;;;37369:22:0;;;;;;:18;:22;;;;10470:2;37369:22;;;:71;;37407:32;37395:45;;37369:71;;;37683:31;;;:17;:31;;;;;-1:-1:-1;24451:15:0;;24425:24;24421:46;24020:11;23995:23;23991:41;23988:52;23978:63;;37683:173;;37918:23;;;;37683:31;;37369:22;;38683:25;37369:22;;38536:335;39197:1;39183:12;39179:20;39137:346;39238:3;39229:7;39226:16;39137:346;;39456:7;39446:8;39443:1;39416:25;39413:1;39410;39405:59;39291:1;39278:15;39137:346;;;39141:77;39516:8;39528:1;39516:13;39512:45;;39538:19;;-1:-1:-1;;;39538:19:0;;;;;;;;;;;39512:45;39574:13;:19;-1:-1:-1;32273:185:0;;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;14:131:1:-;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:171::-;659:20;;-1:-1:-1;;;;;708:30:1;;698:41;;688:69;;753:1;750;743:12;688:69;592:171;;;:::o;768:184::-;826:6;879:2;867:9;858:7;854:23;850:32;847:52;;;895:1;892;885:12;847:52;918:28;936:9;918:28;:::i;957:250::-;1042:1;1052:113;1066:6;1063:1;1060:13;1052:113;;;1142:11;;;1136:18;1123:11;;;1116:39;1088:2;1081:10;1052:113;;;-1:-1:-1;;1199:1:1;1181:16;;1174:27;957:250::o;1212:271::-;1254:3;1292:5;1286:12;1319:6;1314:3;1307:19;1335:76;1404:6;1397:4;1392:3;1388:14;1381:4;1374:5;1370:16;1335:76;:::i;:::-;1465:2;1444:15;-1:-1:-1;;1440:29:1;1431:39;;;;1472:4;1427:50;;1212:271;-1:-1:-1;;1212:271:1:o;1488:220::-;1637:2;1626:9;1619:21;1600:4;1657:45;1698:2;1687:9;1683:18;1675:6;1657:45;:::i;1713:180::-;1772:6;1825:2;1813:9;1804:7;1800:23;1796:32;1793:52;;;1841:1;1838;1831:12;1793:52;-1:-1:-1;1864:23:1;;1713:180;-1:-1:-1;1713:180:1:o;2106:160::-;2171:20;;2227:13;;2220:21;2210:32;;2200:60;;2256:1;2253;2246:12;2271:180;2327:6;2380:2;2368:9;2359:7;2355:23;2351:32;2348:52;;;2396:1;2393;2386:12;2348:52;2419:26;2435:9;2419:26;:::i;2456:173::-;2524:20;;-1:-1:-1;;;;;2573:31:1;;2563:42;;2553:70;;2619:1;2616;2609:12;2634:254;2702:6;2710;2763:2;2751:9;2742:7;2738:23;2734:32;2731:52;;;2779:1;2776;2769:12;2731:52;2802:29;2821:9;2802:29;:::i;:::-;2792:39;2878:2;2863:18;;;;2850:32;;-1:-1:-1;;;2634:254:1:o;3075:328::-;3152:6;3160;3168;3221:2;3209:9;3200:7;3196:23;3192:32;3189:52;;;3237:1;3234;3227:12;3189:52;3260:29;3279:9;3260:29;:::i;:::-;3250:39;;3308:38;3342:2;3331:9;3327:18;3308:38;:::i;:::-;3298:48;;3393:2;3382:9;3378:18;3365:32;3355:42;;3075:328;;;;;:::o;3590:655::-;3759:2;3811:21;;;3881:13;;3784:18;;;3903:22;;;3730:4;;3759:2;3982:15;;;;3956:2;3941:18;;;3730:4;4025:194;4039:6;4036:1;4033:13;4025:194;;;4104:13;;-1:-1:-1;;;;;4100:38:1;4088:51;;4194:15;;;;4159:12;;;;4061:1;4054:9;4025:194;;4250:127;4311:10;4306:3;4302:20;4299:1;4292:31;4342:4;4339:1;4332:15;4366:4;4363:1;4356:15;4382:275;4453:2;4447:9;4518:2;4499:13;;-1:-1:-1;;4495:27:1;4483:40;;-1:-1:-1;;;;;4538:34:1;;4574:22;;;4535:62;4532:88;;;4600:18;;:::i;:::-;4636:2;4629:22;4382:275;;-1:-1:-1;4382:275:1:o;4662:407::-;4727:5;-1:-1:-1;;;;;4753:6:1;4750:30;4747:56;;;4783:18;;:::i;:::-;4821:57;4866:2;4845:15;;-1:-1:-1;;4841:29:1;4872:4;4837:40;4821:57;:::i;:::-;4812:66;;4901:6;4894:5;4887:21;4941:3;4932:6;4927:3;4923:16;4920:25;4917:45;;;4958:1;4955;4948:12;4917:45;5007:6;5002:3;4995:4;4988:5;4984:16;4971:43;5061:1;5054:4;5045:6;5038:5;5034:18;5030:29;5023:40;4662:407;;;;;:::o;5074:222::-;5117:5;5170:3;5163:4;5155:6;5151:17;5147:27;5137:55;;5188:1;5185;5178:12;5137:55;5210:80;5286:3;5277:6;5264:20;5257:4;5249:6;5245:17;5210:80;:::i;5301:322::-;5370:6;5423:2;5411:9;5402:7;5398:23;5394:32;5391:52;;;5439:1;5436;5429:12;5391:52;5479:9;5466:23;-1:-1:-1;;;;;5504:6:1;5501:30;5498:50;;;5544:1;5541;5534:12;5498:50;5567;5609:7;5600:6;5589:9;5585:22;5567:50;:::i;5628:367::-;5691:8;5701:6;5755:3;5748:4;5740:6;5736:17;5732:27;5722:55;;5773:1;5770;5763:12;5722:55;-1:-1:-1;5796:20:1;;-1:-1:-1;;;;;5828:30:1;;5825:50;;;5871:1;5868;5861:12;5825:50;5908:4;5900:6;5896:17;5884:29;;5968:3;5961:4;5951:6;5948:1;5944:14;5936:6;5932:27;5928:38;5925:47;5922:67;;;5985:1;5982;5975:12;5922:67;5628:367;;;;;:::o;6000:437::-;6086:6;6094;6147:2;6135:9;6126:7;6122:23;6118:32;6115:52;;;6163:1;6160;6153:12;6115:52;6203:9;6190:23;-1:-1:-1;;;;;6228:6:1;6225:30;6222:50;;;6268:1;6265;6258:12;6222:50;6307:70;6369:7;6360:6;6349:9;6345:22;6307:70;:::i;:::-;6396:8;;6281:96;;-1:-1:-1;6000:437:1;-1:-1:-1;;;;6000:437:1:o;6442:349::-;6526:12;;-1:-1:-1;;;;;6522:38:1;6510:51;;6614:4;6603:16;;;6597:23;-1:-1:-1;;;;;6593:48:1;6577:14;;;6570:72;6705:4;6694:16;;;6688:23;6681:31;6674:39;6658:14;;;6651:63;6767:4;6756:16;;;6750:23;6775:8;6746:38;6730:14;;6723:62;6442:349::o;6796:720::-;7027:2;7079:21;;;7149:13;;7052:18;;;7171:22;;;6998:4;;7027:2;7250:15;;;;7224:2;7209:18;;;6998:4;7293:197;7307:6;7304:1;7301:13;7293:197;;;7356:52;7404:3;7395:6;7389:13;7356:52;:::i;:::-;7465:15;;;;7437:4;7428:14;;;;;7329:1;7322:9;7293:197;;7521:394;7598:6;7606;7659:2;7647:9;7638:7;7634:23;7630:32;7627:52;;;7675:1;7672;7665:12;7627:52;7698:28;7716:9;7698:28;:::i;:::-;7688:38;;7777:2;7766:9;7762:18;7749:32;-1:-1:-1;;;;;7796:6:1;7793:30;7790:50;;;7836:1;7833;7826:12;7790:50;7859;7901:7;7892:6;7881:9;7877:22;7859:50;:::i;:::-;7849:60;;;7521:394;;;;;:::o;7920:186::-;7979:6;8032:2;8020:9;8011:7;8007:23;8003:32;8000:52;;;8048:1;8045;8038:12;8000:52;8071:29;8090:9;8071:29;:::i;8296:632::-;8467:2;8519:21;;;8589:13;;8492:18;;;8611:22;;;8438:4;;8467:2;8690:15;;;;8664:2;8649:18;;;8438:4;8733:169;8747:6;8744:1;8741:13;8733:169;;;8808:13;;8796:26;;8877:15;;;;8842:12;;;;8769:1;8762:9;8733:169;;9375:322;9452:6;9460;9468;9521:2;9509:9;9500:7;9496:23;9492:32;9489:52;;;9537:1;9534;9527:12;9489:52;9560:29;9579:9;9560:29;:::i;:::-;9550:39;9636:2;9621:18;;9608:32;;-1:-1:-1;9687:2:1;9672:18;;;9659:32;;9375:322;-1:-1:-1;;;9375:322:1:o;9702:254::-;9767:6;9775;9828:2;9816:9;9807:7;9803:23;9799:32;9796:52;;;9844:1;9841;9834:12;9796:52;9867:29;9886:9;9867:29;:::i;:::-;9857:39;;9915:35;9946:2;9935:9;9931:18;9915:35;:::i;:::-;9905:45;;9702:254;;;;;:::o;10166:667::-;10261:6;10269;10277;10285;10338:3;10326:9;10317:7;10313:23;10309:33;10306:53;;;10355:1;10352;10345:12;10306:53;10378:29;10397:9;10378:29;:::i;:::-;10368:39;;10426:38;10460:2;10449:9;10445:18;10426:38;:::i;:::-;10416:48;;10511:2;10500:9;10496:18;10483:32;10473:42;;10566:2;10555:9;10551:18;10538:32;-1:-1:-1;;;;;10585:6:1;10582:30;10579:50;;;10625:1;10622;10615:12;10579:50;10648:22;;10701:4;10693:13;;10689:27;-1:-1:-1;10679:55:1;;10730:1;10727;10720:12;10679:55;10753:74;10819:7;10814:2;10801:16;10796:2;10792;10788:11;10753:74;:::i;:::-;10743:84;;;10166:667;;;;;;;:::o;10838:264::-;11032:3;11017:19;;11045:51;11021:9;11078:6;11045:51;:::i;11107:256::-;11173:6;11181;11234:2;11222:9;11213:7;11209:23;11205:32;11202:52;;;11250:1;11247;11240:12;11202:52;11273:28;11291:9;11273:28;:::i;:::-;11263:38;;11320:37;11353:2;11342:9;11338:18;11320:37;:::i;11368:260::-;11436:6;11444;11497:2;11485:9;11476:7;11472:23;11468:32;11465:52;;;11513:1;11510;11503:12;11465:52;11536:29;11555:9;11536:29;:::i;:::-;11526:39;;11584:38;11618:2;11607:9;11603:18;11584:38;:::i;11633:946::-;11717:6;11748:2;11791;11779:9;11770:7;11766:23;11762:32;11759:52;;;11807:1;11804;11797:12;11759:52;11847:9;11834:23;-1:-1:-1;;;;;11917:2:1;11909:6;11906:14;11903:34;;;11933:1;11930;11923:12;11903:34;11971:6;11960:9;11956:22;11946:32;;12016:7;12009:4;12005:2;12001:13;11997:27;11987:55;;12038:1;12035;12028:12;11987:55;12074:2;12061:16;12096:2;12092;12089:10;12086:36;;;12102:18;;:::i;:::-;12148:2;12145:1;12141:10;12131:20;;12171:28;12195:2;12191;12187:11;12171:28;:::i;:::-;12233:15;;;12303:11;;;12299:20;;;12264:12;;;;12331:19;;;12328:39;;;12363:1;12360;12353:12;12328:39;12387:11;;;;12407:142;12423:6;12418:3;12415:15;12407:142;;;12489:17;;12477:30;;12440:12;;;;12527;;;;12407:142;;;12568:5;11633:946;-1:-1:-1;;;;;;;;11633:946:1:o;12584:127::-;12645:10;12640:3;12636:20;12633:1;12626:31;12676:4;12673:1;12666:15;12700:4;12697:1;12690:15;12716:180;-1:-1:-1;;;;;12821:10:1;;;12833;;;12817:27;;12856:11;;;12853:37;;;12870:18;;:::i;:::-;12853:37;12716:180;;;;:::o;13245:380::-;13324:1;13320:12;;;;13367;;;13388:61;;13442:4;13434:6;13430:17;13420:27;;13388:61;13495:2;13487:6;13484:14;13464:18;13461:38;13458:161;;13541:10;13536:3;13532:20;13529:1;13522:31;13576:4;13573:1;13566:15;13604:4;13601:1;13594:15;13458:161;;13245:380;;;:::o;14654:344::-;14856:2;14838:21;;;14895:2;14875:18;;;14868:30;-1:-1:-1;;;14929:2:1;14914:18;;14907:50;14989:2;14974:18;;14654:344::o;15702:125::-;15767:9;;;15788:10;;;15785:36;;;15801:18;;:::i;15832:127::-;15893:10;15888:3;15884:20;15881:1;15874:31;15924:4;15921:1;15914:15;15948:4;15945:1;15938:15;15964:128;16031:9;;;16052:11;;;16049:37;;;16066:18;;:::i;16097:127::-;16158:10;16153:3;16149:20;16146:1;16139:31;16189:4;16186:1;16179:15;16213:4;16210:1;16203:15;16355:545;16457:2;16452:3;16449:11;16446:448;;;16493:1;16518:5;16514:2;16507:17;16563:4;16559:2;16549:19;16633:2;16621:10;16617:19;16614:1;16610:27;16604:4;16600:38;16669:4;16657:10;16654:20;16651:47;;;-1:-1:-1;16692:4:1;16651:47;16747:2;16742:3;16738:12;16735:1;16731:20;16725:4;16721:31;16711:41;;16802:82;16820:2;16813:5;16810:13;16802:82;;;16865:17;;;16846:1;16835:13;16802:82;;17076:1352;17202:3;17196:10;-1:-1:-1;;;;;17221:6:1;17218:30;17215:56;;;17251:18;;:::i;:::-;17280:97;17370:6;17330:38;17362:4;17356:11;17330:38;:::i;:::-;17324:4;17280:97;:::i;:::-;17432:4;;17496:2;17485:14;;17513:1;17508:663;;;;18215:1;18232:6;18229:89;;;-1:-1:-1;18284:19:1;;;18278:26;18229:89;-1:-1:-1;;17033:1:1;17029:11;;;17025:24;17021:29;17011:40;17057:1;17053:11;;;17008:57;18331:81;;17478:944;;17508:663;16302:1;16295:14;;;16339:4;16326:18;;-1:-1:-1;;17544:20:1;;;17662:236;17676:7;17673:1;17670:14;17662:236;;;17765:19;;;17759:26;17744:42;;17857:27;;;;17825:1;17813:14;;;;17692:19;;17662:236;;;17666:3;17926:6;17917:7;17914:19;17911:201;;;17987:19;;;17981:26;-1:-1:-1;;18070:1:1;18066:14;;;18082:3;18062:24;18058:37;18054:42;18039:58;18024:74;;17911:201;-1:-1:-1;;;;;18158:1:1;18142:14;;;18138:22;18125:36;;-1:-1:-1;17076:1352:1:o;22461:1020::-;22637:3;22666:1;22699:6;22693:13;22729:36;22755:9;22729:36;:::i;:::-;22784:1;22801:18;;;22828:133;;;;22975:1;22970:356;;;;22794:532;;22828:133;-1:-1:-1;;22861:24:1;;22849:37;;22934:14;;22927:22;22915:35;;22906:45;;;-1:-1:-1;22828:133:1;;22970:356;23001:6;22998:1;22991:17;23031:4;23076:2;23073:1;23063:16;23101:1;23115:165;23129:6;23126:1;23123:13;23115:165;;;23207:14;;23194:11;;;23187:35;23250:16;;;;23144:10;;23115:165;;;23119:3;;;23309:6;23304:3;23300:16;23293:23;;22794:532;;;;;23357:6;23351:13;23373:68;23432:8;23427:3;23420:4;23412:6;23408:17;23373:68;:::i;:::-;23457:18;;22461:1020;-1:-1:-1;;;;22461:1020:1:o;24585:135::-;24624:3;24645:17;;;24642:43;;24665:18;;:::i;:::-;-1:-1:-1;24712:1:1;24701:13;;24585:135::o;26841:209::-;26873:1;26899;26889:132;;26943:10;26938:3;26934:20;26931:1;26924:31;26978:4;26975:1;26968:15;27006:4;27003:1;26996:15;26889:132;-1:-1:-1;27035:9:1;;26841:209::o;27055:489::-;-1:-1:-1;;;;;27324:15:1;;;27306:34;;27376:15;;27371:2;27356:18;;27349:43;27423:2;27408:18;;27401:34;;;27471:3;27466:2;27451:18;;27444:31;;;27249:4;;27492:46;;27518:19;;27510:6;27492:46;:::i;:::-;27484:54;27055:489;-1:-1:-1;;;;;;27055:489:1:o;27549:249::-;27618:6;27671:2;27659:9;27650:7;27646:23;27642:32;27639:52;;;27687:1;27684;27677:12;27639:52;27719:9;27713:16;27738:30;27762:5;27738:30;:::i;27803:496::-;27982:3;28020:6;28014:13;28036:66;28095:6;28090:3;28083:4;28075:6;28071:17;28036:66;:::i;:::-;28165:13;;28124:16;;;;28187:70;28165:13;28124:16;28234:4;28222:17;;28187:70;:::i

Swarm Source

ipfs://8be6c11869dfc7acd2711978b92ddc89717c02db05e6084f358ac72870c9222f
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

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