ETH Price: $3,097.18 (+0.93%)
Gas: 7 Gwei

Token

Chibimon Trainer (CMTRNR)
 

Overview

Max Total Supply

600 CMTRNR

Holders

402

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 CMTRNR
0x790a52fdcf554b36b6c72747ee73afcd1c28e1f3
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:
ChibimonTrainer

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity Multiple files format)

File 1 of 11: ChibimonTrainer.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.4;

import {IERC721A, ERC721A} from './ERC721A.sol';
import {Ownable} from './Ownable.sol';
import {OperatorFilterer} from './OperatorFilterer.sol';
import {IERC2981, ERC2981} from './ERC2981.sol';

error SoldOut();
error CantWithdrawFunds();
error StakingNotActive();
error SenderNotOwner();
error AlreadyStaked();
error TokenIsStaked();
error NotStaked();

contract ChibimonTrainer is ERC721A, OperatorFilterer, Ownable, ERC2981 {

    string public baseURI;
    uint256 public maxSupply;
    bool public stakingStatus;
    bool public operatorFilteringEnabled;

    mapping(uint256 => uint256) public tokenStaked;

    constructor() ERC721A("Chibimon Trainer", "CMTRNR") {

        _registerForOperatorFiltering();

        maxSupply = 600;
        stakingStatus = false;
        operatorFilteringEnabled = true;

        _setDefaultRoyalty(msg.sender, 750);
    }

    // public functions

    /**
     * @dev Stake the given token
     */
    function stake(uint256 tokenId) public {
        if( !stakingStatus ) revert StakingNotActive();
        if( msg.sender != ownerOf(tokenId) && msg.sender != owner() ) revert SenderNotOwner();
        if( tokenStaked[tokenId] != 0 ) revert AlreadyStaked();

        tokenStaked[tokenId] = block.timestamp;
    }

    /**
     * @dev Unstake the given token
     */
    function unstake(uint256 tokenId) public {
        if( msg.sender != ownerOf(tokenId) && msg.sender != owner() ) revert SenderNotOwner();
        if( tokenStaked[tokenId] == 0 ) revert NotStaked();

        tokenStaked[tokenId] = 0;
    }

    /**
     * @dev Batch stake/unstake the given tokens
     */
    function batchStakeStatus(uint256[] memory tokenIds, bool status) external {
        for (uint256 i; i < tokenIds.length; i++) {
            uint256 tokenId = tokenIds[i];
            if (status) {
                stake(tokenId);
            } else {
                unstake(tokenId);
            }
        }
    }

    /**
     * @dev Returns the tokenIds of the given address
     */ 
    function tokensOf(address owner) external view returns (uint256[] memory) {
        unchecked {
            uint256[] memory tokenIds = new uint256[](balanceOf(owner));
            uint256 tokenIdsIdx;

            for (uint256 i; i < totalSupply(); i++) {

                TokenOwnership memory ownership = _ownershipOf(i);

                if (ownership.burned || ownership.addr == address(0)) {
                    continue;
                }

                if (ownership.addr == owner) {
                    tokenIds[tokenIdsIdx++] = i;
                }

            }

            return tokenIds;
        }
    }

    // owner functions

    /**
     * @dev Batch aidrop tokens to given addresses (onlyOwner)
     */
    function airdrop(address[] calldata receivers ) external onlyOwner {

        uint256 totalQuantity = receivers.length;

        if( totalSupply() + totalQuantity > maxSupply ) revert SoldOut();

        for( uint256 i = 0; i < receivers.length; i++ ) {
            _mint(receivers[i], 1);
        }
    }

    /**
     * @dev Batch aidrop tokens to given addresses (onlyOwner)
     */
    function airdropWithQuantity(address[] calldata receivers, uint256[] calldata quantities ) external onlyOwner {

        uint256 totalQuantity = 0;

        for( uint256 i = 0; i < quantities.length; i++ ) {
            totalQuantity += quantities[i];
        }

        if( totalSupply() + totalQuantity > maxSupply ) revert SoldOut();

        for( uint256 i = 0; i < receivers.length; i++ ) {
            _mint(receivers[i], quantities[i]);
        }
    }

    /**
     * @dev Set base uri for token metadata (onlyOwner)
     */
    function setBaseURI(string memory newBaseURI) external onlyOwner {
        baseURI = newBaseURI;
    }

    /**
     * @dev Enable/Disable staking (onlyOwner)
     */
    function setStakingStatus(bool status) external onlyOwner {
        stakingStatus = status;
    }

    /**
     * @dev Withdraw all funds (onlyOwner)
     */
    function withdrawAll() external onlyOwner {
        (bool success, ) = msg.sender.call{value: address(this).balance}("");
        if( !success ) revert CantWithdrawFunds();
    }

    // overrides / royalities

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

    function setApprovalForAll(address operator, bool approved)
        public
        override
        onlyAllowedOperatorApproval(operator)
    {
        super.setApprovalForAll(operator, approved);
    }

    function approve(address operator, uint256 tokenId)
        public
        payable
        override
        onlyAllowedOperatorApproval(operator)
    {
        super.approve(operator, tokenId);
    }

    function transferFrom(address from, address to, uint256 tokenId)
        public
        payable
        override
        onlyAllowedOperator(from)
    {
        if( tokenStaked[tokenId] != 0 ) revert TokenIsStaked();
        super.transferFrom(from, to, tokenId);
    }

    function safeTransferFrom(address from, address to, uint256 tokenId)
        public
        payable
        override
        onlyAllowedOperator(from)
    {
        if( tokenStaked[tokenId] != 0 ) revert TokenIsStaked();
        super.safeTransferFrom(from, to, tokenId);
    }

    function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data)
        public
        payable
        override
        onlyAllowedOperator(from)
    {
        if( tokenStaked[tokenId] != 0 ) revert TokenIsStaked();
        super.safeTransferFrom(from, to, tokenId, data);
    }

    function supportsInterface(bytes4 interfaceId)
        public
        view
        virtual
        override (ERC721A, ERC2981)
        returns (bool)
    {
        // Supports the following `interfaceId`s:
        // - IERC165: 0x01ffc9a7
        // - IERC721: 0x80ac58cd
        // - IERC721Metadata: 0x5b5e139f
        // - IERC2981: 0x2a55205a
        return ERC721A.supportsInterface(interfaceId) || ERC2981.supportsInterface(interfaceId);
    }

    function setDefaultRoyalty(address receiver, uint96 feeNumerator) public onlyOwner {
        _setDefaultRoyalty(receiver, feeNumerator);
    }

    function setOperatorFilteringEnabled(bool value) public onlyOwner {
        operatorFilteringEnabled = value;
    }

    function _operatorFilteringEnabled() internal view override returns (bool) {
        return operatorFilteringEnabled;
    }

    function _isPriorityOperator(address operator) internal pure override returns (bool) {
        // OpenSea Seaport Conduit:
        // https://etherscan.io/address/0x1E0049783F008A0085193E00003D00cd54003c71
        // https://goerli.etherscan.io/address/0x1E0049783F008A0085193E00003D00cd54003c71
        return operator == address(0x1E0049783F008A0085193E00003D00cd54003c71);
    }

}

File 2 of 11: Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 4 of 11: ERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/common/ERC2981.sol)

pragma solidity ^0.8.0;

import "./IERC2981.sol";
import "./ERC165.sol";

/**
 * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information.
 *
 * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for
 * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first.
 *
 * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the
 * fee is specified in basis points by default.
 *
 * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See
 * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to
 * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported.
 *
 * _Available since v4.5._
 */
abstract contract ERC2981 is IERC2981, ERC165 {
    struct RoyaltyInfo {
        address receiver;
        uint96 royaltyFraction;
    }

    RoyaltyInfo private _defaultRoyaltyInfo;
    mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo;

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

    /**
     * @inheritdoc IERC2981
     */
    function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view virtual override returns (address, uint256) {
        RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId];

        if (royalty.receiver == address(0)) {
            royalty = _defaultRoyaltyInfo;
        }

        uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) / _feeDenominator();

        return (royalty.receiver, royaltyAmount);
    }

    /**
     * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a
     * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an
     * override.
     */
    function _feeDenominator() internal pure virtual returns (uint96) {
        return 10000;
    }

    /**
     * @dev Sets the royalty information that all ids in this contract will default to.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: invalid receiver");

        _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Removes default royalty information.
     */
    function _deleteDefaultRoyalty() internal virtual {
        delete _defaultRoyaltyInfo;
    }

    /**
     * @dev Sets the royalty information for a specific token id, overriding the global default.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setTokenRoyalty(
        uint256 tokenId,
        address receiver,
        uint96 feeNumerator
    ) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: Invalid parameters");

        _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Resets royalty information for the token id back to the global default.
     */
    function _resetTokenRoyalty(uint256 tokenId) internal virtual {
        delete _tokenRoyaltyInfo[tokenId];
    }
}

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

pragma solidity ^0.8.4;

import './IERC721A.sol';

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * Returns the packed ownership data of `tokenId`.
     */
    function _packedOwnershipOf(uint256 tokenId) private view returns (uint256 packed) {
        if (_startTokenId() <= tokenId) {
            packed = _packedOwnerships[tokenId];
            // If not burned.
            if (packed & _BITMASK_BURNED == 0) {
                // If the data at the starting slot does not exist, start the scan.
                if (packed == 0) {
                    if (tokenId >= _currentIndex) revert OwnerQueryForNonexistentToken();
                    // 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, `tokenId` will not underflow.
                    //
                    // We can directly compare the packed value.
                    // If the address is zero, packed will be zero.
                    for (;;) {
                        unchecked {
                            packed = _packedOwnerships[--tokenId];
                        }
                        if (packed == 0) continue;
                        return packed;
                    }
                }
                // Otherwise, the data exists and is not burned. We can skip the scan.
                // This is possible because we have already achieved the target condition.
                // This saves 2143 gas on transfers of initialized tokens.
                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. See {ERC721A-_approve}.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     */
    function approve(address to, uint256 tokenId) public payable virtual override {
        _approve(to, tokenId, true);
    }

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

        return _tokenApprovals[tokenId].value;
    }

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom}
     * for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _operatorApprovals[_msgSenderERC721A()][operator] = approved;
        emit ApprovalForAll(_msgSenderERC721A(), operator, approved);
    }

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

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted. See {_mint}.
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return
            _startTokenId() <= tokenId &&
            tokenId < _currentIndex && // If within bounds,
            _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned.
    }

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

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

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

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token
     * by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public payable virtual override {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

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

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

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            uint256 toMasked;
            uint256 end = startTokenId + quantity;

            // Use assembly to loop and emit the `Transfer` event for gas savings.
            // The duplicated `log4` removes an extra check and reduces stack juggling.
            // The assembly, together with the surrounding Solidity code, have been
            // delicately arranged to nudge the compiler into producing optimized opcodes.
            assembly {
                // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean.
                toMasked := and(to, _BITMASK_ADDRESS)
                // Emit the `Transfer` event.
                log4(
                    0, // Start of data (0, since no data).
                    0, // End of data (0, since no data).
                    _TRANSFER_EVENT_SIGNATURE, // Signature.
                    0, // `address(0)`.
                    toMasked, // `to`.
                    startTokenId // `tokenId`.
                )

                // The `iszero(eq(,))` check ensures that large values of `quantity`
                // that overflows uint256 will make the loop run out of gas.
                // The compiler will optimize the `iszero` away for performance.
                for {
                    let tokenId := add(startTokenId, 1)
                } iszero(eq(tokenId, end)) {
                    tokenId := add(tokenId, 1)
                } {
                    // Emit the `Transfer` event. Similar to above.
                    log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId)
                }
            }
            if (toMasked == 0) revert MintToZeroAddress();

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @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:
     *
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function _approve(
        address to,
        uint256 tokenId,
        bool approvalCheck
    ) internal virtual {
        address owner = ownerOf(tokenId);

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

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

    // =============================================================
    //                        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 6 of 11: IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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

File 7 of 11: IERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Interface for the NFT Royalty Standard.
 *
 * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal
 * support for royalty payments across all NFT marketplaces and ecosystem participants.
 *
 * _Available since v4.5._
 */
interface IERC2981 is IERC165 {
    /**
     * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of
     * exchange. The royalty amount is denominated and should be paid in that same unit of exchange.
     */
    function royaltyInfo(uint256 tokenId, uint256 salePrice)
        external
        view
        returns (address receiver, uint256 royaltyAmount);
}

File 8 of 11: IERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.3
// Creator: Chiru Labs

pragma solidity ^0.8.4;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 9 of 11: OperatorFilterer.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

/// @notice Optimized and flexible operator filterer to abide to OpenSea's
/// mandatory on-chain royalty enforcement in order for new collections to
/// receive royalties.
/// For more information, see:
/// See: https://github.com/ProjectOpenSea/operator-filter-registry
abstract contract OperatorFilterer {
    /// @dev The default OpenSea operator blocklist subscription.
    address internal constant _DEFAULT_SUBSCRIPTION = 0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6;

    /// @dev The OpenSea operator filter registry.
    address internal constant _OPERATOR_FILTER_REGISTRY = 0x000000000000AAeB6D7670E522A718067333cd4E;

    /// @dev Registers the current contract to OpenSea's operator filter,
    /// and subscribe to the default OpenSea operator blocklist.
    /// Note: Will not revert nor update existing settings for repeated registration.
    function _registerForOperatorFiltering() internal virtual {
        _registerForOperatorFiltering(_DEFAULT_SUBSCRIPTION, true);
    }

    /// @dev Registers the current contract to OpenSea's operator filter.
    /// Note: Will not revert nor update existing settings for repeated registration.
    function _registerForOperatorFiltering(address subscriptionOrRegistrantToCopy, bool subscribe)
        internal
        virtual
    {
        /// @solidity memory-safe-assembly
        assembly {
            let functionSelector := 0x7d3e3dbe // `registerAndSubscribe(address,address)`.

            // Clean the upper 96 bits of `subscriptionOrRegistrantToCopy` in case they are dirty.
            subscriptionOrRegistrantToCopy := shr(96, shl(96, subscriptionOrRegistrantToCopy))

            for {} iszero(subscribe) {} {
                if iszero(subscriptionOrRegistrantToCopy) {
                    functionSelector := 0x4420e486 // `register(address)`.
                    break
                }
                functionSelector := 0xa0af2903 // `registerAndCopyEntries(address,address)`.
                break
            }
            // Store the function selector.
            mstore(0x00, shl(224, functionSelector))
            // Store the `address(this)`.
            mstore(0x04, address())
            // Store the `subscriptionOrRegistrantToCopy`.
            mstore(0x24, subscriptionOrRegistrantToCopy)
            // Register into the registry.
            if iszero(call(gas(), _OPERATOR_FILTER_REGISTRY, 0, 0x00, 0x44, 0x00, 0x04)) {
                // If the function selector has not been overwritten,
                // it is an out-of-gas error.
                if eq(shr(224, mload(0x00)), functionSelector) {
                    // To prevent gas under-estimation.
                    revert(0, 0)
                }
            }
            // Restore the part of the free memory pointer that was overwritten,
            // which is guaranteed to be zero, because of Solidity's memory size limits.
            mstore(0x24, 0)
        }
    }

    /// @dev Modifier to guard a function and revert if the caller is a blocked operator.
    modifier onlyAllowedOperator(address from) virtual {
        if (from != msg.sender) {
            if (!_isPriorityOperator(msg.sender)) {
                if (_operatorFilteringEnabled()) _revertIfBlocked(msg.sender);
            }
        }
        _;
    }

    /// @dev Modifier to guard a function from approving a blocked operator..
    modifier onlyAllowedOperatorApproval(address operator) virtual {
        if (!_isPriorityOperator(operator)) {
            if (_operatorFilteringEnabled()) _revertIfBlocked(operator);
        }
        _;
    }

    /// @dev Helper function that reverts if the `operator` is blocked by the registry.
    function _revertIfBlocked(address operator) private view {
        /// @solidity memory-safe-assembly
        assembly {
            // Store the function selector of `isOperatorAllowed(address,address)`,
            // shifted left by 6 bytes, which is enough for 8tb of memory.
            // We waste 6-3 = 3 bytes to save on 6 runtime gas (PUSH1 0x224 SHL).
            mstore(0x00, 0xc6171134001122334455)
            // Store the `address(this)`.
            mstore(0x1a, address())
            // Store the `operator`.
            mstore(0x3a, operator)

            // `isOperatorAllowed` always returns true if it does not revert.
            if iszero(staticcall(gas(), _OPERATOR_FILTER_REGISTRY, 0x16, 0x44, 0x00, 0x00)) {
                // Bubble up the revert if the staticcall reverts.
                returndatacopy(0x00, 0x00, returndatasize())
                revert(0x00, returndatasize())
            }

            // We'll skip checking if `from` is inside the blacklist.
            // Even though that can block transferring out of wrapper contracts,
            // we don't want tokens to be stuck.

            // Restore the part of the free memory pointer that was overwritten,
            // which is guaranteed to be zero, if less than 8tb of memory is used.
            mstore(0x3a, 0)
        }
    }

    /// @dev For deriving contracts to override, so that operator filtering
    /// can be turned on / off.
    /// Returns true by default.
    function _operatorFilteringEnabled() internal view virtual returns (bool) {
        return true;
    }

    /// @dev For deriving contracts to override, so that preferred marketplaces can
    /// skip operator filtering, helping users save gas.
    /// Returns false for all inputs by default.
    function _isPriorityOperator(address) internal view virtual returns (bool) {
        return false;
    }
}

File 10 of 11: Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

import "./Context.sol";

/**
 * @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 11 of 11: Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AlreadyStaked","type":"error"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"CantWithdrawFunds","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"NotStaked","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"SenderNotOwner","type":"error"},{"inputs":[],"name":"SoldOut","type":"error"},{"inputs":[],"name":"StakingNotActive","type":"error"},{"inputs":[],"name":"TokenIsStaked","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address[]","name":"receivers","type":"address[]"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"receivers","type":"address[]"},{"internalType":"uint256[]","name":"quantities","type":"uint256[]"}],"name":"airdropWithQuantity","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"},{"internalType":"bool","name":"status","type":"bool"}],"name":"batchStakeStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"operatorFilteringEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint96","name":"feeNumerator","type":"uint96"}],"name":"setDefaultRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"value","type":"bool"}],"name":"setOperatorFilteringEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"status","type":"bool"}],"name":"setStakingStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stakingStatus","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"","type":"uint256"}],"name":"tokenStaked","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"tokensOf","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"unstake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b50604080518082018252601081526f21b434b134b6b7b7102a3930b4b732b960811b60208083019182528351808501909452600684526521a6aa29272960d11b9084015281519192916200006891600291620002b8565b5080516200007e906003906020840190620002b8565b505060008055506200009033620000c3565b6200009a62000115565b610258600c55600d805461ffff1916610100179055620000bd336102ee62000138565b6200039b565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b62000136733cc6cdda760b79bafa08df41ecfa224f810dceb660016200023d565b565b6127106001600160601b0382161115620001ac5760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b60648201526084015b60405180910390fd5b6001600160a01b038216620002045760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401620001a3565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600955565b6001600160a01b0390911690637d3e3dbe816200026d5782620002665750634420e4866200026d565b5063a0af29035b8060e01b60005230600452826024526004600060446000806daaeb6d7670e522a718067333cd4e5af1620002ae578060005160e01c1415620002ae57600080fd5b5060006024525050565b828054620002c6906200035e565b90600052602060002090601f016020900481019282620002ea576000855562000335565b82601f106200030557805160ff191683800117855562000335565b8280016001018555821562000335579182015b828111156200033557825182559160200191906001019062000318565b506200034392915062000347565b5090565b5b8082111562000343576000815560010162000348565b600181811c908216806200037357607f821691505b602082108114156200039557634e487b7160e01b600052602260045260246000fd5b50919050565b61219380620003ab6000396000f3fe6080604052600436106101f95760003560e01c8063715018a61161010d578063b88d4fde116100a0578063d5abeb011161006f578063d5abeb01146105a3578063e985e9c5146105b9578063f2fde38b14610602578063fb796e6c14610622578063ffc8befd1461064157600080fd5b8063b88d4fde14610530578063b8bec6a014610543578063c780cbb514610563578063c87b56dd1461058357600080fd5b806395d89b41116100dc57806395d89b41146104bb578063a22cb465146104d0578063a694fc3a146104f0578063b7c0b8e81461051057600080fd5b8063715018a614610453578063729ad39e14610468578063853828b6146104885780638da5cb5b1461049d57600080fd5b80632e17de78116101905780635a3f26721161015f5780635a3f2672146103a457806363315760146103d15780636352211e146103fe5780636c0360eb1461041e57806370a082311461043357600080fd5b80632e17de781461033757806342842e0e14610357578063455ab53c1461036a57806355f804b31461038457600080fd5b8063095ea7b3116101cc578063095ea7b3146102af57806318160ddd146102c257806323b872dd146102e55780632a55205a146102f857600080fd5b806301ffc9a7146101fe57806304634d8d1461023357806306fdde0314610255578063081812fc14610277575b600080fd5b34801561020a57600080fd5b5061021e610219366004611e4c565b610661565b60405190151581526020015b60405180910390f35b34801561023f57600080fd5b5061025361024e366004611c81565b610681565b005b34801561026157600080fd5b5061026a610697565b60405161022a9190611fe6565b34801561028357600080fd5b50610297610292366004611ecf565b610729565b6040516001600160a01b03909116815260200161022a565b6102536102bd366004611c57565b61076d565b3480156102ce57600080fd5b50600154600054035b60405190815260200161022a565b6102536102f3366004611b75565b6107a3565b34801561030457600080fd5b50610318610313366004611ee8565b610818565b604080516001600160a01b03909316835260208301919091520161022a565b34801561034357600080fd5b50610253610352366004611ecf565b6108c6565b610253610365366004611b75565b610955565b34801561037657600080fd5b50600d5461021e9060ff1681565b34801561039057600080fd5b5061025361039f366004611e86565b6109c4565b3480156103b057600080fd5b506103c46103bf366004611b27565b6109df565b60405161022a9190611fa2565b3480156103dd57600080fd5b506102d76103ec366004611ecf565b600e6020526000908152604090205481565b34801561040a57600080fd5b50610297610419366004611ecf565b610ac9565b34801561042a57600080fd5b5061026a610ad4565b34801561043f57600080fd5b506102d761044e366004611b27565b610b62565b34801561045f57600080fd5b50610253610bb1565b34801561047457600080fd5b50610253610483366004611cc4565b610bc5565b34801561049457600080fd5b50610253610c57565b3480156104a957600080fd5b506008546001600160a01b0316610297565b3480156104c757600080fd5b5061026a610ccb565b3480156104dc57600080fd5b506102536104eb366004611c2d565b610cda565b3480156104fc57600080fd5b5061025361050b366004611ecf565b610d0b565b34801561051c57600080fd5b5061025361052b366004611e31565b610dc1565b61025361053e366004611bb1565b610de3565b34801561054f57600080fd5b5061025361055e366004611e31565b610e5a565b34801561056f57600080fd5b5061025361057e366004611d06565b610e75565b34801561058f57600080fd5b5061026a61059e366004611ecf565b610f69565b3480156105af57600080fd5b506102d7600c5481565b3480156105c557600080fd5b5061021e6105d4366004611b42565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561060e57600080fd5b5061025361061d366004611b27565b610fee565b34801561062e57600080fd5b50600d5461021e90610100900460ff1681565b34801561064d57600080fd5b5061025361065c366004611d72565b611069565b600061066c826110c3565b8061067b575061067b82611111565b92915050565b610689611146565b61069382826111a0565b5050565b6060600280546106a6906120af565b80601f01602080910402602001604051908101604052809291908181526020018280546106d2906120af565b801561071f5780601f106106f45761010080835404028352916020019161071f565b820191906000526020600020905b81548152906001019060200180831161070257829003601f168201915b5050505050905090565b60006107348261129d565b610751576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b81610777816112c4565b61079457600d54610100900460ff161561079457610794816112e6565b61079e838361132a565b505050565b826001600160a01b03811633146107da576107bd336112c4565b6107da57600d54610100900460ff16156107da576107da336112e6565b6000828152600e60205260409020541561080757604051631c4cd71b60e11b815260040160405180910390fd5b610812848484611336565b50505050565b6000828152600a602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b031692820192909252829161088d5750604080518082019091526009546001600160a01b0381168252600160a01b90046001600160601b031660208201525b6020810151600090612710906108ac906001600160601b031687612064565b6108b69190612042565b91519350909150505b9250929050565b6108cf81610ac9565b6001600160a01b0316336001600160a01b0316141580156108fb57506008546001600160a01b03163314155b1561091957604051630ca4a64560e11b815260040160405180910390fd5b6000818152600e6020526040902054610944576040516273e5c360e31b815260040160405180910390fd5b6000908152600e6020526040812055565b826001600160a01b038116331461098c5761096f336112c4565b61098c57600d54610100900460ff161561098c5761098c336112e6565b6000828152600e6020526040902054156109b957604051631c4cd71b60e11b815260040160405180910390fd5b6108128484846114c4565b6109cc611146565b805161069390600b9060208401906119ca565b606060006109ec83610b62565b67ffffffffffffffff811115610a0457610a04612131565b604051908082528060200260200182016040528015610a2d578160200160208202803683370190505b5090506000805b60015460005403811015610ac0576000610a4d826114df565b9050806040015180610a67575080516001600160a01b0316155b15610a725750610ab8565b856001600160a01b031681600001516001600160a01b03161415610ab65781848480600101955081518110610aa957610aa961211b565b6020026020010181815250505b505b600101610a34565b50909392505050565b600061067b82611557565b600b8054610ae1906120af565b80601f0160208091040260200160405190810160405280929190818152602001828054610b0d906120af565b8015610b5a5780601f10610b2f57610100808354040283529160200191610b5a565b820191906000526020600020905b815481529060010190602001808311610b3d57829003601f168201915b505050505081565b60006001600160a01b038216610b8b576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610bb9611146565b610bc360006115d5565b565b610bcd611146565b600c54819081610be06001546000540390565b610bea919061202a565b1115610c09576040516352df9fe560e01b815260040160405180910390fd5b60005b8281101561081257610c45848483818110610c2957610c2961211b565b9050602002016020810190610c3e9190611b27565b6001611627565b80610c4f816120ea565b915050610c0c565b610c5f611146565b604051600090339047908381818185875af1925050503d8060008114610ca1576040519150601f19603f3d011682016040523d82523d6000602084013e610ca6565b606091505b5050905080610cc8576040516364d7475560e11b815260040160405180910390fd5b50565b6060600380546106a6906120af565b81610ce4816112c4565b610d0157600d54610100900460ff1615610d0157610d01816112e6565b61079e838361171e565b600d5460ff16610d2e57604051631a4a6f3b60e21b815260040160405180910390fd5b610d3781610ac9565b6001600160a01b0316336001600160a01b031614158015610d6357506008546001600160a01b03163314155b15610d8157604051630ca4a64560e11b815260040160405180910390fd5b6000818152600e602052604090205415610dae57604051630ae3514d60e01b815260040160405180910390fd5b6000908152600e60205260409020429055565b610dc9611146565b600d80549115156101000261ff0019909216919091179055565b836001600160a01b0381163314610e1a57610dfd336112c4565b610e1a57600d54610100900460ff1615610e1a57610e1a336112e6565b6000838152600e602052604090205415610e4757604051631c4cd71b60e11b815260040160405180910390fd5b610e538585858561178a565b5050505050565b610e62611146565b600d805460ff1916911515919091179055565b610e7d611146565b6000805b82811015610ec157838382818110610e9b57610e9b61211b565b9050602002013582610ead919061202a565b915080610eb9816120ea565b915050610e81565b50600c5481610ed36001546000540390565b610edd919061202a565b1115610efc576040516352df9fe560e01b815260040160405180910390fd5b60005b84811015610f6157610f4f868683818110610f1c57610f1c61211b565b9050602002016020810190610f319190611b27565b858584818110610f4357610f4361211b565b90506020020135611627565b80610f59816120ea565b915050610eff565b505050505050565b6060610f748261129d565b610f9157604051630a14c4b560e41b815260040160405180910390fd5b6000610f9b6117ce565b9050805160001415610fbc5760405180602001604052806000815250610fe7565b80610fc6846117dd565b604051602001610fd7929190611f36565b6040516020818303038152906040525b9392505050565b610ff6611146565b6001600160a01b0381166110605760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084015b60405180910390fd5b610cc8816115d5565b60005b825181101561079e5760008382815181106110895761108961211b565b6020026020010151905082156110a7576110a281610d0b565b6110b0565b6110b0816108c6565b50806110bb816120ea565b91505061106c565b60006301ffc9a760e01b6001600160e01b0319831614806110f457506380ac58cd60e01b6001600160e01b03198316145b8061067b5750506001600160e01b031916635b5e139f60e01b1490565b60006001600160e01b0319821663152a902d60e11b148061067b57506301ffc9a760e01b6001600160e01b031983161461067b565b6008546001600160a01b03163314610bc35760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401611057565b6127106001600160601b038216111561120e5760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b6064820152608401611057565b6001600160a01b0382166112645760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401611057565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600955565b600080548210801561067b575050600090815260046020526040902054600160e01b161590565b6001600160a01b0316731e0049783f008a0085193e00003d00cd54003c711490565b69c617113400112233445560005230601a5280603a52600080604460166daaeb6d7670e522a718067333cd4e5afa611322573d6000803e3d6000fd5b6000603a5250565b6106938282600161182b565b600061134182611557565b9050836001600160a01b0316816001600160a01b0316146113745760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b038816909114176113c1576113a486336105d4565b6113c157604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166113e857604051633a954ecd60e21b815260040160405180910390fd5b80156113f357600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b831661147e576001840160008181526004602052604090205461147c57600054811461147c5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610f61565b61079e83838360405180602001604052806000815250610de3565b60408051608081018252600080825260208201819052918101829052606081019190915261067b61150f83611557565b604080516080810182526001600160a01b038316815260a083901c67ffffffffffffffff166020820152600160e01b831615159181019190915260e89190911c606082015290565b600081815260046020526040902054600160e01b81166115bc57806115b757600054821061159857604051636f96cda160e11b815260040160405180910390fd5b5b5060001901600081815260046020526040902054806115b757611599565b919050565b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600054816116485760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146116f757808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46001016116bf565b508161171557604051622e076360e81b815260040160405180910390fd5b60005550505050565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6117958484846107a3565b6001600160a01b0383163b15610812576117b1848484846118d2565b610812576040516368d2bf6b60e11b815260040160405180910390fd5b6060600b80546106a6906120af565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a90048061181457611819565b6117f7565b50819003601f19909101908152919050565b600061183683610ac9565b9050811561187557336001600160a01b038216146118755761185881336105d4565b611875576040516367d9dca160e11b815260040160405180910390fd5b60008381526006602052604080822080546001600160a01b0319166001600160a01b0388811691821790925591518693918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a450505050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611907903390899088908890600401611f65565b602060405180830381600087803b15801561192157600080fd5b505af1925050508015611951575060408051601f3d908101601f1916820190925261194e91810190611e69565b60015b6119ac573d80801561197f576040519150601f19603f3d011682016040523d82523d6000602084013e611984565b606091505b5080516119a4576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b8280546119d6906120af565b90600052602060002090601f0160209004810192826119f85760008555611a3e565b82601f10611a1157805160ff1916838001178555611a3e565b82800160010185558215611a3e579182015b82811115611a3e578251825591602001919060010190611a23565b50611a4a929150611a4e565b5090565b5b80821115611a4a5760008155600101611a4f565b600067ffffffffffffffff831115611a7d57611a7d612131565b611a90601f8401601f1916602001611ff9565b9050828152838383011115611aa457600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b03811681146115b757600080fd5b60008083601f840112611ae457600080fd5b50813567ffffffffffffffff811115611afc57600080fd5b6020830191508360208260051b85010111156108bf57600080fd5b803580151581146115b757600080fd5b600060208284031215611b3957600080fd5b610fe782611abb565b60008060408385031215611b5557600080fd5b611b5e83611abb565b9150611b6c60208401611abb565b90509250929050565b600080600060608486031215611b8a57600080fd5b611b9384611abb565b9250611ba160208501611abb565b9150604084013590509250925092565b60008060008060808587031215611bc757600080fd5b611bd085611abb565b9350611bde60208601611abb565b925060408501359150606085013567ffffffffffffffff811115611c0157600080fd5b8501601f81018713611c1257600080fd5b611c2187823560208401611a63565b91505092959194509250565b60008060408385031215611c4057600080fd5b611c4983611abb565b9150611b6c60208401611b17565b60008060408385031215611c6a57600080fd5b611c7383611abb565b946020939093013593505050565b60008060408385031215611c9457600080fd5b611c9d83611abb565b915060208301356001600160601b0381168114611cb957600080fd5b809150509250929050565b60008060208385031215611cd757600080fd5b823567ffffffffffffffff811115611cee57600080fd5b611cfa85828601611ad2565b90969095509350505050565b60008060008060408587031215611d1c57600080fd5b843567ffffffffffffffff80821115611d3457600080fd5b611d4088838901611ad2565b90965094506020870135915080821115611d5957600080fd5b50611d6687828801611ad2565b95989497509550505050565b60008060408385031215611d8557600080fd5b823567ffffffffffffffff80821115611d9d57600080fd5b818501915085601f830112611db157600080fd5b8135602082821115611dc557611dc5612131565b8160051b9250611dd6818401611ff9565b8281528181019085830185870184018b1015611df157600080fd5b600096505b84871015611e14578035835260019690960195918301918301611df6565b509650611e249050878201611b17565b9450505050509250929050565b600060208284031215611e4357600080fd5b610fe782611b17565b600060208284031215611e5e57600080fd5b8135610fe781612147565b600060208284031215611e7b57600080fd5b8151610fe781612147565b600060208284031215611e9857600080fd5b813567ffffffffffffffff811115611eaf57600080fd5b8201601f81018413611ec057600080fd5b6119c284823560208401611a63565b600060208284031215611ee157600080fd5b5035919050565b60008060408385031215611efb57600080fd5b50508035926020909101359150565b60008151808452611f22816020860160208601612083565b601f01601f19169290920160200192915050565b60008351611f48818460208801612083565b835190830190611f5c818360208801612083565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611f9890830184611f0a565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015611fda57835183529284019291840191600101611fbe565b50909695505050505050565b602081526000610fe76020830184611f0a565b604051601f8201601f1916810167ffffffffffffffff8111828210171561202257612022612131565b604052919050565b6000821982111561203d5761203d612105565b500190565b60008261205f57634e487b7160e01b600052601260045260246000fd5b500490565b600081600019048311821515161561207e5761207e612105565b500290565b60005b8381101561209e578181015183820152602001612086565b838111156108125750506000910152565b600181811c908216806120c357607f821691505b602082108114156120e457634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156120fe576120fe612105565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610cc857600080fdfea2646970667358221220d252490099d3da38d8c8e8d5db400fcbe21da31d7054105c9943a2717c798aad64736f6c63430008070033

Deployed Bytecode

0x6080604052600436106101f95760003560e01c8063715018a61161010d578063b88d4fde116100a0578063d5abeb011161006f578063d5abeb01146105a3578063e985e9c5146105b9578063f2fde38b14610602578063fb796e6c14610622578063ffc8befd1461064157600080fd5b8063b88d4fde14610530578063b8bec6a014610543578063c780cbb514610563578063c87b56dd1461058357600080fd5b806395d89b41116100dc57806395d89b41146104bb578063a22cb465146104d0578063a694fc3a146104f0578063b7c0b8e81461051057600080fd5b8063715018a614610453578063729ad39e14610468578063853828b6146104885780638da5cb5b1461049d57600080fd5b80632e17de78116101905780635a3f26721161015f5780635a3f2672146103a457806363315760146103d15780636352211e146103fe5780636c0360eb1461041e57806370a082311461043357600080fd5b80632e17de781461033757806342842e0e14610357578063455ab53c1461036a57806355f804b31461038457600080fd5b8063095ea7b3116101cc578063095ea7b3146102af57806318160ddd146102c257806323b872dd146102e55780632a55205a146102f857600080fd5b806301ffc9a7146101fe57806304634d8d1461023357806306fdde0314610255578063081812fc14610277575b600080fd5b34801561020a57600080fd5b5061021e610219366004611e4c565b610661565b60405190151581526020015b60405180910390f35b34801561023f57600080fd5b5061025361024e366004611c81565b610681565b005b34801561026157600080fd5b5061026a610697565b60405161022a9190611fe6565b34801561028357600080fd5b50610297610292366004611ecf565b610729565b6040516001600160a01b03909116815260200161022a565b6102536102bd366004611c57565b61076d565b3480156102ce57600080fd5b50600154600054035b60405190815260200161022a565b6102536102f3366004611b75565b6107a3565b34801561030457600080fd5b50610318610313366004611ee8565b610818565b604080516001600160a01b03909316835260208301919091520161022a565b34801561034357600080fd5b50610253610352366004611ecf565b6108c6565b610253610365366004611b75565b610955565b34801561037657600080fd5b50600d5461021e9060ff1681565b34801561039057600080fd5b5061025361039f366004611e86565b6109c4565b3480156103b057600080fd5b506103c46103bf366004611b27565b6109df565b60405161022a9190611fa2565b3480156103dd57600080fd5b506102d76103ec366004611ecf565b600e6020526000908152604090205481565b34801561040a57600080fd5b50610297610419366004611ecf565b610ac9565b34801561042a57600080fd5b5061026a610ad4565b34801561043f57600080fd5b506102d761044e366004611b27565b610b62565b34801561045f57600080fd5b50610253610bb1565b34801561047457600080fd5b50610253610483366004611cc4565b610bc5565b34801561049457600080fd5b50610253610c57565b3480156104a957600080fd5b506008546001600160a01b0316610297565b3480156104c757600080fd5b5061026a610ccb565b3480156104dc57600080fd5b506102536104eb366004611c2d565b610cda565b3480156104fc57600080fd5b5061025361050b366004611ecf565b610d0b565b34801561051c57600080fd5b5061025361052b366004611e31565b610dc1565b61025361053e366004611bb1565b610de3565b34801561054f57600080fd5b5061025361055e366004611e31565b610e5a565b34801561056f57600080fd5b5061025361057e366004611d06565b610e75565b34801561058f57600080fd5b5061026a61059e366004611ecf565b610f69565b3480156105af57600080fd5b506102d7600c5481565b3480156105c557600080fd5b5061021e6105d4366004611b42565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561060e57600080fd5b5061025361061d366004611b27565b610fee565b34801561062e57600080fd5b50600d5461021e90610100900460ff1681565b34801561064d57600080fd5b5061025361065c366004611d72565b611069565b600061066c826110c3565b8061067b575061067b82611111565b92915050565b610689611146565b61069382826111a0565b5050565b6060600280546106a6906120af565b80601f01602080910402602001604051908101604052809291908181526020018280546106d2906120af565b801561071f5780601f106106f45761010080835404028352916020019161071f565b820191906000526020600020905b81548152906001019060200180831161070257829003601f168201915b5050505050905090565b60006107348261129d565b610751576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b81610777816112c4565b61079457600d54610100900460ff161561079457610794816112e6565b61079e838361132a565b505050565b826001600160a01b03811633146107da576107bd336112c4565b6107da57600d54610100900460ff16156107da576107da336112e6565b6000828152600e60205260409020541561080757604051631c4cd71b60e11b815260040160405180910390fd5b610812848484611336565b50505050565b6000828152600a602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b031692820192909252829161088d5750604080518082019091526009546001600160a01b0381168252600160a01b90046001600160601b031660208201525b6020810151600090612710906108ac906001600160601b031687612064565b6108b69190612042565b91519350909150505b9250929050565b6108cf81610ac9565b6001600160a01b0316336001600160a01b0316141580156108fb57506008546001600160a01b03163314155b1561091957604051630ca4a64560e11b815260040160405180910390fd5b6000818152600e6020526040902054610944576040516273e5c360e31b815260040160405180910390fd5b6000908152600e6020526040812055565b826001600160a01b038116331461098c5761096f336112c4565b61098c57600d54610100900460ff161561098c5761098c336112e6565b6000828152600e6020526040902054156109b957604051631c4cd71b60e11b815260040160405180910390fd5b6108128484846114c4565b6109cc611146565b805161069390600b9060208401906119ca565b606060006109ec83610b62565b67ffffffffffffffff811115610a0457610a04612131565b604051908082528060200260200182016040528015610a2d578160200160208202803683370190505b5090506000805b60015460005403811015610ac0576000610a4d826114df565b9050806040015180610a67575080516001600160a01b0316155b15610a725750610ab8565b856001600160a01b031681600001516001600160a01b03161415610ab65781848480600101955081518110610aa957610aa961211b565b6020026020010181815250505b505b600101610a34565b50909392505050565b600061067b82611557565b600b8054610ae1906120af565b80601f0160208091040260200160405190810160405280929190818152602001828054610b0d906120af565b8015610b5a5780601f10610b2f57610100808354040283529160200191610b5a565b820191906000526020600020905b815481529060010190602001808311610b3d57829003601f168201915b505050505081565b60006001600160a01b038216610b8b576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610bb9611146565b610bc360006115d5565b565b610bcd611146565b600c54819081610be06001546000540390565b610bea919061202a565b1115610c09576040516352df9fe560e01b815260040160405180910390fd5b60005b8281101561081257610c45848483818110610c2957610c2961211b565b9050602002016020810190610c3e9190611b27565b6001611627565b80610c4f816120ea565b915050610c0c565b610c5f611146565b604051600090339047908381818185875af1925050503d8060008114610ca1576040519150601f19603f3d011682016040523d82523d6000602084013e610ca6565b606091505b5050905080610cc8576040516364d7475560e11b815260040160405180910390fd5b50565b6060600380546106a6906120af565b81610ce4816112c4565b610d0157600d54610100900460ff1615610d0157610d01816112e6565b61079e838361171e565b600d5460ff16610d2e57604051631a4a6f3b60e21b815260040160405180910390fd5b610d3781610ac9565b6001600160a01b0316336001600160a01b031614158015610d6357506008546001600160a01b03163314155b15610d8157604051630ca4a64560e11b815260040160405180910390fd5b6000818152600e602052604090205415610dae57604051630ae3514d60e01b815260040160405180910390fd5b6000908152600e60205260409020429055565b610dc9611146565b600d80549115156101000261ff0019909216919091179055565b836001600160a01b0381163314610e1a57610dfd336112c4565b610e1a57600d54610100900460ff1615610e1a57610e1a336112e6565b6000838152600e602052604090205415610e4757604051631c4cd71b60e11b815260040160405180910390fd5b610e538585858561178a565b5050505050565b610e62611146565b600d805460ff1916911515919091179055565b610e7d611146565b6000805b82811015610ec157838382818110610e9b57610e9b61211b565b9050602002013582610ead919061202a565b915080610eb9816120ea565b915050610e81565b50600c5481610ed36001546000540390565b610edd919061202a565b1115610efc576040516352df9fe560e01b815260040160405180910390fd5b60005b84811015610f6157610f4f868683818110610f1c57610f1c61211b565b9050602002016020810190610f319190611b27565b858584818110610f4357610f4361211b565b90506020020135611627565b80610f59816120ea565b915050610eff565b505050505050565b6060610f748261129d565b610f9157604051630a14c4b560e41b815260040160405180910390fd5b6000610f9b6117ce565b9050805160001415610fbc5760405180602001604052806000815250610fe7565b80610fc6846117dd565b604051602001610fd7929190611f36565b6040516020818303038152906040525b9392505050565b610ff6611146565b6001600160a01b0381166110605760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084015b60405180910390fd5b610cc8816115d5565b60005b825181101561079e5760008382815181106110895761108961211b565b6020026020010151905082156110a7576110a281610d0b565b6110b0565b6110b0816108c6565b50806110bb816120ea565b91505061106c565b60006301ffc9a760e01b6001600160e01b0319831614806110f457506380ac58cd60e01b6001600160e01b03198316145b8061067b5750506001600160e01b031916635b5e139f60e01b1490565b60006001600160e01b0319821663152a902d60e11b148061067b57506301ffc9a760e01b6001600160e01b031983161461067b565b6008546001600160a01b03163314610bc35760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401611057565b6127106001600160601b038216111561120e5760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b6064820152608401611057565b6001600160a01b0382166112645760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401611057565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600955565b600080548210801561067b575050600090815260046020526040902054600160e01b161590565b6001600160a01b0316731e0049783f008a0085193e00003d00cd54003c711490565b69c617113400112233445560005230601a5280603a52600080604460166daaeb6d7670e522a718067333cd4e5afa611322573d6000803e3d6000fd5b6000603a5250565b6106938282600161182b565b600061134182611557565b9050836001600160a01b0316816001600160a01b0316146113745760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b038816909114176113c1576113a486336105d4565b6113c157604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166113e857604051633a954ecd60e21b815260040160405180910390fd5b80156113f357600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b831661147e576001840160008181526004602052604090205461147c57600054811461147c5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610f61565b61079e83838360405180602001604052806000815250610de3565b60408051608081018252600080825260208201819052918101829052606081019190915261067b61150f83611557565b604080516080810182526001600160a01b038316815260a083901c67ffffffffffffffff166020820152600160e01b831615159181019190915260e89190911c606082015290565b600081815260046020526040902054600160e01b81166115bc57806115b757600054821061159857604051636f96cda160e11b815260040160405180910390fd5b5b5060001901600081815260046020526040902054806115b757611599565b919050565b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600054816116485760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146116f757808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46001016116bf565b508161171557604051622e076360e81b815260040160405180910390fd5b60005550505050565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6117958484846107a3565b6001600160a01b0383163b15610812576117b1848484846118d2565b610812576040516368d2bf6b60e11b815260040160405180910390fd5b6060600b80546106a6906120af565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a90048061181457611819565b6117f7565b50819003601f19909101908152919050565b600061183683610ac9565b9050811561187557336001600160a01b038216146118755761185881336105d4565b611875576040516367d9dca160e11b815260040160405180910390fd5b60008381526006602052604080822080546001600160a01b0319166001600160a01b0388811691821790925591518693918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a450505050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611907903390899088908890600401611f65565b602060405180830381600087803b15801561192157600080fd5b505af1925050508015611951575060408051601f3d908101601f1916820190925261194e91810190611e69565b60015b6119ac573d80801561197f576040519150601f19603f3d011682016040523d82523d6000602084013e611984565b606091505b5080516119a4576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b8280546119d6906120af565b90600052602060002090601f0160209004810192826119f85760008555611a3e565b82601f10611a1157805160ff1916838001178555611a3e565b82800160010185558215611a3e579182015b82811115611a3e578251825591602001919060010190611a23565b50611a4a929150611a4e565b5090565b5b80821115611a4a5760008155600101611a4f565b600067ffffffffffffffff831115611a7d57611a7d612131565b611a90601f8401601f1916602001611ff9565b9050828152838383011115611aa457600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b03811681146115b757600080fd5b60008083601f840112611ae457600080fd5b50813567ffffffffffffffff811115611afc57600080fd5b6020830191508360208260051b85010111156108bf57600080fd5b803580151581146115b757600080fd5b600060208284031215611b3957600080fd5b610fe782611abb565b60008060408385031215611b5557600080fd5b611b5e83611abb565b9150611b6c60208401611abb565b90509250929050565b600080600060608486031215611b8a57600080fd5b611b9384611abb565b9250611ba160208501611abb565b9150604084013590509250925092565b60008060008060808587031215611bc757600080fd5b611bd085611abb565b9350611bde60208601611abb565b925060408501359150606085013567ffffffffffffffff811115611c0157600080fd5b8501601f81018713611c1257600080fd5b611c2187823560208401611a63565b91505092959194509250565b60008060408385031215611c4057600080fd5b611c4983611abb565b9150611b6c60208401611b17565b60008060408385031215611c6a57600080fd5b611c7383611abb565b946020939093013593505050565b60008060408385031215611c9457600080fd5b611c9d83611abb565b915060208301356001600160601b0381168114611cb957600080fd5b809150509250929050565b60008060208385031215611cd757600080fd5b823567ffffffffffffffff811115611cee57600080fd5b611cfa85828601611ad2565b90969095509350505050565b60008060008060408587031215611d1c57600080fd5b843567ffffffffffffffff80821115611d3457600080fd5b611d4088838901611ad2565b90965094506020870135915080821115611d5957600080fd5b50611d6687828801611ad2565b95989497509550505050565b60008060408385031215611d8557600080fd5b823567ffffffffffffffff80821115611d9d57600080fd5b818501915085601f830112611db157600080fd5b8135602082821115611dc557611dc5612131565b8160051b9250611dd6818401611ff9565b8281528181019085830185870184018b1015611df157600080fd5b600096505b84871015611e14578035835260019690960195918301918301611df6565b509650611e249050878201611b17565b9450505050509250929050565b600060208284031215611e4357600080fd5b610fe782611b17565b600060208284031215611e5e57600080fd5b8135610fe781612147565b600060208284031215611e7b57600080fd5b8151610fe781612147565b600060208284031215611e9857600080fd5b813567ffffffffffffffff811115611eaf57600080fd5b8201601f81018413611ec057600080fd5b6119c284823560208401611a63565b600060208284031215611ee157600080fd5b5035919050565b60008060408385031215611efb57600080fd5b50508035926020909101359150565b60008151808452611f22816020860160208601612083565b601f01601f19169290920160200192915050565b60008351611f48818460208801612083565b835190830190611f5c818360208801612083565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611f9890830184611f0a565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015611fda57835183529284019291840191600101611fbe565b50909695505050505050565b602081526000610fe76020830184611f0a565b604051601f8201601f1916810167ffffffffffffffff8111828210171561202257612022612131565b604052919050565b6000821982111561203d5761203d612105565b500190565b60008261205f57634e487b7160e01b600052601260045260246000fd5b500490565b600081600019048311821515161561207e5761207e612105565b500290565b60005b8381101561209e578181015183820152602001612086565b838111156108125750506000910152565b600181811c908216806120c357607f821691505b602082108114156120e457634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156120fe576120fe612105565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610cc857600080fdfea2646970667358221220d252490099d3da38d8c8e8d5db400fcbe21da31d7054105c9943a2717c798aad64736f6c63430008070033

Deployed Bytecode Sourcemap

430:6716:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5875:462;;;;;;;;;;-1:-1:-1;5875:462:0;;;;;:::i;:::-;;:::i;:::-;;;10052:14:11;;10045:22;10027:41;;10015:2;10000:18;5875:462:0;;;;;;;;6345:144;;;;;;;;;;-1:-1:-1;6345:144:0;;;;;:::i;:::-;;:::i;:::-;;10312:100:4;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;16712:218::-;;;;;;;;;;-1:-1:-1;16712:218:4;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;8434:32:11;;;8416:51;;8404:2;8389:18;16712:218:4;8270:203:11;4765:206:0;;;;;;:::i;:::-;;:::i;6063:323:4:-;;;;;;;;;;-1:-1:-1;6337:12:4;;6124:7;6321:13;:28;6063:323;;;11982:25:11;;;11970:2;11955:18;6063:323:4;11836:177:11;4979:277:0;;;;;;:::i;:::-;;:::i;1674:442:3:-;;;;;;;;;;-1:-1:-1;1674:442:3;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;9163:32:11;;;9145:51;;9227:2;9212:18;;9205:34;;;;9118:18;1674:442:3;8971:274:11;1423:243:0;;;;;;;;;;-1:-1:-1;1423:243:0;;;;;:::i;:::-;;:::i;5264:285::-;;;;;;:::i;:::-;;:::i;570:25::-;;;;;;;;;;-1:-1:-1;570:25:0;;;;;;;;3864:104;;;;;;;;;;-1:-1:-1;3864:104:0;;;;;:::i;:::-;;:::i;2147:642::-;;;;;;;;;;-1:-1:-1;2147:642:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;647:46::-;;;;;;;;;;-1:-1:-1;647:46:0;;;;;:::i;:::-;;;;;;;;;;;;;;11705:152:4;;;;;;;;;;-1:-1:-1;11705:152:4;;;;;:::i;:::-;;:::i;511:21:0:-;;;;;;;;;;;;;:::i;7247:233:4:-;;;;;;;;;;-1:-1:-1;7247:233:4;;;;;:::i;:::-;;:::i;1884:103:9:-;;;;;;;;;;;;;:::i;2905:314:0:-;;;;;;;;;;-1:-1:-1;2905:314:0;;;;;:::i;:::-;;:::i;4211:181::-;;;;;;;;;;;;;:::i;1236:87:9:-;;;;;;;;;;-1:-1:-1;1309:6:9;;-1:-1:-1;;;;;1309:6:9;1236:87;;10488:104:4;;;;;;;;;;;;;:::i;4549:208:0:-;;;;;;;;;;-1:-1:-1;4549:208:0;;;;;:::i;:::-;;:::i;1044:316::-;;;;;;;;;;-1:-1:-1;1044:316:0;;;;;:::i;:::-;;:::i;6497:117::-;;;;;;;;;;-1:-1:-1;6497:117:0;;;;;:::i;:::-;;:::i;5557:310::-;;;;;;:::i;:::-;;:::i;4042:99::-;;;;;;;;;;-1:-1:-1;4042:99:0;;;;;:::i;:::-;;:::i;3309:472::-;;;;;;;;;;-1:-1:-1;3309:472:0;;;;;:::i;:::-;;:::i;10698:318:4:-;;;;;;;;;;-1:-1:-1;10698:318:4;;;;;:::i;:::-;;:::i;539:24:0:-;;;;;;;;;;;;;;;;17661:164:4;;;;;;;;;;-1:-1:-1;17661:164:4;;;;;:::i;:::-;-1:-1:-1;;;;;17782:25:4;;;17758:4;17782:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;17661:164;2142:201:9;;;;;;;;;;-1:-1:-1;2142:201:9;;;;;:::i;:::-;;:::i;602:36:0:-;;;;;;;;;;-1:-1:-1;602:36:0;;;;;;;;;;;1742:323;;;;;;;;;;-1:-1:-1;1742:323:0;;;;;:::i;:::-;;:::i;5875:462::-;6024:4;6249:38;6275:11;6249:25;:38::i;:::-;:80;;;;6291:38;6317:11;6291:25;:38::i;:::-;6242:87;5875:462;-1:-1:-1;;5875:462:0:o;6345:144::-;1122:13:9;:11;:13::i;:::-;6439:42:0::1;6458:8;6468:12;6439:18;:42::i;:::-;6345:144:::0;;:::o;10312:100:4:-;10366:13;10399:5;10392:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10312:100;:::o;16712:218::-;16788:7;16813:16;16821:7;16813;:16::i;:::-;16808:64;;16838:34;;-1:-1:-1;;;16838:34:4;;;;;;;;;;;16808:64;-1:-1:-1;16892:24:4;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;16892:30:4;;16712:218::o;4765:206:0:-;4905:8;3578:29:8;3598:8;3578:19;:29::i;:::-;3573:122;;6715:24:0;;;;;;;3624:59:8;;;3657:26;3674:8;3657:16;:26::i;:::-;4931:32:0::1;4945:8;4955:7;4931:13;:32::i;:::-;4765:206:::0;;;:::o;4979:277::-;5124:4;-1:-1:-1;;;;;3213:18:8;;3221:10;3213:18;3209:184;;3253:31;3273:10;3253:19;:31::i;:::-;3248:134;;6715:24:0;;;;;;;3305:61:8;;;3338:28;3355:10;3338:16;:28::i;:::-;5150:20:0::1;::::0;;;:11:::1;:20;::::0;;;;;:25;5146:54:::1;;5185:15;;-1:-1:-1::0;;;5185:15:0::1;;;;;;;;;;;5146:54;5211:37;5230:4;5236:2;5240:7;5211:18;:37::i;:::-;4979:277:::0;;;;:::o;1674:442:3:-;1771:7;1829:27;;;:17;:27;;;;;;;;1800:56;;;;;;;;;-1:-1:-1;;;;;1800:56:3;;;;;-1:-1:-1;;;1800:56:3;;;-1:-1:-1;;;;;1800:56:3;;;;;;;;1771:7;;1869:92;;-1:-1:-1;1920:29:3;;;;;;;;;1930:19;1920:29;-1:-1:-1;;;;;1920:29:3;;;;-1:-1:-1;;;1920:29:3;;-1:-1:-1;;;;;1920:29:3;;;;;1869:92;2011:23;;;;1973:21;;2482:5;;1998:36;;-1:-1:-1;;;;;1998:36:3;:10;:36;:::i;:::-;1997:58;;;;:::i;:::-;2076:16;;;-1:-1:-1;1973:82:3;;-1:-1:-1;;1674:442:3;;;;;;:::o;1423:243:0:-;1493:16;1501:7;1493;:16::i;:::-;-1:-1:-1;;;;;1479:30:0;:10;-1:-1:-1;;;;;1479:30:0;;;:55;;;;-1:-1:-1;1309:6:9;;-1:-1:-1;;;;;1309:6:9;1513:10:0;:21;;1479:55;1475:85;;;1544:16;;-1:-1:-1;;;1544:16:0;;;;;;;;;;;1475:85;1575:20;;;;:11;:20;;;;;;1571:50;;1610:11;;-1:-1:-1;;;1610:11:0;;;;;;;;;;;1571:50;1657:1;1634:20;;;:11;:20;;;;;:24;1423:243::o;5264:285::-;5413:4;-1:-1:-1;;;;;3213:18:8;;3221:10;3213:18;3209:184;;3253:31;3273:10;3253:19;:31::i;:::-;3248:134;;6715:24:0;;;;;;;3305:61:8;;;3338:28;3355:10;3338:16;:28::i;:::-;5439:20:0::1;::::0;;;:11:::1;:20;::::0;;;;;:25;5435:54:::1;;5474:15;;-1:-1:-1::0;;;5474:15:0::1;;;;;;;;;;;5435:54;5500:41;5523:4;5529:2;5533:7;5500:22;:41::i;3864:104::-:0;1122:13:9;:11;:13::i;:::-;3940:20:0;;::::1;::::0;:7:::1;::::0;:20:::1;::::0;::::1;::::0;::::1;:::i;2147:642::-:0;2203:16;2257:25;2299:16;2309:5;2299:9;:16::i;:::-;2285:31;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2285:31:0;;2257:59;;2331:19;2372:9;2367:372;6337:12:4;;6124:7;6321:13;:28;2383:1:0;:17;2367:372;;;2428:31;2462:15;2475:1;2462:12;:15::i;:::-;2428:49;;2502:9;:16;;;:48;;;-1:-1:-1;2522:14:0;;-1:-1:-1;;;;;2522:28:0;;2502:48;2498:105;;;2575:8;;;2498:105;2645:5;-1:-1:-1;;;;;2627:23:0;:9;:14;;;-1:-1:-1;;;;;2627:23:0;;2623:99;;;2701:1;2675:8;2684:13;;;;;;2675:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;2623:99;2407:332;2367:372;2402:3;;2367:372;;;-1:-1:-1;2762:8:0;;2147:642;-1:-1:-1;;;2147:642:0:o;11705:152:4:-;11777:7;11820:27;11839:7;11820:18;:27::i;511:21:0:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;7247:233:4:-;7319:7;-1:-1:-1;;;;;7343:19:4;;7339:60;;7371:28;;-1:-1:-1;;;7371:28:4;;;;;;;;;;;7339:60;-1:-1:-1;;;;;;7417:25:4;;;;;:18;:25;;;;;;1406:13;7417:55;;7247:233::o;1884:103:9:-;1122:13;:11;:13::i;:::-;1949:30:::1;1976:1;1949:18;:30::i;:::-;1884:103::o:0;2905:314:0:-;1122:13:9;:11;:13::i;:::-;3074:9:0::1;::::0;3009;;;3042:13:::1;6337:12:4::0;;6124:7;6321:13;:28;;6063:323;3042:13:0::1;:29;;;;:::i;:::-;:41;3038:64;;;3093:9;;-1:-1:-1::0;;;3093:9:0::1;;;;;;;;;;;3038:64;3120:9;3115:97;3135:20:::0;;::::1;3115:97;;;3178:22;3184:9;;3194:1;3184:12;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;3198:1;3178:5;:22::i;:::-;3157:3:::0;::::1;::::0;::::1;:::i;:::-;;;;3115:97;;4211:181:::0;1122:13:9;:11;:13::i;:::-;4283:49:0::1;::::0;4265:12:::1;::::0;4283:10:::1;::::0;4306:21:::1;::::0;4265:12;4283:49;4265:12;4283:49;4306:21;4283:10;:49:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4264:68;;;4348:7;4343:41;;4365:19;;-1:-1:-1::0;;;4365:19:0::1;;;;;;;;;;;4343:41;4253:139;4211:181::o:0;10488:104:4:-;10544:13;10577:7;10570:14;;;;;:::i;4549:208:0:-;4680:8;3578:29:8;3598:8;3578:19;:29::i;:::-;3573:122;;6715:24:0;;;;;;;3624:59:8;;;3657:26;3674:8;3657:16;:26::i;:::-;4706:43:0::1;4730:8;4740;4706:23;:43::i;1044:316::-:0;1099:13;;;;1094:46;;1122:18;;-1:-1:-1;;;1122:18:0;;;;;;;;;;;1094:46;1169:16;1177:7;1169;:16::i;:::-;-1:-1:-1;;;;;1155:30:0;:10;-1:-1:-1;;;;;1155:30:0;;;:55;;;;-1:-1:-1;1309:6:9;;-1:-1:-1;;;;;1309:6:9;1189:10:0;:21;;1155:55;1151:85;;;1220:16;;-1:-1:-1;;;1220:16:0;;;;;;;;;;;1151:85;1251:20;;;;:11;:20;;;;;;:25;1247:54;;1286:15;;-1:-1:-1;;;1286:15:0;;;;;;;;;;;1247:54;1314:20;;;;:11;:20;;;;;1337:15;1314:38;;1044:316::o;6497:117::-;1122:13:9;:11;:13::i;:::-;6574:24:0::1;:32:::0;;;::::1;;;;-1:-1:-1::0;;6574:32:0;;::::1;::::0;;;::::1;::::0;;6497:117::o;5557:310::-;5725:4;-1:-1:-1;;;;;3213:18:8;;3221:10;3213:18;3209:184;;3253:31;3273:10;3253:19;:31::i;:::-;3248:134;;6715:24:0;;;;;;;3305:61:8;;;3338:28;3355:10;3338:16;:28::i;:::-;5751:20:0::1;::::0;;;:11:::1;:20;::::0;;;;;:25;5747:54:::1;;5786:15;;-1:-1:-1::0;;;5786:15:0::1;;;;;;;;;;;5747:54;5812:47;5835:4;5841:2;5845:7;5854:4;5812:22;:47::i;:::-;5557:310:::0;;;;;:::o;4042:99::-;1122:13:9;:11;:13::i;:::-;4111::0::1;:22:::0;;-1:-1:-1;;4111:22:0::1;::::0;::::1;;::::0;;;::::1;::::0;;4042:99::o;3309:472::-;1122:13:9;:11;:13::i;:::-;3432:21:0::1;3475:9:::0;3470:106:::1;3490:21:::0;;::::1;3470:106;;;3551:10;;3562:1;3551:13;;;;;;;:::i;:::-;;;;;;;3534:30;;;;;:::i;:::-;::::0;-1:-1:-1;3513:3:0;::::1;::::0;::::1;:::i;:::-;;;;3470:106;;;;3624:9;;3608:13;3592;6337:12:4::0;;6124:7;6321:13;:28;;6063:323;3592:13:0::1;:29;;;;:::i;:::-;:41;3588:64;;;3643:9;;-1:-1:-1::0;;;3643:9:0::1;;;;;;;;;;;3588:64;3670:9;3665:109;3685:20:::0;;::::1;3665:109;;;3728:34;3734:9;;3744:1;3734:12;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;3748:10;;3759:1;3748:13;;;;;;;:::i;:::-;;;;;;;3728:5;:34::i;:::-;3707:3:::0;::::1;::::0;::::1;:::i;:::-;;;;3665:109;;;;3419:362;3309:472:::0;;;;:::o;10698:318:4:-;10771:13;10802:16;10810:7;10802;:16::i;:::-;10797:59;;10827:29;;-1:-1:-1;;;10827:29:4;;;;;;;;;;;10797:59;10869:21;10893:10;:8;:10::i;:::-;10869:34;;10927:7;10921:21;10946:1;10921:26;;:87;;;;;;;;;;;;;;;;;10974:7;10983:18;10993:7;10983:9;:18::i;:::-;10957:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;10921:87;10914:94;10698:318;-1:-1:-1;;;10698:318:4:o;2142:201:9:-;1122:13;:11;:13::i;:::-;-1:-1:-1;;;;;2231:22:9;::::1;2223:73;;;::::0;-1:-1:-1;;;2223:73:9;;10505:2:11;2223:73:9::1;::::0;::::1;10487:21:11::0;10544:2;10524:18;;;10517:30;10583:34;10563:18;;;10556:62;-1:-1:-1;;;10634:18:11;;;10627:36;10680:19;;2223:73:9::1;;;;;;;;;2307:28;2326:8;2307:18;:28::i;1742:323:0:-:0;1833:9;1828:230;1848:8;:15;1844:1;:19;1828:230;;;1885:15;1903:8;1912:1;1903:11;;;;;;;;:::i;:::-;;;;;;;1885:29;;1933:6;1929:118;;;1960:14;1966:7;1960:5;:14::i;:::-;1929:118;;;2015:16;2023:7;2015;:16::i;:::-;-1:-1:-1;1865:3:0;;;;:::i;:::-;;;;1828:230;;9410:639:4;9495:4;-1:-1:-1;;;;;;;;;9819:25:4;;;;:102;;-1:-1:-1;;;;;;;;;;9896:25:4;;;9819:102;:179;;;-1:-1:-1;;;;;;;;9973:25:4;-1:-1:-1;;;9973:25:4;;9410:639::o;1404:215:3:-;1506:4;-1:-1:-1;;;;;;1530:41:3;;-1:-1:-1;;;1530:41:3;;:81;;-1:-1:-1;;;;;;;;;;963:40:2;;;1575:36:3;854:157:2;1401:132:9;1309:6;;-1:-1:-1;;;;;1309:6:9;736:10:1;1465:23:9;1457:68;;;;-1:-1:-1;;;1457:68:9;;10912:2:11;1457:68:9;;;10894:21:11;;;10931:18;;;10924:30;10990:34;10970:18;;;10963:62;11042:18;;1457:68:9;10710:356:11;2766:332:3;2482:5;-1:-1:-1;;;;;2869:33:3;;;;2861:88;;;;-1:-1:-1;;;2861:88:3;;11273:2:11;2861:88:3;;;11255:21:11;11312:2;11292:18;;;11285:30;11351:34;11331:18;;;11324:62;-1:-1:-1;;;11402:18:11;;;11395:40;11452:19;;2861:88:3;11071:406:11;2861:88:3;-1:-1:-1;;;;;2968:22:3;;2960:60;;;;-1:-1:-1;;;2960:60:3;;11684:2:11;2960:60:3;;;11666:21:11;11723:2;11703:18;;;11696:30;11762:27;11742:18;;;11735:55;11807:18;;2960:60:3;11482:349:11;2960:60:3;3055:35;;;;;;;;;-1:-1:-1;;;;;3055:35:3;;;;;;-1:-1:-1;;;;;3055:35:3;;;;;;;;;;-1:-1:-1;;;3033:57:3;;;;:19;:57;2766:332::o;18083:282:4:-;18148:4;18238:13;;18228:7;:23;18185:153;;;;-1:-1:-1;;18289:26:4;;;;:17;:26;;;;;;-1:-1:-1;;;18289:44:4;:49;;18083:282::o;6755:386:0:-;-1:-1:-1;;;;;7070:63:0;7090:42;7070:63;;6755:386::o;3811:1359:8:-;4204:22;4198:4;4191:36;4297:9;4291:4;4284:23;4372:8;4366:4;4359:22;4549:4;4543;4537;4531;4504:25;4497:5;4486:68;4476:274;;4670:16;4664:4;4658;4643:44;4718:16;4712:4;4705:30;4476:274;5150:1;5144:4;5137:15;3811:1359;:::o;16429:124:4:-;16518:27;16527:2;16531:7;16540:4;16518:8;:27::i;20351:2825::-;20493:27;20523;20542:7;20523:18;:27::i;:::-;20493:57;;20608:4;-1:-1:-1;;;;;20567:45:4;20583:19;-1:-1:-1;;;;;20567:45:4;;20563:86;;20621:28;;-1:-1:-1;;;20621:28:4;;;;;;;;;;;20563:86;20663:27;19459:24;;;:15;:24;;;;;19687:26;;736:10:1;19084:30:4;;;-1:-1:-1;;;;;18777:28:4;;19062:20;;;19059:56;20849:180;;20942:43;20959:4;736:10:1;17661:164:4;:::i;20942:43::-;20937:92;;20994:35;;-1:-1:-1;;;20994:35:4;;;;;;;;;;;20937:92;-1:-1:-1;;;;;21046:16:4;;21042:52;;21071:23;;-1:-1:-1;;;21071:23:4;;;;;;;;;;;21042:52;21243:15;21240:160;;;21383:1;21362:19;21355:30;21240:160;-1:-1:-1;;;;;21780:24:4;;;;;;;:18;:24;;;;;;21778:26;;-1:-1:-1;;21778:26:4;;;21849:22;;;;;;;;;21847:24;;-1:-1:-1;21847:24:4;;;15531:11;15506:23;15502:41;15489:63;-1:-1:-1;;;15489:63:4;22142:26;;;;:17;:26;;;;;:175;-1:-1:-1;;;22437:47:4;;22433:627;;22542:1;22532:11;;22510:19;22665:30;;;:17;:30;;;;;;22661:384;;22803:13;;22788:11;:28;22784:242;;22950:30;;;;:17;:30;;;;;:52;;;22784:242;22491:569;22433:627;23107:7;23103:2;-1:-1:-1;;;;;23088:27:4;23097:4;-1:-1:-1;;;;;23088:27:4;;;;;;;;;;;23126:42;4979:277:0;23272:193:4;23418:39;23435:4;23441:2;23445:7;23418:39;;;;;;;;;;;;:16;:39::i;12046:166::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12157:47:4;12176:27;12195:7;12176:18;:27::i;:::-;-1:-1:-1;;;;;;;;;;;;;14781:41:4;;;;2065:3;14867:33;;;14833:68;;-1:-1:-1;;;14833:68:4;-1:-1:-1;;;14931:24:4;;:29;;-1:-1:-1;;;14912:48:4;;;;2586:3;15000:28;;;;-1:-1:-1;;;14971:58:4;-1:-1:-1;14671:366:4;12860:1712;13010:26;;;;:17;:26;;;;;;-1:-1:-1;;;13086:24:4;;13082:1423;;13225:11;13221:981;;13276:13;;13265:7;:24;13261:68;;13298:31;;-1:-1:-1;;;13298:31:4;;;;;;;;;;;13261:68;13926:257;-1:-1:-1;;;14030:9:4;14012:28;;;;:17;:28;;;;;;14098:11;14094:25;;13926:257;;14094:25;12860:1712;;;:::o;13082:1423::-;14533:31;;-1:-1:-1;;;14533:31:4;;;;;;;;;;;2503:191:9;2596:6;;;-1:-1:-1;;;;;2613:17:9;;;-1:-1:-1;;;;;;2613:17:9;;;;;;;2646:40;;2596:6;;;2613:17;2596:6;;2646:40;;2577:16;;2646:40;2566:128;2503:191;:::o;27732:2966:4:-;27805:20;27828:13;27856;27852:44;;27878:18;;-1:-1:-1;;;27878:18:4;;;;;;;;;;;27852:44;-1:-1:-1;;;;;28384:22:4;;;;;;:18;:22;;;;1544:2;28384:22;;;:71;;28422:32;28410:45;;28384:71;;;28698:31;;;:17;:31;;;;;-1:-1:-1;15962:15:4;;15936:24;15932:46;15531:11;15506:23;15502:41;15499:52;15489:63;;28698:173;;28933:23;;;;28698:31;;28384:22;;29698:25;28384:22;;29551:335;30212:1;30198:12;30194:20;30152:346;30253:3;30244:7;30241:16;30152:346;;30471:7;30461:8;30458:1;30431:25;30428:1;30425;30420:59;30306:1;30293:15;30152:346;;;-1:-1:-1;30531:13:4;30527:45;;30553:19;;-1:-1:-1;;;30553:19:4;;;;;;;;;;;30527:45;30589:13;:19;-1:-1:-1;4765:206:0;;;:::o;17270:234:4:-;736:10:1;17365:39:4;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;17365:49:4;;;;;;;;;;;;:60;;-1:-1:-1;;17365:60:4;;;;;;;;;;17441:55;;10027:41:11;;;17365:49:4;;736:10:1;17441:55:4;;10000:18:11;17441:55:4;;;;;;;17270:234;;:::o;24063:407::-;24238:31;24251:4;24257:2;24261:7;24238:12;:31::i;:::-;-1:-1:-1;;;;;24284:14:4;;;:19;24280:183;;24323:56;24354:4;24360:2;24364:7;24373:5;24323:30;:56::i;:::-;24318:145;;24407:40;;-1:-1:-1;;;24407:40:4;;;;;;;;;;;4433:108:0;4493:13;4526:7;4519:14;;;;;:::i;41896:1745:4:-;41961:17;42395:4;42388;42382:11;42378:22;42487:1;42481:4;42474:15;42562:4;42559:1;42555:12;42548:19;;;42644:1;42639:3;42632:14;42748:3;42987:5;42969:428;43035:1;43030:3;43026:11;43019:18;;43206:2;43200:4;43196:13;43192:2;43188:22;43183:3;43175:36;43300:2;43290:13;;;43357:25;;43375:5;;43357:25;42969:428;;;-1:-1:-1;43427:13:4;;;-1:-1:-1;;43542:14:4;;;43604:19;;;43542:14;41896:1745;-1:-1:-1;41896:1745:4:o;35141:492::-;35270:13;35286:16;35294:7;35286;:16::i;:::-;35270:32;;35319:13;35315:219;;;736:10:1;-1:-1:-1;;;;;35351:28:4;;;35347:187;;35403:44;35420:5;736:10:1;17661:164:4;:::i;35403:44::-;35398:136;;35479:35;;-1:-1:-1;;;35479:35:4;;;;;;;;;;;35398:136;35546:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;35546:35:4;-1:-1:-1;;;;;35546:35:4;;;;;;;;;35597:28;;35546:24;;35597:28;;;;;;;35259:374;35141:492;;;:::o;26554:716::-;26738:88;;-1:-1:-1;;;26738:88:4;;26717:4;;-1:-1:-1;;;;;26738:45:4;;;;;:88;;736:10:1;;26805:4:4;;26811:7;;26820:5;;26738:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;26738:88:4;;;;;;;;-1:-1:-1;;26738:88:4;;;;;;;;;;;;:::i;:::-;;;26734:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;27021:13:4;;27017:235;;27067:40;;-1:-1:-1;;;27067:40:4;;;;;;;;;;;27017:235;27210:6;27204:13;27195:6;27191:2;27187:15;27180:38;26734:529;-1:-1:-1;;;;;;26897:64:4;-1:-1:-1;;;26897:64:4;;-1:-1:-1;26734:529:4;26554:716;;;;;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:406:11;78:5;112:18;104:6;101:30;98:56;;;134:18;;:::i;:::-;172:57;217:2;196:15;;-1:-1:-1;;192:29:11;223:4;188:40;172:57;:::i;:::-;163:66;;252:6;245:5;238:21;292:3;283:6;278:3;274:16;271:25;268:45;;;309:1;306;299:12;268:45;358:6;353:3;346:4;339:5;335:16;322:43;412:1;405:4;396:6;389:5;385:18;381:29;374:40;14:406;;;;;:::o;425:173::-;493:20;;-1:-1:-1;;;;;542:31:11;;532:42;;522:70;;588:1;585;578:12;603:367;666:8;676:6;730:3;723:4;715:6;711:17;707:27;697:55;;748:1;745;738:12;697:55;-1:-1:-1;771:20:11;;814:18;803:30;;800:50;;;846:1;843;836:12;800:50;883:4;875:6;871:17;859:29;;943:3;936:4;926:6;923:1;919:14;911:6;907:27;903:38;900:47;897:67;;;960:1;957;950:12;975:160;1040:20;;1096:13;;1089:21;1079:32;;1069:60;;1125:1;1122;1115:12;1140:186;1199:6;1252:2;1240:9;1231:7;1227:23;1223:32;1220:52;;;1268:1;1265;1258:12;1220:52;1291:29;1310:9;1291:29;:::i;1331:260::-;1399:6;1407;1460:2;1448:9;1439:7;1435:23;1431:32;1428:52;;;1476:1;1473;1466:12;1428:52;1499:29;1518:9;1499:29;:::i;:::-;1489:39;;1547:38;1581:2;1570:9;1566:18;1547:38;:::i;:::-;1537:48;;1331:260;;;;;:::o;1596:328::-;1673:6;1681;1689;1742:2;1730:9;1721:7;1717:23;1713:32;1710:52;;;1758:1;1755;1748:12;1710:52;1781:29;1800:9;1781:29;:::i;:::-;1771:39;;1829:38;1863:2;1852:9;1848:18;1829:38;:::i;:::-;1819:48;;1914:2;1903:9;1899:18;1886:32;1876:42;;1596:328;;;;;:::o;1929:666::-;2024:6;2032;2040;2048;2101:3;2089:9;2080:7;2076:23;2072:33;2069:53;;;2118:1;2115;2108:12;2069:53;2141:29;2160:9;2141:29;:::i;:::-;2131:39;;2189:38;2223:2;2212:9;2208:18;2189:38;:::i;:::-;2179:48;;2274:2;2263:9;2259:18;2246:32;2236:42;;2329:2;2318:9;2314:18;2301:32;2356:18;2348:6;2345:30;2342:50;;;2388:1;2385;2378:12;2342:50;2411:22;;2464:4;2456:13;;2452:27;-1:-1:-1;2442:55:11;;2493:1;2490;2483:12;2442:55;2516:73;2581:7;2576:2;2563:16;2558:2;2554;2550:11;2516:73;:::i;:::-;2506:83;;;1929:666;;;;;;;:::o;2600:254::-;2665:6;2673;2726:2;2714:9;2705:7;2701:23;2697:32;2694:52;;;2742:1;2739;2732:12;2694:52;2765:29;2784:9;2765:29;:::i;:::-;2755:39;;2813:35;2844:2;2833:9;2829:18;2813:35;:::i;2859:254::-;2927:6;2935;2988:2;2976:9;2967:7;2963:23;2959:32;2956:52;;;3004:1;3001;2994:12;2956:52;3027:29;3046:9;3027:29;:::i;:::-;3017:39;3103:2;3088:18;;;;3075:32;;-1:-1:-1;;;2859:254:11:o;3118:366::-;3185:6;3193;3246:2;3234:9;3225:7;3221:23;3217:32;3214:52;;;3262:1;3259;3252:12;3214:52;3285:29;3304:9;3285:29;:::i;:::-;3275:39;;3364:2;3353:9;3349:18;3336:32;-1:-1:-1;;;;;3401:5:11;3397:38;3390:5;3387:49;3377:77;;3450:1;3447;3440:12;3377:77;3473:5;3463:15;;;3118:366;;;;;:::o;3489:437::-;3575:6;3583;3636:2;3624:9;3615:7;3611:23;3607:32;3604:52;;;3652:1;3649;3642:12;3604:52;3692:9;3679:23;3725:18;3717:6;3714:30;3711:50;;;3757:1;3754;3747:12;3711:50;3796:70;3858:7;3849:6;3838:9;3834:22;3796:70;:::i;:::-;3885:8;;3770:96;;-1:-1:-1;3489:437:11;-1:-1:-1;;;;3489:437:11:o;3931:773::-;4053:6;4061;4069;4077;4130:2;4118:9;4109:7;4105:23;4101:32;4098:52;;;4146:1;4143;4136:12;4098:52;4186:9;4173:23;4215:18;4256:2;4248:6;4245:14;4242:34;;;4272:1;4269;4262:12;4242:34;4311:70;4373:7;4364:6;4353:9;4349:22;4311:70;:::i;:::-;4400:8;;-1:-1:-1;4285:96:11;-1:-1:-1;4488:2:11;4473:18;;4460:32;;-1:-1:-1;4504:16:11;;;4501:36;;;4533:1;4530;4523:12;4501:36;;4572:72;4636:7;4625:8;4614:9;4610:24;4572:72;:::i;:::-;3931:773;;;;-1:-1:-1;4663:8:11;-1:-1:-1;;;;3931:773:11:o;4709:1027::-;4799:6;4807;4860:2;4848:9;4839:7;4835:23;4831:32;4828:52;;;4876:1;4873;4866:12;4828:52;4916:9;4903:23;4945:18;4986:2;4978:6;4975:14;4972:34;;;5002:1;4999;4992:12;4972:34;5040:6;5029:9;5025:22;5015:32;;5085:7;5078:4;5074:2;5070:13;5066:27;5056:55;;5107:1;5104;5097:12;5056:55;5143:2;5130:16;5165:4;5188:2;5184;5181:10;5178:36;;;5194:18;;:::i;:::-;5240:2;5237:1;5233:10;5223:20;;5263:28;5287:2;5283;5279:11;5263:28;:::i;:::-;5325:15;;;5356:12;;;;5388:11;;;5418;;;5414:20;;5411:33;-1:-1:-1;5408:53:11;;;5457:1;5454;5447:12;5408:53;5479:1;5470:10;;5489:163;5503:2;5500:1;5497:9;5489:163;;;5560:17;;5548:30;;5521:1;5514:9;;;;;5598:12;;;;5630;;5489:163;;;-1:-1:-1;5671:5:11;-1:-1:-1;5695:35:11;;-1:-1:-1;5711:18:11;;;5695:35;:::i;:::-;5685:45;;;;;;4709:1027;;;;;:::o;5741:180::-;5797:6;5850:2;5838:9;5829:7;5825:23;5821:32;5818:52;;;5866:1;5863;5856:12;5818:52;5889:26;5905:9;5889:26;:::i;5926:245::-;5984:6;6037:2;6025:9;6016:7;6012:23;6008:32;6005:52;;;6053:1;6050;6043:12;6005:52;6092:9;6079:23;6111:30;6135:5;6111:30;:::i;6176:249::-;6245:6;6298:2;6286:9;6277:7;6273:23;6269:32;6266:52;;;6314:1;6311;6304:12;6266:52;6346:9;6340:16;6365:30;6389:5;6365:30;:::i;6430:450::-;6499:6;6552:2;6540:9;6531:7;6527:23;6523:32;6520:52;;;6568:1;6565;6558:12;6520:52;6608:9;6595:23;6641:18;6633:6;6630:30;6627:50;;;6673:1;6670;6663:12;6627:50;6696:22;;6749:4;6741:13;;6737:27;-1:-1:-1;6727:55:11;;6778:1;6775;6768:12;6727:55;6801:73;6866:7;6861:2;6848:16;6843:2;6839;6835:11;6801:73;:::i;6885:180::-;6944:6;6997:2;6985:9;6976:7;6972:23;6968:32;6965:52;;;7013:1;7010;7003:12;6965:52;-1:-1:-1;7036:23:11;;6885:180;-1:-1:-1;6885:180:11:o;7070:248::-;7138:6;7146;7199:2;7187:9;7178:7;7174:23;7170:32;7167:52;;;7215:1;7212;7205:12;7167:52;-1:-1:-1;;7238:23:11;;;7308:2;7293:18;;;7280:32;;-1:-1:-1;7070:248:11:o;7323:257::-;7364:3;7402:5;7396:12;7429:6;7424:3;7417:19;7445:63;7501:6;7494:4;7489:3;7485:14;7478:4;7471:5;7467:16;7445:63;:::i;:::-;7562:2;7541:15;-1:-1:-1;;7537:29:11;7528:39;;;;7569:4;7524:50;;7323:257;-1:-1:-1;;7323:257:11:o;7585:470::-;7764:3;7802:6;7796:13;7818:53;7864:6;7859:3;7852:4;7844:6;7840:17;7818:53;:::i;:::-;7934:13;;7893:16;;;;7956:57;7934:13;7893:16;7990:4;7978:17;;7956:57;:::i;:::-;8029:20;;7585:470;-1:-1:-1;;;;7585:470:11:o;8478:488::-;-1:-1:-1;;;;;8747:15:11;;;8729:34;;8799:15;;8794:2;8779:18;;8772:43;8846:2;8831:18;;8824:34;;;8894:3;8889:2;8874:18;;8867:31;;;8672:4;;8915:45;;8940:19;;8932:6;8915:45;:::i;:::-;8907:53;8478:488;-1:-1:-1;;;;;;8478:488:11:o;9250:632::-;9421:2;9473:21;;;9543:13;;9446:18;;;9565:22;;;9392:4;;9421:2;9644:15;;;;9618:2;9603:18;;;9392:4;9687:169;9701:6;9698:1;9695:13;9687:169;;;9762:13;;9750:26;;9831:15;;;;9796:12;;;;9723:1;9716:9;9687:169;;;-1:-1:-1;9873:3:11;;9250:632;-1:-1:-1;;;;;;9250:632:11:o;10079:219::-;10228:2;10217:9;10210:21;10191:4;10248:44;10288:2;10277:9;10273:18;10265:6;10248:44;:::i;12018:275::-;12089:2;12083:9;12154:2;12135:13;;-1:-1:-1;;12131:27:11;12119:40;;12189:18;12174:34;;12210:22;;;12171:62;12168:88;;;12236:18;;:::i;:::-;12272:2;12265:22;12018:275;;-1:-1:-1;12018:275:11:o;12298:128::-;12338:3;12369:1;12365:6;12362:1;12359:13;12356:39;;;12375:18;;:::i;:::-;-1:-1:-1;12411:9:11;;12298:128::o;12431:217::-;12471:1;12497;12487:132;;12541:10;12536:3;12532:20;12529:1;12522:31;12576:4;12573:1;12566:15;12604:4;12601:1;12594:15;12487:132;-1:-1:-1;12633:9:11;;12431:217::o;12653:168::-;12693:7;12759:1;12755;12751:6;12747:14;12744:1;12741:21;12736:1;12729:9;12722:17;12718:45;12715:71;;;12766:18;;:::i;:::-;-1:-1:-1;12806:9:11;;12653:168::o;12826:258::-;12898:1;12908:113;12922:6;12919:1;12916:13;12908:113;;;12998:11;;;12992:18;12979:11;;;12972:39;12944:2;12937:10;12908:113;;;13039:6;13036:1;13033:13;13030:48;;;-1:-1:-1;;13074:1:11;13056:16;;13049:27;12826:258::o;13089:380::-;13168:1;13164:12;;;;13211;;;13232:61;;13286:4;13278:6;13274:17;13264:27;;13232:61;13339:2;13331:6;13328:14;13308:18;13305:38;13302:161;;;13385:10;13380:3;13376:20;13373:1;13366:31;13420:4;13417:1;13410:15;13448:4;13445:1;13438:15;13302:161;;13089:380;;;:::o;13474:135::-;13513:3;-1:-1:-1;;13534:17:11;;13531:43;;;13554:18;;:::i;:::-;-1:-1:-1;13601:1:11;13590:13;;13474:135::o;13614:127::-;13675:10;13670:3;13666:20;13663:1;13656:31;13706:4;13703:1;13696:15;13730:4;13727:1;13720:15;13746:127;13807:10;13802:3;13798:20;13795:1;13788:31;13838:4;13835:1;13828:15;13862:4;13859:1;13852:15;13878:127;13939:10;13934:3;13930:20;13927:1;13920:31;13970:4;13967:1;13960:15;13994:4;13991:1;13984:15;14010:131;-1:-1:-1;;;;;;14084:32:11;;14074:43;;14064:71;;14131:1;14128;14121:12

Swarm Source

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