ETH Price: $2,431.42 (-0.35%)

Token

The Lobstarbots (LOBBOTS)
 

Overview

Max Total Supply

333 LOBBOTS

Holders

156

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 LOBBOTS
0x00fec515b02e30fc901b6edc6e21ba84f05c0445
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:
Lobstarbots

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 13 : LobstarsBot.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.8;

/*
      __       _____      _____    _____    _____    _______   ______  
     /\_\     ) ___ (   /\  __/\ /\  __/\  ) ___ ( /\_______)\/ ____/\ 
    ( ( (    / /\_/\ \  ) )(_ ) )) )(_ ) )/ /\_/\ \\(___  __\/) ) __\/ 
     \ \_\  / /_/ (_\ \/ / __/ // / __/ // /_/ (_\ \ / / /     \ \ \   
     / / /__\ \ )_/ / /\ \  _\ \\ \  _\ \\ \ )_/ / /( ( (      _\ \ \  
    ( (_____(\ \/_\/ /  ) )(__) )) )(__) )\ \/_\/ /  \ \ \    )____) ) 
     \/_____/ )_____(   \/____\/ \/____\/  )_____(   /_/_/    \____\/  
                                                          
    The Lobstarbots All Rights Reserved 2022
    Developed by ATOMICON.PRO ([email protected])
*/

import "./ERC721A/ERC721A.sol";

import "./utils/Manageable.sol";
import "./utils/operator_filterer/DefaultOperatorFilterer.sol";

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";

contract Lobstarbots is ERC721A, Manageable, DefaultOperatorFilterer, ReentrancyGuard {

    error ZeroAddressProhibited();
    error CallerCanNotPerformAirdrop();
    error CallerIsNotCrossmintNorWalletOwner();

    error WrongEtherAmmount();
    error ExceedingMaxSupply();
    error ExceedingTokensPerStageLimit();

    error NotInAllowlist();

    error InvalidBookingSlotIndex();
    error NotATokenHolder();
    error SlotAlreadyTaken();

    error HashComparisonFailed();
    error UntrustedSigner();
    error HashAlreadyUsed();
    error SignatureNoLongerValid();

    error SaleIdNotFound();
    error SalesClosed();
    error SalesNotConfigured();
    error ExceedingSaleStageCount();
    error InvalidSalesConfiguration();
    
    error NothingToWithdraw();
   
    struct SaleStage {
        uint32 id; 
        uint32 startTime;

        bool isAirdrop;
        bool isWhitelistSale;

        uint256 weiTokenPrice;
        uint16 maxSupplyByTheEndOfStage;
        uint16 maxTokensPerUser;
    }

    event SlotBooked(uint256 tokenId, uint64 indexed bookedSlotId, uint64 freedSlotId);

    SaleStage[] private _saleStages;
    mapping(uint32 => mapping(address => bool)) private _stageAllowlist;
    mapping(uint32 => mapping(address => uint256)) private _numberMintedDuringStage;

    address private _crossmintAddress = 0xdAb1a1854214684acE522439684a145E62505233 ;

    mapping(uint64 => uint256) private _bookingSlots;
    uint64 private _bookingSlotsCount;

    bytes8 private _hashSalt = 0x9a6f9334e0a49511;
    address private _signerAddress = 0x542eA56F66bbCe7A7704b96fB130f08C03306061;
    mapping(uint64 => bool) private _usedNonces;

    constructor() ERC721A("The Lobstarbots", "LOBBOTS") {}

    function setCrossmintAddress(address crossmintAddress) public onlyOwner {
        _crossmintAddress = crossmintAddress;
    }

    /// @notice Mint tokens during the sales both through crossmint.io and directly by the buyer
    function mint(address to, uint256 quantity)
        external
        payable
        nonReentrant
    {
        SaleStage memory currentStage = getCurrentSaleStage();

        if (currentStage.isAirdrop)
            if(!isManager(msg.sender))
                revert CallerCanNotPerformAirdrop();
        else {
            if (msg.sender != _crossmintAddress && msg.sender != to) 
                revert CallerIsNotCrossmintNorWalletOwner();
        }
        
        if (to == address(0x0)) revert ZeroAddressProhibited();

        if (msg.value != currentStage.weiTokenPrice * quantity) revert WrongEtherAmmount();
        if (totalSupply() + quantity > currentStage.maxSupplyByTheEndOfStage) revert ExceedingMaxSupply();
        if (quantity > numberAbleToMint(to)) revert ExceedingTokensPerStageLimit();

        if (currentStage.isWhitelistSale && !isInAllowlistForStage(currentStage.id, to)) revert NotInAllowlist();

        _numberMintedDuringStage[currentStage.id][to] += quantity;
        _safeMint(to, quantity);
    }

    // @notice Book a timeslot using a token you own
    function bookSlot(bytes32 hash, bytes calldata signature, uint64 signatureValidityTimestamp, uint64 nonce, uint256 tokenId, uint64 slotId) public {
        if (slotId > _bookingSlotsCount || slotId < 1) revert InvalidBookingSlotIndex();
        if (ownerOf(tokenId) != msg.sender) revert NotATokenHolder();
        if (_bookingSlots[slotId] != 0) revert SlotAlreadyTaken();

        if (signatureValidityTimestamp < block.timestamp) revert SignatureNoLongerValid();
        if (_bookOperationHash(msg.sender, slotId, signatureValidityTimestamp, nonce) != hash) revert HashComparisonFailed();
        if (!_isTrustedSigner(hash, signature)) revert UntrustedSigner();
        if (_usedNonces[nonce]) revert HashAlreadyUsed();

        uint64 oldBookingSlotId = tokenBookingSlotId(tokenId);
        
        _bookingSlots[oldBookingSlotId] = 0;
        _bookingSlots[slotId] = tokenId;

        _usedNonces[nonce] = true;

        emit SlotBooked(tokenId, slotId, oldBookingSlotId);
    }

    // @notice Get a booked timeslot of a token. Notice, that booking slot ids begin with 1
    function tokenBookingSlotId(uint256 tokenId) public view returns(uint64) {
        for(uint64 id = 1; id <= _bookingSlotsCount; id++) {
            if (_bookingSlots[id] == tokenId) return id;
        }

        return 0;
    }

    /// @notice Get booking slots of all tokens
    function getBookingSlots() public view returns(uint256[] memory) {
        uint256[] memory bookingSlotsTokenIds = new uint256[](_bookingSlotsCount);

        for(uint64 id = 1; id <= _bookingSlotsCount; id++) {
            bookingSlotsTokenIds[id-1] = _bookingSlots[id];
        }

        return bookingSlotsTokenIds;
    }

    /// @notice Check, whether owner is in an allowlist for a specific sale stage
    function isInAllowlistForStage(uint32 stageId, address owner) public view returns (bool) {
        return _stageAllowlist[stageId][owner];
    }

    /// @notice Number of tokens an address can mint at the given moment
    function numberAbleToMint(address owner) public view returns (uint256) {
        SaleStage memory currentStage = getCurrentSaleStage();
        return currentStage.maxTokensPerUser - numberMintedDuringStage(currentStage.id, owner);
    }

    /// @notice Number of tokens minted by an address during a specific sale stage
    function numberMintedDuringStage(uint32 stageId, address owner) public view returns (uint256) {
        return _numberMintedDuringStage[stageId][owner];
    }

    /// @notice Number of tokens minted by an address during all sale stages
    function numberMinted(address owner) public view returns (uint256) {
        return _numberMinted(owner);
    }

    /// @notice Get current collection size, based on the last token sale stage
    function getCollectionSize() public view returns (uint256) {
        return getSaleStageByIndex(getSaleStagesCount() - 1).maxSupplyByTheEndOfStage;
    }

    /// @notice Get current sale stage
    function getCurrentSaleStage() public view returns (SaleStage memory) {
        return getSaleStageByIndex(getCurrentSaleStageIndex());
    }

    /// @notice Get ammount of currently added sale stages
    function getSaleStagesCount() public view returns (uint8) {
        return uint8(_saleStages.length);
    }

    /// @notice Get sale stage by index
    function getSaleStageById(uint32 stageId) public view returns (SaleStage memory) {
        for(uint8 index = 0; index < _saleStages.length; index++) {
            if (_saleStages[index].id == stageId)
                return _saleStages[index];
        }

        revert SaleIdNotFound();
    }

    /// @notice Get sale stage by index
    function getSaleStageByIndex(uint8 stageIndex) public view returns (SaleStage memory) {
        if (stageIndex >= getSaleStagesCount()) revert ExceedingSaleStageCount();
        return _saleStages[stageIndex];
    }

    /// @notice Get current sale stage index
    function getCurrentSaleStageIndex() public view returns (uint8) {
        if (_saleStages.length == 0) revert SalesNotConfigured();
        if (block.timestamp < _saleStages[0].startTime) revert SalesClosed();

        uint8 latestSaleStageIndex = 0;
        for(uint8 index = 0; index < _saleStages.length; index++) {
            if (block.timestamp > _saleStages[index].startTime)
                latestSaleStageIndex = index;
        }

        return latestSaleStageIndex;
    }

    /// @notice Add a sale stage configuration
    function addSaleStage(SaleStage memory newSaleStage) external onlyManager {
        if (_saleStages.length > 0) {
            SaleStage memory previousSaleStage = getSaleStageByIndex(uint8(_saleStages.length - 1));
        
            if (previousSaleStage.startTime >= newSaleStage.startTime || 
                previousSaleStage.maxSupplyByTheEndOfStage > newSaleStage.maxSupplyByTheEndOfStage
            ) revert InvalidSalesConfiguration();
        }

        if (newSaleStage.isAirdrop && newSaleStage.weiTokenPrice != 0)
            revert InvalidSalesConfiguration();

        _saleStages.push(newSaleStage);
    }

    /// @notice Remove all sale stage configs
    function clearSaleStages() external onlyManager {
        delete _saleStages;
    }

    // @notice Set an allowlist for a specific sale stage
    function setSaleStageAllowlist(uint32 stageId, address[] memory allowlist, bool isAllowed) external onlyManager {
        for(uint256 index = 0; index < allowlist.length; index++) {
            _stageAllowlist[stageId][allowlist[index]] = isAllowed;
        }
    }

    // @notice Set the count of slots available for booking
    function setBookingSlotsCount(uint64 bookingSlotsCount) external onlyManager {
        _bookingSlotsCount = bookingSlotsCount;
    }

    /// @notice Withdraw money from the contract
    function withdrawMoney(address payable to) external onlyManager nonReentrant {
        if (address(this).balance == 0) revert NothingToWithdraw();
        to.transfer(address(this).balance);
    }

    /// @notice Get URI with contract metadata for OpenSea
    function contractURI() public pure returns (string memory) {
        return "ipfs://QmaRuP7Epy2zzuFGoDzMdF6tPDoRSxcxD5rPfp6HtK73D4";
    }

    /// @dev Starting index for the token IDs
    function _startTokenId() internal view virtual override returns (uint256) {
        return 1;
    }

    /// @dev Token metadata folder/root URI
    string private _baseTokenURI = "ipfs://QmcCAZmDysBhWQt2aZJErQJRbFSrsquscbDQjQaV3NyssY/";

    /// @notice Get base token URI
    function _baseURI() internal view virtual override returns (string memory) {
        return _baseTokenURI;
    }

    /// @notice Set base token URI
    function setBaseURI(string calldata baseURI) external onlyManager {
        _baseTokenURI = baseURI;
    }

    /// @dev Overrides for marketplace restrictions
    function transferFrom(address from, address to, uint256 tokenId) 
        public 
        override(ERC721A) 
        onlyAllowedOperator(from) 
    {
        super.transferFrom(from, to, tokenId);
    }

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

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

    /// @dev Generate hash of current slot booking operation
    function _bookOperationHash(address owner, uint64 slotId, uint64 validityTimestamp, uint64 nonce) internal view returns (bytes32) {
        return keccak256(abi.encodePacked(
            _hashSalt,
            owner,
            block.chainid,
            slotId,
            validityTimestamp,
            nonce
        ));
    }

    /// @dev Check, whether a message was signed by a trusted address
    function _isTrustedSigner(bytes32 hash, bytes memory signature) internal view returns (bool) {
        return _signerAddress == ECDSA.recover(hash, signature);
    }
}

File 2 of 13 : ECDSA.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/cryptography/ECDSA.sol)

pragma solidity ^0.8.0;

import "../Strings.sol";

/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
    enum RecoverError {
        NoError,
        InvalidSignature,
        InvalidSignatureLength,
        InvalidSignatureS,
        InvalidSignatureV // Deprecated in v4.8
    }

    function _throwError(RecoverError error) private pure {
        if (error == RecoverError.NoError) {
            return; // no error: do nothing
        } else if (error == RecoverError.InvalidSignature) {
            revert("ECDSA: invalid signature");
        } else if (error == RecoverError.InvalidSignatureLength) {
            revert("ECDSA: invalid signature length");
        } else if (error == RecoverError.InvalidSignatureS) {
            revert("ECDSA: invalid signature 's' value");
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature` or error string. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     *
     * Documentation for signature generation:
     * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
     * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
     *
     * _Available since v4.3._
     */
    function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {
        if (signature.length == 65) {
            bytes32 r;
            bytes32 s;
            uint8 v;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            /// @solidity memory-safe-assembly
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
            return tryRecover(hash, v, r, s);
        } else {
            return (address(0), RecoverError.InvalidSignatureLength);
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, signature);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
     *
     * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address, RecoverError) {
        bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);
        uint8 v = uint8((uint256(vs) >> 255) + 27);
        return tryRecover(hash, v, r, s);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.
     *
     * _Available since v4.2._
     */
    function recover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, r, vs);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `v`,
     * `r` and `s` signature fields separately.
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address, RecoverError) {
        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most
        // signatures from current libraries generate a unique signature with an s-value in the lower half order.
        //
        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
        // these malleable signatures as well.
        if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
            return (address(0), RecoverError.InvalidSignatureS);
        }

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        if (signer == address(0)) {
            return (address(0), RecoverError.InvalidSignature);
        }

        return (signer, RecoverError.NoError);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function recover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, v, r, s);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from `s`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s));
    }

    /**
     * @dev Returns an Ethereum Signed Typed Data, created from a
     * `domainSeparator` and a `structHash`. This produces hash corresponding
     * to the one signed with the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
     * JSON-RPC method as part of EIP-712.
     *
     * See {recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
    }
}

File 3 of 13 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

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

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

File 4 of 13 : 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 5 of 13 : 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 6 of 13 : Manageable.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.2;

import "@openzeppelin/contracts/access/Ownable.sol";    

abstract contract Manageable is Ownable {

    address[] private _managers;
    
    constructor() {
        addManager(_msgSender());
    }

    /// @dev Throws if called by any account other than a manager.
    modifier onlyManager() {
        _checkManager();
        _;
    }

    /// @notice Check, whether a wallet is a manager or not
    function isManager(address wallet) public view virtual returns (bool) {
        for(uint256 index = 0; index < _managers.length; index++) {
            if(_managers[index] == wallet) return true;
        }

        return false;
    }

    /// @dev Throws if the sender is not a manager
    function _checkManager() internal view virtual {
        require(isManager(_msgSender()), "Managable: caller is not a manager");
    }

    /// @notice Add a list of addresses to a list of managers
    function addManagers(address[] memory newManagers) public virtual onlyOwner {
        for(uint256 index = 0; index < newManagers.length; index++) {
            addManager(newManagers[index]);
        }
    }

    /// @notice Add an address to a list of managers
    function addManager(address newManager) public virtual onlyOwner {
        require(!isManager(newManager), "Managable: wallet is already a manager");
        require(newManager != address(0), "Managable: new manager is the zero address");

        _managers.push(newManager);
    }

    /// @notice Remove all managers from the contract
    function removeManagers() public virtual onlyOwner {
        delete _managers;
    }
}

File 7 of 13 : ERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.0
// 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 {
    // Reference type for token approval.
    struct TokenApprovalRef {
        address value;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        return _tokenApprovals[tokenId].value;
    }

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

        _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]`.
        assembly {
            approvedAddressSlot := tokenApproval.slot
            approvedAddress := sload(approvedAddressSlot)
        }
    }

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

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

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

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

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            uint256 toMasked;
            uint256 end = startTokenId + quantity;

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

                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 ptr) {
        assembly {
            // The maximum value of a uint256 contains 78 digits (1 byte per digit),
            // but we allocate 128 bytes to keep the free memory pointer 32-byte word aliged.
            // We will need 1 32-byte word to store the length,
            // and 3 32-byte words to store a maximum of 78 digits. Total: 32 + 3 * 32 = 128.
            ptr := add(mload(0x40), 128)
            // Update the free memory pointer to allocate.
            mstore(0x40, ptr)

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

            // We write the string from the rightmost digit to the leftmost digit.
            // The following is essentially a do-while loop that also handles the zero case.
            // Costs a bit more than early returning for the zero case,
            // but cheaper in terms of deployment and overall runtime costs.
            for {
                // Initialize and perform the first pass without check.
                let temp := value
                // Move the pointer 1 byte leftwards to point to an empty character slot.
                ptr := sub(ptr, 1)
                // Write the character to the pointer.
                // The ASCII index of the '0' character is 48.
                mstore8(ptr, add(48, mod(temp, 10)))
                temp := div(temp, 10)
            } temp {
                // Keep dividing `temp` until zero.
                temp := div(temp, 10)
            } {
                // Body of the for loop.
                ptr := sub(ptr, 1)
                mstore8(ptr, add(48, mod(temp, 10)))
            }

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

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

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

abstract contract OperatorFilterer {
    error OperatorNotAllowed(address operator);

    IOperatorFilterRegistry constant operatorFilterRegistry =
        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(operatorFilterRegistry).code.length > 0) {
            if (subscribe) {
                operatorFilterRegistry.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy);
            } else {
                if (subscriptionOrRegistrantToCopy != address(0)) {
                    operatorFilterRegistry.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy);
                } else {
                    operatorFilterRegistry.register(address(this));
                }
            }
        }
    }

    modifier onlyAllowedOperator(address from) virtual {
        // Check registry code length to facilitate testing in environments without a deployed registry.
        if (address(operatorFilterRegistry).code.length > 0) {
            // 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) {
                _;
                return;
            }
            if (
                !(
                    operatorFilterRegistry.isOperatorAllowed(address(this), msg.sender)
                        && operatorFilterRegistry.isOperatorAllowed(address(this), from)
                )
            ) {
                revert OperatorNotAllowed(msg.sender);
            }
        }
        _;
    }
}

File 9 of 13 : IERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.0
// 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();

    /**
     * The caller cannot approve to their own address.
     */
    error ApproveToCaller();

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "./math/Math.sol";

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            require(denominator > prod1);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"CallerCanNotPerformAirdrop","type":"error"},{"inputs":[],"name":"CallerIsNotCrossmintNorWalletOwner","type":"error"},{"inputs":[],"name":"ExceedingMaxSupply","type":"error"},{"inputs":[],"name":"ExceedingSaleStageCount","type":"error"},{"inputs":[],"name":"ExceedingTokensPerStageLimit","type":"error"},{"inputs":[],"name":"HashAlreadyUsed","type":"error"},{"inputs":[],"name":"HashComparisonFailed","type":"error"},{"inputs":[],"name":"InvalidBookingSlotIndex","type":"error"},{"inputs":[],"name":"InvalidSalesConfiguration","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"NotATokenHolder","type":"error"},{"inputs":[],"name":"NotInAllowlist","type":"error"},{"inputs":[],"name":"NothingToWithdraw","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"SaleIdNotFound","type":"error"},{"inputs":[],"name":"SalesClosed","type":"error"},{"inputs":[],"name":"SalesNotConfigured","type":"error"},{"inputs":[],"name":"SignatureNoLongerValid","type":"error"},{"inputs":[],"name":"SlotAlreadyTaken","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"},{"inputs":[],"name":"UntrustedSigner","type":"error"},{"inputs":[],"name":"WrongEtherAmmount","type":"error"},{"inputs":[],"name":"ZeroAddressProhibited","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":true,"internalType":"uint64","name":"bookedSlotId","type":"uint64"},{"indexed":false,"internalType":"uint64","name":"freedSlotId","type":"uint64"}],"name":"SlotBooked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"newManager","type":"address"}],"name":"addManager","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"newManagers","type":"address[]"}],"name":"addManagers","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"uint32","name":"id","type":"uint32"},{"internalType":"uint32","name":"startTime","type":"uint32"},{"internalType":"bool","name":"isAirdrop","type":"bool"},{"internalType":"bool","name":"isWhitelistSale","type":"bool"},{"internalType":"uint256","name":"weiTokenPrice","type":"uint256"},{"internalType":"uint16","name":"maxSupplyByTheEndOfStage","type":"uint16"},{"internalType":"uint16","name":"maxTokensPerUser","type":"uint16"}],"internalType":"struct Lobstarbots.SaleStage","name":"newSaleStage","type":"tuple"}],"name":"addSaleStage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"hash","type":"bytes32"},{"internalType":"bytes","name":"signature","type":"bytes"},{"internalType":"uint64","name":"signatureValidityTimestamp","type":"uint64"},{"internalType":"uint64","name":"nonce","type":"uint64"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint64","name":"slotId","type":"uint64"}],"name":"bookSlot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"clearSaleStages","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getBookingSlots","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getCollectionSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getCurrentSaleStage","outputs":[{"components":[{"internalType":"uint32","name":"id","type":"uint32"},{"internalType":"uint32","name":"startTime","type":"uint32"},{"internalType":"bool","name":"isAirdrop","type":"bool"},{"internalType":"bool","name":"isWhitelistSale","type":"bool"},{"internalType":"uint256","name":"weiTokenPrice","type":"uint256"},{"internalType":"uint16","name":"maxSupplyByTheEndOfStage","type":"uint16"},{"internalType":"uint16","name":"maxTokensPerUser","type":"uint16"}],"internalType":"struct Lobstarbots.SaleStage","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getCurrentSaleStageIndex","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint32","name":"stageId","type":"uint32"}],"name":"getSaleStageById","outputs":[{"components":[{"internalType":"uint32","name":"id","type":"uint32"},{"internalType":"uint32","name":"startTime","type":"uint32"},{"internalType":"bool","name":"isAirdrop","type":"bool"},{"internalType":"bool","name":"isWhitelistSale","type":"bool"},{"internalType":"uint256","name":"weiTokenPrice","type":"uint256"},{"internalType":"uint16","name":"maxSupplyByTheEndOfStage","type":"uint16"},{"internalType":"uint16","name":"maxTokensPerUser","type":"uint16"}],"internalType":"struct Lobstarbots.SaleStage","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"stageIndex","type":"uint8"}],"name":"getSaleStageByIndex","outputs":[{"components":[{"internalType":"uint32","name":"id","type":"uint32"},{"internalType":"uint32","name":"startTime","type":"uint32"},{"internalType":"bool","name":"isAirdrop","type":"bool"},{"internalType":"bool","name":"isWhitelistSale","type":"bool"},{"internalType":"uint256","name":"weiTokenPrice","type":"uint256"},{"internalType":"uint16","name":"maxSupplyByTheEndOfStage","type":"uint16"},{"internalType":"uint16","name":"maxTokensPerUser","type":"uint16"}],"internalType":"struct Lobstarbots.SaleStage","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getSaleStagesCount","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint32","name":"stageId","type":"uint32"},{"internalType":"address","name":"owner","type":"address"}],"name":"isInAllowlistForStage","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"}],"name":"isManager","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"numberAbleToMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"numberMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint32","name":"stageId","type":"uint32"},{"internalType":"address","name":"owner","type":"address"}],"name":"numberMintedDuringStage","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"removeManagers","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"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":"uint64","name":"bookingSlotsCount","type":"uint64"}],"name":"setBookingSlotsCount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"crossmintAddress","type":"address"}],"name":"setCrossmintAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"stageId","type":"uint32"},{"internalType":"address[]","name":"allowlist","type":"address[]"},{"internalType":"bool","name":"isAllowed","type":"bool"}],"name":"setSaleStageAllowlist","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":"tokenBookingSlotId","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"to","type":"address"}],"name":"withdrawMoney","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405273dab1a1854214684ace522439684a145e62505233600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550679a6f9334e0a4951160c01b601060086101000a81548167ffffffffffffffff021916908360c01c021790555073542ea56f66bbce7a7704b96fb130f08c03306061601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550604051806060016040528060368152602001620067bb603691396013908162000105919062000a17565b503480156200011357600080fd5b50733cc6cdda760b79bafa08df41ecfa224f810dceb660016040518060400160405280600f81526020017f546865204c6f6273746172626f747300000000000000000000000000000000008152506040518060400160405280600781526020017f4c4f42424f5453000000000000000000000000000000000000000000000000008152508160029081620001a8919062000a17565b508060039081620001ba919062000a17565b50620001cb6200041860201b60201c565b6000819055505050620001f3620001e76200042160201b60201c565b6200042960201b60201c565b62000213620002076200042160201b60201c565b620004ef60201b60201c565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b111562000408578015620002ce576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16637d3e3dbe30846040518363ffffffff1660e01b81526004016200029492919062000b43565b600060405180830381600087803b158015620002af57600080fd5b505af1158015620002c4573d6000803e3d6000fd5b5050505062000407565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161462000388576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663a0af290330846040518363ffffffff1660e01b81526004016200034e92919062000b43565b600060405180830381600087803b1580156200036957600080fd5b505af11580156200037e573d6000803e3d6000fd5b5050505062000406565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16634420e486306040518263ffffffff1660e01b8152600401620003d1919062000b70565b600060405180830381600087803b158015620003ec57600080fd5b505af115801562000401573d6000803e3d6000fd5b505050505b5b5b50506001600a8190555062000deb565b60006001905090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620004ff6200062b60201b60201c565b6200051081620006bc60201b60201c565b1562000553576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200054a9062000c14565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603620005c5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620005bc9062000cac565b60405180910390fd5b6009819080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6200063b6200042160201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620006616200077360201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1614620006ba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620006b19062000d1e565b60405180910390fd5b565b600080600090505b60098054905081101562000768578273ffffffffffffffffffffffffffffffffffffffff16600982815481106200070057620006ff62000d40565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603620007525760019150506200076e565b80806200075f9062000d9e565b915050620006c4565b50600090505b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200081f57607f821691505b602082108103620008355762000834620007d7565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026200089f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000860565b620008ab868362000860565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b6000620008f8620008f2620008ec84620008c3565b620008cd565b620008c3565b9050919050565b6000819050919050565b6200091483620008d7565b6200092c6200092382620008ff565b8484546200086d565b825550505050565b600090565b6200094362000934565b6200095081848462000909565b505050565b5b8181101562000978576200096c60008262000939565b60018101905062000956565b5050565b601f821115620009c75762000991816200083b565b6200099c8462000850565b81016020851015620009ac578190505b620009c4620009bb8562000850565b83018262000955565b50505b505050565b600082821c905092915050565b6000620009ec60001984600802620009cc565b1980831691505092915050565b600062000a078383620009d9565b9150826002028217905092915050565b62000a22826200079d565b67ffffffffffffffff81111562000a3e5762000a3d620007a8565b5b62000a4a825462000806565b62000a578282856200097c565b600060209050601f83116001811462000a8f576000841562000a7a578287015190505b62000a868582620009f9565b86555062000af6565b601f19841662000a9f866200083b565b60005b8281101562000ac95784890151825560018201915060208501945060208101905062000aa2565b8683101562000ae9578489015162000ae5601f891682620009d9565b8355505b6001600288020188555050505b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600062000b2b8262000afe565b9050919050565b62000b3d8162000b1e565b82525050565b600060408201905062000b5a600083018562000b32565b62000b69602083018462000b32565b9392505050565b600060208201905062000b87600083018462000b32565b92915050565b600082825260208201905092915050565b7f4d616e616761626c653a2077616c6c657420697320616c72656164792061206d60008201527f616e616765720000000000000000000000000000000000000000000000000000602082015250565b600062000bfc60268362000b8d565b915062000c098262000b9e565b604082019050919050565b6000602082019050818103600083015262000c2f8162000bed565b9050919050565b7f4d616e616761626c653a206e6577206d616e6167657220697320746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b600062000c94602a8362000b8d565b915062000ca18262000c36565b604082019050919050565b6000602082019050818103600083015262000cc78162000c85565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600062000d0660208362000b8d565b915062000d138262000cce565b602082019050919050565b6000602082019050818103600083015262000d398162000cf7565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600062000dab82620008c3565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820362000de05762000ddf62000d6f565b5b600182019050919050565b6159c08062000dfb6000396000f3fe60806040526004361061025c5760003560e01c8063715018a611610144578063ad8e7a23116100b6578063dc33e6811161007a578063dc33e681146108f7578063e7518d1014610934578063e8a3d4851461095f578063e985e9c51461098a578063f2fde38b146109c7578063f3ae2415146109f05761025c565b8063ad8e7a23146107fe578063b5657d0114610829578063b88d4fde14610866578063c87b56dd1461088f578063d367dc58146108cc5761025c565b806395d89b411161010857806395d89b41146106ca578063972400b9146106f55780639737e73014610732578063997556241461076f578063a1d140c314610798578063a22cb465146107d55761025c565b8063715018a61461060b5780637155c1ea146106225780638c5f9e741461064d5780638da5cb5b146106765780638efcc2dd146106a15761025c565b806323b872dd116101dd57806342842e0e116101a157806342842e0e146104ff5780634b03d8201461052857806355f804b3146105515780636352211e1461057a57806367ef2d6c146105b757806370a08231146105ce5761025c565b806323b872dd1461042b5780632cf3dc19146104545780632d06177a146104915780632f971029146104ba57806340c10f19146104e35761025c565b806312f051a51161022457806312f051a51461036c57806315001632146103955780631711bbc7146103c057806318160ddd146103e9578063191475b5146104145761025c565b806301ffc9a7146102615780630219510b1461029e57806306fdde03146102db578063081812fc14610306578063095ea7b314610343575b600080fd5b34801561026d57600080fd5b5061028860048036038101906102839190613e52565b610a2d565b6040516102959190613e9a565b60405180910390f35b3480156102aa57600080fd5b506102c560048036038101906102c09190613ef1565b610abf565b6040516102d29190614000565b60405180910390f35b3480156102e757600080fd5b506102f0610c74565b6040516102fd91906140ab565b60405180910390f35b34801561031257600080fd5b5061032d600480360381019061032891906140f9565b610d06565b60405161033a9190614167565b60405180910390f35b34801561034f57600080fd5b5061036a600480360381019061036591906141ae565b610d85565b005b34801561037857600080fd5b50610393600480360381019061038e919061422e565b610ec9565b005b3480156103a157600080fd5b506103aa610efd565b6040516103b79190614000565b60405180910390f35b3480156103cc57600080fd5b506103e760048036038101906103e291906143e7565b610f1a565b005b3480156103f557600080fd5b506103fe611115565b60405161040b9190614423565b60405180910390f35b34801561042057600080fd5b5061042961112c565b005b34801561043757600080fd5b50610452600480360381019061044d919061443e565b611144565b005b34801561046057600080fd5b5061047b600480360381019061047691906140f9565b611326565b60405161048891906144a0565b60405180910390f35b34801561049d57600080fd5b506104b860048036038101906104b391906144bb565b6113b4565b005b3480156104c657600080fd5b506104e160048036038101906104dc9190614526565b6114da565b005b6104fd60048036038101906104f891906141ae565b611576565b005b34801561050b57600080fd5b506105266004803603810190610521919061443e565b6118ba565b005b34801561053457600080fd5b5061054f600480360381019061054a9190614620565b611a9c565b005b34801561055d57600080fd5b50610578600480360381019061057391906146ea565b611b57565b005b34801561058657600080fd5b506105a1600480360381019061059c91906140f9565b611b75565b6040516105ae9190614167565b60405180910390f35b3480156105c357600080fd5b506105cc611b87565b005b3480156105da57600080fd5b506105f560048036038101906105f091906144bb565b611b9f565b6040516106029190614423565b60405180910390f35b34801561061757600080fd5b50610620611c57565b005b34801561062e57600080fd5b50610637611c6b565b6040516106449190614423565b60405180910390f35b34801561065957600080fd5b50610674600480360381019061066f9190614737565b611c96565b005b34801561068257600080fd5b5061068b611ce4565b6040516106989190614167565b60405180910390f35b3480156106ad57600080fd5b506106c860048036038101906106c3919061480c565b611d0e565b005b3480156106d657600080fd5b506106df6120c1565b6040516106ec91906140ab565b60405180910390f35b34801561070157600080fd5b5061071c600480360381019061071791906148bb565b612153565b6040516107299190613e9a565b60405180910390f35b34801561073e57600080fd5b50610759600480360381019061075491906144bb565b6121c7565b6040516107669190614423565b60405180910390f35b34801561077b57600080fd5b50610796600480360381019061079191906144bb565b6121fd565b005b3480156107a457600080fd5b506107bf60048036038101906107ba91906148bb565b612249565b6040516107cc9190614423565b60405180910390f35b3480156107e157600080fd5b506107fc60048036038101906107f791906148fb565b6122b0565b005b34801561080a57600080fd5b50610813612427565b60405161082091906149ea565b60405180910390f35b34801561083557600080fd5b50610850600480360381019061084b9190614a45565b612546565b60405161085d9190614000565b60405180910390f35b34801561087257600080fd5b5061088d60048036038101906108889190614b27565b612697565b005b34801561089b57600080fd5b506108b660048036038101906108b191906140f9565b61287c565b6040516108c391906140ab565b60405180910390f35b3480156108d857600080fd5b506108e161291a565b6040516108ee9190614bb9565b60405180910390f35b34801561090357600080fd5b5061091e600480360381019061091991906144bb565b612927565b60405161092b9190614423565b60405180910390f35b34801561094057600080fd5b50610949612939565b6040516109569190614bb9565b60405180910390f35b34801561096b57600080fd5b50610974612a68565b60405161098191906140ab565b60405180910390f35b34801561099657600080fd5b506109b160048036038101906109ac9190614bd4565b612a88565b6040516109be9190613e9a565b60405180910390f35b3480156109d357600080fd5b506109ee60048036038101906109e991906144bb565b612b1c565b005b3480156109fc57600080fd5b50610a176004803603810190610a1291906144bb565b612b9f565b604051610a249190613e9a565b60405180910390f35b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a8857506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610ab85750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b610ac7613c90565b60005b600b805490508160ff161015610c3c578263ffffffff16600b8260ff1681548110610af857610af7614c14565b5b906000526020600020906003020160000160009054906101000a900463ffffffff1663ffffffff1603610c2957600b8160ff1681548110610b3c57610b3b614c14565b5b90600052602060002090600302016040518060e00160405290816000820160009054906101000a900463ffffffff1663ffffffff1663ffffffff1681526020016000820160049054906101000a900463ffffffff1663ffffffff1663ffffffff1681526020016000820160089054906101000a900460ff161515151581526020016000820160099054906101000a900460ff16151515158152602001600182015481526020016002820160009054906101000a900461ffff1661ffff1661ffff1681526020016002820160029054906101000a900461ffff1661ffff1661ffff1681525050915050610c6f565b8080610c3490614c72565b915050610aca565b506040517fcf4b349b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b606060028054610c8390614cca565b80601f0160208091040260200160405190810160405280929190818152602001828054610caf90614cca565b8015610cfc5780601f10610cd157610100808354040283529160200191610cfc565b820191906000526020600020905b815481529060010190602001808311610cdf57829003601f168201915b5050505050905090565b6000610d1182612c4d565b610d47576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610d9082611b75565b90508073ffffffffffffffffffffffffffffffffffffffff16610db1612cac565b73ffffffffffffffffffffffffffffffffffffffff1614610e1457610ddd81610dd8612cac565b612a88565b610e13576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b610ed1612cb4565b80601060006101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555050565b610f05613c90565b610f15610f10612939565b612546565b905090565b610f22612cb4565b6000600b805490501115610fb9576000610f4c6001600b80549050610f479190614cfb565b612546565b9050816020015163ffffffff16816020015163ffffffff16101580610f8057508160a0015161ffff168160a0015161ffff16115b15610fb7576040517f3fc9a60e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505b80604001518015610fcf57506000816080015114155b15611006576040517f3fc9a60e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600b81908060018154018082558091505060019003906000526020600020906003020160009091909190915060008201518160000160006101000a81548163ffffffff021916908363ffffffff16021790555060208201518160000160046101000a81548163ffffffff021916908363ffffffff16021790555060408201518160000160086101000a81548160ff02191690831515021790555060608201518160000160096101000a81548160ff0219169083151502179055506080820151816001015560a08201518160020160006101000a81548161ffff021916908361ffff16021790555060c08201518160020160026101000a81548161ffff021916908361ffff160217905550505050565b600061111f612d05565b6001546000540303905090565b611134612d0e565b600960006111429190613ce5565b565b8260006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115611314573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036111b6576111b1848484612d8c565b611320565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b81526004016111ff929190614d2f565b602060405180830381865afa15801561121c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112409190614d6d565b80156112d257506daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b8152600401611290929190614d2f565b602060405180830381865afa1580156112ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112d19190614d6d565b5b61131357336040517fede71dcc00000000000000000000000000000000000000000000000000000000815260040161130a9190614167565b60405180910390fd5b5b61131f848484612d8c565b5b50505050565b600080600190505b601060009054906101000a900467ffffffffffffffff1667ffffffffffffffff168167ffffffffffffffff16116113a95782600f60008367ffffffffffffffff1667ffffffffffffffff168152602001908152602001600020540361139657809150506113af565b80806113a190614d9a565b91505061132e565b50600090505b919050565b6113bc612d0e565b6113c581612b9f565b15611405576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113fc90614e3c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611474576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161146b90614ece565b60405180910390fd5b6009819080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6114e2612cb4565b6114ea6130ae565b60004703611524576040517fd0d04f6000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f1935050505015801561156a573d6000803e3d6000fd5b506115736130fd565b50565b61157e6130ae565b6000611588610efd565b90508060400151156116955761159d33612b9f565b6115d3576040517f8292ba3d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415801561165d57508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614155b15611694576040517ff6de461a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036116fb576040517fc40e804400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81816080015161170b9190614eee565b3414611743576040517fda54651b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060a0015161ffff1682611755611115565b61175f9190614f30565b1115611797576040517f98022d9200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6117a0836121c7565b8211156117d9576040517f5714679c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806060015180156117f557506117f3816000015184612153565b155b1561182c576040517f57afcad400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81600d6000836000015163ffffffff1663ffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461189c9190614f30565b925050819055506118ad8383613107565b506118b66130fd565b5050565b8260006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115611a8a573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361192c57611927848484613125565b611a96565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b8152600401611975929190614d2f565b602060405180830381865afa158015611992573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119b69190614d6d565b8015611a4857506daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b8152600401611a06929190614d2f565b602060405180830381865afa158015611a23573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a479190614d6d565b5b611a8957336040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401611a809190614167565b60405180910390fd5b5b611a95848484613125565b5b50505050565b611aa4612cb4565b60005b8251811015611b515781600c60008663ffffffff1663ffffffff1681526020019081526020016000206000858481518110611ae557611ae4614c14565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508080611b4990614f64565b915050611aa7565b50505050565b611b5f612cb4565b818160139182611b70929190615163565b505050565b6000611b8082613145565b9050919050565b611b8f612cb4565b600b6000611b9d9190613d06565b565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611c06576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611c5f612d0e565b611c696000613211565b565b6000611c896001611c7a61291a565b611c849190615233565b612546565b60a0015161ffff16905090565b611c9e612d0e565b60005b8151811015611ce057611ccd828281518110611cc057611cbf614c14565b5b60200260200101516113b4565b8080611cd890614f64565b915050611ca1565b5050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b601060009054906101000a900467ffffffffffffffff1667ffffffffffffffff168167ffffffffffffffff161180611d50575060018167ffffffffffffffff16105b15611d87576040517f17ad29ef00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff16611da783611b75565b73ffffffffffffffffffffffffffffffffffffffff1614611df4576040517f1d7b7ee100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000600f60008367ffffffffffffffff1667ffffffffffffffff1681526020019081526020016000205414611e55576040517f89fdbf7e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b428467ffffffffffffffff161015611e99576040517fc6ed433e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b86611ea6338387876132d7565b14611edd576040517f52ccb7e800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611f2b8787878080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050613323565b611f61576040517fd0b145db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b601260008467ffffffffffffffff1667ffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615611fcd576040517f3f73465400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611fd883611326565b90506000600f60008367ffffffffffffffff1667ffffffffffffffff1681526020019081526020016000208190555082600f60008467ffffffffffffffff1667ffffffffffffffff168152602001908152602001600020819055506001601260008667ffffffffffffffff1667ffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508167ffffffffffffffff167f5534f9eeaa217874710f1f805088ba86ceb3cf42d900570e8b6ea7aaee7c500784836040516120af929190615268565b60405180910390a25050505050505050565b6060600380546120d090614cca565b80601f01602080910402602001604051908101604052809291908181526020018280546120fc90614cca565b80156121495780601f1061211e57610100808354040283529160200191612149565b820191906000526020600020905b81548152906001019060200180831161212c57829003601f168201915b5050505050905090565b6000600c60008463ffffffff1663ffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000806121d2610efd565b90506121e2816000015184612249565b8160c0015161ffff166121f59190614cfb565b915050919050565b612205612d0e565b80600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600d60008463ffffffff1663ffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6122b8612cac565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361231c576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000612329612cac565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166123d6612cac565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161241b9190613e9a565b60405180910390a35050565b60606000601060009054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff81111561246557612464614260565b5b6040519080825280602002602001820160405280156124935781602001602082028036833780820191505090505b5090506000600190505b601060009054906101000a900467ffffffffffffffff1667ffffffffffffffff168167ffffffffffffffff161161253e57600f60008267ffffffffffffffff1667ffffffffffffffff16815260200190815260200160002054826001836125049190615291565b67ffffffffffffffff168151811061251f5761251e614c14565b5b602002602001018181525050808061253690614d9a565b91505061249d565b508091505090565b61254e613c90565b61255661291a565b60ff168260ff1610612594576040517f33c1fd3a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600b8260ff16815481106125ab576125aa614c14565b5b90600052602060002090600302016040518060e00160405290816000820160009054906101000a900463ffffffff1663ffffffff1663ffffffff1681526020016000820160049054906101000a900463ffffffff1663ffffffff1663ffffffff1681526020016000820160089054906101000a900460ff161515151581526020016000820160099054906101000a900460ff16151515158152602001600182015481526020016002820160009054906101000a900461ffff1661ffff1661ffff1681526020016002820160029054906101000a900461ffff1661ffff1661ffff16815250509050919050565b8360006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115612868573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361270a5761270585858585613387565b612875565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b8152600401612753929190614d2f565b602060405180830381865afa158015612770573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127949190614d6d565b801561282657506daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b81526004016127e4929190614d2f565b602060405180830381865afa158015612801573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128259190614d6d565b5b61286757336040517fede71dcc00000000000000000000000000000000000000000000000000000000815260040161285e9190614167565b60405180910390fd5b5b61287485858585613387565b5b5050505050565b606061288782612c4d565b6128bd576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006128c76133fa565b905060008151036128e75760405180602001604052806000815250612912565b806128f18461348c565b604051602001612902929190615309565b6040516020818303038152906040525b915050919050565b6000600b80549050905090565b6000612932826134e6565b9050919050565b600080600b8054905003612979576040517f7f1cc81500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600b60008154811061298e5761298d614c14565b5b906000526020600020906003020160000160049054906101000a900463ffffffff1663ffffffff164210156129ef576040517f0671dd5e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000805b600b805490508160ff161015612a6057600b8160ff1681548110612a1a57612a19614c14565b5b906000526020600020906003020160000160049054906101000a900463ffffffff1663ffffffff16421115612a4d578091505b8080612a5890614c72565b9150506129f3565b508091505090565b606060405180606001604052806035815260200161595660359139905090565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b612b24612d0e565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612b93576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b8a9061539f565b60405180910390fd5b612b9c81613211565b50565b600080600090505b600980549050811015612c42578273ffffffffffffffffffffffffffffffffffffffff1660098281548110612bdf57612bde614c14565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603612c2f576001915050612c48565b8080612c3a90614f64565b915050612ba7565b50600090505b919050565b600081612c58612d05565b11158015612c67575060005482105b8015612ca5575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b612cc4612cbf61353d565b612b9f565b612d03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cfa90615431565b60405180910390fd5b565b60006001905090565b612d1661353d565b73ffffffffffffffffffffffffffffffffffffffff16612d34611ce4565b73ffffffffffffffffffffffffffffffffffffffff1614612d8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d819061549d565b60405180910390fd5b565b6000612d9782613145565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614612dfe576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080612e0a84613545565b91509150612e208187612e1b612cac565b61356c565b612e6c57612e3586612e30612cac565b612a88565b612e6b576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603612ed2576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612edf86868660016135b0565b8015612eea57600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550612fb885612f948888876135b6565b7c0200000000000000000000000000000000000000000000000000000000176135de565b600460008681526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000084160361303e576000600185019050600060046000838152602001908152602001600020540361303c57600054811461303b578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46130a68686866001613609565b505050505050565b6002600a54036130f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130ea90615509565b60405180910390fd5b6002600a81905550565b6001600a81905550565b61312182826040518060200160405280600081525061360f565b5050565b61314083838360405180602001604052806000815250612697565b505050565b60008082905080613154612d05565b116131da576000548110156131d95760006004600083815260200190815260200160002054905060007c01000000000000000000000000000000000000000000000000000000008216036131d7575b600081036131cd5760046000836001900393508381526020019081526020016000205490506131a3565b809250505061320c565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000601060089054906101000a900460c01b854686868660405160200161330396959493929190615615565b604051602081830303815290604052805190602001209050949350505050565b600061332f83836136ac565b73ffffffffffffffffffffffffffffffffffffffff16601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614905092915050565b613392848484611144565b60008373ffffffffffffffffffffffffffffffffffffffff163b146133f4576133bd848484846136d3565b6133f3576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b60606013805461340990614cca565b80601f016020809104026020016040519081016040528092919081815260200182805461343590614cca565b80156134825780601f1061345757610100808354040283529160200191613482565b820191906000526020600020905b81548152906001019060200180831161346557829003601f168201915b5050505050905090565b60606080604051019050806040528082600183039250600a81066030018353600a810490505b80156134d257600183039250600a81066030018353600a810490506134b2565b508181036020830392508083525050919050565b600067ffffffffffffffff6040600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054901c169050919050565b600033905090565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e86135cd868684613823565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b613619838361382c565b60008373ffffffffffffffffffffffffffffffffffffffff163b146136a757600080549050600083820390505b61365960008683806001019450866136d3565b61368f576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8181106136465781600054146136a457600080fd5b50505b505050565b60008060006136bb85856139e7565b915091506136c881613a38565b819250505092915050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026136f9612cac565b8786866040518563ffffffff1660e01b815260040161371b94939291906156da565b6020604051808303816000875af192505050801561375757506040513d601f19601f82011682018060405250810190613754919061573b565b60015b6137d0573d8060008114613787576040519150601f19603f3d011682016040523d82523d6000602084013e61378c565b606091505b5060008151036137c8576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60009392505050565b6000805490506000820361386c576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61387960008483856135b0565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506138f0836138e160008660006135b6565b6138ea85613b9e565b176135de565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b81811461399157808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050613956565b50600082036139cc576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060008190555050506139e26000848385613609565b505050565b6000806041835103613a285760008060006020860151925060408601519150606086015160001a9050613a1c87828585613bae565b94509450505050613a31565b60006002915091505b9250929050565b60006004811115613a4c57613a4b615768565b5b816004811115613a5f57613a5e615768565b5b0315613b9b5760016004811115613a7957613a78615768565b5b816004811115613a8c57613a8b615768565b5b03613acc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613ac3906157e3565b60405180910390fd5b60026004811115613ae057613adf615768565b5b816004811115613af357613af2615768565b5b03613b33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613b2a9061584f565b60405180910390fd5b60036004811115613b4757613b46615768565b5b816004811115613b5a57613b59615768565b5b03613b9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613b91906158e1565b60405180910390fd5b5b50565b60006001821460e11b9050919050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c1115613be9576000600391509150613c87565b600060018787878760405160008152602001604052604051613c0e9493929190615910565b6020604051602081039080840390855afa158015613c30573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603613c7e57600060019250925050613c87565b80600092509250505b94509492505050565b6040518060e00160405280600063ffffffff168152602001600063ffffffff16815260200160001515815260200160001515815260200160008152602001600061ffff168152602001600061ffff1681525090565b5080546000825590600052602060002090810190613d039190613d2a565b50565b5080546000825560030290600052602060002090810190613d279190613d47565b50565b5b80821115613d43576000816000905550600101613d2b565b5090565b5b80821115613de257600080820160006101000a81549063ffffffff02191690556000820160046101000a81549063ffffffff02191690556000820160086101000a81549060ff02191690556000820160096101000a81549060ff021916905560018201600090556002820160006101000a81549061ffff02191690556002820160026101000a81549061ffff021916905550600301613d48565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613e2f81613dfa565b8114613e3a57600080fd5b50565b600081359050613e4c81613e26565b92915050565b600060208284031215613e6857613e67613df0565b5b6000613e7684828501613e3d565b91505092915050565b60008115159050919050565b613e9481613e7f565b82525050565b6000602082019050613eaf6000830184613e8b565b92915050565b600063ffffffff82169050919050565b613ece81613eb5565b8114613ed957600080fd5b50565b600081359050613eeb81613ec5565b92915050565b600060208284031215613f0757613f06613df0565b5b6000613f1584828501613edc565b91505092915050565b613f2781613eb5565b82525050565b613f3681613e7f565b82525050565b6000819050919050565b613f4f81613f3c565b82525050565b600061ffff82169050919050565b613f6c81613f55565b82525050565b60e082016000820151613f886000850182613f1e565b506020820151613f9b6020850182613f1e565b506040820151613fae6040850182613f2d565b506060820151613fc16060850182613f2d565b506080820151613fd46080850182613f46565b5060a0820151613fe760a0850182613f63565b5060c0820151613ffa60c0850182613f63565b50505050565b600060e0820190506140156000830184613f72565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561405557808201518184015260208101905061403a565b60008484015250505050565b6000601f19601f8301169050919050565b600061407d8261401b565b6140878185614026565b9350614097818560208601614037565b6140a081614061565b840191505092915050565b600060208201905081810360008301526140c58184614072565b905092915050565b6140d681613f3c565b81146140e157600080fd5b50565b6000813590506140f3816140cd565b92915050565b60006020828403121561410f5761410e613df0565b5b600061411d848285016140e4565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061415182614126565b9050919050565b61416181614146565b82525050565b600060208201905061417c6000830184614158565b92915050565b61418b81614146565b811461419657600080fd5b50565b6000813590506141a881614182565b92915050565b600080604083850312156141c5576141c4613df0565b5b60006141d385828601614199565b92505060206141e4858286016140e4565b9150509250929050565b600067ffffffffffffffff82169050919050565b61420b816141ee565b811461421657600080fd5b50565b60008135905061422881614202565b92915050565b60006020828403121561424457614243613df0565b5b600061425284828501614219565b91505092915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61429882614061565b810181811067ffffffffffffffff821117156142b7576142b6614260565b5b80604052505050565b60006142ca613de6565b90506142d6828261428f565b919050565b6142e481613e7f565b81146142ef57600080fd5b50565b600081359050614301816142db565b92915050565b61431081613f55565b811461431b57600080fd5b50565b60008135905061432d81614307565b92915050565b600060e082840312156143495761434861425b565b5b61435360e06142c0565b9050600061436384828501613edc565b600083015250602061437784828501613edc565b602083015250604061438b848285016142f2565b604083015250606061439f848285016142f2565b60608301525060806143b3848285016140e4565b60808301525060a06143c78482850161431e565b60a08301525060c06143db8482850161431e565b60c08301525092915050565b600060e082840312156143fd576143fc613df0565b5b600061440b84828501614333565b91505092915050565b61441d81613f3c565b82525050565b60006020820190506144386000830184614414565b92915050565b60008060006060848603121561445757614456613df0565b5b600061446586828701614199565b935050602061447686828701614199565b9250506040614487868287016140e4565b9150509250925092565b61449a816141ee565b82525050565b60006020820190506144b56000830184614491565b92915050565b6000602082840312156144d1576144d0613df0565b5b60006144df84828501614199565b91505092915050565b60006144f382614126565b9050919050565b614503816144e8565b811461450e57600080fd5b50565b600081359050614520816144fa565b92915050565b60006020828403121561453c5761453b613df0565b5b600061454a84828501614511565b91505092915050565b600080fd5b600067ffffffffffffffff82111561457357614572614260565b5b602082029050602081019050919050565b600080fd5b600061459c61459784614558565b6142c0565b905080838252602082019050602084028301858111156145bf576145be614584565b5b835b818110156145e857806145d48882614199565b8452602084019350506020810190506145c1565b5050509392505050565b600082601f83011261460757614606614553565b5b8135614617848260208601614589565b91505092915050565b60008060006060848603121561463957614638613df0565b5b600061464786828701613edc565b935050602084013567ffffffffffffffff81111561466857614667613df5565b5b614674868287016145f2565b9250506040614685868287016142f2565b9150509250925092565b600080fd5b60008083601f8401126146aa576146a9614553565b5b8235905067ffffffffffffffff8111156146c7576146c661468f565b5b6020830191508360018202830111156146e3576146e2614584565b5b9250929050565b6000806020838503121561470157614700613df0565b5b600083013567ffffffffffffffff81111561471f5761471e613df5565b5b61472b85828601614694565b92509250509250929050565b60006020828403121561474d5761474c613df0565b5b600082013567ffffffffffffffff81111561476b5761476a613df5565b5b614777848285016145f2565b91505092915050565b6000819050919050565b61479381614780565b811461479e57600080fd5b50565b6000813590506147b08161478a565b92915050565b60008083601f8401126147cc576147cb614553565b5b8235905067ffffffffffffffff8111156147e9576147e861468f565b5b60208301915083600182028301111561480557614804614584565b5b9250929050565b600080600080600080600060c0888a03121561482b5761482a613df0565b5b60006148398a828b016147a1565b975050602088013567ffffffffffffffff81111561485a57614859613df5565b5b6148668a828b016147b6565b965096505060406148798a828b01614219565b945050606061488a8a828b01614219565b935050608061489b8a828b016140e4565b92505060a06148ac8a828b01614219565b91505092959891949750929550565b600080604083850312156148d2576148d1613df0565b5b60006148e085828601613edc565b92505060206148f185828601614199565b9150509250929050565b6000806040838503121561491257614911613df0565b5b600061492085828601614199565b9250506020614931858286016142f2565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b60006149738383613f46565b60208301905092915050565b6000602082019050919050565b60006149978261493b565b6149a18185614946565b93506149ac83614957565b8060005b838110156149dd5781516149c48882614967565b97506149cf8361497f565b9250506001810190506149b0565b5085935050505092915050565b60006020820190508181036000830152614a04818461498c565b905092915050565b600060ff82169050919050565b614a2281614a0c565b8114614a2d57600080fd5b50565b600081359050614a3f81614a19565b92915050565b600060208284031215614a5b57614a5a613df0565b5b6000614a6984828501614a30565b91505092915050565b600080fd5b600067ffffffffffffffff821115614a9257614a91614260565b5b614a9b82614061565b9050602081019050919050565b82818337600083830152505050565b6000614aca614ac584614a77565b6142c0565b905082815260208101848484011115614ae657614ae5614a72565b5b614af1848285614aa8565b509392505050565b600082601f830112614b0e57614b0d614553565b5b8135614b1e848260208601614ab7565b91505092915050565b60008060008060808587031215614b4157614b40613df0565b5b6000614b4f87828801614199565b9450506020614b6087828801614199565b9350506040614b71878288016140e4565b925050606085013567ffffffffffffffff811115614b9257614b91613df5565b5b614b9e87828801614af9565b91505092959194509250565b614bb381614a0c565b82525050565b6000602082019050614bce6000830184614baa565b92915050565b60008060408385031215614beb57614bea613df0565b5b6000614bf985828601614199565b9250506020614c0a85828601614199565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614c7d82614a0c565b915060ff8203614c9057614c8f614c43565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680614ce257607f821691505b602082108103614cf557614cf4614c9b565b5b50919050565b6000614d0682613f3c565b9150614d1183613f3c565b9250828203905081811115614d2957614d28614c43565b5b92915050565b6000604082019050614d446000830185614158565b614d516020830184614158565b9392505050565b600081519050614d67816142db565b92915050565b600060208284031215614d8357614d82613df0565b5b6000614d9184828501614d58565b91505092915050565b6000614da5826141ee565b915067ffffffffffffffff8203614dbf57614dbe614c43565b5b600182019050919050565b7f4d616e616761626c653a2077616c6c657420697320616c72656164792061206d60008201527f616e616765720000000000000000000000000000000000000000000000000000602082015250565b6000614e26602683614026565b9150614e3182614dca565b604082019050919050565b60006020820190508181036000830152614e5581614e19565b9050919050565b7f4d616e616761626c653a206e6577206d616e6167657220697320746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000614eb8602a83614026565b9150614ec382614e5c565b604082019050919050565b60006020820190508181036000830152614ee781614eab565b9050919050565b6000614ef982613f3c565b9150614f0483613f3c565b9250828202614f1281613f3c565b91508282048414831517614f2957614f28614c43565b5b5092915050565b6000614f3b82613f3c565b9150614f4683613f3c565b9250828201905080821115614f5e57614f5d614c43565b5b92915050565b6000614f6f82613f3c565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203614fa157614fa0614c43565b5b600182019050919050565b600082905092915050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026150197fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82614fdc565b6150238683614fdc565b95508019841693508086168417925050509392505050565b6000819050919050565b600061506061505b61505684613f3c565b61503b565b613f3c565b9050919050565b6000819050919050565b61507a83615045565b61508e61508682615067565b848454614fe9565b825550505050565b600090565b6150a3615096565b6150ae818484615071565b505050565b5b818110156150d2576150c760008261509b565b6001810190506150b4565b5050565b601f821115615117576150e881614fb7565b6150f184614fcc565b81016020851015615100578190505b61511461510c85614fcc565b8301826150b3565b50505b505050565b600082821c905092915050565b600061513a6000198460080261511c565b1980831691505092915050565b60006151538383615129565b9150826002028217905092915050565b61516d8383614fac565b67ffffffffffffffff81111561518657615185614260565b5b6151908254614cca565b61519b8282856150d6565b6000601f8311600181146151ca57600084156151b8578287013590505b6151c28582615147565b86555061522a565b601f1984166151d886614fb7565b60005b82811015615200578489013582556001820191506020850194506020810190506151db565b8683101561521d5784890135615219601f891682615129565b8355505b6001600288020188555050505b50505050505050565b600061523e82614a0c565b915061524983614a0c565b9250828203905060ff81111561526257615261614c43565b5b92915050565b600060408201905061527d6000830185614414565b61528a6020830184614491565b9392505050565b600061529c826141ee565b91506152a7836141ee565b9250828203905067ffffffffffffffff8111156152c7576152c6614c43565b5b92915050565b600081905092915050565b60006152e38261401b565b6152ed81856152cd565b93506152fd818560208601614037565b80840191505092915050565b600061531582856152d8565b915061532182846152d8565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000615389602683614026565b91506153948261532d565b604082019050919050565b600060208201905081810360008301526153b88161537c565b9050919050565b7f4d616e616761626c653a2063616c6c6572206973206e6f742061206d616e616760008201527f6572000000000000000000000000000000000000000000000000000000000000602082015250565b600061541b602283614026565b9150615426826153bf565b604082019050919050565b6000602082019050818103600083015261544a8161540e565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000615487602083614026565b915061549282615451565b602082019050919050565b600060208201905081810360008301526154b68161547a565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b60006154f3601f83614026565b91506154fe826154bd565b602082019050919050565b60006020820190508181036000830152615522816154e6565b9050919050565b60007fffffffffffffffff00000000000000000000000000000000000000000000000082169050919050565b6000819050919050565b61557061556b82615529565b615555565b82525050565b60008160601b9050919050565b600061558e82615576565b9050919050565b60006155a082615583565b9050919050565b6155b86155b382614146565b615595565b82525050565b6000819050919050565b6155d96155d482613f3c565b6155be565b82525050565b60008160c01b9050919050565b60006155f7826155df565b9050919050565b61560f61560a826141ee565b6155ec565b82525050565b6000615621828961555f565b60088201915061563182886155a7565b60148201915061564182876155c8565b60208201915061565182866155fe565b60088201915061566182856155fe565b60088201915061567182846155fe565b600882019150819050979650505050505050565b600081519050919050565b600082825260208201905092915050565b60006156ac82615685565b6156b68185615690565b93506156c6818560208601614037565b6156cf81614061565b840191505092915050565b60006080820190506156ef6000830187614158565b6156fc6020830186614158565b6157096040830185614414565b818103606083015261571b81846156a1565b905095945050505050565b60008151905061573581613e26565b92915050565b60006020828403121561575157615750613df0565b5b600061575f84828501615726565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b60006157cd601883614026565b91506157d882615797565b602082019050919050565b600060208201905081810360008301526157fc816157c0565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b6000615839601f83614026565b915061584482615803565b602082019050919050565b600060208201905081810360008301526158688161582c565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b60006158cb602283614026565b91506158d68261586f565b604082019050919050565b600060208201905081810360008301526158fa816158be565b9050919050565b61590a81614780565b82525050565b60006080820190506159256000830187615901565b6159326020830186614baa565b61593f6040830185615901565b61594c6060830184615901565b9594505050505056fe697066733a2f2f516d6152755037457079327a7a7546476f447a4d6446367450446f52537863784435725066703648744b37334434a2646970667358221220921774467ccccfff3933f39dbf3e1ad2782acaca6c2fced6c30f7b1353f29b9b64736f6c63430008110033697066733a2f2f516d6343415a6d447973426857517432615a4a4572514a526246537273717573636244516a516156334e797373592f

Deployed Bytecode

0x60806040526004361061025c5760003560e01c8063715018a611610144578063ad8e7a23116100b6578063dc33e6811161007a578063dc33e681146108f7578063e7518d1014610934578063e8a3d4851461095f578063e985e9c51461098a578063f2fde38b146109c7578063f3ae2415146109f05761025c565b8063ad8e7a23146107fe578063b5657d0114610829578063b88d4fde14610866578063c87b56dd1461088f578063d367dc58146108cc5761025c565b806395d89b411161010857806395d89b41146106ca578063972400b9146106f55780639737e73014610732578063997556241461076f578063a1d140c314610798578063a22cb465146107d55761025c565b8063715018a61461060b5780637155c1ea146106225780638c5f9e741461064d5780638da5cb5b146106765780638efcc2dd146106a15761025c565b806323b872dd116101dd57806342842e0e116101a157806342842e0e146104ff5780634b03d8201461052857806355f804b3146105515780636352211e1461057a57806367ef2d6c146105b757806370a08231146105ce5761025c565b806323b872dd1461042b5780632cf3dc19146104545780632d06177a146104915780632f971029146104ba57806340c10f19146104e35761025c565b806312f051a51161022457806312f051a51461036c57806315001632146103955780631711bbc7146103c057806318160ddd146103e9578063191475b5146104145761025c565b806301ffc9a7146102615780630219510b1461029e57806306fdde03146102db578063081812fc14610306578063095ea7b314610343575b600080fd5b34801561026d57600080fd5b5061028860048036038101906102839190613e52565b610a2d565b6040516102959190613e9a565b60405180910390f35b3480156102aa57600080fd5b506102c560048036038101906102c09190613ef1565b610abf565b6040516102d29190614000565b60405180910390f35b3480156102e757600080fd5b506102f0610c74565b6040516102fd91906140ab565b60405180910390f35b34801561031257600080fd5b5061032d600480360381019061032891906140f9565b610d06565b60405161033a9190614167565b60405180910390f35b34801561034f57600080fd5b5061036a600480360381019061036591906141ae565b610d85565b005b34801561037857600080fd5b50610393600480360381019061038e919061422e565b610ec9565b005b3480156103a157600080fd5b506103aa610efd565b6040516103b79190614000565b60405180910390f35b3480156103cc57600080fd5b506103e760048036038101906103e291906143e7565b610f1a565b005b3480156103f557600080fd5b506103fe611115565b60405161040b9190614423565b60405180910390f35b34801561042057600080fd5b5061042961112c565b005b34801561043757600080fd5b50610452600480360381019061044d919061443e565b611144565b005b34801561046057600080fd5b5061047b600480360381019061047691906140f9565b611326565b60405161048891906144a0565b60405180910390f35b34801561049d57600080fd5b506104b860048036038101906104b391906144bb565b6113b4565b005b3480156104c657600080fd5b506104e160048036038101906104dc9190614526565b6114da565b005b6104fd60048036038101906104f891906141ae565b611576565b005b34801561050b57600080fd5b506105266004803603810190610521919061443e565b6118ba565b005b34801561053457600080fd5b5061054f600480360381019061054a9190614620565b611a9c565b005b34801561055d57600080fd5b50610578600480360381019061057391906146ea565b611b57565b005b34801561058657600080fd5b506105a1600480360381019061059c91906140f9565b611b75565b6040516105ae9190614167565b60405180910390f35b3480156105c357600080fd5b506105cc611b87565b005b3480156105da57600080fd5b506105f560048036038101906105f091906144bb565b611b9f565b6040516106029190614423565b60405180910390f35b34801561061757600080fd5b50610620611c57565b005b34801561062e57600080fd5b50610637611c6b565b6040516106449190614423565b60405180910390f35b34801561065957600080fd5b50610674600480360381019061066f9190614737565b611c96565b005b34801561068257600080fd5b5061068b611ce4565b6040516106989190614167565b60405180910390f35b3480156106ad57600080fd5b506106c860048036038101906106c3919061480c565b611d0e565b005b3480156106d657600080fd5b506106df6120c1565b6040516106ec91906140ab565b60405180910390f35b34801561070157600080fd5b5061071c600480360381019061071791906148bb565b612153565b6040516107299190613e9a565b60405180910390f35b34801561073e57600080fd5b50610759600480360381019061075491906144bb565b6121c7565b6040516107669190614423565b60405180910390f35b34801561077b57600080fd5b50610796600480360381019061079191906144bb565b6121fd565b005b3480156107a457600080fd5b506107bf60048036038101906107ba91906148bb565b612249565b6040516107cc9190614423565b60405180910390f35b3480156107e157600080fd5b506107fc60048036038101906107f791906148fb565b6122b0565b005b34801561080a57600080fd5b50610813612427565b60405161082091906149ea565b60405180910390f35b34801561083557600080fd5b50610850600480360381019061084b9190614a45565b612546565b60405161085d9190614000565b60405180910390f35b34801561087257600080fd5b5061088d60048036038101906108889190614b27565b612697565b005b34801561089b57600080fd5b506108b660048036038101906108b191906140f9565b61287c565b6040516108c391906140ab565b60405180910390f35b3480156108d857600080fd5b506108e161291a565b6040516108ee9190614bb9565b60405180910390f35b34801561090357600080fd5b5061091e600480360381019061091991906144bb565b612927565b60405161092b9190614423565b60405180910390f35b34801561094057600080fd5b50610949612939565b6040516109569190614bb9565b60405180910390f35b34801561096b57600080fd5b50610974612a68565b60405161098191906140ab565b60405180910390f35b34801561099657600080fd5b506109b160048036038101906109ac9190614bd4565b612a88565b6040516109be9190613e9a565b60405180910390f35b3480156109d357600080fd5b506109ee60048036038101906109e991906144bb565b612b1c565b005b3480156109fc57600080fd5b50610a176004803603810190610a1291906144bb565b612b9f565b604051610a249190613e9a565b60405180910390f35b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a8857506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610ab85750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b610ac7613c90565b60005b600b805490508160ff161015610c3c578263ffffffff16600b8260ff1681548110610af857610af7614c14565b5b906000526020600020906003020160000160009054906101000a900463ffffffff1663ffffffff1603610c2957600b8160ff1681548110610b3c57610b3b614c14565b5b90600052602060002090600302016040518060e00160405290816000820160009054906101000a900463ffffffff1663ffffffff1663ffffffff1681526020016000820160049054906101000a900463ffffffff1663ffffffff1663ffffffff1681526020016000820160089054906101000a900460ff161515151581526020016000820160099054906101000a900460ff16151515158152602001600182015481526020016002820160009054906101000a900461ffff1661ffff1661ffff1681526020016002820160029054906101000a900461ffff1661ffff1661ffff1681525050915050610c6f565b8080610c3490614c72565b915050610aca565b506040517fcf4b349b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b606060028054610c8390614cca565b80601f0160208091040260200160405190810160405280929190818152602001828054610caf90614cca565b8015610cfc5780601f10610cd157610100808354040283529160200191610cfc565b820191906000526020600020905b815481529060010190602001808311610cdf57829003601f168201915b5050505050905090565b6000610d1182612c4d565b610d47576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610d9082611b75565b90508073ffffffffffffffffffffffffffffffffffffffff16610db1612cac565b73ffffffffffffffffffffffffffffffffffffffff1614610e1457610ddd81610dd8612cac565b612a88565b610e13576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b610ed1612cb4565b80601060006101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555050565b610f05613c90565b610f15610f10612939565b612546565b905090565b610f22612cb4565b6000600b805490501115610fb9576000610f4c6001600b80549050610f479190614cfb565b612546565b9050816020015163ffffffff16816020015163ffffffff16101580610f8057508160a0015161ffff168160a0015161ffff16115b15610fb7576040517f3fc9a60e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505b80604001518015610fcf57506000816080015114155b15611006576040517f3fc9a60e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600b81908060018154018082558091505060019003906000526020600020906003020160009091909190915060008201518160000160006101000a81548163ffffffff021916908363ffffffff16021790555060208201518160000160046101000a81548163ffffffff021916908363ffffffff16021790555060408201518160000160086101000a81548160ff02191690831515021790555060608201518160000160096101000a81548160ff0219169083151502179055506080820151816001015560a08201518160020160006101000a81548161ffff021916908361ffff16021790555060c08201518160020160026101000a81548161ffff021916908361ffff160217905550505050565b600061111f612d05565b6001546000540303905090565b611134612d0e565b600960006111429190613ce5565b565b8260006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115611314573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036111b6576111b1848484612d8c565b611320565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b81526004016111ff929190614d2f565b602060405180830381865afa15801561121c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112409190614d6d565b80156112d257506daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b8152600401611290929190614d2f565b602060405180830381865afa1580156112ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112d19190614d6d565b5b61131357336040517fede71dcc00000000000000000000000000000000000000000000000000000000815260040161130a9190614167565b60405180910390fd5b5b61131f848484612d8c565b5b50505050565b600080600190505b601060009054906101000a900467ffffffffffffffff1667ffffffffffffffff168167ffffffffffffffff16116113a95782600f60008367ffffffffffffffff1667ffffffffffffffff168152602001908152602001600020540361139657809150506113af565b80806113a190614d9a565b91505061132e565b50600090505b919050565b6113bc612d0e565b6113c581612b9f565b15611405576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113fc90614e3c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611474576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161146b90614ece565b60405180910390fd5b6009819080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6114e2612cb4565b6114ea6130ae565b60004703611524576040517fd0d04f6000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f1935050505015801561156a573d6000803e3d6000fd5b506115736130fd565b50565b61157e6130ae565b6000611588610efd565b90508060400151156116955761159d33612b9f565b6115d3576040517f8292ba3d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415801561165d57508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614155b15611694576040517ff6de461a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036116fb576040517fc40e804400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81816080015161170b9190614eee565b3414611743576040517fda54651b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060a0015161ffff1682611755611115565b61175f9190614f30565b1115611797576040517f98022d9200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6117a0836121c7565b8211156117d9576040517f5714679c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806060015180156117f557506117f3816000015184612153565b155b1561182c576040517f57afcad400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81600d6000836000015163ffffffff1663ffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461189c9190614f30565b925050819055506118ad8383613107565b506118b66130fd565b5050565b8260006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115611a8a573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361192c57611927848484613125565b611a96565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b8152600401611975929190614d2f565b602060405180830381865afa158015611992573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119b69190614d6d565b8015611a4857506daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b8152600401611a06929190614d2f565b602060405180830381865afa158015611a23573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a479190614d6d565b5b611a8957336040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401611a809190614167565b60405180910390fd5b5b611a95848484613125565b5b50505050565b611aa4612cb4565b60005b8251811015611b515781600c60008663ffffffff1663ffffffff1681526020019081526020016000206000858481518110611ae557611ae4614c14565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508080611b4990614f64565b915050611aa7565b50505050565b611b5f612cb4565b818160139182611b70929190615163565b505050565b6000611b8082613145565b9050919050565b611b8f612cb4565b600b6000611b9d9190613d06565b565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611c06576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611c5f612d0e565b611c696000613211565b565b6000611c896001611c7a61291a565b611c849190615233565b612546565b60a0015161ffff16905090565b611c9e612d0e565b60005b8151811015611ce057611ccd828281518110611cc057611cbf614c14565b5b60200260200101516113b4565b8080611cd890614f64565b915050611ca1565b5050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b601060009054906101000a900467ffffffffffffffff1667ffffffffffffffff168167ffffffffffffffff161180611d50575060018167ffffffffffffffff16105b15611d87576040517f17ad29ef00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff16611da783611b75565b73ffffffffffffffffffffffffffffffffffffffff1614611df4576040517f1d7b7ee100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000600f60008367ffffffffffffffff1667ffffffffffffffff1681526020019081526020016000205414611e55576040517f89fdbf7e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b428467ffffffffffffffff161015611e99576040517fc6ed433e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b86611ea6338387876132d7565b14611edd576040517f52ccb7e800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611f2b8787878080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050613323565b611f61576040517fd0b145db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b601260008467ffffffffffffffff1667ffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615611fcd576040517f3f73465400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611fd883611326565b90506000600f60008367ffffffffffffffff1667ffffffffffffffff1681526020019081526020016000208190555082600f60008467ffffffffffffffff1667ffffffffffffffff168152602001908152602001600020819055506001601260008667ffffffffffffffff1667ffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508167ffffffffffffffff167f5534f9eeaa217874710f1f805088ba86ceb3cf42d900570e8b6ea7aaee7c500784836040516120af929190615268565b60405180910390a25050505050505050565b6060600380546120d090614cca565b80601f01602080910402602001604051908101604052809291908181526020018280546120fc90614cca565b80156121495780601f1061211e57610100808354040283529160200191612149565b820191906000526020600020905b81548152906001019060200180831161212c57829003601f168201915b5050505050905090565b6000600c60008463ffffffff1663ffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000806121d2610efd565b90506121e2816000015184612249565b8160c0015161ffff166121f59190614cfb565b915050919050565b612205612d0e565b80600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600d60008463ffffffff1663ffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6122b8612cac565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361231c576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000612329612cac565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166123d6612cac565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161241b9190613e9a565b60405180910390a35050565b60606000601060009054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff81111561246557612464614260565b5b6040519080825280602002602001820160405280156124935781602001602082028036833780820191505090505b5090506000600190505b601060009054906101000a900467ffffffffffffffff1667ffffffffffffffff168167ffffffffffffffff161161253e57600f60008267ffffffffffffffff1667ffffffffffffffff16815260200190815260200160002054826001836125049190615291565b67ffffffffffffffff168151811061251f5761251e614c14565b5b602002602001018181525050808061253690614d9a565b91505061249d565b508091505090565b61254e613c90565b61255661291a565b60ff168260ff1610612594576040517f33c1fd3a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600b8260ff16815481106125ab576125aa614c14565b5b90600052602060002090600302016040518060e00160405290816000820160009054906101000a900463ffffffff1663ffffffff1663ffffffff1681526020016000820160049054906101000a900463ffffffff1663ffffffff1663ffffffff1681526020016000820160089054906101000a900460ff161515151581526020016000820160099054906101000a900460ff16151515158152602001600182015481526020016002820160009054906101000a900461ffff1661ffff1661ffff1681526020016002820160029054906101000a900461ffff1661ffff1661ffff16815250509050919050565b8360006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115612868573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361270a5761270585858585613387565b612875565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b8152600401612753929190614d2f565b602060405180830381865afa158015612770573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127949190614d6d565b801561282657506daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b81526004016127e4929190614d2f565b602060405180830381865afa158015612801573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128259190614d6d565b5b61286757336040517fede71dcc00000000000000000000000000000000000000000000000000000000815260040161285e9190614167565b60405180910390fd5b5b61287485858585613387565b5b5050505050565b606061288782612c4d565b6128bd576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006128c76133fa565b905060008151036128e75760405180602001604052806000815250612912565b806128f18461348c565b604051602001612902929190615309565b6040516020818303038152906040525b915050919050565b6000600b80549050905090565b6000612932826134e6565b9050919050565b600080600b8054905003612979576040517f7f1cc81500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600b60008154811061298e5761298d614c14565b5b906000526020600020906003020160000160049054906101000a900463ffffffff1663ffffffff164210156129ef576040517f0671dd5e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000805b600b805490508160ff161015612a6057600b8160ff1681548110612a1a57612a19614c14565b5b906000526020600020906003020160000160049054906101000a900463ffffffff1663ffffffff16421115612a4d578091505b8080612a5890614c72565b9150506129f3565b508091505090565b606060405180606001604052806035815260200161595660359139905090565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b612b24612d0e565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612b93576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b8a9061539f565b60405180910390fd5b612b9c81613211565b50565b600080600090505b600980549050811015612c42578273ffffffffffffffffffffffffffffffffffffffff1660098281548110612bdf57612bde614c14565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603612c2f576001915050612c48565b8080612c3a90614f64565b915050612ba7565b50600090505b919050565b600081612c58612d05565b11158015612c67575060005482105b8015612ca5575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b612cc4612cbf61353d565b612b9f565b612d03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cfa90615431565b60405180910390fd5b565b60006001905090565b612d1661353d565b73ffffffffffffffffffffffffffffffffffffffff16612d34611ce4565b73ffffffffffffffffffffffffffffffffffffffff1614612d8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d819061549d565b60405180910390fd5b565b6000612d9782613145565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614612dfe576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080612e0a84613545565b91509150612e208187612e1b612cac565b61356c565b612e6c57612e3586612e30612cac565b612a88565b612e6b576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603612ed2576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612edf86868660016135b0565b8015612eea57600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550612fb885612f948888876135b6565b7c0200000000000000000000000000000000000000000000000000000000176135de565b600460008681526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000084160361303e576000600185019050600060046000838152602001908152602001600020540361303c57600054811461303b578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46130a68686866001613609565b505050505050565b6002600a54036130f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130ea90615509565b60405180910390fd5b6002600a81905550565b6001600a81905550565b61312182826040518060200160405280600081525061360f565b5050565b61314083838360405180602001604052806000815250612697565b505050565b60008082905080613154612d05565b116131da576000548110156131d95760006004600083815260200190815260200160002054905060007c01000000000000000000000000000000000000000000000000000000008216036131d7575b600081036131cd5760046000836001900393508381526020019081526020016000205490506131a3565b809250505061320c565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000601060089054906101000a900460c01b854686868660405160200161330396959493929190615615565b604051602081830303815290604052805190602001209050949350505050565b600061332f83836136ac565b73ffffffffffffffffffffffffffffffffffffffff16601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614905092915050565b613392848484611144565b60008373ffffffffffffffffffffffffffffffffffffffff163b146133f4576133bd848484846136d3565b6133f3576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b60606013805461340990614cca565b80601f016020809104026020016040519081016040528092919081815260200182805461343590614cca565b80156134825780601f1061345757610100808354040283529160200191613482565b820191906000526020600020905b81548152906001019060200180831161346557829003601f168201915b5050505050905090565b60606080604051019050806040528082600183039250600a81066030018353600a810490505b80156134d257600183039250600a81066030018353600a810490506134b2565b508181036020830392508083525050919050565b600067ffffffffffffffff6040600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054901c169050919050565b600033905090565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e86135cd868684613823565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b613619838361382c565b60008373ffffffffffffffffffffffffffffffffffffffff163b146136a757600080549050600083820390505b61365960008683806001019450866136d3565b61368f576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8181106136465781600054146136a457600080fd5b50505b505050565b60008060006136bb85856139e7565b915091506136c881613a38565b819250505092915050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026136f9612cac565b8786866040518563ffffffff1660e01b815260040161371b94939291906156da565b6020604051808303816000875af192505050801561375757506040513d601f19601f82011682018060405250810190613754919061573b565b60015b6137d0573d8060008114613787576040519150601f19603f3d011682016040523d82523d6000602084013e61378c565b606091505b5060008151036137c8576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60009392505050565b6000805490506000820361386c576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61387960008483856135b0565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506138f0836138e160008660006135b6565b6138ea85613b9e565b176135de565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b81811461399157808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050613956565b50600082036139cc576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060008190555050506139e26000848385613609565b505050565b6000806041835103613a285760008060006020860151925060408601519150606086015160001a9050613a1c87828585613bae565b94509450505050613a31565b60006002915091505b9250929050565b60006004811115613a4c57613a4b615768565b5b816004811115613a5f57613a5e615768565b5b0315613b9b5760016004811115613a7957613a78615768565b5b816004811115613a8c57613a8b615768565b5b03613acc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613ac3906157e3565b60405180910390fd5b60026004811115613ae057613adf615768565b5b816004811115613af357613af2615768565b5b03613b33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613b2a9061584f565b60405180910390fd5b60036004811115613b4757613b46615768565b5b816004811115613b5a57613b59615768565b5b03613b9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613b91906158e1565b60405180910390fd5b5b50565b60006001821460e11b9050919050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c1115613be9576000600391509150613c87565b600060018787878760405160008152602001604052604051613c0e9493929190615910565b6020604051602081039080840390855afa158015613c30573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603613c7e57600060019250925050613c87565b80600092509250505b94509492505050565b6040518060e00160405280600063ffffffff168152602001600063ffffffff16815260200160001515815260200160001515815260200160008152602001600061ffff168152602001600061ffff1681525090565b5080546000825590600052602060002090810190613d039190613d2a565b50565b5080546000825560030290600052602060002090810190613d279190613d47565b50565b5b80821115613d43576000816000905550600101613d2b565b5090565b5b80821115613de257600080820160006101000a81549063ffffffff02191690556000820160046101000a81549063ffffffff02191690556000820160086101000a81549060ff02191690556000820160096101000a81549060ff021916905560018201600090556002820160006101000a81549061ffff02191690556002820160026101000a81549061ffff021916905550600301613d48565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613e2f81613dfa565b8114613e3a57600080fd5b50565b600081359050613e4c81613e26565b92915050565b600060208284031215613e6857613e67613df0565b5b6000613e7684828501613e3d565b91505092915050565b60008115159050919050565b613e9481613e7f565b82525050565b6000602082019050613eaf6000830184613e8b565b92915050565b600063ffffffff82169050919050565b613ece81613eb5565b8114613ed957600080fd5b50565b600081359050613eeb81613ec5565b92915050565b600060208284031215613f0757613f06613df0565b5b6000613f1584828501613edc565b91505092915050565b613f2781613eb5565b82525050565b613f3681613e7f565b82525050565b6000819050919050565b613f4f81613f3c565b82525050565b600061ffff82169050919050565b613f6c81613f55565b82525050565b60e082016000820151613f886000850182613f1e565b506020820151613f9b6020850182613f1e565b506040820151613fae6040850182613f2d565b506060820151613fc16060850182613f2d565b506080820151613fd46080850182613f46565b5060a0820151613fe760a0850182613f63565b5060c0820151613ffa60c0850182613f63565b50505050565b600060e0820190506140156000830184613f72565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561405557808201518184015260208101905061403a565b60008484015250505050565b6000601f19601f8301169050919050565b600061407d8261401b565b6140878185614026565b9350614097818560208601614037565b6140a081614061565b840191505092915050565b600060208201905081810360008301526140c58184614072565b905092915050565b6140d681613f3c565b81146140e157600080fd5b50565b6000813590506140f3816140cd565b92915050565b60006020828403121561410f5761410e613df0565b5b600061411d848285016140e4565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061415182614126565b9050919050565b61416181614146565b82525050565b600060208201905061417c6000830184614158565b92915050565b61418b81614146565b811461419657600080fd5b50565b6000813590506141a881614182565b92915050565b600080604083850312156141c5576141c4613df0565b5b60006141d385828601614199565b92505060206141e4858286016140e4565b9150509250929050565b600067ffffffffffffffff82169050919050565b61420b816141ee565b811461421657600080fd5b50565b60008135905061422881614202565b92915050565b60006020828403121561424457614243613df0565b5b600061425284828501614219565b91505092915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61429882614061565b810181811067ffffffffffffffff821117156142b7576142b6614260565b5b80604052505050565b60006142ca613de6565b90506142d6828261428f565b919050565b6142e481613e7f565b81146142ef57600080fd5b50565b600081359050614301816142db565b92915050565b61431081613f55565b811461431b57600080fd5b50565b60008135905061432d81614307565b92915050565b600060e082840312156143495761434861425b565b5b61435360e06142c0565b9050600061436384828501613edc565b600083015250602061437784828501613edc565b602083015250604061438b848285016142f2565b604083015250606061439f848285016142f2565b60608301525060806143b3848285016140e4565b60808301525060a06143c78482850161431e565b60a08301525060c06143db8482850161431e565b60c08301525092915050565b600060e082840312156143fd576143fc613df0565b5b600061440b84828501614333565b91505092915050565b61441d81613f3c565b82525050565b60006020820190506144386000830184614414565b92915050565b60008060006060848603121561445757614456613df0565b5b600061446586828701614199565b935050602061447686828701614199565b9250506040614487868287016140e4565b9150509250925092565b61449a816141ee565b82525050565b60006020820190506144b56000830184614491565b92915050565b6000602082840312156144d1576144d0613df0565b5b60006144df84828501614199565b91505092915050565b60006144f382614126565b9050919050565b614503816144e8565b811461450e57600080fd5b50565b600081359050614520816144fa565b92915050565b60006020828403121561453c5761453b613df0565b5b600061454a84828501614511565b91505092915050565b600080fd5b600067ffffffffffffffff82111561457357614572614260565b5b602082029050602081019050919050565b600080fd5b600061459c61459784614558565b6142c0565b905080838252602082019050602084028301858111156145bf576145be614584565b5b835b818110156145e857806145d48882614199565b8452602084019350506020810190506145c1565b5050509392505050565b600082601f83011261460757614606614553565b5b8135614617848260208601614589565b91505092915050565b60008060006060848603121561463957614638613df0565b5b600061464786828701613edc565b935050602084013567ffffffffffffffff81111561466857614667613df5565b5b614674868287016145f2565b9250506040614685868287016142f2565b9150509250925092565b600080fd5b60008083601f8401126146aa576146a9614553565b5b8235905067ffffffffffffffff8111156146c7576146c661468f565b5b6020830191508360018202830111156146e3576146e2614584565b5b9250929050565b6000806020838503121561470157614700613df0565b5b600083013567ffffffffffffffff81111561471f5761471e613df5565b5b61472b85828601614694565b92509250509250929050565b60006020828403121561474d5761474c613df0565b5b600082013567ffffffffffffffff81111561476b5761476a613df5565b5b614777848285016145f2565b91505092915050565b6000819050919050565b61479381614780565b811461479e57600080fd5b50565b6000813590506147b08161478a565b92915050565b60008083601f8401126147cc576147cb614553565b5b8235905067ffffffffffffffff8111156147e9576147e861468f565b5b60208301915083600182028301111561480557614804614584565b5b9250929050565b600080600080600080600060c0888a03121561482b5761482a613df0565b5b60006148398a828b016147a1565b975050602088013567ffffffffffffffff81111561485a57614859613df5565b5b6148668a828b016147b6565b965096505060406148798a828b01614219565b945050606061488a8a828b01614219565b935050608061489b8a828b016140e4565b92505060a06148ac8a828b01614219565b91505092959891949750929550565b600080604083850312156148d2576148d1613df0565b5b60006148e085828601613edc565b92505060206148f185828601614199565b9150509250929050565b6000806040838503121561491257614911613df0565b5b600061492085828601614199565b9250506020614931858286016142f2565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b60006149738383613f46565b60208301905092915050565b6000602082019050919050565b60006149978261493b565b6149a18185614946565b93506149ac83614957565b8060005b838110156149dd5781516149c48882614967565b97506149cf8361497f565b9250506001810190506149b0565b5085935050505092915050565b60006020820190508181036000830152614a04818461498c565b905092915050565b600060ff82169050919050565b614a2281614a0c565b8114614a2d57600080fd5b50565b600081359050614a3f81614a19565b92915050565b600060208284031215614a5b57614a5a613df0565b5b6000614a6984828501614a30565b91505092915050565b600080fd5b600067ffffffffffffffff821115614a9257614a91614260565b5b614a9b82614061565b9050602081019050919050565b82818337600083830152505050565b6000614aca614ac584614a77565b6142c0565b905082815260208101848484011115614ae657614ae5614a72565b5b614af1848285614aa8565b509392505050565b600082601f830112614b0e57614b0d614553565b5b8135614b1e848260208601614ab7565b91505092915050565b60008060008060808587031215614b4157614b40613df0565b5b6000614b4f87828801614199565b9450506020614b6087828801614199565b9350506040614b71878288016140e4565b925050606085013567ffffffffffffffff811115614b9257614b91613df5565b5b614b9e87828801614af9565b91505092959194509250565b614bb381614a0c565b82525050565b6000602082019050614bce6000830184614baa565b92915050565b60008060408385031215614beb57614bea613df0565b5b6000614bf985828601614199565b9250506020614c0a85828601614199565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614c7d82614a0c565b915060ff8203614c9057614c8f614c43565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680614ce257607f821691505b602082108103614cf557614cf4614c9b565b5b50919050565b6000614d0682613f3c565b9150614d1183613f3c565b9250828203905081811115614d2957614d28614c43565b5b92915050565b6000604082019050614d446000830185614158565b614d516020830184614158565b9392505050565b600081519050614d67816142db565b92915050565b600060208284031215614d8357614d82613df0565b5b6000614d9184828501614d58565b91505092915050565b6000614da5826141ee565b915067ffffffffffffffff8203614dbf57614dbe614c43565b5b600182019050919050565b7f4d616e616761626c653a2077616c6c657420697320616c72656164792061206d60008201527f616e616765720000000000000000000000000000000000000000000000000000602082015250565b6000614e26602683614026565b9150614e3182614dca565b604082019050919050565b60006020820190508181036000830152614e5581614e19565b9050919050565b7f4d616e616761626c653a206e6577206d616e6167657220697320746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000614eb8602a83614026565b9150614ec382614e5c565b604082019050919050565b60006020820190508181036000830152614ee781614eab565b9050919050565b6000614ef982613f3c565b9150614f0483613f3c565b9250828202614f1281613f3c565b91508282048414831517614f2957614f28614c43565b5b5092915050565b6000614f3b82613f3c565b9150614f4683613f3c565b9250828201905080821115614f5e57614f5d614c43565b5b92915050565b6000614f6f82613f3c565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203614fa157614fa0614c43565b5b600182019050919050565b600082905092915050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026150197fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82614fdc565b6150238683614fdc565b95508019841693508086168417925050509392505050565b6000819050919050565b600061506061505b61505684613f3c565b61503b565b613f3c565b9050919050565b6000819050919050565b61507a83615045565b61508e61508682615067565b848454614fe9565b825550505050565b600090565b6150a3615096565b6150ae818484615071565b505050565b5b818110156150d2576150c760008261509b565b6001810190506150b4565b5050565b601f821115615117576150e881614fb7565b6150f184614fcc565b81016020851015615100578190505b61511461510c85614fcc565b8301826150b3565b50505b505050565b600082821c905092915050565b600061513a6000198460080261511c565b1980831691505092915050565b60006151538383615129565b9150826002028217905092915050565b61516d8383614fac565b67ffffffffffffffff81111561518657615185614260565b5b6151908254614cca565b61519b8282856150d6565b6000601f8311600181146151ca57600084156151b8578287013590505b6151c28582615147565b86555061522a565b601f1984166151d886614fb7565b60005b82811015615200578489013582556001820191506020850194506020810190506151db565b8683101561521d5784890135615219601f891682615129565b8355505b6001600288020188555050505b50505050505050565b600061523e82614a0c565b915061524983614a0c565b9250828203905060ff81111561526257615261614c43565b5b92915050565b600060408201905061527d6000830185614414565b61528a6020830184614491565b9392505050565b600061529c826141ee565b91506152a7836141ee565b9250828203905067ffffffffffffffff8111156152c7576152c6614c43565b5b92915050565b600081905092915050565b60006152e38261401b565b6152ed81856152cd565b93506152fd818560208601614037565b80840191505092915050565b600061531582856152d8565b915061532182846152d8565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000615389602683614026565b91506153948261532d565b604082019050919050565b600060208201905081810360008301526153b88161537c565b9050919050565b7f4d616e616761626c653a2063616c6c6572206973206e6f742061206d616e616760008201527f6572000000000000000000000000000000000000000000000000000000000000602082015250565b600061541b602283614026565b9150615426826153bf565b604082019050919050565b6000602082019050818103600083015261544a8161540e565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000615487602083614026565b915061549282615451565b602082019050919050565b600060208201905081810360008301526154b68161547a565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b60006154f3601f83614026565b91506154fe826154bd565b602082019050919050565b60006020820190508181036000830152615522816154e6565b9050919050565b60007fffffffffffffffff00000000000000000000000000000000000000000000000082169050919050565b6000819050919050565b61557061556b82615529565b615555565b82525050565b60008160601b9050919050565b600061558e82615576565b9050919050565b60006155a082615583565b9050919050565b6155b86155b382614146565b615595565b82525050565b6000819050919050565b6155d96155d482613f3c565b6155be565b82525050565b60008160c01b9050919050565b60006155f7826155df565b9050919050565b61560f61560a826141ee565b6155ec565b82525050565b6000615621828961555f565b60088201915061563182886155a7565b60148201915061564182876155c8565b60208201915061565182866155fe565b60088201915061566182856155fe565b60088201915061567182846155fe565b600882019150819050979650505050505050565b600081519050919050565b600082825260208201905092915050565b60006156ac82615685565b6156b68185615690565b93506156c6818560208601614037565b6156cf81614061565b840191505092915050565b60006080820190506156ef6000830187614158565b6156fc6020830186614158565b6157096040830185614414565b818103606083015261571b81846156a1565b905095945050505050565b60008151905061573581613e26565b92915050565b60006020828403121561575157615750613df0565b5b600061575f84828501615726565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b60006157cd601883614026565b91506157d882615797565b602082019050919050565b600060208201905081810360008301526157fc816157c0565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b6000615839601f83614026565b915061584482615803565b602082019050919050565b600060208201905081810360008301526158688161582c565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b60006158cb602283614026565b91506158d68261586f565b604082019050919050565b600060208201905081810360008301526158fa816158be565b9050919050565b61590a81614780565b82525050565b60006080820190506159256000830187615901565b6159326020830186614baa565b61593f6040830185615901565b61594c6060830184615901565b9594505050505056fe697066733a2f2f516d6152755037457079327a7a7546476f447a4d6446367450446f52537863784435725066703648744b37334434a2646970667358221220921774467ccccfff3933f39dbf3e1ad2782acaca6c2fced6c30f7b1353f29b9b64736f6c63430008110033

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.