ETH Price: $3,242.92 (-0.52%)
Gas: 2 Gwei

Token

Cats (CATS)
 

Overview

Max Total Supply

444 CATS

Holders

217

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Balance
2 CATS
0xe84de40b97f1667877bffb514c8b87b47d4c2f22
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:
Cats

Compiler Version
v0.8.16+commit.07a7930e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 14 : catsonai.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.16;

import "erc721a/contracts/extensions/ERC721AQueryable.sol";
import "@openzeppelin/contracts/token/common/ERC2981.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "./OperatorFilter/DefaultOperatorFilterer.sol";

error Reverts(uint8 code);

contract Cats is 
    ERC721AQueryable,
    Ownable,
    ERC2981,
    DefaultOperatorFilterer
{

    bool public isRevealed = false;
    uint256 public collectionSize;
    uint256 public maxBatchSize;
    uint256 public amountForDevs;
    uint256 private withdrawnSoFar;

    struct PublicSaleConfig {
        uint32 startTime;
        uint64 price;
        uint64 maxPerAddress;
    }

    PublicSaleConfig public publicSaleConfig;

    string private _baseTokenURI;
    string private _defaultTokenURI;

    event PausedX();
    event UnpausedX();
    event PublicSaleActivated(uint32 publicSaleStartTime_, uint64 publicSalePriceWei_, uint64 maxPerAddressDuringPublicSaleMint);
    event Mint(address indexed to, uint256 quantity, uint256 totalSupply);
    event RevealSet(bool status);
    event BaseUriSet(string baseTokenUri_);
    event DefaultTokenUriSet(string DefaultTokenUri_);
    event CollectionSizeSet(uint256 size_);
    event FundsWithdrawn(uint256 toDonation, uint256 txToThirty, uint256 txToOwner);

    constructor(
        uint256 collectionSize_,
        uint256 maxBatchSize_,
        uint256 amountForDevs_,
        string memory defaultTokenURI_
    ) ERC721A("Cats", "CATS") {
        collectionSize = collectionSize_;
        maxBatchSize = maxBatchSize_;
        amountForDevs = amountForDevs_;
        _defaultTokenURI = defaultTokenURI_;
    }

    modifier callerIsUser() {
        if (tx.origin != msg.sender) {
            revert Reverts(1);
        }
        _;
    }

    function refundIfOver(uint256 price) private {
        if (msg.value < price) {
            revert Reverts(2);
        }

        if (msg.value > price) {
            payable(msg.sender).transfer(msg.value - price);
        }
    }

    function supportsInterface(bytes4 interfaceId)
        public
        view
        virtual
        override(IERC721A, ERC721A, ERC2981)
        returns (bool)
    {
        return
            ERC721A.supportsInterface(interfaceId) ||
            ERC2981.supportsInterface(interfaceId);  
    }

    function devMint(uint256 quantity) external onlyOwner {
        if (quantity % maxBatchSize != 0) {
            // revert IncompatibleBatchSize();
            revert Reverts(6);
        }
        
        uint256 numChunks = quantity / maxBatchSize;
        for(uint256 i = 0; i < numChunks; i++) {
        _safeMint(msg.sender, maxBatchSize);
        }
    }

    function startPublicSale(
        uint32 publicSaleStartTime,
        uint64 publicSalePriceWei,
        uint64 maxPerAddressDuringPublicSaleMint
    ) external onlyOwner {
        publicSaleConfig.startTime = publicSaleStartTime;
        publicSaleConfig.price = publicSalePriceWei;
        publicSaleConfig.maxPerAddress = maxPerAddressDuringPublicSaleMint;
        emit PublicSaleActivated(publicSaleConfig.startTime, publicSaleConfig.price, publicSaleConfig.maxPerAddress);
    }    

    function publicSaleMint(uint64 quantity)
        external
        payable
        callerIsUser       
    {
        uint256 price = uint256(publicSaleConfig.price);
        uint256 startTime = uint256(publicSaleConfig.startTime);
        uint64 maxPerAddress = publicSaleConfig.maxPerAddress;

        //if (price == 0) {
        //    revert Reverts(7);
        //}
        if (startTime == 0 || block.timestamp < startTime) {
            revert Reverts(7);
        }
        
        if (totalSupply() + quantity > collectionSize) {
            revert Reverts(4);
        }

        if (_numberMinted(_msgSender()) - _getAux(_msgSender()) + quantity > maxPerAddress) {
            revert Reverts(8);
        }
        
        _safeMint(msg.sender, quantity);
        refundIfOver(price * quantity);
        emit Mint(msg.sender, quantity, totalSupply());
    }
        
    function setIsRevealed(bool val) external onlyOwner {
        isRevealed = val;
        emit RevealSet(isRevealed);
    }

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

    function tokenURI(uint256 tokenId)
        public
        view
        override(ERC721A, IERC721A)
        returns (string memory)
    {
        if (isRevealed) {
        return super.tokenURI(tokenId);
        }

        require(tokenId <= totalSupply(), "token not exist");
        return _defaultTokenURI;
    }

    function setBaseURI(string calldata baseURI) external onlyOwner {
        _baseTokenURI = baseURI;
        emit BaseUriSet(_baseTokenURI);
    }
        
    function setDefaultTokenURI(string calldata uri) external onlyOwner {
        _defaultTokenURI = uri; 
        emit DefaultTokenUriSet(_defaultTokenURI);
    }

    function setCollectionSize(uint256 size) external onlyOwner {
        collectionSize = size;
        emit CollectionSizeSet(collectionSize);
    }

    function getContractStatus() external view returns (uint32, uint64, uint64) {
        return (publicSaleConfig.startTime, publicSaleConfig.price, publicSaleConfig.maxPerAddress);
    }

    function getTokenInfo() external view returns (string memory, string memory) {
        return (_baseTokenURI, _defaultTokenURI);
    }

    function totalFunds() external view returns (uint256, uint256) {
        return (address(this).balance, withdrawnSoFar);
    }

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

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

    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public payable override(IERC721A, ERC721A) onlyAllowedOperator(from) {
        super.transferFrom(from, to, tokenId);
    }

    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public payable override(IERC721A, ERC721A) onlyAllowedOperator(from) {
        super.safeTransferFrom(from, to, tokenId);
    }

    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory data
    ) public payable override(IERC721A, ERC721A) onlyAllowedOperator(from) {
        super.safeTransferFrom(from, to, tokenId, data);
    }

    function withdrawMoney() external onlyOwner {
        address  donationWallet = 0x55ff9A7741185166956344F840417A38AaFCb84F;
        address  developersWallet = 0x55ff9A7741185166956344F840417A38AaFCb84F;
            
        uint256 donationAmount = address(this).balance * 1/100;
        uint256 developersAmount = address(this).balance * 30/100;
            
        payable(donationWallet).transfer(donationAmount);      
        payable(developersWallet).transfer(developersAmount);
            
        uint256 balanceB4Tx = address(this).balance;
        payable(msg.sender).transfer(address(this).balance);
        withdrawnSoFar += donationAmount + developersAmount + balanceB4Tx;
        emit FundsWithdrawn(donationAmount, developersAmount, balanceB4Tx);
    }

}

File 2 of 14 : DefaultOperatorFilterer.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

import {OperatorFilterer} from "./OperatorFilterer.sol";

abstract contract DefaultOperatorFilterer is OperatorFilterer {
    address constant DEFAULT_SUBSCRIPTION = address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6);

    constructor() OperatorFilterer(DEFAULT_SUBSCRIPTION, true) {}
}

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

pragma solidity ^0.8.0;

import "../utils/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 4 of 14 : ERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/common/ERC2981.sol)

pragma solidity ^0.8.0;

import "../../interfaces/IERC2981.sol";
import "../../utils/introspection/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 14 : ERC721AQueryable.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.3
// Creator: Chiru Labs

pragma solidity ^0.8.4;

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

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

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

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

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

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

pragma solidity ^0.8.4;

import './IERC721A.sol';

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        return _tokenApprovals[tokenId].value;
    }

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            uint256 toMasked;
            uint256 end = startTokenId + quantity;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        address from = address(uint160(prevOwnershipPacked));

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Returns the message sender (defaults to `msg.sender`).
     *
     * If you are writing GSN compatible contracts, you need to override this function.
     */
    function _msgSenderERC721A() internal view virtual returns (address) {
        return msg.sender;
    }

    /**
     * @dev Converts a uint256 to its ASCII string decimal representation.
     */
    function _toString(uint256 value) internal pure virtual returns (string memory str) {
        assembly {
            // The maximum value of a uint256 contains 78 digits (1 byte per digit), but
            // we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned.
            // We will need 1 word for the trailing zeros padding, 1 word for the length,
            // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0.
            let m := add(mload(0x40), 0xa0)
            // Update the free memory pointer to allocate.
            mstore(0x40, m)
            // Assign the `str` to the end.
            str := sub(m, 0x20)
            // Zeroize the slot after the string.
            mstore(str, 0)

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

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

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

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

pragma solidity ^0.8.4;

import '../IERC721A.sol';

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

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

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

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

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

File 8 of 14 : OperatorFilterer.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

import {IOperatorFilterRegistry} from "./IOperatorFilterRegistry.sol";

/**
 * @title  OperatorFilterer
 * @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another
 *         registrant's entries in the OperatorFilterRegistry.
 * @dev    This smart contract is meant to be inherited by token contracts so they can use the following:
 *         - `onlyAllowedOperator` modifier for `transferFrom` and `safeTransferFrom` methods.
 *         - `onlyAllowedOperatorApproval` modifier for `approve` and `setApprovalForAll` methods.
 */
abstract contract OperatorFilterer {
    error OperatorNotAllowed(address operator);

    IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY =
        IOperatorFilterRegistry(0x000000000000AAeB6D7670E522A718067333cd4E);

    constructor(address subscriptionOrRegistrantToCopy, bool subscribe) {
        // If an inheriting token contract is deployed to a network without the registry deployed, the modifier
        // will not revert, but the contract will need to be registered with the registry once it is deployed in
        // order for the modifier to filter addresses.
        if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) {
            if (subscribe) {
                OPERATOR_FILTER_REGISTRY.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy);
            } else {
                if (subscriptionOrRegistrantToCopy != address(0)) {
                    OPERATOR_FILTER_REGISTRY.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy);
                } else {
                    OPERATOR_FILTER_REGISTRY.register(address(this));
                }
            }
        }
    }

    modifier onlyAllowedOperator(address from) virtual {
        // Allow spending tokens from addresses with balance
        // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred
        // from an EOA.
        if (from != msg.sender) {
            _checkFilterOperator(msg.sender);
        }
        _;
    }

    modifier onlyAllowedOperatorApproval(address operator) virtual {
        _checkFilterOperator(operator);
        _;
    }

    function _checkFilterOperator(address operator) internal view virtual {
        // Check registry code length to facilitate testing in environments without a deployed registry.
        if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) {
            if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), operator)) {
                revert OperatorNotAllowed(operator);
            }
        }
    }
}

File 9 of 14 : 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 10 of 14 : IERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol)

pragma solidity ^0.8.0;

import "../utils/introspection/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 11 of 14 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

File 12 of 14 : 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 13 of 14 : IOperatorFilterRegistry.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

interface IOperatorFilterRegistry {
    function isOperatorAllowed(address registrant, address operator) external view returns (bool);
    function register(address registrant) external;
    function registerAndSubscribe(address registrant, address subscription) external;
    function registerAndCopyEntries(address registrant, address registrantToCopy) external;
    function updateOperator(address registrant, address operator, bool filtered) external;
    function updateOperators(address registrant, address[] calldata operators, bool filtered) external;
    function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external;
    function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external;
    function subscribe(address registrant, address registrantToSubscribe) external;
    function unsubscribe(address registrant, bool copyExistingEntries) external;
    function subscriptionOf(address addr) external returns (address registrant);
    function subscribers(address registrant) external returns (address[] memory);
    function subscriberAt(address registrant, uint256 index) external returns (address);
    function copyEntriesOf(address registrant, address registrantToCopy) external;
    function isOperatorFiltered(address registrant, address operator) external returns (bool);
    function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool);
    function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool);
    function filteredOperators(address addr) external returns (address[] memory);
    function filteredCodeHashes(address addr) external returns (bytes32[] memory);
    function filteredOperatorAt(address registrant, uint256 index) external returns (address);
    function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32);
    function isRegistered(address addr) external returns (bool);
    function codeHashOf(address addr) external returns (bytes32);
}

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

pragma solidity ^0.8.0;

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

Settings
{
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"uint256","name":"collectionSize_","type":"uint256"},{"internalType":"uint256","name":"maxBatchSize_","type":"uint256"},{"internalType":"uint256","name":"amountForDevs_","type":"uint256"},{"internalType":"string","name":"defaultTokenURI_","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"InvalidQueryRange","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[{"internalType":"uint8","name":"code","type":"uint8"}],"name":"Reverts","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"baseTokenUri_","type":"string"}],"name":"BaseUriSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"size_","type":"uint256"}],"name":"CollectionSizeSet","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":false,"internalType":"string","name":"DefaultTokenUri_","type":"string"}],"name":"DefaultTokenUriSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"toDonation","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"txToThirty","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"txToOwner","type":"uint256"}],"name":"FundsWithdrawn","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"quantity","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"totalSupply","type":"uint256"}],"name":"Mint","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":[],"name":"PausedX","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint32","name":"publicSaleStartTime_","type":"uint32"},{"indexed":false,"internalType":"uint64","name":"publicSalePriceWei_","type":"uint64"},{"indexed":false,"internalType":"uint64","name":"maxPerAddressDuringPublicSaleMint","type":"uint64"}],"name":"PublicSaleActivated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"status","type":"bool"}],"name":"RevealSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[],"name":"UnpausedX","type":"event"},{"inputs":[],"name":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"amountForDevs","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"collectionSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"devMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"explicitOwnershipOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"explicitOwnershipsOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getContractStatus","outputs":[{"internalType":"uint32","name":"","type":"uint32"},{"internalType":"uint64","name":"","type":"uint64"},{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTokenInfo","outputs":[{"internalType":"string","name":"","type":"string"},{"internalType":"string","name":"","type":"string"}],"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":"isRevealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxBatchSize","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":"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":"publicSaleConfig","outputs":[{"internalType":"uint32","name":"startTime","type":"uint32"},{"internalType":"uint64","name":"price","type":"uint64"},{"internalType":"uint64","name":"maxPerAddress","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint64","name":"quantity","type":"uint64"}],"name":"publicSaleMint","outputs":[],"stateMutability":"payable","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":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"size","type":"uint256"}],"name":"setCollectionSize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri","type":"string"}],"name":"setDefaultTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"val","type":"bool"}],"name":"setIsRevealed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"publicSaleStartTime","type":"uint32"},{"internalType":"uint64","name":"publicSalePriceWei","type":"uint64"},{"internalType":"uint64","name":"maxPerAddressDuringPublicSaleMint","type":"uint64"}],"name":"startPublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"start","type":"uint256"},{"internalType":"uint256","name":"stop","type":"uint256"}],"name":"tokensOfOwnerIn","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalFunds","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"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":[],"name":"withdrawMoney","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526000600b60006101000a81548160ff0219169083151502179055503480156200002c57600080fd5b5060405162005590380380620055908339818101604052810190620000529190620005fa565b733cc6cdda760b79bafa08df41ecfa224f810dceb660016040518060400160405280600481526020017f43617473000000000000000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f43415453000000000000000000000000000000000000000000000000000000008152508160029081620000e69190620008cc565b508060039081620000f89190620008cc565b50620001096200035960201b60201c565b600081905550505062000131620001256200035e60201b60201c565b6200036660201b60201c565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b111562000326578015620001ec576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16637d3e3dbe30846040518363ffffffff1660e01b8152600401620001b2929190620009f8565b600060405180830381600087803b158015620001cd57600080fd5b505af1158015620001e2573d6000803e3d6000fd5b5050505062000325565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614620002a6576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663a0af290330846040518363ffffffff1660e01b81526004016200026c929190620009f8565b600060405180830381600087803b1580156200028757600080fd5b505af11580156200029c573d6000803e3d6000fd5b5050505062000324565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16634420e486306040518263ffffffff1660e01b8152600401620002ef919062000a25565b600060405180830381600087803b1580156200030a57600080fd5b505af11580156200031f573d6000803e3d6000fd5b505050505b5b5b505083600c8190555082600d8190555081600e8190555080601290816200034e9190620008cc565b505050505062000a42565b600090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000604051905090565b600080fd5b600080fd5b6000819050919050565b620004558162000440565b81146200046157600080fd5b50565b60008151905062000475816200044a565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620004d08262000485565b810181811067ffffffffffffffff82111715620004f257620004f162000496565b5b80604052505050565b6000620005076200042c565b9050620005158282620004c5565b919050565b600067ffffffffffffffff82111562000538576200053762000496565b5b620005438262000485565b9050602081019050919050565b60005b838110156200057057808201518184015260208101905062000553565b60008484015250505050565b6000620005936200058d846200051a565b620004fb565b905082815260208101848484011115620005b257620005b162000480565b5b620005bf84828562000550565b509392505050565b600082601f830112620005df57620005de6200047b565b5b8151620005f18482602086016200057c565b91505092915050565b6000806000806080858703121562000617576200061662000436565b5b6000620006278782880162000464565b94505060206200063a8782880162000464565b93505060406200064d8782880162000464565b925050606085015167ffffffffffffffff8111156200067157620006706200043b565b5b6200067f87828801620005c7565b91505092959194509250565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620006de57607f821691505b602082108103620006f457620006f362000696565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026200075e7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826200071f565b6200076a86836200071f565b95508019841693508086168417925050509392505050565b6000819050919050565b6000620007ad620007a7620007a18462000440565b62000782565b62000440565b9050919050565b6000819050919050565b620007c9836200078c565b620007e1620007d882620007b4565b8484546200072c565b825550505050565b600090565b620007f8620007e9565b62000805818484620007be565b505050565b5b818110156200082d5762000821600082620007ee565b6001810190506200080b565b5050565b601f8211156200087c576200084681620006fa565b62000851846200070f565b8101602085101562000861578190505b6200087962000870856200070f565b8301826200080a565b50505b505050565b600082821c905092915050565b6000620008a16000198460080262000881565b1980831691505092915050565b6000620008bc83836200088e565b9150826002028217905092915050565b620008d7826200068b565b67ffffffffffffffff811115620008f357620008f262000496565b5b620008ff8254620006c5565b6200090c82828562000831565b600060209050601f8311600181146200094457600084156200092f578287015190505b6200093b8582620008ae565b865550620009ab565b601f1984166200095486620006fa565b60005b828110156200097e5784890151825560018201915060208501945060208101905062000957565b868310156200099e57848901516200099a601f8916826200088e565b8355505b6001600288020188555050505b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620009e082620009b3565b9050919050565b620009f281620009d3565b82525050565b600060408201905062000a0f6000830185620009e7565b62000a1e6020830184620009e7565b9392505050565b600060208201905062000a3c6000830184620009e7565b92915050565b614b3e8062000a526000396000f3fe6080604052600436106102305760003560e01c80638462151c1161012e578063ac446002116100ab578063c87b56dd1161006f578063c87b56dd14610822578063d63dd7011461085f578063e985e9c51461087b578063f2fde38b146108b8578063fbe1aa51146108e157610230565b8063ac4460021461075c578063aca8ffe714610773578063b88d4fde1461079c578063c032846b146107b8578063c23dc68f146107e557610230565b806399a2557a116100f257806399a2557a14610674578063a125c824146106b1578063a22cb465146106da578063a3fd2c4414610703578063abb1dc441461073057610230565b80638462151c1461058c5780638da5cb5b146105c957806395d89b41146105f4578063962265511461061f578063968ed6001461064857610230565b806341f43434116101bc57806355f804b31161018057806355f804b3146104955780635bbb2177146104be5780636352211e146104fb57806370a0823114610538578063715018a61461057557610230565b806341f43434146103cf57806342842e0e146103fa57806345c0f5331461041657806349a5980a1461044157806354214f691461046a57610230565b806318160ddd1161020357806318160ddd146102f657806323b872dd146103215780632913daa01461033d5780632a55205a14610368578063375a069a146103a657610230565b806301ffc9a71461023557806306fdde0314610272578063081812fc1461029d578063095ea7b3146102da575b600080fd5b34801561024157600080fd5b5061025c6004803603810190610257919061335f565b61090c565b60405161026991906133a7565b60405180910390f35b34801561027e57600080fd5b5061028761092e565b6040516102949190613452565b60405180910390f35b3480156102a957600080fd5b506102c460048036038101906102bf91906134aa565b6109c0565b6040516102d19190613518565b60405180910390f35b6102f460048036038101906102ef919061355f565b610a3f565b005b34801561030257600080fd5b5061030b610a58565b60405161031891906135ae565b60405180910390f35b61033b600480360381019061033691906135c9565b610a6f565b005b34801561034957600080fd5b50610352610abe565b60405161035f91906135ae565b60405180910390f35b34801561037457600080fd5b5061038f600480360381019061038a919061361c565b610ac4565b60405161039d92919061365c565b60405180910390f35b3480156103b257600080fd5b506103cd60048036038101906103c891906134aa565b610cae565b005b3480156103db57600080fd5b506103e4610d4a565b6040516103f191906136e4565b60405180910390f35b610414600480360381019061040f91906135c9565b610d5c565b005b34801561042257600080fd5b5061042b610dab565b60405161043891906135ae565b60405180910390f35b34801561044d57600080fd5b506104686004803603810190610463919061372b565b610db1565b005b34801561047657600080fd5b5061047f610e1c565b60405161048c91906133a7565b60405180910390f35b3480156104a157600080fd5b506104bc60048036038101906104b791906137bd565b610e2f565b005b3480156104ca57600080fd5b506104e560048036038101906104e09190613860565b610e85565b6040516104f29190613a10565b60405180910390f35b34801561050757600080fd5b50610522600480360381019061051d91906134aa565b610f48565b60405161052f9190613518565b60405180910390f35b34801561054457600080fd5b5061055f600480360381019061055a9190613a32565b610f5a565b60405161056c91906135ae565b60405180910390f35b34801561058157600080fd5b5061058a611012565b005b34801561059857600080fd5b506105b360048036038101906105ae9190613a32565b611026565b6040516105c09190613b1d565b60405180910390f35b3480156105d557600080fd5b506105de611169565b6040516105eb9190613518565b60405180910390f35b34801561060057600080fd5b50610609611193565b6040516106169190613452565b60405180910390f35b34801561062b57600080fd5b5061064660048036038101906106419190613ba7565b611225565b005b34801561065457600080fd5b5061065d611330565b60405161066b929190613bfa565b60405180910390f35b34801561068057600080fd5b5061069b60048036038101906106969190613c23565b61133f565b6040516106a89190613b1d565b60405180910390f35b3480156106bd57600080fd5b506106d860048036038101906106d391906137bd565b61154b565b005b3480156106e657600080fd5b5061070160048036038101906106fc9190613c76565b6115a1565b005b34801561070f57600080fd5b506107186115ba565b60405161072793929190613cd4565b60405180910390f35b34801561073c57600080fd5b5061074561160a565b604051610753929190613d0b565b60405180910390f35b34801561076857600080fd5b50610771611731565b005b34801561077f57600080fd5b5061079a600480360381019061079591906134aa565b6118f0565b005b6107b660048036038101906107b19190613e72565b61193b565b005b3480156107c457600080fd5b506107cd61198c565b6040516107dc93929190613cd4565b60405180910390f35b3480156107f157600080fd5b5061080c600480360381019061080791906134aa565b6119e6565b6040516108199190613f4a565b60405180910390f35b34801561082e57600080fd5b50610849600480360381019061084491906134aa565b611a50565b6040516108569190613452565b60405180910390f35b61087960048036038101906108749190613f65565b611b54565b005b34801561088757600080fd5b506108a2600480360381019061089d9190613f92565b611e07565b6040516108af91906133a7565b60405180910390f35b3480156108c457600080fd5b506108df60048036038101906108da9190613a32565b611e9b565b005b3480156108ed57600080fd5b506108f6611f1e565b60405161090391906135ae565b60405180910390f35b600061091782611f24565b80610927575061092682611fb6565b5b9050919050565b60606002805461093d90614001565b80601f016020809104026020016040519081016040528092919081815260200182805461096990614001565b80156109b65780601f1061098b576101008083540402835291602001916109b6565b820191906000526020600020905b81548152906001019060200180831161099957829003601f168201915b5050505050905090565b60006109cb82612030565b610a01576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b81610a498161208f565b610a53838361218c565b505050565b6000610a626122d0565b6001546000540303905090565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610aad57610aac3361208f565b5b610ab88484846122d5565b50505050565b600d5481565b6000806000600a60008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1603610c595760096040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b6000610c636125f7565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff1686610c8f9190614061565b610c9991906140ea565b90508160000151819350935050509250929050565b610cb6612601565b6000600d5482610cc6919061411b565b14610d095760066040517f804388c0000000000000000000000000000000000000000000000000000000008152600401610d009190614194565b60405180910390fd5b6000600d5482610d1991906140ea565b905060005b81811015610d4557610d3233600d5461267f565b8080610d3d906141af565b915050610d1e565b505050565b6daaeb6d7670e522a718067333cd4e81565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610d9a57610d993361208f565b5b610da584848461269d565b50505050565b600c5481565b610db9612601565b80600b60006101000a81548160ff0219169083151502179055507fc55565c1dcceed7a236384f279af4f95930442d66962d8d245a73a1b85e3c9a1600b60009054906101000a900460ff16604051610e1191906133a7565b60405180910390a150565b600b60009054906101000a900460ff1681565b610e37612601565b818160119182610e489291906143a4565b507fec7aa76ee322bd9ff6b9f70d62a749a4bfadba7751d8b4bb089b22ff0ed09bd26011604051610e7991906144f8565b60405180910390a15050565b6060600083839050905060008167ffffffffffffffff811115610eab57610eaa613d47565b5b604051908082528060200260200182016040528015610ee457816020015b610ed16132a4565b815260200190600190039081610ec95790505b50905060005b828114610f3c57610f13868683818110610f0757610f0661451a565b5b905060200201356119e6565b828281518110610f2657610f2561451a565b5b6020026020010181905250806001019050610eea565b50809250505092915050565b6000610f53826126bd565b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610fc1576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b61101a612601565b6110246000612789565b565b6060600080600061103685610f5a565b905060008167ffffffffffffffff81111561105457611053613d47565b5b6040519080825280602002602001820160405280156110825781602001602082028036833780820191505090505b50905061108d6132a4565b60006110976122d0565b90505b83861461115b576110aa8161284f565b9150816040015161115057600073ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff16146110f557816000015194505b8773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff160361114f57808387806001019850815181106111425761114161451a565b5b6020026020010181815250505b5b80600101905061109a565b508195505050505050919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600380546111a290614001565b80601f01602080910402602001604051908101604052809291908181526020018280546111ce90614001565b801561121b5780601f106111f05761010080835404028352916020019161121b565b820191906000526020600020905b8154815290600101906020018083116111fe57829003601f168201915b5050505050905090565b61122d612601565b82601060000160006101000a81548163ffffffff021916908363ffffffff16021790555081601060000160046101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550806010600001600c6101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055507f28c10a27f02a9ef2610984cf2908beac19c3ad1fe5a2e3bed3f7245a4b051b8f601060000160009054906101000a900463ffffffff16601060000160049054906101000a900467ffffffffffffffff166010600001600c9054906101000a900467ffffffffffffffff1660405161132393929190613cd4565b60405180910390a1505050565b60008047600f54915091509091565b606081831061137a576040517f32c1995a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008061138561287a565b905061138f6122d0565b8510156113a15761139e6122d0565b94505b808411156113ad578093505b60006113b887610f5a565b9050848610156113db5760008686039050818110156113d5578091505b506113e0565b600090505b60008167ffffffffffffffff8111156113fc576113fb613d47565b5b60405190808252806020026020018201604052801561142a5781602001602082028036833780820191505090505b509050600082036114415780945050505050611544565b600061144c886119e6565b90506000816040015161146157816000015190505b60008990505b8881141580156114775750848714155b15611536576114858161284f565b9250826040015161152b57600073ffffffffffffffffffffffffffffffffffffffff16836000015173ffffffffffffffffffffffffffffffffffffffff16146114d057826000015191505b8a73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361152a578084888060010199508151811061151d5761151c61451a565b5b6020026020010181815250505b5b806001019050611467565b508583528296505050505050505b9392505050565b611553612601565b8181601291826115649291906143a4565b507fa36fff1c6478d9cebacb70685906c5f6340c1ef345712a19ad41a5fe7d2bcbee601260405161159591906144f8565b60405180910390a15050565b816115ab8161208f565b6115b58383612883565b505050565b60108060000160009054906101000a900463ffffffff16908060000160049054906101000a900467ffffffffffffffff169080600001600c9054906101000a900467ffffffffffffffff16905083565b6060806011601281805461161d90614001565b80601f016020809104026020016040519081016040528092919081815260200182805461164990614001565b80156116965780601f1061166b57610100808354040283529160200191611696565b820191906000526020600020905b81548152906001019060200180831161167957829003601f168201915b505050505091508080546116a990614001565b80601f01602080910402602001604051908101604052809291908181526020018280546116d590614001565b80156117225780601f106116f757610100808354040283529160200191611722565b820191906000526020600020905b81548152906001019060200180831161170557829003601f168201915b50505050509050915091509091565b611739612601565b60007355ff9a7741185166956344f840417a38aafcb84f905060007355ff9a7741185166956344f840417a38aafcb84f90506000606460014761177c9190614061565b61178691906140ea565b905060006064601e476117999190614061565b6117a391906140ea565b90508373ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f193505050501580156117eb573d6000803e3d6000fd5b508273ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611832573d6000803e3d6000fd5b5060004790503373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f1935050505015801561187e573d6000803e3d6000fd5b5080828461188c9190614549565b6118969190614549565b600f60008282546118a79190614549565b925050819055507fd5550c71ca14cc44783a664cd798ecb70dcefed6b3cfdf323041ce6d221f2d728383836040516118e19392919061457d565b60405180910390a15050505050565b6118f8612601565b80600c819055507fe20e127115d125ee9e5585a8fb1b88c761a79582a054e18d8997d22c147e9fa7600c5460405161193091906135ae565b60405180910390a150565b833373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611979576119783361208f565b5b6119858585858561298e565b5050505050565b6000806000601060000160009054906101000a900463ffffffff16601060000160049054906101000a900467ffffffffffffffff166010600001600c9054906101000a900467ffffffffffffffff16925092509250909192565b6119ee6132a4565b6119f66132a4565b6119fe6122d0565b831080611a125750611a0e61287a565b8310155b15611a205780915050611a4b565b611a298361284f565b9050806040015115611a3e5780915050611a4b565b611a4783612a01565b9150505b919050565b6060600b60009054906101000a900460ff1615611a7757611a7082612a21565b9050611b4f565b611a7f610a58565b821115611ac1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ab890614600565b60405180910390fd5b60128054611ace90614001565b80601f0160208091040260200160405190810160405280929190818152602001828054611afa90614001565b8015611b475780601f10611b1c57610100808354040283529160200191611b47565b820191906000526020600020905b815481529060010190602001808311611b2a57829003601f168201915b505050505090505b919050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611bc55760016040517f804388c0000000000000000000000000000000000000000000000000000000008152600401611bbc919061465b565b60405180910390fd5b6000601060000160049054906101000a900467ffffffffffffffff1667ffffffffffffffff1690506000601060000160009054906101000a900463ffffffff1663ffffffff16905060006010600001600c9054906101000a900467ffffffffffffffff1690506000821480611c3957508142105b15611c7c5760076040517f804388c0000000000000000000000000000000000000000000000000000000008152600401611c7391906146b1565b60405180910390fd5b600c548467ffffffffffffffff16611c92610a58565b611c9c9190614549565b1115611ce05760046040517f804388c0000000000000000000000000000000000000000000000000000000008152600401611cd79190614707565b60405180910390fd5b8067ffffffffffffffff168467ffffffffffffffff16611d06611d01612abf565b612ac7565b67ffffffffffffffff16611d20611d1b612abf565b612b14565b611d2a9190614722565b611d349190614549565b1115611d785760086040517f804388c0000000000000000000000000000000000000000000000000000000008152600401611d6f9190614791565b60405180910390fd5b611d8c338567ffffffffffffffff1661267f565b611daa8467ffffffffffffffff1684611da59190614061565b612b6b565b3373ffffffffffffffffffffffffffffffffffffffff167f4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f85611deb610a58565b604051611df99291906147dd565b60405180910390a250505050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611ea3612601565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611f12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f0990614878565b60405180910390fd5b611f1b81612789565b50565b600e5481565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611f7f57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611faf5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612029575061202882612c0f565b5b9050919050565b60008161203b6122d0565b1115801561204a575060005482105b8015612088575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115612189576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b8152600401612106929190614898565b602060405180830381865afa158015612123573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061214791906148d6565b61218857806040517fede71dcc00000000000000000000000000000000000000000000000000000000815260040161217f9190613518565b60405180910390fd5b5b50565b600061219782610f48565b90508073ffffffffffffffffffffffffffffffffffffffff166121b8612c79565b73ffffffffffffffffffffffffffffffffffffffff161461221b576121e4816121df612c79565b611e07565b61221a576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600090565b60006122e0826126bd565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614612347576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008061235384612c81565b915091506123698187612364612c79565b612ca8565b6123b55761237e86612379612c79565b611e07565b6123b4576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff160361241b576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6124288686866001612cec565b801561243357600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550612501856124dd888887612cf2565b7c020000000000000000000000000000000000000000000000000000000017612d1a565b600460008681526020019081526020016000208190555060007c02000000000000000000000000000000000000000000000000000000008416036125875760006001850190506000600460008381526020019081526020016000205403612585576000548114612584578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46125ef8686866001612d45565b505050505050565b6000612710905090565b612609612abf565b73ffffffffffffffffffffffffffffffffffffffff16612627611169565b73ffffffffffffffffffffffffffffffffffffffff161461267d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126749061494f565b60405180910390fd5b565b612699828260405180602001604052806000815250612d4b565b5050565b6126b88383836040518060200160405280600081525061193b565b505050565b600080829050806126cc6122d0565b11612752576000548110156127515760006004600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082160361274f575b6000810361274557600460008360019003935083815260200190815260200160002054905061271b565b8092505050612784565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6128576132a4565b6128736004600084815260200190815260200160002054612de8565b9050919050565b60008054905090565b8060076000612890612c79565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661293d612c79565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161298291906133a7565b60405180910390a35050565b612999848484610a6f565b60008373ffffffffffffffffffffffffffffffffffffffff163b146129fb576129c484848484612e9e565b6129fa576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b612a096132a4565b612a1a612a15836126bd565b612de8565b9050919050565b6060612a2c82612030565b612a62576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000612a6c612fee565b90506000815103612a8c5760405180602001604052806000815250612ab7565b80612a9684613080565b604051602001612aa79291906149ab565b6040516020818303038152906040525b915050919050565b600033905090565b600060c0600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054901c9050919050565b600067ffffffffffffffff6040600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054901c169050919050565b80341015612bb15760026040517f804388c0000000000000000000000000000000000000000000000000000000008152600401612ba89190614a0a565b60405180910390fd5b80341115612c0c573373ffffffffffffffffffffffffffffffffffffffff166108fc8234612bdf9190614722565b9081150290604051600060405180830381858888f19350505050158015612c0a573d6000803e3d6000fd5b505b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8612d098686846130d0565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b612d5583836130d9565b60008373ffffffffffffffffffffffffffffffffffffffff163b14612de357600080549050600083820390505b612d956000868380600101945086612e9e565b612dcb576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b818110612d82578160005414612de057600080fd5b50505b505050565b612df06132a4565b81816000019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505060a082901c816020019067ffffffffffffffff16908167ffffffffffffffff168152505060007c01000000000000000000000000000000000000000000000000000000008316141581604001901515908115158152505060e882901c816060019062ffffff16908162ffffff1681525050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612ec4612c79565b8786866040518563ffffffff1660e01b8152600401612ee69493929190614a7a565b6020604051808303816000875af1925050508015612f2257506040513d601f19601f82011682018060405250810190612f1f9190614adb565b60015b612f9b573d8060008114612f52576040519150601f19603f3d011682016040523d82523d6000602084013e612f57565b606091505b506000815103612f93576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b606060118054612ffd90614001565b80601f016020809104026020016040519081016040528092919081815260200182805461302990614001565b80156130765780601f1061304b57610100808354040283529160200191613076565b820191906000526020600020905b81548152906001019060200180831161305957829003601f168201915b5050505050905090565b606060a060405101806040526020810391506000825281835b6001156130bb57600184039350600a81066030018453600a8104905080613099575b50828103602084039350808452505050919050565b60009392505050565b60008054905060008203613119576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6131266000848385612cec565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555061319d8361318e6000866000612cf2565b61319785613294565b17612d1a565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b81811461323e57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050613203565b5060008203613279576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600081905550505061328f6000848385612d45565b505050565b60006001821460e11b9050919050565b6040518060800160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff168152602001600015158152602001600062ffffff1681525090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61333c81613307565b811461334757600080fd5b50565b60008135905061335981613333565b92915050565b600060208284031215613375576133746132fd565b5b60006133838482850161334a565b91505092915050565b60008115159050919050565b6133a18161338c565b82525050565b60006020820190506133bc6000830184613398565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156133fc5780820151818401526020810190506133e1565b60008484015250505050565b6000601f19601f8301169050919050565b6000613424826133c2565b61342e81856133cd565b935061343e8185602086016133de565b61344781613408565b840191505092915050565b6000602082019050818103600083015261346c8184613419565b905092915050565b6000819050919050565b61348781613474565b811461349257600080fd5b50565b6000813590506134a48161347e565b92915050565b6000602082840312156134c0576134bf6132fd565b5b60006134ce84828501613495565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613502826134d7565b9050919050565b613512816134f7565b82525050565b600060208201905061352d6000830184613509565b92915050565b61353c816134f7565b811461354757600080fd5b50565b60008135905061355981613533565b92915050565b60008060408385031215613576576135756132fd565b5b60006135848582860161354a565b925050602061359585828601613495565b9150509250929050565b6135a881613474565b82525050565b60006020820190506135c3600083018461359f565b92915050565b6000806000606084860312156135e2576135e16132fd565b5b60006135f08682870161354a565b93505060206136018682870161354a565b925050604061361286828701613495565b9150509250925092565b60008060408385031215613633576136326132fd565b5b600061364185828601613495565b925050602061365285828601613495565b9150509250929050565b60006040820190506136716000830185613509565b61367e602083018461359f565b9392505050565b6000819050919050565b60006136aa6136a56136a0846134d7565b613685565b6134d7565b9050919050565b60006136bc8261368f565b9050919050565b60006136ce826136b1565b9050919050565b6136de816136c3565b82525050565b60006020820190506136f960008301846136d5565b92915050565b6137088161338c565b811461371357600080fd5b50565b600081359050613725816136ff565b92915050565b600060208284031215613741576137406132fd565b5b600061374f84828501613716565b91505092915050565b600080fd5b600080fd5b600080fd5b60008083601f84011261377d5761377c613758565b5b8235905067ffffffffffffffff81111561379a5761379961375d565b5b6020830191508360018202830111156137b6576137b5613762565b5b9250929050565b600080602083850312156137d4576137d36132fd565b5b600083013567ffffffffffffffff8111156137f2576137f1613302565b5b6137fe85828601613767565b92509250509250929050565b60008083601f8401126138205761381f613758565b5b8235905067ffffffffffffffff81111561383d5761383c61375d565b5b60208301915083602082028301111561385957613858613762565b5b9250929050565b60008060208385031215613877576138766132fd565b5b600083013567ffffffffffffffff81111561389557613894613302565b5b6138a18582860161380a565b92509250509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6138e2816134f7565b82525050565b600067ffffffffffffffff82169050919050565b613905816138e8565b82525050565b6139148161338c565b82525050565b600062ffffff82169050919050565b6139328161391a565b82525050565b60808201600082015161394e60008501826138d9565b50602082015161396160208501826138fc565b506040820151613974604085018261390b565b5060608201516139876060850182613929565b50505050565b60006139998383613938565b60808301905092915050565b6000602082019050919050565b60006139bd826138ad565b6139c781856138b8565b93506139d2836138c9565b8060005b83811015613a035781516139ea888261398d565b97506139f5836139a5565b9250506001810190506139d6565b5085935050505092915050565b60006020820190508181036000830152613a2a81846139b2565b905092915050565b600060208284031215613a4857613a476132fd565b5b6000613a568482850161354a565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613a9481613474565b82525050565b6000613aa68383613a8b565b60208301905092915050565b6000602082019050919050565b6000613aca82613a5f565b613ad48185613a6a565b9350613adf83613a7b565b8060005b83811015613b10578151613af78882613a9a565b9750613b0283613ab2565b925050600181019050613ae3565b5085935050505092915050565b60006020820190508181036000830152613b378184613abf565b905092915050565b600063ffffffff82169050919050565b613b5881613b3f565b8114613b6357600080fd5b50565b600081359050613b7581613b4f565b92915050565b613b84816138e8565b8114613b8f57600080fd5b50565b600081359050613ba181613b7b565b92915050565b600080600060608486031215613bc057613bbf6132fd565b5b6000613bce86828701613b66565b9350506020613bdf86828701613b92565b9250506040613bf086828701613b92565b9150509250925092565b6000604082019050613c0f600083018561359f565b613c1c602083018461359f565b9392505050565b600080600060608486031215613c3c57613c3b6132fd565b5b6000613c4a8682870161354a565b9350506020613c5b86828701613495565b9250506040613c6c86828701613495565b9150509250925092565b60008060408385031215613c8d57613c8c6132fd565b5b6000613c9b8582860161354a565b9250506020613cac85828601613716565b9150509250929050565b613cbf81613b3f565b82525050565b613cce816138e8565b82525050565b6000606082019050613ce96000830186613cb6565b613cf66020830185613cc5565b613d036040830184613cc5565b949350505050565b60006040820190508181036000830152613d258185613419565b90508181036020830152613d398184613419565b90509392505050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613d7f82613408565b810181811067ffffffffffffffff82111715613d9e57613d9d613d47565b5b80604052505050565b6000613db16132f3565b9050613dbd8282613d76565b919050565b600067ffffffffffffffff821115613ddd57613ddc613d47565b5b613de682613408565b9050602081019050919050565b82818337600083830152505050565b6000613e15613e1084613dc2565b613da7565b905082815260208101848484011115613e3157613e30613d42565b5b613e3c848285613df3565b509392505050565b600082601f830112613e5957613e58613758565b5b8135613e69848260208601613e02565b91505092915050565b60008060008060808587031215613e8c57613e8b6132fd565b5b6000613e9a8782880161354a565b9450506020613eab8782880161354a565b9350506040613ebc87828801613495565b925050606085013567ffffffffffffffff811115613edd57613edc613302565b5b613ee987828801613e44565b91505092959194509250565b608082016000820151613f0b60008501826138d9565b506020820151613f1e60208501826138fc565b506040820151613f31604085018261390b565b506060820151613f446060850182613929565b50505050565b6000608082019050613f5f6000830184613ef5565b92915050565b600060208284031215613f7b57613f7a6132fd565b5b6000613f8984828501613b92565b91505092915050565b60008060408385031215613fa957613fa86132fd565b5b6000613fb78582860161354a565b9250506020613fc88582860161354a565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061401957607f821691505b60208210810361402c5761402b613fd2565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061406c82613474565b915061407783613474565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156140b0576140af614032565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006140f582613474565b915061410083613474565b9250826141105761410f6140bb565b5b828204905092915050565b600061412682613474565b915061413183613474565b925082614141576141406140bb565b5b828206905092915050565b6000819050919050565b600060ff82169050919050565b600061417e6141796141748461414c565b613685565b614156565b9050919050565b61418e81614163565b82525050565b60006020820190506141a96000830184614185565b92915050565b60006141ba82613474565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036141ec576141eb614032565b5b600182019050919050565b600082905092915050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026142647fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82614227565b61426e8683614227565b95508019841693508086168417925050509392505050565b60006142a161429c61429784613474565b613685565b613474565b9050919050565b6000819050919050565b6142bb83614286565b6142cf6142c7826142a8565b848454614234565b825550505050565b600090565b6142e46142d7565b6142ef8184846142b2565b505050565b5b81811015614313576143086000826142dc565b6001810190506142f5565b5050565b601f8211156143585761432981614202565b61433284614217565b81016020851015614341578190505b61435561434d85614217565b8301826142f4565b50505b505050565b600082821c905092915050565b600061437b6000198460080261435d565b1980831691505092915050565b6000614394838361436a565b9150826002028217905092915050565b6143ae83836141f7565b67ffffffffffffffff8111156143c7576143c6613d47565b5b6143d18254614001565b6143dc828285614317565b6000601f83116001811461440b57600084156143f9578287013590505b6144038582614388565b86555061446b565b601f19841661441986614202565b60005b828110156144415784890135825560018201915060208501945060208101905061441c565b8683101561445e578489013561445a601f89168261436a565b8355505b6001600288020188555050505b50505050505050565b6000815461448181614001565b61448b81866133cd565b945060018216600081146144a657600181146144bc576144ef565b60ff1983168652811515602002860193506144ef565b6144c585614202565b60005b838110156144e7578154818901526001820191506020810190506144c8565b808801955050505b50505092915050565b600060208201905081810360008301526145128184614474565b905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600061455482613474565b915061455f83613474565b925082820190508082111561457757614576614032565b5b92915050565b6000606082019050614592600083018661359f565b61459f602083018561359f565b6145ac604083018461359f565b949350505050565b7f746f6b656e206e6f742065786973740000000000000000000000000000000000600082015250565b60006145ea600f836133cd565b91506145f5826145b4565b602082019050919050565b60006020820190508181036000830152614619816145dd565b9050919050565b6000819050919050565b600061464561464061463b84614620565b613685565b614156565b9050919050565b6146558161462a565b82525050565b6000602082019050614670600083018461464c565b92915050565b6000819050919050565b600061469b61469661469184614676565b613685565b614156565b9050919050565b6146ab81614680565b82525050565b60006020820190506146c660008301846146a2565b92915050565b6000819050919050565b60006146f16146ec6146e7846146cc565b613685565b614156565b9050919050565b614701816146d6565b82525050565b600060208201905061471c60008301846146f8565b92915050565b600061472d82613474565b915061473883613474565b92508282039050818111156147505761474f614032565b5b92915050565b6000819050919050565b600061477b61477661477184614756565b613685565b614156565b9050919050565b61478b81614760565b82525050565b60006020820190506147a66000830184614782565b92915050565b60006147c76147c26147bd846138e8565b613685565b613474565b9050919050565b6147d7816147ac565b82525050565b60006040820190506147f260008301856147ce565b6147ff602083018461359f565b9392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006148626026836133cd565b915061486d82614806565b604082019050919050565b6000602082019050818103600083015261489181614855565b9050919050565b60006040820190506148ad6000830185613509565b6148ba6020830184613509565b9392505050565b6000815190506148d0816136ff565b92915050565b6000602082840312156148ec576148eb6132fd565b5b60006148fa848285016148c1565b91505092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006149396020836133cd565b915061494482614903565b602082019050919050565b600060208201905081810360008301526149688161492c565b9050919050565b600081905092915050565b6000614985826133c2565b61498f818561496f565b935061499f8185602086016133de565b80840191505092915050565b60006149b7828561497a565b91506149c3828461497a565b91508190509392505050565b6000819050919050565b60006149f46149ef6149ea846149cf565b613685565b614156565b9050919050565b614a04816149d9565b82525050565b6000602082019050614a1f60008301846149fb565b92915050565b600081519050919050565b600082825260208201905092915050565b6000614a4c82614a25565b614a568185614a30565b9350614a668185602086016133de565b614a6f81613408565b840191505092915050565b6000608082019050614a8f6000830187613509565b614a9c6020830186613509565b614aa9604083018561359f565b8181036060830152614abb8184614a41565b905095945050505050565b600081519050614ad581613333565b92915050565b600060208284031215614af157614af06132fd565b5b6000614aff84828501614ac6565b9150509291505056fea2646970667358221220ab534d74b374f66f0e934417732f92f7b1fb928c600558c4166b7dfe0ee827a264736f6c6343000810003300000000000000000000000000000000000000000000000000000000000001bc0000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d5862447a755a5778714d687573634b58325a46544c6b687142425850743773336635335664384431763851320000000000000000000000

Deployed Bytecode

0x6080604052600436106102305760003560e01c80638462151c1161012e578063ac446002116100ab578063c87b56dd1161006f578063c87b56dd14610822578063d63dd7011461085f578063e985e9c51461087b578063f2fde38b146108b8578063fbe1aa51146108e157610230565b8063ac4460021461075c578063aca8ffe714610773578063b88d4fde1461079c578063c032846b146107b8578063c23dc68f146107e557610230565b806399a2557a116100f257806399a2557a14610674578063a125c824146106b1578063a22cb465146106da578063a3fd2c4414610703578063abb1dc441461073057610230565b80638462151c1461058c5780638da5cb5b146105c957806395d89b41146105f4578063962265511461061f578063968ed6001461064857610230565b806341f43434116101bc57806355f804b31161018057806355f804b3146104955780635bbb2177146104be5780636352211e146104fb57806370a0823114610538578063715018a61461057557610230565b806341f43434146103cf57806342842e0e146103fa57806345c0f5331461041657806349a5980a1461044157806354214f691461046a57610230565b806318160ddd1161020357806318160ddd146102f657806323b872dd146103215780632913daa01461033d5780632a55205a14610368578063375a069a146103a657610230565b806301ffc9a71461023557806306fdde0314610272578063081812fc1461029d578063095ea7b3146102da575b600080fd5b34801561024157600080fd5b5061025c6004803603810190610257919061335f565b61090c565b60405161026991906133a7565b60405180910390f35b34801561027e57600080fd5b5061028761092e565b6040516102949190613452565b60405180910390f35b3480156102a957600080fd5b506102c460048036038101906102bf91906134aa565b6109c0565b6040516102d19190613518565b60405180910390f35b6102f460048036038101906102ef919061355f565b610a3f565b005b34801561030257600080fd5b5061030b610a58565b60405161031891906135ae565b60405180910390f35b61033b600480360381019061033691906135c9565b610a6f565b005b34801561034957600080fd5b50610352610abe565b60405161035f91906135ae565b60405180910390f35b34801561037457600080fd5b5061038f600480360381019061038a919061361c565b610ac4565b60405161039d92919061365c565b60405180910390f35b3480156103b257600080fd5b506103cd60048036038101906103c891906134aa565b610cae565b005b3480156103db57600080fd5b506103e4610d4a565b6040516103f191906136e4565b60405180910390f35b610414600480360381019061040f91906135c9565b610d5c565b005b34801561042257600080fd5b5061042b610dab565b60405161043891906135ae565b60405180910390f35b34801561044d57600080fd5b506104686004803603810190610463919061372b565b610db1565b005b34801561047657600080fd5b5061047f610e1c565b60405161048c91906133a7565b60405180910390f35b3480156104a157600080fd5b506104bc60048036038101906104b791906137bd565b610e2f565b005b3480156104ca57600080fd5b506104e560048036038101906104e09190613860565b610e85565b6040516104f29190613a10565b60405180910390f35b34801561050757600080fd5b50610522600480360381019061051d91906134aa565b610f48565b60405161052f9190613518565b60405180910390f35b34801561054457600080fd5b5061055f600480360381019061055a9190613a32565b610f5a565b60405161056c91906135ae565b60405180910390f35b34801561058157600080fd5b5061058a611012565b005b34801561059857600080fd5b506105b360048036038101906105ae9190613a32565b611026565b6040516105c09190613b1d565b60405180910390f35b3480156105d557600080fd5b506105de611169565b6040516105eb9190613518565b60405180910390f35b34801561060057600080fd5b50610609611193565b6040516106169190613452565b60405180910390f35b34801561062b57600080fd5b5061064660048036038101906106419190613ba7565b611225565b005b34801561065457600080fd5b5061065d611330565b60405161066b929190613bfa565b60405180910390f35b34801561068057600080fd5b5061069b60048036038101906106969190613c23565b61133f565b6040516106a89190613b1d565b60405180910390f35b3480156106bd57600080fd5b506106d860048036038101906106d391906137bd565b61154b565b005b3480156106e657600080fd5b5061070160048036038101906106fc9190613c76565b6115a1565b005b34801561070f57600080fd5b506107186115ba565b60405161072793929190613cd4565b60405180910390f35b34801561073c57600080fd5b5061074561160a565b604051610753929190613d0b565b60405180910390f35b34801561076857600080fd5b50610771611731565b005b34801561077f57600080fd5b5061079a600480360381019061079591906134aa565b6118f0565b005b6107b660048036038101906107b19190613e72565b61193b565b005b3480156107c457600080fd5b506107cd61198c565b6040516107dc93929190613cd4565b60405180910390f35b3480156107f157600080fd5b5061080c600480360381019061080791906134aa565b6119e6565b6040516108199190613f4a565b60405180910390f35b34801561082e57600080fd5b50610849600480360381019061084491906134aa565b611a50565b6040516108569190613452565b60405180910390f35b61087960048036038101906108749190613f65565b611b54565b005b34801561088757600080fd5b506108a2600480360381019061089d9190613f92565b611e07565b6040516108af91906133a7565b60405180910390f35b3480156108c457600080fd5b506108df60048036038101906108da9190613a32565b611e9b565b005b3480156108ed57600080fd5b506108f6611f1e565b60405161090391906135ae565b60405180910390f35b600061091782611f24565b80610927575061092682611fb6565b5b9050919050565b60606002805461093d90614001565b80601f016020809104026020016040519081016040528092919081815260200182805461096990614001565b80156109b65780601f1061098b576101008083540402835291602001916109b6565b820191906000526020600020905b81548152906001019060200180831161099957829003601f168201915b5050505050905090565b60006109cb82612030565b610a01576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b81610a498161208f565b610a53838361218c565b505050565b6000610a626122d0565b6001546000540303905090565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610aad57610aac3361208f565b5b610ab88484846122d5565b50505050565b600d5481565b6000806000600a60008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1603610c595760096040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b6000610c636125f7565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff1686610c8f9190614061565b610c9991906140ea565b90508160000151819350935050509250929050565b610cb6612601565b6000600d5482610cc6919061411b565b14610d095760066040517f804388c0000000000000000000000000000000000000000000000000000000008152600401610d009190614194565b60405180910390fd5b6000600d5482610d1991906140ea565b905060005b81811015610d4557610d3233600d5461267f565b8080610d3d906141af565b915050610d1e565b505050565b6daaeb6d7670e522a718067333cd4e81565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610d9a57610d993361208f565b5b610da584848461269d565b50505050565b600c5481565b610db9612601565b80600b60006101000a81548160ff0219169083151502179055507fc55565c1dcceed7a236384f279af4f95930442d66962d8d245a73a1b85e3c9a1600b60009054906101000a900460ff16604051610e1191906133a7565b60405180910390a150565b600b60009054906101000a900460ff1681565b610e37612601565b818160119182610e489291906143a4565b507fec7aa76ee322bd9ff6b9f70d62a749a4bfadba7751d8b4bb089b22ff0ed09bd26011604051610e7991906144f8565b60405180910390a15050565b6060600083839050905060008167ffffffffffffffff811115610eab57610eaa613d47565b5b604051908082528060200260200182016040528015610ee457816020015b610ed16132a4565b815260200190600190039081610ec95790505b50905060005b828114610f3c57610f13868683818110610f0757610f0661451a565b5b905060200201356119e6565b828281518110610f2657610f2561451a565b5b6020026020010181905250806001019050610eea565b50809250505092915050565b6000610f53826126bd565b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610fc1576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b61101a612601565b6110246000612789565b565b6060600080600061103685610f5a565b905060008167ffffffffffffffff81111561105457611053613d47565b5b6040519080825280602002602001820160405280156110825781602001602082028036833780820191505090505b50905061108d6132a4565b60006110976122d0565b90505b83861461115b576110aa8161284f565b9150816040015161115057600073ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff16146110f557816000015194505b8773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff160361114f57808387806001019850815181106111425761114161451a565b5b6020026020010181815250505b5b80600101905061109a565b508195505050505050919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600380546111a290614001565b80601f01602080910402602001604051908101604052809291908181526020018280546111ce90614001565b801561121b5780601f106111f05761010080835404028352916020019161121b565b820191906000526020600020905b8154815290600101906020018083116111fe57829003601f168201915b5050505050905090565b61122d612601565b82601060000160006101000a81548163ffffffff021916908363ffffffff16021790555081601060000160046101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550806010600001600c6101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055507f28c10a27f02a9ef2610984cf2908beac19c3ad1fe5a2e3bed3f7245a4b051b8f601060000160009054906101000a900463ffffffff16601060000160049054906101000a900467ffffffffffffffff166010600001600c9054906101000a900467ffffffffffffffff1660405161132393929190613cd4565b60405180910390a1505050565b60008047600f54915091509091565b606081831061137a576040517f32c1995a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008061138561287a565b905061138f6122d0565b8510156113a15761139e6122d0565b94505b808411156113ad578093505b60006113b887610f5a565b9050848610156113db5760008686039050818110156113d5578091505b506113e0565b600090505b60008167ffffffffffffffff8111156113fc576113fb613d47565b5b60405190808252806020026020018201604052801561142a5781602001602082028036833780820191505090505b509050600082036114415780945050505050611544565b600061144c886119e6565b90506000816040015161146157816000015190505b60008990505b8881141580156114775750848714155b15611536576114858161284f565b9250826040015161152b57600073ffffffffffffffffffffffffffffffffffffffff16836000015173ffffffffffffffffffffffffffffffffffffffff16146114d057826000015191505b8a73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361152a578084888060010199508151811061151d5761151c61451a565b5b6020026020010181815250505b5b806001019050611467565b508583528296505050505050505b9392505050565b611553612601565b8181601291826115649291906143a4565b507fa36fff1c6478d9cebacb70685906c5f6340c1ef345712a19ad41a5fe7d2bcbee601260405161159591906144f8565b60405180910390a15050565b816115ab8161208f565b6115b58383612883565b505050565b60108060000160009054906101000a900463ffffffff16908060000160049054906101000a900467ffffffffffffffff169080600001600c9054906101000a900467ffffffffffffffff16905083565b6060806011601281805461161d90614001565b80601f016020809104026020016040519081016040528092919081815260200182805461164990614001565b80156116965780601f1061166b57610100808354040283529160200191611696565b820191906000526020600020905b81548152906001019060200180831161167957829003601f168201915b505050505091508080546116a990614001565b80601f01602080910402602001604051908101604052809291908181526020018280546116d590614001565b80156117225780601f106116f757610100808354040283529160200191611722565b820191906000526020600020905b81548152906001019060200180831161170557829003601f168201915b50505050509050915091509091565b611739612601565b60007355ff9a7741185166956344f840417a38aafcb84f905060007355ff9a7741185166956344f840417a38aafcb84f90506000606460014761177c9190614061565b61178691906140ea565b905060006064601e476117999190614061565b6117a391906140ea565b90508373ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f193505050501580156117eb573d6000803e3d6000fd5b508273ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611832573d6000803e3d6000fd5b5060004790503373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f1935050505015801561187e573d6000803e3d6000fd5b5080828461188c9190614549565b6118969190614549565b600f60008282546118a79190614549565b925050819055507fd5550c71ca14cc44783a664cd798ecb70dcefed6b3cfdf323041ce6d221f2d728383836040516118e19392919061457d565b60405180910390a15050505050565b6118f8612601565b80600c819055507fe20e127115d125ee9e5585a8fb1b88c761a79582a054e18d8997d22c147e9fa7600c5460405161193091906135ae565b60405180910390a150565b833373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611979576119783361208f565b5b6119858585858561298e565b5050505050565b6000806000601060000160009054906101000a900463ffffffff16601060000160049054906101000a900467ffffffffffffffff166010600001600c9054906101000a900467ffffffffffffffff16925092509250909192565b6119ee6132a4565b6119f66132a4565b6119fe6122d0565b831080611a125750611a0e61287a565b8310155b15611a205780915050611a4b565b611a298361284f565b9050806040015115611a3e5780915050611a4b565b611a4783612a01565b9150505b919050565b6060600b60009054906101000a900460ff1615611a7757611a7082612a21565b9050611b4f565b611a7f610a58565b821115611ac1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ab890614600565b60405180910390fd5b60128054611ace90614001565b80601f0160208091040260200160405190810160405280929190818152602001828054611afa90614001565b8015611b475780601f10611b1c57610100808354040283529160200191611b47565b820191906000526020600020905b815481529060010190602001808311611b2a57829003601f168201915b505050505090505b919050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611bc55760016040517f804388c0000000000000000000000000000000000000000000000000000000008152600401611bbc919061465b565b60405180910390fd5b6000601060000160049054906101000a900467ffffffffffffffff1667ffffffffffffffff1690506000601060000160009054906101000a900463ffffffff1663ffffffff16905060006010600001600c9054906101000a900467ffffffffffffffff1690506000821480611c3957508142105b15611c7c5760076040517f804388c0000000000000000000000000000000000000000000000000000000008152600401611c7391906146b1565b60405180910390fd5b600c548467ffffffffffffffff16611c92610a58565b611c9c9190614549565b1115611ce05760046040517f804388c0000000000000000000000000000000000000000000000000000000008152600401611cd79190614707565b60405180910390fd5b8067ffffffffffffffff168467ffffffffffffffff16611d06611d01612abf565b612ac7565b67ffffffffffffffff16611d20611d1b612abf565b612b14565b611d2a9190614722565b611d349190614549565b1115611d785760086040517f804388c0000000000000000000000000000000000000000000000000000000008152600401611d6f9190614791565b60405180910390fd5b611d8c338567ffffffffffffffff1661267f565b611daa8467ffffffffffffffff1684611da59190614061565b612b6b565b3373ffffffffffffffffffffffffffffffffffffffff167f4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f85611deb610a58565b604051611df99291906147dd565b60405180910390a250505050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611ea3612601565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611f12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f0990614878565b60405180910390fd5b611f1b81612789565b50565b600e5481565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611f7f57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611faf5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612029575061202882612c0f565b5b9050919050565b60008161203b6122d0565b1115801561204a575060005482105b8015612088575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115612189576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b8152600401612106929190614898565b602060405180830381865afa158015612123573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061214791906148d6565b61218857806040517fede71dcc00000000000000000000000000000000000000000000000000000000815260040161217f9190613518565b60405180910390fd5b5b50565b600061219782610f48565b90508073ffffffffffffffffffffffffffffffffffffffff166121b8612c79565b73ffffffffffffffffffffffffffffffffffffffff161461221b576121e4816121df612c79565b611e07565b61221a576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600090565b60006122e0826126bd565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614612347576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008061235384612c81565b915091506123698187612364612c79565b612ca8565b6123b55761237e86612379612c79565b611e07565b6123b4576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff160361241b576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6124288686866001612cec565b801561243357600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550612501856124dd888887612cf2565b7c020000000000000000000000000000000000000000000000000000000017612d1a565b600460008681526020019081526020016000208190555060007c02000000000000000000000000000000000000000000000000000000008416036125875760006001850190506000600460008381526020019081526020016000205403612585576000548114612584578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46125ef8686866001612d45565b505050505050565b6000612710905090565b612609612abf565b73ffffffffffffffffffffffffffffffffffffffff16612627611169565b73ffffffffffffffffffffffffffffffffffffffff161461267d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126749061494f565b60405180910390fd5b565b612699828260405180602001604052806000815250612d4b565b5050565b6126b88383836040518060200160405280600081525061193b565b505050565b600080829050806126cc6122d0565b11612752576000548110156127515760006004600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082160361274f575b6000810361274557600460008360019003935083815260200190815260200160002054905061271b565b8092505050612784565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6128576132a4565b6128736004600084815260200190815260200160002054612de8565b9050919050565b60008054905090565b8060076000612890612c79565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661293d612c79565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161298291906133a7565b60405180910390a35050565b612999848484610a6f565b60008373ffffffffffffffffffffffffffffffffffffffff163b146129fb576129c484848484612e9e565b6129fa576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b612a096132a4565b612a1a612a15836126bd565b612de8565b9050919050565b6060612a2c82612030565b612a62576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000612a6c612fee565b90506000815103612a8c5760405180602001604052806000815250612ab7565b80612a9684613080565b604051602001612aa79291906149ab565b6040516020818303038152906040525b915050919050565b600033905090565b600060c0600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054901c9050919050565b600067ffffffffffffffff6040600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054901c169050919050565b80341015612bb15760026040517f804388c0000000000000000000000000000000000000000000000000000000008152600401612ba89190614a0a565b60405180910390fd5b80341115612c0c573373ffffffffffffffffffffffffffffffffffffffff166108fc8234612bdf9190614722565b9081150290604051600060405180830381858888f19350505050158015612c0a573d6000803e3d6000fd5b505b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8612d098686846130d0565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b612d5583836130d9565b60008373ffffffffffffffffffffffffffffffffffffffff163b14612de357600080549050600083820390505b612d956000868380600101945086612e9e565b612dcb576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b818110612d82578160005414612de057600080fd5b50505b505050565b612df06132a4565b81816000019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505060a082901c816020019067ffffffffffffffff16908167ffffffffffffffff168152505060007c01000000000000000000000000000000000000000000000000000000008316141581604001901515908115158152505060e882901c816060019062ffffff16908162ffffff1681525050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612ec4612c79565b8786866040518563ffffffff1660e01b8152600401612ee69493929190614a7a565b6020604051808303816000875af1925050508015612f2257506040513d601f19601f82011682018060405250810190612f1f9190614adb565b60015b612f9b573d8060008114612f52576040519150601f19603f3d011682016040523d82523d6000602084013e612f57565b606091505b506000815103612f93576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b606060118054612ffd90614001565b80601f016020809104026020016040519081016040528092919081815260200182805461302990614001565b80156130765780601f1061304b57610100808354040283529160200191613076565b820191906000526020600020905b81548152906001019060200180831161305957829003601f168201915b5050505050905090565b606060a060405101806040526020810391506000825281835b6001156130bb57600184039350600a81066030018453600a8104905080613099575b50828103602084039350808452505050919050565b60009392505050565b60008054905060008203613119576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6131266000848385612cec565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555061319d8361318e6000866000612cf2565b61319785613294565b17612d1a565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b81811461323e57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050613203565b5060008203613279576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600081905550505061328f6000848385612d45565b505050565b60006001821460e11b9050919050565b6040518060800160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff168152602001600015158152602001600062ffffff1681525090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61333c81613307565b811461334757600080fd5b50565b60008135905061335981613333565b92915050565b600060208284031215613375576133746132fd565b5b60006133838482850161334a565b91505092915050565b60008115159050919050565b6133a18161338c565b82525050565b60006020820190506133bc6000830184613398565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156133fc5780820151818401526020810190506133e1565b60008484015250505050565b6000601f19601f8301169050919050565b6000613424826133c2565b61342e81856133cd565b935061343e8185602086016133de565b61344781613408565b840191505092915050565b6000602082019050818103600083015261346c8184613419565b905092915050565b6000819050919050565b61348781613474565b811461349257600080fd5b50565b6000813590506134a48161347e565b92915050565b6000602082840312156134c0576134bf6132fd565b5b60006134ce84828501613495565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613502826134d7565b9050919050565b613512816134f7565b82525050565b600060208201905061352d6000830184613509565b92915050565b61353c816134f7565b811461354757600080fd5b50565b60008135905061355981613533565b92915050565b60008060408385031215613576576135756132fd565b5b60006135848582860161354a565b925050602061359585828601613495565b9150509250929050565b6135a881613474565b82525050565b60006020820190506135c3600083018461359f565b92915050565b6000806000606084860312156135e2576135e16132fd565b5b60006135f08682870161354a565b93505060206136018682870161354a565b925050604061361286828701613495565b9150509250925092565b60008060408385031215613633576136326132fd565b5b600061364185828601613495565b925050602061365285828601613495565b9150509250929050565b60006040820190506136716000830185613509565b61367e602083018461359f565b9392505050565b6000819050919050565b60006136aa6136a56136a0846134d7565b613685565b6134d7565b9050919050565b60006136bc8261368f565b9050919050565b60006136ce826136b1565b9050919050565b6136de816136c3565b82525050565b60006020820190506136f960008301846136d5565b92915050565b6137088161338c565b811461371357600080fd5b50565b600081359050613725816136ff565b92915050565b600060208284031215613741576137406132fd565b5b600061374f84828501613716565b91505092915050565b600080fd5b600080fd5b600080fd5b60008083601f84011261377d5761377c613758565b5b8235905067ffffffffffffffff81111561379a5761379961375d565b5b6020830191508360018202830111156137b6576137b5613762565b5b9250929050565b600080602083850312156137d4576137d36132fd565b5b600083013567ffffffffffffffff8111156137f2576137f1613302565b5b6137fe85828601613767565b92509250509250929050565b60008083601f8401126138205761381f613758565b5b8235905067ffffffffffffffff81111561383d5761383c61375d565b5b60208301915083602082028301111561385957613858613762565b5b9250929050565b60008060208385031215613877576138766132fd565b5b600083013567ffffffffffffffff81111561389557613894613302565b5b6138a18582860161380a565b92509250509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6138e2816134f7565b82525050565b600067ffffffffffffffff82169050919050565b613905816138e8565b82525050565b6139148161338c565b82525050565b600062ffffff82169050919050565b6139328161391a565b82525050565b60808201600082015161394e60008501826138d9565b50602082015161396160208501826138fc565b506040820151613974604085018261390b565b5060608201516139876060850182613929565b50505050565b60006139998383613938565b60808301905092915050565b6000602082019050919050565b60006139bd826138ad565b6139c781856138b8565b93506139d2836138c9565b8060005b83811015613a035781516139ea888261398d565b97506139f5836139a5565b9250506001810190506139d6565b5085935050505092915050565b60006020820190508181036000830152613a2a81846139b2565b905092915050565b600060208284031215613a4857613a476132fd565b5b6000613a568482850161354a565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613a9481613474565b82525050565b6000613aa68383613a8b565b60208301905092915050565b6000602082019050919050565b6000613aca82613a5f565b613ad48185613a6a565b9350613adf83613a7b565b8060005b83811015613b10578151613af78882613a9a565b9750613b0283613ab2565b925050600181019050613ae3565b5085935050505092915050565b60006020820190508181036000830152613b378184613abf565b905092915050565b600063ffffffff82169050919050565b613b5881613b3f565b8114613b6357600080fd5b50565b600081359050613b7581613b4f565b92915050565b613b84816138e8565b8114613b8f57600080fd5b50565b600081359050613ba181613b7b565b92915050565b600080600060608486031215613bc057613bbf6132fd565b5b6000613bce86828701613b66565b9350506020613bdf86828701613b92565b9250506040613bf086828701613b92565b9150509250925092565b6000604082019050613c0f600083018561359f565b613c1c602083018461359f565b9392505050565b600080600060608486031215613c3c57613c3b6132fd565b5b6000613c4a8682870161354a565b9350506020613c5b86828701613495565b9250506040613c6c86828701613495565b9150509250925092565b60008060408385031215613c8d57613c8c6132fd565b5b6000613c9b8582860161354a565b9250506020613cac85828601613716565b9150509250929050565b613cbf81613b3f565b82525050565b613cce816138e8565b82525050565b6000606082019050613ce96000830186613cb6565b613cf66020830185613cc5565b613d036040830184613cc5565b949350505050565b60006040820190508181036000830152613d258185613419565b90508181036020830152613d398184613419565b90509392505050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613d7f82613408565b810181811067ffffffffffffffff82111715613d9e57613d9d613d47565b5b80604052505050565b6000613db16132f3565b9050613dbd8282613d76565b919050565b600067ffffffffffffffff821115613ddd57613ddc613d47565b5b613de682613408565b9050602081019050919050565b82818337600083830152505050565b6000613e15613e1084613dc2565b613da7565b905082815260208101848484011115613e3157613e30613d42565b5b613e3c848285613df3565b509392505050565b600082601f830112613e5957613e58613758565b5b8135613e69848260208601613e02565b91505092915050565b60008060008060808587031215613e8c57613e8b6132fd565b5b6000613e9a8782880161354a565b9450506020613eab8782880161354a565b9350506040613ebc87828801613495565b925050606085013567ffffffffffffffff811115613edd57613edc613302565b5b613ee987828801613e44565b91505092959194509250565b608082016000820151613f0b60008501826138d9565b506020820151613f1e60208501826138fc565b506040820151613f31604085018261390b565b506060820151613f446060850182613929565b50505050565b6000608082019050613f5f6000830184613ef5565b92915050565b600060208284031215613f7b57613f7a6132fd565b5b6000613f8984828501613b92565b91505092915050565b60008060408385031215613fa957613fa86132fd565b5b6000613fb78582860161354a565b9250506020613fc88582860161354a565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061401957607f821691505b60208210810361402c5761402b613fd2565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061406c82613474565b915061407783613474565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156140b0576140af614032565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006140f582613474565b915061410083613474565b9250826141105761410f6140bb565b5b828204905092915050565b600061412682613474565b915061413183613474565b925082614141576141406140bb565b5b828206905092915050565b6000819050919050565b600060ff82169050919050565b600061417e6141796141748461414c565b613685565b614156565b9050919050565b61418e81614163565b82525050565b60006020820190506141a96000830184614185565b92915050565b60006141ba82613474565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036141ec576141eb614032565b5b600182019050919050565b600082905092915050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026142647fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82614227565b61426e8683614227565b95508019841693508086168417925050509392505050565b60006142a161429c61429784613474565b613685565b613474565b9050919050565b6000819050919050565b6142bb83614286565b6142cf6142c7826142a8565b848454614234565b825550505050565b600090565b6142e46142d7565b6142ef8184846142b2565b505050565b5b81811015614313576143086000826142dc565b6001810190506142f5565b5050565b601f8211156143585761432981614202565b61433284614217565b81016020851015614341578190505b61435561434d85614217565b8301826142f4565b50505b505050565b600082821c905092915050565b600061437b6000198460080261435d565b1980831691505092915050565b6000614394838361436a565b9150826002028217905092915050565b6143ae83836141f7565b67ffffffffffffffff8111156143c7576143c6613d47565b5b6143d18254614001565b6143dc828285614317565b6000601f83116001811461440b57600084156143f9578287013590505b6144038582614388565b86555061446b565b601f19841661441986614202565b60005b828110156144415784890135825560018201915060208501945060208101905061441c565b8683101561445e578489013561445a601f89168261436a565b8355505b6001600288020188555050505b50505050505050565b6000815461448181614001565b61448b81866133cd565b945060018216600081146144a657600181146144bc576144ef565b60ff1983168652811515602002860193506144ef565b6144c585614202565b60005b838110156144e7578154818901526001820191506020810190506144c8565b808801955050505b50505092915050565b600060208201905081810360008301526145128184614474565b905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600061455482613474565b915061455f83613474565b925082820190508082111561457757614576614032565b5b92915050565b6000606082019050614592600083018661359f565b61459f602083018561359f565b6145ac604083018461359f565b949350505050565b7f746f6b656e206e6f742065786973740000000000000000000000000000000000600082015250565b60006145ea600f836133cd565b91506145f5826145b4565b602082019050919050565b60006020820190508181036000830152614619816145dd565b9050919050565b6000819050919050565b600061464561464061463b84614620565b613685565b614156565b9050919050565b6146558161462a565b82525050565b6000602082019050614670600083018461464c565b92915050565b6000819050919050565b600061469b61469661469184614676565b613685565b614156565b9050919050565b6146ab81614680565b82525050565b60006020820190506146c660008301846146a2565b92915050565b6000819050919050565b60006146f16146ec6146e7846146cc565b613685565b614156565b9050919050565b614701816146d6565b82525050565b600060208201905061471c60008301846146f8565b92915050565b600061472d82613474565b915061473883613474565b92508282039050818111156147505761474f614032565b5b92915050565b6000819050919050565b600061477b61477661477184614756565b613685565b614156565b9050919050565b61478b81614760565b82525050565b60006020820190506147a66000830184614782565b92915050565b60006147c76147c26147bd846138e8565b613685565b613474565b9050919050565b6147d7816147ac565b82525050565b60006040820190506147f260008301856147ce565b6147ff602083018461359f565b9392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006148626026836133cd565b915061486d82614806565b604082019050919050565b6000602082019050818103600083015261489181614855565b9050919050565b60006040820190506148ad6000830185613509565b6148ba6020830184613509565b9392505050565b6000815190506148d0816136ff565b92915050565b6000602082840312156148ec576148eb6132fd565b5b60006148fa848285016148c1565b91505092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006149396020836133cd565b915061494482614903565b602082019050919050565b600060208201905081810360008301526149688161492c565b9050919050565b600081905092915050565b6000614985826133c2565b61498f818561496f565b935061499f8185602086016133de565b80840191505092915050565b60006149b7828561497a565b91506149c3828461497a565b91508190509392505050565b6000819050919050565b60006149f46149ef6149ea846149cf565b613685565b614156565b9050919050565b614a04816149d9565b82525050565b6000602082019050614a1f60008301846149fb565b92915050565b600081519050919050565b600082825260208201905092915050565b6000614a4c82614a25565b614a568185614a30565b9350614a668185602086016133de565b614a6f81613408565b840191505092915050565b6000608082019050614a8f6000830187613509565b614a9c6020830186613509565b614aa9604083018561359f565b8181036060830152614abb8184614a41565b905095945050505050565b600081519050614ad581613333565b92915050565b600060208284031215614af157614af06132fd565b5b6000614aff84828501614ac6565b9150509291505056fea2646970667358221220ab534d74b374f66f0e934417732f92f7b1fb928c600558c4166b7dfe0ee827a264736f6c63430008100033

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

00000000000000000000000000000000000000000000000000000000000001bc0000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d5862447a755a5778714d687573634b58325a46544c6b687142425850743773336635335664384431763851320000000000000000000000

-----Decoded View---------------
Arg [0] : collectionSize_ (uint256): 444
Arg [1] : maxBatchSize_ (uint256): 22
Arg [2] : amountForDevs_ (uint256): 22
Arg [3] : defaultTokenURI_ (string): ipfs://QmXbDzuZWxqMhuscKX2ZFTLkhqBBXPt7s3f53Vd8D1v8Q2

-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000001bc
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000016
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000016
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000035
Arg [5] : 697066733a2f2f516d5862447a755a5778714d687573634b58325a46544c6b68
Arg [6] : 7142425850743773336635335664384431763851320000000000000000000000


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.